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
7cf0e909ed2bab8ed1f1af029e54ad3ded9bfe9bd453999c8378fba760f7171a
#include <linux/module.h> #include <linux/spinlock.h> #include <linux/kernel.h> #include <linux/platform_device.h> #include <linux/amlogic/amports/timestamp.h> #include <linux/amlogic/amports/tsync.h> #include <linux/amlogic/amports/ptsserv.h> #ifdef ARC_700 #include <asm/arch/am_regs.h> #else #include <mach/am_regs.h>...
C
drivers/amlogic/amports/tsync.c
kszaq/linux-amlogic
gpl-2.0
52,628
1,723
codeparrot/github-code
842a9ba42b0bb48077ac504f7d2cea520284a80145f22bbe27f7cd1a5e9c476d
/******************************************************************************\ * Utopia Player - A cross-platform, multilingual, tagging media manager * * Copyright (C) 2006-2007 John Eric Martin <john.eric.martin@gmail.com> * * ...
C++
utopialyrics/src/xmlrubyhandler.cpp
erikku/utopiaplayer
gpl-2.0
3,497
114
codeparrot/github-code
e2656103251847408be2c3e5d4e267d968f3baa708a1eb1e25901e607054713b
package Vistas; import Conexion.ConexioSQLite; import static Vistas.Cuenta.modeloCuenta; import static Vistas.Cuenta.sumaProductos; import java.sql.ResultSet; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JOptionPane; import javax.swing.table.DefaultT...
Java
ProyectoFinalBaresUCC/src/Vistas/Productos.java
cristian0193/EstructuraDatos
gpl-2.0
9,862
232
codeparrot/github-code
12b4f6013107134b00b70072adc0a35843f47ed7bc0c5486c4d94b75de341cf2
package helper; import java.awt.AlphaComposite; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.image.BufferedImage; import javax.swing.JPanel; public class GhostGlassPane extends JPanel { private AlphaComposite composite; private BufferedImage dragged =...
Java
src/main/java/helper/GhostGlassPane.java
pja35/ThePyBotWarPro
gpl-2.0
1,128
45
codeparrot/github-code
a10dcce8414060d9094354d84a7cb2449ac141e492684769bb9e4599a6340c12
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName /** * Crowdsignal (PollDaddy) shortcode. * * Formats: * [polldaddy type="iframe" survey="EB151947E5950FCF" height="auto" domain="jeherve" id="a-survey-with-branches"] * [crowdsignal type="iframe" survey="EB151947E5950FCF" height="auto" domain="jeh...
PHP
jetpack-9.4/modules/shortcodes/crowdsignal.php
Automattic/vip-go-mu-plugins
gpl-2.0
22,364
777
codeparrot/github-code
45e02550df6e5a59c0591fa2546b90a93d45bc5b678db8591cf4e58092f388f9
<?php /** @package catalog::modules::services @author Loaded Commerce @copyright Copyright 2003-2014 Loaded Commerce, LLC @copyright Portions Copyright 2003 osCommerce @license https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt @version $Id: currencies.php v1.0 2013-08-0...
PHP
catalog/includes/modules/services/currencies.php
loadedcommerce/loaded7
gpl-2.0
1,257
36
codeparrot/github-code
c147b2824b57c6f60927615b726f969527846a1d3b9d778d9ca6dae0b589760b
/* * Copyright (C) 2000,2001 Marco Ziech (mmz@gmx.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 * of the License, or (at your option) any later version. * * Th...
C
src/bnetd/bits_rconn.c
jrmuizel/bnetd
gpl-2.0
3,614
133
codeparrot/github-code
38aa8431d3aa61778f1de1a6c58b2626bd4d3854f5ffef1bbcf9fdb2d3cf17d6
#if 0 #include <linux/i2c.h> #include <linux/platform_device.h> #include <linux/delay.h> #include <linux/cdev.h> #include <linux/uaccess.h> #include <linux/slab.h> #include <linux/fs.h> #include "kd_camera_hw.h" #include "eeprom.h" #include "eeprom_define.h" #include "GT24c32a.h" #include <asm/system.h> #else #incl...
C
drivers/misc/mediatek/cam_cal/src/mt6752/GT24c32a_eeprom/GT24c32a.c
lbule/kernel_htc_mtk
gpl-2.0
25,203
877
codeparrot/github-code
0dcb0522e84f619d6a0ccb18551278893b32e44eb39a3397438b5f38e95ebc25
/** * OWASP Benchmark Project v1.2 * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://owasp.org/www-project-benchmark/">https://owasp.org/www-project-benchmark/</a>. * * The OWASP Benchmark is free software: you can redistribute it ...
Java
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00544.java
h3xstream/Benchmark
gpl-2.0
2,453
79
codeparrot/github-code
f6e70baf3bf0c98fe94c3a23d5d1a1992deb63cf91a8b7988a25f2b953976f53
/* * Copyright (C) 2006 PA Semi, Inc * * Authors: Kip Walker, PA Semi * Olof Johansson, PA Semi * * Maintained by: Olof Johansson <olof@lixom.net> * * Based on arch/powerpc/platforms/maple/pci.c * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Gener...
C
arch/powerpc/platforms/pasemi/pci.c
milaq/linux-hpc
gpl-2.0
4,599
199
codeparrot/github-code
bdfdbfefcc4ea92dd550b7abdc1ca97545e101f96de07424b83fb64c17cc9eff
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Ultra.CoreCaller; using Ultra.FASControls.Controllers; namespace Ultra.FASControls { public partial class SerNoCaller_WL { //CtlItemController protected static EFCaller<UltraDbEntity.T_ERP_Item> _Calr_I...
C#
Ultra.FASControls/Caller/SerNoCaller_WL.cs
Tyreezhang/OYWLWeb
gpl-2.0
5,176
145
codeparrot/github-code
b5c0554a1dda8755372178fbe20e401b9585f2ce3b741d58ebcfbc8273b9a794
<?php /** * @package JooDatabase - http://joodb.feenders.de * @copyright Copyright (C) Computer - Daten - Netze : Feenders. All rights reserved. * @license GNU/GPL, see LICENSE.php * @author Dirk Hoeschen (hoeschen@feenders.de) */ function JoodbBuildRoute(&$query) { $segments = array(); // get a menu item based...
PHP
components/com_joodb/router.php
rodhoff/cdn1
gpl-2.0
2,116
79
codeparrot/github-code
4379e575f40992ba33b5f3c035eade1af828edc0748d06442a867b1b9e0c3284
/* Verify that overloaded built-ins for vec_insert() with short inputs produce the right codegen. Power8 variant. */ /* { dg-do compile } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-O2 -mdejagnu-cpu=power8" } */ #include <altivec.h> vector bool short testbs_var(unsigned short ...
C
gcc/testsuite/gcc.target/powerpc/fold-vec-insert-short-p8.c
Gurgel100/gcc
gpl-2.0
1,546
58
codeparrot/github-code
3cbefd4658994583bbd3b8d0b803f1bab04c5e367a1090ba3fc7d6a9e855494f
/* * Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
modules/jdk.packager/src/main/java/com/oracle/tools/packager/jnlp/JNLPBundler.java
teamfx/openjfx-10-dev-rt
gpl-2.0
56,509
1,365
codeparrot/github-code
b3a215cdd7f25da01ba08b110542845dae30d0ccef162aa9847aa8641a07fcc2
#include <linux/init.h> #include <linux/interrupt.h> #include <linux/module.h> #include <asm/types.h> #include <mach/hardware.h> #include <asm/irq.h> #include <mach/irqs.h> #include <asm/mach/irq.h> #include <asm/mach/time.h> #include <linux/device.h> #include <linux/serial_8250.h> #include "common.h" static struct ...
C
arch/arm/mach-h720x/cpu-h7202.c
leemgs/OptimusOneKernel-KandroidCommunity
gpl-2.0
4,387
200
codeparrot/github-code
59781830a89c315351f77c6b3b7847871e838afc9cb9e9abce63de1f09ab5132
/* * Copyright (C) 2004-2011 See the AUTHORS file for details. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. */ #include "User.h" class CNickServ : public CModule { public...
C++
modules/nickserv.cpp
rwaldron/znc
gpl-2.0
1,718
80
codeparrot/github-code
18dc361f03ba933dc471d4931c8b30958b3c74591ada916ede5fba3ea9e78c0b
module Rake module DSL def matrix Matrix end def story @story ||= Matrix::Story.new end def mkcloud @mkcloud ||= Matrix::MkcloudRunner.new end def virsetup @virsetup ||= Matrix::VirsetupRunner.new end def gate @gate ||= Matrix::GateRunner.new e...
Ruby
lib/matrix/rake/dsl.rb
vmoravec/matrix
gpl-2.0
1,934
95
codeparrot/github-code
f07ae4e195e0e0f35f9b411f3d72416c9dda4f91e6884fad92af8e4e82ce891a
/******************************************************************************* * Copyright (c) 2006-2007 Nicolas Richeton. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availa...
Java
org.eclipse.nebula.widgets.gallery/src/org/eclipse/nebula/widgets/gallery/AbstractGalleryItemRenderer.java
bdaum/zoraPD
gpl-2.0
9,697
351
codeparrot/github-code
25f0cd06bd025a3a99b6afbc0eaf969d9109797b7bac18cfe9cd207c8974ca35
package cmucoref.mention.extractor; import cmucoref.document.Document; import cmucoref.document.Lexicon; import cmucoref.document.Sentence; import cmucoref.exception.MentionException; import cmucoref.mention.Mention; import cmucoref.mention.eventextractor.EventExtractor; import cmucoref.mention.extractor.relationextra...
Java
src/cmucoref/mention/extractor/MentionExtractor.java
XuezheMax/cmucoref
gpl-2.0
27,355
615
codeparrot/github-code
4c4000fcb83b3c0eacf7d7ff73f96b6a52b14039a4fcce22a8723ea3eda5366b
#ifndef DCLIST_HPP #define DCLIST_HPP #include "celltype.hpp" #include <string> #include <sstream> #include <exception> class DCList { private: celltype* head, *last; bool swapped; int makeList(int*); public: DCList(); ~DCList(); void insert(int); int extract(void); void swap(void...
C++
DS_Practice2/DS_Practice2/DCList.hpp
adrigames/dsAssignment2
gpl-2.0
553
33
codeparrot/github-code
2b9c99f7ec10bd1421b08a35a19380fbe1c33e33531605bdf2d53cdb9f92733a
/* * Copyright (C) 2014 OpenSIPS Solutions * * This file is part of opensips, a free SIP server. * * opensips 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 y...
C
reactor.h
chiforbogdan/opensips
gpl-2.0
3,500
138
codeparrot/github-code
43f71b9efe7dcaf609fb5908cdffdfae08b8866789fb969348d71a570dee9eec
// NOTE: Apologies for the quality of this code, this is really from pre-opensource Dolphin - that is, 2003. #include <windows.h> #include <tchar.h> #include "base/NativeApp.h" #include "Globals.h" #include "shellapi.h" #include "commctrl.h" #include "input/input_state.h" #include "Core/Debugger/SymbolMap.h" #inclu...
C++
Windows/WndMainWindow.cpp
jeid3/ppssppFix
gpl-2.0
34,181
1,226
codeparrot/github-code
9ceebcb6e5ab018f3e8af22b93d3864578ce3cf61cc48c99d66f2eab60ba9da9
# kamene.contrib.description = Label Distribution Protocol (LDP) # kamene.contrib.status = loads # http://git.savannah.gnu.org/cgit/ldpscapy.git/snapshot/ldpscapy-5285b81d6e628043df2a83301b292f24a95f0ba1.tar.gz # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Gene...
Python
kamene/contrib/ldp.py
phaethon/scapy
gpl-2.0
13,902
476
codeparrot/github-code
0a6106cafc5380c13047ccaeeb200233f0eef8fc4fbf5f24696c8835c91f78c2
<!DOCTYPE html> <html lang="zh-CN" > <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta name="theme-color" content="#fff" id="theme-color"> <meta name="description" content="不以...
HTML
categories/缓存/博客/index.html
leechaoqiang/leechaoqiang.github.io
gpl-2.0
25,029
1,102
codeparrot/github-code
4d560f41d28e0cde0433252c7be3321c0977fa024173856a04cc278e0df82b85
/* * Copyright (C) 2005-2008 Team XBMC * http://www.xbmc.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, or (at your option) * any later version. * ...
C++
xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamHTSP.cpp
chris-magic/xbmc_dualaudio_pvr
gpl-2.0
6,506
278
codeparrot/github-code
491f0c77cf799db10aaf2a9e3c2ab014e81d14ca39ef8ade886a8eaa651ffb30
// ********************************************************************** // // Copyright (c) 2003-2013 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++
cpp/test/Ice/adapterDeactivation/Client.cpp
sbesson/zeroc-ice
gpl-2.0
1,298
62
codeparrot/github-code
0c9de7083a02985d5ed8d17bf28f01f2c68f83553bfeb45422ad212c64fe5807
/* * Framebuffer driver for TI OMAP boards * * Copyright (C) 2004 Nokia Corporation * Author: Imre Deak <imre.deak@nokia.com> * * Acknowledgements: * Alex McMains <aam@ridgerun.com> - Original driver * Juha Yrjola <juha.yrjola@nokia.com> - Original driver and improvements * Dirk Behme <dirk.behme...
C
drivers/video/omap/omapfb_main.c
umeshkrishnan/pb-bugbase-kernel
gpl-2.0
48,904
1,971
codeparrot/github-code
91a3d2aad44244b310809c93d4544eeadb8130ff07f5e7686ee57afd7659cbe4
///////////////////////////////////////////////////////////////////////////// // // (c) 2007 BinaryComponents Ltd. All Rights Reserved. // // http://www.binarycomponents.com/ // ///////////////////////////////////////////////////////////////////////////// using System; using System.Drawing; using System.Win...
C#
ProductMan/SuperList/Sections/OptionsToolbarSection.cs
CecleCW/ProductMan
gpl-2.0
9,455
270
codeparrot/github-code
f2429480c9094a85b745247acde00f1ff5d56f98ea3e20f6aa79c4df3040b967
#include "public.h" #include <pthread.h> #include <signal.h> #include <syslog.h> extern int already_running(); extern void daemonize(const char *cmd); sigset_t mask; void reload() { /* reload config file */ syslog(LOG_INFO, "RELOAD CONFIG FILE"); } void *thr_fn(void * arg) { int signo; while(sigwait(&mask, &s...
C
ch13/prog13_3.c
clamxyz/apue
gpl-2.0
1,078
72
codeparrot/github-code
57499c2fec489526967599748483993c6c85c65ade6d7afe36c483fd2729c29c
<?php /** * @package Redirect-On-Login (com_redirectonlogin) * @version 3.1.0 * @copyright Copyright (C) 2008 - 2013 Carsten Engel. All rights reserved. * @license GPL versions free/trial/pro * @author http://www.pages-and-items.com * @joomla Joomla is Free Software */ // no direct access defined('_JEXEC') or die('Res...
PHP
administrator/components/com_redirectonlogin/controller.php
tannpv/pepmobile
gpl-2.0
33,665
790
codeparrot/github-code
7c3e4d8836e4fd3527fa4a1ee9db1eff91ce797216464bfe37f5ae6ff870cfc7
#ifndef __PRIMITIVE_H__ #define __PRIMITIVE_H__ #include "MathGeoLib/include/MathGeoLib.h" #include "glew-2.0.0/include/GL/glew.h" class Primitive { public: enum Types { AXIS, GRID, SOLID_CUBE, SOLID_SPHERE, UNKNOWN }; Primitive(Types primitive_type) : m_type(primitive_type) {} virtual ~Primitive() {}...
C
src/Primitive.h
eikur/jadengine
gpl-2.0
903
44
codeparrot/github-code
37a861791cf7d1c5631026778785d43f11e49733a42f0bed1b4690d939bf6c58
<?php /* themes/bootstrap/templates/input/form-element-label.html.twig */ class __TwigTemplate_2354354cef59de02f70fe1144f1a4083879f91af2173de96ec49e7588478ad73 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; ...
PHP
sites/default/files/php/twig/5f824940_form-element-label.html.twig_e0c8a63f3b0b48ed3558d578ef47b789cd3f238cc627840ac50fc59ef423cc38/9aaa7c0638dd7945f276f16f3231b99db32ab31f72831a88b8a28085933b6980.php
deryfebriantara/symfonyId
gpl-2.0
5,618
126
codeparrot/github-code
2336b277840cd986de6ac29343dba7b725d82e04a9ec38f0483ba7fd283ce3d5
/* * Asterisk -- An open source telephony toolkit. * * Copyright (C) 1999 - 2005, Digium, Inc. * * Mark Spencer <markster@digium.com> * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact * any of the maintainers of this project for assistance; * the...
C
apps/app_read.c
nicwolff/asterisk-agi-mp3
gpl-2.0
6,752
232
codeparrot/github-code
d297b6dd577fc01b32a875e78f39df67bfcdbb6500cd6efde070025f7d0cbbf1
#=============================================================================== # # FILE: Dg2ASCII # # ABSTRACT: convert Games::Go::Sgf2Dg::Diagrams to ASCII diagrams # # AUTHOR: Reid Augustin (REID), <reid@hellosix.com> #============================================================================...
Perl
lib/Games/Go/Sgf2Dg/Dg2ASCII.pm
gitpan/Games-Go-Sgf2Dg
gpl-2.0
20,282
677
codeparrot/github-code
66ca8cf789baea4fa4cf92041838b8984805c6c5ce1cb59eaec54c051fde8466
#include "config.h" #include "libssl.hh" #ifdef HAVE_LIBSSL #include <atomic> #include <fstream> #include <cstring> #include <mutex> #include <pthread.h> #include <openssl/conf.h> #include <openssl/err.h> #include <openssl/ocsp.h> #include <openssl/rand.h> #include <openssl/ssl.h> #ifdef HAVE_LIBSODIUM #include <s...
C++
pdns/libssl.cc
rgacogne/pdns
gpl-2.0
25,123
801
codeparrot/github-code
0b4b18fded566a60c2c34f1a31bed12ee1a2d9e1c6296cc15e6f7725281cbc10
#include<stdio.h> #include<stdlib.h> #define N 4 #define M 3 struct student{ long num; char str[15]; float score[M]; float avg; }stu[N],newstu[N]; #define Len sizeof(struct student) void main(){ char *filename = "../13.8.txt"; char *file = "../13.9.txt"; FILE *fp; struct student sp,stu_new; int i,j,k; float ...
C
tan/13.9.c
lixiangbest/algorithm
gpl-2.0
1,649
61
codeparrot/github-code
7b142275b60bc586fce8770455f5856c8479572ff352c08b5abe9315e8313de8
<?php /* Language: English - en (US) Author: www.activehelper.com Homepage: http://www.activehelper.com Live Help Version: 2.1+ translation in Greek language by www.citiview.gr Language codes and locale directories confirm to the ISO639 two letter standard. Please consult the Live Help Language Setting options ...
PHP
sites/all/modules/contrib/activehelper_livehelp/server/i18n/gr/lang_guest_gr.php
ihooper/bluespan
gpl-2.0
5,730
104
codeparrot/github-code
a44b5df5db28ac6450ca0f672b5b55a7ebbb18437c994c931f254ccdf5e0e2a7
/******************************************************************************* 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 y...
C
board/marvell/uboot_oss/mvOsAsm.h
xobs/u-boot-novena-spl
gpl-2.0
5,905
146
codeparrot/github-code
95b201421ecb4557497cb6b99e582188f36c25490104d2c9032bc6bf430a1f75
/* * Copyright (C) 2008-2013 Sakari Bergen <sakari.bergen@beatwaves.net> * Copyright (C) 2008-2016 Paul Davis <paul@linuxaudiosystems.com> * Copyright (C) 2009-2011 Carl Hetherington <carl@carlh.net> * Copyright (C) 2009-2012 David Robillard <d@drobilla.net> * Copyright (C) 2013-2015 Colin Fletcher <colin.m.fletch...
C++
gtk2_ardour/export_channel_selector.cc
chaot4/ardour
gpl-2.0
24,630
796
codeparrot/github-code
f6fdb95ce7df760959b84628173020e4810dc53a9cfd23b40847a67051a5b61b
<?php /** * Hello Model for Hello World Component * * @package Joomla.Tutorials * @subpackage Components * @link http://docs.joomla.org/Developing_a_Model-View-Controller_Component_-_Part_4 * @license GNU/GPL */ // No direct access defined( '_JEXEC' ) or die( 'Restricted access' ); jimport('j...
PHP
administrator/components/com_models/models/model.php
lucashappy/ibmodels
gpl-2.0
4,887
222
codeparrot/github-code
b9464885d96679d37cad4e337e1efe25079002689150c6770b2ddaca10e1a1ad
/* * Copyright (c) 2010 Mark Liversedge (liversedge@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 version. ...
C++
src/RideNavigator.cpp
iwasaki-FTP225/gc
gpl-2.0
50,179
1,363
codeparrot/github-code
a1e74e3f97db09b649bd395ab17a79b12e9c6d98a9ae12bc19af13b979e0b73d
/* * Copyright (C) 2005-2017 Team Kodi * http://kodi.tv * * 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. * * T...
C++
xbmc/addons/interfaces/General.cpp
cedricde/xbmc
gpl-2.0
15,299
465
codeparrot/github-code
4bc3274090d40b4b696164677838661d26f2f99109079dfd277e39906b63321e
/* * Copyright (C) 2002-2011 The DOSBox 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 * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This p...
C++
src/debug/debug.cpp
b-zaar/boxon
gpl-2.0
76,186
2,494
codeparrot/github-code
215c88b5fa1ba1685a818907cf3f19d02f9df97a44871d8aecf047b6f4bbe0df
/** * @file * @brief header file UI callbacks for missions. */ /* Copyright (C) 2002-2015 UFO: Alien Invasion. 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 ...
C
src/client/cgame/campaign/cp_mission_callbacks.h
mgerhardy/ufoai
gpl-2.0
970
33
codeparrot/github-code
a6d4c7638e1e45c822651d1dc7c068ed093ef635131f94ab13657494a2bebdc3
<?php namespace Autocondat\ProfileBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\C...
PHP
src/Autocondat/ProfileBundle/Controller/PermisosRoleController.php
erparom/autocondat_ecr
gpl-2.0
6,996
248
codeparrot/github-code
2d8301e177974cd6ca75fd8d3ee5343bb3d24e46ee828c80b9c031b89151efa4
/* * Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ...
C++
src/game/BattleGroundHandler.cpp
Erotix8210/WoWBaseEmu
gpl-2.0
34,375
859
codeparrot/github-code
e6657df279ae978f2a4c8c3212c37e507d6047b94e4d630d21519a35c83aa569
package com.androidgames.framework.gl; import javax.microedition.khronos.opengles.GL10; import android.util.FloatMath; import com.androidgames.framework.impl.GLGraphics; import com.androidgames.framework.math.Vector2; public class SpriteBatcher { final float[] verticesBuffer; int bufferIndex; fi...
Java
src/com/androidgames/framework/gl/SpriteBatcher.java
ncuongce/SleepyTrout
gpl-2.0
4,487
129
codeparrot/github-code
d07e9ff556315ec7bc96a27bd4d1245c6a944f8fd05696ef337a934cdff36e9d
/* * This is the source code of Telegram for Android v. 5.x.x. * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013-2018. */ package org.telegram.ui.Adapters; import android.content.Context; import andr...
Java
TMessagesProj/src/main/java/org/telegram/ui/Adapters/DialogsSearchAdapter.java
tkpb/Telegram
gpl-2.0
53,484
1,185
codeparrot/github-code
ed1c082034d14364ea88b682768bca387eb89860bc1be92d30be7192c155f7b8
<?php /** * Comment function */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! function_exists( 'wolf_comment' ) ) { /** * Basic Comments function * * @param object $comment * @param array $args * @param int $depth * @return void */ function wolf_comment( $co...
PHP
wp-content/themes/decibel/includes/comments.php
estrategasdigitales/dictobas
gpl-2.0
2,161
61
codeparrot/github-code
2e35e3d526f85f231edd186a522c8156afe99e455af5ce15e3ad8c5c10d4c169
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
C++
src/compute_group_group.cpp
aurix/lammps-induced-dipole-polarization-pair-style
gpl-2.0
12,488
431
codeparrot/github-code
df589d02adcd8db9882fe1636f29ee7cd90157c46387224c00e4cd2b1fe5b890
/* Icecast * * This program is distributed under the GNU General Public License, version 2. * A copy of this license is included with this source. * * Copyright 2000-2004, Jack Moffitt <jack@xiph.org, * Michael Smith <msmith@xiph.org>, * oddsock <oddsock@xiph.org>, * ...
C
src/logging.c
BogusCurry/Icecast-Server
gpl-2.0
7,021
253
codeparrot/github-code
64f30d3442e675118d57ab383d4d1e67b7d240892dc086df4acf2e09935cb9bc
/* $Id: ps_item_data.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $ * * Lasso - A free implementation of the Liberty Alliance specifications. * * Copyright (C) 2004-2007 Entr'ouvert * http://lasso.entrouvert.org * * Authors: See AUTHORS file in top-level directory. * * This program is free software; you can redistr...
C
lasso/xml/id-wsf-2.0/ps_item_data.c
adieu/lasso
gpl-2.0
3,161
112
codeparrot/github-code
52a2b333a77647319dc916bf1583f8ef99d13a8d329577b43e6b61781f88e346
(function($){ "use strict"; // wpb_el_type_position $('.wpb-element-edit-modal .ewf-position-box div').click(function(){ // e.preventDefault(); $(this).closest('.ewf-position-box').find('div').removeClass('active'); $(this).addClass('active'); console.log('execute para...
JavaScript
wp-content/themes/sapphire-wp/framework/composer/params/ewf-param-position/ewf-param-position.js
narendra-addweb/SwitchedOn
gpl-2.0
1,050
35
codeparrot/github-code
c70ca3c8c1f04a58ba2cf4548d1a83350df4c957c162de9a4119af6f1a7c4b2b
/////////////////////////////////////////////////////////////////////////////// // // wxFormBuilder - A Visual Dialog Editor for wxWidgets. // Copyright (C) 2005 José Antonio Hurtado // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as ...
C
test/event_GUI.h
wxFormBuilder/wxFormBuilder
gpl-2.0
8,786
243
codeparrot/github-code
bfd742c22b8a168d342ec6c0a6fc059d8951b03c2fdcd3ab3ef45e45b882de4a
/* packet-olsr.c * Routines for OLSR (IPv4 & IPv6 compatible) RFC parsing * Compatible with RFC-compliant OLSR implementations such as * NRLOLSRD (http://pf.itd.nrl.navy.mil/projects/olsr/). * Parser created by Aaron Woo <woo@itd.nrl.navy.mil> of * the Naval Research Laboratory * Currently maintained by Jeff West...
C
wireshark/epan/dissectors/packet-olsr.c
P1sec/LTE_monitor_c2xx
gpl-2.0
33,941
989
codeparrot/github-code
83be980d2a3195d9da1c1b1a8da9d40630dbee1f1951f3d3255e710c237f4f01
/* * Copyright (C) 2013-2015 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/busfreq-imx6.h> #include <linux/clk.h> #include <...
C
drivers/cpufreq/cpufreq-imx6.c
RealDigitalMediaAndroid/linux-imx6
gpl-2.0
13,781
527
codeparrot/github-code
5fb2debf3aa4b704091a418574c615b13911ee8f36f1006993482cb028d618a7
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
C++
mediatek/custom/lenovo89_tb_twn_a_jb2/hal/imgsensor/src/cfg_setting_imgsensor.cpp
lenovo-a3-dev/kernel_lenovo_a3
gpl-2.0
6,495
184
codeparrot/github-code
b759513b4d5eac7e86b7dfaf97c23056f816b2ae44881a837798cc340bdb437f
// Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // // $Id$ // // Copyright (C) 1993-1996 by id Software, Inc. // Copyright (C) 2006-2013 by The Odamex Team. // // This program is free software; you can redistribute it and/or // modify it under th...
C
common/m_random.h
AlexMax/odamex-alexmax
gpl-2.0
3,118
125
codeparrot/github-code
42bff9439bbc779f767261fc1065a3a46d6be88b3047de0486462814e48cd8c7
import React, { useContext, useEffect, Fragment } from "react" import { Typography } from "@material-ui/core" import EventsContext from "../context/EventsContext" import TitleContext from "../context/TitleContext" import Box from "@material-ui/core/Box" import Button from "@material-ui/core/Button" import FacebookIcon ...
JavaScript
src/components/Sentence.js
enricobattocchi/closerintime
gpl-2.0
6,042
170
codeparrot/github-code
7eb5beb2ead96868a4e5be54d9f2f3b20b864a4fe4a36a17513a5c24335c57bb
/* * This file is part of gshutdown. * * Copyright (c) GShutdown Team <gshutdown@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 y...
C
src/misc.c
Asher256/gshutdown
gpl-2.0
6,180
243
codeparrot/github-code
bdf40a749097e77c4bd1a1ed1d47727e86ab3ea1797ad85a7d1b6a2ea023263c
package controler; import java.awt.Color; import java.awt.event.ActionEvent; import java.util.Observable; import java.util.Observer; import javax.swing.AbstractAction; import javax.swing.BorderFactory; import javax.swing.ImageIcon; import javax.swing.JButton; // INTERNE import model.Model; import ressource...
Java
controler/ActionOutilTrait.java
caronpe/dessinvectoriel
gpl-2.0
1,800
67
codeparrot/github-code
67e2720d0e9b1389f5d2c730f9935fb361aae1b400f672bf7e9244cf7088e2df
/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009 Mark Aylett <mark.aylett@gmail.com> This file is part of Aug written by Mark Aylett. Aug is released under the GPL with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. Aug is free software; you can redistribute it and/or...
C
src/c/augctx/lock.h
marayl/aug
gpl-2.0
1,440
59
codeparrot/github-code
7d9077156ecf6200932d0105d9eb818d020d741f157c3cc2abaf7832a2be2e4b
/* LibTomCrypt, modular cryptographic library -- Tom St Denis * * LibTomCrypt is a library that provides various cryptographic * algorithms in a highly modular and flexible manner. * * The library is free for all purposes without any express * guarantee it works. */ #include "tomcrypt_private.h" #ifdef LTC_PBES...
C
dep/tomlib/Crypt/src/misc/pbes/pbes2.c
mangosthree/server
gpl-2.0
7,865
209
codeparrot/github-code
b0640a3dbcf66634832aef249a3eb2ea4a385688a3be4e423035ce98dbfe37fd
/** * All Tax meta class * * JS used for the custom fields and other form items. * * Copyright 2012 Ohad Raz (admin@bainternet.info) * @since 1.0 */ var $ =jQuery.noConflict(); function update_repeater_fields(){ /** * Datepicker Field. * * @since 1.0 */ $('.at-date').each( function() { ...
JavaScript
wp-content/themes/churchope/backend/js/tax-meta-clss.js
FeGHeidelberg/wp_feg-heidelberg_de
gpl-2.0
8,497
364
codeparrot/github-code
216bd5377a7a0dec48d36151c2719d36801ce953b57815273d3426e01c1d266c
/* This file is part of Jedi Knight 2. Jedi Knight 2 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. Jedi Knight 2 is distributed in the hope that it will be useful, but WITHOUT ANY...
C++
codeJK2/game/g_items.cpp
BruceJohnJennerLawso/OtherJK
gpl-2.0
31,183
1,231
codeparrot/github-code
7a8e433cff2cd99217a6a158d4e5dd5626911c3f89e03109d5ba22ad8c531394
<?php defined('ZOTOP') OR die('No direct access allowed.'); /** * ipbanned * * @package system * @author zotop team * @copyright (c)2009-2011 zotop team * @license http://zotop.com/license.html */ class system_model_ipbanned extends model { protected $pk = 'ip'; protected $table = 'ipbanned'; /** ...
PHP
zotop/apps/system/models/ipbanned.php
zotopteam/zotop
gpl-2.0
1,939
92
codeparrot/github-code
00673c35e7610589e126872ba1c93bd0353ac6cb03a3da39d401b1713a00625c
/** * The Forgotten Server - a free and open-source MMORPG server emulator * Copyright (C) 2016 Mark Samman <mark.samman@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; eithe...
C
src/events.h
babymannen/theforgottenserver-7.4
gpl-2.0
3,226
88
codeparrot/github-code
a6bcbe90ffacf36a111e234361db333651ef7f54bd4cc5a399cbaf8bcc79c1c2
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright held by original author \\/ M anipulation | ------------------...
C++
src/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C
Unofficial-Extend-Project-Mirror/openfoam-extend-Core-OpenFOAM-1.5-dev
gpl-2.0
91,729
3,327
codeparrot/github-code
c144e3cb18540ed27b0b3ef8326dcab530e2d60bf6558ac62bf442f0032a5f97
<?php /** * ChronoCMS version 1.0 * Copyright (c) 2012 ChronoCMS.com, All rights reserved. * Author: (ChronoCMS.com Team) * license: Please read LICENSE.txt * Visit http://www.ChronoCMS.com for regular updates and information. **/ namespace GCore\Libs; defined('_JEXEC') or die('Restricted access'); defined("GCORE_SITE"...
PHP
administrator/components/com_chronocontact/libs/validate.php
zanderkyle/zandergraphics
gpl-2.0
2,052
86
codeparrot/github-code
568bc6ffc13adc72d67b614d3c30cb7d8e9cb606b8db3aafd41e1852fe548c87
/******************************************************************************* Copyright 2010 Whole Foods Co-op This file is part of IT CORE. IT CORE 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 Fo...
C#
pos/is4c-nf/scale-drivers/drivers/NewMagellan/SPH_Magellan_Locking.cs
GeorgeStreetCoop/CORE-POS
gpl-2.0
7,069
231
codeparrot/github-code
bda3f07eb541e6f92a24946289c8665ad724fa12387f4f34e475210ee0929258
/* Disassembly display. Copyright (C) 1998-2017 Free Software Foundation, Inc. Contributed by Hewlett-Packard Company. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softwa...
C
gdb/tui/tui-disasm.c
ganboing/binutils-gdb
gpl-2.0
11,696
400
codeparrot/github-code
7e7aa2290cea1b06a7da8fe312b6a9170d9c7435e448c1a638a4ffc6984ceda5
/* JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine Copyright (C) 2012-2013 Ian Preston 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 progra...
Java
src/main/java/com/github/smeny/jpc/emulator/execution/opcodes/pm/fxch_ST0_ST2.java
smeny/JPC
gpl-2.0
1,856
62
codeparrot/github-code
9c0461105a8bc09af24601c373c6ba8877cdfe206fbb78c091f7b1b5043d0219
/** * Copyright (c) 2009--2010 Red Hat, Inc. * * This software is licensed to you under the GNU General Public License, * version 2 (GPLv2). There is NO WARRANTY for this software, express or * implied, including the implied warranties of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. You should have rece...
Java
java/code/src/com/redhat/rhn/frontend/action/systems/monitoring/ProbesListSetupAction.java
colloquium/spacewalk
gpl-2.0
2,226
73
codeparrot/github-code
d8f1b15909c77317cd3c138cfb7492767f6945a9d20292899a0783e4e25b0c49
package com.yh.hr.res.pt.queryhelper; import com.yh.hr.res.pt.dto.PtReportHistoryDTO; import com.yh.platform.core.dao.DaoUtil; import com.yh.platform.core.exception.ServiceException; import com.yh.platform.core.util.BeanHelper; import org.apache.commons.collections.CollectionUtils; import java.util.List; /** * 获取报表...
Java
freelance-hr-res/src/java/com/yh/hr/res/pt/queryhelper/PtReportHistoryQueryHelper.java
meijmOrg/Repo-test
gpl-2.0
999
35
codeparrot/github-code
091f5402dcd3e5034ef03af4b5baa24376eb64931be31d596db0131ca06f25be
/* * Copyright (C) 2013 Andreas Steffen * HSR Hochschule fuer Technik Rapperswil * * 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) a...
C
src/libimcv/imv/imv_policy_manager.c
Ibrahimous/strongswan
gpl-2.0
8,684
365
codeparrot/github-code
a531a2e30408de72e42f5511e8cc75033d67efd7730e5173e60f5ccb163359a1
// // Copyright (c) 2013 Benjamin Kaufmann // // This file is part of Clasp. See http://www.cs.uni-potsdam.de/clasp/ // // Clasp 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 Licens...
C++
libclasp/src/logic_program.cpp
utexas-bwi/clasp
gpl-2.0
50,249
1,435
codeparrot/github-code
28aedb8492b32e074795b5b0a59083fa75c8674c13ab3beff3439af9bfe1c88e
/* Cabal - Legacy Game Implementations * * Cabal is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of t...
C++
backends/graphics/opengl/opengl-graphics.cpp
project-cabal/cabal
gpl-2.0
39,193
1,230
codeparrot/github-code
faf5f42cfc282792c680a3fbaf2f9656d1dabcb41fd824482ce700630efcd96f
/* Google HTML5 slides template Authors: Luke Mahé (code) Marcin Wichary (code and design) Dominic Mazzoni (browser compatibility) Charles Chen (ChromeVox support) URL: http://code.google.com/p/html5slides/ */ var PERMANENT_URL_PREFIX = 'https://magni.me/presentation-pugbo-php...
JavaScript
js/slides.js
ilbonzo/presentation-pugbo-php54
gpl-2.0
14,821
635
codeparrot/github-code
c5ce589d4402e1682b674718ee683a58e4aea96a863a79c86eff9cae4515227b
/* * Copyright (C) 2009 Swedish Institute of Computer Science (SICS) Copyright (C) * 2009 Royal Institute of Technology (KTH) * * KompicsToolbox is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either ver...
Java
hops/core/src/main/java/se/sics/nstream/hops/kafka/avro/AvroParser.java
Decentrify/GVoD
gpl-2.0
4,973
131
codeparrot/github-code
17f1aa9411bd75de0e35f873889092a5587b8b9b79bbe4056ea14a3af919ec68
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title></title> <link rel="stylesheet" media="screen" type="text/css" href="./style.css" /> <link rel="stylesheet" media="screen" type="text/css" href="./design.css" /> <link ...
HTML
docs/wiki/geda-pcb_funding_sow.html
ee-lco/geda-gaf
gpl-2.0
46,096
920
codeparrot/github-code
1a2dcb5e6444417ca98ba09a0f75f842e2d58f977683df1ef93c9f54e64bae8a
/* * Copyright (C) 2002-2012 by Dave J. Andruczyk <djandruczyk at yahoo dot com> * * Linux Megasquirt tuning software * * * This software comes under the GPL (GNU Public License) * You may freely copy,distribute etc. this as long as the source code * is made available for FREE. * * No warranty is made or i...
C
src/personalities.c
djandruczyk/MegaTunix
gpl-2.0
11,460
397
codeparrot/github-code
d410ee9b25211429b645f74aa965f50bfd64b82d2097bad1ed3c21c6360cfcc6
package com.kartoflane.superluminal2.ui.sidebar.data; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt...
Java
src/java/com/kartoflane/superluminal2/ui/sidebar/data/ImageDataComposite.java
kartoFlane/superluminal2
gpl-2.0
3,552
106
codeparrot/github-code
893956563437f4af52ad40006c502c5448f333e1f92ac5d132f9c26bdb9f4ac2
/* * netfilter module for userspace bridged Ethernet frames logging daemons * * Authors: * Bart De Schuymer <bdschuym@pandora.be> * Harald Welte <laforge@netfilter.org> * * November, 2004 * * Based on ipt_ULOG.c, which is * (C) 2000-2002 by Harald Welte <laforge@netfilter.org> * * This module a...
C
net/bridge/netfilter/ebt_ulog.c
Jackeagle/android_kernel_sony_c2305
gpl-2.0
9,290
341
codeparrot/github-code
b6bc6651e1b0889bbebcff2547b6ac4aa7ed95fb780c09cf79c02e38e0d681eb
/* * Copyright (C) 2011 University of Szeged * Copyright (C) 2011 Gabor Loki <loki@webkit.org> * 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 re...
C++
modules/web/src/main/native/Source/WTF/wtf/ParallelJobsGeneric.cpp
teamfx/openjfx-8u-dev-rt
gpl-2.0
4,438
138
codeparrot/github-code
6df5c509406bfca5bfcbfc0efc1fc9d12cd4630c98e658573017164a7c1ff22e
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* NetworkManager -- Network link manager * * 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 th...
C
src/platform/wifi/wifi-utils-private.h
sujithpshankar/nm
gpl-2.0
2,472
78
codeparrot/github-code
839b74ad87ebf20a001a01983e8db1c2b400c11761ae951664ed42bb047ae906
require 'rubygems' require 'oauth' module YammerAPI class Client def initialize(app_key, app_secret) @consumer = OAuth::Consumer.new(app_key, app_secret, {:site => "https://www.yammer.com"} ) end def user_authenticated? ...
Ruby
lib/client.rb
sitharus/kumara
gpl-2.0
915
43
codeparrot/github-code
6467fe4f500aa5099b0b44ff47b9cf713d0dc8f7008d1b5c04083358541ba5e3
/* * vpx3220a, vpx3216b & vpx3214c video decoder driver version 0.0.1 * * Copyright (C) 2001 Laurent Pinchart <lpinchart@freegates.be> * * 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; ei...
C
drivers/media/i2c/vpx3220.c
mbadarkhe/davinci-next
gpl-2.0
15,309
591
codeparrot/github-code
22e0096a03638749dd675a7d0c7da7c4249644b0c77d9a92ef6eabf93bf2641b
// Copyright 2012,2013 Vaughn Vernon // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
Java
IDDD_Samples-master/agilepm/src/test/java/com/saasovation/agilepm/application/product/ProductApplicationServiceTest.java
LeonardCohen/coding
gpl-2.0
8,537
212
codeparrot/github-code
6b40a03ff5d51cbfeb16e2db52f57f0b27bccc02ef30e5982307313dace4922d
package com.atux.desktop.promocion; import com.atux.bean.precios.Local; import com.atux.bean.precios.LocalFlt; import com.atux.bean.promocion.Promocion; import com.atux.bean.promocion.PromocionDetalle; import com.atux.bean.promocion.PromocionLocal; import com.atux.config.APDD; import com.atux.desktop.comun.pic...
Java
atux-desktop/src/main/java/com/atux/desktop/promocion/PromocionPst.java
AlanGuerraQuispe/SisAtuxPerfumeria
gpl-2.0
7,829
211
codeparrot/github-code
286873f6f50a419b566d0a64496e1ab9ebb77020bef9c9149c5c409de16da3b9
/* * Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.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, or (at your * option) any later ve...
C++
src/server/shared/Database/QueryHolder.cpp
Spade17/4.3.4-Core
gpl-2.0
5,905
205
codeparrot/github-code
f8a5bc48ef39e2151caa32aef1c4fbb76c41d6540c28862641d76b6cda8cf5b7
/* * linux/arch/arm/plat-s5pc1xx/s5pc1xx-cpufreq.c * * CPU frequency scaling for S5PC1XX * * Copyright (C) 2008 Samsung Electronics * * Based on cpu-sa1110.c, Copyright (C) 2001 Russell King * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pu...
C
arch/arm/plat-s5pc1xx/s5pc1xx-cpufreq.c
ZhizhouTian/s3c-linux
gpl-2.0
11,879
546
codeparrot/github-code
c079a78cde080710d276257384a76d274badb50793020df6ad706b0cc5235868
package com.example.murat.gezi_yorum.Fragments; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import an...
Java
app/src/main/java/com/example/murat/gezi_yorum/Fragments/Notifications.java
bugdetector/Gezi-Yorum
gpl-2.0
5,164
128
codeparrot/github-code
41f48a809551542dafabefb982167a32dbf8691bf03483334bb22da94a837b1f
ifndef PYTHON PYTHON=$(shell which python3 2>/dev/null || which python2 2>/dev/null || which python 2>/dev/null) endif VERSION=$(shell $(PYTHON) setup.py --version 2>/dev/null) PYTHON_DEVELOP_ARGS=$(shell if ($(PYTHON) setup.py develop --help 2>/dev/null | grep -q '\-\-user'); then echo "--user"; else echo ""; fi) DEST...
Makefile
Makefile
chloerh/avocado-vt
gpl-2.0
2,910
71
codeparrot/github-code
19d58cf00adbd8a76116cb5282864ff33d22e3ee5118a91482bd91a9051214f0
package ee.esutoniagodesu.domain.jmet.table; import org.hibernate.annotations.Immutable; import javax.persistence.*; import java.io.Serializable; @Entity @Immutable @Table(name = "kwginf", schema = "jmet") public final class Kwginf implements Serializable { private static final long serialVersionUID = 42470602...
Java
src/main/java/ee/esutoniagodesu/domain/jmet/table/Kwginf.java
esutoniagodesu/egd-web
gpl-2.0
1,728
69
codeparrot/github-code
06f87b833ee083abe0335b12f810014b7c9f27d51c5639cd9510f8e8662e8aec
/* * Copyright (c) 2001, 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 ...
C++
src/share/vm/gc/shared/collectedHeap.hpp
FauxFaux/jdk9-hotspot
gpl-2.0
25,700
651
codeparrot/github-code
073ba94ce7aa954ea8197318cf8aac02904a25cf9ebaa880bf35ffe708b20346
<?php if ( ! defined( 'ABSPATH' ) ) exit; /** * Unfortunately WordPress supports PHP 5.2 even though * everyone should now be using at least PHP 5.3. * * To be compatible with PHP 5.2 below you will find functions * that are required in order to make this plugin work correctly. */ add_action( 'admin_notices', ...
PHP
wp-content/plugins/wp-job-manager-field-editor/includes/compatibility.php
Zduhamel/PT-JOB-FUSION
gpl-2.0
4,925
148
codeparrot/github-code
7091ed61d4f7e58d26879155fc3439ad77d58c6b9fc2bb5a5821e977d730571c
<?php /** * @package Search - ZOO * @author YOOtheme http://www.yootheme.com * @copyright Copyright (C) YOOtheme GmbH * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only */ // no direct access defined('_JEXEC') or die('Restricted access'); jimport('joomla.plugin.plugin'); class plgSearchZo...
PHP
plugins/search/zoosearchcal/zoosearchcal.php
knigherrant/decopatio
gpl-2.0
7,125
234
codeparrot/github-code
64d72bd63ae176f9c47f129af74053e4e7f2e381c356dc2d368114284af93999
#!/bin/bash # This is not necessarily the top-level run.sh as it is in other directories. see README.txt first. tri5_only=false sgmm5_only=false denlats_only=false data_only=false morfessor=true tag_percentage=0.1 [ ! -f ./lang.conf ] && echo 'Language configuration does not exist! Use the configurations in conf/la...
Shell
kaldi/egs/babel/s5d/run-1-main-unicode.sh
michellemorales/OpenMM
gpl-2.0
14,990
387
codeparrot/github-code
ec2991483e076b115adc245f4629424eca5700c9c90f0c96c9df243f0cd5a851
#include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <string.h> #include <sys/types.h> #include <errno.h> #include <fcntl.h> #include <net/ethernet.h> #ifdef _MINGW_ #include <winsock2.h> #else #include <fcntl.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/ip.h> #defi...
C
uware/src/sundry/app/l2c/l2c_tcp.c
nanshusu/nanshusu.github.cn
gpl-2.0
8,481
312
codeparrot/github-code
dc5fdd4bda8def4177cb7c0e6e4a30831785117d85a625b2f0ddd08b8fc4ae4d
/* *@BEGIN LICENSE * * PSI4: an ab initio quantum chemistry software package * * 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 ...
C++
src/bin/cchbar/Wabei_BBBB_UHF.cc
spring01/libPSI
gpl-2.0
12,328
308
codeparrot/github-code