code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
/* * CAN bus driver for Microchip 251x CAN Controller with SPI Interface * * MCP2510 support and bug fixes by Christian Pellegrin * <chripell@evolware.org> * * Copyright 2009 Christian Pellegrin EVOL S.r.l. * * Copyright 2007 Raymarine UK, Ltd. All Rights Reserved. * Written under contract by: * Chris Elsto...
mikedlowis-prototypes/albase
source/kernel/drivers/net/can/spi/mcp251x.c
C
bsd-2-clause
32,639
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/base/net_log_logger.h" #include <stdio.h> #include "base/json/json_writer.h" #include "base/logging.h" #include "base/memory/scoped_ptr.h"...
DirtyUnicorns/android_external_chromium-org
net/base/net_log_logger.cc
C++
bsd-3-clause
7,274
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bridge\PhpUnit; /** * Catch deprecation notices and print a su...
mwveliz/bl
vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php
PHP
mit
7,232
//////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library // Copyright (C) 2007-2017 Laurent Gomila (laurent@sfml-dev.org) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages a...
explodingnuggets/Roguelike
windows-build/SFML/include/SFML/System/Vector3.hpp
C++
mit
9,785
/* * This is the source code of Telegram for Android v. 2.0.x. * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013-2014. */ package org.telegram.ui; import android.annotation.SuppressLint; import andro...
jovanzers/Telegram
TMessagesProj/src/main/java/org/telegram/ui/ChangePhoneActivity.java
Java
gpl-2.0
47,268
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 MIRKO BANCHI * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is dist...
abdollatiif/NetCoding
wifi/model/block-ack-cache.cc
C++
gpl-2.0
3,983
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!! # This file is built by mktables from e.g. UnicodeData.txt. # Any changes made here will be lost! # # This file supports: # \p{InKanbun} (and fuzzy permutations) # # Meaning: Block 'Kanbun' # return <<'END'; 3190 319F Kanbun END
trivoldus28/pulsarch-verilog
tools/perl-5.8.7/lib/perl5/5.8.7/unicore/lib/gc_sc/InKanbun.pl
Perl
gpl-2.0
277
/* Copyright 2015 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
livingbio/kubernetes
pkg/volume/glusterfs/glusterfs.go
GO
apache-2.0
6,828
#region License, Terms and Author(s) // // ELMAH - Error Logging Modules and Handlers for ASP.NET // Copyright (c) 2004-9 Atif Aziz. All rights reserved. // // Author(s): // // Atif Aziz, http://www.raboof.com // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this ...
clearwavebuild/elmah
src/Elmah/RssXml.cs
C#
apache-2.0
2,294
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
diogocs1/comps
web/addons/sale_journal/__openerp__.py
Python
apache-2.0
2,681
/*============================================================================= Copyright (c) 2006-2007 Tobias Schwinger Use modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). ...
edlund/fabl-ng
vendor/builds/boost-1.58/include/boost/fusion/functional/adapter.hpp
C++
gpl-3.0
865
/* * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
rokn/Count_Words_2015
testing/openjdk2/jdk/src/share/classes/javax/swing/text/Position.java
Java
mit
3,516
/* ** $Id: */ /*! \file "cmd_buf.h" \brief In this file we define the structure for Command Packet. In this file we define the structure for Command Packet and the control unit of MGMT Memory Pool. */ /******************************************************************************* * Copyright (c) 2007 M...
crewrktablets/rk3x_kernel_3.10
drivers/net/wireless/rockchip_wlan/mt5931_kk/drv_wlan/include/nic/cmd_buf.h
C
gpl-2.0
7,831
<html> <head> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title> CIP JavaScript documentation for class " pfcUDFNotchFeat" </title> <link href="cipdoc_default.css" type="text/css" rel="stylesheet"> <script language="JAVASCRIPT"> function findProperNode () { } </scri...
2014c2g12/c2g12
wsgi/wsgi/static/weblink/doc/api/t-pfcUDFNotchFeat-UDFNotchFeat.html
HTML
gpl-2.0
906
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
michael-milette/moodle
blocks/navigation/renderer.php
PHP
gpl-3.0
8,550
# # Copyright 2013 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # #...
riveridea/gnuradio
gr-utils/python/modtool/code_generator.py
Python
gpl-3.0
2,485
/* v3_akey.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 1999. */ /* ==================================================================== * Copyright (c) 1999 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without ...
FabianKnapp/nexmon
utilities/boringssl/src/crypto/x509v3/v3_akey.c
C
gpl-3.0
7,464
# -*- test-case-name: twisted.web.test.test_httpauth -*- # Copyright (c) 2009 Twisted Matrix Laboratories. # See LICENSE for details. """ Implementation of RFC2617: HTTP Digest Authentication @see: U{http://www.faqs.org/rfcs/rfc2617.html} """ from zope.interface import implements from twisted.cred import credentials...
jxta/cc
vendor/Twisted-10.0.0/twisted/web/_auth/digest.py
Python
apache-2.0
1,700
<?php /** * CodeIgniter * * An open source application development framework for PHP 5.2.4 or newer * * This content is released under the MIT License (MIT) * * Copyright (c) 2014, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of th...
Vicecalidadumb/biblia
system/libraries/Javascript/Jquery.php
PHP
apache-2.0
25,597
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <script src="../../../resources/js-test.js"></script> </head> <body> <script src="resources/regress-pre.js"></script> <script src="script-tests/int-or-other-add.js"></script> <script src="resources/regress-post.js"></script> </body> </html>
nwjs/chromium.src
third_party/blink/web_tests/fast/js/regress/int-or-other-add.html
HTML
bsd-3-clause
302
<!DOCTYPE html> <html> <head> <script src="../../resources/js-test.js"></script> <script> window.jsTestIsAsync = true; document.addEventListener('DOMContentLoaded', function () { if (window.testRunner) { eventSender.mouseMoveTo(1, 1); eventSender.mous...
scheib/chromium
third_party/blink/web_tests/fast/events/mouseenter-mouseleave-inline-attributes.html
HTML
bsd-3-clause
2,838
'use strict'; // https://github.com/sebmarkbage/ecmascript-string-left-right-trim require('./_string-trim')('trimRight', function($trim){ return function trimRight(){ return $trim(this, 2); }; }, 'trimEnd');
migua1204/jikexueyuan
极客学院/nodeBaidu/node_modules/core-js/modules/es7.string.trim-right.js
JavaScript
apache-2.0
215
Ext.grid.RowExpander = function(config){ Ext.apply(this, config); this.addEvents({ beforeexpand : true, expand: true, beforecollapse: true, collapse: true }); Ext.grid.RowExpander.superclass.constructor.call(this); if(this.tpl){ if(typeof this....
flavour/ssf
static/scripts/ext-community-extensions/rowactions/js/RowExpander.js
JavaScript
mit
3,977
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Finder\Iterator; /** * FilecontentFilterIterator fil...
BlueTeck/kanboard
vendor/symfony/finder/Iterator/FilecontentFilterIterator.php
PHP
mit
1,453
/** * @author mrdoob / http://mrdoob.com/ */ function RollerCoasterGeometry( curve, divisions ) { THREE.BufferGeometry.call( this ); var vertices = []; var normals = []; var colors = []; var color1 = [ 1, 1, 1 ]; var color2 = [ 1, 1, 0 ]; var up = new THREE.Vector3( 0, 1, 0 ); var forward = new THREE.Vec...
ecumene-software/ecumene-software.github.io
warhol/js/RollerCoaster.js
JavaScript
mit
13,780
/* MiniDLNA media server * Copyright (C) 2013 NETGEAR * * This file is part of MiniDLNA. * * MiniDLNA is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * MiniDLNA is distributed in the hope...
folhabranca/minidlna
sendfile.h
C
gpl-2.0
1,575
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2010-2013 Bluecherry, LLC <http://www.bluecherrydvr.com> * * Original author: * Ben Collins <bcollins@ubuntu.com> * * Additional work by: * John Brooks <john.brooks@bluecherry.net> */ #include <linux/kernel.h> #include <linux/module.h> #include <l...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-5.4/drivers/media/pci/solo6x10/solo6x10-v4l2.c
C
gpl-2.0
18,713
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PERF_TOOL_H #define __PERF_TOOL_H #include <stdbool.h> #include <linux/types.h> struct perf_session; union perf_event; struct evlist; struct evsel; struct perf_sample; struct perf_tool; struct machine; struct ordered_events; typedef int (*event_sample)(struct perf_to...
skalk/linux
tools/perf/util/tool.h
C
gpl-2.0
1,913
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * A segment of text within the template. */ export var TextAst = (function () { /** * @param {?} value...
mo-norant/FinHeartBel
website/node_modules/@angular/compiler/src/template_parser/template_ast.js
JavaScript
gpl-3.0
18,574
/* Copyright The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
Stackdriver/heapster
vendor/k8s.io/kubernetes/pkg/kubelet/apis/deviceplugin/v1alpha/api.pb.go
GO
apache-2.0
57,854
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
rohit2b/incubator-zeppelin
zeppelin-interpreter/src/main/java/org/apache/zeppelin/display/GUI.java
Java
apache-2.0
2,273
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
openweave/openweave-core
third_party/android/platform-libcore/android-platform-libcore/luni/src/main/java/java/security/cert/CRL.java
Java
apache-2.0
2,058
// (C) Copyright 2015 Martin Dougiamas // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
Andydadra/moodlemobile2
www/addons/qbehaviour/deferredcbm/handlers.js
JavaScript
apache-2.0
3,770
# copyright 2003-2014 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This file is part of astroid. # # astroid is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the F...
Shouqun/node-gn
tools/depot_tools/third_party/logilab/astroid/brain/pysix_moves.py
Python
mit
8,703
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is dis...
michael-milette/moodle
payment/amd/src/repository.js
JavaScript
gpl-3.0
1,651
/**************************************************************************//** * @file core_cm7.h * @brief CMSIS Cortex-M7 Core Peripheral Access Layer Header File * @version V4.10 * @date 18. March 2015 * * @note * ******************************************************************************/ /* ...
msolters/RIOT
cpu/cortexm_common/include/core_cm7.h
C
lgpl-2.1
136,269
/*============================================================================= Boost.Wave: A Standard compliant C++ preprocessor library http://www.boost.org/ Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt o...
NixaSoftware/CVis
venv/bin/libs/wave/test/testwave/testfiles/t_6_008.cpp
C++
apache-2.0
2,334
var assert = require('assert'); var curve = require('../curve'); var elliptic = require('../../elliptic'); var bn = require('bn.js'); var inherits = require('inherits'); var Base = curve.base; var getNAF = elliptic.utils.getNAF; function ShortCurve(conf) { Base.call(this, 'short', conf); this.a = new bn(conf.a, ...
kimisan/Presentations
quadrant/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-ecdh/node_modules/elliptic/lib/elliptic/curve/short.js
JavaScript
apache-2.0
22,130
import cgi import errno import io import mimetypes import os import posixpath import re import shutil import stat import sys import tempfile from os import path import django from django.conf import settings from django.core.management.base import BaseCommand, CommandError from django.core.management.utils import hand...
mbayon/TFG-MachineLearning
venv/lib/python3.6/site-packages/django/core/management/templates.py
Python
mit
14,053
<!--- This README is automatically generated from the comments in these files: paper-styles.html Edit those files, and our readme bot will duplicate them over here! Edit this file, and the bot will squash your changes :) --> [![Build Status](https://travis-ci.org/PolymerElements/paper-styles.svg?branch=master)](ht...
OhTheGuilt/Leertaak7
webapp/app/bower_components/paper-styles/README.md
Markdown
mit
1,775
/* * STB810 specific prom routines * * Author: MontaVista Software, Inc. * source@mvista.com * * Copyright 2005 MontaVista Software Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Sof...
impedimentToProgress/UCI-BlueChip
snapgear_linux/linux-2.6.21.1/arch/mips/philips/pnx8550/stb810/prom_init.c
C
mit
1,181
#ifndef _LINUX_PTRACE_H #define _LINUX_PTRACE_H /* ptrace.h */ /* structs and defines to help the user use the ptrace system call. */ /* has the defines to get at the registers. */ #define PTRACE_TRACEME 0 #define PTRACE_PEEKTEXT 1 #define PTRACE_PEEKDATA 2 #define PTRACE_PEEKUSR 3 #define PTRACE_POKE...
Klaus-schwarzkopf/linux-davinci-sensortherm
include/linux/ptrace.h
C
gpl-2.0
12,880
/***************************************************************************/ /* */ /* ftgzip.c */ /* */ /* Fr...
joncampbell123/dosbox-rewrite
vs2015/freetype/src/gzip/ftgzip.c
C
gpl-2.0
21,266
# # for USB OTG silicon based on Mentor Graphics INVENTRA designs # include $(TOPDIR)/config.mk LIB := $(obj)libusb_musb-new.o COBJS-$(CONFIG_MUSB_GADGET) += musb_gadget.o musb_gadget_ep0.o musb_core.o COBJS-$(CONFIG_MUSB_GADGET) += musb_uboot.o COBJS-$(CONFIG_MUSB_HOST) += musb_host.o musb_core.o musb_uboot.o COBJS...
lxl1140989/dmsdk
uboot/u-boot-dm6291/drivers/usb/musb-new/Makefile
Makefile
gpl-2.0
1,051
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM...
sgaved/SuiteCRM
modules/Campaigns/Save.php
PHP
agpl-3.0
6,363
/* Copyright 2014 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
aatarasoff/kubernetes
pkg/kubectl/cmd/util/clientcache.go
GO
apache-2.0
2,616
//======================================================================== // Context sharing test program // Copyright (c) Camilla Berglund <elmindreda@glfw.org> // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising f...
lakehanne/iai_kinect2
viewer_ex/glfw/src/tests/sharing.c
C
apache-2.0
5,014
// Copyright (c) 2012-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "streams.h" #include "support/allocators/zeroafterfree.h" #include "test/test_bitcoin.h" #include <boost/assign/std...
Mirobit/bitcoin
src/test/streams_tests.cpp
C++
mit
4,285
/*============================================================================ This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic Package, Release 3e, by John R. Hauser. Copyright 2011, 2012, 2013, 2014 The Regents of the University of California. All rights reserved. Redistribution and use ...
AZO234/NP2kai
i386c/ia32/instructions/fpu/softfloat/s_f64UIToCommonNaN.c
C
mit
2,577
<?php /* * Copyright 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
siege123/export-to-google-drive
vendor/google/apiclient-services/src/Google/Service/Mirror/LocationsListResponse.php
PHP
mit
1,089
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 /****************************************************************************** * * Module Name: evxfregn - External Interfaces, ACPI Operation Regions and * Address Spaces. * * Copyright (C) 2000 - 2018, Intel Corp. * ******************...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-4.19/drivers/acpi/acpica/evxfregn.c
C
gpl-2.0
6,406
#include <linux/kernel.h> #include <linux/netfilter.h> #include <linux/netfilter_ipv4.h> #include <linux/netfilter_ipv6.h> #include <net/netfilter/nf_queue.h> __sum16 nf_checksum(struct sk_buff *skb, unsigned int hook, unsigned int dataoff, u_int8_t protocol, unsigned short family) { const struct nf_ipv6_...
HarveyHunt/linux
net/netfilter/utils.c
C
gpl-2.0
1,962
/* * MSGBUF network driver ioctl/indication encoding * Broadcom 802.11abg Networking Device Driver * * Definitions subject to change without notice. * * Copyright (C) 1999-2014, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this ...
TV-LP51-Devices/android_kernel_samsung_trlte
drivers/net/wireless/bcmdhd4358/include/bcmmsgbuf.h
C
gpl-2.0
20,092
/* * processor_idle - idle state submodule to the ACPI processor driver * * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com> * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> * Copyright (C) 2004, 2005 Dominik Brodowski <linux@brodo.de> * Copyright (C) 2004 Anil S Kesha...
vfalico/hydra-rpmsg
drivers/acpi/processor_idle.c
C
gpl-2.0
30,932
/* * Software License Agreement (BSD License) * * Copyright (c) 2011, Geoffrey Biggs * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must re...
locnx1984/pcl
tools/pcl_video.cpp
C++
bsd-3-clause
19,445
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2014, Michael Ellerman, IBM Corp. */ #define _GNU_SOURCE #include <stdio.h> #include <stdbool.h> #include <string.h> #include <sys/prctl.h> #include "ebb.h" /* * Run a calibrated instruction loop and count instructions executed using * EBBs. Make sure the...
koct9i/linux
tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c
C
gpl-2.0
3,800
/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved. * Copyright (c) 2012, LGE Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This ...
thecubed/android_kernel_lge_geefhd
arch/arm/mach-msm/lge/j1/board-j1-storage.c
C
gpl-2.0
11,210
/*--------------------- Typography ----------------------------*/ @font-face { font-family: 'aller-light'; src: url('public/fonts/aller-light.eot'); src: url('public/fonts/aller-light.eot?#iefix') format('embedded-opentype'), url('public/fonts/aller-light.woff') format('woff'), url('publi...
sudocoda/crimzon-theme
wp-content/themes/mystile/sm/doc/generated/docco.css
CSS
gpl-2.0
9,416
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Lee-Wills/-tv
mmd/library/src/main/java/com/google/android/exoplayer/util/VerboseLogUtil.java
Java
gpl-3.0
2,244
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
yadavbdev/azure-sdk-for-net
src/ResourceManagement/Sql/SqlManagement/Generated/Models/RecommendedElasticPool.cs
C#
apache-2.0
2,096
// Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
yadavbdev/azure-sdk-for-net
src/ServiceManagement/Network/Network.Tests/Gateways/TestOperations/SetSharedKey.cs
C#
apache-2.0
2,194
class Test { public interface JTableColumn<E, J> {} public interface JTableEntity<E> extends Comparable<E> {} public class JTableModel<E extends JTableEntity<E>, J extends JTable, T extends Enum<T> & JTableColumn<E, J>> extends AbstractTableModel { @Override public int getRowCount() { return 0; } ...
smmribeiro/intellij-community
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/IDEA107713.java
Java
apache-2.0
1,022
/* crypto/ripemd/rmd_one.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and ...
teeple/pns_server
work/install/node-v0.10.25/deps/openssl/openssl/crypto/ripemd/rmd_one.c
C
gpl-2.0
3,646
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_pre...
prostudy/kit
xenon/xenon-files/angular/app/js/angular/i18n/angular-locale_lv-lv.js
JavaScript
gpl-2.0
2,666
package middleware import ( "net/http" "strings" "github.com/zenazn/goji/web" ) type autoOptionsState int const ( aosInit autoOptionsState = iota aosHeaderWritten aosProxying ) // I originally used an httptest.ResponseRecorder here, but package httptest // adds a flag which I'm not particularly eager to expo...
vsco/goji
web/middleware/options.go
GO
mit
2,030
# $Id: 331_srtp_prefer_rtp_avp.py 2081 2008-06-27 21:59:15Z bennylp $ import inc_sip as sip import inc_sdp as sdp # When SRTP is NOT enabled in pjsua, it should prefer to use # RTP/AVP media line if there are multiple m=audio lines sdp = \ """ v=0 o=- 0 0 IN IP4 127.0.0.1 s=- c=IN IP4 127.0.0.1 t=0 0 m=audio 5000 RTP/...
lxki/pjsip
tests/pjsua/scripts-sendto/331_srtp_prefer_rtp_avp.py
Python
gpl-2.0
827
# -*- cperl -*- # Copyright (C) 2004-2008 MySQL AB # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. # # This program is distributed in the hope that it will be usefu...
metacloud/percona-xtrabackup
percona-server-5.5-xtrabackup/Percona-Server-5.5/mysql-test/lib/mtr_match.pm
Perl
gpl-2.0
1,980
require "mutex_m" require "debrew/irb" module Debrew extend Mutex_m Ignorable = Module.new module Raise def raise(*) super rescue Exception => e e.extend(Ignorable) super(e) unless Debrew.debug(e) == :ignore end alias_method :fail, :raise end module Formula def insta...
Si15801489663/test
rvm install ruby --head/Library/Homebrew/debrew.rb
Ruby
mit
3,036
/* * Register cache access API - LZO caching support * * Copyright 2011 Wolfson Microelectronics plc * * Author: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * pu...
talnoah/android_kernel_htc_dlx
virt/drivers/base/regmap/regcache-lzo.c
C
gpl-2.0
9,264
// Type definitions for object-hash v1.2.0 // Project: https://github.com/puleos/object-hash // Definitions by: Michael Zabka <https://github.com/misak113> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped import HashStatic = ObjectHash.HashStatic; export = HashStatic; export as namespace objectHash; ...
rolandzwaga/DefinitelyTyped
types/object-hash/index.d.ts
TypeScript
mit
1,462
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt frappe.query_reports["Customer Acquisition and Loyalty"] = { "filters": [ { "fieldname":"company", "label": __("Company"), "fieldtype": "Link", "options": "Company", "defau...
mahabuber/erpnext
erpnext/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.js
JavaScript
agpl-3.0
727
<?php /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will...
owen-kellie-smith/mediawiki
wiki/tests/phpunit/includes/title/NamespaceAwareForeignTitleFactoryTest.php
PHP
mit
2,498
<?php /** * Omeka * * @copyright Copyright 2007-2012 Roy Rosenzweig Center for History and New Media * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU GPLv3 */ /** * @package Omeka\File\MimeType\Detect\Strategy */ class Omeka_File_MimeType_Detect_Strategy_Browser implements Omeka_File_MimeType_Detect...
jbfink/docker-omeka
omeka/omeka-2.4.1/application/libraries/Omeka/File/MimeType/Detect/Strategy/Browser.php
PHP
mit
876
<!DOCTYPE html> <html> <!-- Copyright 2008 The Closure Library Authors. All Rights Reserved. Use of this source code is governed by the Apache License, Version 2.0. See the COPYING file for details. --> <!-- Author: attila@google.com (Attila Bodis) --> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <ti...
AppScale/appinventor
war/closure-library-20120710-r2029/closure/goog/ui/tabbarrenderer_test.html
HTML
mit
5,321
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
AuxMon/azure-sdk-for-net
src/ResourceManagement/Automation/AutomationManagement/Generated/Models/HybridRunbookWorker.cs
C#
apache-2.0
2,160
// Boost.Range library // // Copyright Neil Groves 2010. Use, modification and // distribution is subject to the Boost Software License, Version // 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // // For more information, see http://www.boost.org/libs/range/ // #...
NixaSoftware/CVis
venv/bin/libs/range/test/algorithm_ext_test/iota.cpp
C++
apache-2.0
1,768
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
caot/intellij-community
platform/platform-impl/src/com/intellij/openapi/wm/impl/SideStack.java
Java
apache-2.0
2,458
.tooltip-element, .tooltip-element:after, .tooltip-element:before, .tooltip-element *, .tooltip-element *:after, .tooltip-element *:before { box-sizing: border-box; } .tooltip-element { position: absolute; display: none; } .tooltip-element.tooltip-open { display: block; } .tooltip-element.tooltip-theme-ar...
marcinsdance/sloth-invoices
web/assets/vendor/tether-tooltip/dist/css/tooltip-theme-arrows.css
CSS
mit
5,707
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // ...
kangaroo/coreclr
src/mscorlib/src/System/Reflection/DefaultMemberAttribute.cs
C#
mit
1,337
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is dis...
tunele/moodle
admin/tool/lp/amd/src/competencies.js
JavaScript
gpl-3.0
13,273
/* Copyright (c) 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
rajeev781/solutions-mobile-shopping-assistant-backend-java
MobileAssistant-Tutorial/Phase1_Snippets/CheckIn.java
Java
apache-2.0
1,584
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2008 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * S3C ADC driver information */ #ifndef __ASM_PLAT_ADC_H #define __ASM_PLAT_ADC_H __FILE__ struct s3c_adc_client; struct platform_device; extern int s3c_adc_start(...
CSE3320/kernel-code
linux-5.8/arch/arm/plat-samsung/include/plat/adc.h
C
gpl-2.0
868
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_S390_PCI_CLP_H #define _ASM_S390_PCI_CLP_H #include <asm/clp.h> /* * Call Logical Processor - Command Codes */ #define CLP_LIST_PCI 0x0002 #define CLP_QUERY_PCI_FN 0x0003 #define CLP_QUERY_PCI_FNGRP 0x0004 #define CLP_SET_PCI_FN 0x0005 /* PCI function handle li...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-5.4/arch/s390/include/asm/pci_clp.h
C
gpl-2.0
4,701
/* Copyright 2021 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
matthyx/kubernetes
staging/src/k8s.io/pod-security-admission/cmd/webhook/server/scheme.go
GO
apache-2.0
1,215
/* Copyright 2014 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
Samsung-AG/kubernetes
pkg/cloudprovider/providers/rackspace/rackspace.go
GO
apache-2.0
9,558
require 'formula' class Gtksourceview < Formula homepage 'http://projects.gnome.org/gtksourceview/' url 'http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/2.10/gtksourceview-2.10.5.tar.gz' sha1 '1bb784d1e9d9966232928cf91b1ded20e8339670' bottle do sha1 "e776f4b2aa5a68f193d1f22352582cb923090614" => :yose...
gijzelaerr/homebrew
Library/Formula/gtksourceview.rb
Ruby
bsd-2-clause
738
/* { dg-do run } */ /* { dg-options "-O2 -fdump-tree-strlen" } */ #include "strlenopt.h" __attribute__((noinline, noclone)) size_t fn1 (char *p) { char *q; /* This can be optimized into memcpy and the size can be decreased to one, as it is immediately overwritten. */ strcpy (p, "z"); q = strchr (p, '\0'...
alpine9000/BitOS
tests/gcc.dg/strlenopt-10.c
C
bsd-2-clause
2,500
/** * \file * * \brief Component description for EIC * * Copyright (c) 2016 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: *...
traquinedes/IoThermostat
src/sam0/utils/cmsis/samd21/include/component/eic.h
C
gpl-3.0
52,677
#!/usr/local/bin/perl # VC-32.pl - unified script for Microsoft Visual C++, covering Win32, # Win64 and WinCE [follow $FLAVOR variable to trace the differences]. # $ssl= "ssleay32"; $crypto="libeay32"; if ($fips && !$shlib) { $crypto="libeayfips32"; $crypto_compat = "libeaycompat32.lib"; } else { $crypto="libea...
teeple/pns_server
work/install/node-v0.10.25/deps/openssl/openssl/util/pl/VC-32.pl
Perl
gpl-2.0
11,722
/* Copyright 2015 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
guiquanz/binnavi
src/main/java/com/google/security/zynamics/binnavi/debug/connection/packets/replyparsers/SingleStepParser.java
Java
apache-2.0
2,459
/* SPDX-License-Identifier: GPL-2.0 */ /* written by Philipp Rumpf, Copyright (C) 1999 SuSE GmbH Nuernberg ** Copyright (C) 2000 Grant Grundler, Hewlett-Packard */ #ifndef _PARISC_PTRACE_H #define _PARISC_PTRACE_H #include <uapi/asm/ptrace.h> #define task_regs(task) ((struct pt_regs *) ((char *)(task) + TASK_REGS)) ...
CSE3320/kernel-code
linux-5.8/arch/parisc/include/asm/ptrace.h
C
gpl-2.0
1,603
package IPC::Open2; use strict; our ($VERSION, @ISA, @EXPORT); require 5.000; require Exporter; $VERSION = 1.04; @ISA = qw(Exporter); @EXPORT = qw(open2); =head1 NAME IPC::Open2 - open a process for both reading and writing using open2() =head1 SYNOPSIS use IPC::Open2; $pid = open2(\*CHLD_OUT, \*CHLD_...
Dokaponteam/ITF_Project
xampp/perl/lib/IPC/Open2.pm
Perl
mit
4,004
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("language","fa",{button:"تعیین زبان",remove:"حذف زبان"});
hikmahtiar6/camar_erp_ci
web/vendor/plugins-admin/ckeditor/plugins/language/lang/fa.js
JavaScript
mit
243
// Copyright (c) 2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <math.h> #include <stdlib.h> #include "bloom.h" #include "main.h" #include "script.h" #define LN2SQUARED 0.48045301391820...
QPSCoin/qpscoin-source
src/bloom.cpp
C++
mit
6,043
/** * @file op_rtc.c * Setup and handling of RTC interrupts * * @remark Copyright 2002 OProfile authors * @remark Read the file COPYING * * @author Bob Montgomery * @author Philippe Elie * @author John Levon */ #include <linux/ioport.h> #include <linux/mc146818rtc.h> #include <asm/ptrace.h> #include "oprofi...
scs/uclinux
user/oprofile/oprofile-0.9.4/module/x86/op_rtc.c
C
gpl-2.0
4,007
//////////////////////////////////////////////////////////////////////////////// /// /// Sample interpolation routine using 8-tap band-limited Shannon interpolation /// with kaiser window. /// /// Notice. This algorithm is remarkably much heavier than linear or cubic /// interpolation, and not remarkably better than ...
Murder66/mpc-hc-master
src/thirdparty/SoundTouch/source/InterpolateShannon.h
C
gpl-3.0
2,381
/* Test vbslq_u64 can be folded. */ /* { dg-do assemble } */ /* { dg-options "--save-temps -O3" } */ #include <arm_neon.h> /* Folds to BIC. */ int32x4_t half_fold_int (uint32x4_t mask) { int32x4_t a = {0, 0, 0, 0}; int32x4_t b = {2, 4, 8, 16}; return vbslq_s32 (mask, a, b); } /* { dg-final { scan-assembler-n...
selmentdev/selment-toolchain
source/gcc-latest/gcc/testsuite/gcc.target/aarch64/vbslq_u64_2.c
C
gpl-3.0
494
/* * Copyright 2003-2013 Dave Griffith, Bas Leijdekkers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
vvv1559/intellij-community
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/resources/JNDIResourceInspection.java
Java
apache-2.0
2,626
/* itbl-lex.h Copyright 2005, 2007 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. GAS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your opt...
dededong/goblin-core
riscv/llvm/3.5/binutils-2.21.1/gas/itbl-lex.h
C
bsd-3-clause
895
<?php /** * TreeBehaviorNumberTest file * * This is the basic Tree behavior test * * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license informa...
kcraam/rasp-fligthtime
webapp/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorNumberTest.php
PHP
bsd-3-clause
48,182