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
7c2d7f70228024ac803accb7c897043769d6c760692a4b5888cb695b2b54b25f
import codewave_core.command as command import codewave_core.cmds.core class EditCmdProp(object): def __init__(self, name,options): self.name,options = name,options defaults = { 'var' : None, 'opt' : None, 'funct' : None, 'dataName' : None, 'showEmpty' : False, 'carret' : False, ...
Python
codewave_core/edit_cmd_prop.py
kevthunder/codewave-subl
gpl-2.0
2,549
85
codeparrot/github-code
7e0536c4db9ad601f9f57d4b499d21027393e46239a12e2e049b757e242e4c65
/* * mp2625_charger.c - WonderMedia Charger Driver. * * Copyright (C) 2013 WonderMedia Technologies, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the L...
C
drivers/power/wmt_battery/wmt_battery.c
FOSSEE/FOSSEE-netbook-kernel-source
gpl-2.0
1,690
67
codeparrot/github-code
e99ede4eef0dc739460e318457647ec15972eb5b27e766cdd23720fc408424a9
<?php class s2class { // variables and constructor are declared at the end /** Load translations */ function load_translations() { load_plugin_textdomain('subscribe2', false, S2DIR); load_plugin_textdomain('subscribe2', false, S2DIR . "languages/"); load_plugin_textdomain('subscribe2', false, WP_LANG_DIR . "/...
PHP
wp-content/plugins/subscribe2/classes/class-s2-core.php
salimhariz/DLI-Online
gpl-2.0
71,012
1,869
codeparrot/github-code
6e7488ff48113ab98f610f2f322489288b92d5ab92747195a4c2b1ea761a8cb5
/* * Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2011-2015 ArkCORE <http://www.arkania.net/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either ...
C
src/server/scripts/Northrend/Nexus/Oculus/oculus.h
sunshitwowsucks/ArkCORE-NG
gpl-2.0
2,362
94
codeparrot/github-code
c4db3410a415589c4bc5f7c8b4c1a284cb78664581045d9e06bb9590a4af9f05
/* 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 te...
C
engines/queen/cutaway.h
DerKnob/scummvm-for-sally
gpl-2.0
7,012
269
codeparrot/github-code
affe9e88b3e025e34c3a71057f07207a953132dc0a8f6fa63a68ee77cdbbd90b
#ifndef _COMPAT_PLATFORM_H #define _COMPAT_PLATFORM_H #include <xen/compat.h> #include <public/platform.h> #pragma pack(4) #include "xen.h" #pragma pack(4) struct compat_pf_settime { uint32_t secs; uint32_t nsecs; uint64_t system_time; }; typedef struct compat_pf_settime compat_pf_settime_t; DEFINE_COMPAT_...
C
xen/include/compat/platform.h
kurikuri99/xen_study
gpl-2.0
6,958
281
codeparrot/github-code
04cabc976d7842f0d170fed281ee398472831303e6a0dfefa9b94d55cbe93652
# # i386/Makefile # # This file is included by the global makefile so that you can add your own # architecture-specific flags and dependencies. Remember to do have actions # for "archclean" and "archdep" for cleaning up and making dependencies for # this architecture # # This file is subject to the terms and conditions...
Makefile
linux-2.4.x/arch/i386/Makefile
sensysnetworks/uClinux
gpl-2.0
3,610
164
codeparrot/github-code
513268ae4bc20a88a6a590bf7f661bd1cf425cf02477bd8cefa56cde39f3f87f
/* (C) 1999-2001 Paul `Rusty' Russell * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> * (C) 2005-2012 Patrick McHardy <kaber@trash.net> * * 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 ...
C
net/netfilter/nf_conntrack_standalone.c
dorimanx/DORIMANX_LG_STOCK_LP_KERNEL
gpl-2.0
13,847
592
codeparrot/github-code
d811826355a214ca7d355fc0a91b07fcf68f23b310a4af5a1f2e2c663f3f126d
// Copyright (C) 2007, 2008, 2009, 2013 EPITA Research and Development // Laboratory (LRDE) // // This file is part of Olena. // // Olena 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 Lice...
C++
milena/mln/metal/math/root.hh
glazzara/olena
gpl-2.0
2,592
97
codeparrot/github-code
ad459f887d76fe760226a183fa598b1b3662f0f2a77c0151c5bf29473083f1c3
/* This file is proposed to be part of the KDE libraries. * Copyright (C) 2003 Laur Ivan <laurivan@eircom.net> * * Many thanks to: * - Tim Jansen <tim@tjansen.de> for the API updates and fixes. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library Gener...
C++
kicker/libkicker/kshadowsettings.cpp
serghei/kde3-kdebase
gpl-2.0
4,028
177
codeparrot/github-code
c2ba5b33eb039dc3f2983224322d0dbac8fa1187c04994c8d7e07c4507d04ccf
// Copyright (c) 2012- PPSSPP Project. // 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.0 or later versions. // This program is distributed in the hope that it will be useful, // b...
C++
Core/MIPS/ARM/ArmCompALU.cpp
GamerzHell9137/ppsspp
gpl-2.0
23,663
861
codeparrot/github-code
44a74ff1f85d0db7487c451d7b66b3c9821073a07c505b7fc2a81bbc7a4f6f68
/* * Copyright (c) 2011, 2016, 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
graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/UnsignedDivNode.java
zapster/graal-core
gpl-2.0
3,298
81
codeparrot/github-code
20a2e0909c8e1b4aabcf14dfb9808e9e3e51550edbf5e6f2b1b7dc625e676d07
/* * n_fbus.c -- Phonet over Fast Bus line discipline * * Copyright (C) 2009 Nokia Corporation. All rights reserved. * * Author: Rémi Denis-Courmont * * 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 Fr...
C
drivers/net/fbus.c
nitdroid/kernel-ng
gpl-2.0
7,064
342
codeparrot/github-code
2deba933bbaeac5ba0dd923d28a66c1e00a73f08d15741c28aa2d761c6062805
/* * linux/fs/readdir.c * * Copyright (C) 1995 Linus Torvalds */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/time.h> #include <linux/mm.h> #include <linux/errno.h> #include <linux/stat.h> #include <linux/file.h> #include <linux/fs.h> #include <linux/dirent.h> #i...
C
fs/readdir.c
go2ev-devteam/gopro-linux
gpl-2.0
7,266
321
codeparrot/github-code
7c8696238029f88ed78c426ecc907e5bdd2213e60d584e36214c3e03544809f4
<?php /** * Header Template * * Here we setup all logic and XHTML that is required for the header section of all screens. * * @package WooFramework * @subpackage Template */ // Setup the tag to be used for the header area (`h1` on the front page and `span` on all others). $heading_tag = 'span'; ...
PHP
wp-content/themes/canvas/header.php
tvcnet/pharmtest
gpl-2.0
2,691
68
codeparrot/github-code
67f23879378aa136d436c1fc2eb0b02c8b7d3a27f58bfb6ce7ad1c72370620e8
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright © 2015 Intel Corporation. * * Authors: David Woodhouse <dwmw2@infradead.org> */ #include <linux/intel-iommu.h> #include <linux/mmu_notifier.h> #include <linux/sched.h> #include <linux/sched/mm.h> #include <linux/slab.h> #include <linux/intel-svm.h> #include <...
C
drivers/iommu/intel/svm.c
chenshuo/linux-study
gpl-2.0
32,075
1,251
codeparrot/github-code
0e6ce6a535ab961378473302c8fbcd076354b77490258b401ca422c2ff8138a7
# Copyright © 2010-2011 Alexander S. Klenin # Copyright © 2011 V. Kevroletin # Licensed under GPL version 2 or later. # http://github.com/klenin/EGE package EGE::Gen::EGE::B07; use base 'EGE::GenBase::DirectInput'; use strict; use warnings; use utf8; use EGE::Random; use EGE::Russian::Names; use EGE::NumText qw(num_b...
Perl
EGE/Gen/EGE/B07.pm
pinkslot/EGE
gpl-2.0
4,507
141
codeparrot/github-code
844bd2767ec3310bdbb7aaa7d30519abf0f652ab51d65ea1360bb1c8503cde87
/* * Copyright (c) 2014 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 Softwar...
Java
test/micro/org/openjdk/bench/java/util/stream/Decomposition.java
md-5/jdk10
gpl-2.0
3,974
113
codeparrot/github-code
8e7677ff9985c49f02bb62e8f46ae1fb88af5ef65f1174f75275f8b159884380
#ifndef __ORG_XMLVM_IPHONE_UITABLEVIEWCELLEDITINGSTYLE__ #define __ORG_XMLVM_IPHONE_UITABLEVIEWCELLEDITINGSTYLE__ #include "xmlvm.h" // Preprocessor constants for interfaces: // Implemented interfaces: // Super Class: #include "java_lang_Object.h" // Circular references: // Class declarations for org.xmlvm.iphone.UI...
C
Ports/iOSPort/xmlvm/src/xmlvm2c/compat-lib/iphone/org_xmlvm_iphone_UITableViewCellEditingStyle.h
skyHALud/codenameone
gpl-2.0
2,668
56
codeparrot/github-code
f8c6256bb65721f53b802920463d74018bf0b31a1fb08e95510d0e7c12c252bf
package org.mots.haxsync.activities; import org.mots.haxsync.R; import org.mots.haxsync.fragments.ContactDetailFragment; import org.mots.haxsync.fragments.ContactListFragment; import android.app.Activity; import android.app.Fragment; import android.content.Intent; import android.os.Bundle; public class ContactListAct...
Java
src/org/mots/haxsync/activities/ContactListActivity.java
mots/haxsync
gpl-2.0
1,607
51
codeparrot/github-code
7702aa18aaecb42e215a6ceb705373bb242da2e5cc8b1597bed4562cb05a7d9c
/* Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in t...
C++
block/sql_alter.cc
myblockchain/myblockchain
gpl-2.0
13,483
371
codeparrot/github-code
0a4bf99bf1cee79b94c55af1fcd0737cf54aa0a4ad8d09c145eb7db3e75ef9d1
/* * Copyright (C) 2013-2016 Freescale Semiconductor, Inc. * * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-license.html * http://w...
C
arch/arm/mach-imx/anatop.c
NathanAtSamraksh/dart-linux
gpl-2.0
8,038
269
codeparrot/github-code
2a80e9f74df1e1f5a02f42eff6ea2206576139971cb6bc9dfd8e0425dcbd4e2e
/* * $Id$ * * Kamailio LDAP Module * * Copyright (C) 2007 University of North Carolina * * Original author: Christian Schlatter, cs@unc.edu * * * This file is part of Kamailio, a free SIP server. * * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
C
modules/ldap/iniparser.c
gbour/kamailio
gpl-2.0
28,192
1,026
codeparrot/github-code
48120aabf23f12ceadc14b276b0428c2b9cd5259b881f7a1caa6d24a86c03c7f
/*************************************************************************** qgswmsgetmap.h ------------------------- begin : December 20 , 2016 copyright : (C) 2007 by Marco Hugentobler (original code) (...
C++
src/server/services/wms/qgswmsgetcapabilities.cpp
medspx/QGIS
gpl-2.0
77,223
1,765
codeparrot/github-code
7a40fc1e19ca0a6ded8f7c6e5670c9ccaffa4f99ad00b6976a73ca6dfaf49618
// ********************************************************************** // // Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
C
include/IceUtil/Functional.h
waderly/zeroc-slice2js
gpl-2.0
9,507
390
codeparrot/github-code
dabefb9e5fb78284f8e907ae475250591719fee695e9697e910b82bbe04b3aba
/* * Written by Bastien Chevreux (BaCh) * * Copyright (C) 1997-2000 by the German Cancer Research Center (Deutsches * Krebsforschungszentrum, DKFZ) and Bastien Chevreux * Copyright (C) 2000 and later by Bastien Chevreux * * All rights reserved. * * This program is free software; you can redistribute it and/o...
C++
src/errorhandling/errorhandling.C
sidney/mira4-assembler-patches
gpl-2.0
5,541
258
codeparrot/github-code
6408541c75dc421d25e2e394ee92788c024c53e2f7e073d4e661ac2024ee15fd
/********************************************************************** National Semiconductor NMC9306 256-Bit Serial EEPROM emulation Copyright MESS Team. Visit http://mamedev.org for licensing and usage restrictions. **********************************************************************/ #inc...
C
src/emu/machine/nmc9306.c
Luke-Nukem/mame-144-vector_mod
gpl-2.0
6,962
323
codeparrot/github-code
6990435b6142c5925a805916574e14f142b51ae141dda12c0f5656eaea8df0a3
// Begin License: // Copyright (C) 2006-2014 Tobias Sargeant (tobias.sargeant@gmail.com). // All rights reserved. // // This file is part of the Carve CSG Library (http://carve-csg.com/) // // This file may be used under the terms of either the GNU General // Public License version 2 or 3 (at your option) as published ...
C++
blender/extern/carve/include/carve/mesh_impl.hpp
pawkoz/dyplom
gpl-2.0
28,829
1,099
codeparrot/github-code
a22c719377abe23116aac0f5b224bb1c4be319a4c3c314dad3bd8f4a0e409800
package basico; import java.security.MessageDigest; import util.StringUtil; public class TestDigest { private static final String ALGORITMO = "SHA1"; private MessageDigest messageDigest; public TestDigest() throws Exception { this.messageDigest = MessageDigest.getInstance(ALGORITMO); } public static void ma...
Java
crypto/src/basico/TestDigest.java
camposer/curso_crypto_20151026
gpl-2.0
767
30
codeparrot/github-code
d451e8d339fe62c98d849e5afb1b89087ef4a8b3fe691ce964555addc5029861
/* * 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/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp
Regigicas/TrinityCore
gpl-2.0
17,180
526
codeparrot/github-code
87691c93bd5fffddc656a86bf45649b4e56e200d3e860f164f96e4bf3bff91ce
/** * Copyright (C) 2010 Salvatore Loria, Andrea Martire, Giuseppe Leone * 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 * ver...
Java
src/game/sound/SoundManager.java
andreamartire/unical-3d-game
gpl-2.0
6,708
240
codeparrot/github-code
a906181905395785a33fb1be8c0040e981d2ee8634b81ab3e736be718af51d3a
/* * * oFono - Open Source Telephony * * Copyright (C) 2017 Vincent Cesson. 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 as * published by the Free Software Foundation. * * This program is d...
C
drivers/gemaltomodem/location-reporting.c
scintill/android_external_ofono
gpl-2.0
5,340
238
codeparrot/github-code
fe08454efba876bea5dbc9d6d75d85e40a37a1877ccfc14f59fcba72b3715f14
/* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ function onUpdateACL(event) { var uid = $('uid').value; if (uid == '<default>' || uid == 'anonymous') { var inputs = $$('#userRightsForm input[type="checkbox"]'); var enabled = false; for (var i = 0; i < inputs.length; i...
JavaScript
UI/WebServerResources/UIxContactsUserRightsEditor.js
zentyal/sogo
gpl-2.0
2,077
60
codeparrot/github-code
4818e8468ac22566ab968f932d642c56707656821f503e223b7bd7b013e647ef
/* 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 ...
C
Cordova.framework/Headers/CDVAccelerometer.h
wikimedia/WikisourceMobile
gpl-2.0
1,107
45
codeparrot/github-code
3e337bfa441c6b8fb2eda2f51e7118b5aa97fded74976769b20a633e1e096c26
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2007-2008 William Jon McCann <mccann@jhu.edu> * * 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;...
C
src/gdmuser/gdm-user-manager.c
MarkieMark/gnome-shell
gpl-2.0
54,006
1,669
codeparrot/github-code
2a066967a61b0d56fc5a67483cfa19b5724ab13e9b772aa548f858cae62c77cb
/** * */ package pl.grmdev.hitboard.gui; import java.io.UnsupportedEncodingException; import java.util.Arrays; import java.util.logging.Logger; import java.util.prefs.Preferences; import javafx.application.Platform; import javafx.beans.value.ChangeListener; import javafx.geometry.Insets; import javafx...
Java
hitboard-gui/src/main/java/pl/grmdev/hitboard/gui/LoginDialog.java
GRM-dev/HitBoard
gpl-2.0
5,214
161
codeparrot/github-code
17a446c0f191f83f49b1f98144d3ee2d47af17ebcd7de9108a5930cc2a888cc7
/* GDTやIDTなどの、 descriptor table 関係 */ #include "bootpack.h" /** * Description: 初始化GDT(全局段号记录表)。 */ void init_gdtidt(void) { struct SEGMENT_DESCRIPTOR *gdt = (struct SEGMENT_DESCRIPTOR *) ADR_GDT; struct GATE_DESCRIPTOR *idt = (struct GATE_DESCRIPTOR *) ADR_IDT; int i; // GDT的初期化 for (i = 0; i <= LIMIT_G...
C
EZPioneer/src/dsctbl.c
vandykai/operating-system
gpl-2.0
2,249
76
codeparrot/github-code
57a8eab80144510db17bbaaf9091be625d5d3410d3081693c99da19da3f74f9d
<html lang="en"> <head> <title>SPU ELF - Untitled</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Untitled"> <meta name="generator" content="makeinfo 4.8"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Machine-Dependent.html#Machine-Dependent" t...
HTML
toolchain/deprecated/arm_cm0_4.9/share/doc/gcc-arm-none-eabi/html/ld.html/SPU-ELF.html
jocelynmass/nrf51
gpl-2.0
6,080
100
codeparrot/github-code
c7e77990cf4caec88580aa95f171bb4250cbdc74f979115f638e3d622643f939
/************************************************************************ ************************************************************************ FAUST compiler Copyright (C) 2003-2004 GRAME, Centre National de Creation Musicale --------------------------------------------------------------------- This p...
C++
compiler/extended/atanprim.hh
FlatIO/faudiostream
gpl-2.0
2,653
83
codeparrot/github-code
03759a508289d069cc8c8fc0deabb13d4e3ec9c32fe498954884092a79bca774
<?php ############################################################################### # estonian.php # This is the estonian language page for the glFusion links Plug-in # # Copyright (C) 2001 Tony Bibbs # tony@tonybibbs.com # Copyright (C) 2005 Trinity Bays # trinity93@gmail.com # # Estonian translation by Art...
PHP
private/plugins/links/language/estonian.php
leegarner/glfusion
gpl-2.0
11,342
285
codeparrot/github-code
df47937b6b955f2add40442ffe9377c63dbaf8bb7e28a9a1030c951dfc5e5f59
/* * Copyright 2002-2006 Sun Microsystems, Inc. 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 Software Fou...
Java
openjdk/jdk/src/share/classes/sun/security/provider/SHA5.java
TheTypoMaster/Scaper
gpl-2.0
10,048
309
codeparrot/github-code
bc70f5d121672741347dc68af9cbb61a32cb7637c76b474939f1bc4ddf7c9b75
/***************************************************************************** * Icinga 2 * * Copyright (C) 2012-2018 Icinga Development Team (https://www.icinga.com/) * * * * Th...
C++
lib/cli/troubleshootcommand.cpp
kobmaki/icinga2
gpl-2.0
20,860
692
codeparrot/github-code
344715421b66910a4c18d6502cc283a4c0e96de0de0e46f90b73742da67312a6
<html lang="en"> <head> <title>Writing the symbol table - Untitled</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Untitled"> <meta name="generator" content="makeinfo 4.8"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Performing-the-Final-Link....
HTML
toolchain/deprecated/arm_cm0_4.9/share/doc/gcc-arm-none-eabi/html/bfd.html/Writing-the-symbol-table.html
jocelynmass/nrf51
gpl-2.0
7,835
175
codeparrot/github-code
bb2a39df3e9728c9e34983c8da1af29c3362574bcd355c99566d1fa5a3ee675f
/* * Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2013 Project Cerberus <http://www.erabattle.ru/> * * This program is not free software; you can not redistribute it and/or modify it. * * This program is distributed only by <http://www.erabattle.ru/>! */ #include "ScriptMgr....
C++
src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/instance_blackwing_lair.cpp
WOWalmanserver/Pandaren5.3.0
gpl-2.0
12,972
348
codeparrot/github-code
26f1786e8c355eb46cded68859afb043c5bfda12943ff7d232714c88e9d06905
import abc from custodian.custodian import ErrorHandler, Validator #TODO: do we stick to custodian's ErrorHandler/Validator inheritance ?? class SRCErrorHandler(ErrorHandler): HANDLER_PRIORITIES = {'PRIORITY_FIRST': 0, 'PRIORITY_VERY_HIGH': 1, 'PRIORITY_HIGH':...
Python
abiflows/fireworks/utils/custodian_utils.py
davidwaroquiers/abiflows
gpl-2.0
3,730
123
codeparrot/github-code
c5d006d28395cd26cdb8fa5917da6537132ad1dd579fb6b590b566c080906e7e
/* * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
maxine/com.oracle.max.tele.ins/src/com/sun/max/ins/AbstractInspectionHolder.java
arodchen/MaxSim
gpl-2.0
2,371
78
codeparrot/github-code
4b944f2b4a86069be609227ec168346770cfb602f5ea14c05d92601d7424edc4
/* $Id: RTSystemQueryDmiString-win.cpp $ */ /** @file * IPRT - RTSystemQueryDmiString, windows ring-3. */ /* * Copyright (C) 2010-2011 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribu...
C++
src/VBox/Runtime/r3/win/RTSystemQueryDmiString-win.cpp
yuyuyu101/VirtualBox-NetBSD
gpl-2.0
8,997
255
codeparrot/github-code
1aedacdce147941eef8751b6f88e74885ad024659f8503e553275994fc2ac7e8
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Michael A.G. Aivazis # California Institute of Technology # (C) 1998-2005 All Rights Reserved # # <LicenseText> # # ~~~~~~~~~~~~~~~~~~~~~~~~...
Python
pythia-0.8/packages/mpi/mpi/LauncherMPICH.py
bmi-forum/bmi-pyre
gpl-2.0
2,569
99
codeparrot/github-code
e6b654a432a6cb32a9c1d91e5de4234eb3ebb92a38a80e22d11f6cd0045739b9
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2017 UniPro <ugene@unipro.ru> * http://ugene.net * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * ...
C++
src/corelibs/U2Gui/src/util/ProjectDocumentComboBoxController.cpp
mfursov/ugene
gpl-2.0
2,609
92
codeparrot/github-code
94728edbcdf7e2095f6c734f41f5c1a572e05d93ce506d002784e06bd581380a
/* Dia -- a diagram creation/manipulation program * Copyright (C) 1998 Alexander Larsson * * filter.h: definitions for adding new loaders and export filters. * Copyright (C) 1999 James Henstridge * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Publ...
C
lib/filter.h
brunetton/dia
gpl-2.0
4,949
134
codeparrot/github-code
191568d5cb0a030300e40aa6d31a88ffa489ed3a2bc4e4743f227550bc43b43a
/* Copyright (C) 2003 Sridhar Ratnakumar <srid@srid.ca> This file is part of GNUSim8085. GNUSim8085 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 yo...
C
src/support.c
aanjhan/GNUSim8085
gpl-2.0
6,831
261
codeparrot/github-code
eab35d629dc9ee8695c5e3ca3c2febac60fd1860e80ddb2bba421bcf8550029d
#include "stdafx.h" #include "Emu/Memory/Memory.h" #include "Emu/System.h" #include "Emu/IdManager.h" #include "Crypto/unself.h" #include "Loader/ELF.h" #include "Emu/Cell/ErrorCodes.h" #include "Crypto/unedat.h" #include "sys_fs.h" #include "sys_prx.h" extern std::shared_ptr<lv2_prx> ppu_load_prx(const ppu_prx_obj...
C++
rpcs3/Emu/Cell/lv2/sys_prx.cpp
SakataGintokiYT/rpcs3
gpl-2.0
13,671
440
codeparrot/github-code
e9ee7f72d03224582992f6ea2fe16fa3f51755c98092aae81fa5f0d3bb616a31
<?php /* * @version $Id$ ------------------------------------------------------------------------- GLPI - Gestionnaire Libre de Parc Informatique Copyright (C) 2015-2016 Teclib'. http://glpi-project.org based on GLPI - Gestionnaire Libre de Parc Informatique Copyright (C) 2003-2014 by the INDEPNET Development ...
PHP
inc/ruledictionnarycomputermodel.class.php
TECLIB/glpi
gpl-2.0
2,220
85
codeparrot/github-code
8f378612b548fc0ecdb2b34ddaab44558e23468df18b5a5f54fc0de488806b33
/* ======================================================================== Name : pjsuaContainer.h Author : nanang Copyright : Copyright (C) 2013 Teluu Inc. (http://www.teluu.com) Description : ======================================================================== */ #ifndef PJSUACONTAINER...
C
pjsip-apps/src/pjsua/symbian/inc/pjsuaContainer.h
AlexanderVangelov/pjsip
gpl-2.0
2,951
113
codeparrot/github-code
8040ab06ffa16c30a4e2235afa98e4f2312fa449b64ad70186b9181fe51e0341
/* This file is part of the KDE project Copyright (C) 2007-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 Free Software Foundation; either version 2 of the Lic...
C++
libs/kopageapp/KoPAPastePage.cpp
TheTypoMaster/calligra-history
gpl-2.0
5,848
153
codeparrot/github-code
540a04010da84d53ceb9c96db4220c5a5c85f43996b9a826bb721c423c658b08
<?php /* "Copyright 2012 A3 Revolution Web Design" This software is distributed under the terms of GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 */ // File Security Check if ( ! defined( 'ABSPATH' ) ) exit; ?> <?php /*----------------------------------------------------------------------------------- Slider Templa...
PHP
wp-content/plugins/a3-responsive-slider/admin/settings/template-card/dimensions-settings.php
rachelmflowers/petevandenberg
gpl-2.0
11,125
337
codeparrot/github-code
34b88bfbb61242d2e391be75d87650c6ddcc376102d3c720e60f8aaf5f4229ab
<?php /** * @package Joomla.Administrator * @subpackage com_content * * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('JPATH_BASE') or die; /** * Supports a modal article picker...
PHP
administrator/components/com_content/models/fields/modal/article.php
puneet0191/joomla-cms
gpl-2.0
7,789
251
codeparrot/github-code
a6919a5782941fcd65e31bd4e81383fd1d9b118971764a5353b01807523e5525
<?php /** * copyright (C) 2008 GWE Systems Ltd - All rights reserved */ // Check to ensure this file is included in Joomla! defined('_JEXEC') or die(); /** * HTML View class for the component frontend * * @static */ include_once(JPATH_SITE."/modules/mod_jevents_legend/tmpl/default/legend.php"); class GeraintMo...
PHP
modules/mod_jevents_legend/tmpl/geraint/legend.php
ZDteam/emil
gpl-2.0
8,459
251
codeparrot/github-code
969c03972e4cb39d25d99f70581eea47ba172c73530e2fb6fd184da4fd9fe293
package edu.stanford.nlp.sentiment; import java.util.List; import java.util.Map; import org.ejml.simple.SimpleMatrix; import edu.stanford.nlp.ling.CoreLabel; import edu.stanford.nlp.neural.NeuralUtils; import edu.stanford.nlp.neural.SimpleTensor; import edu.stanford.nlp.neural.rnn.RNNCoreAnnotations; import edu.stan...
Java
src/edu/stanford/nlp/sentiment/SentimentCostAndGradient.java
rupenp/CoreNLP
gpl-2.0
26,721
546
codeparrot/github-code
e42a02b2aaae9bd79e0b1c5fea3eb03b7c74607592978925c8aef9b2130ac5b7
package npairs.utils; import com.jmatio.types.MLDouble; import com.jmatio.types.MLStructure; import extern.NewMatFileReader; import npairs.io.NiftiIO; import npairs.shared.matlib.*; /**REQUIRED: MatrixImpl.matlibType set outside of this method! * * This class implements the Procrustes rotation. It co...
Java
npairs/utils/Procrustes.java
Olshansk/PLSNPAIRS-Thesis
gpl-2.0
16,594
494
codeparrot/github-code
fa80e8e414bc16a2e0857385766e0b39646e7cf79c5d212857190681128d1485
package com.github.bluenote case class Color(r: Float, g: Float, b: Float, a: Float = 1f) { def changeAlpha(alphaNew: Float) = Color(r, g, b, alphaNew) def toArr = Array(r, g, b, a) def toHex = toArr.map(x => (x * 255).toInt) .map(i => f"$i%02X") .mkString } /** * A "few"...
Scala
src/main/scala/com/github/bluenote/Color.scala
bluenote10/DungeonRift
gpl-2.0
95,203
1,129
codeparrot/github-code
c8945942b2475627ccb581d358a399c111677f3241318e863a3b33f75bba7ffc
package org.osgeo.grass.v; import org.jgrasstools.grass.utils.ModuleSupporter; import oms3.annotations.Author; import oms3.annotations.Documentation; import oms3.annotations.Label; import oms3.annotations.Description; import oms3.annotations.Execute; import oms3.annotations.In; import oms3.annotations.UI; import oms3...
Java
grass/src/main/java/org/osgeo/grass/v/v__db__dropcol.java
formeppe/NewAge-JGrass
gpl-2.0
1,408
55
codeparrot/github-code
ddcebe8f6de4ccb9ef782032b1785e2e46906ab4e9626c40ade493a8f8de08da
/* * 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
examples/math_57/src/test/java/org/apache/commons/math/ode/nonstiff/AdamsMoultonIntegratorTest.java
SpoonLabs/astor
gpl-2.0
6,947
158
codeparrot/github-code
4999bcae480a34ba2671035fcf8087cfc950604d6484614a587feb48c0f0b361
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Implementation of the Transmission Control Protocol(TCP). * * Authors: Ross Biro * Fred N. van Kempen, <wa...
C
net/ipv4/tcp.c
ProtouProject/android_kernel_htc_protou
gpl-2.0
73,870
3,082
codeparrot/github-code
ff1c41b3d327746d03497a35775363e9c90d5fa5e2d6849a5964746b628620fd
<?php /** * @package Joomla.Administrator * @subpackage com_categories * * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * HTML View class for the Categori...
PHP
administrator/components/com_categories/views/category/view.html.php
n2h/joomla-spark
gpl-2.0
5,560
206
codeparrot/github-code
240c975cba5d3d837f7bad8480a0e62c9c6b0fafad1945d3f6c1a11e38a6cfaa
<?php if (!defined('WPINC')) die("No outside script access allowed."); /* Copyright (c) 2008 - 2009 Jonathan Wilde This file is part of Feed Stats for WordPress. Feed Stats for WordPress is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as ...
PHP
wp-content/plugins/feed-stats-plugin/templates/settings.php
YPaquis/RHumeurs.net
gpl-2.0
3,239
67
codeparrot/github-code
6fbb92e107e7709727e686b247cf43568c6310ccd842ae754c357b5e09162ed6
import org.junit.Test; import others.*; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.List; import java.util.Map; /** * @ClassName: TestVelocity * @Description: TestVelocity * @author: yuhuan.wang * @date: 6/3/15 8:46 PM */ public class TestAll { long start;...
Java
src/test/java/TestAll.java
Darkylin/lostTemple
gpl-2.0
1,426
52
codeparrot/github-code
f0c3b683fc0686865bbc1f7dd894c83ace34ce78c3fd8ee717d3316eeca0750c
/* * BRIEF MODULE DESCRIPTION * Driver for AMD Au1000 MIPS Processor, AC'97 Sound Port * * Copyright 2004 Cooper Street Innovations Inc. * Author: Charles Eidsness <charles@cooper-street.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General ...
C
sound/mips/au1x00.c
gerboland/linux-2.6.15-neuros-eabi
gpl-2.0
18,833
689
codeparrot/github-code
0050baa60fd1fa1ee2f28e83daedd7f26c12f2a0fdd5dda8a4ae96d010ea40e9
#pragma once // expect: // APP_HEADER = application header // APP_NAMESPACE = application namespace #define local_include_str(x) #x #define local_include(x) local_include_str(x) #define nonlocal_include(x) <x> #include nonlocal_include(APP_HEADER) #include <arrp.hpp> #include <cstddef> #include <vector> #include ...
C++
interface/hdf5/writer.hpp
jleben/stream-lang
gpl-2.0
3,389
137
codeparrot/github-code
1238764ca1cf6a2c035ded2417520f9a5f76e2cabd95146592783d39e5881d4d
/* Register renaming for the GNU compiler. Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc. 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 the Free Softwar...
C
gcc/regrename.c
princeofdarkness76/gcc-4.2
gpl-2.0
57,395
2,008
codeparrot/github-code
077de82435e894a4855fb971090c2c7761d27ac90817175a55e824cd0dfded34
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2018 Cyril Hrubis <chrubis@suse.cz> */ /* * We are testing set_mempolicy() with MPOL_INTERLEAVE. * * The test tries different subsets of memory nodes, sets the mask with * memopolicy, and checks that the memory was interleaved between the nodes * a...
C
testcases/kernel/syscalls/set_mempolicy/set_mempolicy02.c
linux-test-project/ltp
gpl-2.0
2,603
119
codeparrot/github-code
04f38ea96df9189d3e358c726390e7352574f0bd7ef788a9e55c0f03d1641c2c
/* * reserved comment block * DO NOT REMOVE OR ALTER! */ /* * Copyright 1999-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www....
Java
jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_fr.java
openjdk/jdk7u
gpl-2.0
42,222
940
codeparrot/github-code
23930848f227b9ef1a2e07c832ffd54c579e15146c991a341e1111ba4d540487
// <copyright file="Performance.cs" company="LeagueSharp"> // Copyright (c) 2015 LeagueSharp. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License,...
C#
Core/Utils/Performance.cs
LeagueSharp/LeagueSharp.SDK
gpl-2.0
5,764
177
codeparrot/github-code
3762c20177c6e670271f503116efc258e9661edd88e65c051d65e89306cf1dc0
# This file is part of Copernicus # http://www.copernicus-computing.org/ # # Copyright (C) 2011, Sander Pronk, Iman Pouya, Erik Lindahl, and others. # # 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 Soft...
Python
cpc/command/platform.py
gromacs/copernicus
gpl-2.0
11,772
316
codeparrot/github-code
21102e4a8fb012eb8eedfc1c24f757781c6199bf9c9c46eb40072edb678063db
#include "subsystems/imu.h" #include <stm32/gpio.h> #include <stm32/misc.h> #include <stm32/rcc.h> #include <stm32/exti.h> #include <stm32/spi.h> #include <stm32/dma.h> // gyro interupt handler void exti15_10_irq_handler(void); void imu_aspirin2_arch_int_enable(void) { /* NVIC_InitTypeDef NVIC_InitStructure; ...
C
sw/airborne/arch/stm32/subsystems/imu/imu_aspirin2_arch.c
agressiva/paparazzi
gpl-2.0
2,799
93
codeparrot/github-code
7169ccbe1ef76f26c7b34b2873d80b84d86b1b3493c7e91e2ae1ca5aef1af02f
/* * Copyright (C) 2006-2007, 2013, 2015 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this li...
C++
modules/web/src/main/native/Source/WebKit/win/WebDataSource.cpp
Debian/openjfx
gpl-2.0
9,397
361
codeparrot/github-code
34aa43114b46c55a4cd64697da58907e0fb3c614a92df7298ddebafacf1a4fea
/* * qemu_command.h: QEMU command generation * * Copyright (C) 2006-2014 Red Hat, Inc. * Copyright (C) 2006 Daniel P. Berrange * * 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; ei...
C
src/qemu/qemu_command.h
govindx7c6/libvirt
gpl-2.0
11,715
281
codeparrot/github-code
f18a2e53228884d6dcb7b78291e8937532530ded715ccdacf7820e08d3685ce2
/**************************************************************************** * * ViSP, open source Visual Servoing Platform software. * Copyright (C) 2005 - 2019 by Inria. All rights reserved. * * This software is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public...
C
modules/core/include/visp3/core/vpGEMM.h
fspindle/visp
gpl-2.0
14,697
428
codeparrot/github-code
56113b48a64865055efad5f55d4dab121e1e775ec1e8d0329296dc9714384b43
/* rsa.c * * Copyright (C) 2006-2009 Sawtooth Consulting Ltd. * * This file is part of CyaSSL. * * CyaSSL 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
release/src/router/cyassl/ctaocrypt/src/rsa.c
mikewadsten/asuswrt
gpl-2.0
13,187
534
codeparrot/github-code
52dd6d0d0adc3138d630c9d79431d422b4367b5631825f06cb2de6433bd344fb
/***************************************************************************** Copyright (c) 1995, 2017, Oracle and/or its affiliates. All Rights Reserved. Copyright (c) 2008, Google Inc. Portions of this file contain modifications contributed and copyrighted by Google, Inc. Those modifications are gratefully acknowl...
C
storage/innobase/include/sync0rw.h
greenlion/mysql-server
gpl-2.0
33,912
938
codeparrot/github-code
263b807a83b36ef3df1043e077354e4aab701f197968b12b7039cd9d77bc0d93
/* * COPYRIGHT * * PCB, interactive printed circuit board design * Copyright (C) 2006 Dan McMahill * * 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; eith...
C
src/hid/png/png.c
russdill/pcb
gpl-2.0
39,266
1,668
codeparrot/github-code
f5a5745340d71f8ef2a142b2f4a0bc57c75d8719426244dc9a03cbee3d42f210
/* * avrdude - A Downloader/Uploader for AVR device programmers * Copyright (C) 2003, 2004 Martin J. Thomas <mthomas@rhrk.uni-kl.de> * Copyright (C) 2006 Joerg Wunsch <j@uriah.heep.sax.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Li...
C
ser_win32.c
sigmike/avrdude
gpl-2.0
8,965
409
codeparrot/github-code
29304342f6bc09af2d33e8483096e7d3cac1967df4a222f743642763baeac085
#ifndef COFORMIOPLUGIN_H #define COFORMIOPLUGIN_H #include <QList> #include <QStandardItemModel> #include <common/interfaces.h> #include "coformimportdialog.h" class CoformIOPlugin : public QObject, public MeshIOInterface { Q_OBJECT Q_INTERFACES(MeshIOInterface) public: CoformIOPlugin(); ~CoformIOPl...
C
src/plugins/experimental/io_3dcoform/io_3dcoform.h
guerrerocarlos/meshlab
gpl-2.0
1,309
40
codeparrot/github-code
d1cfd7d193b3b9db46303a93effaff79b0ba69ade308a222ef005ba344653e2f
/* Copyright (c) 2009-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
C
drivers/video/msm/mdss/mdss_debug.c
BlissRoms-Kernels/android_kernel_huawei_kiwi
gpl-2.0
29,718
1,198
codeparrot/github-code
74c2833cec56f16d24f651d7244b19ddf01a2cfbd057360828279fe1d415bb46
/* ---------------------------------------------------------------------- LIGGGHTS - LAMMPS Improved for General Granular and Granular Heat Transfer Simulations LIGGGHTS is part of the CFDEMproject www.liggghts.com | www.cfdem.com Christoph Kloss, christoph.kloss@cfdem.com Copyright 2009-2012 JKU Li...
C++
src/fix_insert.cpp
ckloss/LIGGGHTS-PUBLIC
gpl-2.0
28,753
867
codeparrot/github-code
a290ff63ccb209d572200f5ee5fa01f51c4fa3b8271ace60198bb945856fdad2
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Qt 4.3: ledmeter.cpp Example File (graphicsview/portedasteroids/ledmeter.cpp)</title> <link href="classi...
HTML
qtopiacore/qt/doc/html/graphicsview-portedasteroids-ledmeter-cpp.html
muromec/qtopia-ezx
gpl-2.0
6,926
185
codeparrot/github-code
9b27ee7ab1f18c0f2c583d0e614f0ca03f99a2b873fcfdbfcf8956d0cccb06f8
/* 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/Form/DataField/Boolean.hpp
henrik1g/xcs
gpl-2.0
1,897
73
codeparrot/github-code
b5bb796d8d1058d18b1b2a57f15d13bdb6c40cca78a760b57c3a309fbd74da00
# -*- coding: utf-8 -*- # # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2014 Pierre Bélissent # # 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...
Python
DynamicWeb/run_dynamicweb.py
gramps-project/addons-source
gpl-2.0
7,641
205
codeparrot/github-code
a38373f352f86fd5ce8cbe8282862195fe67950f15d1bad2d6cb4aaa5d92b698
<?php /** * Adds settings to the permalinks admin settings page. * * @author WooThemes * @category Admin * @package WooCommerce/Admin * @version 2.1.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! class_exists( 'WC_Admin_Permalink_Settings' ) ) : /** * WC_Admin_Permalink_...
PHP
wp-content/plugins/woocommerce/includes/admin/class-wc-admin-permalink-settings.php
Minasokoni/coasties
gpl-2.0
7,955
193
codeparrot/github-code
f8d95e58f4afad1d254fbde5c72a4b57e51b6cd6f24d3fb46d2f6e1bcee4d0f8
/* * composite.c - infrastructure for Composite USB Gadgets * * Copyright (C) 2006-2008 David Brownell * * 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
drivers/usb/gadget/composite.c
Where-No-Man-Has-Gone-Before/kernel_htc_chacha-CHS
gpl-2.0
40,737
1,481
codeparrot/github-code
5c1e8e79515c758edd4c7829ba6c97df703f12c4b3c54aa24d6790306f00a00f
/* * Freeplane - mind map editor * Copyright (C) 2008 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitry Polivaev * * This file is modified by Dimitry Polivaev in 2008. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Licen...
Java
freeplane/src/org/freeplane/features/url/mindmapmode/DummyLockManager.java
SDX2000/freeplane
gpl-2.0
1,370
47
codeparrot/github-code
9034bc8df407d0959ba4ad25972eadccc62afe84008330c315a1fd0c115ff6fd
/* * Copyright (C) 2016-2017 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditi...
C
modules/web/src/main/native/Source/JavaScriptCore/heap/LargeAllocation.h
Debian/openjfx
gpl-2.0
5,510
164
codeparrot/github-code
d3e3f16dd2384c3a02ebbef39be0189026f4585da55f03aeadb127b5b962b522
;// main configuration file #ifndef _CONFIG_H #define _CONFIG_H # define C64 # define MACHINE_H <c64.h> # define MACHINE(file) "c64/file" ;// Keyboard/console settings ;// ------------------------- ;// Enable this if you want to have German keyboard layout ;#define DIN ;// Kernel error messages ;// ------------...
C
kernel/c64/config.h
SteffenBauer/64nux
gpl-2.0
6,523
225
codeparrot/github-code
f46cc4e8c26c423a323ea9a1cf5ef576517e70b7074b676352fc487f7b7da08a
/* * UAE - The Un*x Amiga Emulator * * custom chip support * * (c) 1995 Bernd Schmidt */ #include "machdep/rpt.h" /* These are the masks that are ORed together in the chipset_mask option. * If CSMASK_AGA is set, the ECS bits are guaranteed to be set as well. */ #define CSMASK_ECS_AGNUS 1 #define CSMASK_ECS_DENISE 2 ...
C
src/include/custom.h
cnvogelg/fs-uae-gles
gpl-2.0
6,242
224
codeparrot/github-code
24745132bc92da89be6ea4f715af4f34f1053fa2ee7f4e04336ed53ea2e0dcab
/* * Copyright 2015 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 applica...
Java
plugin/platform-native/src/main/groovy/org/gradle/nativeplatform/toolchain/internal/DefaultMutableCommandLineToolContext.java
cams7/gradle-samples
gpl-2.0
2,381
71
codeparrot/github-code
87e07213b8857fa35d451d24d47a3e6224d789d213cf31f03c509db8eb0ac672
const fs = require('fs'); const path = require('path'); const glob = require('glob'); const parseComments = require('parse-comments'); const config = require('./config.json'); /** * Read each file and call `parse-comments` on it. * * @param {String|Array} `files` List of file paths to read from. * @return {Object...
JavaScript
docs/comments.js
haganbmj/obs-websocket
gpl-2.0
3,059
99
codeparrot/github-code
af0bb99965542b9eb79537a45282544588cd7fa31ce3998dfb1a6736fdc94db6
/********* * * In the name of the Father, and of the Son, and of the Holy Spirit. * * This file is part of BibleTime's source code, http://www.bibletime.info/. * * Copyright 1999-2014 by the BibleTime developers. * The BibleTime source code is licensed under the GNU General Public License * version 2.0. * **********/ ...
C
src/mobile/keychooser/bookkeychooser.h
betsegaw/bibletime
gpl-2.0
1,908
82
codeparrot/github-code
5427bd84ec89ab5072d3894229c7bf5fbc5af7363d0256a12f151660de701128
/* * baobab.c * This file is part of baobab * * Copyright (C) 2005-2006 Fabio Marzocca <thesaltydog@gmail.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 ...
C
baobab/src/baobab.c
monsta/mate-utils
gpl-2.0
34,838
1,337
codeparrot/github-code
13ad3876a03d2f0c835333d97a5d484587b581c303c47e9c6a0f1bf473f1a467
package Packages::DoSearch; use strict; use warnings; use Benchmark ':hireswallclock'; use DB_File; use Exporter; our @ISA = qw( Exporter ); our @EXPORT = qw( do_search ); use Deb::Versions; use Packages::Search qw( :all ); use Packages::CGI qw( :DEFAULT ); use Packages::DB; use Packages::Config qw( $DBDIR @SUITES @...
Perl
lib/Packages/DoSearch.pm
tanglu-org/packages-web
gpl-2.0
8,262
274
codeparrot/github-code
8df0a333520153bdb91fce27c476be55f3e2cd6a73afe5a00077927ca7af106a
/****************************************************************************** * * * * * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby * granted. No represen...
C
src/htmldocvisitor.h
terceiro/doxyparse
gpl-2.0
5,115
162
codeparrot/github-code