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
8411717e0bebfe40dc771d11d359a67314c14cd528c8019489ffc9d139511a5a
diamondApp.service('scrollSvc', function () { this.scrollTo = function (eID) { // This scrolling function // is from http://www.itnewb.com/tutorial/Creating-the-Smooth-Scroll-Effect-with-JavaScript var startY = currentYPosition(); var stopY = elmYPosition(eID); var distance ...
JavaScript
wp-content/themes/leadership-diamond-theme/js/app/services/scrollSvc.js
leadershipdiamond/leadershipdiamond
gpl-2.0
2,069
54
codeparrot/github-code
b03d8423a48a8ad8d1b46a841e12a31c5a7e8c35ff95e5b2e184f940827d5063
/* Copyright (c) 2010-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
arch/arm/mach-msm/msm_rq_stats.c
deadlyindian/oneplus_kernel_msm8974
gpl-2.0
14,141
564
codeparrot/github-code
06bf4aa89e4b7471eb4866b2d18139b9fbfefc567139a373d3a69cd188bf877f
<?php /** * This file is part of TheCartPress. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progr...
PHP
wp-content/plugins/thecartpress/themes-templates/tcp_shopping_cart.php
hassankbrian/LoveItLocal
gpl-2.0
17,053
343
codeparrot/github-code
0d91a45886b90e5097f0e98eb10bcef2c5651b5717a59d0beafbe9f59f38f8b2
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright held by original author \\/ M anipulation | ------------------...
C++
src/dynamicMesh/dynamicMesh/motionSmoother/motionSmoother.H
CFDEMproject/OpenFOAM-1.6-ext
gpl-2.0
16,715
516
codeparrot/github-code
fe3e7a804e4a16b4c0178407db830f93ef5fecf83a04798c4d05834a0091ddc8
/* * This file 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. * * In addition to the permissions in the GNU General Public License, * the authors give you unlimited permission to link the co...
C
src/odb.c
pieter/libgit2
gpl-2.0
2,349
98
codeparrot/github-code
1e0e3cb5b28ee6a298a7d6848ffeb79664c71e64df5920f1ae6fe305a1e1446e
/* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client * Copyright (C) 1999-2010 Hiroyuki Yamamoto * * 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 Lic...
C
src/send_message.c
ChakaZulu/sylpheed_upstream
gpl-2.0
25,734
1,031
codeparrot/github-code
9a40203e03253cf03a84bc23b3421dc08f5a7ec02c917421ba5925d89f5fbc29
/* cx25840 audio functions * * 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 distributed in t...
C
linux-2.6.17.new/drivers/media/video/cx25840/cx25840-audio.c
zrafa/linuxkernel
gpl-2.0
8,925
350
codeparrot/github-code
7adcd25c8d2ef7e30e3d795bd47488e9b2235f64ac9d3452cc99e84108648a27
<?php /** * WordPress 内置嵌套评论专用 Ajax comments >> WordPress-jQuery-Ajax-Comments v1.3 by Willin Kan. * * 说明: 这个文件是由 WP 3.0 根目录的 wp-comment-post.php 修改的, 修改的地方有注解. 当 WP 升级, 请注意可能有所不同. */ if ( 'POST' != $_SERVER['REQUEST_METHOD'] ) { header('Allow: POST'); header('HTTP/1.1 405 Method Not Allowed'); header('Content-T...
PHP
wp-content/themes/ZruckMetro/ZruckMetro/comments-ajax.php
zhuyicun/zyc
gpl-2.0
6,401
159
codeparrot/github-code
87fd4989dde650649d4ca515c9d95c71a08655a18cb2566d9e806235c5099657
<?php /** * @package Joomla.Installation * * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * * @since 3.0.x */ defined('_JEXEC') or die; jimport('joomla.updater.update'); /** * Language...
PHP
installation/models/languages.php
syahidhaqiqy/tugas1
gpl-2.0
10,662
473
codeparrot/github-code
dddd9ee4bc88384a1aa0da4e1f0a9d4a43b25223f2cd47d4f5a484bf1cfa7751
/* * NET4: Implementation of BSD Unix domain sockets. * * Authors: Alan Cox, <alan.cox@linux.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License,...
C
net/unix/af_unix.c
me-oss/me-linux
gpl-2.0
47,803
2,069
codeparrot/github-code
5383e2c370c4c4b85044e81919c2bd0a460bb9d6edcebe7cd24087e4e8a81786
/* * console.h * * Copyright 2001-2010 Texas Instruments, Inc. - http://www.ti.com/ * * 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/...
C
drivers/net/wifi-fw-kk-amlogic/wgt7310/wl1271_m603/CUDK/configurationutility/inc/console.h
jjm2473/AMLOGIC_M8
gpl-2.0
3,191
94
codeparrot/github-code
ecf3e7a97f554840e20dc73890a5ebdec1a73503a88ee74feba3de495ff9b190
/* *************************************************************************** * * radio-gemtek-pci.c - Gemtek PCI Radio driver * (C) 2001 Vladimir Shebordaev <vshebordaev@mail.ru> * *************************************************************************** * * This program is free software; you ca...
C
drivers/media/radio/radio-gemtek-pci.c
sdwuyawen/linux2.6.21_helper2416
gpl-2.0
10,969
459
codeparrot/github-code
b711146f4504a372532b2688c7565d4cf7d8a612a824fbc2c1b0eb638fe063c3
/* * Copyright 2009-2015 Freescale Semiconductor, Inc. All Rights Reserved. */ /* * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-li...
C
drivers/media/platform/mxc/capture/ipu_csi_enc.c
FEDEVEL/openrex-linux-3.14
gpl-2.0
10,610
439
codeparrot/github-code
470ef1b848c2db6aba443c2db55639978ec47b91c0c4be4f7ef63f3c3cc0fa5d
<?php /* Copyright [2011, 2012, 2013] da Universidade Federal de Juiz de Fora * Este arquivo é parte do programa Framework Maestro. * O Framework Maestro é um software livre; você pode redistribuí-lo e/ou * modificá-lo dentro dos termos da Licença Pública Geral GNU como publicada * pela Fundação do Software ...
PHP
Maestro/Types/MCurrency.php
HexSource/maestro2
gpl-2.0
4,849
141
codeparrot/github-code
58b0707f5afbb274df2fe70790ae4f71b08abb5a31ca3c95e8db270b6b1218e4
/******************************************************************************* Copyright (C) Marvell International Ltd. and its affiliates This software file (the "File") is owned and distributed by Marvell International Ltd. and/or its affiliates ("Marvell") under the following alternative licensing terms. Once yo...
C
arch/arm/mach-feroceon-kw2/kw2_family/ctrlEnv/mvCtrlEnvAddrDec.h
tb-303/GFRG110
gpl-2.0
7,865
187
codeparrot/github-code
27f0e0ab39d22067ea84bf560a33a0caaf833723754eb4064964592ace90654c
// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2008 Stefan Roese <sr@denx.de>, DENX Software Engineering */ #include <common.h> #include <asm/io.h> #include "vct.h" static u32 ebi_read(u32 addr) { addr &= ~0xFC000000; reg_write(EBI_CPU_IO_ACCS(EBI_BASE), EXT_DEVICE_CHANNEL_2 | addr); ebi_wait(); retu...
C
board/micronas/vct/ebi_nor_flash.c
ev3dev/u-boot
gpl-2.0
2,235
118
codeparrot/github-code
733da2c9ed646d2202b07cf400927a3c2819467f46e128785c93866a3bd20b19
/*************************************************************************** qgslegenditem.cpp --------------------- begin : January 2007 copyright : (C) 2007 by Martin Dobias email : wonder.sk at gmail.com ***************************************************...
C++
src/app/legend/qgslegenditem.cpp
polymeris/qgis
gpl-2.0
3,673
132
codeparrot/github-code
062d01b61f559da745745dac8874cf2a91c9183790aa84afd501d026d0b21e64
//#include "stdafx.h" #include <pnl_dll.hpp> #include <boost/smart_ptr.hpp> #include <iostream> namespace { namespace local { // [ref] testGetFactorsMRF2() in ${PNL_ROOT}/c_pgmtk/tests/src/AGetParametersTest.cpp pnl::CMRF2 * create_simple_pairwise_mrf() { const int numNodes = 7; const int numNodeTypes...
C++
sw_dev/cpp/rnd/test/probabilistic_graphical_model/pnl/pnl_mrf_example.cpp
sangwook236/general-development-and-testing
gpl-2.0
3,533
135
codeparrot/github-code
525c12ee9afb94bf3851e7fd1bf39a9378fde6be6fe8bf4936276f0ab6588446
/* Copyright (c) 2010-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/gpu/msm/kgsl_pwrctrl.c
simex31/BC_Kernel_LP_STOCK_D802
gpl-2.0
45,285
1,676
codeparrot/github-code
aa4bfaced285690389974972b508a96425d31ef7461888223873fe5668777d5a
// // Author: Vladimir Migashko <migashko@faslib.com>, (C) 2007 // // Copyright: See COPYING file that comes with this distribution // #ifndef FAS_SYSTEM_SYSTEM_H #define FAS_SYSTEM_SYSTEM_H #include <fas/unp.h> #include <fas/system/types.hpp> #include <errno.h> #include <string> #include <cstdlib> #include <stdexce...
C++
fas/system/system.hpp
mambaru/leveldb-daemon
gpl-2.0
3,550
189
codeparrot/github-code
a25f0281a4420d62834b299601a5808bbf961003e7bbeb88b263561c04bf3287
#include <linux/kernel.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/interrupt.h> #include <linux/i2c.h> #include <linux/delay.h> #include <linux/input.h> #include <linux/gpio.h> #include <linux/types.h> #include <linux/platform_device.h> #include <linux/input/synaptics_dsx.h> #include "synapti...
C
drivers/input/touchscreen/synaptics_dsx_rmi_hid_i2c.c
Sharlion/G718c_kernel
gpl-2.0
16,523
697
codeparrot/github-code
8b9bd0626a76eb08ad58e1897d89f4767d4a234a3bb0e4d6f4c87af1d547bd91
/* * Copyright (C) 2009 Ronald Lamprecht * * 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...
C++
src/floors/SlopeFloor.cc
raoulb/Enigma
gpl-2.0
5,542
140
codeparrot/github-code
3282d6a646d76fe456bbedd31c1c10b72a586a01f717965d39c444236dd92fd4
/*****************************************************************************/ /* * yam.c -- YAM radio modem driver. * * Copyright (C) 1998 Frederic Rible F1OAT (frible@teaser.fr) * Adapted from baycom.c driver written by Thomas Sailer (sailer@ife.ee.ethz.ch) * * This program is free software...
C
drivers/net/hamradio/yam.c
dorimanx/DORIMANX_LG_STOCK_LP_KERNEL
gpl-2.0
32,929
1,219
codeparrot/github-code
ba34eeec69ccca19522bb59104eb5d889214088272aa1643191a06909ae2995a
/* Red Black Trees (C) 1999 Andrea Arcangeli <andrea@suse.de> (C) 2002 David Woodhouse <dwmw2@infradead.org> (C) 2012 Michel Lespinasse <walken@google.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...
C
include/linux/rbtree_augmented.h
arm10c/linux-stable
gpl-2.0
7,297
237
codeparrot/github-code
48911d5f035f0b595b1288589c35e0887406791e2ec70ed7afa74f468cf0d36f
/****************************************************************************** * Wormux is a convivial mass murder game. * Copyright (C) 2001-2007 Wormux Team. * * 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 * th...
C++
old/wormux-0.8beta4/src/gui/widget_list.cpp
yeKcim/warmux
gpl-2.0
5,767
233
codeparrot/github-code
2924702cfe53fa56ceef0f45276d415395499e45425d790d7bf664821dc1c341
include ../config.mak CFLAGS=-I../loader -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D__WINE__ -DNOAVIFILE_HEADERS -DMPLAYER CFLAGS+=-fno-omit-frame-pointer -mno-omit-leaf-fr...
Makefile
dshowserver/Makefile
non7top/coreavc-for-linux
gpl-2.0
2,047
86
codeparrot/github-code
3cc4169d1e79d3818616c3b973943accb5ccbdaea282326961f5b8bcd5ad29f0
import time import os import ContentDb from Debug import Debug from Config import config class ContentDbDict(dict): def __init__(self, site, *args, **kwargs): s = time.time() self.site = site self.cached_keys = [] self.log = self.site.log self.db = ContentDb.getContentDb()...
Python
src/Content/ContentDbDict.py
OliverCole/ZeroNet
gpl-2.0
4,975
156
codeparrot/github-code
3c070f4ae37ea9209f4611aaf63cb8b0e5707691709e9baba2a255962c452b13
#include "lolevel.h" #include "platform.h" typedef struct { unsigned int address; unsigned int length; } cam_ptp_data_chunk; //camera specific structure #define MAX_CHUNKS_FOR_JPEG 3 //model specific /* * fwt_data_struct: defined here as it's camera dependent * unneeded members are designated with unkn * f...
C
platform/a540/sub/100b/filewrite.c
c10ud/CHDK
gpl-2.0
6,410
189
codeparrot/github-code
0748dd7fd850311bd637fcad938937c776919a7d76ef5076c11daf4dae27b48b
#ifndef _ZFTAPE_H #define _ZFTAPE_H /* * Copyright (C) 1996, 1997 Claus-Justus Heine. 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, or (at your option) any later version. ...
C
linux-2.6.x/include/linux/zftape.h
ipwndev/DSLinux-Mirror
gpl-2.0
2,297
88
codeparrot/github-code
0471049b4efc1389ba37ff5ac62b814f13b537dec62e60ce31e2570a2e3604cb
package com.vvdeng.portal.web.controller.admin; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestMapping;...
Java
src/com/vvdeng/portal/web/controller/admin/AdminController.java
vvdeng/vportal
gpl-2.0
3,774
126
codeparrot/github-code
ec2111c869176a1a27759a65275e93f535ff5f903156a6c5a0509f50c9052994
<?php /** * Easy Blog Multicategories lsit * @package News Show Pro GK5 * @Copyright (C) 2009-2013 Gavick.com * @ All rights reserved * @ Joomla! is Free Software * @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL * @version $Revision: GK5 1.3.3 $ **/ // access restriction defined('_JEXEC') or die('Restric...
PHP
modules/mod_news_pro_gk5/admin/elements/easyblogmulticategories.php
adrian2020my/vichi
gpl-2.0
4,809
113
codeparrot/github-code
462d793a4d10a90c7e711f587bd2011dc9bf0c1a50c4713c7ab5d98b24e69547
/* packet-calcappprotocol.c * Routines for the Calculation Application Protocol, a test application of the * rsplib RSerPool implementation * http://www.tdr.wiwi.uni-due.de/forschung/forschungsprojekte/reliable-server-pooling// * * Copyright 2006 by Thomas Dreibholz <dreibh [AT] exp-math.uni-essen.de> * * $Id: p...
C
wireshark/epan/dissectors/packet-calcappprotocol.c
P1sec/LTE_monitor_c2xx
gpl-2.0
7,408
168
codeparrot/github-code
90ac9294d2fa90edd61077122fe2803150fb7da98ade0553a2c4ce04344517ef
/* Company : Nequeo Pty Ltd, http://www.nequeo.com.au/ * Copyright : Copyright © Nequeo Pty Ltd 2012 http://www.nequeo.com.au/ * * File : * Purpose : * */ #region Nequeo Pty Ltd License /* Permission is hereby granted, free of charge, to any person obtaining a...
C#
Source/Components/Net/Nequeo.OAuth2/Consumer/Session/Authorization/Messages/AccessTokenResourceOwnerPasswordCredentialsRequest.cs
drazenzadravec/nequeo
gpl-2.0
4,453
119
codeparrot/github-code
369394d11407173304847a732bf708e1f7c1f4d80752000391ab4b21ae1c6682
/* * Copyright (c) [2017-2021] SUSE LLC * * All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as published * by the Free Software Foundation. * * This program is distributed in the hope that it will ...
C++
storage/Devices/DmRaid.cc
aschnell/libstorage-ng
gpl-2.0
3,410
166
codeparrot/github-code
e9adedddc7ab4bd4f0a00f2013d0c982281fa6c0f49e918ce61a944b36680859
package FusionInventory::Agent::Task::Deploy; # Full protocol documentation available here: # http://forge.fusioninventory.org/projects/fusioninventory-agent/wiki/API-REST-deploy use strict; use warnings; use base 'FusionInventory::Agent::Task'; use JSON; use LWP; use URI::Escape; use FusionInventory::Agent::Stora...
Perl
lib/FusionInventory/Agent/Task/Deploy.pm
guillomovitch/fusioninventory-agent
gpl-2.0
15,965
464
codeparrot/github-code
67db9fc05bd1f5b1748c0c659db82cc53b166b7897a7c920def503432d83f2b7
<?php /** * ImageManager, list images, directories, and thumbnails. * @author $Author: gustafn $ * @version $Id: ImageManager.php,v 1.10 2009/03/27 08:20:44 gustafn Exp $ * @package ImageManager */ require_once('../ImageManager/Classes/Files.php'); // uncomment to turn on debugging // _ddtOn(); /...
PHP
packages/acs-templating/www/resources/xinha-nightly/plugins/ImageManager/Classes/ImageManager.php
iuri/cif
gpl-2.0
17,855
673
codeparrot/github-code
40ab655e9c6b2ee13acec64ab428053c24a58c65832ec4197ea18be7810d5c54
/* Portions Copyright (c) 2015-Present, Facebook, Inc. Portions Copyright (c) 2012,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. T...
C
storage/rocksdb/rdb_perf_context.h
yoshinorim/mysql-5.6
gpl-2.0
4,653
164
codeparrot/github-code
9e64c193c8c163973bdb4af779559ed70c93b475381572f54c33dca7dffc3838
// // linq.cs: support for query expressions // // Authors: Marek Safar (marek.safar@gmail.com) // // Dual licensed under the terms of the MIT X11 or GNU GPL // // Copyright 2007-2008 Novell, Inc // Copyright 2011 Xamarin Inc // using System; using System.Collections.Generic; namespace Mono.CSharp.Linq { public clas...
C#
mcs/linq.cs
hardvain/mono-compiler
gpl-2.0
22,813
880
codeparrot/github-code
712e982b99238ab8721eda68c25d57f3c9c55d1d589da35af2dd3758ac7785da
/* .LVT tape images */ #include "lviv_lvt.h" #define WAVEENTRY_LOW -32768 #define WAVEENTRY_HIGH 32767 #define LVIV_LVT_BIT_SAMPLES 60 #define LVIV_LVT_HEADER_PILOT_SAMPLES 5190*60 #define LVIV_LVT_HEADER_DATA_SAMPLES 16*11*60 #define LVIV_LVT_PAUSE_SAMPLES 69370 #define LVIV_LVT_BLOCK_PILOT_SAMPLES 1298*6...
C
user/games/xmame/xmame-0.106/mess/formats/lviv_lvt.c
scs/uclinux
gpl-2.0
3,333
150
codeparrot/github-code
37f5d7a3c61623a0aed96d84a2b68e20b3a37200e4009c7f6b8ae514533e74bd
/************************************************************************ * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. * * Use is subject to license terms. * * Licensed under the Apache License, Version 2.0 (the "Lic...
Java
external/odfdom-java-0.8.10-incubating-sources/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java
jbjonesjr/geoproponis
gpl-2.0
18,135
426
codeparrot/github-code
dac9ded17a016d54080281936b8dccc5d58dda2024a5c0f56645e8948035ed46
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2015 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
C++
src/Form/Draw.hpp
etnestad/xcsoar
gpl-2.0
1,812
62
codeparrot/github-code
f8aa38b8d865e48da88335058c8e602a3b63c93b483e93d78e263d1add439749
<?php /* * User Role Editor Pro WordPress plugin options page * * @Author: Vladimir Garagulya * @URL: http://role-editor.com * @package UserRoleEditor * */ if (is_super_admin()) { ?> <tr> <td> <input type="checkbox" name="enable_simple_admin_for_multisite" id="enable_simple_admin_for_m...
PHP
wp-content/plugins/user-role-editor-pro/includes/pro/settings-template-ms.php
hungtran1202/merckquiz
gpl-2.0
6,645
150
codeparrot/github-code
6b57b0eb4d73f8c42b651955193f50df802d2aad5f14d7fadc4549e9f1e265a5
#include <stdio.h> #include <string.h> #include <stdint.h> #include <stdlib.h> #include "resid-fp/sid.h" #include "sound_resid.h" typedef struct psid_t { /* resid sid implementation */ SIDFP *sid; int16_t last_sample; } psid_t; psid_t *psid; void *sid_init() { // psid_t *psid; ...
C++
src/sound_resid.cc
gatekeep/86Box
gpl-2.0
2,746
109
codeparrot/github-code
57afc6fcd3a0cff7ab47f57e91d807c7d8f5f899ad11ead773d29f0648d93ff0
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2016 | +---------------------...
PHP
sites/all/modules/civicrm/CRM/Core/Payment/ProcessorForm.php
USACYC/youth.coop
gpl-2.0
5,791
137
codeparrot/github-code
b982699ed7318f1de93bb65d77ebe875dac2ff92e8098dce8303e477ef9cb3e6
// Copyright 2014 Citra Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #pragma once #include <array> #include <glad/glad.h> #include "common/common_types.h" #include "common/math_util.h" #include "core/hw/gpu.h" #include "video_core/renderer_base.h" #include "...
C
src/video_core/renderer_opengl/renderer_opengl.h
LittleWhite-tb/citra
gpl-2.0
2,644
89
codeparrot/github-code
53757708537223ebc7049dec0e0aef25d09af6129342172dc7aad4c2f568aa10
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program 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 Foundation. * * This program is distributed...
C
lustre/include/lustre_req_layout.h
sushantmane/lustre-stable
gpl-2.0
13,020
347
codeparrot/github-code
982f58a4523c252de6766da8e8624fbab7e3bf44fddb5858752281f77c979485
// Copyright 2015 Citra Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #include <cmath> #include "common/emu_window.h" #include "common/logging/log.h" #include "core/core_timing.h" #include "core/hle/kernel/event.h" #include "core/hle/kernel/shared_memory.h" #i...
C++
src/core/hle/service/hid/hid.cpp
kratos121/citra
gpl-2.0
11,471
315
codeparrot/github-code
9bc359b8fc37d123a0db2d084a8cdad97ff1a4f037c67a60e76c9e517d2f971b
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistribute it and/or modify it * ...
Java
adempiere_360/base/src/org/compiere/model/X_I_ElementValue.java
arthurmelo88/palmetalADP
gpl-2.0
15,150
606
codeparrot/github-code
7d691cbd1d39a8413e6a56acf3eadf846510c6ad9263d80adc55bcc08e9750d7
/* * Copyright 2002-2005, Instant802 Networks, Inc. * Copyright 2005-2006, Devicescape Software, Inc. * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> * Copyright 2008-2011 Luis R. Rodriguez <mcgrof@qca.qualcomm.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose...
C
net/wireless/reg.c
wangenau/samsung-kernel-msm7x30
gpl-2.0
65,243
2,462
codeparrot/github-code
a27e75e7cdfe1728a96cdafa9e35c13d6cb2844b78f462cbfa9e3d67ce5f8eb9
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * 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 re...
C
mbed/serial_api.h
UCSolarCarTeam/Schulich-Delta-CCS-Test-Tool
gpl-2.0
2,033
82
codeparrot/github-code
8222ed744993cbf35295d1ee395512d10f7e50948586418c17636206c7c85456
/* Copyright 2005-2009 Intel Corporation. All Rights Reserved. This file is part of Threading Building Blocks. Threading Building Blocks 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 ...
C
dep/tbb/include/tbb/atomic.h
Lillecarl/HGCore
gpl-2.0
14,693
398
codeparrot/github-code
1bb9ea63f2d4389da9b5f5708ba9379be280ca571131848030ef1ef1254b0b83
#ifndef PUBLICFUNCS #define PUBLICFUNCS #define LINUX #ifdef LINUX #include <GL/gl.h> #include <GL/glu.h> #include <GL/glut.h> #else #include <GLUT/glut.h> #endif #include "interface.h" #define FUNCPOINT_N 1000 extern GLPoint funcpoints[FUNCPOINT_N]; typedef float (*FUNC)(float x); void initWindow(void); void drawDo...
C
opengl3/publicfuncs.h
jypeitao/opengl_learn
gpl-2.0
822
31
codeparrot/github-code
08c37440c6a7d67a1eb678fd8179a817c52775369ead2943f707d8baabaa2d1d
#include <_ansi.h> #include <stdio.h> #include "c99ppe.h" #ifdef _HAVE_STDC #include <stdarg.h> #else #include <varargs.h> #endif typedef struct { char *str; unsigned int pad0[ 3 ]; char *fmt; unsigned int pad1[ 3 ]; va_list ap; } c99_vsprintf_t; int _DEFUN (vsprintf, (str, fmt, ap), char *str _AND ...
C
shared/cacao-related/newlib-1.15.0/newlib/libc/machine/spu/vsprintf.c
tommythorn/yari
gpl-2.0
570
40
codeparrot/github-code
83a9cee230fe38404b7e2ffaab9f0917f1da3403f082a620f768547221a70890
/* * QEMU/MIPS pseudo-board * * emulates a simple machine with ISA-like bus. * ISA IO space mapped to the 0x14000000 (PHYS) and * ISA memory at the 0x10000000 (PHYS, 16Mb in size). * All peripherial devices are attached to this "bus" with * the standard PC ISA addresses. */ /* Unicorn Emulator Engine */ /* By N...
C
qemu/hw/mips/mips_r4k.c
egberts/unicorn
gpl-2.0
1,254
56
codeparrot/github-code
c7951ad273ec812223e48e509c5f79b5330d66b9afde4ba1052d351f149c5839
/* * RomRaider Open-Source Tuning, Logging and Reflashing * Copyright (C) 2006-2022 RomRaider.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 * (...
Java
src/main/java/com/romraider/maps/DataCell.java
dschultzca/RomRaider
gpl-2.0
18,799
544
codeparrot/github-code
d7e71134ee0767f7fc0a84ce87c1c9b053010bdb7afe01eeb95f1ad92216628a
<?php /* * @package Joomla 1.5 * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * * @component Phoca Component * @copyright Copyright (C) Jan Pavelka www.phoca.cz * @license http://www.gnu.org/copyleft/gpl.html GNU/...
PHP
administrator/components/com_phocagallery/helpers/phocagallerycomment.php
xonev/SUDWebsite
gpl-2.0
2,016
68
codeparrot/github-code
1982bb28180f73e83d3cbaab35254a231050fd12b47defcfcbef7b3705b9069b
void draw(){ TString histoFileName = "data0/histo.root"; TFile* histoFile = TFile::Open(histoFileName); TH3D* hDetEventTime = (TH3D*) histoFile->Get("hDetEventTime"); printf("Nentries:%i\n",hDetEventTime->GetEntries()); for (Int_t det=1;det<=6;det++){ TCanvas* c1 = new TCanvas(Form("c1_det%i",...
C++
macro/analysis/timing/draw.C
desdemonda/cbmroot
gpl-2.0
2,433
66
codeparrot/github-code
35cbcd9f743500b23d772eff738ac73d3d73987da41d61d247850056ec9e2a70
/* Copyright (c) 2012-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
include/sound/q6asm-v2.h
shminer/android_kernel_lge_f460
gpl-2.0
13,963
447
codeparrot/github-code
2d1253801323ad5ad40d7975904e259e93b86f37be9ab68a6aabbcd86efa6dce
// random -*- C++ -*- // Copyright (C) 2012-2015 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either ve...
C++
libstdc++-v3/src/c++11/random.cc
schivei/gcc
gpl-2.0
4,159
162
codeparrot/github-code
ca7495d115b6183f90b6120573f381bbe2083b39f9165995d5e9b396c0830297
#ifndef __DRV_MAILBOX_IFC_H__ #define __DRV_MAILBOX_IFC_H__ /***************************************************************************** 1 Í·Îļþ°üº¬ *****************************************************************************/ #ifdef __cplusplus #if __cplusplus extern "C" { #endif #endif /*******************...
C
drivers/hisi/mailbox/hi6xxx_mailbox/drv_mailbox_ifc.h
gabry3795/android_kernel_huawei_mt7_l09
gpl-2.0
25,905
377
codeparrot/github-code
124dd791f9224697e927fae1c880ac66fea18653a072dd826f317ad728aa22ce
/* * Copyright (C) 2016,2017,2018,2020 by Jonathan Naylor G4KLX * * 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...
C++
Nextion.cpp
g4klx/MMDVMHost
gpl-2.0
23,254
999
codeparrot/github-code
64a5e6d42764b921d7dec30c10386bdfa460d9f856c95d6de5497b272553e241
/* * Copyright (C) 2005 James Livingston <doclivingston@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 License, or * (at your option) any later v...
C
plugins/generic-player/rb-generic-player-source.h
ruud-v-a/rhythmbox
gpl-2.0
4,092
95
codeparrot/github-code
a2fa44a4defb4f19016fdeef7af31176dcd210b6ea6c4407c89afac539758de7
<?php class BP_Registration_Options { function __construct() { // Define plugin constants $this->version = BP_REGISTRATION_OPTIONS_VERSION; $this->basename = plugin_basename( __FILE__ ); $this->directory_path = plugin_dir_path( __FILE__ ); //$this->directory_url = plugins_url( 'bp-registration-options/' ); ...
PHP
wp-content/plugins/bp-registration-options/bp-registration-options.php
futuhal-arifin/mommee
gpl-2.0
1,410
46
codeparrot/github-code
c7fa691035130126f9cccbd8aea06b13abb72405f4a1557850ce984ae5a66260
/* Copyright (c) 2004-2006, The Dojo Foundation All Rights Reserved. Licensed under the Academic Free License version 2.1 or above OR the modified BSD license. For more information on Dojo licensing, see: http://dojotoolkit.org/community/licensing.shtml */ dojo.provide("dojo.logging.Logger"); dojo.p...
JavaScript
taskmodel/taskmodel-core-view/src/main/webapp/dojo/src/logging/Logger.js
smee/elateXam
gpl-3.0
15,366
475
codeparrot/github-code
4020d63c6ecc2ee46a24da4e1b0238be05fd1f68cd689b153aeca6bb18f39881
/* Copyright (C) 2011 Jason von Nieda <jason@vonnieda.org> This file is part of OpenPnP. OpenPnP is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your ...
Java
src/main/java/org/openpnp/gui/processes/FourPlacementBoardLocationProcess.java
EricB02/openpnp
gpl-3.0
18,974
501
codeparrot/github-code
79f4813f1d0e269416e3aa7175ad3e62607855c3d6f58918a522a26677fb2a00
/***************************************************************************** * * Nagios run command utilities * * License: GPL * Copyright (c) 2005-2014 Nagios Plugins Development Team * * Description : * * A simple interface to executing programs from other programs, using an * optimized and safe popen()-like im...
C
plugins/runcmd.c
barqshasbite/nagios-plugins
gpl-3.0
9,671
359
codeparrot/github-code
e871c4d63c9b80d8086af6728d305c21340f186b9de412705bb98775f77779fd
// Torc - Copyright 2011-2013 University of Southern California. All Rights Reserved. // $HeadURL$ // $Id$ // 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++
src/torc/utils/BrowserMain.cpp
torc-isi/torc
gpl-3.0
1,487
43
codeparrot/github-code
075b55494b312642c3b7a42ee854d82f9fe14d29e56e29862edf637a13cca6d5
/***************************************************************************** * * PROJECT: Open Faction * LICENSE: See LICENSE in the top level directory * FILE: shared/CStaticGeometry.cpp * PURPOSE: Loading of static geometry in levels * DEVELOPERS: Rafal Harabien * **************************...
C++
shared/CStaticGeometry.cpp
Sebbyastian/openfaction
gpl-3.0
17,432
488
codeparrot/github-code
998900f82a934c003db6620be462b416122c1fc94b878c020747e089f09f99ca
/*! * \file * \brief Definition of an argument parser class * \author Thomas Eriksson, Pal Frenger and Johan Bergman * * Thanks to Svante Signell for valuable input * * ------------------------------------------------------------------------- * * Copyright (C) 1995-2010 (see AUTHORS file for a list of contrib...
C
itpp/base/parser.h
soulsheng/itpp
gpl-3.0
7,559
235
codeparrot/github-code
0e03e99fb8740cbd606ed56d8e8728f0ae91e851c26941a78ba8c9db4af9f707
/* * Copyright (C) 2013 Camptocamp * * This file is part of MapFish Print * * MapFish Print is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any l...
Java
src/main/java/org/mapfish/print/MapPrinter.java
mbarto/mapfish-print
gpl-3.0
7,087
225
codeparrot/github-code
14e2449989765331a1ed31c398364c70683498bf7246d0ec15636b15f437331a
#include "particleProperties_py.h" #include "stlContainers_py.h" namespace bp = boost::python; namespace { struct particlePropertiesWrapper : public rpwa::particleProperties, bp::wrapper<rpwa::particleProperties> { particlePropertiesWrapper() : rpwa::particlePropert...
C++
pyInterface/particleData/particleProperties_py.cc
odrotleff/ROOTPWA
gpl-3.0
7,031
171
codeparrot/github-code
16199640ccb0096a424ac9b183c01762e861eee5dffa7f745afcfb619a6ff5b4
;***************************************************************************** ;* MMX/SSE2/AVX-optimized 10-bit H.264 deblocking code ;***************************************************************************** ;* Copyright (C) 2005-2011 x264 project ;* ;* Authors: Oskar Arvidsson <oskar@irock.se> ;* L...
Assembly
src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/x86/h264_deblock_10bit.asm
tgoyne/VSFilter-Aegisub
gpl-3.0
23,867
926
codeparrot/github-code
8c17371de7b6e64a85aedfd60479500f4ad33a6e428e3ddcc2e3d89d3a1dfcf9
#include "cinder/app/AppNative.h" #include "cinder/gl/Texture.h" #include "cinder/Capture.h" #include "cinder/params/Params.h" #include "CinderOpenCV.h" using namespace ci; using namespace ci::app; using namespace std; class ocvOpticalFlowApp : public AppNative { public: void setup(); void update(); void draw()...
C++
dependencies/include/cinder/blocks/OpenCV/samples/ocvOpticalFlow/src/ocvOpticalFlowApp.cpp
brittybaby/3DModelfitting
gpl-3.0
2,941
119
codeparrot/github-code
81bf596550128a46b5b65e1393f2e39f6a3d5597fa5c6cc328cb90f8515cc592
/* Copyright 2010 OpenRTMFP This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distri...
C
CumulusServer/sources/TCPServer.h
OpenRTMFP/Cumulus
gpl-3.0
1,428
56
codeparrot/github-code
e7efc5915bac39f3fd3c47a890bfd58d24a183a040aa64559ae1cc83a0f02174
/* Global variables */ var _languagesHashOld = new Array(); var _languagesHash = new Array(); var _languagesRegexHash = new Array(); /* Initialize the languages arrays */ /* Order alphabetically by _languagesHash key */ /* Based in ISO 639-3 codes */ /* source: http://www-01.sil.org/iso639-3/iso-639-3.tab */ /* alt so...
JavaScript
kiwix/chrome/content/main/js/languages.js
kiwix/kiwix_mirror
gpl-3.0
15,138
556
codeparrot/github-code
55be2324257e0a9cd664f96d79709b723871a6dbacb6b37415a577fcefb5f77c
package tk.blackwolf12333.grieflog.compatibility.v1_6_R3; import java.util.HashSet; import org.bukkit.Chunk; import org.bukkit.entity.Player; import tk.blackwolf12333.grieflog.compatibility.ChangesSenderInterface; import tk.blackwolf12333.grieflog.rollback.SendChangesTask; public class ChangesSender implements Chan...
Java
src/tk/blackwolf12333/grieflog/compatibility/v1_6_R3/ChangesSender.java
doglover129/GriefLog
gpl-3.0
1,314
36
codeparrot/github-code
dd95ef6ec39c340f5feef44bf67e051615b4b5149e824f096d66ae2e102fdbfd
import numpy as np import os from galry import log_debug, log_info, log_warn, get_color from fontmaps import load_font from visual import Visual __all__ = ['TextVisual'] VS = """ gl_Position.x += (offset - text_width / 2) * spacing.x / window_size.x; gl_Position.y -= index * spacing.y / window_size.y; gl...
Python
installation/klustaviewa-0.3.0/galry/visuals/text_visual.py
DavidTingley/ephys-processing-pipeline
gpl-3.0
7,555
197
codeparrot/github-code
c01f16caf3a17922ba661ea375a2a1d706fc549b57cfdd76bb929d535149e3b7
package simulator; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.util.ArrayList; import javax.swing.JFrame; import javax.swing.JPanel; import cartago.OPERATION; import cartago.tools.GUIArtifact; public class House extends GUIArtifact { House...
Java
examples/house-building/src/env/simulator/House.java
jomifred/jacamo
gpl-3.0
2,704
122
codeparrot/github-code
d43d5e6362d8878b7b5f6e9d8bfa0e8d799eab99f36c2acb168acc520ec57e1a
----------------------------------- -- Area: Jade Sepulcher (67) -- Mob: Tiyaash ----------------------------------- -- require("scripts/zones/Jade_Sepulcher/MobIDs"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) end; ------------------...
Lua
scripts/zones/Jade_Sepulcher/mobs/Tiyaash.lua
Fatalerror66/ffxi-a
gpl-3.0
803
43
codeparrot/github-code
7df29310b3bdc42a7b7bd17e0409e9b2c5d4c78a0c5c51dd92204b8c00ee494a
import React, { Component, PropTypes } from 'react'; import { View, Image, Text, StyleSheet } from 'react-native'; import LinearGradient from 'react-native-linear-gradient'; const glassPrimary = '#d5d2da'; const glassSecondary = '#bb2130'; class ProfilePicture extends Component { render() { const profi...
JavaScript
src/components/CharacterProfile/ProfilePicture.js
TekkenChicken/t7-chicken-native
gpl-3.0
1,316
64
codeparrot/github-code
4afe8421d808c61dbfe1ae6dc359a2df03d7ba72a08c5a9e83ed7959737d73b6
//Copyright (c) 2008-2009 Emil Dotchevski and Reverge Studios, Inc. //Distributed under the Boost Software License, Version 1.0. (See accompanying //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef UUID_D6250026A17F11DEA29012BF55D89593 #define UUID_D6250026A17F11DEA29012BF55D89593 #inclu...
C++
la/boost/la/identity_matrix.hpp
kelvindk/Video-Stabilization
gpl-3.0
2,136
102
codeparrot/github-code
96f5b1a2d14cd8c0845a2a86729e0463cefd71b65f0677f80bd50a90ce3e179e
/*============================================================================= Copyright (c) 2009 Hartmut Kaiser Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ========================================...
C++
lib/boost/boost/fusion/view/nview/nview.hpp
N00byEdge/ProjectDurr
gpl-3.0
3,538
121
codeparrot/github-code
5e877cf608d0fb271860e146afdcea807871748548837108e7f762e403c78ebb
package org.openbase.bco.dal.test.layer.unit.location; /*- * #%L * BCO DAL Test * %% * Copyright (C) 2014 - 2021 openbase.org * %% * 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 Foundation,...
Java
test/src/test/java/org/openbase/bco/dal/test/layer/unit/location/AbstractBCOLocationManagerTest.java
DivineCooperation/bco.dal
gpl-3.0
4,041
107
codeparrot/github-code
75dd287a419a5ffddc716bb15583eeefb2783922e6f49e000a0177f0babf7785
/* LUFA Library Copyright (C) Dean Camera, 2012. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation ...
C
pcdash/LUFA/Drivers/Board/UC3/EVK1100/LEDs.h
evangreen/hardware
gpl-3.0
4,971
162
codeparrot/github-code
bee0cae957e44e07b34fcb068b8413644d3d4cbd22689fd5257b1dc964c7a71a
/* * MindmapsDB - A Distributed Semantic Database * Copyright (C) 2016 Mindmaps Research Ltd * * MindmapsDB is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at you...
Java
mindmaps-graph/src/main/java/io/mindmaps/graph/internal/ResourceTypeImpl.java
denislobanov/grakn
gpl-3.0
3,522
101
codeparrot/github-code
4ef5020318441c3cd26f1cc0a506d0af85903b3f46e9c39d4d8e552cd691632b
/*********************************************************************** This file is part of KEEL-software, the Data Mining tool for regression, classification, clustering, pattern mining and so on. Copyright (C) 2004-2010 F. Herrera (herrera@decsai.ugr.es) L. Sánchez (luciano@uniovi.es) J. A...
Java
src/keel/Algorithms/Instance_Generation/BasicMethods/AVG.java
TheMurderer/keel
gpl-3.0
4,311
117
codeparrot/github-code
31775e1ad61fe7efb432977fb7b77ae1efeda4678b7ef846b62f17c74a396133
# Copyright 2008-2014 Amazon.com, Inc. or its affiliates. All Rights # Reserved. Licensed under the Amazon Software License (the # "License"). You may not use this file except in compliance with the # License. A copy of the License is located at # http://aws.amazon.com/asl or in the "license" file accompanying this ...
Ruby
classic/ec2-ami-tools-1.5.7/lib/ec2/common/headersv4.rb
atramos/ec2-spotter
gpl-3.0
5,629
174
codeparrot/github-code
bebd39e256a905b44893291c0ed32b28f8617b79acbeb5719171efdcb30528ab
<?php require_once GTFWConfiguration::GetValue('application','docroot').'module/data_pegawai/business/data_pegawai.class.php'; class Cuti extends Database { protected $mSqlFile= 'module/data_cuti/business/cuti.sql.php'; function __construct($connectionNumber=0) { parent::__construct($connectionNumber)...
PHP
malra/fo/module/data_cuti/business/cuti.class.php
4n6g4/gtsdm
gpl-3.0
7,599
239
codeparrot/github-code
016bdc653c96ff9850c15b63d5dcbfe50f55effa35c81688c414d7e4e6e66836
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.pepsoft.worldpainter.layers; import java.util.Random; import org.pepsoft.worldpainter.layers.trees.Bush; import org.pepsoft.worldpainter.layers.trees.JungleTree; import org.pepsoft.worldpainter.layers.trees...
Java
WorldPainter/WPCore/src/main/java/org/pepsoft/worldpainter/layers/Jungle.java
frogocomics/WorldPainter
gpl-3.0
1,265
50
codeparrot/github-code
97694efd070ca705c2bcc8749720855b6a9a70eae0c597531ceb177ea2e6e21c
#pragma region Copyright (c) 2014-2016 OpenRCT2 Developers /***************************************************************************** * OpenRCT2, an open source clone of Roller Coaster Tycoon 2. * * OpenRCT2 is the work of many authors, a full list can be found in contributors.md * For more information, visit h...
C
src/interface/viewport.h
n42k/OpenRCT2
gpl-3.0
7,199
174
codeparrot/github-code
ed7cae83a7dab41f560404cf0d35e3a4f8c668f1fc127d666c48cdcefeebec98
/** * Marlin 3D Printer Firmware * Copyright (C) 2016, 2017 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU G...
C++
Marlin/src/HAL/HAL_LPC1768/u8g_com_HAL_LPC1768_st7920_hw_spi.cpp
MoonshineSG/Marlin
gpl-3.0
5,033
165
codeparrot/github-code
71fc55c56d4e96571fc2de4ce6d520ffc4f7e3688029dc928b0f74dea938aad7
/** * Copyright (c) 2002-2013 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j 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 Foundati...
Java
neo4j-android/kernel-src/org/neo4j/kernel/impl/core/GraphDbModule.java
kirilenkoo/neo4j-mobile-android
gpl-3.0
7,634
242
codeparrot/github-code
b21179c25018a8842b1ecccaf12e03776d908f732756c7491f65a558f34d3288
<?php class ModelPaymentPPPro extends Model { public function getMethod($country_id, $zone_id) { $this->load->language('payment/pp_pro'); if ($this->config->get('pp_pro_status')) { $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "zone_to_geo_zone WHERE geo_zone_id = '" . (int)$this->config-...
PHP
upload/catalog/model/payment/pp_pro.php
chetan/opencart
gpl-3.0
989
33
codeparrot/github-code
501d11684c467e2ec5126023e93fdf61424990e518d32c17510f8229663d3600
# OpenShot Video Editor is a program that creates, modifies, and edits video files. # Copyright (C) 2009 Jonathan Thomas # # This file is part of OpenShot Video Editor (http://launchpad.net/openshot/). # # OpenShot Video Editor is free software: you can redistribute it and/or modify # it under the terms of the GNU G...
Python
libreshot/blender/scripts/blinds.py
XXLRay/libreshot
gpl-3.0
5,718
162
codeparrot/github-code
7ade9d94234568d8dc7c26ce890ab6639662e5787a26b28b0dd3f12f0ed5e1ac
/***************************************************************************** * Copyright (c) 2014-2020 OpenRCT2 developers * * For a complete list of all authors, please refer to contributors.md * Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2 * * OpenRCT2 is licensed under the GNU Gener...
C++
src/openrct2/platform/Windows.cpp
Gymnasiast/OpenRCT2
gpl-3.0
17,541
563
codeparrot/github-code
f70ce45d6e96cd2ef0080cca19cf8461c49f0d359df9bd791c46ec3ee1a6d516
import { Fail, Ok, Result } from "./Result"; export function inlineEscaped(str : string) : Result<string, string> { let result = "" for (let i = 0; i < str.length; ++i) { const ch = str[i]; if (ch == "\\") { if (i + 1 === str.length) { return new Fail("Extra backslash"); } result += str[i + 1]; +...
TypeScript
source/Utils.ts
LAJW/wrona-history
gpl-3.0
6,467
259
codeparrot/github-code
ff796e47d046dc7f2f50e8aed5f3e90ae3ad764825777a1e1616555837958e1e
<?php /** * This file is part of OXID eShop Community Edition. * * OXID eShop Community Edition is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at yo...
PHP
core/oxlang.php
jadzgauskas/oxidce
gpl-3.0
40,196
1,238
codeparrot/github-code
fa79fc3bc071da2b49e386f932824356ad506be6ea9bdac63141883f71630900
/* * yeast.cpp is part of Brewtarget, and is Copyright the following * authors 2009-2014 * - marker5a * - Philip Greggory Lee <rocketman768@gmail.com> * - plut0nium * - Samuel Östling <MrOstling@gmail.com> * * Brewtarget is free software: you can redistribute it and/or modify * it under the terms of the GNU Ge...
C++
src/yeast.cpp
theophae/brewtarget
gpl-3.0
8,149
269
codeparrot/github-code
449252b92c1160b16c11398cb288076f5d1ffc198f809bb52d56595262226e65
/* Copyright 2010, Google 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: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following dis...
JavaScript
OpenRefine/extensions/gdata/module/scripts/gdata-extension.js
WGBH/AMS
gpl-3.0
2,422
63
codeparrot/github-code
b8b78134045372dec08c988b70e9d5f5c3c6f0ee869822ddcd5787421dada510
package getters import ( "errors" "fmt" "regexp" "strings" ) //longzhu 龙珠直播 type longzhu struct{} //Site 实现接口 func (i *longzhu) Site() string { return "龙珠直播" } //SiteURL 实现接口 func (i *longzhu) SiteURL() string { return "http://www.longzhu.com" } //SiteIcon 实现接口 func (i *longzhu) SiteIcon(...
GO
api/getters/longzhu.go
Baozisoftware/Luzhibo-go
gpl-3.0
2,136
94
codeparrot/github-code