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
d973c9d7d8f320e08bfb639212d91f353f4bfea6e357d4b1788178ac300557fe
package DDG::Goodie::VIN; # ABSTRACT: extract information about vehicle identification numbers use strict; use DDG::Goodie; zci is_cached => 1; zci answer_type => "vin"; triggers query_lc => qr/([\d+a-z]{17})| (^\d+$) /x; # Regex for VIN. my $vin_qr = qr/v(?:ehicle|)i...
Perl
lib/DDG/Goodie/VIN.pm
Midhun-Jo-Antony/zeroclickinfo-goodies
apache-2.0
3,506
150
codeparrot/github-code
c673fdab91c0081cb33851737c2a956ce879d3716198e852991649fb848368c6
/* * 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 n...
Java
frame/kafka-0.11.0/kafka-0.11.0.1-src/clients/src/main/java/org/apache/kafka/common/errors/ReplicaNotAvailableException.java
wangcy6/storm_app
apache-2.0
1,252
36
codeparrot/github-code
1dda6bfcc4a95e65e0c6667b13a8a39a402428afe445843bdd31e16046c1a0ca
// 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. #ifndef LIBRARIES_NACL_IO_MOUNT_HTML5FS_H_ #define LIBRARIES_NACL_IO_MOUNT_HTML5FS_H_ #include <pthread.h> #include "nacl_io/mount.h" #include "nacl...
C
native_client_sdk/src/libraries/nacl_io/mount_html5fs.h
gfreed/android_external_chromium-org
bsd-3-clause
1,558
55
codeparrot/github-code
b7a25b2bed05018fb0b2a7e7987e2906c6deed21f962973388c3b59a3866b99a
// AFHTTPRequestOperationManager.h // Copyright (c) 2011–2015 Alamofire Software Foundation (http://alamofire.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, ...
C
音乐播放器/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.h
lianai911/MusicPlayer
apache-2.0
19,570
324
codeparrot/github-code
749cb673604666e6ad5ad4ae71dfd45d96de93bfcf357ca00dd22b811b6fe832
ej.addCulture( "az-Latn-AZ", { name: "az-Latn-AZ", englishName: "Azerbaijani (Latin, Azerbaijan)", nativeName: "Azərbaycan dili (Azərbaycan)", language: "az-Latn", numberFormat: { ",": " ", ".": ",", percent: { pattern: ["-n%","n%"], ",": " ", ".": "," }, currency: { pattern: ["-n $","n $"], ...
JavaScript
files/syncfusion-ej-global/15.1.41/i18n/ej.culture.az-Latn-AZ.js
Asaf-S/jsdelivr
mit
6,399
145
codeparrot/github-code
01afff510582237b05d025ff7b33c464ee37b8710912a954dd3e48903021bdea
<?php /** * @package Joomla.Libraries * @subpackage Editor * * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; /** * JEditor class to handle WYSIWYG editors ...
PHP
libraries/cms/editor/editor.php
farpa/joomla30
gpl-2.0
10,301
520
codeparrot/github-code
d36e219a5ede5c2dabe1a098b0308bc45963107aeacecce31142b98c8d339b07
// 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 ma...
C#
lang/cs/Org.Apache.REEF.Common/Evaluator/DriverInformation.cs
markusweimer/incubator-reef
apache-2.0
6,351
166
codeparrot/github-code
809db3d84887d28a63e0234c8d34dcbc59105b3109df5758575bac4512acb705
// Copyright 2007 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...
Java
engines/minigse/java/com/google/opengse/parser/Chset.java
aakashysharma/opengse
apache-2.0
15,420
546
codeparrot/github-code
efeddc556922476bc4e8898e8945c613ecd3cc082b588f8b4cc7e5320f8f0a63
# Copyright 2015 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 applica...
Python
tensorflow/tensorboard/scripts/generate_testdata.py
cg31/tensorflow
apache-2.0
7,184
223
codeparrot/github-code
091eacbf793c355d1bdc174fb3e8240f61cc90da4ebf5b71fbaf818adb946646
<?php /** * Validates the value for the CSS property text-decoration * @note This class could be generalized into a version that acts sort of * like Enum except you can compound the allowed values. */ class HTMLPurifier_AttrDef_CSS_TextDecoration extends HTMLPurifier_AttrDef { public funct...
PHP
puppet/garbage/website/files/DVWA/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrDef/CSS/TextDecoration.php
cappetta/CyberCloud
apache-2.0
1,012
38
codeparrot/github-code
bed285957311dbda1903a2b91304617ba939c47bb2fba792b571428bf940aa05
#!/usr/bin/env python # # Copyright 2009 Facebook # # 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...
Python
venv/lib/python3.5/site-packages/tornado/escape.py
unnikrishnankgs/va
bsd-2-clause
14,393
399
codeparrot/github-code
ddf2bb4350ffceb744d059f419af7820e7c8849db8ab46bfadb8d0acecbd3b0b
// Copyright 2014 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 "ui/ozone/platform/dri/dri_cursor.h" #include "ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h" #include "ui/gfx/geometry/point.h" #include "...
C++
ui/ozone/platform/dri/dri_cursor.cc
laperry1/android_external_chromium_org
bsd-3-clause
3,031
100
codeparrot/github-code
5b895f3de90b0c6aa1aa18fe6e1a16c63880eaa3c4b5df460410127013d91c1d
using System; using Server.Commands; using Server.Network; namespace Server.Gumps { public class SQGump : Gump { public SQGump(Mobile owner) : base(50, 50) { //---------------------------------------------------------------------------------------------------- ...
C#
Scripts/Quests/SA Sacred Quest/SQGump.cs
Ultima-Lokai/ServUO-Test
gpl-2.0
3,206
79
codeparrot/github-code
57d85307c4a08dc94792eb1367f0c2e542bc6387baa2431198f95045520a55b2
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C++
backends/events/default/default-events.cpp
LasDesu/residualvm
gpl-2.0
7,058
258
codeparrot/github-code
7b6f14b8c617305342782016d14e032260625a1ad677b44bce879761d1bbde61
/* ############################################################################### # # Temboo CoAP Edge Device library # # Copyright (C) 2015, Temboo 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 co...
C
work/arduino/edison/libraries/Temboo/src/utility/CoapMsg.h
ElvisLouis/code
gpl-2.0
8,234
193
codeparrot/github-code
004454f80c3d4b77276ce3e02633167636835782aa6818d4775771f7dd3616c5
<?php /** * @package AkeebaBackup * @copyright Copyright (c)2009-2013 Nicholas K. Dionysopoulos * @license GNU General Public License version 3, or later * * @since 1.3 */ defined('_JEXEC') or die(); JHtml::_('behavior.framework'); ?> <script language="javascript" type="text/javascript"> // Disable right-click ...
PHP
tmp/com_akeeba-3.9.2-core/backend/views/log/tmpl/raw.php
effortlesssites/template
gpl-2.0
2,218
96
codeparrot/github-code
ac0a0571ebbdb445205ce54ec6a5be44a1c5747483632b0ccb1bb7e8a56c5b62
// RUN: %clang_cc1 -fsyntax-only -verify %s template<typename T> class A; // expected-note 2 {{template parameter is declared here}} expected-note{{template is declared here}} // [temp.arg.type]p1 A<0> *a1; // expected-error{{template argument for template type parameter must be a type}} A<A> *a2; // expected-error{{...
C++
tdebug-llvm/clang/test/SemaTemplate/temp_arg_type.cpp
rutgers-apl/Atomicity-Violation-Detector
gpl-2.0
1,447
43
codeparrot/github-code
7fb544aa56696aabbfa4d5058871f138cb1ea269e826aeeaecd0df4d44fa54f0
// 2006-06-16 Paolo Carlini <pcarlini@suse.de> // Copyright (C) 2006-2013 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 Sof...
C++
libstdc++-v3/testsuite/22_locale/time_get/get_time/char/5.cc
pschorf/gcc-races
gpl-2.0
2,360
72
codeparrot/github-code
b67367e3011bf35e2c3ab243b7991b2b9bbf977ef2d068b3f98f90f367b621ea
/* Copyright (c) 2011-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 version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
C
drivers/slimbus/slim-msm-ngd.c
sktjdgns1189/android_kernel_lge_f180k
gpl-2.0
46,802
1,656
codeparrot/github-code
3b5d09f05e09961f61e0d87c3eaaf7f1e4922f7c19a9ffae2a2284aa0cdbaf3a
define(["./_base", "dojo/_base/lang", "./matrix"], function (g, lang, m){ function eq(/* Number */ a, /* Number */ b){ // summary: // compare two FP numbers for equality return Math.abs(a - b) <= 1e-6 * (Math.abs(a) + Math.abs(b)); // Boolean } function calcFromValues(/* Number */ r1, /* Number */ m1, /* ...
JavaScript
www/js/dojox/gfx/decompose.js
avz-cmf/zaboy-middleware
gpl-3.0
4,688
140
codeparrot/github-code
36bed362eb4e3ec077afa18e75e50975667f90f690a9bcd6b5ea4393d5ec15d4
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included with this...
C++
src/osgTerrain/Locator.cpp
thahemp/osg-android
lgpl-2.1
4,616
170
codeparrot/github-code
ef2dc0d753c0f7395b5adac9f9c22abed0c923af2eb38686e0e908488a3af961
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <base href="../../" /> <script src="list.js"></script> <script src="page.js"></script> <link type="text/css" rel="stylesheet" href="page.css" /> </head> <body> [page:Object3D] &rarr; <h1>[name]</h1> <div class="desc">A mesh that has a...
HTML
test/three.js-master/docs/api/objects/SkinnedMesh.html
perryuwang/perryuwang.github.io
apache-2.0
4,646
155
codeparrot/github-code
e8cfaf0b561b593edf9f5414f8b24a87bc18a45a697b143a6ff5b0cdf68a37db
/* * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
Java
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53domains/model/transform/UpdateDomainContactResultJsonUnmarshaller.java
sheofir/aws-sdk-java
apache-2.0
2,748
70
codeparrot/github-code
1f327ce3163ebfc5aac93c3f40c06b1c1be7ed810d59431489b70cae7d63914f
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
presto-main/src/main/java/com/facebook/presto/operator/aggregation/state/HyperLogLogStateFactory.java
ipros-team/presto
apache-2.0
2,985
120
codeparrot/github-code
ff9dd4c9f38d620c52461d1993d67656d80baa94b1857ae9c23b2012fb3a077c
/** ****************************************************************************** * @file stm32f2xx_hal_hash.c * @author MCD Application Team * @version V1.1.3 * @date 29-June-2016 * @brief HASH HAL module driver. * This file provides firmware functions to manage the following * ...
C
targets/TARGET_STM/TARGET_STM32F2/device/stm32f2xx_hal_hash.c
RonEld/mbed
apache-2.0
58,884
1,858
codeparrot/github-code
1a55fdd5aa0d6c7c7df9f538847fb4348e70798cb24a7dc34983070856266f6c
<?php /** * * This file is part of the phpBB Forum Software package. * * @copyright (c) phpBB Limited <https://www.phpbb.com> * @license GNU General Public License, version 2 (GPL-2.0) * * For full copyright and license information, please see * the docs/CREDITS.txt file. * */ class mcp_main_info { function module() ...
PHP
www/forum/includes/mcp/info/mcp_main.php
kivi8/ars-poetica
bsd-3-clause
973
39
codeparrot/github-code
2ff2ba56ceb77139576ca775288b742fc01ddde2dfd9a5af3473f54ca92fcd8e
/* Video Core Copyright (c) 2014 James G. Hurley 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 without limitation the rights to use, copy, modify, merge, ...
C
videocore/mixers/Apple/AudioMixer.h
TradeCast/VideoCore
mit
3,854
95
codeparrot/github-code
8265b4182eec0cfd2f3dd661311d30c656d5a13e29376896d1de254b741864b1
// This file contains methods responsible for removing a node. import { hooks } from "./lib/removal-hooks"; export function remove() { this._assertUnremoved(); this.resync(); if (this._callRemovalHooks()) { this._markRemoved(); return; } this.shareCommentsWithSiblings(); this._remove(); this....
JavaScript
packages/comal-traverse/src/path/removal.js
forivall/tacoscript
mit
934
46
codeparrot/github-code
f681724435c3b529cfeaa8c682fb10d31ff525ef659eabacd73c33ff76cf2e59
/* $Id: processor.c,v 1.1 2002/07/20 16:27:06 rhirst Exp $ * * Initial setup-routines for HP 9000 based hardware. * * Copyright (C) 1991, 1992, 1995 Linus Torvalds * Modifications for PA-RISC (C) 1999-2008 Helge Deller <deller@gmx.de> * Modifications copyright 1999 SuSE GmbH (Philipp Rumpf) * ...
C
arch/parisc/kernel/processor.c
pichina/linux-bcache
gpl-2.0
12,067
418
codeparrot/github-code
9cc1c66000f3fafd730393884f2de9f78fbe9777744f722263a04406b2e912a2
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * 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 ...
C
linux-4.14/include/uapi/linux/btrfs.h
BPI-SINOVOIP/BPI-Mainline-kernel
gpl-2.0
26,057
841
codeparrot/github-code
091f215b62cd034aba30a3853c4450ff1d34b406944c44630b36138a326662c4
// license:BSD-3-Clause // copyright-holders:Andreas Naive,David Haywood #include "emu.h" #include "igs036crypt.h" /**************************************************************************** IGS036 encryption emulation The encryption used by the IGS036 seems to be another iteration over previous IGS encryption sche...
C++
src/mame/machine/igs036crypt.cpp
johnparker007/mame
gpl-2.0
13,928
291
codeparrot/github-code
4f22bbef5d386828190c37d90fcf12b722103825c4decfa9dcb5fc4b870a69a5
----------------------------------- -- Area: Upper Delkfutt's Tower -- NPC: HomePoint#1 -- @pos -365 -176.5 -36 158 ----------------------------------- package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Upper_Delkfutts_Tower/TextIDs"); req...
Lua
scripts/zones/Upper_Delkfutts_Tower/npcs/HomePoint#1.lua
UnknownX7/darkstar
gpl-3.0
1,293
55
codeparrot/github-code
5933d7dd14d5995d4630e518e3e5bb2fee0100ca4f4e043ebe2adcc68568a9c4
/* * Machine check exception handling CPU-side for power7 and power8 * * 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 vers...
C
linux/arch/powerpc/kernel/mce_power.c
mkvdv/au-linux-kernel-autumn-2017
gpl-3.0
17,501
572
codeparrot/github-code
a14c90389561f2bfd79f43c58ecf175926162ec6ac1cfbfa9e665c2e6fd97268
<?php /* * * ____ _ _ __ __ _ __ __ ____ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_| \___/ \___...
PHP
src/pocketmine/level/particle/Particle.php
iPlugins/Kalix
lgpl-3.0
1,855
68
codeparrot/github-code
0324752aac94fccf323e553b0d8221aa34629ae822ec764c1b0609bc53446c93
/** * 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
src/test/org/apache/hadoop/hdfs/server/namenode/TestSecurityTokenEditLog.java
pombredanne/brisk-hadoop-common
apache-2.0
5,772
157
codeparrot/github-code
9e9c055ee88d8e8265c08663d35aad04ccb68583d9d46fbc7b4ee2bcb7484686
/* * Copyright 2000-2015 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
java/debugger/impl/src/com/intellij/debugger/impl/DebuggerStateManager.java
hurricup/intellij-community
apache-2.0
1,818
50
codeparrot/github-code
e4c1f96bef693cd33061a2cbf4f725d28e93c6c72f4189cd2762905a438dbf25
/* * 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 ...
Scala
modules/spark/src/main/scala/org/apache/ignite/spark/impl/optimization/accumulator/SingleTableSQLAccumulator.scala
samaitra/ignite
apache-2.0
5,173
129
codeparrot/github-code
059ed81736145bee7a3091f8bb0af7f4989ba4cfdf1f787dddb1198c57fcc75a
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors # MIT License. See license.txt from __future__ import unicode_literals import frappe, re from frappe.website.website_generator import WebsiteGenerator from frappe.website.render import clear_cache from frappe.utils import today, cint, global_dat...
Python
frappe/website/doctype/blog_post/blog_post.py
gangadharkadam/shfr
mit
3,543
117
codeparrot/github-code
ab1d25ce5198a317deb39eba4c05055e9160d1d2ebbf5ed1786b3b66b71204a8
/** * Returns the ECMAScript intrinsic for the name. * * @param name The ECMAScript intrinsic name * @param allowMissing Whether the intrinsic can be missing in this environment * * @throws {SyntaxError} If the ECMAScript intrinsic doesn't exist * @throws {TypeError} If the ECMAScript intrinsic exists, but not i...
TypeScript
types/es-abstract/GetIntrinsic.d.ts
markogresak/DefinitelyTyped
mit
75,079
1,274
codeparrot/github-code
d24c012b59becbf54873c5fd69dfaf69e354989346d27b117025db6f44d24593
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // #include "standardpch.h" #include "coreclrcallbacks.h" #include "iexecutionengine.h" typedef LPVOID (__stdcall * pfnEEHeapAllocInProcessHeap)(DWORD dwFlags, SIZE...
C++
src/ToolBox/superpmi/superpmi-shim-counter/coreclrcallbacks.cpp
Dmitry-Me/coreclr
mit
2,134
63
codeparrot/github-code
0a42ab96b86edde4a7a14aeabed44ad351924ae28fd4d7f914bf725ba1060ccf
/* Copyright (C) 2000 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT AN...
C
percona-server-5.1-xtrabackup/Percona-Server-5.1.59-rel13.0/mysys/my_sleep.c
metacloud/percona-xtrabackup
gpl-2.0
1,257
38
codeparrot/github-code
6615e970605c91ac48392209377ef5c2347d9297602483ef788e420018b6fd29
/* * Copyright (c) 2002-2003, Intel Corporation. All rights reserved. * Created by: salwan.searty REMOVE-THIS AT intel DOT com * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. * Test that the sigwaitinfo() funct...
C
testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/9-1.c
yankunsam/ltp
gpl-2.0
1,498
67
codeparrot/github-code
b38be40acef951cd33edc8ab280899e3abc78eff845ece336edab93413ca5b5d
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/media_galleries/fileapi/file_path_watcher_util.h" #include "base/bind.h" #include "base/callback.h" #include "base/location.h" #...
C++
external/chromium_org/chrome/browser/media_galleries/fileapi/file_path_watcher_util.cc
qtekfun/htcDesire820Kernel
gpl-2.0
2,587
61
codeparrot/github-code
714ebdd1f31eeb412da1f3597c5d4ef9441532ad33c377fbb0c56c3319f6c980
// 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 "content/common/gpu/client/gpu_channel_host.h" #include <algorithm> #include "base/bind.h" #include "base/debug/trace_event.h" #include "ba...
C++
external/chromium_org/content/common/gpu/client/gpu_channel_host.cc
s20121035/rk3288_android5.1_repo
gpl-3.0
13,398
416
codeparrot/github-code
65d9adc0bffd422819103e5248a812e523a5077a1062a4a0785fd6ed362721e7
/* * 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
oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/tck/RetentionIT.java
anchela/jackrabbit-oak
apache-2.0
1,195
36
codeparrot/github-code
f5b031004d3a19c56f6e6d653d43b48eb4070cc1adf5f182ab6994c2f5411f74
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Property binding lets you bind two fields or properties so that changing one will update the other....
C#
unity/Assets/NGUI/Scripts/Internal/PropertyBinding.cs
tomekjarosik/water
apache-2.0
2,819
140
codeparrot/github-code
a4400948ba8af9a4ea1bed9878bb56cc699dc0d23eb6fe2e5b83d612d45ba3f2
/* * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
Java
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/ChangeAction.java
nmelnick/aws-sdk-java
apache-2.0
1,692
59
codeparrot/github-code
c07198a7e094879faf9fbaa66268a456d04ad6fb04078737d9648a9cb4d63585
var knex = require('knex'), config = require('../../config'), dbConfig = config.database, knexInstance; function configureDriver(client) { var pg; if (client === 'pg' || client === 'postgres' || client === 'postgresql') { try { pg = require('pg'); } catch (e) { ...
JavaScript
ghost/core/server/data/db/connection.js
bromagosa/pugemaltren
mit
857
31
codeparrot/github-code
a3494362e2375d084d25a0c136c0c69d58a806443dfba0496279f63e4baee434
/* * Copyright (c) 1997, 2011, 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 ...
Java
testing/openjdk2/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/DefaultClassBinder.java
rokn/Count_Words_2015
mit
21,517
559
codeparrot/github-code
ddb5af40d5b4ff7751785aaa0d0b4f974c95256bda11ec5b5da0d28c8a8e3533
#ifndef _CUST_LEDS_H #define _CUST_LEDS_H #include <mach/mt_typedefs.h> enum mt65xx_led_type { MT65XX_LED_TYPE_RED = 0, MT65XX_LED_TYPE_GREEN, MT65XX_LED_TYPE_BLUE, MT65XX_LED_TYPE_JOGBALL, MT65XX_LED_TYPE_KEYBOARD, MT65XX_LED_TYPE_BUTTON, MT65XX_LED_TYPE_LCD, MT65XX_LED_TYPE_TOTAL, }; enum mt65xx_led_mode {...
C
mediatek/custom/wiko1/kernel/leds/inc/cust_leds.h
GuneetAtwal/Blaze.Kernel-MT6589
gpl-2.0
1,436
72
codeparrot/github-code
0269b9b748ba898c93ae8910f8184344e7dc24010a98f3751617519474eda47e
/* * QEMU Leon3 System Emulator * * Copyright (c) 2010-2011 AdaCore * * 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 without limitation the rights * to...
C
qemu-1.7.0/hw/sparc/leon3.c
BlastarIndia/Blastarix
gpl-3.0
6,949
228
codeparrot/github-code
fbf16b3871d531fe8e7fedebb45c6c9ec83cc91f6afd159e857543488050426b
// Boost.TypeErasure library // // Copyright 2012 Steven Watanabe // // 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) // // $Id$ #ifndef BOOST_TYPE_ERASURE_FREE_HPP_INCLUDED #define BOOST_TYPE_ERASURE_FREE_HPP_INC...
C++
thirdparty/boost_1_67_0/boost/type_erasure/free.hpp
zcobell/MetOceanViewer
gpl-3.0
22,187
488
codeparrot/github-code
36efa004fd1c9586602505638826e3d5d33df99c62eab4237c7a327096600683
/*============================================================================= Copyright (c) 2012 Paul Fultz II delgate.h 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++
thirdparty/boost_1_67_0/boost/hof/detail/delegate.hpp
zcobell/MetOceanViewer
gpl-3.0
4,193
108
codeparrot/github-code
d421cc09c7805eb88e15dac95bdcb73db89524a8aec6f6690baa15b4c8eed1a3
/* * 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
phoenix-core/src/test/java/org/apache/phoenix/expression/LnLogFunctionTest.java
chiastic-security/phoenix-for-cloudera
apache-2.0
8,173
183
codeparrot/github-code
65262932c9c6bde4135fc4368dc9879645f12db08114288496d023804fef57d6
/** * @license * Copyright 2014 The Lovefield Project 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 ...
JavaScript
lib/proc/query_task.js
vasopikof/lovefield
apache-2.0
4,078
153
codeparrot/github-code
dcc49aa65b2dd1c59e554e3db4d21ff8ac1d2d76be47cd8dde5ce9e218932a99
/*====================================================================* - Copyright (C) 2001 Leptonica. 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 c...
C
tess-two/jni/com_googlecode_leptonica_android/src/src/fhmtauto.c
Drakefrog/tess-two
apache-2.0
31,769
798
codeparrot/github-code
b25366b0c4aac345e37248ec708d9439139eb65fb6459db2eb0f53659927abf9
/* * Copyright (c) 2005-2008 Chelsio, Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this source ...
C
kernelsource/msm/drivers/net/ethernet/chelsio/cxgb3/sge.c
CoderSherlock/Mondroid
gpl-2.0
93,563
3,307
codeparrot/github-code
c2944ba034b6ff2432aebf0e749cdad23763c86e4c866ce1b67f64949c1812b8
/**************************************************************************** Copyright (c) 2013 cocos2d-x.org http://www.cocos2d-x.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 re...
C
src/oslibs/cocos/cocos-src/cocos/editor-support/cocostudio/ActionTimeline/CCTimeLine.h
dios-game/dios-cocos
mit
2,817
87
codeparrot/github-code
c33938e6f555596d417a96a16d7d5767e6f9d5a2925557e46cc82584bef3a2d9
/* * Copyright (c) 2003, Intel Corporation. All rights reserved. * Created by: julie.n.fleischer REMOVE-THIS AT intel DOT com * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. */ /* * Test that if the access mode...
C
testcases/open_posix_testsuite/conformance/interfaces/mq_open/8-2.c
yankunsam/ltp
gpl-2.0
4,114
184
codeparrot/github-code
49d7b6f1e8515784aca8ded1eca7c58ebb1df7d2866b96553438bb23c15f37c2
//===-- tsan_mutex.cc -----------------------------------------------------===// // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // This file is a part of ThreadSan...
C++
libsanitizer/tsan/tsan_mutex.cc
iains/darwin-gcc-4-9
gpl-2.0
7,388
273
codeparrot/github-code
4dae546b2fd67086c701eedaac4fffd1d85bed2d3ea2b1848d645af312b5e0a5
/* * Copyright (c) 2005 Sandia Corporation. Under the terms of Contract * DE-AC04-94AL85000 with Sandia Corporation, the U.S. Governement * retains certain rights in this software. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following con...
C
libmesh/contrib/exodusii/5.22b/exodus/cbind/src/ex_put_set_dist_fact.c
vityurkiv/Ox
lgpl-2.1
5,693
165
codeparrot/github-code
7eca3031bff39c7157429143f0e9a1749300fd5db2d7d31ea7d257f4f2d56381
using System; using System.Collections.Generic; using System.Text; namespace Selenium.Internal.SeleniumEmulation { /// <summary> /// Defines the command for the controlKeyDown keyword. /// </summary> internal class ControlKeyDown : SeleneseCommand { private KeyState keyState; /// ...
C#
dotnet/src/webdriverbackedselenium/Internal/SeleniumEmulation/ControlKeyDown.cs
isaksky/selenium
apache-2.0
1,250
37
codeparrot/github-code
665bdff5775dbbf516e8f709addbc71c8405ea9ccf92c07a0e53d28715df1d77
#ifndef __JSMN_H_ #define __JSMN_H_ /** * JSON type identifier. Basic types are: * o Object * o Array * o String * o Other primitive: number, boolean (true/false) or null */ typedef enum { JSMN_PRIMITIVE = 0, JSMN_OBJECT = 1, JSMN_ARRAY = 2, JSMN_STRING = 3 } jsmntype_t; typedef enum { /* Not enough to...
C
xcc/test/clibs/jsmn/jsmn.h
JianpingZeng/xcc
bsd-3-clause
1,584
68
codeparrot/github-code
2ec0bdb9f89824a5a76cd4e85080276f59eb5df7697d60a025ab46a41c2c8be2
// 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. #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_RULES_REGISTRY_WITH_CACHE_H__ #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_RULES_REGISTRY_WITH_...
C
chromium/src/chrome/browser/extensions/api/declarative/rules_registry_with_cache.h
windyuuy/opera
bsd-3-clause
9,341
231
codeparrot/github-code
e4ca344a9dc544e469174b9930c25dcd7efed5b93c05d20f47b3d4d1c19baf8b
// // Nullable.h // // $Id: //poco/1.4/Foundation/include/Poco/Nullable.h#1 $ // // Library: Foundation // Package: Core // Module: Nullable // // Definition of the Nullable template class. // // Copyright (c) 2010, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-...
C
thirdparty/poco/Foundation/include/Poco/Nullable.h
weinzierl-engineering/baos
mit
6,274
322
codeparrot/github-code
e63b47b4da0fe998f176a5c8d5d7644e45fc08bf2173a16a2456d4bb2d6073da
/** @license MIT License (c) copyright B Cavalier & J Hann */ /** * wire/dojo/events plugin * wire plugin that can connect event handlers after an object is * initialized, and disconnect them when an object is destroyed. * This implementation uses dojo.connect and dojo.disconnect to do * the work of connecting an...
JavaScript
labs/architecture-examples/cujo/bower_components/wire/dojo/events.js
sedesigner2nd/AngularticsPinwheel
mit
2,497
91
codeparrot/github-code
76ff5222c0a6d6aa6814910f78f8e822f2b800fbc457b9ab7b4da2161bb24c3a
/*!*************************************************** * mark.js v8.7.0 * https://github.com/julmot/mark.js * Copyright (c) 2014–2017, Julian Motz * Released under the MIT license https://git.io/vwTVl *****************************************************/ "use strict"; var _extends = Object.assign || funct...
JavaScript
files/mark.js/8.7.0/mark.js
Asaf-S/jsdelivr
mit
34,934
852
codeparrot/github-code
3a43348586b13a228ffcc34ff070c57a9561122a2ae9e69fbb1b7b39521cb1d0
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C
engines/scumm/players/player_v2cms.h
blorente/scummvm
gpl-2.0
3,954
178
codeparrot/github-code
10e51549cfe5d0c4c15ee7dc395171f2bdcb22a8fe7e3e631621c6789bd1ea98
var vows = require("vows"), load = require("../load"), assert = require("../assert"); var suite = vows.describe("d3.layout.tree"); suite.addBatch({ "tree": { topic: load("layout/tree").expression("d3.layout.tree"), "computes a simple tree layout": function(tree) { var t = tree(); assert....
JavaScript
webroot/profiles/dkan/libraries/d3/test/layout/tree-test.js
angrycactus/dkan
gpl-2.0
1,577
60
codeparrot/github-code
ceb8d8459ec565636e64f9a887d1548166aca8fc74fed3ff225a7781431b4952
//===-- Debug.cpp - An easy way to add debug output to your code ----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
C++
tools/llvm/llvm_39/opt/lib/Support/Debug.cpp
vinutah/apps
gpl-3.0
5,491
159
codeparrot/github-code
34ccfcfb1221d049729628c2c23106b91a14e6a77fd05e5e4ac6d9474cddc4f8
/* * Copyright 2000-2017 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-api/src/com/intellij/execution/filters/OpenFileHyperlinkInfo.java
dahlstrom-g/intellij-community
apache-2.0
1,626
47
codeparrot/github-code
34005585ca85517dcd6300de94a6dc755598e79f19144de69427e798a92ea0a3
/* Copyright (c) 2007-2010, Troy D. Hanson http://uthash.sourceforge.net 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 retain the above copyright noti...
C
iotivity-1.0.1/extlibs/tinydtls/utlist.h
gerald-yang/ubuntu-iotivity-demo
apache-2.0
36,974
491
codeparrot/github-code
52738e7f6a2986e7dd8f80dd78d43249a6c5837d94884f269eab0352dfd3a7c0
'use strict'; /** * @description * Private service to sanitize uris for links and images. Used by $compile and $sanitize. */ function $$SanitizeUriProvider() { var aHrefSanitizationWhitelist = /^\s*(https?|ftp|mailto|tel|file):/, imgSrcSanitizationWhitelist = /^\s*(https?|ftp|file):|data:image\//; /** *...
JavaScript
test/input/projects/angular.js/fef0cfc/src/ng/sanitizeUri.js
ericsteele/retrospec.js
mit
2,916
75
codeparrot/github-code
bb70c35bef872cada6b6c080254eff9402ecee6698c68ec4b4774fe9ea63af03
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Class to model the static dictionary. */ #ifndef BROTLI_ENC_STATIC_DICT_H_ #define BROTLI_ENC_STATIC_DICT_H_ #include "../common/dictionary.h" #inc...
C
src/Native/AnyOS/brotli/enc/static_dict.h
Ermiar/corefx
mit
1,229
40
codeparrot/github-code
6a8453829fef57017e7b347632afed547bdc8285e90094276498b1ee6ba9d9cd
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C
engines/scumm/he/moonbase/ai_types.h
alexbevi/scummvm
gpl-2.0
2,558
98
codeparrot/github-code
b242ba97f47b22c6522f395a9c5aa10e60a6503549d18c3e4b9e922901087067
/**************************************************************************** * * ftserv.h * * The FreeType services (specification only). * * Copyright (C) 2003-2019 by * David Turner, Robert Wilhelm, and Werner Lemberg. * * This file is part of the FreeType project, and may only be used, * modified, and d...
C
unix/Xvnc/extras/freetype2/include/freetype/internal/ftserv.h
TurboVNC/turbovnc
gpl-2.0
25,669
522
codeparrot/github-code
eced167a69c7745ead68c9f761eaca21f904b5f573f96b3bf106ad992a6dde18
<?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
mod/workshop/assessment.php
jethac/moodle
gpl-3.0
14,122
291
codeparrot/github-code
2828589ff0186a021d0b5c12995d8addbf23f5f90fb0d7c9a851c027e3b96e53
// Copyright 2014 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 "base/basictypes.h" #include "base/compiler_specific.h" #include "base/prefs/pref_service.h" #include "chrome/browser/chromeos/login/login_manage...
C++
external/chromium_org/chrome/browser/ui/webui/options/chromeos/accounts_options_browsertest.cc
s20121035/rk3288_android5.1_repo
gpl-3.0
5,353
147
codeparrot/github-code
8856a8590bfccb13b357405103bd593910806dd2fbe1b7e9a8c7af1319062b85
/** * 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
dataMover/kafka/clients/src/test/java/org/apache/kafka/clients/ClientUtilsTest.java
WillCh/cs286A
bsd-2-clause
1,447
42
codeparrot/github-code
adbb9caae457da88304138a3d89b089b3adaa5d8f5e9e7ff3df194f7ad90b63a
YUI.add('editor-lists', function (Y, NAME) { /** * Handles list manipulation inside the Editor. Adds keyboard manipulation and execCommand support. * Adds overrides for the <a href="Plugin.ExecCommand.html#method_COMMANDS.insertorderedlist">insertorderedlist</a> * and <a href="Plugin.ExecCommand.ht...
JavaScript
static/yui3/editor-lists/editor-lists-debug.js
chauncey/there-be-docs
mit
4,484
128
codeparrot/github-code
b688b4f726a3924941f8f2d7d7725496a0430923720165bf95fde769d320e92d
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* Network filesystem support services. * * Copyright (C) 2021 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * See: * * Documentation/filesystems/netfs_library.rst * * for a description of the network filesystem interface d...
C
include/linux/netfs.h
tprrt/linux-stable
gpl-2.0
8,125
235
codeparrot/github-code
21a18215095b0b2b93999be7697a7e83ceb85be36b3253c47b247663826befa2
/* * rt5631.c -- RT5631 ALSA Soc Audio driver * * Copyright 2011 Realtek Microelectronics * * Author: flove <flove@realtek.com> * * Based on WM8753.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 * published by t...
C
sound/soc/codecs/rt5631.c
flyfire/linux
gpl-2.0
56,669
1,774
codeparrot/github-code
6107dc9d0e14ace32ddedb5ae8c0a717439e74f98e0c8149ba1b956621acc3a9
/* * Copyright 2011-2013 Freescale Semiconductor, Inc. * Copyright 2011 Linaro Ltd. * * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gp...
C
board/knobloch/TXT/board-support/ti-linux/arch/arm/mach-imx/clk-imx6q.c
ftCommunity/ft-TXT
gpl-2.0
33,429
502
codeparrot/github-code
1e22611a4a76884f2d7462853e0d1734fcb3c47206de84675cf0b5650d6318ff
# # Copyright (C) 2013 Instructure, Inc. # # This file is part of Canvas. # # Canvas is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation, version 3 of the License. # # Canvas is distributed in the hope that ...
Ruby
gems/incoming_mail_processor/lib/incoming_mail_processor/directory_mailbox.rb
dgynn/canvas-lms
agpl-3.0
2,900
106
codeparrot/github-code
00284140c099a3349d10fb94bd4cd88eb6f74bcb7e9687efb8fe0f4b927b3b7b
/* * 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
modules/ingest-common/src/main/java/org/elasticsearch/ingest/common/AppendProcessor.java
markwalkom/elasticsearch
apache-2.0
3,131
87
codeparrot/github-code
82fbd746d309257190f58bf4a4a368203ad20541bc9db2730d141af4380eed5f
/* * Copyright (c) 2015 - 2016, Freescale Semiconductor, 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: * * o Redistributions of source code must retain the above copyright notice, th...
C
FRDMK66NoEr/SDK_2.1_FRDM-K66F-GCC-Full/boards/frdmk66f/usb_examples/usb_suspend_resume_device_hid_mouse/freertos/usb_device_ch9.c
scottdarch/Noer
apache-2.0
44,816
958
codeparrot/github-code
fb0d6b69e3880dda6ae7014e7d0d65f71564f75ca518250dc618092abe5f1ca1
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/policy/core/common/schema.h" #include "base/memory/scoped_ptr.h" #include "base/strings/stringprintf.h" #include "components/policy/...
C++
components/policy/core/common/schema_unittest.cc
guorendong/iridium-browser-ubuntu
bsd-3-clause
39,514
1,180
codeparrot/github-code
9a49612764671717c102d0872947cbdc3b658f69b023e313f46e16debc1a9433
/* * Freescale SPI/eSPI controller driver library. * * Maintainer: Kumar Gala * * Copyright 2010 Freescale Semiconductor, Inc. * Copyright (C) 2006 Polycom, Inc. * * CPM SPI and QE buffer descriptors mode support: * Copyright (c) 2009 MontaVista Software, Inc. * Author: Anton Vorontsov <avorontsov@ru.mvista....
C
drivers/spi/spi-fsl-lib.h
jameshilliard/m8-3.4.0-gb1fa77f
gpl-2.0
3,062
123
codeparrot/github-code
3f9a102ab666b1d1b6391cc60038683a8ecf2d97bbbc3d6c03df48cd2642ed88
/* * Copyright (C) 1991, 1992 Linus Torvalds * Copyright (C) 2000, 2001, 2002 Andi Kleen, SuSE Labs */ #include <linux/kallsyms.h> #include <linux/kprobes.h> #include <linux/uaccess.h> #include <linux/utsname.h> #include <linux/hardirq.h> #include <linux/kdebug.h> #include <linux/module.h> #include <linux/ptrace....
C
arch/x86/kernel/dumpstack.c
david-a-wheeler/linux
gpl-2.0
7,847
355
codeparrot/github-code
e7aa191e2b60255e45a372567fafbd89a4307d20e4c551152ba27d64b72575bb
/* This testcase is part of GDB, the GNU debugger. Copyright 2009-2013 Free Software Foundation, 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; either version 3 of the License, or ...
C
gdb/testsuite/gdb.base/gnu-ifunc.c
hzq1001/or1k-src
gpl-2.0
1,431
62
codeparrot/github-code
6c40b29504fae02ca869042509ba2827a5af539755b4e85d34b3d2d7c22443c1
/* The IGEN simulator generator for GDB, the GNU Debugger. Copyright 2002-2013 Free Software Foundation, Inc. Contributed by Andrew Cagney. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published ...
C
sim/igen/gen-icache.c
ChristophTWeinmann/GDB
gpl-2.0
23,222
821
codeparrot/github-code
388a19b4d2d6096fb2dfb13d0f061e13ce9bcb9c9f6066130042c2d5cfd18197
using System; namespace Server.Factions { public class RankDefinition { private readonly int m_Rank; private readonly int m_Required; private readonly int m_MaxWearables; private readonly TextDefinition m_Title; public RankDefinition(int rank, int required, int maxWearab...
C#
Scripts/Services/Factions/Definitions/RankDefinition.cs
Ravenwolfe/ServUO16
gpl-2.0
1,062
48
codeparrot/github-code
f28af9ce8ffb017ea9e82e2460d1586041e958cd6e967c8a27be4634844c336b
#ifndef _ASM_X86_KGDB_H #define _ASM_X86_KGDB_H /* * Copyright (C) 2001-2004 Amit S. Kale * Copyright (C) 2008 Wind River Systems, Inc. */ #define BUFMAX 1024 #ifdef CONFIG_X86_32 enum regnames { GDB_AX, GDB_CX, GDB_DX, GDB_BX, GDB_SP, GDB_BP, GDB_SI, GDB_DI, GDB_PC, GDB_PS,...
C
arch/x86/include/asm/kgdb.h
jameshilliard/m8-3.4.0-gb1fa77f
gpl-2.0
1,178
77
codeparrot/github-code
5d1369cf86a7c072497f898ee7677f40c760c6b51b64c745c27d998b6582257f
/********************************************************************* * * Filename: timer.h * Version: * Description: * Status: Experimental. * Author: Dag Brattli <dagb@cs.uit.no> * Created at: Sat Aug 16 00:59:29 1997 * Modified at: Thu Oct 7 12:25:24 1999 ...
C
include/net/irda/timer.h
Evervolv/android_kernel_htc_msm8974
gpl-2.0
2,644
84
codeparrot/github-code
241007354888bc18c8105aa3d76a55084c1dbb5527a236656f2bd60a58de790f
/* * linux/arch/unicore32/kernel/puv3-core.c * * Code specific to PKUnity SoC and UniCore ISA * * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> * Copyright (C) 2001-2010 Guan Xuetao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Licen...
C
arch/unicore32/kernel/puv3-core.c
jameshilliard/m8-3.4.0-gb1fa77f
gpl-2.0
5,597
256
codeparrot/github-code
be148676ee7c70a2a68bd4d6ac95addee9bc31efb16ec22fb720234539f57722
/* * Copyright (c) 2005 Network Appliance, Inc. All rights reserved. * Copyright (c) 2005 Open Grid Computing, Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2...
C
include/rdma/iw_cm.h
jameshilliard/m8-3.4.0-gb1fa77f
gpl-2.0
3,908
135
codeparrot/github-code
88c3bb0df07b4fbbe5aa4e9f27112821511e6f6af66e270e13f19530f6ca729c
#ifndef _ASM_X86_USER_H #define _ASM_X86_USER_H #ifdef CONFIG_X86_32 # include "user_32.h" #else # include "user_64.h" #endif #include <asm/types.h> struct user_ymmh_regs { __u32 ymmh_space[64]; }; struct user_xsave_hdr { __u64 xstate_bv; __u64 reserved1[2]; __u64 reserved2[5]; }; #define USER_XSTATE_FX_SW_W...
C
arch/x86/include/asm/user.h
jameshilliard/m8-3.4.0-gb1fa77f
gpl-2.0
551
37
codeparrot/github-code
79cf96d794101c3071821f0dc8d37901c5ae9903d21cb4676e26b7b5356d0e40
<?php // This file keeps track of upgrades to // the glossary module // // Sometimes, changes between versions involve // alterations to database structures and other // major things that may break installations. // // The upgrade function in this file will attempt // to perform all the necessary actions to upgrade //...
PHP
mod/glossary/db/upgrade.php
Chitrank-Dixit/suryoday_moodle
gpl-3.0
1,823
66
codeparrot/github-code
23e6d0d429c98fc0340f38b8808ab5fba42821d77c04591b891ea62b5bbbfcdb
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2012-Today OpenERP SA (<http://www.openerp.com>) # # This program is free software: you can redistribute it and/or modify # it under the terms o...
Python
openerp/addons/mail/wizard/invite.py
jaggu303619/asylum
agpl-3.0
4,418
82
codeparrot/github-code
a9bccf6f95cae97bc70eccdc27f63ce6918c2cf276f12dd6cd82a65760475338
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AnalyzerPowerPack.Usage; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using...
C#
src/Unfactored/AnalyzerPowerPack/CSharp/Usage/CSharpCA2200DiagnosticAnalyzer.cs
mattwar/roslyn-analyzers
apache-2.0
2,502
63
codeparrot/github-code