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 |
|---|---|---|---|---|---|---|---|---|
6d116f50c13703853dca02f82600345bfb0fad34d78b56550aacaab26a48627c | // 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 "base/prefs/pref_member.h"
#include "base/callback.h"
#include "base/callback_helpers.h"
#include "base/location.h"
#include "base/message_l... | C++ | third_party/chromium/base/prefs/pref_member.cc | michaelforfxhelp/master | mpl-2.0 | 6,565 | 229 | codeparrot/github-code |
fad3771ab8009e4684045c895aa7d805c034e41fd17f3f19f1bdf3da1b056d78 | /*
* 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 | plugins/groovy/src/org/jetbrains/plugins/groovy/intentions/style/RemoveUnnecessaryReturnIntention.java | smmribeiro/intellij-community | apache-2.0 | 2,280 | 56 | codeparrot/github-code |
e9c4e53f229500f9889a7890e5d9129e415092d1d32d6dcc8dd8e19e2ee0ed7e | /*
* linux/drivers/video/s3fb.c -- Frame buffer device driver for S3 Trio/Virge
*
* Copyright (c) 2006-2007 Ondrej Zajicek <santiago@crfreenet.org>
*
* 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 deta... | C | media/drivers/video/fbdev/s3fb.c | iwinoto/v4l-media_build | gpl-2.0 | 45,841 | 1,598 | codeparrot/github-code |
12fea250c9354e9d367fc2487540e6f0e711827fc2a11cb312bc01edc9ef97ee | #include <boost/test/unit_test.hpp>
#include "init.h"
#include "main.h"
#include "uint256.h"
#include "util.h"
#include "wallet.h"
/*extern void SHA256Transform(void* pstate, void* pinput, const void* pinit);
BOOST_AUTO_TEST_SUITE(miner_tests)
static
struct {
unsigned char extranonce;
unsigned int nonce;
} ... | C++ | src/test/miner_tests.cpp | kombatcoin/KAP | mit | 8,655 | 231 | codeparrot/github-code |
df9102e7a1491827c097cb0d0050c7362c967c293899be7140ee4e89b550be68 | package com.siyeh.igtest.style.unnecessary_fully_qualified_name;
import java.io.PrintStream;
import java.util.Properties;
/**
* {@link java.lang.String}
*/
public class UnnecessaryFullyQualifiedName
{
private String m_string1;
private java.lang.String m_string;
private java.util.StringTokenizer m_map;
... | Java | plugins/InspectionGadgets/test/com/siyeh/igtest/style/unnecessary_fully_qualified_name/UnnecessaryFullyQualifiedName.java | siosio/intellij-community | apache-2.0 | 1,174 | 58 | codeparrot/github-code |
5a5ac77bdb8822fed7dfb3205e249894b42895332478f9df95ee6aa8dfef776e | //////////////////////////////////////////////////////////////////////////
//
// Scheduler.h: Schedules when video frames are presented.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTAB... | C | third_party/Microsoft/EVRPresenter/scheduler.h | google/sagetv | apache-2.0 | 3,265 | 102 | codeparrot/github-code |
4f604a51729179ae177a2c35551eb9fa07a9a1627d97612dccb077a09830f4eb | /*
* Copyright 2015 The SageTV 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 ap... | Java | java/sage/vfs/sort/EpisodeIDSorter.java | neurocis/sagetv | apache-2.0 | 1,641 | 58 | codeparrot/github-code |
1f03784c59ebcaaf5bc87a651425accb5d1810adfaaaeb6686c5ec1c90ab67d9 | // 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.
// StorageMonitorLinux processes mount point change events, notifies listeners
// about the addition and deletion of media devices, and answers querie... | C | src/chrome/browser/storage_monitor/storage_monitor_linux.h | plxaye/chromium | apache-2.0 | 5,643 | 147 | codeparrot/github-code |
17263063034b23e92f0142939447ad16ea55822fb2b44188a7dd259353f24bff | /*
* drivers/input/touchscreen/jornada720_ts.c
*
* Copyright (C) 2007 Kristoffer Ericson <Kristoffer.Ericson@gmail.com>
*
* Copyright (C) 2006 Filip Zyzniewski <filip.zyzniewski@tefnet.pl>
* based on HP Jornada 56x touchscreen driver by Alex Lange <chicken@handhelds.org>
*
* This program is free software; you... | C | src/drivers/input/touchscreen/jornada720_ts.c | felixhaedicke/nst-kernel | gpl-2.0 | 4,846 | 187 | codeparrot/github-code |
ab0a872dbf50804cbcda35732d43b0870117e9b475fab3178317630e0654a2d3 | <?php
namespace Kunstmaan\TranslatorBundle\Model;
use Symfony\Component\Validator\Constraints as Assert;
class TextWithLocale
{
/**
* @var string
*/
protected $id;
/**
* @var string
* @Assert\NotBlank()
*/
protected $locale;
/**
* @var string
*/
protected ... | PHP | src/Kunstmaan/TranslatorBundle/Model/TextWithLocale.php | Amrit01/KunstmaanBundlesCMS | mit | 1,175 | 82 | codeparrot/github-code |
79a2c2b770078d84200b1ac7d1ec78b8ec6cede8d9d420273483f40712d46e4b | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
* CKFinder
* ========
* http://cksource.com/ckfinder
* Copyright (C) 2007-2013, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are ... | HTML | wp-content/plugins/ckeditor-for-wordpress/ckfinder/_samples/standalone.html | hanluner/jianpan | gpl-2.0 | 3,611 | 88 | codeparrot/github-code |
1686142fc92f07027120e3d6c3fbdceb68e8130c179ea68ba9ff76d60f75edf6 | using System;
using Server.Mobiles;
namespace Server.Engines.Quests.Samurai
{
[CorpseName("an injured wolf corpse")]
public class InjuredWolf : BaseCreature
{
[Constructable]
public InjuredWolf()
: base(AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
{
... | C# | Scripts/Quests/Haochi's Trials/Mobiles/InjuredWolf.cs | Itsinmybackpack/CreateUO | gpl-3.0 | 1,533 | 61 | codeparrot/github-code |
0ed0a00db799cae1d2d3cb87f00eea5e54eea799acd0e7da56a54506d690f8fd | // Handles related-objects functionality: lookup link for raw_id_fields
// and Add Another links.
function html_unescape(text) {
// Unescape a string that was escaped using django.utils.html.escape.
text = text.replace(/</g, '<');
text = text.replace(/>/g, '>');
text = text.replace(/"/g, '"'... | JavaScript | wiki/static/admin/js/admin/RelatedObjectLookups.js | tinutomson/wikicoding | gpl-3.0 | 4,773 | 140 | codeparrot/github-code |
43c7361548c323ff2b856bcf885a7347c183318516bc7cd0b7ed593fe9abfdfe | // Author: Richard Maunder 04/08/05
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | C | graf3d/x3d/inc/TX3DFrame.h | simonpf/root | lgpl-2.1 | 1,468 | 40 | codeparrot/github-code |
48eea2e09e6e9b0878d16cf72c07f5f3a949cdb74be4cc6d20d69fbd4b490502 | /**
* @license
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | JavaScript | src/mdlComponentHandler.js | lintangarief/material-design-lite | apache-2.0 | 13,017 | 377 | codeparrot/github-code |
4c8c154c12e377370250175907de260e9b36b4c9081b82cafb6fb9bf46cf2d53 | /*
* Copyright (c) 2005-2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | Java | components/deployment-synchronizer/org.wso2.carbon.deployment.synchronizer.git/src/main/java/org/wso2/carbon/deployment/synchronizer/git/TenantGitRepositoryContext.java | shazni/carbon-commons | apache-2.0 | 3,046 | 122 | codeparrot/github-code |
5c4aec7ffe85d7051f7ae901c9744f3a1b4b4cf1263a96e58c7ec8eaf6368733 | /*
* Sierra VMD Format Demuxer
* Copyright (c) 2004 The ffmpeg Project
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Li... | C | third_party/mplayer/libavformat/sierravmd.c | google/sagetv | apache-2.0 | 10,696 | 303 | codeparrot/github-code |
a9188d1f09bb0f1660a9abd74fae850e79fd41e19e273eb12642aeab1829037e | // 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 UI_GFX_ANIMATION_TWEEN_H_
#define UI_GFX_ANIMATION_TWEEN_H_
#include "base/basictypes.h"
#include "third_party/skia/include/core/SkColor.h"
#... | C | ui/gfx/animation/tween.h | guorendong/iridium-browser-ubuntu | bsd-3-clause | 2,980 | 73 | codeparrot/github-code |
1a0e48bd2b1d8996537f1c812f2a62f2edb3b7690d1c51fd8f067b065ba08f29 | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | C++ | third_party/libc++/trunk/test/algorithms/alg.nonmodifying/alg.equal/equal.pass.cpp | mxOBS/deb-pkg_trusty_chromium-browser | bsd-3-clause | 2,694 | 67 | codeparrot/github-code |
b09000b5775489ca5c2241ebe95d09e33efb49fb5ac85595053cf7612ce323eb | <!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http:/... | HTML | third_party/polymer/v1_0/components/paper-scroll-header-panel/paper-scroll-header-panel.html | TheTypoMaster/chromium-crosswalk | bsd-3-clause | 11,661 | 456 | codeparrot/github-code |
65fffc2f14a67a115ffcdd01872bbca749d35592456826cfecb03fcae7f18944 | <?php
namespace Drupal\Core\Path;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Cache\CacheCollector;
use Drupal\Core\State\StateInterface;
use Drupal\Core\Lock\LockBackendInterface;
/**
* Extends CacheCollector to build the path alias whitelist over time.
*/
class AliasWhitelist extends CacheCollec... | PHP | web/core/lib/Drupal/Core/Path/AliasWhitelist.php | JeramyK/training | gpl-2.0 | 3,482 | 121 | codeparrot/github-code |
a83f73e2b5c0451b5610f6e287c414eee9bca4d57caa0519f37b0f0ee53e074a | /*
* wm_hubs.c -- WM8993/4 common code
*
* Copyright 2009 Wolfson Microelectronics plc
*
* 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 License version 2 as
* published by th... | C | sound/soc/codecs/wm_hubs.c | flyfire/linux | gpl-2.0 | 33,068 | 982 | codeparrot/github-code |
a8e39bf13dac1b6ec1f96cd3ff509a3d062217877c68e30f785e593418953fce | /******************************************************************
*
* Copyright 2015 Samsung Electronics 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
*
* ht... | C++ | resource/csdk/connectivity/src/tcp_adapter/arduino/catcpadapterutils_eth.cpp | kadasaikumar/iotivity-1.2.1 | gpl-3.0 | 2,228 | 83 | codeparrot/github-code |
9bd1295ed27cc18a90c7dcb0b65776394c1e29c07a80155ff5fe8ab76c8675b7 | __author__ = 'keyvan&ramin'
from opencog.atomspace import AtomSpace, TruthValue
import quad_reader
DEFAULT_TV = TruthValue(1,1)
def map_from_path(quad_dump_path, atomspace):
quads = quad_reader.extract_quads(quad_dump_path)
for quad in quads:
try:
value = int(quad.value)
value... | Python | opencog/python/freebase/quad_mapper.py | eddiemonroe/opencog | agpl-3.0 | 2,238 | 52 | codeparrot/github-code |
4c67c1361f8df7071a869b076e58407a43004dd2a5686ced9df31a63d8913d3e | <a href="http://github.com/angular/angular.js/edit/master/docs/content/guide/compiler.ngdoc" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> Improve this doc</a><h1><code ng:non-bindable=""></code>
<div><span class="hint"></span>
</div>
</h1>
<div><div class="developer-guide-page developer-guide-html-co... | HTML | web/lib/angular/docs/partials/guide/compiler.html | tecnocat/alterbooks | mit | 7,584 | 126 | codeparrot/github-code |
14b14210baf8d23a446ce7a253ea6bc1509819b46874e2e7019604b55f6ab1f0 | /****************************************************************************
Copyright (C) 2013 Henry van Merode. All rights reserved.
Copyright (c) 2015 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associa... | C | src/cocos2d-js/frameworks/js-bindings/cocos2d-x/extensions/Particle3D/PU/CCPURender.h | NatWeiss/RGP | mit | 7,265 | 251 | codeparrot/github-code |
9986cbbf2cea673bbe4db300c6d36067d9c1f1851a5a2b994f688ad50d1cf88a | <?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\Messenger\Stamp;
/**
* Apply this stamp to delay del... | PHP | src/Symfony/Component/Messenger/Stamp/DelayStamp.php | Simperfit/symfony | mit | 668 | 34 | codeparrot/github-code |
7a25184f11abafd9dcfab1d9a5936a9373a076c77883480ba030a29efd9e7bc3 | /*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2001-2005 The Apache Software Foundation.
*
* 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.... | Java | testing/openjdk2/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/ParentLocationPath.java | rokn/Count_Words_2015 | mit | 9,715 | 253 | codeparrot/github-code |
d9c1258598ed0764025b8161edfaf967c9bb45d5e3bb1b65cc5fe2827fe163d5 | /*
* LoCoMo keyboard driver for Linux-based ARM PDAs:
* - SHARP Zaurus Collie (SL-5500)
* - SHARP Zaurus Poodle (SL-5600)
*
* Copyright (c) 2005 John Lenz
* Based on from xtkbd.c
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License... | C | drivers/input/keyboard/locomokbd.c | mlachwani/Android-4.4.3-HTC-M8-Kernel-ATT | gpl-2.0 | 8,786 | 347 | codeparrot/github-code |
44ba8c4d50def8bf2c3cd861cc35defa76c2868c8fd460744b1a851e5f69d2e9 |
package IO::Uncompress::Base ;
use strict ;
use warnings;
#use bytes;
our (@ISA, $VERSION, @EXPORT_OK, %EXPORT_TAGS);
@ISA = qw(Exporter IO::File);
$VERSION = '2.068';
use constant G_EOF => 0 ;
use constant G_ERR => -1 ;
use IO::Compress::Base::Common 2.068 ;
use IO::File ;
use Symbol;
use Scalar::Util ();
u... | Perl | usr/share/perl5/core_perl/IO/Uncompress/Base.pm | arpitdwivedi/testproject | gpl-2.0 | 38,092 | 1,557 | codeparrot/github-code |
9e8a088f4db313202ca0821f91a6187562131067d3a92b9378522e6ccec2cee7 | using System;
using System.Collections.Generic;
using Server.ContextMenus;
using Server.Gumps;
using Server.Multis;
using Server.Network;
namespace Server.Items
{
[FlipableAttribute(0x234C, 0x234D)]
public class RoseOfTrinsic : Item, ISecurable
{
private static readonly TimeSpan m_SpawnTime = TimeS... | C# | Scripts/Items/Tools/RoseOfTrinsic.cs | SirGrizzlyBear/ServUOGrizzly | gpl-2.0 | 6,441 | 238 | codeparrot/github-code |
f1ce72ffe4e15bf9de38357adab206620434673e443a99c180ca9e221d7cd765 | // SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2017, Linaro Ltd
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/mailbox_c... | C | drivers/mailbox/qcom-apcs-ipc-mailbox.c | koct9i/linux | gpl-2.0 | 3,905 | 149 | codeparrot/github-code |
7d67c99bf272a224e20b9b7c4db64d30f0f2d13bbf65e923ed2ff8d8072f2099 |
#define RETRY_UNLIMITED 0
struct balloon_stats {
unsigned long current_pages;
unsigned long target_pages;
unsigned long balloon_low;
unsigned long balloon_high;
unsigned long schedule_delay;
unsigned long max_schedule_delay;
unsigned long retry_count;
unsigned long max_retry_count;
#ifdef CONFIG_XEN_BALLO... | C | include/xen/balloon.h | jameshilliard/m8-3.4.0-gb1fa77f | gpl-2.0 | 862 | 38 | codeparrot/github-code |
fb3f5b56bc06225710271b97ebc086f80d7a2661913fb692f3d41704c4c696df | /*
* Copyright (c) 2013, 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 h... | C | net/rmnet_data/rmnet_data_config.h | jameshilliard/m8-3.4.0-gb1fa77f | gpl-2.0 | 2,048 | 70 | codeparrot/github-code |
0da1fe1e3be784b1ca7de6175a35b4af85f95d0f8142a36fe69ecf5576d5800c | <?php
error_reporting(E_ALL & ~E_NOTICE);
ini_set("display_errors", 1);
// Load up the LTI Support code
require_once 'util/lti_util.php';
require_once 'util/mimeparse.php';
session_start();
header('Content-Type: text/html; charset=utf-8');
// Initialize, all secrets are 'secret', do not set session, and do not red... | PHP | basiclti/basiclti-docs/resources/docs/sakai-api-test/tool.php | ouit0408/sakai | apache-2.0 | 8,806 | 205 | codeparrot/github-code |
745b51e75b9edb0731fc73747fab9f442b72143c01581b90950038f33c263fd7 | // Copyright (c) 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.
#ifndef CHROME_COMMON_EXTENSIONS_WEB_ACCESSIBLE_RESOURCES_HANDLER_H_
#define CHROME_COMMON_EXTENSIONS_WEB_ACCESSIBLE_RESOURCES_HANDLER_H_
#include <s... | C | src/chrome/common/extensions/web_accessible_resources_handler.h | plxaye/chromium | apache-2.0 | 1,798 | 51 | codeparrot/github-code |
0283f44128bc49a6fe12f363b9705a02f7258ac5a4da476f3fb7ca4a9c75e023 | /**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModu... | JavaScript | src/renderers/shared/stack/reconciler/ReactReconciler.js | shergin/react | bsd-3-clause | 6,392 | 222 | codeparrot/github-code |
619052d48bbb6d9c9e6d5994a3573a38d9e29ef9d9a6a0fda6c3b706a65de55a | <?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2017, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... | PHP | system/core/Security.php | rajithahari/CSR | mit | 28,129 | 1,058 | codeparrot/github-code |
bd4d150af2e3acd63e968385a3e803feca2b99a04175d3148f11088551b81fc2 | /***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | C | v7.38.0/docs/examples/smtp-mail.c | iSCInc/cURL | mit | 4,772 | 138 | codeparrot/github-code |
b07acb6670ec671905c3272f99654d8a509059490def1e8ab796d88678889aae | // Copyright (C) 2005-2014 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, or (at your op... | C++ | libstdc++-v3/testsuite/25_algorithms/replace/check_type.cc | RenderBroken/GCC-UBER | gpl-2.0 | 1,158 | 38 | codeparrot/github-code |
257d1625d4bd4dd622a72a64de2a6828e72cf65ffa322338fdd65c6fe4139706 | # SPDX-License-Identifier: GPL-2.0
# Makefile for making ELF bootable images for booting on CHRP
# using Open Firmware.
#
# Geert Uytterhoeven September 1997
#
# Based on coffboot by Paul Mackerras
# Simplified for ppc64 by Todd Inglett
#
# NOTE: this code is built for 32 bit in ELF32 format even though
# it packages a... | Makefile | arch/powerpc/boot/Makefile | koct9i/linux | gpl-2.0 | 19,491 | 513 | codeparrot/github-code |
95af93a15d770800e7331540c9511f85dffd4431c6d7bb15b88e6a21641c6eb2 | using System;
namespace Server.Items
{
public class GreaterCurePotion : BaseCurePotion
{
private static readonly CureLevelInfo[] m_OldLevelInfo = new CureLevelInfo[]
{
new CureLevelInfo(Poison.Lesser, 1.00), // 100% chance to cure lesser poison
new CureLevelInfo(Poison.R... | C# | Scripts/Items/Skill Items/Magical/Potions/Cure Potions/GreaterCurePotion.cs | Jascen/UOSmart | gpl-2.0 | 1,757 | 55 | codeparrot/github-code |
c5f270bb9458cc37c8294be5e9d436ffa978c041807037964524f46c1e6a8722 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from os.path import join
import re
from urllib import unquote
from base64 import standard_b64decode
from binascii import unhexlify
from bottle import route, request, HTTPError
from webinterface import PYLOAD, DL_ROOT, JS
try:
from Crypto.Cipher import AES
except:
... | Python | module/web/cnl_app.py | LePastis/pyload | gpl-3.0 | 4,421 | 165 | codeparrot/github-code |
30afe2882bc7cf032810973e573784e80c454466f0691e14d8d5c6380b7c11d7 | // 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 "extensions/browser/suggest_permission_util.h"
#include "base/strings/stringprintf.h"
#include "content/public/browser/render_frame_host.h"
... | C++ | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/extensions/browser/suggest_permission_util.cc | geminy/aidear | gpl-3.0 | 2,288 | 66 | codeparrot/github-code |
4746ad09e0bf10151faa119e3992bed01513de6471dd76425f78d7c943897e7f | #! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions... | Python | src/nupic/data/CategoryFilter.py | mcanthony/nupic | agpl-3.0 | 2,276 | 80 | codeparrot/github-code |
f147deb040b9d19a1a48b13a8c9eae500afc7baa75b52dda9c9eea22bd7de03b | /*
* 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 | testing/junit/scriptable/src/main/java/org/apache/sling/junit/scriptable/ExplainTests.java | trekawek/sling | apache-2.0 | 1,606 | 40 | codeparrot/github-code |
a66134b64885da2e9fbc5b44544b05c8377318c939091ca2229a68169f93daa7 | /****************************************************************************
Copyright (c) 2013 Zynga Inc.
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation fi... | C++ | src/DungeonClient/cocos2d/cocos/2d/CCLabel.cpp | skatpgusskat/Dungeon | mit | 37,619 | 1,373 | codeparrot/github-code |
5c3eebec9663831e0b8014bc44e902011d22d0f591eabaa83bde54add155ed0b | // 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.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using System.Security.Princip... | C# | src/System.Security.Claims/src/System/Security/Claims/ClaimsIdentity.cs | Ermiar/corefx | mit | 39,046 | 985 | codeparrot/github-code |
1057b1a91a7203bdd0575c2c5a473db95c73e06a06645aee4fc15f99e6565f4c | import Mmenu from '../../core/oncanvas/mmenu.oncanvas';
import options from './_options';
import { extendShorthandOptions } from './_options';
import * as DOM from '../../_modules/dom';
import { extend } from '../../_modules/helpers';
// Add the options.
Mmenu.options.columns = options;
export default function () {
... | JavaScript | ajax/libs/mmenu-js/8.5.9/addons/columns/mmenu.columns.js | cdnjs/cdnjs | mit | 4,374 | 115 | codeparrot/github-code |
0866317ad192bd8ee7514e91434673a6017dd475988b868add64848efe2ee4c9 | // SPDX-License-Identifier: GPL-2.0
/*
* Implementation of the hash table type.
*
* Author : Stephen Smalley, <sds@tycho.nsa.gov>
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include "hashtab.h"
static struct kmem_cache *hashtab_node_cachep;
/*
* Here we... | C | security/selinux/ss/hashtab.c | skalk/linux | gpl-2.0 | 3,864 | 178 | codeparrot/github-code |
b4ab6f8d9289379cd8de2e13dbe3630bd4907bbe59f08827e31ce7f4ef89160d | // SPDX-License-Identifier: GPL-2.0
/*
* Page table allocation functions
*
* Copyright IBM Corp. 2016
* Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>
*/
#include <linux/sysctl.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <asm/mmu_context.h>
#include <asm/pgalloc.h>
#include <asm/gmap.... | C | arch/s390/mm/pgalloc.c | qzhuyan/linux | gpl-2.0 | 16,940 | 669 | codeparrot/github-code |
074a284ddcf166629ac50cd85c1ae627a3ec39079406a0bf7655e75d7d1e39f3 | /*
* talitos - Freescale Integrated Security Engine (SEC) device driver
*
* Copyright (c) 2008-2011 Freescale Semiconductor, Inc.
*
* Scatterlist Crypto API glue code copied from files with the following:
* Copyright (c) 2006-2007 Herbert Xu <herbert@gondor.apana.org.au>
*
* Crypto algorithm registration code c... | C | drivers/crypto/talitos.c | linuxium/ubuntu-xenial | gpl-2.0 | 89,191 | 3,096 | codeparrot/github-code |
589a6edda25bca075e96b99fd458007b19466545d7b272d012f5e97a0159d9db | /*
* Copyright (C) Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | C++ | endless-tunnel/src/main/jni/text_renderer.hpp | xiaoxie/android-ndk | apache-2.0 | 2,292 | 72 | codeparrot/github-code |
b618896fc695aa0f8e3a39dd62fbd762cd1cb53b0f677afd77c4f44b919b91ad | windowFunctions['Query Place'] = function (evt) {
var win = createWindow();
var offset = addBackButton(win);
var table = Ti.UI.createTableView({
backgroundColor: '#fff',
top: offset + u, bottom: 0,
data: [
{ title: 'Loading, please wait...' }
]
});
table.... | JavaScript | modules/commonjs/ti.cloud/3.2.3/example/windows/places/query.js | mgostisha/lolapp | apache-2.0 | 1,300 | 44 | codeparrot/github-code |
9b421af9c341ef390dbb23cf921af33686655c7cc536916a3efabb776b06229b | //===-- WebAssemblyArgumentMove.cpp - Argument instruction moving ---------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C++ | third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/WebAssemblyArgumentMove.cpp | endlessm/chromium-browser | bsd-3-clause | 3,444 | 98 | codeparrot/github-code |
8be6b0f21d27c311741eb2119f8bcf29a9b117306d194f8d516519f00f84d887 | /*
* Cryptographic API.
*
* Deflate algorithm (RFC 1951), implemented here primarily for use
* by IPCOMP (RFC 3173 & RFC 2394).
*
* Copyright (c) 2003 James Morris <jmorris@intercode.com.au>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public ... | C | unionfs-3.10.y/crypto/deflate.c | prasidh09/cse506 | gpl-2.0 | 5,511 | 226 | codeparrot/github-code |
4d33d68553f3f4bf031c16d4a82b69761a25247d61c874329084b1881d3afadb | import * as util from 'gulp-util';
import * as rimraf from 'rimraf';
/**
* Cleans the given path(s) using `rimraf`.
* @param {string or string[]} paths - The path or list of paths to clean.
*/
export function clean(paths: string|string[]): (done: () => void) => void {
return done => {
let pathsToClean: string... | TypeScript | tools/utils/seed/clean.ts | davidkang200/jamong | mit | 818 | 32 | codeparrot/github-code |
a05745f9b3f8c7f021e589eb140ed524f9f7229e70053a952c33def2c299092d | /*
* QEMU Cirrus CLGD 54xx VGA Emulator, ISA bus support
*
* Copyright (c) 2004 Fabrice Bellard
* Copyright (c) 2004 Makoto Suzuki (suzu)
*
* 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 Soft... | C | qemu/hw/display/cirrus_vga_internal.h | Cisco-Talos/pyrebox | gpl-2.0 | 3,858 | 104 | codeparrot/github-code |
d0933af72aa886bd3d1fe65f81a6f79a2353e9077560b52c2a5794ef5f879162 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2010-2011 Jo-Philipp Wich <xm@subsignal.org>
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
htt... | Lua | package/ramips/ui/luci-mtk/src/applications/luci-firewall/luasrc/model/cbi/firewall/zone-details.lua | feiying1460/witi-openwrt | gpl-2.0 | 6,267 | 244 | codeparrot/github-code |
f3411107d61724982d2e28df6262256e32902a81b21e44c97d4aca22af5c03c3 | /**
* Copyright (c) 2003-2017 The Apereo Foundation
*
* Licensed under the Educational Community 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://opensource.org/licenses/ecl2
*
* Unless requ... | Java | kernel/kernel-impl/src/test/java/org/sakaiproject/component/impl/ToolConfigurationServiceTest.java | OpenCollabZA/sakai | apache-2.0 | 3,739 | 110 | codeparrot/github-code |
77c6b2487c338bcb8de033f078d2dd1051a429e302aff9bbcce077f64a0a456d | /*
* 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")... | Java | src/main/org/codehaus/groovy/antlr/treewalker/Visitor.java | paplorinc/incubator-groovy | apache-2.0 | 13,600 | 261 | codeparrot/github-code |
200ef555ee64a516abc6a9c76ed2de507091987c34aa0c3875579d5aefe0edd8 | /*
* 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 | server/src/main/java/org/elasticsearch/index/translog/TranslogConfig.java | scorpionvicky/elasticsearch | apache-2.0 | 3,257 | 98 | codeparrot/github-code |
3867fd219b3af5835cde1f34777dca4f773dbe367273c92a5fdbbf88573b8a85 | package com.amazonaws.services.simpleworkflow.flow;
import com.amazonaws.services.simpleworkflow.flow.core.Functor;
import com.amazonaws.services.simpleworkflow.flow.core.Promise;
import com.amazonaws.services.simpleworkflow.flow.core.Settable;
import com.amazonaws.services.simpleworkflow.flow.core.TryCatchFinally;
im... | Java | src/main/java/com/amazonaws/services/simpleworkflow/flow/DynamicActivitiesClientImpl.java | XidongHuang/aws-sdk-for-java | apache-2.0 | 6,297 | 165 | codeparrot/github-code |
6c6a9ff50d7fa47db982a56f423a3f8dae75ae0c604cf6ad97540d78bf7f1997 | // 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.Collections;
using System.Diagnostics;
using System.Threading;
namespace System.Text
{
//
// D... | C# | src/System.Private.CoreLib/shared/System/Text/EncodingTable.cs | poizan42/coreclr | mit | 7,495 | 194 | codeparrot/github-code |
ed8b68cad1637016e96d9fd2c2150dbc42103f7c7fc8ad1638f5f3895fb8d958 | /*
* dialog.h -- common declarations for all dialog modules
*
* AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
*
* 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 Li... | C | uClibc/extra/config/lxdialog/dialog.h | rhuitl/uClinux | gpl-2.0 | 6,557 | 225 | codeparrot/github-code |
a7e66aca568c95a1aea2094ace4e19d0948cd1cb6621fa3aca3c80729c2697cf | /**
* @version $Id$
* @package JSN_Sample
* @author JoomlaShine Team <support@joomlashine.com>
* @copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved.
* @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
*
* Websites: http://www.joomlashine.com
* Technical Support:... | JavaScript | tmp/jsn_ext_imageshow_free_j3.4_install/admin/assets/js/installer/mootools_compat.js | nixh/Future-iService | gpl-2.0 | 9,580 | 301 | codeparrot/github-code |
76d3ed94d9ac94be3dd3a9503b48c92c9f8f34445546707cdd40c95845d0aa94 | /**
*
* Web Starter Kit
* 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
*
... | JavaScript | gulpfile.js | ben-prince/ben-prince.github.io | apache-2.0 | 5,634 | 191 | codeparrot/github-code |
6a8279b1f6ae688a859309f71cbf32c5c7c50e54e18b613e613ee20935266b72 | // SPDX-License-Identifier: GPL-2.0
/*
* r8a77980 Clock Pulse Generator / Module Standby and Software Reset
*
* Copyright (C) 2018 Renesas Electronics Corp.
* Copyright (C) 2018 Cogent Embedded, Inc.
*
* Based on r8a7795-cpg-mssr.c
*
* Copyright (C) 2015 Glider bvba
*/
#include <linux/device.h>
#include <linu... | C | drivers/clk/renesas/r8a77980-cpg-mssr.c | uniphier/linux-unph | gpl-2.0 | 8,369 | 238 | codeparrot/github-code |
c6f84f6801220e757c04432679c9970bd9515fcfd098fe880f3b8c2894ba0c74 | // 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 "ui/base/android/ui_base_jni_registrar.h"
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
#include "ui/base/androi... | C++ | ui/base/android/ui_base_jni_registrar.cc | 7kbird/chrome | bsd-3-clause | 1,330 | 37 | codeparrot/github-code |
aad1cb189deffeadd5e752d9fd409a87474ef59155497e3db24b0f8770098863 | // SPDX-License-Identifier: GPL-2.0-only
/*
* keymap imported from cxusb.c
*
* Copyright (C) 2016 Sean Young
*/
#include <media/rc-map.h>
#include <linux/module.h>
static struct rc_map_table rc_map_dvico_portable_table[] = {
{ 0x0302, KEY_SETUP }, /* Profile */
{ 0x0343, KEY_POWER2 },
{ 0x0306, KEY_EPG }... | C | linux-5.8/drivers/media/rc/keymaps/rc-dvico-portable.c | CSE3320/kernel-code | gpl-2.0 | 1,830 | 74 | codeparrot/github-code |
c03fede5f8262805e0cbbe01214d4a5888b1976bd32a36838a65dfda6edfca40 | // SPDX-License-Identifier: GPL-2.0-or-later
/*
* Timers abstract layer
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*/
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/mutex.h>
#include <linux/device.h>
#include <linux/module.h>
#include <lin... | C | sound/core/timer.c | GuillaumeSeren/linux | gpl-2.0 | 59,738 | 2,348 | codeparrot/github-code |
1d88f124291953e19417506ead97370b384e5ce3a0427812c37a97d6d4040ca4 | /*---------------------------------------------------------------------------
wpng - simple PNG-writing program wpng.c
This program converts certain NetPBM binary files (grayscale and RGB,
maxval = 255) to PNG. Non-interlaced PNGs are written progressively;
interlaced PNGs... | C | tkimg/compat/libpng/contrib/gregbook/wpng.c | SAOImageDS9/SAOImageDS9 | gpl-3.0 | 31,444 | 866 | codeparrot/github-code |
44a8f37cde0ebc7719018ad566c192017839dd5405ebbc306b555be073c4d88b | namespace Nancy.Responses.Negotiation
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Nancy.Conventions;
using Nancy.Extensions;
/// <summary>
/// The default implementation for a response negotiator.
... | C# | src/Nancy/Responses/Negotiation/DefaultResponseNegotiator.cs | Crisfole/Nancy | mit | 18,476 | 425 | codeparrot/github-code |
296cdfe5a04b9051ab4c641222d9bf8be124828c373e2a46645725f420758388 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Octokit.Internal
{
internal static class ApiInfoParser
{
const RegexOptions regexOptions =
#if NETFX_CORE
RegexOptions.IgnoreCase;
#else
RegexOptions.Compiled | Re... | C# | Octokit/Http/ApiInfoParser.cs | ChrisMissal/octokit.net | mit | 2,392 | 67 | codeparrot/github-code |
bc3800bc1f0d5c3393bd7c892d651c2e277623a97932272bf762e26f256ff69c | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace JabbR.Infrastructure
{
public static class MentionExtractor
{
private const string Pattern = @"(?<user>(?<=@{1}(?!@))[a-zA-Z0-9-_\.]{1,50})";
public static IList<string> ExtractMentions(string mess... | C# | lib/JabbR/JabbR/Infrastructure/MentionExtractor.cs | meebey/smuxi-head-mirror | gpl-2.0 | 897 | 34 | codeparrot/github-code |
442632d80ac6fee6509f84b49434beeb2d5c0e9cb5efd31bc4dda3f9edf09b48 | /* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* RDMA Network Block Driver
*
* Copyright (c) 2014 - 2018 ProfitBricks GmbH. All rights reserved.
* Copyright (c) 2018 - 2019 1&1 IONOS Cloud GmbH. All rights reserved.
* Copyright (c) 2019 - 2020 1&1 IONOS SE. All rights reserved.
*/
#ifndef RNBD_CLT_H
#define ... | C | drivers/block/rnbd/rnbd-clt.h | GuillaumeSeren/linux | gpl-2.0 | 4,201 | 167 | codeparrot/github-code |
8cec3b0e8b4ade22d43cafae9fd1435a8aad359df3b29de3d0b1d46c366a17ef | /*
* Copyright 2004-2008 Freescale Semiconductor, Inc. All Rights Reserved.
*
* 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/gpl-license... | C | release/src-rt-7.x.main/src/linux/linux-2.6.36/drivers/rtc/rtc-mxc.c | wkritzinger/asuswrt-merlin | gpl-2.0 | 12,857 | 496 | codeparrot/github-code |
ce99f65dcaaf25a9b991150a0b8adf6583085492128367f247aa2f9c7cf2cb14 | /* Disassembler for the PA-RISC. Somewhat derived from sparc-pinsn.c.
Copyright (C) 1989-2014 Free Software Foundation, Inc.
Contributed by the Center for Software Science at the
University of Utah (pa-gdb-bugs@cs.utah.edu).
This file is part of the GNU opcodes library.
This library is free software; ... | C | libr/asm/arch/hppa/gnu/hppa-dis.c | alem0lars/radare2 | gpl-3.0 | 31,547 | 1,236 | codeparrot/github-code |
723662f1b0bdaa3584369ff9fae8b57c30600d50f5410ace757919529fd7d803 | #!/usr/bin/python
#
# @author: Gaurav Rastogi (grastogi@avinetworks.com)
# Eric Anderson (eanderson@avinetworks.com)
# module_check: supported
# Avi Version: 17.1.1
#
# Copyright: (c) 2017 Gaurav Rastogi, <grastogi@avinetworks.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses... | Python | lib/ansible/modules/network/avi/avi_useraccountprofile.py | Russell-IO/ansible | gpl-3.0 | 4,860 | 139 | codeparrot/github-code |
3608306988f33aff190550394c9127b57fde823dbdffa665d76c18ce869894e3 | #**************************************************************************
#* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
#* *
#* Author: The ALICE Off-line Project. *
#* Contributors ... | Python | PWGJE/EMCALJetTasks/Tracks/analysis/Draw/DrawRawSpectrumFit.py | victor-gonzalez/AliPhysics | bsd-3-clause | 2,015 | 37 | codeparrot/github-code |
3c86ab736ce47624b250955ca451dd37b41e124d30111542ddfe659dea2f0a3c | /*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002-2009 Oracle. All rights reserved.
*
* $Id$
*/
package com.sleepycat.persist.model;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
impo... | Java | src/deps/db/java/src/com/sleepycat/persist/model/AnnotationModel.java | mxrrow/zaicoin | mit | 16,485 | 414 | codeparrot/github-code |
176ed979d3b67ff4b4bbcc17702f32f446c2d8610cd4e705d7acdad4d65495a4 | /*
* Shared interrupt handling code for IPR and INTC2 types of IRQs.
*
* Copyright (C) 2007, 2008 Magnus Damm
* Copyright (C) 2009, 2010 Paul Mundt
*
* Based on intc2.c and ipr.c
*
* Copyright (C) 1999 Niibe Yutaka & Takeshi Yaegashi
* Copyright (C) 2000 Kazumoto Kojima
* Copyright (C) 2001 David J. Mckay ... | C | drivers/sh/intc.c | dancefire/hd806-kernel-android | gpl-2.0 | 27,866 | 1,118 | codeparrot/github-code |
466444e87ac7affde81eaad987b4c46dc33a3e6663a4a6a624125aac0f5ea64c | /*
LUFA Library
Copyright (C) Dean Camera, 2017.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2017 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purp... | C | qmk_firmware/lib/lufa/Projects/XPLAINBridge/XPLAINBridge.c | hiro2016/ergodox_gui_configurator | gpl-2.0 | 9,831 | 293 | codeparrot/github-code |
7b26cfe149fb5059133e246a1ff37e0685dd635b7603588f99405af9d065a561 | /**
* 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 | storm-core/src/jvm/backtype/storm/testing/FeederSpout.java | Aloomaio/incubator-storm | apache-2.0 | 3,071 | 100 | codeparrot/github-code |
6d25dc72d5ddc57f02f08563cdbd13ed319a610a185c5550a3aff7189ff8f39d | /***************************************************************************/
/* */
/* ftsystem.c */
/* */
/* Am... | C | svn/onscripter-read-only/jni/freetype/builds/amiga/src/base/ftsystem.c | Z-Shang/onscripter-gbk | gpl-2.0 | 19,960 | 523 | codeparrot/github-code |
170d52815eea3d077560c2d57d12162e61425628c7bbb875966afa429dc1ba67 | // Copyright (C) 2005, 2009 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, or (at your o... | C++ | uefi/gcc/gcc-4.6.3/libstdc++-v3/testsuite/25_algorithms/binary_search/1.cc | SanDisk-Open-Source/SSD_Dashboard | gpl-2.0 | 1,476 | 54 | codeparrot/github-code |
8f46569e6e60986849fc6ca743201d5e4becb8c6c2c5bea59afba3bc47245a0e | Clazz.declarePackage ("JU");
Clazz.load (null, "JU.ZStream", ["JU.Adler32"], function () {
c$ = Clazz.decorateAsClass (function () {
this.next_in = null;
this.next_in_index = 0;
this.avail_in = 0;
this.total_in = 0;
this.next_out = null;
this.next_out_index = 0;
this.avail_out = 0;
this.total_out = 0;
this.m... | JavaScript | web/j2s/JU/ZStream.js | davidbuzatto/CryProteinModelsComparisonLab | gpl-3.0 | 3,433 | 128 | codeparrot/github-code |
2fbb6dcf8483b2aa9c46f2c252078cda51be280e1316629b00b7caf01b0d4637 | /*
* Copyright (c) 2012, 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/test/sun/security/pkcs11/KeyAgreement/TestInterop.java | rokn/Count_Words_2015 | mit | 6,018 | 144 | codeparrot/github-code |
56dad91603ccbc8b2545e6e28d036fe320465c981e36e2302ed3ad8394fb8b01 | /*
* Copyright@ Samsung Electronics Co. LTD
*
* This software is proprietary of Samsung Electronics.
* No part of this software, either material or conceptual may be copied or distributed, transmitted,
* transcribed, stored in a retrieval system or translated into any human or computer language in any form by any ... | C | drivers/video/exynos/decon_royce/dsim_drv.c | SM-G920P/G920P-MM | gpl-2.0 | 52,971 | 2,047 | codeparrot/github-code |
5c93de55c6bf51534af52fcbe9a69279867815493b4cff139112daed1c19d571 | /* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2015, The Linux Foundation. All rights reserved.
*/
#ifndef __MSM_DSI_CFG_H__
#define __MSM_DSI_CFG_H__
#include "dsi.h"
#define MSM_DSI_VER_MAJOR_V2 0x02
#define MSM_DSI_VER_MAJOR_6G 0x03
#define MSM_DSI_6G_VER_MINOR_V1_0 0x10000000
#define MSM_DSI_6G... | C | linux-5.4/drivers/gpu/drm/msm/dsi/dsi_cfg.h | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 1,688 | 58 | codeparrot/github-code |
bb007fccfcf50b2fae3572aada732b29efd4e01ece40b60ed0086a4f94b9812e | /*
* Copyright (c) 2012-2012 Synaptics Incorporated
*
* 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 p... | C | drivers/input/touchscreen/rmi4/rmi_f21.c | cherojeong/vega-iron_kernel | gpl-2.0 | 22,835 | 833 | codeparrot/github-code |
1fab9cf91859d77bd8a2915bb9193855c7a844f43298e75b1a087c25b9930901 | /* matrix/view_source.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2007 Gerard Jungman, Brian Gough
*
* 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 L... | C | src/matrix/view_source.c | liigo/gsl-vc2015 | gpl-3.0 | 7,107 | 274 | codeparrot/github-code |
63e50f9c2d1d2ae61b88b28670ef2af30442b59985902d07fd9022ba2c788938 | /*<html><pre> -<a href="qh-qhull_r.htm"
>-------------------------------</a><a name="TOP">-</a>
qhull_ra.h
all header files for compiling qhull with reentrant code
included before C++ headers for user_r.h:QHULL_CRTDBG
see qh-qhull.htm
see libqhull_r.h for user-level defi... | C | thirdparty/libqhull/qhull_ra.h | tulip5/tulip | lgpl-3.0 | 5,096 | 151 | codeparrot/github-code |
1b99d2f22e6e8ad2d10e579d234374298bd30780a6c2fe606cfc50bb04ded494 | /**
* 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-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/amrmproxy/TestAMRMProxyService.java | cnfire/hadoop | apache-2.0 | 17,842 | 485 | codeparrot/github-code |
4af1399ee9a247b5046ec256bfce3080ee74af253c36be812ce3c5ad49b42e02 | /*
* linux/drivers/mmc/core/host.c
*
* Copyright (C) 2003 Russell King, All Rights Reserved.
* Copyright (C) 2007-2008 Pierre Ossman
* Copyright (C) 2010 Linus Walleij
*
* 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 | source/drivers/mmc/core/host.c | ziqiaozhou/cachebar | gpl-2.0 | 15,500 | 585 | codeparrot/github-code |
2f659ee0427b0335438ca4ee9c2b67f37f4afa2bf2938df02033597de1611b65 | /**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v5.0.0-alpha.0
* @link http://www.ag-grid.com/
* @license MIT
*/
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
functio... | JavaScript | ajax/libs/ag-grid/5.0.0-alpha.0/lib/rendering/cellEditors/textCellEditor.js | brix/cdnjs | mit | 2,954 | 75 | codeparrot/github-code |
da7a2e7a0238ee5afd16f2910826efb36cb53421f3eb1b04bbfce20caddc0a50 | #!/bin/sh
[ -n "$INCLUDE_ONLY" ] || {
. /lib/functions.sh
. ../netifd-proto.sh
init_proto "$@"
}
proto_qmi_init_config() {
available=1
no_device=1
proto_config_add_string "device:device"
proto_config_add_string apn
proto_config_add_string auth
proto_config_add_string username
proto_config_add_string passwor... | Shell | package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh | lazywifi/lede | gpl-2.0 | 7,562 | 281 | codeparrot/github-code |
565b73babd413b4e0eb9b05770cb79d5e857954a687b1842a3165adf6a963415 | /*
* Copyright 2019 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, m... | C | drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.h | rperier/linux | gpl-2.0 | 9,093 | 250 | codeparrot/github-code |
e11234abb926a434fa2134f0694537ace52b1f3630425a7b31ed62aa292a744c | /*
* Linux NET3: Internet Group Management Protocol [IGMP]
*
* Authors:
* Alan Cox <alan@lxorguk.ukuu.org.uk>
*
* Extended to talk the BSD extended IGMP protocol of mrouted 3.6
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
... | C | oss/linux/linux-4.7/include/linux/igmp.h | geminy/aidear | gpl-3.0 | 4,202 | 132 | codeparrot/github-code |
1f9204d9b217f6f3531809b7a5adabba164490f2332a55c29bc3e6f26dc95bc1 | // Device.js
// (c) 2014 Matthew Hudson
// Device.js is freely distributable under the MIT license.
// For all details and documentation:
// http://matthewhudson.me/projects/device.js/
(function() {
var device,
previousDevice,
addClass,
documentElement,
find,
handleOrientation,
hasClass,
... | JavaScript | website/source/javascripts/utils/device.js | Kagami-src/MerusutoChristina | gpl-3.0 | 7,201 | 302 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.