id
stringlengths
64
64
content
stringlengths
500
100k
language
stringclasses
29 values
path
stringlengths
4
333
repo
stringlengths
5
116
license
stringclasses
15 values
size
int64
500
100k
lines
int64
26
8.06k
source
stringclasses
1 value
f455daed8c7ac748f91bfd6475b967dd7815a07cee6c0c993e8bdd3888952a9a
/* * ChaCha20 256-bit cipher algorithm, RFC7539 * * Copyright (C) 2015 Martin Willi * * 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 optio...
C
linux-4.19/crypto/chacha20_generic.c
BPI-SINOVOIP/BPI-Mainline-kernel
gpl-2.0
3,616
137
codeparrot/github-code
a1a2978489c6675d257f060d61cd341214d45e4a063e478af7bc26f6b0a8f840
// Copyright 2012 Google Inc. All Rights Reserved. /** * @fileoverview Node utilities. */ goog.provide('wgxpath.Node'); goog.require('goog.array'); goog.require('goog.dom.NodeType'); goog.require('goog.userAgent'); goog.require('wgxpath.IEAttrWrapper'); goog.require('wgxpath.userAgent'); /** @typedef {!(Node|wgx...
JavaScript
third_party/js/wgxpath/node.js
jerome-jacob/selenium
apache-2.0
12,989
400
codeparrot/github-code
0dbf97a22f2c71d93f83a9adf960e14c264d3254418adb6208bdfad0aff72f33
// Copyright 2018 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing project authors may // be...
C
thirdparty/libwebp/src/dsp/cost_neon.c
honix/godot
mit
4,305
123
codeparrot/github-code
64a6c0e3f244c892fb5252be2f29aa8dc620aaadce1213639838ad4b58962953
/** * Copyright (c) 2010-2015, openHAB.org and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org...
Java
bundles/binding/org.openhab.binding.zwave/src/main/java/org/openhab/binding/zwave/internal/protocol/commandclass/ZWaveSceneActivationCommandClass.java
PolymorhicCode/openhab
epl-1.0
3,607
102
codeparrot/github-code
cebbcac13ec66458596eee15b1bbb2c066e0adc7d2cba1cc4fa4e64fa0474f16
/* * Copyright (C) 2006 Michael Brown <mbrown@fensystems.co.uk>. * * 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 any later version. * * This progr...
C
tracers/qemu/decaf/roms/ipxe/src/net/tcp/iscsi.c
KernelAnalysisPlatform/KlareDbg
gpl-3.0
60,927
2,102
codeparrot/github-code
c996782726b0aae65128a150dd97648d1d42edc017dc919d2f154bfd4344189b
/* * PS3 bootwrapper support. * * Copyright (C) 2007 Sony Computer Entertainment Inc. * Copyright 2007 Sony Corp. * * 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...
C
arch/powerpc/boot/ps3.c
SlimRoms/kernel_cyanogen_msm8916
gpl-2.0
3,872
159
codeparrot/github-code
51d7d74effb138d2461004a62efd144a03f9b1360a781eb5febfc89d8cac2c48
/* * PE (Portable Execute) File Resources * * Copyright 1995 Thomas Sandford * Copyright 1996 Martin von Loewis * * Based on the Win16 resource handling code in loader/resource.c * Copyright 1993 Robert J. Amstadt * Copyright 1995 Alexandre Julliard * Copyright 1997 Marcus Meissner * * Modified for use with ...
C
oss-survey/mplayer-checkout-2011-04-26/loader/pe_resource.c
DMCsys/smartalkaudio
gpl-3.0
11,419
397
codeparrot/github-code
ac35b851f01389cbab35cdfb6f65c4c0fd47b6d19c8af6885c72efaa817e703c
/* * Copyright 2013 The LibYuv Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing p...
C
webmdshow-master/third_party/libyuv/include/libyuv/scale_row.h
kwende/webmd
bsd-3-clause
16,547
333
codeparrot/github-code
1e12b67b9b97e320aaaa3859c9e48985938ee1a85a0b7f4c69ee06ff9f75fa6c
// From https://hapijs.com/api/16.1.1#route-prerequisites import * as Hapi from 'hapi'; const server = new Hapi.Server(); server.connection({ port: 80 }); const pre1: Hapi.RoutePrerequisiteRequestHandler = function (request, reply) { return reply('Hello'); }; const pre2: Hapi.RoutePrerequisiteRequestHandler = ...
TypeScript
types/hapi/v16/test/route/prerequisites.ts
markogresak/DefinitelyTyped
mit
1,098
48
codeparrot/github-code
9198dc909798c1d9245151269a0d91637124373a0e1fffc6f7d6dbe8402ae1ad
/* * Copyright (C) 2008 Christoph Hellwig. * Portions Copyright (C) 2000-2008 Silicon Graphics, 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 Software Foundation. * * This program is distributed in ...
C
oss/linux/linux-4.7/fs/xfs/xfs_xattr.c
geminy/aidear
gpl-3.0
6,247
254
codeparrot/github-code
0924bd04e4b527b890a46e174c5495511d69021a2bf8b72934f90c3f7f49ffb2
"""Utilities to support packages.""" # NOTE: This module must remain compatible with Python 2.3, as it is shared # by setuptools for distribution with Python 2.3 and up. import os import sys import imp import os.path from types import ModuleType from org.python.core import imp as _imp, BytecodeLoader __all__ = [ ...
Python
zephyr.plugin.jython/jython2.5.2rc3/Lib/pkgutil.py
zephyrplugins/zephyr
epl-1.0
19,027
557
codeparrot/github-code
1b9a0482732ff010e3990c19203111e36808e7e621df571d8933a52fd768d22c
/* * AVR32 sempahore implementation. * * Copyright (C) 2004-2006 Atmel Corporation * * Based on linux/arch/i386/kernel/semaphore.c * Copyright (C) 1999 Linus Torvalds * * 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 *...
C
snapgear_linux/linux-2.6.21.1/arch/avr32/kernel/semaphore.c
impedimentToProgress/UCI-BlueChip
mit
4,662
149
codeparrot/github-code
8fbf4d229aaa96a7cf17c32326aaa538a120c65415138b0e7eb58695844532d4
/* * fs/cifs/link.c * * Copyright (C) International Business Machines Corp., 2002,2008 * Author(s): Steve French (sfrench@us.ibm.com) * * This library 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 Free Sof...
C
linux-5.4/fs/cifs/link.c
BPI-SINOVOIP/BPI-Mainline-kernel
gpl-2.0
17,832
734
codeparrot/github-code
56ebd93f2aae3dd7997a2c121c37c2be38550300208493de70652628ef9fd6f9
/* * Copyright 2013 The Netty Project * * The Netty Project licenses this file to you 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 ...
Java
netty_source_4_0_25/codec-http/src/main/java/io/netty/handler/codec/spdy/DefaultSpdySynReplyFrame.java
iloveyou416068/CookNIOServer
apache-2.0
2,087
73
codeparrot/github-code
69b7c1e747ffbb87397bf176d39c718e2e8dd254e6a2330d69d3917ecb52ac42
/* * Driver for CSR SiRFprimaII onboard UARTs. * * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company. * * Licensed under GPLv2 or later. */ #include <linux/module.h> #include <linux/ioport.h> #include <linux/platform_device.h> #include <linux/init.h> #include <linux/sysrq.h> #include <l...
C
virt/drivers/tty/serial/sirfsoc_uart.c
talnoah/android_kernel_htc_dlx
gpl-2.0
21,730
778
codeparrot/github-code
72f9ff46e1db7221382f75e2aa5467271e49c2b84bd5b81c498c585923277055
namespace adoneTests.text { const { text } = adone; let str: string; let regExp: RegExp; let bool: boolean; let num: number; namespace escape { const { escape } = text; str = escape.regExpPattern("asd"); str = escape.regExpReplacement("a...
TypeScript
types/adone/test/glosses/text/index.ts
laurentiustamate94/DefinitelyTyped
mit
1,658
59
codeparrot/github-code
1cc315165ac3fb49962f0649bdcf244965b84adf9f9f3e674d049b9529a60c21
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Red Hat, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, incl...
Java
core/src/main/java/hudson/model/TaskThread.java
lindzh/jenkins
mit
6,567
205
codeparrot/github-code
2535c1443522ce293417c1c423d9dfd661a82965dd88c338911e570613960b7c
// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. // 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). // // See http://www.boost.org/libs/utili...
C++
xs/src/boost/detail/call_traits.hpp
technobly/slic3r-zeepro
agpl-3.0
4,494
173
codeparrot/github-code
0001e73fd69bb4b413b004440d902d8b7a18dddd226e99e341f47dff857dd040
/* * CAN driver for PEAK System USB adapters * Derived from the PCAN project file driver/src/pcan_usb_core.c * * Copyright (C) 2003-2010 PEAK System-Technik GmbH * Copyright (C) 2010-2012 Stephane Grosjean <s.grosjean@peak-system.com> * * Many thanks to Klaus Hitschler <klaus.hitschler@gmx.de> * * This program...
C
drivers/net/can/usb/peak_usb/pcan_usb_core.h
soap-DEIM/l4android
gpl-2.0
4,208
147
codeparrot/github-code
13f49b02172992abc1d1b0334d7feac2a73c3a0ea215b0725fc990607086d780
/* * Standalone EHCI usb debug driver * * Originally written by: * Eric W. Biederman" <ebiederm@xmission.com> and * Yinghai Lu <yhlu.kernel@gmail.com> * * Changes for early/late printk and HW errata: * Jason Wessel <jason.wessel@windriver.com> * Copyright (C) 2009 Wind River Systems, Inc. * */ #include ...
C
kernel/drivers/usb/early/ehci-dbgp.c
augustayu/fastsocket
gpl-2.0
24,169
997
codeparrot/github-code
1becb3a2f72d8ff567dfbe4168cf080af112447502def6562e840fc2decf58fd
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // SwapChain.h: Defines a back-end specific class that hides the details of the // implementation-specific swapchain. #ifndef LIBGLESV2_RE...
C
src/qt/qtbase/src/3rdparty/angle/src/libGLESv2/renderer/SwapChain.h
yoki/phantomjs
bsd-3-clause
1,708
57
codeparrot/github-code
39362ad7781e8c535894b5dac73eb1188feabe03c20b6f697f91acf0eb4f55f2
// SPDX-License-Identifier: GPL-2.0-only /* * iio/adc/max1027.c * Copyright (C) 2014 Philippe Reynes * * based on linux/drivers/iio/ad7923.c * Copyright 2011 Analog Devices Inc (from AD7923 Driver) * Copyright 2012 CS Systemes d'Information * * max1027.c * * Partial support for max1027 and similar ...
C
drivers/iio/adc/max1027.c
GuillaumeSeren/linux
gpl-2.0
13,085
530
codeparrot/github-code
e89c1adb5cc4b1ac0fc9f7df7f16d85ab4b05e69a6ce9c7cb1e88aede0f50bf2
//! moment.js locale configuration //! locale : Irish english (en-ie) //! author : Chris Cartlidge : https://github.com/chriscartlidge ;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof defin...
JavaScript
wwwroot/assets/js/moment/locale/en-ie.js
krasnyuk/e-liquid-MS
mit
2,373
67
codeparrot/github-code
bfb3b10acd6875caf6a870030f89237cb95e285c0377071f2d6c6ad9e21a7b14
/* * Copyright (C) 2007 Oracle. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License v2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHO...
C
fs/btrfs/volumes.h
qhuang00/terasic_MTL
gpl-2.0
11,635
392
codeparrot/github-code
a3fe117f5531f78949caa62ee446e55067254b3e81034ac35480855aee078761
/* * drivers/dma/fsl_raid.c * * Freescale RAID Engine device driver * * Author: * Harninder Rai <harninder.rai@freescale.com> * Naveen Burmi <naveenburmi@freescale.com> * * Rewrite: * Xuelin Shi <xuelin.shi@freescale.com> * * Copyright (c) 2010-2014 Freescale Semiconductor, Inc. * * Redistribution and use...
C
linux/drivers/dma/fsl_raid.c
mkvdv/au-linux-kernel-autumn-2017
gpl-3.0
25,672
900
codeparrot/github-code
bafe148fb602abc32a619f567b7e904ebadc23855a6de8f961082ae72feb4dea
using System; using System.Linq; using Orchard.ContentManagement; using Orchard.Localization; using Orchard.Projections.FilterEditors.Forms; using Orchard.Projections.Models; namespace Orchard.Projections.FieldTypeEditors { /// <summary> /// <see cref="IFieldTypeEditor"/> implementation for floating ...
C#
src/Orchard.Web/Modules/Orchard.Projections/FieldTypeEditors/FloatFieldTypeEditor.cs
caoxk/orchard
bsd-3-clause
1,466
42
codeparrot/github-code
59688cba5ffd5fcf92830a1cc8f189b85eca4abddeebfa622c67d0845cabf040
;(function ($, window, document, undefined) { var pluginName = 'gray', defaults = {}; function Plugin (element, options) { this.element = element; this.settings = $.extend({}, defaults, options); this._defaults = defaults; this._name = pluginName; this.init(); } Plugin.prototype = {...
JavaScript
ajax/libs/jquery.gray/1.2.0/js/jquery.gray.js
alexmojaki/cdnjs
mit
5,542
210
codeparrot/github-code
6a9de69892c937417d50a35fc1c05d50d15997c3136f8c5e6ccab90fde13435f
#include <linux/etherdevice.h> #include <linux/if_macvlan.h> #include <linux/interrupt.h> #include <linux/nsproxy.h> #include <linux/compat.h> #include <linux/if_tun.h> #include <linux/module.h> #include <linux/skbuff.h> #include <linux/cache.h> #include <linux/sched.h> #include <linux/types.h> #include <linux/slab.h> ...
C
drivers/net/macvtap.c
EPDCenter/android_kernel_allwinner_a31_unusual
gpl-2.0
26,843
1,107
codeparrot/github-code
70b7b0a8f38c16a43aaa86f2f8188a85e876d341d7d0cdc6dcd895666bd02dda
<html> <head> <script src="../../../dojo/dojo.js"></script> <script src="../storage-browser.js"></script> <script> dojo.require("dojox.storage"); function runDemo(){ // setup event handlers dojo.byId("saveButton").onclick = saveValue; // write out w...
HTML
www/js/dojox/storage/demos/helloworld.html
avz-cmf/zaboy-middleware
gpl-3.0
2,685
90
codeparrot/github-code
8ff0ebed0f41e83823cf1f4563e058c0318105efa8404654cbdb8c515f0e0d41
require "rss/rss" module RSS ## # # Provides a set of builders for various RSS objects # # * Feeds # * RSS 0.91 # * RSS 1.0 # * RSS 2.0 # * Atom 1.0 # # * Elements # * Atom::Entry module Maker # Collection of supported makers MAKERS = {} class << self # Builder ...
Ruby
versions/2.2.3/lib/ruby/2.2.0/rss/maker.rb
jmatbastos/rbenv
mit
1,793
79
codeparrot/github-code
2a1298025f6d8666800c6759042243a1226002e7a420cf6b9dcc0e4a42e6f951
package hello; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.cache.LoadingCache; import io.undertow.server.HttpHandler; import io.undertow.server.HttpServerExchange; import io.undertow.util.Headers; import java.util.Objects; import static hello.HelloWebServer.JSON_UTF8; /** * Handles...
Java
undertow/src/main/java/hello/CacheHandler.java
seem-sky/FrameworkBenchmarks
bsd-3-clause
1,169
38
codeparrot/github-code
1590a1cf7b21e5bc4ebce6f618251970da1aed8e53d4d2994e1e3baa443623eb
(function ($) { /** * Toggle the visibility of a fieldset using smooth animations. */ Drupal.toggleFieldset = function (fieldset) { var $toggle = $($(fieldset).find('[data-toggle=collapse]').data('target')); if ($toggle.length) { $toggle.collapse('toggle'); } }; /** * Scroll a given fieldset into view as...
JavaScript
webshop/sites/all/themes/bootstrap/js/misc/_collapse.js
cooper-webdesign/cooper.dk
gpl-2.0
2,910
87
codeparrot/github-code
8b92a4fedaa7691615d3d3c5aafb33f26bb34257d633b6b890d6d436fb479e48
/* * linux/mm/mempool.c * * memory buffer pool support. Such pools are mostly used * for guaranteed, deadlock-free memory allocations during * extreme VM load. * * started by Ingo Molnar, Copyright (C) 2001 */ #include <linux/mm.h> #include <linux/slab.h> #include <linux/export.h> #include <linux/mempool....
C
mm/mempool.c
tibere86/CM12-M8
gpl-2.0
6,186
271
codeparrot/github-code
1a12491579190a3f424e4faa6b55b8ecfbf308683719dddbd3a1b42959374e1b
/*********************************************************************** Copyright (c) 2006-2011, Skype Limited. 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 retai...
C
third_party/opus/src/silk/float/LPC_inv_pred_gain_FLP.c
scheib/chromium
bsd-3-clause
3,289
74
codeparrot/github-code
c39ab988a5c8af8076e9f6a2294548098bf3a53236276c9602ff847f94d3b090
# Since this package contains a "django" module, this is required on Python 2. from __future__ import absolute_import import sys import jinja2 from django.conf import settings from django.template import TemplateDoesNotExist, TemplateSyntaxError from django.utils import six from django.utils.module_loading import im...
Python
venv_2_7/lib/python2.7/site-packages/Django-1.9-py2.7.egg/django/template/backends/jinja2.py
Vvucinic/Wander
artistic-2.0
3,342
108
codeparrot/github-code
fda0c736fcae07fdf5af376551aa9f2ca06e8bf35b243b204ae639fcfe933922
/* { dg-do run } */ /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */ /* { dg-options "-fsanitize=float-cast-overflow -fno-sanitize-recover=float-cast-overflow" } */ /* FIXME: When _DecimalXX <-> {signed, unsigned} __int128 conversions are supported, -DBROKEN_DECIMAL_INT128 can be removed. */ /* {...
C
source/gcc-latest/gcc/testsuite/c-c++-common/ubsan/float-cast-overflow-7.c
selmentdev/selment-toolchain
gpl-3.0
5,133
197
codeparrot/github-code
525af64a76812f44ba4a96361e804ad832f6997140c90f6a1794dfaeaf02fca9
#include <linux/mount.h> #include <linux/seq_file.h> #include <linux/poll.h> #include <linux/ns_common.h> #include <linux/fs_pin.h> struct mnt_namespace { atomic_t count; struct ns_common ns; struct mount * root; struct list_head list; struct user_namespace *user_ns; u64 seq; /* Sequence number to prevent loo...
C
src/linux/fs/mount.h
systemdaemon/systemd
gpl-2.0
3,574
141
codeparrot/github-code
446d99ec0495f29e33e58d31f3973e962fcd21cb35698772e4cc2df2ed3cd1eb
/* * authencesn.c - AEAD wrapper for IPsec with extended sequence numbers, * derived from authenc.c * * Copyright (C) 2010 secunet Security Networks AG * Copyright (C) 2010 Steffen Klassert <steffen.klassert@secunet.com> * * This program is free software; you can redistribute it and/or modify it ...
C
crypto/authencesn.c
SlimRoms/kernel_cyanogen_msm8916
gpl-2.0
24,025
836
codeparrot/github-code
8b9c06e839b913bf2e8fce31c01b8beb6597b7f5d228890635fc6aa952f3dc20
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); vcyou 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...
C++
tensorflow/tensorflow/core/kernels/hexagon/soc_interface.cc
xuleiboy1234/autoTitle
mit
3,800
84
codeparrot/github-code
813f13edb04b0dca73e0bbe99bdeb68af62ea950060eea3a6b49185693cc15f7
/* libunwind - a platform-independent unwind library Copyright (C) 2003 Hewlett-Packard Co Contributed by David Mosberger-Tang <davidm@hpl.hp.com> This file is part of libunwind. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files...
C
src/ptrace/_UPT_resume.c
wdv4758h/libunwind
mit
1,569
41
codeparrot/github-code
3f0095300c164092d605678d825c46fed931da75a8c81bac8395b4099aa136e1
# # Makefile for the kernel character device drivers. # # # This file contains the font map for the default (hardware) font # FONTMAPFILE = cp437.uni obj-y += mem.o random.o tty_io.o n_tty.o tty_ioctl.o tty_ldisc.o tty_buffer.o tty_port.o obj-$(CONFIG_LEGACY_PTYS) += pty.o obj-$(CONFIG_UNIX98_PTYS) += pty.o obj-y ...
Makefile
openplatform/sdk/os/kernel-2.6.32/drivers/char/Makefile
go2ev-devteam/Gplus_2159_0801
gpl-2.0
4,488
140
codeparrot/github-code
2097941290b30e83ae3c3a73f595c2bb89881cb8ea084e3fe3b3351307f4f73b
/* Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl>, Philip Edelbrock <phil@netroedge.com>, and Mark D. Studebaker <mdsxyz123@yahoo.com> Copyright (C) 2007 - 2012 Jean Delvare <jdelvare@suse.de> Copyright (C) 2010 Intel Corporation, David Woodhouse <...
C
linux-3.14/drivers/i2c/busses/i2c-i801.c
maoze/linux-3-14-for-arm
gpl-3.0
39,451
1,321
codeparrot/github-code
78f8a14af87b9a6ff1dad395c5d28f0216003efbcbab00214348c22a1d26bf7a
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SampleCode.h" #include "SkView.h" #include "SkCanvas.h" #include "SkGradientShader.h" #include "SkPath.h" #include "SkRegion.h" #include "SkShader.h" #include "SkUti...
C++
third_party/skia/samplecode/SampleWarp.cpp
mxOBS/deb-pkg_trusty_chromium-browser
bsd-3-clause
13,587
474
codeparrot/github-code
3d1ab2cd724b1d6bed8e52d57c9cdab081ababb53a4167c8272d58f4b53a96f2
/* Reentrant version of rename system call. */ #include <reent.h> #include <stdio.h> #include <unistd.h> #include <sys/stat.h> #include <_syslist.h> /* Some targets provides their own versions of these functions. Those targets should define REENTRANT_SYSCALLS_PROVIDED in TARGET_CFLAGS. */ #ifdef _REENT_ONLY #i...
C
userland/newlib/newlib/libc/reent/renamer.c
GarethNelson/Zoidberg
gpl-2.0
1,511
75
codeparrot/github-code
562cb15432b28dbd5929634607cc8e282daabd76ae3393b89a40c4572579c559
module Vagrant module Action module Builtin module MixinProvisioners # This returns all the instances of the configured provisioners. # This is safe to call multiple times since it will cache the results. # # @return [Array<Provisioner, Hash>] def provisioner_instance...
Ruby
lib/vagrant/action/builtin/mixin_provisioners.rb
kamazee/vagrant
mit
1,708
54
codeparrot/github-code
e2dff174c308cd850aa728c49aa9c1fc3c8ce481b074bfe3345853b5ea8aeb27
<?php /** * @file * Contains \Drupal\user\UserListBuilder. */ namespace Drupal\user; use Drupal\Core\Datetime\DateFormatterInterface; use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Entity\EntityListBuilder; use Drupal\Core\Entity\EntityStorageInterface; use Drupal\Core\Entity\EntityTypeInterface; use Dru...
PHP
web/core/modules/user/src/UserListBuilder.php
nrackleff/capstone
gpl-2.0
5,259
181
codeparrot/github-code
ef2febdfeb7bd20fa8f05020e62fe899714aeeff7c31ea8cadebc524f2d255f7
#ifndef _SCSI_PRIV_H #define _SCSI_PRIV_H #include <linux/device.h> #include <linux/async.h> #include <scsi/scsi_device.h> struct request_queue; struct request; struct scsi_cmnd; struct scsi_device; struct scsi_target; struct scsi_host_template; struct Scsi_Host; struct scsi_nl_hdr; /* * Scsi Error Handler Flags ...
C
media/drivers/scsi/scsi_priv.h
iwinoto/v4l-media_build-devel
gpl-2.0
6,216
184
codeparrot/github-code
68cfe8f4039f28cba5cd8628b5fb95e2e4ba4e6f8073071abecea7f43804c7ac
/**! * AngularJS file upload/drop directive and service with progress and abort * FileAPI Flash shim for old browsers not supporting FormData * @author Danial <danial.farid@gmail.com> * @version 7.0.5 */ (function () { /** @namespace FileAPI.noContentTimeout */ function patchXHR(fnName, newFn) { window...
JavaScript
ajax/libs/danialfarid-angular-file-upload/7.0.5/ng-file-upload-shim.js
froala/cdnjs
mit
14,014
417
codeparrot/github-code
fec9fb255d3b07ebcd1c4f7cc81c4e0f1e64400e63de44a0ab429c70f26bfa7b
<?php /** * @package Joomla.Administrator * @subpackage com_newsfeeds * * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access. defined('_JEXEC') or die; jimport('joomla.ap...
PHP
www/administrator/components/com_newsfeeds/controllers/newsfeed.php
SirPiter/folk
gpl-2.0
2,705
114
codeparrot/github-code
363dcc575fe9e49c58b3362fc567b14f9fc629adeb4568d20e367c4093524ade
/* * This file is part of wlcore * * Copyright (C) 2011 Texas Instruments 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 as published by the Free Software Foundation. * * This program is distributed in the hope th...
C
uefi/linux-source-3.8.0/drivers/net/wireless/ti/wlcore/wlcore.h
SanDisk-Open-Source/SSD_Dashboard
gpl-2.0
14,458
547
codeparrot/github-code
a95cd2d5c6812ead06cb88f20cd7d72d08090fd704c387b38e07c1c87330c9b5
#ifndef ethernetclient_h #define ethernetclient_h #include "Arduino.h" #include "Print.h" #include "Client.h" #include "IPAddress.h" class EthernetClient : public Client { public: EthernetClient(); EthernetClient(uint8_t sock); uint8_t status(); virtual int connect(IPAddress ip, uint16_t port); virtual in...
C
zap-2.3.0-windows/papilio-zap-ide/hardware/arduino/sam/libraries/Ethernet/EthernetClient.h
chcbaram/FPGA
mit
800
38
codeparrot/github-code
823bab6d1faafaf9e3ac7cd383f31a4370f61ae976d1392249b8a8ece4185bbf
/** * 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...
Java
sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/CLIServiceUtils.java
bravo-zhang/spark
apache-2.0
2,392
77
codeparrot/github-code
0f233f476fe622236b9afd25fd84f69bef67826e96836aadbfd802757f27f28b
/*************************************************************************/ /*! @File @Title Debugging and miscellaneous functions server implementation @Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved @Description Kernel services functions for debugging and other ...
C
modules/rogue_km/services/server/devices/rgx/debugmisc_server.c
allwinner-zh/linux-3.4-sunxi
gpl-2.0
4,978
142
codeparrot/github-code
53108e7da34b23ddb459a88b65f068e2369f2e81d206a383292ad87270bc2177
<?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 ...
PHP
admin/tool/log/store/legacy/classes/privacy/provider.php
ak4t0sh/moodle
gpl-3.0
9,425
256
codeparrot/github-code
1ff4862f53837f5ab118f763483e68b8c45f296a9cd38d119178311642bc487c
<?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...
PHP
testauthorize/mod/workshop/form/comments/lib.php
sorted2323/msi
gpl-3.0
18,907
476
codeparrot/github-code
6dc24551ffe5893419dbf246875465175e0a820d2a3e124445495e78dd19503a
/* comedi/drivers/pcmuio.c Driver for Winsystems PC-104 based 48-channel and 96-channel DIO boards. COMEDI - Linux Control and Measurement Device Interface Copyright (C) 2006 Calin A. Culianu <calin@ajvar.org> This program is free software; you can redistribute it and/or modify it under the te...
C
linux/kernel/drivers/staging/comedi/drivers/pcmuio.c
BORETS24/Zenfone-2-500CL
gpl-2.0
28,799
973
codeparrot/github-code
91cc25392408640c1c4b4b1fe1117fdbc1317b8a3a2beb87347de136e22ff593
// Copyright (c) 2012 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 "ppapi/cpp/dev/video_capture_dev.h" #include "ppapi/c/dev/ppb_video_capture_dev.h" #include "ppapi/c/pp_errors.h" #include "ppapi/cpp/instan...
C++
ppapitest/sdk/ppapi/cpp/dev/video_capture_dev.cc
blackenough/mediaAdapter
gpl-3.0
3,132
110
codeparrot/github-code
2a7aecfd326d2bb53ecc1f2db604471bf64485c4ba041e49c98c704a39583efb
// SPDX-License-Identifier: GPL-2.0-or-later /* * HID driver for ELECOM devices: * - BM084 Bluetooth Mouse * - EX-G Trackballs (M-XT3DRBK, M-XT3URBK, M-XT4DRBK) * - DEFT Trackballs (M-DT1DRBK, M-DT1URBK, M-DT2DRBK, M-DT2URBK) * - HUGE Trackballs (M-HT1DRBK, M-HT1URBK) * * Copyright (c) 2010 Richard Nauber ...
C
drivers/hid/hid-elecom.c
GuillaumeSeren/linux
gpl-2.0
4,405
128
codeparrot/github-code
46d0c7ecd8506322e326a36ab6e49bec28ce0e922869b8274040f430b6211184
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICU...
C#
orientationsensor/cs/scenario1_dataevents.xaml.cs
williamsrz/Windows-universal-samples
mit
9,189
203
codeparrot/github-code
aa974fcd7abee5e928b8f3383767939dcdff83a663b7f451b4a685841d00efb9
<?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 ...
PHP
moodle/lib/classes/event/user_graded.php
rafaelperazzo/ufca-web
gpl-3.0
5,073
171
codeparrot/github-code
5affd258a24a69f3544325a4dcb14730c2329ac1470dbbd01dfff7c1d6163471
/* * Copyright (C) 2007 The Guava 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 agre...
Java
guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.java
seanli310/guava
apache-2.0
2,967
76
codeparrot/github-code
9496aaed52ee6bf37fc3288c41ff06ae32769d912c332eebf46426aad64a7f4e
/* * Elonics E4000 silicon tuner driver * * Copyright (C) 2012 Antti Palosaari <crope@iki.fi> * * 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, o...
C
uefi/linux-source-3.8.0/drivers/media/tuners/e4000.c
SanDisk-Open-Source/SSD_Dashboard
gpl-2.0
9,067
410
codeparrot/github-code
4985c123aa561d10367be621164c48bda869d3df5c0d5cfb04233d20088dc946
/* * Copyright (C) 2009 Apple Inc. All Rights Reserved. * Copyright (C) 2009, 2011 Google Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retai...
C
src/qt/qtwebkit/Source/WebCore/workers/WorkerScriptLoader.h
Observer-Wu/phantomjs
bsd-3-clause
3,938
109
codeparrot/github-code
c8bd81bd96c4dd596be8cf2779b326da0656308598d02a0b6fdb76d661e43262
/* * Copyright (c) 2008, 2009 open80211s Ltd. * Authors: Luis Carlos Cobo <luisca@cozybit.com> * Javier Cardona <javier@cozybit.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 * published by the Free Soft...
C
net/mac80211/mesh.c
gohai/linux-vc4
gpl-2.0
37,719
1,345
codeparrot/github-code
bc00333ebc9c4541c84c7e8fe41d036e1b258fd00bc12f9b10d41dd4c4f2979b
/* * Copyright (c) 2008-2009 Atheros Communications Inc. * Copyright (c) 2014 The Linux Foundation. All rights reserved. * * 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...
C
kernel/drivers/bluetooth/ath3k.c
shakalaca/ASUS_ZenFone_ZD551KL
gpl-2.0
18,750
680
codeparrot/github-code
20a8c89c732f20d7fc5cb84df0d080c710917219b50b35ad224ee296c4f22cb5
#ifndef QEMU_HID_H #define QEMU_HID_H #include "migration/vmstate.h" #include "ui/input.h" #define HID_MOUSE 1 #define HID_TABLET 2 #define HID_KEYBOARD 3 typedef struct HIDPointerEvent { int32_t xdx, ydy; /* relative iff it's a mouse, otherwise absolute */ int32_t dz, buttons_state; } HIDPointerEven...
C
third-party/qemu-orp/include/hw/input/hid.h
AnttiLukats/orp
apache-2.0
2,590
85
codeparrot/github-code
3892bf2e7df18762a9a7a7784de69ba073b9ded6d34e0b4fe909558d14ef7a3f
var argscheck = require('cordova/argscheck'), utils = require('cordova/utils'), exec = require('cordova/exec'), channel = require('cordova/channel'); var Keyboard = function() { }; Keyboard.hideKeyboardAccessoryBar = function(hide) { exec(null, null, "Keyboard", "hideKeyboardAccessoryBar", [hide]); ...
JavaScript
www/plugins/ionic-plugin-keyboard/www/android/keyboard.js
porschebest/NOW
mit
1,538
61
codeparrot/github-code
60276d87daf75fdee3bfe57694d5875af2b112cfac06d8cbc20da5355fdeaa51
/* $Id: sportster.c,v 1.16.2.4 2004/01/13 23:48:39 keil Exp $ * * low level stuff for USR Sportster internal TA * * Author Karsten Keil * Copyright by Karsten Keil <keil@isdn4linux.de> * * This software may be used and distributed according to the terms * of the GNU General Public License, incorpo...
C
virt/drivers/isdn/hisax/sportster.c
talnoah/android_kernel_htc_dlx
gpl-2.0
6,518
270
codeparrot/github-code
77403f4faf6c6e31dc257f80e19b0e53230f139cea39229fa6df45957e8b6c0d
/* * Userspace interface * Linux ethernet bridge * * Authors: * Lennert Buytenhek <buytenh@gnu.org> * * 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...
C
net/bridge/br_if.c
f-andrew-beal/whoi-3.2-kernel
gpl-2.0
9,380
456
codeparrot/github-code
b50123d06b6c26aac4a60961cbdaf4d12df031bf9876f16c02ae3bf8179bb420
/* * ahci.h - Common AHCI SATA definitions and declarations * * Maintained by: Tejun Heo <tj@kernel.org> * Please ALWAYS copy linux-ide@vger.kernel.org * on emails. * * Copyright 2004-2005 Red Hat, Inc. * * * This program is free software; you can redistribute it and/or modify * it under ...
C
oss/linux/linux-4.7/drivers/ata/ahci.h
geminy/aidear
gpl-3.0
16,841
450
codeparrot/github-code
6723d0cc4280637ad1a0057124a1dba19edea26ae5a38ae5d05b28e19d93f68f
<!DOCTYPE html> <html lang="en"> <head> <title>three.js canvas - point light</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <style> body { background-color: #000000; margin: 0px; overflow: hidden; } ...
HTML
three.js/examples/canvas_lights_pointlights.html
ryangibbs/tosser
mit
3,800
156
codeparrot/github-code
b62418637faf09d5ebbf27fb6f2be627b7f96dff3a29cab5ae685aef6c4e5f76
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...
C#
smssendandreceive/cs/smssendandreceive/sendtextmessage.xaml.cs
williamsrz/Windows-universal-samples
mit
4,900
129
codeparrot/github-code
e3f1c9f8f262887c95d68643ecf47837a04cae4db8db4bb94ea8e8ce5ad38cdc
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...
C#
folderenumeration/cs/sampleconfiguration.cs
amacadabra/Windows-universal-samples
mit
1,401
37
codeparrot/github-code
405cd8c55cb995e0ecd6c6bf0621f1702b940f10d5fcfb908266f6ffb119300d
/* $Id: hscx.c,v 1.24.2.4 2004/01/24 20:47:23 keil Exp $ * * HSCX specific routines * * Author Karsten Keil * Copyright by Karsten Keil <keil@isdn4linux.de> * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference. ...
C
virt/drivers/isdn/hisax/hscx.c
JijonHyuni/HyperKernel-JB
gpl-2.0
7,537
278
codeparrot/github-code
9ff010628133a74970d9e8aca12d06c12d5c54e165d8a606801d0d7b8dcee971
/* * Copyright (c) 2007 Dave Airlie <airlied@linux.ie> * Copyright (c) 2007 Intel Corporation * Jesse Barnes <jesse.barnes@intel.com> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Softwar...
C
src/drivers/gpu/drm/i915/intel_modes.c
felixhaedicke/nst-kernel
gpl-2.0
2,300
84
codeparrot/github-code
b7f48a49c9a84a0e966cd484351b4ba77fe395fb17a6c87be05dfd0c2d9c30f4
/* * Copyright (C) 2004,2005 ADDI-DATA GmbH for the source code of this module. * * ADDI-DATA GmbH * Dieselstrasse 3 * D-77833 Ottersweier * Tel: +19(0)7223/9493-0 * Fax: +49(0)7223/9493-92 * http://www.addi-data.com * info@addi-data.com * * This program is free software; you can redistribute it and/or modi...
C
virt/drivers/staging/comedi/drivers/addi-data/APCI1710_INCCPT.h
talnoah/android_kernel_htc_dlx
gpl-2.0
10,615
272
codeparrot/github-code
e53507dbe26a08e5b8dda72e35bcb2d5001aeba4a8efdd5670bc8867953b3092
#include "precompiled.h" // // Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Texture.cpp: Implements the gl::Texture class and its derived classes // Texture2D and TextureCubeMap. Imp...
C++
deps/3rdparty/angleproject/src/libGLESv2/Texture.cpp
Kalvar/WinObjC
mit
42,562
1,532
codeparrot/github-code
961ff59dfaf1181ce7539d1d819bb3ca073c1b59cba462df2bfbc08782b5e7c3
// SPDX-License-Identifier: GPL-2.0 /* * bitops.c: atomic operations which got too long to be inlined all over * the place. * * Copyright 1999 Philipp Rumpf (prumpf@tux.org) * Copyright 2000 Grant Grundler (grundler@cup.hp.com) */ #include <linux/kernel.h> #include <linux/spinlock.h> #include <linux/atomic...
C
arch/parisc/lib/bitops.c
rperier/linux-rockchip
gpl-2.0
2,033
94
codeparrot/github-code
6f8237134d2382291de776ba1c977fabcb6684f5dd0be383dfe9f7c37d3dcab2
/* Copyright (C) 2004 Free Software Foundation. Verify that built-in math function conversion to smaller FP types is correctly performed by the compiler. Written by Kaveh Ghazi, 2004-03-17. */ /* { dg-do link } */ /* { dg-options "-ffast-math" } */ /* { dg-add-options c99_runtime } */ #include "../builti...
C
uefi/gcc/gcc-4.6.3/gcc/testsuite/gcc.dg/torture/builtin-convert-1.c
SanDisk-Open-Source/SSD_Dashboard
gpl-2.0
6,198
150
codeparrot/github-code
19ca192df686a6a08a25b65341ff7683571a59fd6c6d1c7dd77605f761da93df
/*! Copyright (c) 2011 Piotr Rochala (http://rocha.la) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * Version: 1.0.0 * */ (function($) { jQuery.fn.extend({ slimScroll: function(options) { ...
JavaScript
ajax/libs/jQuery-slimScroll/1.0.1/jquery.slimscroll.js
bootcdn/cdnjs
mit
9,965
358
codeparrot/github-code
909f8de9a588de8fe8f227d43a87a5048642ddb387053737150719cbea907392
/* zutil.c -- target dependent utility functions for the compression library * Copyright (C) 1995-2005 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) $Id$ */ #include "zutil.h" #ifndef NO_DUMMY_DECL struct internal_state {int dummy;}; /* for bu...
C
zlib/zutil.c
mhauskn/HyperNEAT
bsd-3-clause
7,454
319
codeparrot/github-code
cd983d368079864196bc44b67749d301a83bd0e09a52af7fab272d13c5c1ec71
# (c) 2014, Brian Coca, Josh Drake, et al # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' cache: memory short_description: RAM ba...
Python
scripts/ansible-play/.venv/lib/python2.7/site-packages/ansible/plugins/cache/memory.py
e-gob/plataforma-kioscos-autoatencion
bsd-3-clause
1,272
54
codeparrot/github-code
e94510ab7db7de1b61ea1cbdd9ce3fb9fdbaaf4e212fd355792c44f6adb77c73
class Mapnik < Formula desc "Toolkit for developing mapping applications" homepage "http://www.mapnik.org/" head "https://github.com/mapnik/mapnik.git" url "https://s3.amazonaws.com/mapnik/dist/v3.0.5/mapnik-v3.0.5.tar.bz2" sha256 "d8f771d45b236d987aab44819a517f4c1ed6d7ff2c42c2e51160e37d28c89cc3" bottle do...
Ruby
Library/Formula/mapnik.rb
helloworld-zh/homebrew
bsd-2-clause
2,899
87
codeparrot/github-code
037f28bdf966cbdc440521add0f926b8c63dc7c0765c3260ce530aafd9027831
/* * Copyright (C) 2010 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...
Java
src/main/java/com/replica/replicaisland/TiledWorld.java
grafiszti/ReplicaIsland
apache-2.0
4,430
135
codeparrot/github-code
c872088e776c86277eee0e2afcf207e3a16f640683a9e2828d7a651d03717092
/* * Renesas R-Car DVC support * * Copyright (C) 2014 Renesas Solutions Corp. * Kuninori Morimoto <kuninori.morimoto.gx@renesas.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 * published by the Free Software Found...
C
virt/sound/soc/sh/rcar/dvc.c
mericon/Xp_Kernel_LGH850
gpl-2.0
8,064
357
codeparrot/github-code
6589d41f2bb1a6315c18b9cb4edcc4564466aa8b916e3f27de9ca06500e2ed6c
//>>built define("dojox/lang/functional/curry",["dijit","dojo","dojox","dojo/require!dojox/lang/functional/lambda"],function(_1,_2,_3){ _2.provide("dojox.lang.functional.curry"); _2.require("dojox.lang.functional.lambda"); (function(){ var df=_3.lang.functional,ap=Array.prototype; var _4=function(_5){ return function()...
JavaScript
wso2am-1.7.0/repository/deployment/server/jaggeryapps/store/site/themes/fancy/templates/utils/dojo-release-1.8.3/dojox/lang/functional/curry.js
studentsphere/ApiProxy
apache-2.0
1,279
58
codeparrot/github-code
f1593db34c5f6c8d68df3d7bce0126b0af6b280b9704a58824a3a1ac4065f857
/* * Copyright (C) 2013 Team XBMC * http://xbmc.org * * 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, or (at your option) * any later version. * * This ...
C++
xbmc/utils/LegacyPathTranslation.cpp
christiantroy/xbmc
gpl-2.0
4,582
117
codeparrot/github-code
c37af3f118498da2926f181dc32bd7682d925aa983d1649c1e5d357d51df7026
/** * Test the side menu directive. For more test coverage of the side menu, * see the core Ionic sideMenu controller tests. */ describe('Ionic Angular Slide Box', function() { var el, compile, rootScope, timeout; beforeEach(module('ionic')); beforeEach(inject(function($compile, $rootScope, $timeout) { t...
JavaScript
test/unit/angular/directive/slideBox.unit.js
brant-hwang/ionic
mit
3,724
111
codeparrot/github-code
80045fae03de5c3538b324f674c432062a5be45f38fd4ec24d0f1fd26ec25473
/* * The SH64 TLB miss. * * Original code from fault.c * Copyright (C) 2000, 2001 Paolo Alberelli * * Fast PTE->TLB refill path * Copyright (C) 2003 Richard.Curnow@superh.com * * IMPORTANT NOTES : * The do_fast_page_fault function is called from a context in entry.S * where very few registers have been save...
C
linux/arch/sh/mm/tlbex_64.c
mkvdv/au-linux-kernel-autumn-2017
gpl-3.0
4,839
167
codeparrot/github-code
dbbbd6f58c8466e16c30da96a9bd405ff9f5f1c6a7712f1e4370efc60fdac0a0
/* cairo - a vector graphics library with display and print output * * Copyright © 2002 University of Southern California * Copyright © 2005 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it either under the terms of the GNU Lesser General Public * License version 2.1 as...
C
src/platform/win32/Graphics/cairo/src/cairo-gstate.c
tartakynov/enso
bsd-3-clause
65,127
2,310
codeparrot/github-code
4c0f5d31083cde12288d0e0f6d5d576bc072fdf945d6dedcac0839bd7b456902
/* * ALSA SoC Texas Instruments TPA6130A2 headset stereo amplifier driver * * Copyright (C) Nokia Corporation * * Author: Peter Ujfalusi <peter.ujfalusi@ti.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 publish...
C
sound/soc/codecs/tpa6130a2.c
amitsirius/linux-3.2.71_sirius
gpl-2.0
11,856
509
codeparrot/github-code
c26f08bff877c9bb3bb4e46a3766d205c23f4ec0efa76b5683db967da28fbc63
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
src/main/java/org/elasticsearch/index/analysis/StandardTokenizerFactory.java
dantuffery/elasticsearch
apache-2.0
2,256
58
codeparrot/github-code
d5d6d3660084eb754980927173cc8d6200970f15d529ca67f3db79bb5cf3f505
/* * Copyright (c) 2008, 2009 open80211s Ltd. * Author: Luis Carlos Cobo <luisca@cozybit.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 * published by the Free Software Foundation. */ #include <linux/gfp.h> #in...
C
virt/net/mac80211/mesh_plink.c
AiJiaZone/linux-4.0
gpl-2.0
31,502
1,178
codeparrot/github-code
0e60db00c92778a710a3dfd1fc7f3a0a173da708decaa5ce27730250f5f2a26c
/* ****************************************************************************** * Copyright (C) 1997-2010, International Business Machines * Corporation and others. All Rights Reserved. ****************************************************************************** * Date Name Description * 03/2...
C
uefi/userspace/icu-4.8.1.1/source/common/hash.h
SanDisk-Open-Source/SSD_Dashboard
gpl-2.0
5,937
208
codeparrot/github-code
6ba45f25cf17809b060337d8af141b3756aaacf834467bb7319f564dc8dfd27d
<!DOCTYPE html> <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]--> <head> <!-- Basic...
HTML
www/lib/font-awesome/src/3.2.1/icon/retweet/index.html
vinnylinck/listagram
mit
10,069
209
codeparrot/github-code
1396dd057215570ac0b88ebfdf94e444a4ec81efc61f3b223a62aad16253a11f
/* Copyright (c) 2012, The Linux Foundation. All rights reserved. * * 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 program is distributed in the hope...
C
virt/include/linux/coresight.h
AiJiaZone/linux-4.0
gpl-2.0
8,906
273
codeparrot/github-code
ca5eadaaff20e3f77b934cbd235f7b2053f083d97f71469b9f9847cc2d457827
/** * 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...
Java
components/camel-test-spring40/src/test/java/org/apache/camel/test/spring/CamelSpringJUnit4ClassRunnerProvidesBreakpointTest.java
davidwilliams1978/camel
apache-2.0
2,490
68
codeparrot/github-code
0e2dbdbc354c824c4ab8c4cc132108e6d3c29f4bea9d23dc1f52aff9ff10005f
<!DOCTYPE html> <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]--> <head> <!-- Basic...
HTML
www/lib/font-awesome/src/3.2.1/icon/linux/index.html
vinnylinck/TodoSyncPoc
mit
10,033
209
codeparrot/github-code
a0ca1d23fbeda503c0fa32a1b3a1a341eae296cc8cd517e1250c5cdfcb7d0efe
/* * Copyright 1999-2012 Alibaba Group. * * 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 ...
Java
项目源码/dubbo/dubbo-rpc/dubbo-rpc-api/src/test/java/com/alibaba/dubbo/rpc/filter/TpsLimitFilterTest.java
zhushuchen/Ocean
agpl-3.0
2,455
69
codeparrot/github-code
a1115d327982bfebcd7b79449e0da6cc3cd91baa1e7ce17fc9f2912bbfc59fb2
/** * 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...
Java
tseenliu/FedHDFS-hadoop-src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/SortedRanges.java
tseen/Federated-HDFS
apache-2.0
10,894
385
codeparrot/github-code