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
4a98a3091444e6dbec52aba767a4a43c582ab3ca264406e251a74811d9f7df75
package de.metas.banking.payment.impl; /* * #%L * de.metas.banking.base * %% * Copyright (C) 2015 metas GmbH * %% * 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...
Java
de.metas.banking/de.metas.banking.base/src/main/java/de/metas/banking/payment/impl/PaymentStringBL.java
klst-com/metasfresh
gpl-2.0
2,929
89
codeparrot/github-code
f2629a60f14a1e64d28b521fa2b31059e7a519bf4cfea46ee02b2d88ffc94b5e
// Test for method java.lang.IllegalArgumentException.getClass().getPackage() // Copyright (C) 2012 Pavel Tisnovsky <ptisnovs@redhat.com> // This file is part of Mauve. // Mauve 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...
Java
src/main/java/gnu/testlet/java/lang/IllegalArgumentException/classInfo/getPackage.java
niloc132/mauve-gwt
gpl-2.0
1,676
55
codeparrot/github-code
e7010e807cffe262cbf1f302f8efe472510247ef928ac478898703efa30754ca
<?php /** * @version CVS: 1.0.0 * @package Com_Mokara * @author Eddy Nguyen <email@giahuy10.com> * @copyright 2017 Mokara * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/');...
PHP
administrator/components/com_mokara/views/orders/tmpl/default.php
giahuy10/mokarafashion
gpl-2.0
9,725
285
codeparrot/github-code
91ce499825970e6d0bdef069cf0b6630df7a9d781c0d54d5bbddfd6a10bf3e30
/* TA3D, a remake of Total Annihilation Copyright (C) 2005 Roland BROCHARD 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 versio...
C++
src/ta3d/src/misc/osinfo.cpp
joaocc/ta3d-git
gpl-2.0
3,544
158
codeparrot/github-code
48afdeb2d1640ca58ef8d05591fa800be2989d977b4b1ff3567f8ca726f19702
<?php namespace GFPDF\Helper\Fields; use Exception; use GF_Field_List; use GFPDF\Helper\Helper_Abstract_Fields; use GFPDF\Helper\Helper_Abstract_Form; use GFPDF\Helper\Helper_Misc; /** * @package Gravity PDF * @copyright Copyright (c) 2021, Blue Liquid Designs * @license http://opensource.org/licenses/g...
PHP
src/Helper/Fields/Field_List.php
GravityPDF/gravity-forms-pdf-extended
gpl-2.0
4,728
224
codeparrot/github-code
8390bde099731119221919b06994c73209ff641c14ecbbc4ecf614c5bf5cfbbb
/* * Copyright (C) 2011 mooege project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is di...
C#
src/Mooege/Core/Common/Toons/ToonManager.cs
God601/D3Mighty
gpl-2.0
3,482
106
codeparrot/github-code
f837affbb7f9331e6464d371ef4451950d6a2b5e7a14fcf421887258bc0048b7
#!/usr/bin/env python # coding: UTF-8 # pt-snap-statements # # Copyright(c) 2015-2018 Uptime Technologies, LLC. import getopt import os import sys import PsqlWrapper import log class SnapStatements: def build_where_clause(self, where_clause, cond): if where_clause is None: where_clause = " ...
Python
postgres_toolkit/pt_snap_statements.py
uptimejp/postgres-toolkit
gpl-2.0
8,892
291
codeparrot/github-code
9e73aa74306ff6a123c919de461673f9255c5bc94e4a83b50c6019bec878ede9
<?php namespace Drupal\lightning_preview; use Drupal\Core\Entity\EntityInterface; use Drupal\workspace\WorkspaceListBuilder as BaseListBuilder; /** * Builds the administrator-facing list of workspaces. */ class WorkspaceListBuilder extends BaseListBuilder { /** * {@inheritdoc} */ public function buildHe...
PHP
modules/lightning_features/lightning_preview/src/WorkspaceListBuilder.php
raidho93/buildrace
gpl-2.0
1,161
49
codeparrot/github-code
94b3d5523b9f48c48a70bd23a4356336aa293095a8aa363e1e4cfda6ec2cf983
// -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 8; -*- /* This file is part of the KDE project Copyright (C) Andrew Stanley-Jones 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 Softwar...
C++
klipper/main.cpp
serghei/kde3-kdebase
gpl-2.0
2,010
69
codeparrot/github-code
35ca009bfd658fbbc14f0e01ea25adcb8532c8c1e8f712165b97fc8aba45457f
/* * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
modules/controls/src/main/java/javafx/scene/control/Control.java
maiklos-mirrors/jfx78
gpl-2.0
39,116
902
codeparrot/github-code
e681472eb1459436d121ef3383727590e6c2a2de409d47810ae79b845606c2af
// author гном убийца // url http://www.ganjawars.ru/info.php?id=433067 (function(panel, $) { var forumsDefine = { "main_forums" : {"count": 16, "header": "Основные форумы"}, "trade_forums": {"count": 12, "header": "Торговля"}, "sud_forums" : {"count": 4, "header": "Суд"}, "tech_forums" : {"count": 5,...
JavaScript
forum/forum_hide.js
mangust404/gwpanel2
gpl-2.0
2,077
70
codeparrot/github-code
5abef7375c89287cef73e21e766d18829ef0fe7c94e3cf6f02ca5e62b209e68c
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> ...
HTML
bill/confirm.html
jwam/bill
gpl-2.0
9,053
210
codeparrot/github-code
ebfd44ff5023ed96186ba3971a404d5e23c3325a06e637bc0546fd348abe2d92
<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?> <div id="tmm_shortcode_template" class="tmm_shortcode_template clearfix"> <div class="fullwidth"> <h4 class="label"><?php _e('Items', 'tmm_shortcodes'); ?></h4> <a class="button button-secondary js_add_accordion_item" href="#"><?php _e('Add item...
PHP
wp-content/plugins/tmm_shortcodes/views/default/popups/clients.php
bourroush/kaycom
gpl-2.0
3,237
106
codeparrot/github-code
fe546f7a25b1a58ed1e007e998c7931dce2257c6bc0f23617112d5758692eadf
/*********************************************************************************** Snes9x - Portable Super Nintendo Entertainment System (TM) emulator. (c) Copyright 1996 - 2002 Gary Henderson (gary.henderson@ntlworld.com), Jerremy Koot (jkoot@snes9x.com) (c) Copyright 2002 - 200...
C++
src/snsf9x/snes9x/sa1.cpp
loveemu/snsfopt
gpl-2.0
28,866
1,122
codeparrot/github-code
990171b121989a5a5b079ea15737989217a163b62d67a374b0cda276a9a48d42
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C++
engines/sludge/event.cpp
yinsimei/scummvm
gpl-2.0
9,362
359
codeparrot/github-code
7e2abe983cded73ee9953f5ccc15d5b66308f40eae05a57c54a95a3ad8891207
/* isl-cpp: C++ bindings to the ISL (Integer Set Library) Copyright (C) 2014 Jakob Leben <jakob.leben@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 ...
C++
constraint.hpp
jleben/isl-cpp
gpl-2.0
4,626
185
codeparrot/github-code
7023f03cf43aacf76d30af7e19c69e0885fed32e9aaf23d87e8ba14933ba93e0
/* via-rhine.c: A Linux Ethernet device driver for VIA Rhine family chips. */ #define DRV_NAME "via-rhine" #define DRV_VERSION "1.4.3" #define DRV_RELDATE "2007-03-06" static int debug = 1; /* 1 normal messages, 0 quiet .. 7 verbose. */ static int max_interrupt_work = 20; #if defined(__alpha__) || defined(__arm__...
C
kernel/drivers/net/via-rhine.c
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
50,853
1,888
codeparrot/github-code
e1b6b5480b55fc285fe3473e13c26a11ce85ca7e8c4a6e052536556e25f29a10
/* Copyright (c) 2013, 2014 Montel Laurent <montel@kde.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but ...
C
mailimporter/filter_mailmangzip.h
kolab-groupware/kdepim
gpl-2.0
1,050
36
codeparrot/github-code
efcf39808413b3d5ad6f7b0d008df405c0c027a357795aaf466dcf911ed9d207
/* drivers/video/backlight/rk29_backlight.c * * Copyright (C) 2009-2011 Rockchip Corporation. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This prog...
C
drivers/video/backlight/rk29_backlight.c
kurainooni/rk30-kernel
gpl-2.0
10,205
392
codeparrot/github-code
c1bf757a6430c14bbd2f35971ae23347b2d1cd00ec759a010c43c9027573ca67
/** * * Support classes useful for encoding and supporting the various RSA PKCS documents. */ package org.bouncycastle.asn1.pkcs; public class RSAESOAEPparams extends org.bouncycastle.asn1.ASN1Object { public static final org.bouncycastle.asn1.x509.AlgorithmIdentifier DEFAULT_HASH_ALGORITHM; public s...
Java
lib/impl/stubs/org/bouncycastle/asn1/pkcs/RSAESOAEPparams.java
martijn00/Zipato
gpl-2.0
2,311
69
codeparrot/github-code
d71ac394a41c95b53093c60ad44a138a2c4ed828b438e0022257ada83f1dcb3b
/* * Copyright (C) 2016-2018, Nils Asmussen <nils@os.inf.tu-dresden.de> * Economic rights: Technische Universitaet Dresden (Germany) * * This file is part of M3 (Microkernel-based SysteM for Heterogeneous Manycores). * * M3 is free software: you can redistribute it and/or modify * it under the terms of the GNU G...
C
src/apps/kernel/DTU.h
TUD-OS/M3
gpl-2.0
3,877
119
codeparrot/github-code
4c6e941440749eb3aa51eca7ccd90cd12b9e4182ada464a2dfd09c6b733046ed
var esprima = require('esprima'), async = require('async'), Omero; Omero = function(options) { this._options = options || {}; this._srcDescriptors = null; this._esprimaOpt = {comment:true, loc:true}; this._rules = null; }; /** * Load source file and generate code trees * @param {Descriptor|...
JavaScript
lib/omero.js
ramiel/omero
gpl-2.0
2,405
84
codeparrot/github-code
80aaac48179ea8de38ecb93b89f67ecc34b9086e4dcec8d661df2370d235a17c
#include <stdio.h> #include <string.h> int main(int argc, char **argv) { char buffer[BUFSIZ],*result; int i; int quotes_open=0; while(1) { result=fgets(buffer,BUFSIZ,stdin); if (result==NULL) return 0; printf("\t.byte "); for(i=0;i<strlen(buffer);i++) { if (buffer[i] < 32) { ...
C
no-os/65c816_snes/tools/string_to_bytes.c
deater/ll_asm
gpl-2.0
661
36
codeparrot/github-code
1bd8467c730b6e73df4800ced52ccb5df9bf5e088a21eab5946735950cba32ae
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Talk for visit of Philipps Research in Hamburg about work at KIT % related to my dissertation. Approximately 15-20 min including % discussion. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass{beamer} %\usetheme...
TeX
beamer/2015-08-17_Moosmann_Hamburg-Philipps/hamburg-bup.tex
moosmann/latex
gpl-2.0
36,193
1,022
codeparrot/github-code
5814773bcbfac97826b198a7af41cd1d5d97d16ca5cf541991a793d28fc1359a
import {quat, vec3} from "gl-matrix"; export default class Arcball { constructor (camera, radius=1.0, strict=false) { this.radius = radius; this._camera = camera; this._strict = strict; // rotation quats this._currRot = quat.create(); this._lastRot = quat.create(); this._rot = quat.creat...
JavaScript
src/utils/controls/Arcball.js
cirocosta/utea
gpl-2.0
1,459
61
codeparrot/github-code
32618605d971e889747f19f93a71c3d053c602d82ddf188e42f95012ac2d1980
function ssBayesC(matrices::HybridMatrices, geno::Genotypes,fixed::FixedMatrix, ped::PedModule.Pedigree, input::QTL.InputParameters;outFreq=5000) y = matrices.y.full X = matrices.X.full W = matrices.W.full Zn = matrices.Z.n Ai_nn = matrices....
Julia
src/ssBayesianAlphabet/ssBayesC.jl
QTL-rocks/SSBR.jl
gpl-2.0
3,087
85
codeparrot/github-code
df2709b54478f82c0f5ad48c190d52edc79a0f889312f615c4e8973f5334adad
#!/usr/bin/python # -*- coding: utf-8 -*- """ Copyright (C) 2012 Fabio Erculiani Authors: Fabio Erculiani 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 3. This program is distributed in...
Python
rigo/rigo_app.py
Enlik/entropy
gpl-2.0
38,116
1,026
codeparrot/github-code
1383f93b05677fdbdb25c6c8ce7122f951c9d3ffe8d7cc696ef0c621ce6f0f90
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Cherokee * * Authors: * Alvaro Lopez Ortega <alvaro@alobbs.com> * * Copyright (C) 2001-2011 Alvaro Lopez Ortega * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GN...
C
cherokee/win32_cservice.c
nuxleus/cherokee-webserver
gpl-2.0
20,311
775
codeparrot/github-code
fe5c64ce439ab45e89ac061c8db0cabe1746a24a6b48d804539f56b4bc1a8910
package isep.web.sakila.webapi.service; import java.util.LinkedList; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframe...
Java
sakila-business-webapi/src/main/java/isep/web/sakila/webapi/service/CityServiceImpl.java
ZhengshuaiPENG/sakila-spring
gpl-2.0
1,285
55
codeparrot/github-code
467584830f14c037ace273793d8392c172f786b2c0f8d5d21180680efdf64f0b
/* * fs/nfs/idmap.c * * UID and GID to name mapping for clients. * * Copyright (c) 2002 The Regents of the University of Michigan. * All rights reserved. * * Marius Aamodt Eriksen <marius@umich.edu> * * Redistribution and use in source and binary forms, with or without * modification, are permitted pro...
C
fs/nfs/idmap.c
iPodLinux/linux-2.6.7-ipod
gpl-2.0
12,562
498
codeparrot/github-code
a102849b132d6a81be9d999c1a7cc137c670f98a8d45ea81739716565dca6020
/* * tlogger: a Firefox extension for capturing click-stream web browsing logs * * Copyright (c) 2009 Patrick Dubroy (http://dubroy.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...
JavaScript
extension/components/tlogger-globals.js
pdubroy/tlogger
gpl-2.0
12,675
452
codeparrot/github-code
dd8bf0f81b5db41802546acf07a81460ffe25a2c4809290cafa11f0434f41fee
<?php class CentralNoticeBannerLogPager extends CentralNoticeCampaignLogPager { /** @var SpecialCentralNoticeLogs */ public $special; public function __construct( SpecialCentralNoticeLogs $special ) { $this->special = $special; parent::__construct( $special ); } /** * Sort the log list by timestamp * @r...
PHP
includes/specials/pagers/CentralNoticeBannerLogPager.php
wikimedia/mediawiki-extensions-CentralNotice
gpl-2.0
9,305
281
codeparrot/github-code
9efca382b2ccf68bffc3f9261b2ffca7f7338e82d0ed5c7aa8b433568a5b6458
#include "Vector.hpp" namespace MarsGE { namespace Math { Vector::PolarCoords::PolarCoords(double rad, double ang) { this->radius = rad; this->angle = ang; } Vector::SphericalCoords::SphericalCoords(double rad, double inc, double az) { this->radius = rad; this->incli...
C++
src/Math/Vector.cpp
andersonmadeira/libmars2d
gpl-2.0
2,315
56
codeparrot/github-code
81f1194b286e225792871daceaeca1a2671efa6f39e6406bf0eae50d49a7a8fb
<?php /** * Fabrik upload helper * * @package Joomla * @subpackage Fabrik * @copyright Copyright (C) 2005 Fabrik. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php */ // Check to ensure this file is included in Joomla! defined('_JEXEC') or die(); /** * Fa...
PHP
components/com_fabrik/helpers/uploader.php
olafzieger/test-fabrik
gpl-2.0
6,337
261
codeparrot/github-code
dbbc8e23aabe76fbdfcb0cbc3bb7a1196d104dd77d2c2f48f0af18a10d75ede2
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package algoritmoaestrella.view; import algoritmoaestrella.structures.Position; import java.util.List; import java.util.logging.Level...
Java
src/algoritmoaestrella/view/PaintThread.java
drmane/AStar-Algorithm-Implementation
gpl-2.0
1,709
64
codeparrot/github-code
cc253983e2bd5441af3a83e5e191a78e9705a6a2f89811a3a6a380e42ad97e2c
package fi.helsinki.cs.codebrowser.app; import fi.helsinki.cs.codebrowser.app.filter.TokenBasedBasicAuthenticationFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Configuration; import org.sp...
Java
src/main/java/fi/helsinki/cs/codebrowser/app/AppSecurityConfiguration.java
rage/codebrowser-back-end
gpl-2.0
2,224
53
codeparrot/github-code
d1699ec583cc794fd0bc4838319e0333a886c58e2a029aab380c8eb74453c6ef
<?php class BloxDisplay { public static $plugin_template_generic_content = null; public static function init() { if ( is_admin() ) return; Blox::load(array( 'display/head' => true, 'display/grid-renderer', 'display/layout-renderer' )); add_filter('body_class', array(__CLASS__, 'body...
PHP
bloxtheme/library/display/display.php
bloxtheme/BloxTheme
gpl-2.0
6,318
291
codeparrot/github-code
8c4203a477bcceaa1eea0fed2d465aa06e5ee5557797ea018400e287f7c5b4ec
/* Copyright (c) 2006 by CodeSourcery. All rights reserved. This file is available for license from CodeSourcery, Inc. under the terms of a commercial license and under the GPL. It is not part of the VSIPL++ reference implementation and is not available under the BSD license. */ /** @file vsip/opt/ipp/ff...
C++
sourceryvsipl++-x86-3.1/src/vsipl++/src/vsip/opt/ipp/fft.cpp
maxywb/vsipl
gpl-2.0
21,389
726
codeparrot/github-code
fc999be31b3c1673a4b0bdd2d9b85d4722cfc871f439cdaf30f1e0e55c9fc6da
--[[ Copyright (C) 2018 Google Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope th...
Lua
game_scripts/decorators/player_color.lua
deepmind/lab
gpl-2.0
3,740
119
codeparrot/github-code
79c8274a1e0c4066bbd83f62201e87f15a1da2b75d64f7443f3d11218cc9af6f
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package kontroler; import domen.OpstiDomenskiObjekat; import java.util.List; import sistemskeOperacije.GenerisiId; import sistemskeOperacije.KreirajIsacuvajObjekat; import sistemskeOperacije.KreirajNoviObjekat; import s...
Java
Server/src/kontroler/Kontroler.java
PSIXO/softverski-proces
gpl-2.0
4,153
123
codeparrot/github-code
b5c662616249dc763786e23147dc95b8f68df5239f216713943a6f75f249e2fc
/* * Copyright (c) 2004 Adrian Page <adrian@pagenet.plus.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 versio...
C
krita/image/kis_gradient_painter.h
TheTypoMaster/calligra
gpl-2.0
2,715
92
codeparrot/github-code
7a353f4c1d9f75f0c388109ef04b2e1323c423c7bebd9baba8f68605780f425a
(function($) { 'use strict'; $(document).ready(function() { var gsyContentFilter, addFilterBtn, removeAllFiltersBtn, formTable; gsyContentFilter = $('#gsy-content-filter'); addFilterBtn = $('.add-filter', gsyContentFilter); ...
JavaScript
wp-content/plugins/gsy-content-filter/js/script.js
maewna/food-sawasdee
gpl-2.0
4,264
129
codeparrot/github-code
605d25b52be64906849e87be85059f21650abf56752e973432948a66d1e18415
#ifndef SCHEDULER_INCLUDED #define SCHEDULER_INCLUDED /* Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. Copyright (c) 2012, 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 ...
C
sql/scheduler.h
iangilfillan/MariaDBserver
gpl-2.0
3,485
110
codeparrot/github-code
2a12808f3efdbf55effff882ed47ed4d631f3cf0c8ea4ea0fbb8421cea144bbf
# -*- indent-tabs-mode: nil; -*- # vim:ft=perl:et:sw=4 # $Id$ # Sympa - SYsteme de Multi-Postage Automatique # # Copyright 2018 The Sympa Community. See the AUTHORS.md file at the # top-level directory of this distribution and at # <https://github.com/sympa-community/sympa.git>. # # This program is free software; you ...
Perl
src/lib/Sympa/List/Users.pm
eiro/sympa
gpl-2.0
9,962
342
codeparrot/github-code
1ebc91dc70021aac0ac6a04993ea841c927e06b92a1689f95b97f97ef0bfdba6
<?php Loader::load(dirname(__FILE__) . DS . "migrator.php"); /** * Factory class for creating Migrator objects * * @package blesta * @subpackage blesta.plugins.import_manager.components.migrators * @copyright Copyright (c) 2010, Phillips Data, Inc. * @license http://www.blesta.com/license/ The Blesta License Agr...
PHP
accounts/plugins/import_manager/components/migrators/migrators.php
rtdean93/engagepeeps
gpl-2.0
1,520
40
codeparrot/github-code
7a6a845340f00347353611f08d5d85cd51254be550cf00b830f7f7eafcea028b
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>WMS Get Routes: libqmi-glib Reference Manual</title> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="libqmi...
HTML
docs/reference/libqmi-glib/html/libqmi-glib-WMS-Get-Routes.html
abferm/libqmi
gpl-2.0
29,645
463
codeparrot/github-code
3e3ea037a98337fca60515bbb3d2b292cc88a90749a3c76f706eab989bff2221
# -*- coding: utf-8 -*- import re,sys,cookielib,urllib,urllib2,urlparse,HTMLParser,time,random,base64 from resources.lib.modules import cache from resources.lib.modules import workers def request(url, close=True, redirect=True, error=False, proxy=None, post=None, headers=None, mobile=False, limit=None, referer=Non...
Python
plugin.video.psychoxxx/resources/lib/modules/client.py
Coelhon/MasterRepo.repository
gpl-2.0
14,581
410
codeparrot/github-code
5eabc63c84d54f4f241377f18fcd8ffc5ba0bef9be2004517d1054bcab9712a8
#!/bin/tcsh -xef # ============ # this Jim's pre-proc script for It's a (heavily) edited version of the # script automatically created by uber_subject_proc.py # # this version is meant to preprocess for GROUP space. # # it has been rebuilt to work for study or test. # # it assumes that when it is called, the...
Shell
preproc_groupSpace_2956_special1.sh
sorensje/dissertation
gpl-2.0
11,925
317
codeparrot/github-code
45af948095f449d8233756b3e71d962f0fe028f7a9899d63409e474d4321ccb2
<!-- MHonArc v2.5.2 --> <!--X-Subject: RE: [ps2dev]: Making an ISO disc of Naplink 1.0.1 for PS2 --> <!--X-From-R13: DQ5Egvag <ep5fgvagNlnubb.pbz> --> <!--X-Date: Thu, 13 Dec 2001 05:26:41 &#45;0600 --> <!--X-Message-Id: 0.1700011190.1041503951&#45;736425289&#45;1008242986@topica.com --> <!--X-Content-Type: text/plain...
HTML
ref/mtz01-a.stanford.edu/resources/SonyPS2/msg00173.html
killbug2004/Entropy
gpl-2.0
4,673
117
codeparrot/github-code
155a4ab6479b2d1edd1a07d3577bed36186a50e0f90696809043df7a4bd118fc
package com.aw.core.validation; import com.aw.core.binding.DomainBuilder; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /** * User: gmc * Date: 17-sep-2008 */ public class BasicValidationGenerator { /** * Generate the neede...
Java
atux-base/src/main/java/com/aw/core/validation/BasicValidationGenerator.java
AlanGuerraQuispe/SisAtuxVenta
gpl-2.0
1,184
36
codeparrot/github-code
4a3528325df7c34fb959435d740cc15c161646d65b182ea96fd5ce88b05149b9
/* File: HorizontalSlicerMouseModule.java * Copyright (C) 2002-2003 The University of Iowa * Created by: Jeremy Faden <jbf@space.physics.uiowa.edu> * Jessica Swanner <jessica@space.physics.uiowa.edu> * Edward E. West <eew@space.physics.uiowa.edu> * * This file is part of the das2 library. ...
Java
dasCore/src/org/das2/event/HorizontalSlicerMouseModule.java
autoplot/app
gpl-2.0
5,390
137
codeparrot/github-code
5f5abd01502672e89d6da617c9dd96af28903e749df3be60c2cda4226e575921
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="shortcut icon" type="image/x-icon" href="../../../../../../../favic...
HTML
BeerDrop-android/libs/google_play_services/docs/reference/com/google/android/gms/maps/model/LatLngBounds.Builder.html
DarkoDanchev/BeerDrop-Game-
gpl-2.0
43,676
1,320
codeparrot/github-code
cba8971b0d9eb711e365f418e00858e255ef653a358806185b658f41a791021a
<?php class APP_Google_Map_Provider extends APP_Map_Provider { public function __construct() { parent::__construct( 'google', array( 'dropdown' => __( 'Google', APP_TD ), 'admin' => __( 'Google', APP_TD ) ) ); } public function init() { } public function has_required_vars() { if ( empty( $this->op...
PHP
wp-content/themes/vantage/includes/geo/map-providers/google-maps.php
mmayorivera/criminalattmap
gpl-2.0
3,958
117
codeparrot/github-code
912f8bfc10e14d9d46e3675f47dc84d7985316200172c4d46b854f6beb8cc39b
/* Internal procfs definitions * * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.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;...
C
linux-3.10.0-514.21.1.el7.x86_64/fs/proc/internal.h
cneira/ebpf-backports
gpl-2.0
8,885
318
codeparrot/github-code
e74367a17a81c97625b8e624a4ffe979698eef23d5877f27365a8a1d5e99b6d2
/* * Copyright (C) Kreogist Dev 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 program is distr...
C
src/plugin/knmusicplugin/plugin/knmusicminiplayer/knmusicminiplayer.h
Kreogist/Mu
gpl-2.0
4,394
146
codeparrot/github-code
b9a4f359b4ef346d2968ad2802617b464e74bc05be5d24e2811f792785d69629
/* This file is part of the OpenLB library * * Copyright (C) 2012 Jonas Kratzke, Mathias J. Krause * E-mail contact: info@openlb.net * The most recent release of OpenLB can be downloaded at * <http://www.openlb.net/> * * This program is free software; you can redistribute it and/or * modify it under the ...
C++
src/complexGrids/cuboidStructure/superOffBoundaryCondition3D.hh
app-on-mic/olb-xeon-phi-0.8.0
gpl-2.0
25,599
644
codeparrot/github-code
36b98a804f44fccb442f66d3a0c5d9735563d5bd5897df3b1439fe46bba758a4
#ifndef _ASM_X86_64_UNISTD_H_ #define _ASM_X86_64_UNISTD_H_ #ifndef __SYSCALL #define __SYSCALL(a,b) #endif /* * This file contains the system call numbers. * * Note: holes are not allowed. */ /* at least 8 syscall per cacheline */ #define __NR_read 0 __SYSCALL(__NR_read, sys_rea...
C
include/asm-x86_64/unistd.h
JulianKemmerer/Drexel-CS370
gpl-2.0
26,455
706
codeparrot/github-code
2260d95ba169369f526e0740ada7fa5132dd18dc5bfe17d58c78f78911e02a7e
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
Java
src/com/android/contacts/widget/AutoScrollListView.java
risingsunm/Contacts_4.0
gpl-2.0
4,805
126
codeparrot/github-code
861da0604596e7b70e9ff042d95de3085232ddc03938cc58f084e0a0883ac9e5
/* * mt9t112 Camera Driver * * Copyright (C) 2009 Renesas Solutions Corp. * Kuninori Morimoto <morimoto.kuninori@renesas.com> * * Based on ov772x driver, mt9m111 driver, * * Copyright (C) 2008 Kuninori Morimoto <morimoto.kuninori@renesas.com> * Copyright (C) 2008, Robert Jarzmik <robert.jarzmik@free.fr> * Cop...
C
drivers/media/video/mt9t112.c
fergy/iPhone_kernel_26
gpl-2.0
31,310
1,175
codeparrot/github-code
6ef6ed7d6212ae8d2d75d26696ce273094f73ea4f72e42608bacc714e9a97e84
from __future__ import division __author__ = 'jerry' from utils.settings import pbp, seasons from Game import Game class NoCollectionError(Exception): def __init__(self, msg): self.msg = msg def __str__(self): return self.msg class SeasonDataError(Exception): def __init__(self, msg...
Python
game/Season.py
grapesmoker/nba
gpl-2.0
12,250
378
codeparrot/github-code
e969588a36c2c479e7b6d3ddd44e97eef780862ca637e7f5d7de72c312d4c45b
/* Copyright (c) 2010-2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
C
drivers/video/msm/mdss/mdss_hdmi_tx.h
varunchitre15/thunderzap_m9
gpl-2.0
2,681
121
codeparrot/github-code
5233a396cbd82d2e02adc82eea9e356055d3735636e73c0931dc97271605dad3
from __future__ import absolute_import from __future__ import print_function import six __author__ = 'a_medelyan' import rake import operator import io import sys # EXAMPLE ONE - SIMPLE stoppath = "SmartStoplist.txt" # 1. initialize RAKE by providing a path to a stopwords file rake_object = rake.Rake(stoppath, 3,4,1...
Python
rake_tutorial.py
manjeetk09/GoogleScrapper
gpl-2.0
2,623
74
codeparrot/github-code
c56785dd9eb3185e7baad7bc55b571f86dc79b6dc20d0ec80e07f5db09a22414
<?php /** * Template Name: Vendor Services */ get_header(); ?> <form name="service" method="post" action=""> <div class=""> Select Service<select name="main_service" onchange="showUser(this.value)"> <option value="">select</option> <?php $result = $wpdb->get_results( "SELECT * FROM main_services" ); ...
PHP
wp-content/themes/twentytwelve/page-templates/vendor_services.php
dharmendra25d/print
gpl-2.0
3,813
165
codeparrot/github-code
6b37661f4c2f175fbd3969ae2bd7271f0f63403a430a6e446238d3d713ca8c17
################################################################################ # This file is part of OpenELEC - http://www.openelec.tv # Copyright (C) 2009-2017 Stephan Raue (stephan@openelec.tv) # Copyright (C) 2013 Lutz Fiebach (lufie@openelec.tv) # # This program is dual-licensed; you can redistri...
Python
src/service.py
OpenELEC/service.openelec.settings
gpl-2.0
4,695
125
codeparrot/github-code
15bf80258fdae76bf14db73a02c73d19b704aa089162c54b67ad9fbba815651c
<!-- Copyright 2016, 2017 UFPE - Universidade Federal de Pernambuco Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como publicada pela...
HTML
news/templates/news/_form.html
amadeusproject/amadeuslms
gpl-2.0
5,115
142
codeparrot/github-code
43860fa17f575f16a8315e6344fb4ff7f261e9c266cdac81c650494b051f4140
{config_load file="$language/lang_$language.conf" section="account"} {config_load file="$language/lang_$language.conf" section="account_history"} {config_load file="lang_`$language`.custom"} {config_load file="lang_`$language`.section" section="account_history"} <h1>{#heading_history#}</h1> {foreach name=aussen item=or...
HTML
templates/tpl_modified_bs4/module/account_history.html
dsiekiera/modified-bs4
gpl-2.0
1,568
37
codeparrot/github-code
2671de1a9742369eb0480c2db3c8b628f98ebf12c3272f2b38d31bf23f286010
import { Component, OnInit } from '@angular/core'; import { Station } from './station.interface'; import { ConfigService } from '../config.service'; @Component({ selector: 'app-station', templateUrl: './station.component.html', styleUrls: ['./station.component.scss'] }) export class StationComponent implements ...
TypeScript
frontend/src/app/station/station.component.ts
jplf/radiok
gpl-2.0
1,546
54
codeparrot/github-code
3b6e2a7f1705336261f98bb3b143fc2dabefb6ca80fab323b6b49377241e3f56
package com.kartoflane.scheduler.core; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * A class for simple time intervals in 24-hour system. * * Does not support wrapping intervals, where the end time * is less than start time. * * @author kartoFlane * */ public class TimeInterval impl...
Java
src/com/kartoflane/scheduler/core/TimeInterval.java
kartoFlane/Scheduler
gpl-2.0
4,580
214
codeparrot/github-code
8426652c6d19b587e49001575221e12f0d30b695c7f2778344166add0f21fefe
<?php if (!defined('WORDFENCE_LS_VERSION')) { exit; } /** * Presents a boolean option with a checkbox toggle control and a sub-option toggle. * * Expects $optionName, $enabledValue, $disabledValue, $value, and $title to be defined for the primary option. $helpLink may also be defined. * Expects $subOptionName, $sub...
PHP
wp-content/plugins/wordfence/modules/login-security/views/options/option-toggled-sub.php
tstephen/srp-digital
gpl-2.0
5,180
56
codeparrot/github-code
e4833c0d0af3e8fb1f31bd0d6a16f8ab22991c57bec73b923ef1677607823eff
package org.hectordam.practicaHector.beans; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import javax.swing.JComboBox; import org.hectordam.practicaHector.base.Equipo; public class ComboEquipos extends JComboBox<String>{ ...
Java
PracticaHector/src/org/hectordam/practicaHector/beans/ComboEquipos.java
gilmh/PracticaInterfaces
gpl-2.0
1,484
71
codeparrot/github-code
3aba580d3904a56baa6aa0257b812b8ea96701b7ba2d9960d238725aac206315
<?php /* core/themes/classy/templates/form/select.html.twig */ class __TwigTemplate_d949e7c9fba14e4207c98e08a3bbd9fd7c8479adc504d23f7deca41fea961777 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->bl...
PHP
sites/default/files_bk/files/php/twig/59b2a06894890_select.html.twig_wXeCQJHLpWWdwuHpclg_cIIt5/AaPA0sXOcUfIlX-IPW5v2jRyXPXgy7DHJyb6c-hMoH4.php
rsathishkumar/edtx
gpl-2.0
6,827
152
codeparrot/github-code
f649d1941ee28f4d6914872a39364d25355100b6206f068cf363c6ce182a8eed
/* * Linux cfg80211 driver - Dongle Host Driver (DHD) related * * Copyright (C) 1999-2012, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the terms of the GNU General Public Li...
C
drivers/net/wireless/bcmdhd/dhd_cfg80211.c
kozmikkick/tripndroid-endeavoru-3.4
gpl-2.0
18,021
666
codeparrot/github-code
1647e247741c2754b879b1400a55aa19a6f321ba2d63b72e03ad0c9e95937cd0
package com.jmeng.spy; import java.util.ArrayList; import java.util.List; public class Words { private List<String> list = new ArrayList<String>(); public Words(List<String> words) throws Exception { if (words == null || words.size() < 2) throw new Exception("words count cannot less than 2"); list = wo...
Java
src/com/jmeng/spy/Words.java
joshua-meng/Spy
gpl-2.0
922
46
codeparrot/github-code
eaf274ed1c51e82ae8774380563cd37fbe95714dcebb7e3846c44458922e4a21
#include "dm-exception-store.h" #include <linux/ctype.h> #include <linux/mm.h> #include <linux/pagemap.h> #include <linux/vmalloc.h> #include <linux/slab.h> #define DM_MSG_PREFIX "snapshot exception stores" static LIST_HEAD(_exception_store_types); static DEFINE_SPINLOCK(_lock); static struct dm_exception_store_t...
C
drivers/md/dm-exception-store.c
leemgs/OptimusOneKernel-KandroidCommunity
gpl-2.0
5,630
274
codeparrot/github-code
11b568e79f6508760ea9427642b17e58baaf082ffc9d5af7f918b65573f30446
package com.insadelyon.les24heures.view; import android.content.Context; import android.util.AttributeSet; import android.widget.FrameLayout; /** * Created by remi on 15/01/15. */ //TODO s'en affranchir public class TranslationLinearLayout extends FrameLayout { public TranslationLinearLayout(Context context, ...
Java
app/src/main/java/com/insadelyon/les24heures/view/TranslationLinearLayout.java
24HeuresINSA/24h-android-app
gpl-2.0
754
33
codeparrot/github-code
6a77857c32235e7004a94624788cab798939985c170c44ab9971dbce7a64637b
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <head> <meta charset="utf-8"> <meta http-...
HTML
assets/themes/medtech-flanders/aboutus.html
fathur/medtech
gpl-2.0
9,744
252
codeparrot/github-code
6289215b14c16e6c21db9b69bd62ca3d1ba64f4aa266fefec9c2b8cf19d0c6da
#coding: utf-8 # # Ailurus - a simple application installer and GNOME tweaker # # Copyright (C) 2009-2010, Ailurus developers and Ailurus contributors # Copyright (C) 2007-2010, Trusted Digital Technology Laboratory, Shanghai Jiao Tong University, China. # # Ailurus is free software; you can redistribute it and/or modi...
Python
ailurus/fedora/apps_eclipse.py
killpanda/Ailurus
gpl-2.0
7,840
189
codeparrot/github-code
b86744695ce2e7767ad839846e22c2d8748483015ddda22f139f9af7ba2bbef9
import inspect import os.path import django import SocketServer import sys from django.conf import settings from django.views.debug import linebreak_iter # Figure out some paths django_path = os.path.realpath(os.path.dirname(django.__file__)) socketserver_path = os.path.realpath(os.path.dirname(SocketServer.__file__)...
Python
data/python_files/30552411/__init__.py
viswimmer1/PythonGenerator
gpl-2.0
4,785
148
codeparrot/github-code
2582b7a6f1f07964ccf464ddd20f1711270ed0710df2336977f2949aafcd6df3
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> <head> <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/> <title>matrix operations</title> <link href='reno.css' type='te...
HTML
myodd/boost/libs/qvm/doc/matrix_operations_reference.html
FFMG/myoddweb.piger
gpl-2.0
35,498
275
codeparrot/github-code
3969a0c90d1e1c1f11df78f5433cdbbc7218eed0d9f1db2c67401321383b7110
/* * Copyright (C) 2012 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
C
modules/javafx.web/src/main/native/Source/JavaScriptCore/heap/JITStubRoutineSet.h
teamfx/openjfx-9-dev-rt
gpl-2.0
2,909
99
codeparrot/github-code
e167cd174f66d0bef9d9986332c10ccf5f49cb811bb99469d424e7c8a463300c
// Copyright (c) 2013- PPSSPP Project. // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, version 2.0 or later versions. // This program is distributed in the hope that it will be useful, // b...
C++
UI/ControlMappingScreen.cpp
Ced2911/psychic-octo-wookie
gpl-2.0
8,875
277
codeparrot/github-code
cc2694fb40b26401be0bd03cf4710bbbf9e3aa6dc593d3a5b95c6049c72d875a
# copyright 2003-2013 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This file is part of astroid. # # astroid 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 #...
Python
astroid/decorators.py
pylint-bot/astroid-unofficial
gpl-2.0
5,576
161
codeparrot/github-code
f62be48e5850bcf155ac34b2179376fb86d0398e7946557e9f6e26ebbec62830
<?php /******************************************************************************* Copyright 2013 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 Softw...
PHP
fannie/classlib2.0/lib/FannieHelp.php
GeorgeStreetCoop/CORE-POS
gpl-2.0
2,404
72
codeparrot/github-code
fa041f1250f384935a49b2830def03547aeba4be55f0ea58ebdacaf3c7e3a5d4
/* * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ #ifndef __UM_ELF_I386_H #define __UM_ELF_I386_H #include <asm/user.h> #include "skas.h" #define R_386_NONE 0 #define R_386_32 1 #define R_386_PC32 2 #define R_386_GOT32 3 #define R_386_PLT32 4 #def...
C
arch/um/sys-i386/asm/elf.h
jeffegg/beaglebone
gpl-2.0
3,339
126
codeparrot/github-code
1b16997afaf660e72e46e448ef4e82fba6a0b86dddb7a12db88949c5ebb24f4b
/* Copyright (C) 1999 Masanao Izumo <iz@onicos.co.jp> * Version: 1.0 * LastModified: Dec 25 1999 * This library is free. You can redistribute it and/or modify it. */ /* * Interfaces: * b64 = base64encode(data); * data = base64decode(b64); */ var base64EncodeChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZab...
JavaScript
components/com_tz_portfolio/js/base64.js
nalysa-etienne/cclifv2
gpl-2.0
2,868
108
codeparrot/github-code
ea42dd9296d964254e0400275322bc71a154056be026a6710201065d4984f860
/**************************************************************************** ** Meta object code from reading C++ file 'meshtemporal.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.1.1) ** ** WARNING! All changes made in this file will be lost! ********************************************************...
C++
moc_meshtemporal.cpp
gopal-bhatt/PIHMgis
gpl-2.0
5,543
160
codeparrot/github-code
9a0559bed79af87c8d7aec75eb8ce2caaaa24c837bf22e8337c689a8c9ba59eb
package net.minecraft.world.storage; import net.minecraft.world.WorldSettings; public class SaveFormatComparator implements Comparable { private final String field_75797_a; private final String field_75795_b; private final long field_75796_c; private final long field_75793_d; private final boolean fie...
Java
mcp/temp/src/minecraft/net/minecraft/world/storage/SaveFormatComparator.java
mviitanen/marsmod
gpl-2.0
2,063
70
codeparrot/github-code
7e8e7d7d5b07a7c877fbb52cbe064a655e20ead4d1e0ebd5992146eac19a200e
// Copyright (c) 2009, 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 conditi...
C++
Classes/tcmalloc/stack_trace_table.cc
dodikk/iWesnoth
gpl-2.0
4,573
158
codeparrot/github-code
447829bf0d5858b09fef7d2b27f6cfe2209596ce095a52d80d4a1faf51a62b1c
/** @file CBlock.cpp * * @author marco corvi * @date apr 2009 * * @brief OpenTopo calibration data * -------------------------------------------------------- * Copyright This sowftare is distributed under GPL-3.0 or later * See the file COPYING. */ #include <stdio.h> #include <math.h> #include "Factors.h" #...
C++
QTcalib/CBlock.cpp
quanth29/topolinux
gpl-2.0
2,302
88
codeparrot/github-code
9478171001cb38d958f95b7e2404d8111be77c04232ef4a776944ac445131daa
// // Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2018 // // 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) // #include "td/db/SqliteKeyValueAsync.h" #include "td/utils/op...
C++
protocols/Telegram/tdlib/td/tddb/td/db/SqliteKeyValueAsync.cpp
miranda-ng/miranda-ng
gpl-2.0
4,262
142
codeparrot/github-code
09fd2ded9d7015c881337ca5b84bdefcb58fecf022787d4ba6d2394914e88b4e
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 4.1 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2011 | +--------------------------...
PHP
sites/all/modules/civicrm/CRM/Contribute/DAO/Product.php
jblanford/Uber-Web-Site
gpl-2.0
14,679
461
codeparrot/github-code
aadfbf778129999e355be1f2668ac3c5c4f3440b261f93dce805017c0409f1b1
package org.ebookdroid.common.keysbinding; import org.ebookdroid.ui.viewer.IActivityController; import android.app.Dialog; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.AdapterView.OnI...
Java
src/org/ebookdroid/common/keysbinding/KeyBindingsDialog.java
ieee8023/PDFViewer
gpl-2.0
8,923
256
codeparrot/github-code
a198ccebef51479af195d4f08c18daa74668c5724d85710b77e958a53e9a23c8
package org.openRealmOfStars.player.diplomacy; import java.util.ArrayList; import org.openRealmOfStars.AI.Mission.Mission; import org.openRealmOfStars.AI.Mission.MissionPhase; import org.openRealmOfStars.AI.Mission.MissionType; import org.openRealmOfStars.player.PlayerInfo; import org.openRealmOfStars.player.WinningS...
Java
src/main/java/org/openRealmOfStars/player/diplomacy/DiplomaticTrade.java
tuomount/Open-Realms-of-Stars
gpl-2.0
96,567
2,873
codeparrot/github-code
d03e50f461dca3563f6372749f82aa4e91cb7f44f137e29d7a6900b7666cb601
<?php /** * The template for displaying Author Archive pages. * * @package WordPress * @subpackage Bijouxs * @since Bijouxs 1.0 */ get_header(); ?> <div id="container"> <div id="content" role="main"> <?php /* Queue the first post, that way we know who * the author is when we try to get their name, *...
PHP
wp-content/themes/bijouxs/author.php
solidhex/bijouxs
gpl-2.0
1,945
61
codeparrot/github-code
2c474b831e118543e3738937b206f7b7e6a235e4c3d661c05b5b76e96f402d20
#include "eventplugin.h" #include "connectdbdialogwidget.h" #include "connectionsettings.h" #include "eventdialogwidget.h" #include "dbschema.h" #include "stagedocument.h" #include "stagewidget.h" #include "services/serviceswidget.h" #include "services/emmaclient.h" #include <quickevent/core/og/timems.h> #include <q...
C++
quickevent/app/plugins/Event/src/eventplugin.cpp
fvacek/quickbox
gpl-2.0
40,238
1,233
codeparrot/github-code
30d442670c2de4b94d090c7628e1ca579f6f48a47578506f0d11e4934509bec4
/* * kcmmisc.cpp * * Copyright (c) 1997 Patrick Dowler dowler@morgul.fsh.uvic.ca * * Layout management, cleanups: * Copyright (c) 1999 Dirk A. Mueller <dmuell@gmx.net> * * Requires the Qt widget libraries, available at no cost at * http://www.troll.no/ * * This program is free software; you can redistribute...
C++
kxkb/kcmmisc.cpp
Fat-Zer/tdebase
gpl-2.0
14,877
561
codeparrot/github-code
375ee7c3bb3f5d896d4b2f6d1a9cfc114d985c1ed103c5d8fec878718aa6587e
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package coba.stream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.EOFException; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; i...
Java
src/coba/stream/G_DataIODemo.java
raikeiji/Modul-Belajar-Java
gpl-2.0
1,883
63
codeparrot/github-code
20ad127715ae44762c7d81c16bcc4ec92e6d9399e10293f17ea8c1b698e466db
/*************************************************************************** * Copyright (C) 2012 by George Harris * * george@luminairecoffee.com * * * * This program is free software; you can redistribute it and/...
C
src/flash/nor/lpcspifi.c
lilvinz/openocd
gpl-2.0
32,719
969
codeparrot/github-code
d8f36021d9f364a42b86135e3b100dfcae2574b05544ee186629bc31686cd57d
/* * Copyright (c) 2012, Codename One 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 Sof...
Java
Ports/Android/src/com/codename1/social/FacebookImpl.java
shannah/cn1
gpl-2.0
11,320
281
codeparrot/github-code
9a59a615e29fcf1392a34b2bd7c36abeb0ca14600726cf2320c707675bcad58a
$(document).ready(function($) { //jQuery.noConflict(); //just uncomment when migrating to $ 3+ $('body').keydown(function(event) { keyDown(event); }); }); var keyboard = {}; var level = { "HOME" : 0, "BROWSE" : 1, "MEDIA" : 2, "PLAY" : 3, "VIDEO" : 4, "KEYBOARD" : 5 }; var curLevel = level.HOME; v...
JavaScript
src/main/external-resources/web/util/keycontroller.js
valib/UniversalMediaServer
gpl-2.0
16,906
651
codeparrot/github-code