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
88f3e6b98f0023f37c6e607c151cf0827541b6848e962065955235332954fde9
/** * 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
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestGetBlocks.java
vlajos/hadoop
apache-2.0
11,426
289
codeparrot/github-code
fc32064c97ed79663be15ab618176c1ddaa923616ec82c01c18e74c38aa2164a
/* * Copyright 2000-2011 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...
Java
platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/projectRoot/daemon/PlaceInProjectStructureBase.java
ernestp/consulo
apache-2.0
1,658
55
codeparrot/github-code
4ea8885a0b74286fb5796e51fd7e1bb6abc66008047e258d441b65becdfb67ff
/* * O(1) TX queue with built-in allocator for ST-Ericsson CW1200 drivers * * Copyright (c) 2010, ST-Ericsson * Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no> * * 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 * p...
C
drivers/net/wireless/st/cw1200/queue.c
val2k/linux
gpl-2.0
14,868
582
codeparrot/github-code
53e09c14f791dea76d83e21c9d85fd66272280cca998b0d87bd3f0226831dcee
/* * wm8988.c -- WM8988 ALSA SoC audio driver * * Copyright 2009 Wolfson Microelectronics plc * Copyright 2005 Openedhand Ltd. * * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Lic...
C
sound/soc/codecs/wm8988.c
tusharbehera/linux
gpl-2.0
26,868
992
codeparrot/github-code
7e0609309653754a15442597c47a66c73d66409b2feeee03c5b8fbce308afe84
/* * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. * Copyright (c) 2013 Red Hat, Inc. * 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. * * This program is ...
C
media/fs/xfs/xfs_dir2_data.c
iwinoto/v4l-media_build-devel
gpl-2.0
31,088
1,054
codeparrot/github-code
4c88028cead078d48ebeb86f3918893c2961bab782070ab45d9411162af6682f
<?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 wil...
PHP
wiki/includes/site/SitesCacheFileBuilder.php
owen-kellie-smith/mediawiki
mit
2,537
114
codeparrot/github-code
0dd25acfe709c93997147d0415287eaf74dadd76d22d9dc97284c9cf61e411ea
/** * 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-ironmq/src/test/java/org/apache/camel/component/ironmq/IronMQPreserveHeadersTest.java
nikvaessen/camel
apache-2.0
2,656
68
codeparrot/github-code
9cb6cee2c6a612fe82304301b56fa91098e287c60078d672b2b7963526a03ed7
/* $Id: signal.c,v 1.110 2002/02/08 03:57:14 davem Exp $ * linux/arch/sparc/kernel/signal.c * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx) * Copyright (C) 1997 Eddie C. Dost (ecd@skyne...
C
release/src-rt/linux/linux-2.6/arch/sparc/kernel/signal.c
ghmajx/asuswrt-merlin
gpl-2.0
32,162
1,124
codeparrot/github-code
608d985e9122bb00f108fdc5b01126de35259c36386d9edaf0606f45a2a23983
<?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\Validator\Constraints; use Symfony\Component\Validato...
PHP
src/Symfony/Component/Validator/Constraints/TypeValidator.php
rquadling/symfony
mit
2,080
67
codeparrot/github-code
ce8cc364efb0c096ff2775becadaa65e0246e2744ad1594b2be88cac341dd9bf
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * * 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...
C
windows/ns-3-dev/headers/ns3/ipv4-end-point-demux.h
piran9/Project
gpl-2.0
2,809
88
codeparrot/github-code
8269c155bbf5aafcb7f55543ae3ee8a007a3d00e2ed6ef4511034e154809d3f2
/* * jquery.inputmask.numeric.extensions.js * http://github.com/RobinHerbots/jquery.inputmask * Copyright (c) 2010 - 2014 Robin Herbots * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) * Version: 3.1.26 */ (function (factory) {if (typeof define === 'function' && define.amd) {...
JavaScript
ajax/libs/jquery.inputmask/3.1.26/inputmask/jquery.inputmask.numeric.extensions.js
froala/cdnjs
mit
16,256
301
codeparrot/github-code
7d6877892ca653fafdc0f86c68c93d4853d06a7defc7b37125f6008a6ed11e73
// Copyright (c) 2010 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. // See net/disk_cache/disk_cache.h for the public interface. #ifndef NET_DISK_CACHE_STORAGE_BLOCK_H__ #define NET_DISK_CACHE_STORAGE_BLOCK_H__ #pragm...
C
net/disk_cache/storage_block.h
opensourcechipspark/platform_external_chromium
bsd-3-clause
2,830
93
codeparrot/github-code
cb9f5bcc150c830b6444f39de7b7400cd4112bb7857793f3f6f6d863d1ce3786
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package asn1 import ( "bytes" "errors" "fmt" "io" "math/big" "reflect" "time" "unicode/utf8" ) // A forkableWriter is an in-memory buffer that can be ...
GO
src/encoding/asn1/marshal.go
Badredapple/go
bsd-3-clause
13,916
656
codeparrot/github-code
6fe1849126ea367ace62c8cf6570c4a8296bf82f482a2c2e742223b2f35dff59
/* * tps65910.c -- TI TPS6591x * * Copyright 2010 Texas Instruments Inc. * * Author: Jorge Eduardo Candelaria <jedu@slimlogic.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 Foundat...
C
virt/drivers/mfd/tps65911-comparator.c
talnoah/android_kernel_htc_dlx
gpl-2.0
4,637
191
codeparrot/github-code
42758aea38b798547a497c7d6298c2d817359e8385a90b903d523fd0d1edfa29
///////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2013-2013 // // Distributed under 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...
C++
third-party/src/boost_1_56_0/boost/intrusive/bs_set.hpp
rkq/cxxexp
mit
39,806
945
codeparrot/github-code
05327f75f903a95988f80ec4ca441f9555efd9a2ca51df7246ce02c35185c86c
import "../arrays/merge"; import "../core/rebind"; import "layout"; d3.layout.hierarchy = function() { var sort = d3_layout_hierarchySort, children = d3_layout_hierarchyChildren, value = d3_layout_hierarchyValue; // Recursively compute the node depth and value. // Also converts to a standard hierarc...
JavaScript
web/ui/static/thirdparty/d3-3.3.6/src/layout/hierarchy.js
spindance/serviced-precomp
apache-2.0
2,793
117
codeparrot/github-code
30be3074bb81e9a9a4cc506eb60dbf8080cb8dbbc340caf1d1f5b938e1b336c2
// Copyright (c) Microsoft Corporation // 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 // // THIS CODE IS PROVIDED *...
C#
src/ServiceManagement/HDInsight/Microsoft.Hadoop.Avro/Schema/EvolutionSchemaBuilder.cs
msfcolombo/azure-sdk-for-net
apache-2.0
19,291
459
codeparrot/github-code
87e7a6727f4233bfc2c8672908521e61f8f8fc6a814bf59c73770f95d57c03cb
/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENS...
C
thirdparty/libvorbis/modes/setup_16.h
honix/godot
mit
3,275
153
codeparrot/github-code
9383f22abbb3cb317dde5de849d73faba2a39cda8bb27e267c634b541455284e
/* * pervasive backend for the cbe_cpufreq driver * * This driver makes use of the pervasive unit to * engage the desired frequency. * * (C) Copyright IBM Deutschland Entwicklung GmbH 2005-2007 * * Author: Christian Krafft <krafft@de.ibm.com> * * This program is free software; you can redistribute it and/or m...
C
go12/linux-2.6.28.10/arch/powerpc/platforms/cell/cbe_cpufreq_pervasive.c
kzlin129/tt-gpl
gpl-2.0
2,914
116
codeparrot/github-code
445e2b4bb2d2c81afb49f01ec7a83d8b5b6660568baeb19507e3c9a1b74f95b4
/* * Copyright (c) 2005, 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 Softwa...
Java
testing/openjdk2/langtools/test/tools/javac/processing/model/type/TestTypeKind.java
rokn/Count_Words_2015
mit
2,478
67
codeparrot/github-code
4142891af3b3ec66225d1f0721372656cb20df075f220b423de7a96818fd6795
// Copyright David Abrahams 2002. // Distributed under 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) #ifndef ARG_FROM_PYTHON_DWA2002128_HPP # define ARG_FROM_PYTHON_DWA2002128_HPP # include <boost/python/detail/prefix.hpp> ...
C++
windows/include/boost/python/arg_from_python.hpp
jaredhoberock/gotham
apache-2.0
2,070
77
codeparrot/github-code
30ed92586de4b7a92a05feeffd8614af63f199af6dd2027bb58e25b228b60756
/* Copyright 2014 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 ...
Java
src/test/java/com/google/security/zynamics/binnavi/Database/PostgreSQL/Notifications/parsers/PostgreSQLViewNotificationParserTest.java
guiquanz/binnavi
apache-2.0
17,823
422
codeparrot/github-code
cae3a6cf5a4bbc84ff4838ec05a1363f42de0a6936ece02cec3e9886267c8aa9
// SPDX-License-Identifier: GPL-2.0 /****************************************************************************** * * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. * ******************************************************************************/ #define _USB_OPS_LINUX_C_ #include <drv_types....
C
drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
GuillaumeSeren/linux
gpl-2.0
22,467
815
codeparrot/github-code
df822819a2b4cd29537c83be8b189c62fb7216db6fe191e64941c8b42df33ee2
// SPDX-License-Identifier: GPL-2.0 // // Copyright (C) 2016 Freescale Semiconductor, Inc. // Copyright 2017-2018 NXP. #include <linux/err.h> #include <linux/init.h> #include <linux/io.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_device.h> #include <linux/pinctrl/pinctrl.h> #include "pinctrl-...
C
drivers/pinctrl/freescale/pinctrl-imx6sll.c
rperier/linux
gpl-2.0
11,887
359
codeparrot/github-code
362fd74521db6c5db3ec677e26a952d7fda506d1bd45b65b3f3c8a2a7217b75a
<?php class WP_SendGrid_Settings { // Unique identifier for the settings page const SETTINGS_PAGE_SLUG = 'wp-sendgrid-settings'; const SETTINGS_SECTION_ID = 'wp-sendgrid-account-settings'; // Where WP SendGrid settings are stored const SETTINGS_OPTION_NAME = 'wp_sendgrid_options'; const SETTINGS_NETW...
PHP
wp-content/plugins/wp-sendgrid/includes/sendgrid-settings.php
nuno/wordpress-heroku
mit
11,373
257
codeparrot/github-code
5d9c74ea5da250184f3b29cf15bd8ef3e7133e8ff0a2febc4c9ce0b0f1759ca5
// SPDX-License-Identifier: GPL-2.0-only /* * Intel MIC Platform Software Stack (MPSS) * * Copyright(c) 2013 Intel Corporation. * * Disclaimer: The codes contained in these modules may be specific to * the Intel Software Development Platform codenamed: Knights Ferry, and * the Intel product codenamed: Knights Co...
C
linux-5.8/drivers/misc/mic/card/mic_debugfs.c
CSE3320/kernel-code
gpl-2.0
1,944
86
codeparrot/github-code
3f1912ff6be68d9081406dedfb344e2c3bcb59354af4c3da58e0103ab55f7161
/** @module ember @submodule ember-htmlbars */ import Ember from 'ember-metal/core'; import EmberStringUtils from 'ember-runtime/system/string'; import { SafeString, escapeExpression } from 'htmlbars-util'; /** Mark a string as safe for unescaped output with Ember templates. If you return HTML from a helper, use ...
JavaScript
packages/ember-htmlbars/lib/utils/string.js
udhayam/ember.js
mit
1,043
48
codeparrot/github-code
fc96dffc66f7f1fb92f25f29f99de7aad204ed1cd72196ed8f4aa67342a3e315
/* * Copyright (c) 2001 Vojtech Pavlik * * CATC EL1210A NetMate USB Ethernet driver * * Sponsored by SuSE * * Based on the work of * Donald Becker * * Old chipset support added by Simon Evans <spse@secret.org.uk> 2002 * - adds support for Belkin F5U011 */ /* * This program is free software; you ...
C
drivers/net/usb/catc.c
hannes/linux
gpl-2.0
24,487
980
codeparrot/github-code
9043b549e227449a0bc41f5a0c16133ca1936c9ffe3dff57008651b3111c8099
/* * Format of an instruction in memory. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1996, 2000 by Ralf Baechle * Copyright (C) 2006 by Thiemo Seufer * Copyright (C)...
C
source/kernel/arch/mips/include/uapi/asm/inst.h
mikedlowis-prototypes/albase
bsd-2-clause
25,186
972
codeparrot/github-code
7039a96e9d399f7a17f7189b1055dedee09d258609921107f318e75657340150
// Distributed under 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) // (C) Copyright 2007-8 Anthony Williams // (C) Copyright 2011-2012 Vicente J. Botet Escriba #ifndef BOOST_THREAD_MOVE_HPP #define BOOST_THREAD_MOVE_HPP #include ...
C++
third_party/boost/boost/thread/detail/move.hpp
jonesgithub/fossilizid
gpl-2.0
8,709
315
codeparrot/github-code
074812f5c0463ef83642c0a38f677fa454877dd572877f9b482d9c3dc26c8800
// Copyright Neil Groves 2009. 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/ // #ifndef BOOST_RANGE...
C++
win32/library3rd/boost_1_47/boost/range/algorithm/remove.hpp
beiko-lab/gengis
gpl-3.0
2,418
75
codeparrot/github-code
cbcda068f18622b5774e57b9a8f02392cde3900ecb264785a8def9cb7ffb65f3
import decimal try: import thread except ImportError: import dummy_thread as thread from threading import local from django.conf import settings from django.db import DEFAULT_DB_ALIAS from django.db.backends import util from django.db.transaction import TransactionManagementError from django.utils import datet...
Python
django/db/backends/__init__.py
liqi328/rjrepaircompany
bsd-3-clause
31,617
901
codeparrot/github-code
e81d10f6af15029978930e5d4787485dd6d7136258b1e0a4265d37007b07f59b
// -*- C++ -*- // Copyright (C) 2005-2015 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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...
C++
win32/mingw/i686-w64-mingw32/include/c++/ext/pb_ds/detail/left_child_next_sibling_heap_/info_fn_imps.hpp
sdlBasic/sdlbrt
lgpl-2.1
2,106
65
codeparrot/github-code
3d43031195d60e0f9cc220804ad652cfc3ca7a02ebb12aa54d82dd090ace70f7
/* * Copyright (c) 2011-2012, Code Aurora Forum. 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...
C
include/linux/mfd/pm8xxx/pm8xxx-adc.h
poondog/kangaroo-m7-mkII
gpl-2.0
9,028
324
codeparrot/github-code
bf12cdd93802e40dc7ee6323de4bc4184701b97e0441077d86286a05ef12b132
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
JavaScript
ajax/libs/keen-js/3.2.0/keen-tracker.js
extend1994/cdnjs
mit
66,915
2,285
codeparrot/github-code
155c812d9aac15c42fe4a38538190024fa700609cee1e6e7a737fe1b8ac0cdd3
// Copyright (c) 2011 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. #ifndef CHROME_FRAME_TEST_WIN_EVENT_RECEIVER_H_ #define CHROME_FRAME_TEST_WIN_EVENT_RECEIVER_H_ #include <windows.h> #include <string> #include <vec...
C
src/chrome_frame/test/win_event_receiver.h
plxaye/chromium
apache-2.0
5,231
147
codeparrot/github-code
cdc63555d9061a42c4d63fcdc9f054e62f66fcc90a82e91721a96e04e36de390
/* * * Copyright 2012 Adobe Systems 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 in ...
CSS
ajax/libs/onsen/1.0.3/css/topcoat-mobile-onsen-purple.css
viskin/cdnjs
mit
61,137
2,473
codeparrot/github-code
b54d38bea52d74ad763df9d72db3a90f4af9dc4c9fd2d53e9f344685a5a72b0f
@echo off REM REM Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. REM REM This code is free software; you can redistribute it and/or modify it REM under the terms of the GNU General Public License version 2 only, as REM publi...
Batchfile
src/hotspot/agent/make/start-debug-server-windbg.bat
ohpauleez/soymacchiato
gpl-2.0
1,567
40
codeparrot/github-code
43b076e5cb7127ab972dfb34f4c1dd122f5fc527140a515033a115f036013116
///////////////////////////////////////////////////////////////////////////// // Name: src/osx/artmac.cpp // Purpose: wxArtProvider instance with native Mac stock icons // Author: Alan Shouls // Created: 2006-10-30 // Copyright: (c) wxWindows team // Licence: wxWindows licence ////////////////...
C++
software/scsi2sd-util/wxWidgets/src/osx/artmac.cpp
vivier/SCSI2SD
gpl-3.0
4,957
144
codeparrot/github-code
668ed578b2b8e3ecdd723a002495fbdc592808df22751319712746c90a712349
/* * max7359_keypad.c - MAX7359 Key Switch Controller Driver * * Copyright (C) 2009 Samsung Electronics * Kim Kyuwon <q1.kim@samsung.com> * * Based on pxa27x_keypad.c * * 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
virt/drivers/input/keyboard/max7359_keypad.c
mericon/Xp_Kernel_LGH850
gpl-2.0
7,946
312
codeparrot/github-code
08c866d0a44153303c18a0d791138503c93a5d4cfabe52661fb08acdcc069371
/* crypto/evp/evp.h */ /* 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 non-comm...
C
vendors/openssl/include/openssl/evp.h
doo/PubNub4Qt
mit
52,775
1,410
codeparrot/github-code
120680b47c59d1b3ab497b745136e270dabb5cd8b926a705111507d174472e55
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <link rel='stylesheet' type='text/css' href='cupertino/theme.css' /> <link rel='stylesheet' type='text/css' href='../fullcalendar/fullcalendar.css' /> <link rel='stylesheet' type='text/css' href='...
HTML
web/lib/lib/fullcalendar-1.5.3/demos/theme.html
Laolingtong/VM
gpl-3.0
2,213
98
codeparrot/github-code
d2267bd080d6cd08c535b7435dc734f59867043a497a5bbbc136b69502f9330e
/* * Copyright (c) 1999-2001 Vojtech Pavlik * * USB HIDBP Keyboard support */ /* * 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)...
C
virt/drivers/hid/usbhid/usbkbd.c
talnoah/android_kernel_htc_dlx
gpl-2.0
11,776
412
codeparrot/github-code
9953fab5587a391a5ecdf8e0bf6650ecefacf78683c11697f1ec3018f5da65e2
/* * Copyright (c) 1998, 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 Softwa...
Java
testing/openjdk2/jdk/src/share/classes/sun/awt/geom/Order0.java
rokn/Count_Words_2015
mit
3,227
143
codeparrot/github-code
cb8704d30b6200ff24f06006d6fa9ecfed6d5e97c27372632d3e32812650529d
/* * Copyright (c) 2011 The WebRTC 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 contribut...
C
webrtc/system_wrappers/interface/data_log_c.h
liyouchang/webrtc-qt
gpl-3.0
3,854
86
codeparrot/github-code
ed46006e79b28fa2df503535210cc1537b7838c6314a10cb06d07d0776bc9733
<br> <hr> <a name="tmva"></a> <h3>TMVA</h3> TMVA version 4.1.0 is included in this root release. The most important new feature is the support for simulataneous classification of multiple output classes for several multi-variate methods. A lot of effort went into consolidation of the ...
HTML
tmva/doc/v528/index.html
smuzaffar/root
lgpl-2.1
4,453
113
codeparrot/github-code
0a2491de5db98c79f0863e19c70f50a7b200f382867fcf2a321e3f90959bee71
/* * jQuery UI Effects Pulsate 1.7.2 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/Pulsate * * Depends: * effects.core.js */ (function($) { $.effects.pulsate = functio...
JavaScript
web_pages/development-bundle/ui/effects.pulsate.js
glenn-edgar/lua_frame_work
mit
1,505
57
codeparrot/github-code
0cb0f9a3a8fdc89d12c5e5a7cfccf34af638a287cf3003e7b53f16ac7d1e25b4
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtNetwork module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Lice...
C
src/qt/qtbase/src/network/socket/qtcpserver.h
delighted/phantomjs
bsd-3-clause
3,177
102
codeparrot/github-code
770b4f11c0f59c0ca1d4f64ae7f5ac43ad105623999698d836be76187e6df19c
/* * A hwmon driver for the Analog Devices ADT7470 * Copyright (C) 2007 IBM * * Author: Darrick J. Wong <darrick.wong@oracle.com> * * 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...
C
linux/drivers/hwmon/adt7470.c
dperezde/little-penguin
gpl-2.0
43,819
1,397
codeparrot/github-code
0b8875d6e4de7bfb332731e452a689971486e1296bc9a0a0ee002ef1c685c94c
/* Copyright (c) 2008, 2010, Oracle and/or its affiliates. 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; version 2 of the License. This program is distributed i...
C++
storage/ndb/src/mgmsrv/testConfig.cpp
tplavcic/percona-xtrabackup
gpl-2.0
11,780
485
codeparrot/github-code
83966696d14fc5560c2c7bd1998d689dc22f14d14cac0e2950eed5133ca2e202
/** * Akeeba Strapper * A handy distribution of namespaced jQuery, jQuery UI and Twitter * Bootstrapper for use with Akeeba components. * * This file includes only Joomla! 3.2-specific style overrides */ /* * Bootstrap (namespaced) */ div.akeeba-bootstrap { /** * If your template already includes Bootstrap ...
CSS
www/media/akeeba_strapper/less/bootstrap.j32.css
SirPiter/folk
gpl-2.0
15,700
619
codeparrot/github-code
3d96ec75c18cd53a5e5f184d412946d2a5ee0a3f43fbe8af18bc6ddf0a93fb6e
/* * Kernel-based Virtual Machine -- Performance Monitoring Unit support * * Copyright 2011 Red Hat, Inc. and/or its affiliates. * * Authors: * Avi Kivity <avi@redhat.com> * Gleb Natapov <gleb@redhat.com> * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the...
C
linux-eudyptula/arch/x86/kvm/pmu.c
dperezde/little-penguin
gpl-2.0
14,708
573
codeparrot/github-code
b01ae046efb6048166ac815d1807300ab7366c114b599a74ebdf4b953329fac7
<?php /** * WooCommerce API Orders Class * * Handles requests to the /orders endpoint * * @author WooThemes * @category API * @package WooCommerce/API * @since 2.1 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class WC_API_Orders extends WC_API_Resource { /** @v...
PHP
wp-content/plugins/woocommerce/includes/api/v2/class-wc-api-orders.php
JDarkGreen/wpmaletek
gpl-2.0
59,669
1,844
codeparrot/github-code
5504fe13fa881b2149c339af94bbeee221f505cdcaa7eaaa8962a53af8f76916
/* * twl-common.c * * Copyright (C) 2011 Texas Instruments, Inc.. * 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 published by the Free Software Foundation. * * This ...
C
uefi/linux-source-3.8.0/arch/arm/mach-omap2/twl-common.c
SanDisk-Open-Source/SSD_Dashboard
gpl-2.0
15,995
553
codeparrot/github-code
8d836662aef16dbcb3777cdd48e73be94a30bd3218c962f1359b7509b75046d3
/* Key type used to cache DNS lookups made by the kernel * * See Documentation/networking/dns_resolver.txt * * Copyright (c) 2007 Igor Mammedov * Author(s): Igor Mammedov (niallain@gmail.com) * Steve French (sfrench@us.ibm.com) * Wang Lei (wang840925@gmail.com) * David Howells (dh...
C
net/dns_resolver/dns_key.c
linux-wpan/linux-wpan
gpl-2.0
7,938
310
codeparrot/github-code
a8fe5d96d95d9d0423de21724e687df9128477a2193d0f27a698a820e42e2699
var config = require('../config'), _ = require('underscore'), path = require('path'), when = require('when'), api = require('../api'), mailer = require('../mail'), errors = require('../errorHandling'), storage = require('../s...
JavaScript
core/server/controllers/admin.js
joeljacobson/ghost
mit
12,937
348
codeparrot/github-code
4cf4c0b08e6e664cdcc1e9908af6eadbd1689dcf9f2e2b66988551369fc1df9c
describe("Ext.dom.Element_scroll", function() { var el; afterEach(function(){ Ext.destroy(el); el = null; }); function expectLeft(left) { expect(el.dom.scrollLeft).toBe(left); } function expectTop(top) { expect(el.dom.scrollTop).toBe(to...
JavaScript
zenws/src/main/webapp/ext/packages/sencha-core/test/specs/dom/Element_scroll.js
applifireAlgo/ZenClubApp
gpl-3.0
5,088
169
codeparrot/github-code
47000e1d95c2072c65300315d5606392a99dc6a3f0195b761d75430a5e57581e
/* * linux/fs/ext2/balloc.c * * Copyright (C) 1992, 1993, 1994, 1995 * Remy Card (card@masi.ibp.fr) * Laboratoire MASI - Institut Blaise Pascal * Universite Pierre et Marie Curie (Paris VI) * * Enhanced block allocation by Stephen Tweedie (sct@redhat.com), 1993 * Big-endian to little-endian byte-swapping/bi...
C
linux/fs/ext2/balloc.c
mkvdv/au-linux-kernel-autumn-2017
gpl-3.0
46,100
1,559
codeparrot/github-code
19bcbe49a7dd8f2fe841cc70185a354ad5aa5028b89542d60bff42d8dc60b8e9
#!/bin/sh # # $Id: topinfo_iorsize_stats.sh 91813 2010-09-17 07:52:52Z johnnyw $ # if [ $# -lt 4 ]; then echo "Usage: $0 [ROOT] [DEST] [USER] [OPTIMIZED]" exit 0 fi ROOT=$1 DEST=$2 US=$3 OPT=$4 DATE=`date +%Y/%m/%d-%H:%M` cd $ROOT ACE_ROOT=$ROOT export ACE_ROOT LD_LIBRARY_PATH=$ACE_ROOT/ace export LD_LIBRARY_PAT...
Shell
dep/ACE_wrappers/bin/topinfo_iorsize_stats.sh
yad/easy-mangos
gpl-2.0
1,988
79
codeparrot/github-code
fc6d26d3ea1125bbf6a6840bd04223f04447814887b83369aafe64de7fa09b50
#include <linux/smp.h> #include <linux/timex.h> #include <linux/string.h> #include <linux/seq_file.h> #include <linux/cpufreq.h> /* * Get CPU information for use by the procfs. */ static void show_cpuinfo_core(struct seq_file *m, struct cpuinfo_x86 *c, unsigned int cpu) { #ifdef CONFIG_SMP if (c->x86_max_c...
C
virt/arch/x86/kernel/cpu/proc.c
talnoah/android_kernel_htc_dlx
gpl-2.0
4,259
168
codeparrot/github-code
7b08b3f5e0c47b8cff5ea59ccd8ac280f43a2a5aff0dea8e5d61ce18da9f591c
/* * linux/drivers/video/backlight/pwm_bl.c * * simple PWM based backlight control, board code has to setup * 1) pin configuration so PWM waveforms can output * 2) platform_data being correctly configured * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Ge...
C
oss/linux/linux-4.7/drivers/video/backlight/pwm_bl.c
geminy/aidear
gpl-3.0
10,720
438
codeparrot/github-code
4618563197fd77906893e0a4a5bcca10a74e45f45a7353eb4e2642bd1ba1c850
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Dan Broyles * * 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 distr...
C++
tools/ns-allinone-3.14.1/ns-3.14.1/src/mobility/model/box.cc
JBonsink/GSOC-2013
gpl-3.0
4,333
172
codeparrot/github-code
05a5eb6525dd709681f284883c24c4d44d5a7831c6add0ea0f367d96317a9874
/******************************************************************************* PTP 1588 clock using the STMMAC. Copyright (C) 2013 Vayavya Labs Pvt Ltd This program is free software; you can redistribute it and/or modify it under the terms and conditions of the GNU General Public License, version 2, as p...
C
linux-4.14/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c
BPI-SINOVOIP/BPI-Mainline-kernel
gpl-2.0
5,178
206
codeparrot/github-code
104524bc44922a40fe4db94470ce297c58af6fe43fda1ab1d24202b975aee79d
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-example3-jquery</title> <script src="../../components/jquery-2.1.1/jquery.js"></script> <script src="../../../angular.js"></script> <script src="../../../angular-aria.js"></script> </head> <body ng-app="ngAria_n...
HTML
web_root/third-party/angularjs/angular-1.5.0/docs/examples/example-example3/index-jquery.html
keithbox/PPSP-360_Degree_Evaluation_System
gpl-3.0
1,198
45
codeparrot/github-code
19225d8356fbdc97d0ea0902a2e0e7a6f7fff5edcbda432a52e2fe71fbca86b3
<?php /** * @package Joomla.Installation * * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * HTML utility class for the installation application * * @package ...
PHP
ws/joomla/installation/helper/html/installation.php
prabirmsp/prabirmsp.github.io
mit
2,827
134
codeparrot/github-code
779e8bbc84927b3ed86f64439b1ac71b9b357a7ce2288f0a6f5f5e378dc45726
/* This file is part of Ext JS 4.2 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in...
JavaScript
www/jslib/extjs/src/dom/AbstractHelper.js
filippov70/map.org
lgpl-3.0
11,000
313
codeparrot/github-code
2ecb03445e64105a26e59936f62af30e96b4f482571437b1a1169056b43bbb99
/* * Copyright (c) 2000-2005 Silicon Graphics, Inc. * 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. * * This program is distributed in the hope that it would be ...
C
linux/fs/xfs/xfs_buf_item.c
dperezde/little-penguin
gpl-2.0
34,599
1,203
codeparrot/github-code
8eb13381b106e04e234c22631ba3ee7081eb94ba8915bc4066b96370d989e3f8
package org.json; import java.io.IOException; import java.io.Writer; /* Copyright (c) 2006 JSON.org 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, including witho...
Java
src/yabby/org/json/JSONWriter.java
rbouckaert/YABBY
lgpl-3.0
10,677
328
codeparrot/github-code
3048629769a5b5501ea8af41f9e669b5b92a4a0c631ee45fc288fcec334d2854
/** * jqPlot * Pure JavaScript plotting plugin using jQuery * * Version: 1.0.4 * Revision: 1120 * * Copyright (c) 2009-2012 Chris Leonello * jqPlot is currently available for use in all personal or commercial projects * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL ...
JavaScript
files/jqplot/1.0.4/plugins/jqplot.cursor.js
vousk/jsdelivr
mit
47,196
1,109
codeparrot/github-code
24987e4d8b08b7486963356297de2f591b6686f9568c3588da32a7a9dc89b6fd
// SpryDOMUtils.js - version 0.13 - Spry Pre-Release 1.7 // // Copyright (c) 2007. Adobe Systems Incorporated. // 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...
JavaScript
files/spry/1.7/js/sprydomutils.js
vousk/jsdelivr
mit
29,611
1,184
codeparrot/github-code
4236960ed9faea949b19806398ef4aef8f519ee62f3822c63b912587683d4837
/* this ALWAYS GENERATED file contains the proxy stub code */ /* File created by MIDL compiler version 7.00.0555 */ /* at Thu Mar 08 14:53:56 2012 */ /* Compiler settings for Accessible2.idl: Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555 protocol : dce , ms_ext, c_ext, robust error ...
C
src/qt/qtbase/src/3rdparty/iaccessible2/generated/amd64/Accessible2_p.c
pataquets/phantomjs
bsd-3-clause
37,124
1,197
codeparrot/github-code
665a6616b6afdc11fede21630f4f98db75db5998a08adf3494ac88636a9879b1
/* * Renesas - AP-325RXA * (Compatible with Algo System ., LTD. - AP-320A) * * Copyright (C) 2008 Renesas Solutions Corp. * Author : Yusuke Goda <goda.yuske@renesas.com> * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of thi...
C
arch/sh/boards/mach-ap325rxa/setup.c
jfdsmabalot/kernel_msm7627a
gpl-2.0
16,582
684
codeparrot/github-code
e2263ea0a3a05dff4c5ec4cbb8567dd3703ac885637a03f3966b3f0a52bf9ded
#!/usr/local/bin/perl # Normal is the # md5_block_x86(MD5_CTX *c, ULONG *X); # version, non-normal is the # md5_block_x86(MD5_CTX *c, ULONG *X,int blocks); $normal=0; push(@INC,"perlasm","../../perlasm"); require "x86asm.pl"; &asm_init($ARGV[0],$0); $A="eax"; $B="ebx"; $C="ecx"; $D="edx"; $tmp1="edi"; $tmp2="ebp";...
Perl
tools/darwin/depends/openssl/crypto/md5/asm/md5-586.pl
zarboz/XBMC-PVR-mac
gpl-2.0
7,568
307
codeparrot/github-code
265a8269216268ea1e54b3317fe33434da8a03a15f9fe1a9fb1781c031587941
/* sound/soc/samsung/s3c2412-i2s.c * * ALSA Soc Audio Layer - S3C2412 I2S driver * * Copyright (c) 2006 Wolfson Microelectronics PLC. * Graeme Gregory graeme.gregory@wolfsonmicro.com * linux@wolfsonmicro.com * * Copyright (c) 2007, 2004-2005 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@...
C
unionfs-3.10.y/sound/soc/samsung/s3c2412-i2s.c
prasidh09/cse506
gpl-2.0
5,312
214
codeparrot/github-code
8458f25179c28fc570256b49db3bdc638cb5a6170c5dc14d88faeaeb1fddf39c
//********************************************************* // // 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 PA...
C
Samples/Simple3DGameDX/cpp/GameInfoOverlay.h
spratmannc/Windows-universal-samples
mit
3,879
79
codeparrot/github-code
76d379ad417808764bbc64803a3e523f16dc49cc5ad421d284e119036588a40c
// SPDX-License-Identifier: GPL-2.0 // // Copyright 2003-2008 Simtec Electronics // Ben Dooks <ben@simtec.co.uk> // // http://www.simtec.co.uk/products/EB2410ITX/ #include <linux/kernel.h> #include <linux/types.h> #include <linux/interrupt.h> #include <linux/list.h> #include <linux/timer.h> #include <linux/init.h> #...
C
arch/arm/mach-s3c/mach-bast.c
GuillaumeSeren/linux
gpl-2.0
14,201
588
codeparrot/github-code
1ec24ac3184ac4b2dad4ab48b78a83caf01c55e22eb5b8bc7ef0cf946055fe4e
/* * Copyright (C) 2012 Intel Corporation. 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 retain the above copyright * notice, this list of cond...
C++
src/webkit/Source/WebCore/platform/graphics/opengl/GLPlatformContext.cpp
klim-iv/phantomjs-qt5
bsd-3-clause
7,778
290
codeparrot/github-code
4281dddd3fb13b5770ae100e32fb7dfa4e17746cb41162b6bad12bf828e2850d
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_X86_MSI_H #define _ASM_X86_MSI_H #include <asm/hw_irq.h> #include <asm/irqdomain.h> typedef struct irq_alloc_info msi_alloc_info_t; int pci_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec, msi_alloc_info_t *arg); /* Structs and defines for...
C
arch/x86/include/asm/msi.h
GuillaumeSeren/linux
gpl-2.0
1,508
63
codeparrot/github-code
8737d654fe4d31bc65ca3ded1bd1434ee8d836ca9117616245dd69bfbde08d1b
/* * linux/fs/nfs/dir.c * * Copyright (C) 1992 Rick Sladkey * * nfs directory handling functions * * 10 Apr 1996 Added silly rename for unlink --okir * 28 Sep 1996 Improved directory cache --okir * 23 Aug 1997 Claus Heine claus@momo.math.rwth-aachen.de * Re-implemented silly rename for unli...
C
src/linux/fs/nfs/dir.c
systemdaemon/systemd
gpl-2.0
64,635
2,518
codeparrot/github-code
fd0a6c1d4dbac0890075ceb93e682c08ad15c62c4549299faa020e3a85324913
/** * 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
camel-core/src/test/java/org/apache/camel/component/seda/SedaInOnlyTest.java
YMartsynkevych/camel
apache-2.0
1,582
47
codeparrot/github-code
cb8ffa9d8b89424568c4b23a37efd48c17d4f2bec18f5dedefed01e60152b325
// Copyright Aleksey Gurtovoy 2000-2004 // // Distributed under 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) // // Preprocessed version of "boost/mpl/vector/vector10.hpp" header // -- DO NOT modify by hand! namespa...
C++
xs/src/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10.hpp
technobly/slic3r-zeepro
agpl-3.0
2,615
140
codeparrot/github-code
d97f0a2c90fa049d4360d0177702428a08fd64c4773846cbb4fad80c2333a9e4
package org.elasticsearch.index.analysis; /* * 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 Licens...
Java
plugins/analysis-icu/src/test/java/org/elasticsearch/index/analysis/IndexableBinaryStringToolsTests.java
sreeramjayan/elasticsearch
apache-2.0
9,964
248
codeparrot/github-code
c7c898aa7ae785d6883fc847636b528b44d0cb44a4ec802a96fa9cc24e05d644
/* linux/arch/arm/mach-s3c64xx/mach-smdk6410.c * * Copyright 2008 Openmoko, Inc. * Copyright 2008 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * http://armlinux.simtec.co.uk/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License vers...
C
linux-3.1.9/arch/arm/mach-s3c64xx/mach-smdk6410.c
sahdman/rpi_android_kernel
mit
16,995
713
codeparrot/github-code
f0cc8eb24d15263b9a8931ce4f349f0c5657c0d390c350d42834351d2d7a88ef
/* Copyright (c) 2010 Code Aurora Forum. 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 tha...
C
drivers/power/smb137b.c
NieNs/IM-A750K
gpl-2.0
27,738
997
codeparrot/github-code
07435d9479a81894836d7dc185717043205f918f11c50c38c32cbf1229b1bf77
/* * Copyright (C) 2011, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com> * * Parts came from builtin-{top,stat,record}.c, see those files for further * copyright notes. * * Released under the GPL v2. (and only v2, not any later version) */ #include "util.h" #include "debugfs.h" #include <poll.h> #include...
C
uefi/linux-source-3.8.0/tools/perf/util/evlist.c
SanDisk-Open-Source/SSD_Dashboard
gpl-2.0
19,845
843
codeparrot/github-code
474e23c16cb353bf0ecb96c65b7c532c97f3351b7099d702d76464b5f69e2c89
<?php /** * BackPress Styles enqueue. * * These classes were refactored from the WordPress WP_Scripts and WordPress * script enqueue API. * * @package BackPress * @since r74 */ /** * BackPress Styles enqueue class. * * @package BackPress * @uses WP_Dependencies * @since r74 */ class WP_Styles extends WP_...
PHP
www/wp-includes/class.wp-styles.php
Lucas1313/miesner
apache-2.0
4,522
171
codeparrot/github-code
bc7fe98a946d27f3b0bfe1bb5a78fb6867f8b922ee8ffc13aec59fc0346d1e35
/* * Copyright 2012 ZXing 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 ...
Java
zxing-master/zxing-master/core/src/test/java/com/google/zxing/pdf417/decoder/ec/ErrorCorrectionTestCase.java
KyCodeHuynh/QRU
gpl-2.0
4,353
125
codeparrot/github-code
934a439c05b76dd1fb46de0b2b378785744c4808c69869c36251685b107e70d5
/* * libata-sff.c - helper library for PCI IDE BMDMA * * Maintained by: Tejun Heo <tj@kernel.org> * Please ALWAYS copy linux-ide@vger.kernel.org * on emails. * * Copyright 2003-2006 Red Hat, Inc. All rights reserved. * Copyright 2003-2006 Jeff Garzik * * * This program is free software; ...
C
linux-eudyptula/drivers/ata/libata-sff.c
dperezde/little-penguin
gpl-2.0
85,527
3,338
codeparrot/github-code
2469cfcf3c0712b87b3b9017ff84cd3c05b5a99a8489057a93e297c729a558a5
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Globalization; using System.ComponentModel; namespace System.Configuration { public sealed class I...
C#
src/System.Configuration.ConfigurationManager/src/System/Configuration/InfiniteTimeSpanConverter.cs
nbarbettini/corefx
mit
1,124
30
codeparrot/github-code
30a97c3c93e43b340d54624944404b0c4002a9a630c249da3f43fb13378f2688
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <!-- * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2010 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * ...
HTML
wp-content/plugins/foliopress-wysiwyg/fckeditor/editor/dialog/fck_anchor.html
danielmathiesen/hioa
gpl-2.0
6,315
221
codeparrot/github-code
b37c92d16960e0f12d8898b770010976468096c2e98659c1072fa01e7a0e256e
/* Copyright 2016 The TensorFlow 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 a...
C
venv/lib/python3.5/site-packages/tensorflow/include/tensorflow/core/platform/file_statistics.h
unnikrishnankgs/va
bsd-2-clause
1,431
40
codeparrot/github-code
71654e9d739e4cf0bb8b3226d8fe9449e66cadb7637e9d73d083ff4b110b1c74
/* * Hauppauge HD PVR USB driver - video 4 linux 2 interface * * Copyright (C) 2008 Janne Grunau (j@jannau.net) * * 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. * */ #...
C
virt/drivers/media/usb/hdpvr/hdpvr-control.c
AiJiaZone/linux-4.0
gpl-2.0
4,653
182
codeparrot/github-code
81211aa32b8d220fd9417f7954d8da141ddb68759d91ff56c4e420fd87b89ec1
// SPDX-License-Identifier: GPL-2.0-only /* * hid-sensor-custom.c * Copyright (c) 2015, Intel Corporation. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/miscdevice.h> #include <linux/kfifo.h> #include <linux/sched.h> #include <linux/wait.h> #include <linux/poll.h> #i...
C
linux-5.8/drivers/hid/hid-sensor-custom.c
CSE3320/kernel-code
gpl-2.0
23,861
838
codeparrot/github-code
0c9e064b3bf18ce3473f510b3cbf5e1d402fec6c18c5dac10de0eb12bfd9a81f
/* { dg-do compile } */ /* { dg-options "-O1 -fdump-tree-optimized" } */ void link_error(); struct State { int p0, p1, p2; inline State(){p0=0;p1=0;p2=0;} inline State(const State &s) { p0 = s.p0; p1 = s.p1; p2 = s.p2; } inline void operator =(const State &s) { p0 = s.p0; p1 = s.p1; p2...
C++
uefi/gcc/gcc-4.6.3/gcc/testsuite/g++.dg/tree-ssa/ssa-sra-1.C
SanDisk-Open-Source/SSD_Dashboard
gpl-2.0
1,042
62
codeparrot/github-code
9a09c256e5ace09908a4ef7fe50bccf85dc7a12942e48e5d394400b63df9efdb
/* * rx1950.c -- ALSA Soc Audio Layer * * Copyright (c) 2010 Vasily Khoruzhick <anarsoul@gmail.com> * * Based on smdk2440.c and magician.c * * Authors: Graeme Gregory graeme.gregory@wolfsonmicro.com * Philipp Zabel <philipp.zabel@gmail.com> * Denis Grigoriev <dgreenday@gmail.com> * ...
C
src/linux/sound/soc/samsung/rx1950_uda1380.c
systemdaemon/systemd
gpl-2.0
6,855
290
codeparrot/github-code
1d9079f0ac0354569582f98a832496409deabe1ab1c7822b1086c1b2c0e73130
/* * Pinctrl Driver for ADI GPIO2 controller * * Copyright 2007-2013 Analog Devices Inc. * * Licensed under the GPLv2 or later */ #include <linux/bitops.h> #include <linux/delay.h> #include <linux/module.h> #include <linux/err.h> #include <linux/debugfs.h> #include <linux/seq_file.h> #include <linux/irq.h> #incl...
C
linux-4.3/drivers/pinctrl/pinctrl-adi2.c
publicloudapp/csrutil
mit
29,812
1,147
codeparrot/github-code
6c3de08d5fc2ca7281aaecc6bb2c7790ef64229efddde25f13b71c65c8c77f98
// SPDX-License-Identifier: GPL-2.0-only /* * AMD CPU Microcode Update Driver for Linux * * This driver allows to upgrade microcode on F10h AMD * CPUs and later. * * Copyright (C) 2008-2011 Advanced Micro Devices Inc. * 2013-2018 Borislav Petkov <bp@alien8.de> * * Author: Peter Oruba <peter.orub...
C
linux-5.8/arch/x86/kernel/cpu/microcode/amd.c
CSE3320/kernel-code
gpl-2.0
22,246
963
codeparrot/github-code
f5303659ee766ce7c20e94d2170f9d7304b388f07b2e62b3087e6df8d4f235b0
/******************************************************************************* * * Intel Ethernet Controller XL710 Family Linux Virtual Function Driver * Copyright(c) 2013 - 2014 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of th...
C
src/linux/drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c
systemdaemon/systemd
gpl-2.0
23,530
778
codeparrot/github-code
df58e67fae6a235ce05b38fb077b761085bd48df09915c5bb2ce7dfa4d8ef000
/* * fs/f2fs/inode.c * * Copyright (c) 2012 Samsung Electronics Co., Ltd. * http://www.samsung.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 <...
C
src/linux/fs/f2fs/inode.c
systemdaemon/systemd
gpl-2.0
9,922
365
codeparrot/github-code
5b7c1aad983eae7ff3be536ccf7e7de3ae681016f7fc9447d7670be62c782635
-- Digging Through Bones (10922) SET @LETOLL := 22458; SET @RESEARCHER := 22464; SET @B_SIFTER := 22466; SET @SG_TRIGGER := 22457; SET @RESEARCHER1 := 78837; -- Faulty spawn, it needs to be spawned by a script. DELETE FROM `creature` WHERE `guid`=85488; DELETE FROM `creature_text` WHERE `entry`=@LETOLL...
SQL
sql/updates/world_rpp/2013_08_16_02_world_sai.sql
mynew2/Trinity
gpl-2.0
9,841
121
codeparrot/github-code