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
6f6a9595e3acc277f2747ce671bae8caccc256313ea2ded8ce215db2c8421c4e
// Copyright 2021 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/browser/compute_pressure/cpu_probe.h" #include <memory> #include "base/sequence_checker.h" #include "base/threading/scoped_blocking_ca...
C++
content/browser/compute_pressure/cpu_probe.cc
chromium/chromium
bsd-3-clause
1,768
61
codeparrot/github-code
fc4cb8845125960d74724284f0c0b3b07ca705e9d8270b52e55f6fe234785b15
<!doctype html> <!-- @license Copyright (c) 2017 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...
HTML
third_party/polymer3/bower_components/polymer/test/unit/attributes.html
catapult-project/catapult
bsd-3-clause
13,097
359
codeparrot/github-code
146a5e4bce25945451c5a4d481f7c7a3484442dc993064a31cc0cca777a9acc3
from .kern import Kern from ...core.parameterization import Param from paramz.transformations import Logexp import numpy as np from .independent_outputs import index_to_slices class ODE_t(Kern): def __init__(self, input_dim, a=1., c=1.,variance_Yt=3., lengthscale_Yt=1.5,ubias =1., active_dims=None, name='ode...
Python
GPy/kern/src/ODE_t.py
avehtari/GPy
bsd-3-clause
7,626
166
codeparrot/github-code
d6929e25b391d79a1f03dfb51d4332460f81e3da032a0ba77781053af3bfe659
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C++
trunk/third_party/webrtc/test/testsupport/metrics/video_metrics.cc
wangscript/libjingle-1
bsd-3-clause
7,099
198
codeparrot/github-code
cd385fe53c2a79ecaac2bafafbf04e60ebb9a1e0060e5cf2b22f848b4e0341d9
// Copyright 2019 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Flags: --allow-natives-syntax --opt (function() { function foo(string) { return string.startsWith('a'); } %PrepareFunctionForOptimization(foo);...
JavaScript
third_party/v8/test/mjsunit/compiler/string-startswith.js
youtube/cobalt
bsd-3-clause
2,127
82
codeparrot/github-code
c347a09f113ce01eaa15b242cd5132491a7ba4d1c96fc09d963faa2c8c8b64ee
/* * Copyright (c) 2012 The Native Client Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* vdiff.c * exhaustive instruction enumeration test for x86 Native Client validators. * * This file is based on enuminsts.c, but speci...
C
src/trusted/validator/x86/testing/enuminsts/vdiff.c
wilsonianb/nacl_contracts
bsd-3-clause
17,872
558
codeparrot/github-code
d0de244b233a5dea53decf826f0b9d5e7142309e68d6637a0eda91ec349fa495
/* * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C
third_party/webrtc/test/function_audio_decoder_factory.h
endlessm/chromium-browser
bsd-3-clause
2,106
69
codeparrot/github-code
41ad21657fcff5470b5437a7fc57a8a09117f5ec24ae03e6950dde85c470271c
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "bench/Benchmark.h" #include "include/core/SkBitmap.h" #include "include/core/SkCanvas.h" #include "include/core/SkPaint.h" #include "include/core/SkPath.h" #include "...
C++
third_party/skia_next/third_party/skia/bench/DashBench.cpp
youtube/cobalt
bsd-3-clause
15,215
485
codeparrot/github-code
805cfe454914400e319b423cb1cfe89de4ec07d15b78bec6edb8711acd6b311d
import os import ycm_core flags = [ '-Wall', '-Wextra', '-Werror', '-pedantic', '-std=c++1y', #'-stdlib=libc++', '-x', 'c++', '-Iinclude', '-Itest/include', '-Ilib/jest/include', '-isystem', '../BoostParts', '-isystem', '/System/Library/Frameworks/Python.framework/Headers', '-isystem', '../llvm/include', '-isystem', ...
Python
.ycm_extra_conf.py
jeaye/jeayeson
bsd-3-clause
3,051
126
codeparrot/github-code
0c06e8a192188d6dde79960cb875821dc0a0a0b03f21b2f8578edd88d179bd6d
<?php /** * Simple Machines Forum (SMF) * * @package SMF * @author Simple Machines * @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0 */ function template_main() { global $context, $settings, $options, $txt, $scripturl, $modSettings; // Let...
PHP
smf/Themes/core/Display.template.php
Karpec/gizd
bsd-3-clause
44,837
843
codeparrot/github-code
556147c62d713fafc1e46d95f9b02217113680de731918dd11e0e2215153f57b
// 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_UI_TABS_TAB_STRIP_MODEL_DELEGATE_H_ #define CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_DELEGATE_H_ #include <memory> #include <vec...
C
chrome/browser/ui/tabs/tab_strip_model_delegate.h
chromium/chromium
bsd-3-clause
7,002
173
codeparrot/github-code
56796337c12208bf4622725d7fefd999bfb5d6e92739fe35e52b5970f29d56f1
// 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 "components/power/origin_power_map.h" #include "base/logging.h" #include "content/public/common/url_constants.h" #include "url/gurl.h" namespac...
C++
components/power/origin_power_map.cc
danakj/chromium
bsd-3-clause
1,731
68
codeparrot/github-code
4524a693d02d941b1a7f28b17c3307b37f1293319a3e8849aef52fe93d01d067
// Copyright 2020 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/performance_manager/mechanisms/page_freezer.h" #include "chrome/browser/content_settings/page_specific_content_settings_delegate...
C++
chrome/browser/performance_manager/mechanisms/page_freezer_unittest.cc
chromium/chromium
bsd-3-clause
5,882
160
codeparrot/github-code
820c872d39fa98d799e78ca719912e4034898183a70c373d95f91a5140eee35c
//===- RecordName.cpp ----------------------------------------- *- C++ --*-===// // // 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/llvm/llvm/lib/DebugInfo/CodeView/RecordName.cpp
endlessm/chromium-browser
bsd-3-clause
10,652
338
codeparrot/github-code
c86bb847daafd89c5600672898052724cbe970b994a94b2a54f61d2be6fb7c0d
/** * Module dependencies */ var actionUtil = require('../actionUtil'); /** * Find One Record * * get /:modelIdentity/:id * * An API call to find and return a single model instance from the data adapter * using the specified id. * * Required: * @param {Integer|String} id - the unique id of the particular i...
JavaScript
lib/hooks/blueprints/actions/findOne.js
konstantinzolotarev/sails
mit
1,065
41
codeparrot/github-code
b096cc3591bc28fef7d230aa5236fd5beb2efe60769191d83a8a9c740b7a5322
package controllers.api; import models.transit.RouteType; import controllers.Base; import controllers.Application; import controllers.Secure; import controllers.Security; import datastore.VersionedDataStore; import datastore.GlobalTx; import play.mvc.Before; import play.mvc.Controller; import play.mvc.With; @With(Sec...
Java
app/controllers/api/RouteTypeController.java
markjd84/gtfs-editor
mit
2,376
119
codeparrot/github-code
8c2c9098ec450cf75d074ffd948174283cc47863080b9360d5472d3a79cf421b
package util.abdera import org.apache.abdera.model.{Entry, Text} import org.joda.time.DateTime /** * * @author ponkotuy * Date: 14/12/08. */ trait Entriable { def id: String def title: String def summary: Summary def updated: DateTime = DateTime.now() def published: DateTime = DateTime.now() def link...
Scala
server/app/util/abdera/Entriable.scala
ttdoda/MyFleetGirls
mit
1,332
64
codeparrot/github-code
d52af3b37bb18fa33c9e8f8d5cd59cc68fbaea6cef2ea489b5dfd52741550320
// 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; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; usin...
C#
src/System.Linq.Expressions/src/System/Linq/Expressions/LambdaExpression.cs
benpye/corefx
mit
40,271
714
codeparrot/github-code
bcfbf5bfdbbe2c947ec795e3daca5bc4a1b9cc69229a980b61f1347b233f8922
using System; using System.Collections.Generic; using System.Linq; namespace TestStack.BDDfy { internal static class ArgumentCleaningExtensions { internal static object[] FlattenArrays(this IEnumerable<object> inputs) { return inputs.Select(FlattenArray).ToArray(); } ...
C#
src/TestStack.BDDfy/Scanners/StepScanners/ArgumentCleaningExtensions.cs
mwhelan/TestStack.BDDfy
mit
919
36
codeparrot/github-code
d6e50e546a9db06fc551dfc284087504396b298748e5326381751721015ca663
############################################################################### # # The MIT License (MIT) # # Copyright (c) Tavendo GmbH # # 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 with...
Python
examples/twisted/websocket/echo_variants/client_reconnecting.py
nucular/AutobahnPython
mit
3,140
91
codeparrot/github-code
f1dc365342b55500673073f02d12598b37288f5fb4c605ce18ed16e0920aaccb
module Pageflow class ZencoderVideoOutputDefinition < ZencoderOutputDefinition cattr_accessor :skip_hls attr_reader :video_file def initialize(video_file, options = {}) super(options) @video_file = video_file end def input_s3_url @video_file.attachment_s3_url end def ...
Ruby
lib/pageflow/zencoder_video_output_definition.rb
luatdolphin/pageflow
mit
6,402
248
codeparrot/github-code
01422afd4af0a952f00a91a196c3c49fd220cf3b7dcf57828fdb07dc38529eb7
package org.knowm.xchange.coinmarketcap.pro.v1.dto.marketdata; import static org.assertj.core.api.Assertions.assertThat; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; import java.text.ParseException; import java.text.SimpleDate...
Java
xchange-coinmarketcap/src/test/java/org/knowm/xchange/coinmarketcap/pro/v1/dto/marketdata/CmcTickerTest.java
chrisrico/XChange
mit
2,575
60
codeparrot/github-code
c0edc8d109c3f61eea2e7da2025d01a53ef0cd0adbcc776c7a16bd222d97a5ba
// MESSAGE LIMITS_STATUS PACKING #define MAVLINK_MSG_ID_LIMITS_STATUS 167 typedef struct __mavlink_limits_status_t { uint32_t last_trigger; ///< time of last breach in milliseconds since boot uint32_t last_action; ///< time of last recovery action in milliseconds since boot uint32_t last_recovery; ///< time of las...
C
software/v1_board_164p/mavlink/v1.0/ardupilotmega/mavlink_msg_limits_status.h
klaxalk/multirotor-control-board
mit
14,986
340
codeparrot/github-code
667b1f110d7703c0d4bb6a5cb78752d9655561d88c11215592769e1536244ba6
// Copyright (c) 2009-2012 Bitcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "init.h" // for pwalletMain #include "bitcoinrpc.h" #include "ui_interface.h" #include "base58.h" #include <boost/lexica...
C++
src/rpcdump.cpp
icryptic/potcoin
mit
2,850
97
codeparrot/github-code
ebc2662c864957b0c90a73859d8d6e4379c88350f5e554b04c264d0389539623
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bridge\Doctrine\Validator\Constraints; use Doctrine\Common\Pers...
PHP
src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php
Amo/symfony
mit
8,097
214
codeparrot/github-code
2c9249d093848f306dba16fa34a5254e45a80308fc08d1625be1c43c0b746a12
(function(){ angular .module('app') .controller('MainController', [ 'navService', '$mdSidenav', '$mdBottomSheet', '$log', '$q', '$state', '$mdToast', MainController ]); function MainController(navService, $mdSidenav, $mdBottomSheet, $log, $q, $state, $mdToast) { var vm...
JavaScript
src/app/controllers/MainController.js
Priyank57/angular-material-dashboard
mit
2,216
77
codeparrot/github-code
d38e81dfb7a05f55648a362d27df2aceabfc6c0cf69789eb1959485bfe5ebbf0
// // NSBundle+WMFInfoUtils.h // Wikipedia // // Created by Brian Gerstle on 5/1/15. // Copyright (c) 2015 Wikimedia Foundation. All rights reserved. // #import <Foundation/Foundation.h> @interface NSBundle (WMFInfoUtils) - (NSString*)wmf_bundleName; /// /// @name App Version Information /// /// @return The va...
C
Wikipedia/Code/NSBundle+WMFInfoUtils.h
jindulys/Wikipedia
mit
1,387
50
codeparrot/github-code
a96d25331a588def614567d1c823f8dff10c5de19c2a87b3c1cb23bba3e86af1
/* * jerror.h * * Copyright (C) 1994-1997, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file defines the error and message codes for the JPEG library. * Edit this file to add new codes, or to tr...
C
blinky/blinky/asf-3.21.0/thirdparty/ijg/libs/jpg_ijg_without_mm/include/jerror.h
femtoio/femto-usb-blink-example
mit
14,036
295
codeparrot/github-code
ab7d0dfe7b7477c812b4728d4c35f44ea4a4ba5a05e8c3a2f35ec3f30a232712
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // 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 restr...
C
engine/source/io/zip/zipTempStream.h
GarageGames/Torque2D
mit
2,940
91
codeparrot/github-code
e0acb52b5e6b5270e3ffb936baf32799e8395b629aa606b6297c6c56d1647d24
#!/usr/bin/python -u import sys import os import subprocess import time from datetime import datetime import shutil import tempfile import hashlib import re import logging import argparse ################ #### Telegraf Variables ################ # Packaging variables PACKAGE_NAME = "telegraf" INSTALL_ROOT_DIR = "/us...
Python
scripts/build.py
yankcrime/telegraf
mit
38,977
937
codeparrot/github-code
239be26a4f78f376ee79e20890d93a5de164f0da28eae0c45bd33f6dfe3f6ec7
/* g/r.c ** */ #include "all.h" /* _frag_word(): fast fragment/branch prediction for top word. */ static u3_weak _frag_word(c3_w a_w, u3_noun b) { c3_assert(0 != a_w); { c3_w dep_w = u3x_dep(a_w); while ( dep_w ) { if ( c3n == u3a_is_cell(b) ) { return u3_none; } else { ...
C
noun/retrieve.c
chc4/urbit
mit
35,194
1,892
codeparrot/github-code
103188dc8ccef5702ce799294cfad3e0454e71c66e5f003388d5d194f6881942
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Behat\Context\Ui\Admin; use Behat\Behat\Context\Context; u...
PHP
src/Sylius/Behat/Context/Ui/Admin/ManagingProductOptionsContext.php
Brille24/Sylius
mit
7,955
276
codeparrot/github-code
90ec52f3645e4a967450393c80c282761aa018d601dbcc1558e19957cf1aaec0
/*========================================================================= Program: Visualization Toolkit Module: vtkLineSource.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is d...
C
src/OsiriXAPI.framework/Versions/Current/Headers/vtkLineSource.h
byvernault/xnat_osirix_plugin
mit
2,566
82
codeparrot/github-code
af1d1dc2ec401751a2edf30991c3042a35f04d9343b061b737e71fbd1b6baea2
package org.commons.dbutils.datasource.tutorial; import java.beans.PropertyVetoException; import java.io.IOException; import java.sql.Connection; import java.sql.SQLException; import javax.sql.DataSource; import com.mchange.v2.c3p0.ComboPooledDataSource; public class C3P0DataSource { private DataSource dataSource...
Java
commons-dbutils-tutorial/src/main/java/org/commons/dbutils/datasource/tutorial/C3P0DataSource.java
v5developer/maven-framework-project
mit
1,422
61
codeparrot/github-code
f131704c84b3f49768ad84db26aecbd3b28f81be86200631a35e4cc94a589818
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
src/vs/editor/standalone/common/themes.ts
microlv/vscode
mit
8,546
212
codeparrot/github-code
3639aa8ba04035a10d9641d5a5d78fa5fc983d3fc85396703dac9ecd39658471
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>Description of tt_erank</title> <meta name="keywords" content="tt_erank"> <meta name="description" content="Effective rank of the TT-tensor: Approximate memory definitio...
HTML
doc/tt2/core/tt_erank.html
giserh/TT-Toolbox
mit
4,421
77
codeparrot/github-code
5569a9010b92311a7f44c2bf2fbe115acde86071683fb88f70fa53408581b8ea
// Copyright (c) 2012-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <rpc/server.h> #include <rpc/client.h> #include <rpc/util.h> #include <core_io.h> #include <interfaces/chain.h> #in...
C++
src/test/rpc_tests.cpp
OmniLayer/omnicore
mit
20,899
417
codeparrot/github-code
bcbeccdb913a8e7481c977ea706b59b1b75c18713c7644e29cd69f722213e2cc
/** * Copyright (c) 2010-2016 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */...
Java
bundles/binding/org.openhab.binding.tacmi/src/main/java/org/openhab/binding/tacmi/internal/TACmiBinding.java
theoweiss/openhab
epl-1.0
10,462
268
codeparrot/github-code
474e21a5bd5efcfb787cdabe1559c5e91236912001fecf46ed394b069536aa57
/* * jQuery miniColors: A small color selector * * Copyright 2011 Cory LaViska for A Beautiful Site, LLC. (http://abeautifulsite.net/) * * Dual licensed under the MIT or GPL Version 2 licenses * */ if(jQuery) (function($) { $.extend($.fn, { miniColors: function(o, data) { var create = function(inpu...
JavaScript
wp-content/themes/tourpackage-v2-00/include/javascript/jquery.miniColors.js
master777/tap
gpl-2.0
16,227
580
codeparrot/github-code
703c64d889d461f2239adf40348c5abc3e703250f6c91fa45306a9048f8f5a09
<?php // TGM Class get_template_part( 'library/admin/tgm/class-tgm-plugin-activation' ); function evolve_register_suggested_plugins() { $plugins = array( array( 'name' => 'Redux Framework', 'slug' => 'redux-framework', 'versi...
PHP
wp-content/themes/smartcode/library/admin/tgm/tgm-init.php
safdar211ali/smartcoders
gpl-2.0
6,865
119
codeparrot/github-code
e3d199e846758904a22af875c0f57cca52289581e54775fbec7a3555262321e5
Ext.define('Command.log.formatter.Cli', { extend: 'Ext.log.formatter.Default', styles: { 'bold' : [1, 22], 'italic' : [3, 23], 'underline' : [4, 24], 'inverse' : [7, 27], //grayscale 'white' : [37, 39], 'grey' : [90, 39], 'b...
JavaScript
web/bundles/eduteca/mobileWeb/sdk/command/src/log/formatter/Cli.js
gusmp/Eduteca
gpl-2.0
1,488
54
codeparrot/github-code
dac1dbc8da17e01330ceac39f5e40093c522116f63ba0958acf9fd656516afa6
/* 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/groovie/music.cpp
MaddTheSane/scummvm
gpl-2.0
25,579
906
codeparrot/github-code
9d663e3c75a9ed02212f8e8bbe98e1ee3ae579447e69fac33af69bef105d880e
// license:BSD-3-Clause // copyright-holders:David Haywood, Paul Priest /* One Shot One Kill & Maddonna Driver by David Haywood and Paul Priest Dip Switches and Inputs by stephh Notes : - The YM3812 is used only for timing. All sound is played with ADPCM samples. - It doesn't seem possible to make 2 consecu...
C++
src/mame/drivers/oneshot.cpp
sum2012/mame
gpl-2.0
21,344
489
codeparrot/github-code
05222a6457e6d65e2d93ffd08ed7afe73321494056c205194b2c971c8bbdf8d3
/* * Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either ver...
C++
src/server/game/Maps/MapManager.cpp
Kyanaga/server
gpl-2.0
14,298
448
codeparrot/github-code
4468bc2ad7c4ab354e6ddf46673cd643a94e71677e7557c536619b1baa4f7f5d
/* Target-machine dependent code for Nios II, for GDB. Copyright (C) 2012-2015 Free Software Foundation, Inc. Contributed by Peter Brookes (pbrookes@altera.com) and Andrew Draper (adraper@altera.com). Contributed by Mentor Graphics, Inc. This file is part of GDB. This program is free software; you c...
C
gdb/nios2-tdep.c
farjump/gnu-binutils
gpl-2.0
68,097
2,378
codeparrot/github-code
cb853ccdfdef38679e13e5b6712470a81ce7b6e42e48e6b203350da8fa9fcb1a
/* * Copyright (C) 2008-2010 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either ver...
C++
src/server/game/Battlefield/Battlefield.cpp
Elegon/Lux_Sources
gpl-2.0
37,048
1,119
codeparrot/github-code
c71e65d72707ae8d6c9952f0b82891f9a63c0bd94517a9c29cc98276af03dac3
/* * arch/arm/mach-tegra/board-tegranote7c-powermon.c * * Copyright (c) 2014, NVIDIA Corporation. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Fou...
C
arch/arm/mach-tegra/board-tegranote7c-powermon.c
TeamRegular/android_kernel_madcatz_mojo
gpl-2.0
2,447
105
codeparrot/github-code
a1879c2d4dbc676ebe2207bd3d053a279315c58b575a9678ff3586a8196f87d8
<?php /** * Header template for the theme * * Displays all of the <head> section and everything up till <div id="main">. * * @package WordPress * @subpackage Twenty_Eleven * @since Twenty Eleven 1.0 */ ?><!DOCTYPE html> <!--[if IE 6]> <html id="ie6" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 7]> <...
PHP
wp-content/themes/twentyeleven/header.php
observantrecords/Observant-Records-WordPress
gpl-2.0
5,337
162
codeparrot/github-code
b4de501cbec80f8a1de9518292e1f6b1b5110071ca455ae712b95c66d3040fdb
#ifndef __ADAU17X1_H__ #define __ADAU17X1_H__ #include <linux/regmap.h> #include <sound/adau17x1.h> enum adau17x1_type { ADAU1361, ADAU1761, ADAU1381, ADAU1781, }; enum adau17x1_pll { ADAU17X1_PLL, }; enum adau17x1_pll_src { ADAU17X1_PLL_SRC_MCLK, }; enum adau17x1_clk_src { ADAU17X1_CLK_SRC_MCLK, ADAU17X1_...
C
sound/soc/codecs/adau17x1.h
xiaogaogao/linuxFromDigilent
gpl-2.0
3,615
125
codeparrot/github-code
a2d6781363e2d40e4985ed3cbb7c3ee0e80df71549c209c4aa5139ae3c50fbe2
<?php /** * Elgg search plugin * */ elgg_register_event_handler('init','system','search_init'); /** * Initialize search plugin */ function search_init() { global $CONFIG; require_once 'search_hooks.php'; // page handler for search actions and results elgg_register_page_handler('search', 'search_page_handler...
PHP
mod/search/start.php
brettp/Elgg
gpl-2.0
14,207
526
codeparrot/github-code
d73330832be92f81a6c08adbcaf1332cb3a2cb7cd8dde9cde488b412f4f041ed
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2013 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
C++
src/Engine/GlideSolvers/GlideSettings.hpp
DRNadler/DRN_TopHat
gpl-2.0
1,181
39
codeparrot/github-code
d383236acb70a3abba4b243954893ebef500a40fbc8b62c49bae3ba080aacf8d
/* This file is part of the KDE project * Copyright (C) 2007 Pierre Ducroquet <pinaraf@gmail.com> * Copyright (C) 2008 Thorsten Zachmann <zachmann@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the ...
C++
plugins/variables/InfoVariable.cpp
yxl/emscripten-calligra-mobile
gpl-2.0
3,677
117
codeparrot/github-code
90aace0828a76d4a99f0c29d1fe6eb91e9d60095701c9e6e2288a8a6d9b086fa
/* * Copyright 2008 EnCADIS Designs, Inc. All Rights Reserved. * Copyright 2008 Bug-Labs, 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:...
C
drivers/bmi/pims/mdacc/mdacc.h
umeshkrishnan/pb-bugbase-kernel
gpl-2.0
1,189
44
codeparrot/github-code
fbe714c245e2927ac927a0ddb885a9f93d8380f87a654e50d47dde3cb2226887
/* * Copyright (c) 2010-2011, 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 distribute...
C
arch/arm/mach-msm/no-pm.c
davidmueller13/arter97_bb
gpl-2.0
1,175
47
codeparrot/github-code
56a2431d3321a4315098fcb0f0ebbb434fae248a7eca33706e003ac39c692a54
#!/usr/bin/python # # Urwid graphics example program # Copyright (C) 2004-2011 Ian Ward # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the Licen...
Python
test/graph.py
uccgit/the-game
gpl-2.0
11,828
357
codeparrot/github-code
117695d63c72befdf4897edff3fc41dbdc55add14535468c541146628a76c60e
/* * Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either ver...
C
src/server/game/Maps/Map.h
Laniax/Project-Extinct
gpl-2.0
25,050
695
codeparrot/github-code
9cdf3fe05813de26fa4f67d55cab605bd90c5cfb8447733fe78768311234c508
/////////////////////////////////////////////////////////////////////////////// // For information as to what this class does, see the Javadoc, below. // // Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, // // 2007, 2008, 2009, 2010, 2014, 2015 by Peter Spirtes, Richard Scheines, Joseph...
Java
tetrad-lib/src/test/java/edu/cmu/tetrad/test/TestSem.java
amurrayw/tetrad
gpl-2.0
7,884
218
codeparrot/github-code
980888ae22e42bd1403010c95a123523bbf9ad7b1747eb58c4ed4ea19adf6729
/* * This program is is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * This program is distributed in the hope that i...
C
src/modules/rlm_redis_ippool/rlm_redis_ippool_tool.c
jrouzierinverse/freeradius-server
gpl-2.0
46,101
1,599
codeparrot/github-code
52b904f2c31d5899c804e130e39ebc26ed9d3af3e79da34903806bb069aa68bf
<?php /** * Upgrade Screen * * @package EDD * @subpackage Admin/Upgrades * @copyright Copyright (c) 2013, Pippin Williamson * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 1.3.1 */ // Exit if accessed directly if ( !defined( 'ABSPATH' ) ) exit; /** * Render ...
PHP
wp-content/plugins/easy-digital-downloads/includes/admin/upgrades/upgrades.php
User1m/livefundstarter
gpl-2.0
1,309
45
codeparrot/github-code
76d3c3d2a6020e912a17e2fab4dc7ac5ac851b8b4ec16ae44595177926b4aedb
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 4.4 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2013 | +--------------------...
PHP
sites/all/modules/civicrm/CRM/Upgrade/Incremental/php/FourTwo.php
lizmestres/bf
gpl-2.0
43,186
925
codeparrot/github-code
006c8df37c751689f1a93abb59850ef6efbd2604172fc7406d91cd97d93e0266
<?php class IP_Match extends Red_Match { use FromNotFrom_Match; public $ip = []; public function name() { return __( 'URL and IP', 'redirection' ); } public function save( array $details, $no_target_url = false ) { $data = array( 'ip' => isset( $details['ip'] ) && is_array( $details['ip'] ) ? $this->saniti...
PHP
wp-content/plugins/redirection/matches/ip.php
isabisa/nccdi
gpl-2.0
1,454
61
codeparrot/github-code
f3c2abaebbe11c5797b9ad8d0b4feac8bd76ec10b7c62f25843bd255afa9c4ec
/* * TI OMAPL PRU SUART Emulation device driver * Author: subhasish@mistralsolutions.com * * This driver supports TI's PRU SUART Emulation and the * specs for the same is available at <http://www.ti.com> * * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/ * * This program is free softw...
C
target/ev3_gcc/drivers/sensor/uart/d_uart/Linuxmod_AM1808/lego_ti_omapl_pru_suart.c
Zimoy/Metronome
gpl-2.0
41,977
1,374
codeparrot/github-code
792d3c17494fd46db5ad0cf53e2cb30cee697df068705d030d383da45fa0f70e
/* main.c - experimental GRUB stage2 that runs under Unix */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002 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 b...
C
grub/main.c
architech-backup/grub-fedora
gpl-2.0
6,861
266
codeparrot/github-code
4c2c6bb3e87243d684da3c35fab5b566623504bb4caceeb74c8f31abb258bdfe
<?php /** * @package AkeebaBackup * @copyright Copyright (c)2009-2014 Nicholas K. Dionysopoulos * @license GNU General Public License version 3, or later * */ defined('_JEXEC') or die(); // Load FOF if not already loaded if (!defined('F0F_INCLUDED')) { $paths = array( (defined('JPATH_LIBRARIES') ? JPATH...
PHP
administrator/components/com_akeeba/script.akeeba.php
s23zenden/asestech
gpl-2.0
19,586
479
codeparrot/github-code
0a0a7649480225104cad39aa62a53f08ad1a5873ae46185c0418628820ab6590
/* * Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ...
C
src/game/BattleGroundRB.h
lai3d/server
gpl-2.0
1,740
55
codeparrot/github-code
fbe95b83001e7e061a20c68c85b9334f9511169a2ae48130f6930ce7021b2884
<?php /** * HUBzero CMS * * Copyright 2005-2015 HUBzero Foundation, LLC. * * 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 ...
PHP
core/components/com_members/models/quota/category.php
drewthoennes/hubzero-cms
gpl-2.0
5,462
251
codeparrot/github-code
92ef71e6f2556f694b375a951ec32c16fe98b7f1bb8a5e1893544c19bf484b95
/* Copyright (C) 2004-2016 Apple Inc. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later v...
C
modules/web/src/main/native/Source/WebCore/platform/text/SegmentedString.h
teamfx/openjfx-8u-dev-rt
gpl-2.0
11,230
324
codeparrot/github-code
0397f86b30f6ae39a5dea468e15cdbd0042f209febdb8f543e338179742f8a12
/* * Forwarding database * Linux ethernet bridge * * Authors: * Lennert Buytenhek <buytenh@gnu.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License...
C
net/bridge/br_fdb.c
gazoo74/linux
gpl-2.0
29,629
1,218
codeparrot/github-code
2b3831cc6f41e883af2a22d98a7014ccbc3920034f8591d68d3d2b8c17ac38b0
/* * Copyright (C) 2011 Google, Inc. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in the hope that it will be useful, * ...
C
arch/arm/mach-hawaii/hawaii_ss_goldenven_wifi.c
TheNikiz/android_kernel_samsung_hawaii
gpl-2.0
22,050
894
codeparrot/github-code
6c690db347de6a6a3beb4b71107f7d82a6d1952d43bf5287002ce9b35f7ba5fd
/* * ===================================================================================== * * Filename: i_ldsh.c * * Description: Implementation of the LDSH instruction * * Version: 1.0 * Created: 16/04/08 18:09:22 * Revision: none * Compiler: gcc * * Author...
C
arch/sparc/instructions/i_ldsh.c
xfguo/skyeye
gpl-2.0
3,827
162
codeparrot/github-code
5882de676ff9a8bb8aff95a6282c9e650679e8e28929401662cd6af15a292557
/* * File: ssalloc.c * Author: Vasileios Trigonakis <vasileios.trigonakis@epfl.ch> * Description: * ssalloc.c is part of ASCYLIB * * Copyright (c) 2014 Vasileios Trigonakis <vasileios.trigonakis@epfl.ch>, * Tudor David <tudor.david@epfl.ch> * Distributed Programming Lab (LP...
C
src/ssalloc.c
sbahra/ASCYLIB
gpl-2.0
3,942
164
codeparrot/github-code
57707d4d879c3e1f8843c5e13a882078bd330ef7a3af127763f08fcfab041dd1
/******************************************************************************************** * LEGAL DISCLAIMER * * (Header of MediaTek Software/Firmware Release or Documentation) * * BY OPENING OR USING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES * THAT THE SOFTWARE/FIRMWARE AN...
C++
mediatek/platform/mt6589/hardware/mtkcam/core/camshot/CamShotImp.cpp
zunaid321/Lenovo_A820_kernel_kk
gpl-2.0
9,197
259
codeparrot/github-code
777328731186e6d3dc5e933972face983ba1b5053ad594801cc8e9f5eb5a5b13
/* * Copyright (c) 2011 embedded brains GmbH. All rights reserved. * * embedded brains GmbH * Obere Lagerstr. 30 * 82178 Puchheim * Germany * <rtems@embedded-brains.de> * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems....
C
c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_alignment.c
zhongweiy/rtems
gpl-2.0
1,067
44
codeparrot/github-code
41d915259b14075bab5ab7e2b88dd0b71b6d51c56b8463afc1c8e81d6d9677a0
/* * Copyright 2004-2011 Freescale Semiconductor, Inc. * * MPC83xx Internal Memory Map * * Contributors: * Dave Liu <daveliu@freescale.com> * Tanya Jiang <tanya.jiang@freescale.com> * Mandy Lavi <mandy.lavi@freescale.com> * Eran Liberty <liberty@freescale.com> * * SPDX-License-Identifier: GPL-2.0+ */ #ifnde...
C
u-boot-2013.10/arch/powerpc/include/asm/immap_83xx.h
luckyboy/uboot
gpl-2.0
32,047
1,047
codeparrot/github-code
a986d614687e353cb79346c7503c4620a544b636ab49f2952dc379155df46e3d
/* * QEMU MCH/ICH9 PCI Bridge Emulation * * Copyright (c) 2006 Fabrice Bellard * Copyright (c) 2009, 2010, 2011 * Isaku Yamahata <yamahata at valinux co jp> * VA Linux Systems Japan K.K. * Copyright (C) 2012 Jason Baron <jbaron@redhat.com> * * This is based on piix_pci.c, but heavil...
C
hw/pci-host/q35.c
cs648/qemu
gpl-2.0
14,422
433
codeparrot/github-code
9a0d1de96f7ab8885d01453a9f3195171c733fff6dfc3e84b72226e93c7a0efd
/* * iaf_cond_exp.cpp * * This file is part of NEST. * * Copyright (C) 2004 The NEST Initiative * * NEST 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 * (...
C++
models/iaf_cond_exp.cpp
sanjayankur31/nest-simulator
gpl-2.0
12,483
447
codeparrot/github-code
2513b889724c29a997a612a90540bf8ff06b77b304d516b57548e7fc58a3c480
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2015 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
C++
src/Android/LogCat.cpp
ppara/XCSoar
gpl-2.0
4,806
233
codeparrot/github-code
2daacd100d1e61be3658841545a178abfe6b0f0bbe48b7fd59bb06d2aa217bbd
/** * eCryptfs: Linux filesystem encryption layer * Kernel declarations. * * Copyright (C) 1997-2003 Erez Zadok * Copyright (C) 2001-2003 Stony Brook University * Copyright (C) 2004-2008 International Business Machines Corp. * Author(s): Michael A. Halcrow <mahalcro@us.ibm.com> * Trevor S. Highla...
C
fs/ecryptfs/ecryptfs_kernel.h
lyapota/s7e_nougat
gpl-2.0
30,309
885
codeparrot/github-code
d38f02efead07cb134a56cf70422bc94b4cf83c5ba6a8e03ec8dc51f5c2b8be9
/* * IPVS An implementation of the IP virtual server support for the * LINUX operating system. IPVS is now implemented as a module * over the Netfilter framework. IPVS can be used to build a * high-performance and highly available server based on a * clu...
C
net/netfilter/ipvs/ip_vs_core.c
dorimanx/DORIMANX_LG_STOCK_LP_KERNEL
gpl-2.0
54,380
2,048
codeparrot/github-code
792595ea596e1f4ed3623ed3c69841f43b01b19212089ed22dc383e2f5232c2d
/**************************************************************************** ** Copyright (C) 2001-2006 Klarälvdalens Datakonsult AB. All rights reserved. ** ** This file is part of the KD Gantt library. ** ** This file may be used under the terms of the GNU General Public ** License versions 2.0 or 3.0 as publ...
C
kdgantt/kdganttglobal.h
akhuettel/kdepim-noakonadi
gpl-2.0
10,869
280
codeparrot/github-code
b5a657f98371d8f3e4d996a17695359e5690458603686a9a984b1e1b5571e9f6
/* * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
modules/graphics/src/test/java/com/sun/javafx/pgstub/StubMasterTimer.java
166MMX/openjdk.java.net-openjfx-8u40-rt
gpl-2.0
2,155
65
codeparrot/github-code
9a3939caa168007fadc7fe1a9bc51b433d327af93687c0a581d83508c359f58f
/* * QEMU live migration via Unix Domain Sockets * * Copyright Red Hat, Inc. 2009 * * Authors: * Chris Lalancette <clalance@redhat.com> * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. * */ #include "qemu-common.h" #include "qemu_socke...
C
migration-unix.c
dariaphoebe/qemu
gpl-2.0
5,021
217
codeparrot/github-code
d24f9a7ae4b6da86fe3766c78c14b39ca0ec60fcf5582d5ea33072f9d192ece1
/* * Copyright (c) 2004 Topspin Communications. All rights reserved. * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved. * Copyright (c) 2004 Voltaire, 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 te...
C
linux-2.6.18-xen.hg/drivers/infiniband/ulp/ipoib/ipoib_main.c
zhoupeng/spice4xen
gpl-2.0
29,503
1,208
codeparrot/github-code
3d9cb0c99f5ca203d5b1b070f1b5f41633acb75157c745209431c7eff3ddb480
/* Copyright (C) 2003-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jakub@redhat.com>, 2003. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by t...
C
ports/sysdeps/unix/sysv/linux/ia64/nptl/fork.c
jjones-cavium/glibc
gpl-2.0
1,141
31
codeparrot/github-code
f3c4dea743c8153bc933148492b3e6a2377b972101e37ebe28c7e697402c2aa2
/* * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information * * 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 ...
C
src/common/Cryptography/RSA.h
Shauren/TrinityCore
gpl-2.0
2,820
92
codeparrot/github-code
203f5ac2a18fe0f2aad871234a8d2f116ad51c04587a3e796da189d7f0ab61b4
/* $Copyright: $ * Copyright (c) 1996 - 2011 by Steve Baker (ice@mama.indstate.edu) * All Rights reserved * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License,...
C
xml.c
ezc/tree
gpl-2.0
8,845
304
codeparrot/github-code
6489d8f80e5dc88280184272cd9432b628d696ce7ca2f41d3e741496acd6fceb
package nars.main_nogui; /** * The parameters used when the system is invoked from command line */ public class CommandLineParameters { /** * Decode the silence level * * @param args Given arguments * @param r The corresponding reasoner */ public static void decode(String[] args, Re...
Java
nars_core_java/nars/main_nogui/CommandLineParameters.java
opennars/opennars_googlecode
gpl-2.0
847
34
codeparrot/github-code
fd26eb9156711c93434e7d19126e8b565aa7ac655a04d56b5cdfe2f6e80f6337
/** @file ModuleHelp.h @brief A module that implements a help system for the user @author Tobias Blomberg / SM0SVX @date 2004-03-07 \verbatim A module (plugin) for the multi purpose tranciever frontend system. Copyright (C) 2004 Tobias Blomberg / SM0SVX This program is free software; you can redistribute it and...
C
src/svxlink/modules/help/ModuleHelp.h
sh123/svxlink
gpl-2.0
3,770
149
codeparrot/github-code
66b04389946fe7eaa95434fada0f1546d0fa47db85992b69f0743f7a277b9d8b
/* * * Copyright (c) 2003 Dr John Maddock * Use, modification and distribution is subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * * This file implements the following: * void bcp_implementation::add_pa...
C++
lib/boost/tools/bcp/add_path.cpp
Bloodyaugust/sugarlabcppboilerplate
gpl-2.0
22,072
538
codeparrot/github-code
8ad9bf2dedef2e2aad598071f9d788c0d00510e937494da6b8ec312b86cc277f
/* * Copyright (C) 2010,Imagis Technology Co. Ltd. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any la...
C
drivers/input/touchscreen/ist30xx/ist30xx_factory.c
koquantam/android_kernel_oc_vivalto3gvn
gpl-2.0
17,056
594
codeparrot/github-code
a8b274f22e8a33cbfc2e094c08589a50ddde80f0f21b840c2ef5c1a6fdeabd67
jQuery(document).ready(function(){ bindChangeKey(); bindGetKey(); bindPurchaseKey(); doRegister(); }) /* accessor methods (get) */ function getLavaVariable( variableName ) { return jQuery('input.vendor-input[data-variable-name="' + variableName + '"]').val(); } function getPublicKey() { return getLavaVariab...
JavaScript
wp-content/plugins/password-protect-wordpress/_static/vendor.js
raddick/sdssOrg
gpl-2.0
6,957
259
codeparrot/github-code
f1aac27b543ffe4931ae28bf46d00832ccd940390c37e3a245f6d30eb9342f63
/** * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. * * The contents of this file are subject to the terms of the Liferay Enterprise * Subscription License ("License"). You may not use this file except in * compliance with the License. You can obtain a copy of the License by * contacting Liferay, Inc...
Java
webs/resources-importer-web/docroot/WEB-INF/src/com/liferay/resourcesimporter/util/BaseImporter.java
rivetlogic/liferay-quick-questions
gpl-3.0
5,572
214
codeparrot/github-code
9b3bf10699265388b43c6a7ac947acd81e41076f5962f02129fd25119206bde3
/* Copyright (C) 1999, 2001-2002, 2006, 2009-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version ...
C
lib/tmpdir.c
Distrotech/wget
gpl-3.0
4,171
155
codeparrot/github-code
48894f93a2968b7352b7c33c25b8a996e5187a8d44ccd2fcda7fbd874d4d3ddc
//---------------------------------------------------- // // VC:MP Multiplayer Modification For GTA:VC // Copyright 2004-2005 SA:MP team // // File Author(s): kyeman // License: See LICENSE in root directory // Portions based on public domain code by Michael Fötsch (screenshot) // //---------------------------...
C++
Client/subclass.cpp
NeCarbon/vice-players
gpl-3.0
4,284
195
codeparrot/github-code
801fd1073cacd62e38aa69337f933b83ffac3567a2c5459ef713c79621c6e81c
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef nsILineIterator_h___ #defin...
C
Gecko.SDK/30/include/nsILineIterator.h
DragonZX/fdm
gpl-3.0
4,348
136
codeparrot/github-code
dc7b025da926aa9d46a54d17d397a78d59022362009df1a3a1980d75bcdfe76e
/* * Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/> * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2012 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * This program is free software; you can redistribute it and/or modify it * under the t...
C++
src/server/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp
OneB1t/SkyfireBG
gpl-3.0
20,636
477
codeparrot/github-code
102790deb84e1b268314cca83f88cfcdc6376861c4d7f78afe9559dc9c294dfc
#!/usr/bin/env bash # Copyright © 2016 Zetok Zalbavar <zetok@openmailbox.org> # Copyright © 2019 by The qTox Project Contributors # # This file is part of qTox, a Qt-based graphical interface for Tox. # qTox is libre software: you can redistribute it and/or modify # it under the terms of the GNU General Publ...
Shell
test-pr.sh
tux3/qTox
gpl-3.0
1,818
64
codeparrot/github-code
3175ff597ddf64d37c78223075ab80af2f0d68aa328ad769c7254c4d0a3b6f10
#region Copyright & License Information /* * Copyright 2007-2015 The OpenRA Developers (see AUTHORS) * This file is part of OpenRA, which is free software. It is made * available to you under the terms of the GNU General Public License * as published by the Free Software Foundation. For more information, * see COP...
C#
OpenRA.Mods.RA/Traits/Chronoshiftable.cs
suvjunmd/OpenRA
gpl-3.0
3,451
123
codeparrot/github-code
18efcbca45308ee736db28d48f2c893c19ffe02a7f7067327e7d834fc24ee1d4
<?php // Copyright (C) 2010 OpenEMR Support LLC // 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. require_once(".....
PHP
interface/orders/lab_exchange.php
vaibhavgupta3110/openemr
gpl-3.0
18,506
367
codeparrot/github-code
ac9dff9a87aee5af1b030196e8adacc03d37cc6461c2ed1302190e48a4a06a1d
require 'apipie_bindings' module HammerCLI::Apipie class ApipieConnector < HammerCLI::AbstractConnector attr_reader :api def initialize(params) @api = ApipieBindings::API.new(params) if HammerCLI::Settings.get(:_params, :reload_cache) || HammerCLI::Settings.get(:reload_cache) @api.clea...
Ruby
lib/hammer_cli/apipie/resource.rb
alongoldboim/hammer-cli
gpl-3.0
2,450
104
codeparrot/github-code