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
4389e29531802f0fd1dd9e36070c31e550d4eda2d1fd6e7d94509fb9f351eede
/* * 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. */ import $ from 'jquery'; const getProvinceInputValue = function getProvinceInputValue(valueSelector) { retu...
JavaScript
src/Sylius/Bundle/ShopBundle/Resources/private/js/sylius-province-field.js
loic425/Sylius
mit
3,961
108
codeparrot/github-code
c6dda6c3e70cc87a8e1b838b910010ae16f48a2ad54e6078bad6bc742b90ed9e
// 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.Diagnostics; namespace System.Text { internal class EncodingCharBuffer { private unsaf...
C#
src/System.Text.Encoding.CodePages/src/System/Text/EncodingCharBuffer.cs
ViktorHofer/corefx
mit
6,386
183
codeparrot/github-code
7eb2bff7d0aaa532b5c7f681fe7848a416f9c8a79328330933be957e300134b8
/* * jQuery Plugin: Tokenizing Autocomplete Text Entry * Version 1.6.0 * * Copyright (c) 2009 James Smith (http://loopj.com) * Licensed jointly under the GPL and MIT licenses, * choose which one suits your project best! * */ (function ($) { // Default settings var DEFAULT_SETTINGS = { // Search...
JavaScript
Website/Resources/Shared/components/Tokeninput/jquery.tokeninput.js
janjonas/Dnn.Platform
mit
30,450
873
codeparrot/github-code
15c8dbd69f0e6dd067dc7f58271c5d0936670e11a8930a26d42e252b63540013
/* * dmxdev.c - DVB demultiplexer device * * Copyright (C) 2000 Ralph Metzler & Marcus Metzler * for convergence integrated media GmbH * * This program 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...
C
snapgear_linux/linux-2.6.21.1/drivers/media/dvb/dvb-core/dmxdev.c
impedimentToProgress/UCI-BlueChip
mit
26,780
1,076
codeparrot/github-code
24207be3abdbd757d4f59a1461038af652a0533b2d7e2c54c995574bd0003376
#!/bin/bash replSetName=$1 dnsNamePrefix=$2 mongoSslCertPswd=$3 GetMongoPackage() { packageUri=$1 while true; do #install mongo package wget $packageUri && break || { if [[ $n -lt 3 ]]; then ((n++)) echo "Command failed. Attempt $n of 3:" sleep 15; else echo "Faile...
Shell
application-workloads/airflow/mongodb-sharded-on-centos/scripts/replica_secondary.sh
neudesic/azure-quickstart-templates
mit
3,882
143
codeparrot/github-code
3f626db11eed794242a06ac8dc1628e34663ec4799b720abe137d0718e6c2845
import React, { Component, PropTypes } from 'react' import { reset } from 'redux-form' // reset action creator exported by redux-form import { connect } from 'react-redux' // needed to bind reset action creator to dispatch import SubmitFromParentForm from './SubmitFromParentForm' class SubmitFromParentContainer e...
JavaScript
5.3.6/src/examples/SubmitFromParentContainer.js
erikras/redux-form-docs
mit
1,612
46
codeparrot/github-code
479cd5b34db82c6fe4b438eb5cb3d6671c5f920e313f1c0412475f8343d52850
/*! * @atlassian/aui - Atlassian User Interface Framework * @version v7.2.0-beta-3 * @link https://docs.atlassian.com/aui/latest/ * @license SEE LICENSE IN LICENSE.md * @author Atlassian Pty Ltd. */ // src/js/aui/header-async.js (typeof window === 'undefined' ? global : window).__2099962405af1a8893c5b00b1120bf59 ...
JavaScript
ajax/libs/aui/7.2.0-beta-3/aui/js/aui-header-async.js
cdnjs/cdnjs
mit
1,603
62
codeparrot/github-code
346ca0d102edebb43dd2263078f32bf8da97a946bf308405df244e87c0ee032e
/* 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
graphics/pixelformat.h
somaen/osystemio
gpl-2.0
6,759
268
codeparrot/github-code
dbcfbc4db4d79b1a143b6a73033164f5c653cce60baf873d5576ac7febf098a1
#!/bin/sh #fist version March 1998, Andrew Tridgell SWATDIR=$1 SRCDIR=$2/ BOOKDIR=$3 echo Installing SWAT in $SWATDIR echo Installing the Samba Web Administration Tool for d in $SWATDIR $SWATDIR/help $SWATDIR/images $SWATDIR/include; do if [ ! -d $d ]; then mkdir $d if [ ! -d $d ]; then ...
Shell
user/samba/source/script/installswat.sh
atmark-techno/atmark-dist
gpl-2.0
2,955
118
codeparrot/github-code
388e7b854cb0e7477b38ca899c84c4acc7f0307d27080664a03c4493d144596e
/* * MTK NAND Flash controller driver. * Copyright (C) 2016 MediaTek Inc. * Authors: Xiaolei Li <xiaolei.li@mediatek.com> * Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License versio...
C
drivers/mtd/nand/raw/mtk_nand.c
Taeung/tip
gpl-2.0
39,916
1,603
codeparrot/github-code
09ab93ca846f9e39c8e8d866ff8c6c408752e1ad5dadc0b44ed3fdace8117e24
// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. using UnityEngine; namespace HutongGames.PlayMaker.Actions { [ActionCategory(ActionCategory.GameObject)] [Tooltip("Gets the number of Game Objects in the scene with the specified Tag.")] public class GetTagCount : FsmStateAction { [UIHint(UIHint....
C#
unity3d/Assets/PlayMaker/Actions/GetTagCount.cs
ojh6t3k/UnityRobot
gpl-2.0
729
33
codeparrot/github-code
9e75efe3bcaad0ba3a2059d749998fe415ec731f1866cd37c32597d18ca80534
/* * linux/drivers/mmc/core/sdio_irq.c * * Author: Nicolas Pitre * Created: June 18, 2007 * Copyright: MontaVista Software Inc. * * Copyright 2008 Pierre Ossman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publish...
C
drivers/mmc/core/sdio_irq.c
michabs/linux-imx6-3.14
gpl-2.0
8,454
347
codeparrot/github-code
355e3167659ed4232d32c75369420133d0acfc0640f391fa179d6a3e7cdda9a2
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
PHP
wp-content/plugins/zend-framework/Zend/Translate/Adapter/XmlTm.php
MehdyOueriemi/Relais
gpl-2.0
4,662
141
codeparrot/github-code
442d870bf7cc47197b9de68e4ce47d228f67e83c8cde3b42f466b101711f55bb
// SPDX-License-Identifier: GPL-2.0-only /* * builtin-stat.c * * Builtin stat command: Give a precise performance counters summary * overview about any workload, CPU or specific PID. * * Sample output: $ perf stat ./hackbench 10 Time: 0.118 Performance counter stats for './hackbench 10': 1708.76...
C
tools/perf/builtin-stat.c
penberg/linux
gpl-2.0
65,234
2,420
codeparrot/github-code
9a7e5c9f5309cc7f2921242b5ab2b58dd1677e5db77233fd3a76641accc85325
/******************************************************************* * (c) Copyright 2011-2012 Discretix Technologies Ltd. * * This software is protected by copyright, international * * treaties and patents, and distributed under multiple licenses. * * Any use of this Software as part of the Di...
C
linux/kernel/drivers/staging/sep54/sep_init.c
shakalaca/ASUS_ZenFone_ZC451CG
gpl-2.0
25,214
795
codeparrot/github-code
b663f4a3c7772754ecd578c6de2f6f0ef8baaf51e436607107f44801a195f885
/* Native definitions for Intel x86 running DJGPP. Copyright 1997, 1998, 1999, 2001, 2002 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software ...
C
user/gdb/gdb/config/i386/nm-go32.h
ipwndev/DSLinux-Mirror
gpl-2.0
1,321
37
codeparrot/github-code
cd10e1e73b220bcc1327e692d4807cce73c1db51d8a47d8e50e9a806ccf0445b
/* * ASIX AX8817X based USB 2.0 Ethernet Devices * Copyright (C) 2003-2006 David Hollis <dhollis@davehollis.com> * Copyright (C) 2005 Phil Chang <pchang23@sbcglobal.net> * Copyright (C) 2006 James Painter <jamie.painter@iname.com> * Copyright (c) 2002-2003 TiVo Inc. * * This program is free software; you can red...
C
drivers/net/usb/asix_devices.c
Fe-Pi/linux
gpl-2.0
37,199
1,402
codeparrot/github-code
d175bdecb8b1f04c931cfcec195e868ac03af33c5c8c6c7f69bda0bc104d628a
<?php if ( ! defined( 'OT_VERSION' ) ) exit( 'No direct script access allowed' ); /** * OptionTree functions * * @package OptionTree * @author Derek Herman <derek@valendesigns.com> * @copyright Copyright (c) 2013, Derek Herman * @since 2.0 */ /** * Theme Options ID * * @return string * * @acces...
PHP
wp-content/themes/electron/option-tree/includes/ot-functions.php
fdixon7/oktoberfestma
gpl-2.0
9,720
397
codeparrot/github-code
a1c33b0cf9f789c8dfa3ca4bdb9adf289db2b002d20829bb3b024983c38510d8
----------------------------------- -- Area: Waughroon_Shrine -- Name: Operation desert swarm ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/zo...
Lua
scripts/zones/Waughroon_Shrine/bcnms/operation_desert_swarm.lua
The-HalcyonDays/darkstar
gpl-3.0
1,778
59
codeparrot/github-code
d74d469f9597440180bb9bcb79bb819f37a3d9c5c7d5e72ade24ace88b34fe1c
/* ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 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 req...
C
os/hal/platforms/STM32/OTGv1/usb_lld.c
fabiobaltieri/ChibiOS
gpl-3.0
37,065
1,301
codeparrot/github-code
f100d91a9c32e46505c6a76543d83244744df07a4b52059c858575b745710516
/* * Copyright (C) 2015 Dato, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distribu...
C++
src/fault/zmq/zmq_msg_vector.hpp
ypkang/Dato-Core
agpl-3.0
9,320
368
codeparrot/github-code
74ede156f2814147b3e2ae431cbb211ea74c814df8f564407ade59c41fcbb3c8
/****************************************************************/ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* All contents are licensed under LGPL V2.1 */ /* See LICENSE for full restrictions ...
C++
modules/phase_field/src/utils/FileRangeBuilder.C
mellis13/moose
lgpl-2.1
5,461
168
codeparrot/github-code
db877facd791d1aa8bcd8684666de89dfd87036fc24e922c4e10a1e9776193ca
/* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * * LXDE-Qt - a lightweight, Qt based, desktop toolset * http://razor-qt.org * * Copyright: 2012 Razor team * Authors: * Johannes Zellner <webmaster@nebulon.de> * * This program or library is free software; you can redistribute it * and/or modify it under the te...
C
plugin-volume/audiodevice.h
Ilya87/lxqt-panel
lgpl-2.1
2,674
91
codeparrot/github-code
8e0a2cfe04b7bbd845a9f549903cceae51ac97586ec620eb666c32308c8eb17d
import platform,subprocess import posixpath import os,sys,re,string import shutil,ConfigParser import ctypes import SCons.Action import SCons.Builder import SCons.Util from SCons.Script import * from SCons.Node.FS import _my_normcase from SCons.Tool.JavaCommon import parse_java_file from version_helper import * from j...
Python
site_scons/site_init.py
dpauls/OpenMAMA
lgpl-2.1
932
32
codeparrot/github-code
e4f14c0265feb593a7b4ea0030709e35e3793795ead626e593163ed15fa054a9
#!/bin/bash DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)" cd "$DIR" DO_LOOP="no" while getopts "p:f:l" OPTION 2> /dev/null; do case ${OPTION} in p) PHP_BINARY="$OPTARG" ;; f) POCKETMINE_FILE="$OPTARG" ;; l) DO_LOOP="yes" ;; \?) break ;; esac done if [ "$PHP_BINARY" == "" ...
Shell
start.sh
NebzzTeam/PocketMine-MP
lgpl-3.0
1,319
66
codeparrot/github-code
19312a754cd69c6990eefdfca2772ac6e9d16c1a9afb2fb424941e83116403ac
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
components/camel-spring/src/test/java/org/apache/camel/spring/issues/SpringTransactionErrorHandlerAndContextScopedOnExceptionIssueTest.java
adessaigne/camel
apache-2.0
3,884
96
codeparrot/github-code
1635b3b6c03c19e684e2c960070fc1fa3419b55ce22875a9fc7521d25e60cffd
/* 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 not use this fi...
GO
golang/Godeps/_workspace/src/github.com/stealthly/go-avro/codegen/codegen.go
CiscoCloud/edge-test
apache-2.0
2,021
90
codeparrot/github-code
bdaca89c54dc554180cad9abd1d6a2b74b3090605d8e5900038c9a5577b938dd
package org.bouncycastle.x509; import java.io.IOException; import java.security.cert.Certificate; import java.security.cert.X509CertSelector; import java.security.cert.X509Certificate; import org.bouncycastle.util.Selector; /** * This class is a Selector implementation for X.509 certificates. * * @see org.bouncy...
Java
src/org/bouncycastle/x509/X509CertStoreSelector.java
thedrummeraki/Aki-SSL
apache-2.0
2,993
89
codeparrot/github-code
ab8e3694daf4c09575609523e1fed1fcc3ac909205ee0b566edfba4647659df3
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
Java
camel-core/src/main/java/org/apache/camel/model/language/TokenizerExpression.java
jarst/camel
apache-2.0
6,445
221
codeparrot/github-code
684bb861f09196b1222fdf6069ac9c95bdf5c61bb8b8e664e4f2a4d53734d5aa
/** * 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
library/src/main/java/org/apache/apex/malhar/lib/state/managed/UnboundedTimeBucketAssigner.java
tweise/incubator-apex-malhar
apache-2.0
1,917
73
codeparrot/github-code
f6a49e2bf15fd8eadf05ad81f8de6b8d40203a989191fdc7e21f7dfb899f694c
package com.socks.jiandan.net; import com.google.gson.Gson; import com.google.gson.JsonSyntaxException; import java.lang.reflect.Type; /** * @author zhaokaiqiang * @ClassName: com.drd.piaojubao.utils.JSONParser * @Description: Json对象转换器 * @date 2014-8-27 上午9:44:23 */ public class JSONParser { p...
Java
app/src/main/java/com/socks/jiandan/net/JSONParser.java
dylanchann/JianDan
apache-2.0
1,399
54
codeparrot/github-code
b12f63baa01f68ca4b3d6c49354d2bf81dd9b08b04ffefb66a717966843a7a38
/* * Copyright 2015 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under t...
Java
drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/event/KieModuleDiscovered.java
ThiagoGarciaAlves/drools
apache-2.0
966
34
codeparrot/github-code
103344a7981781b22ca5bb2e0b4c1d42488d67c7f34dcaec92ca6cde5015f535
/* * 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
core/camel-core/src/test/java/org/apache/camel/impl/lw/PollEnricherLightweightTest.java
nikhilvibhav/camel
apache-2.0
5,939
155
codeparrot/github-code
6366b507f7278262183a53058ebb3ba41d30d8b2431975335068c78c0300b6b0
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
C#
src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Commands/NewAzureRmDataLakeAnalyticsCatalogSecret.cs
zhencui/azure-powershell
apache-2.0
4,501
80
codeparrot/github-code
b32b486adbc1c38f7b6f11456e4ab1ef2e95d7d93af10db7be758fa967408bba
Clazz.declarePackage ("J.jvxl.readers"); Clazz.load (["J.jvxl.readers.AtomDataReader"], "J.jvxl.readers.IsoMOReader", ["java.lang.Float", "java.util.Random", "JU.AU", "$.Measure", "$.P3", "$.PT", "$.V3", "J.api.Interface", "J.quantum.QS", "JU.Logger"], function () { c$ = Clazz.decorateAsClass (function () { this.random...
JavaScript
j2s/J/jvxl/readers/IsoMOReader.js
bas-rustenburg/jsmol-local
bsd-2-clause
11,187
236
codeparrot/github-code
d246a6ed9936e502123b984c987cde77b818d22678da7b4ff0afbd0f9011966f
/***************************************************************************** Copyright (c) 1993-2000, Div. Medical and Biological Informatics, Deutsches Krebsforschungszentrum, Heidelberg, Germany All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permi...
C
Utilities/ipFunc/SDevC.c
nocnokneo/MITK
bsd-3-clause
3,733
106
codeparrot/github-code
4b9189983e0450e0fd0b45b77a1abd4dc490a5cb03223947953de4edbf4ca84b
/* * Copyright (c) 2008, Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * n...
Java
tools/cooja/java/org/contikios/cooja/contikimote/interfaces/ContikiVib.java
MohamedSeliem/contiki
bsd-3-clause
4,118
137
codeparrot/github-code
c49da0efb3963147497199a3458974a454fe0e30a39b205c3ccc3b04d39a690c
#! /usr/bin/perl # # create-test-stubs.pl # sequel-pro # # Created by Stuart Connolly (stuconnolly.com) on January 8, 2011. # Copyright (c) 2011 Stuart Connolly. All rights reserved. # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation #...
Perl
Scripts/create-test-stubs.pl
abhibeckert/sequelpro
mit
6,552
202
codeparrot/github-code
474dc29c63f8c18a4a9367e81d2f1a229d49f06100d84361fccd38a9967067c5
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
Java
src/main/java/co/aikar/util/LoadingMap.java
JBYoshi/SpongeCommon
mit
11,000
376
codeparrot/github-code
3c55dbbc6448503f5a9cb4ebfc82af7dfa4d7fb9fbfe09e357186eb0e7be8053
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Globalization; using System.Linq; using System.Text; namespace Microsoft.Rest.Generator.Utilities { /// <summary> /// Custom string builder...
C#
AutoRest/AutoRest.Core/Utilities/IndentedStringBuilder.cs
sharadagarwal/autorest
mit
5,638
171
codeparrot/github-code
ebec54562331a5e8eff30676ea29703df88c90e57664683ec6d43c639d2b0506
/* Copyright (c) 2007-2011 iMatix Corporation Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file This file is part of 0MQ. 0MQ 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 Softw...
C++
zeromq/src/xsub.hpp
Htbaa/zmq.mod
mit
2,245
81
codeparrot/github-code
ce0cb412d14486465fa8b52202224c38d28559773df296f28e970e88a166b8d6
UM.registerUI('autofloat',function(){ var me = this, lang = me.getLang(); me.setOpt({ autoFloatEnabled: true, topOffset: 0 }); var optsAutoFloatEnabled = me.options.autoFloatEnabled !== false, topOffset = me.options.topOffset; //如果不固定toolbar的位置,则直接退出 if(!optsAut...
JavaScript
wrapper/_src/adapter/autofloat.js
touhou-gensokyo/umeditor-wrapper
mit
5,763
158
codeparrot/github-code
80e5f916cffb86c0b175eb92dc88c6c4a6fde0a8dcb32f76141ab96faa10ff6f
// 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. // // ShimStackWalk.cpp // // // This file contains the implementation of the Arrowhead stackwalking shim. This shi...
C++
src/debug/di/shimstackwalk.cpp
poizan42/coreclr
mit
74,599
2,265
codeparrot/github-code
b3e9ac13681bec9c187f86a95049f441a8408c4dd201b206726437f9e676326a
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
C++
src/utils/memory.cpp
ryanwmoore/fceux
gpl-2.0
2,468
89
codeparrot/github-code
93b4b44e8a9cde44980157d57f2f0ce1e1b93385541f00110d0fced01ea9e555
<?php if(!function_exists('avia_modify_front')) { /** * * This function checks what to display on the frontpage * Its a new and much simpler function to redirect front and blog pages, by simply filtering the settings->readings options and replacing them with the avia theme options */ add_action('init', 'avia_mo...
PHP
wp-content/themes/enfold/includes/helper-template-logic.php
fredpaw/tasmania
gpl-2.0
7,427
293
codeparrot/github-code
2a8ad959707ab4d2cf64eb27254c842ae3b9a5918f331e7947eaf878ff7a5584
/* $NoKeywords:$ */ /** * @file * * mttwl3.c * * Technology Phy assisted write levelization for DDR3 * * @xrefitem bom "File Content Label" "Release Content" * @e project: AGESA * @e sub-project: (Mem/Tech/DDR3) * @e \$Revision: 49104 $ @e \$Date: 2011-03-17 06:54:25 +0800 (Thu, 17 Mar 2011) $ * **/ /******...
C
src/vendorcode/amd/agesa/f12/Proc/Mem/Tech/DDR3/mttwl3.c
hustcalm/coreboot-hacking
gpl-2.0
22,929
701
codeparrot/github-code
b393f0b161495f45d0926ad02963477982bdf2e2e0e767659b1661728db989d3
/**************************************************************************** * * Copyright 2010 --2011 Broadcom Corporation. * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the terms of the GNU General Public L...
C
arch/arm/plat-kona/include/plat/pwr_mgr.h
Samsung-BCM/android_kernel_samsung_bcm
gpl-2.0
11,619
339
codeparrot/github-code
d135648c094dda81db4ed0dfd71b441b6dcd395c1142716a3c9b6c4195343204
/* * colors.c - color and attribute definitions * Copyright (c) 1998,1999 Tim Janik * Jaroslav Kysela <perex@perex.cz> * Copyright (c) 2009 Clemens Ladisch <clemens@ladisch.de> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Ge...
C
alsamixer/colors.c
davel/alsa-utils
gpl-2.0
3,706
120
codeparrot/github-code
01907540ee8de3da2e3ab9738d1cd701c6f49ed04366a74d3fc5f4807e07bc48
# -*- coding: utf-8 -*- # # hl_api_models.py # # 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, ...
Python
pynest/nest/lib/hl_api_models.py
weidel-p/nest-simulator
gpl-2.0
5,367
214
codeparrot/github-code
a5bfb62afb11d7674d24ae9bd0f84f57300afaaaf51a6a2f884d5d9080b81842
///////////////////////////////////////////////////////////////////////////// // Name: access.h // Purpose: interface of wxAccessible // Author: wxWidgets team // RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** w...
C
win32/clamav-for-windows/sigui/wxWidgets-2.9.1/interface/wx/access.h
Distrotech/clamav
gpl-2.0
14,450
421
codeparrot/github-code
bf79ced7e058645f5600c06d6f1b3cee1fb4012fd5a01c7203b1f9e7fb0d2554
/* Copyright (C) 2002, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. 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 ...
C
uClibc/libpthread/nptl/pthread_mutexattr_setpshared.c
Bytewerk/uClinux-ipcam
gpl-2.0
1,434
44
codeparrot/github-code
e7a2e5f67413140770bbf7590d4bb8fcf7b2bd6df5c9b54dfbba1a958af7062d
/* Defines String::compose(fmt, arg...) for easy, i18n-friendly * composition of strings. * * Version 1.0. * * Copyright (c) 2002 Ole Laursen <olau@hardworking.dk>. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as publis...
C++
src/util/compose.hpp
tik0/inkscapeGrid
gpl-2.0
11,982
394
codeparrot/github-code
0d82a0424bc5b28824f9cbe8bda11d1f01e6e5d6ac822bfb85e40b72a20baff8
/* drivers/video/backlight/lm3532_bl.c * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is dist...
C
drivers/video/backlight/lm3532.c
Evervolv/android_kernel_lge_v500
gpl-2.0
17,619
629
codeparrot/github-code
3b33e379feb8fb18b17f11b96e1238cb5873ccf9a0127825a91fbceeb1f12bdc
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright © IBM Corp. 2003 * * Author: Patrick Mansfield<patmans@us.ibm.com> */ #include <errno.h> #include <fcntl.h> #include <inttypes.h> #include <linux/bsg.h> #include <linux/types.h> #include <scsi/scsi.h> #include <scsi/sg.h> #include <stdio.h> #include <s...
C
src/udev/scsi_id/scsi_serial.c
ssahani/systemd
gpl-2.0
35,611
894
codeparrot/github-code
fc6b38a086bf6b462acf1b4250e7f3ec99567f41006d75d0349ba2bb082fec14
/* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once #include "list.h" typedef struct DnssdService DnssdService; typedef struct DnssdTxtData DnssdTxtData; typedef struct Manager Manager; typedef struct DnsResourceRecord DnsResourceRecord; typedef struct DnsTxtItem DnsTxtItem; enum { DNS_TXT_ITEM_T...
C
src/resolve/resolved-dnssd.h
ssahani/systemd
gpl-2.0
1,720
62
codeparrot/github-code
c9624a4852f19fa53088033ddeeddb2bfdbb0b8300bf4e8bf31f2af547c37e67
/* Copyright (C) 2001-2012 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of the license ...
C
src/modules/pdf/mupdf-1.2/thirdparty/jbig2dec/jbig2_generic.c
vtorri/ecrin
gpl-3.0
26,568
874
codeparrot/github-code
86542722b5cb9cb8015aaeb52ab4b924046e8a2bda03a3e11dd6450a0c33717c
package info.ephyra.nlp; import info.ephyra.util.RegexConverter; import info.ephyra.util.StringUtils; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import o...
Java
src/info/ephyra/nlp/OpenNLP.java
vishnujayvel/QAGenerator
gpl-3.0
11,662
370
codeparrot/github-code
1078e894ba32944327b41884607a906b2b2fff059a16663df8f0e9fc00e13dbe
# -*- coding: utf-8 -*- from __future__ import (unicode_literals, division, absolute_import, print_function) __license__ = 'GPL 3' __copyright__ = '2011, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' from PyQt5.Qt import QDialog, QUrl from calibre import url_slash_cleaner from calibre....
Python
src/calibre/gui2/store/web_store_dialog.py
ashang/calibre
gpl-3.0
1,721
57
codeparrot/github-code
307218aa1bcc551fdcd549a63399fe7b43897e69ad651f70b5470d0032eaf3dd
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM...
PHP
modules/Cases/Case.php
nadilhassan/SuiteCRM
agpl-3.0
12,412
352
codeparrot/github-code
cf23594e6a28125d08a2502cd52241a957239b6c59e10baab4190b9da46f64f3
<!-- Creator : groff version 1.18.1 --> <!-- CreationDate: Fri Jul 13 17:43:15 2007 --> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> <meta name="Content-Style" content="text/css"> <title>TIFFError</title> </head> <body> <h1 align=center>TIFFError</h1> <a href="#NAME">NAME</a><br> <...
HTML
src/3rdparty/libtiff/html/man/TIFFError.3tiff.html
sunblithe/qt-everywhere-opensource-src-4.7.1
lgpl-2.1
3,247
107
codeparrot/github-code
fa77a6cea997806395fd8c26b41365082e93a71a1da7bf15768da4955955729f
/* * Copyright 2000-2014 Vaadin Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
Java
server/src/com/vaadin/ui/OptionGroup.java
Flamenco/vaadin
apache-2.0
8,790
283
codeparrot/github-code
2d3651dd4b35178826e4e1fb759abe7953287f233154b224d8b3ae53d51e8d18
/* * 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
modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsSizeSelfTest.java
dlnufox/ignite
apache-2.0
25,535
834
codeparrot/github-code
c84b5e336d5eb7e5139fe48851687950d8d86345739741bbb7f54e18e569b465
/* * Seldon -- open source prediction engine * ======================================= * * Copyright 2011-2015 Seldon Technologies Ltd and Rummble Ltd (http://www.seldon.io/) * * ******************************************************************************************** * * Licensed under the Apache License, V...
Java
server/src/io/seldon/general/jdo/SqlVersionPeer.java
Seichis/seldon-server
apache-2.0
1,804
55
codeparrot/github-code
efeeec1cdfd44f0ee9acd1622ba1fc79d9ec52c5a08f9b3408bd71dfe12d24ca
/* * Copyright 2012-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/fieldvalues/FieldValues.java
coolcao/spring-boot
apache-2.0
2,471
96
codeparrot/github-code
9d37b6894c0be4581827f4c000c7104b4e6e0730c630f0061b953d47d80d556b
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
Java
services/src/main/java/org/keycloak/services/resources/account/resources/AbstractResourceService.java
thomasdarimont/keycloak
apache-2.0
6,843
209
codeparrot/github-code
d77aa6a3c12b517738707af90c261e408948bef61a7c38ed72d470fbeea1aa6b
/* * Copyright Terracotta, 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 ...
Java
impl/src/main/java/org/ehcache/impl/internal/store/offheap/HeuristicConfiguration.java
alexsnaps/ehcache3
apache-2.0
6,030
119
codeparrot/github-code
6ce447e27857ebff02312bb34fe43cf9da3301062a55018550307491da34ca11
# vim: set encoding=utf-8 # Copyright (c) 2016 Intel Corporation  # # 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 require...
Python
python/sparktk/frame/ops/box_cox.py
trustedanalytics/spark-tk
apache-2.0
2,584
71
codeparrot/github-code
2e42ca6fbdd961f9912f3054c35e5d98f47d1d98283f21a2a74d7bf53ecb352b
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
presto-hive/src/main/java/com/facebook/presto/hive/SecurityConfig.java
deciament/presto
apache-2.0
972
34
codeparrot/github-code
3929e514446580cc19e11b6b82528807568fb1e5569690b3270d0ea547474862
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Java
src/mapred/org/apache/hadoop/mapreduce/lib/input/CombineFileInputFormat.java
ulmon/hadoop1.2.1
apache-2.0
25,433
699
codeparrot/github-code
6bc89efe1c7477972dd4a69fd31206a57b2b301098e0955d09ba9328ce961104
// Copyright (C) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
Java
gerrit-server/src/main/java/com/google/gerrit/server/change/ChangeTriplet.java
hdost/gerrit
apache-2.0
2,321
72
codeparrot/github-code
0a28d3774580d2a8cbdffc8c06349c11db8447b5b490c62cc75c496bdc185726
/* * Copyright 2015 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. 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 *...
Java
testsuite/integration/src/test/java/org/keycloak/testsuite/offlineconfig/AdminRecoveryTest.java
eugene-chow/keycloak
apache-2.0
5,325
134
codeparrot/github-code
f353c00f9ce16d69b1d283f38e1076bb5b3ae8abf38a3b2c45ecb0b495b49d83
/* * 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
bundles/extensions/fsresource/src/test/java/org/apache/sling/fsprovider/internal/InitialContentImportOptionsTest.java
cleliameneghin/sling
apache-2.0
2,242
60
codeparrot/github-code
55bf0f426a51da81958022c377efad0b24c46b5a9198d9762c8881faf6d06c84
// --------------------------------------------------------------------------- // // @file LoadOGLCore.h // @brief OpenGL Core Profile declarations for dynamic loading // @author Philippe Decaudin // @license This file is part of the AntTweakBar library. // For conditions of distribu...
C
src/AntTweakBar/LoadOGLCore.h
2666hz/Cinder
bsd-2-clause
28,939
426
codeparrot/github-code
fa125e787a54f5fd5cb819e061dc8ded654e30aca7ba1526f5dd7081d7b1a115
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
PHP
pimcore/lib/Zend/Validate/Isbn.php
yasarkunduz/pimcore
bsd-3-clause
7,655
279
codeparrot/github-code
c989a406fe4021bbec2050322e34e4b277c0baa3876251f5d267f374755b751e
<?php /** * TbFileUpload.php * * Modified version from the great implementation of XUpload Yii Extension * @author AsgarothBelem <asgaroth.belem@gmail.com> * @link http://blueimp.github.com/jQuery-File-Upload/ * @link https://github.com/Asgaroth/xupload * * @author: antonio ramirez <antonio@clevertech.biz> * D...
PHP
protected/modules/yupe/extensions/booster/widgets/TbFileUpload.php
samdark/yupe
bsd-3-clause
4,690
169
codeparrot/github-code
356566c274c77196d59c17aef8d12dbcdbebd6908eb5c00c80b84c5746868fde
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Autocomplete - Remote with caching</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.9.1.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../...
HTML
testeJsGaleria/js/jquery-ui-1.10.3/demos/autocomplete/remote-with-cache.html
dereckleme/siteBouts
bsd-3-clause
1,697
53
codeparrot/github-code
8251f066de5c77777d56a9201b4febe0b1f470647afe47070b4c1bf7e274d890
local component = require("component") local computer = require("computer") local event = require("event") local adding = {} local removing = {} local primaries = {} ------------------------------------------------------------------------------- -- This allows writing component.modem.open(123) instead of writing -- ...
Lua
world/opencomputers/f6b12c72-550e-4c86-b7bc-3a72d250d375/boot/04_component.lua
vonflynee/opencomputersserver
mit
4,131
141
codeparrot/github-code
2dd0cfd4dd55d40a2577bb9680f5b7439f68269ad556cdae7308a8bcb04d1b42
from mongoengine.base import ValidationError from crits.core.class_mapper import class_from_id from crits.core.crits_mongoengine import EmbeddedLocation from crits.core.handlers import get_item_names from crits.locations.location import Location def get_location_names_list(active): listing = get_item_names(Locat...
Python
crits/locations/handlers.py
kaoscoach/crits
mit
4,991
147
codeparrot/github-code
dd94fdef8273e1651ef08eb92c416735228f7aa6cdfef4acb516ce7e1f423041
/* * drivers/video/cirrusfb.c - driver for Cirrus Logic chipsets * * Copyright 1999-2001 Jeff Garzik <jgarzik@pobox.com> * * Contributors (thanks, all!) * * David Eger: * Overhaul for Linux 2.6 * * Jeff Rugen: * Major contributions; Motorola PowerStack (PPC and PCI) support, * GD54xx, 1280x1...
C
snapgear_linux/linux-2.6.21.1/drivers/video/cirrusfb.c
impedimentToProgress/UCI-BlueChip
mit
91,733
3,336
codeparrot/github-code
3307344cabcd428ab6c1efdc303ba5a7d9c51cbd43b9e80e0c4a8270da37dfd3
// Type definitions for @loadable/component 5.13 // Project: https://github.com/smooth-code/loadable-components // Definitions by: Martynas Kadiša <https://github.com/martynaskadisa> // Daniel Playfair Cal <https://github.com/hedgepigdaniel> // Definitions: https://github.com/DefinitelyTyped/DefinitelyT...
TypeScript
types/loadable__component/index.d.ts
markogresak/DefinitelyTyped
mit
3,762
105
codeparrot/github-code
b50f9625e5d32b46688a29a5cdf068bee3f464a03d1040265995198363221f7d
//------------------------------------------------------------------------------ // <copyright file="BridgeDataRecord.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // @owner [....] // @backupOwner [....] //---------------------------------------------------...
C#
System.Data.Entity/System/Data/Query/ResultAssembly/BridgeDataRecord.cs
sekcheong/referencesource
mit
26,687
724
codeparrot/github-code
b08cd9da986af773abbb7c3bfdcbcdef0280793a4c1d9133a1e073712a55512b
/* 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/. */ "use strict"; function utf16to8(str) { var out, i, len, c; out = ""; len = str.length; for(i = 0...
JavaScript
hmi-cocos2d-x/cocos/scripting/javascript/script/debugger/DevToolsUtils.js
ihcfan/NautiPlot
gpl-2.0
3,524
134
codeparrot/github-code
85e04a71ff0d0ad981e12691094f05445f83feca84b2d3d4ce2dee1bbf5c673f
/** * @ngdoc object * @name Bastion.content-views.service:ContentViewRepositoriesService * * @requires translate * * @description * Provides the functionality specific to ContentViews for use with the Nutupane UI pattern. * Defines the columns to display and the transform function for how to generate each ...
JavaScript
engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-repositories.service.js
steveloranz/katello
gpl-2.0
2,970
93
codeparrot/github-code
bca9f4bb9ad4197c6fda4ed9f6568415b140e9607192d7aa8f1b111e8c5ccccc
/* comedi/drivers/usbdux.c Copyright (C) 2003-2007 Bernd Porr, Bernd.Porr@f2s.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...
C
drivers/staging/comedi/drivers/usbdux.c
kozmikkick/kozmikkernel3.8
gpl-2.0
73,809
2,682
codeparrot/github-code
a301898bccba7b27f164ce921d74feef36da3d0bdb737b19243ce139b5760621
//===-- JITDebugRegisterer.cpp - Register debug symbols for JIT -----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
C++
libclamav/c++/llvm/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp
vrtadmin/clamav-devel
gpl-2.0
7,109
213
codeparrot/github-code
f713b597deaf2a6486f9f55e3db813ac6881797af5e5d35496bacf771b26ac6f
/* * Copyright 2013-2014 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #include <linux/clk.h> #include <linux/clkdev.h> #include <linux/e...
C
drivers/clk/imx/clk-imx6sl.c
codeaurora-unoffical/linux-msm
gpl-2.0
29,712
444
codeparrot/github-code
42e39443a1b81e54427074081da5641c83a400679ef2ae91f3e8f27cb7d5eb68
using System; using Server.Network; namespace Server.Items { public class LOSBlocker : Item { [Constructable] public LOSBlocker() : base(0x21A2) { this.Movable = false; } public LOSBlocker(Serial serial) : base(serial) { ...
C#
Scripts/Items/Internal/LOSBlocker.cs
Ravenwolfe/ServUO16
gpl-2.0
3,158
125
codeparrot/github-code
7206686270001f13d798b1d9b48737082059c8b4f48ea513233c2e6e18248cd2
/* AddressSanitizer, a fast memory error detector. Copyright (C) 2012-2014 Free Software Foundation, Inc. Contributed by Kostya Serebryany <kcc@google.com> This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by t...
C
gcc/asan.c
mydongistiny/GCC_SaberMod
gpl-2.0
90,942
2,875
codeparrot/github-code
30ef5314438464072ae791fbd3e5f4dbfcce307379bc5a9ada4329b71b3ae078
#ifndef SQL_MY_APC_INCLUDED #define SQL_MY_APC_INCLUDED /* Copyright (c) 2011, 2013 Monty Program Ab. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This pr...
C
sql/my_apc.h
nirbhayc/server
gpl-2.0
4,722
162
codeparrot/github-code
e87c0f8a198d6b9cac94fb7b09ea845c2c0497486c170a8009de9535cb1a705b
#!/bin/sh # SPDX-License-Identifier: LGPL-2.1+ # # Call built systemd-hwdb update on our hwdb files to ensure that they parse # without error # # (C) 2016 Canonical Ltd. # Author: Martin Pitt <martin.pitt@ubuntu.com> set -e export SYSTEMD_LOG_LEVEL=info ROOTDIR=$(dirname $(dirname $(readlink -f $0))) SYSTEMD_HWDB=./s...
Shell
test/hwdb-test.sh
reverendhomer/systemd
gpl-2.0
1,511
63
codeparrot/github-code
fa7b9e4b0202bbd9bfc6a44b58129a0fa3fef8f2baedd6867afe63934dfbb869
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Licen...
C
tools/xulrunner-1.9.0.13-sdk/include/js/jsprvtd.h
nikgoodley-ibboost/forklabs-javaxpcom
gpl-2.0
10,820
268
codeparrot/github-code
02b079caf2b4e67dfd75da7367d117ad331a7d7f2d07afa7cfd30b261b1e6f15
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 2008 SC ARHIPAC SERVICE SRL. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it ...
Java
extend/src/test/functional/MSysConfigTest.java
erpcya/adempierePOS
gpl-2.0
3,164
87
codeparrot/github-code
04c77145e9bcfa4bf142bee990b3885228a015226f5601087aab3eccc2ae6ccb
using System; using Server.Items; using Server.Targeting; using System.Collections; namespace Server.Mobiles { [CorpseName( "a giant black widow spider corpse" )] // stupid corpse name public class GiantBlackWidow : BaseCreature { [Constructable] public GiantBlackWidow() : base( AIType.AI_Melee, Figh...
C#
Scripts/Mobiles/Monsters/Arachnid/Melee/GiantBlackWidow.cs
alucardxlx/caoticamente-shards
gpl-2.0
1,969
75
codeparrot/github-code
9408304b8e058425b14153f8c73b32d791a609587b108c59492a19b0a4cce122
/* * Intel IO-APIC support for multi-Pentium hosts. * * Copyright (C) 1997, 1998, 1999, 2000, 2009 Ingo Molnar, Hajnalka Szabo * * Many thanks to Stig Venaas for trying out countless experimental * patches and reporting/debugging problems patiently! * * (c) 1999, Multiple IO-APIC support, developed by * Ken-ic...
C
arch/x86/kernel/apic/io_apic.c
jmahler/linux-next
gpl-2.0
79,097
3,012
codeparrot/github-code
5769bae371c236fcb569b27552919aa6ee5afebf9278112a63aeb4fb5b6abfdb
/*-------------------------------------------------------------*/ /*--- Library top-level functions. ---*/ /*--- bzlib.c ---*/ /*-------------------------------------------------------------*/ /* ---------------------------------------------------...
C
user/bzip2/src/bzlib.c
ipwndev/DSLinux-Mirror
gpl-2.0
45,934
1,572
codeparrot/github-code
89ad4d3e3afcf72d7c3cd72c3496e97f8fbf9de97718d9828560bc8c5df7fa2d
<?php error_reporting(E_ALL ^ E_NOTICE); require_once('../conexiones/conexione.php'); require_once('../evitar_mensaje_error/error.php'); mysql_select_db($base_datos, $conectar); $cuenta_actual = addslashes($_SESSION['usuario']); include("../session/funciones_admin.php"); //include("../notificacion_alerta/mostrar_nof...
PHP
pinsalud/admin/cargar_transferencia_temporal_archivo_plano_editable_vendedor.php
dataxe/proyectos
gpl-3.0
6,329
128
codeparrot/github-code
dc766cc661f9b6b12c97c4f28fc987f67e2805ad03dc6f236dfd1f5ef43e04c3
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2014 OpenFOAM Foundation \\/ M anipulation | -------------...
C++
applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Lain/Lain.H
petebachant/OpenFOAM-2.3.x
gpl-3.0
2,988
113
codeparrot/github-code
1a1df7d184e642051219157cc50c70e2fb4dc189c88d2a4067f9b6f24c37489b
// { dg-options "-std=gnu++11" } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini <paolo.carlini@oracle.com> // Copyright (C) 2008-2016 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 und...
C++
source/gcc-latest/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoul.cc
selmentdev/selment-toolchain
gpl-3.0
2,828
156
codeparrot/github-code
ccf66a8d4bae943145752b837a550e87eb2112121cfb6a6500218a84c9aa37aa
package cn.nukkit.item.randomitem; import cn.nukkit.item.Item; import cn.nukkit.item.enchantment.Enchantment; import cn.nukkit.potion.Potion; import cn.nukkit.utils.DyeColor; import static cn.nukkit.item.randomitem.RandomItem.*; /** * Created by Snake1999 on 2016/1/15. * Package cn.nukkit.item.randomitem in projec...
Java
src/main/java/cn/nukkit/item/randomitem/Fishing.java
SOTEDev/Nukkit
gpl-3.0
4,288
71
codeparrot/github-code
e1eb2cdc8556dcb84cf3922d0912b5d60cd2d7113c67d696366d6b4dd27064d6
# # Copyright (C) 2013 Instructure, Inc. # # This file is part of Canvas. # # Canvas is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation, version 3 of the License. # # Canvas is distributed in the hope that ...
Ruby
app/models/incoming_mail/reply_to_address.rb
dgynn/canvas-lms
agpl-3.0
2,551
83
codeparrot/github-code