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
314a99f3557d8366da0e43c4dfb90f0517fc29e52ddf6e03d3e874e95c60f91b
#ifndef INCL_GMH_APP_HH #define INCL_GMH_APP_HH // Adapted from GabberApp.hh #include "Minehunter.hh" #include "SignalBuffer.hh" class GMH_Win; class GameData; using namespace SigC; /** * GMH_App * * This is the practical entry point to the program, the main * function simply makes one of this class and call...
C++
GMH_App.hh
ChrisKuklewicz/GMinehunter
gpl-2.0
3,664
123
codeparrot/github-code
cf4b009880842744f938bd884ada5fd751d7ca4f618fa1da64625dd4023fd67b
package pfappserver::Form::RadiusLogSearch; =head1 NAME pfappserver::Form::Node - Web form for a node pfappserver::Form::Search::Node - Web form for searching Nodes =head1 DESCRIPTION Form definition to create or update a node. =cut use HTML::FormHandler::Moose; use pf::log; use List::MoreUtils qw(true); extends ...
Perl
html/pfappserver/lib/pfappserver/Form/RadiusLogSearch.pm
jrouzierinverse/packetfence
gpl-2.0
3,056
214
codeparrot/github-code
3ce7a53e443cb168d6cfae08110c42a3a6f145f4fc06ca6b031a08a9d89b5c17
/* * Copyright (C) 2010 Neil Stockbridge * LICENSE: GPL */ #ifndef __MODEL_H #define __MODEL_H #include <SDL.h> #include <time.h> #include "core.h" // ----------------------------------------------------------------------- types typedef struct { double latitude; double longitude; double sine_of_latitu...
C
nightsky-20100829/src/Model.h
zrafa/jlime_embedded_applications
gpl-2.0
2,438
141
codeparrot/github-code
145a2e821dcd6c4efc57d4abc3cf682ce565275cdf153eb0e23b15587e9679f8
/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can * be found in the License.html file in the root of the source tree. */ //--------------------------------------------------------------------------- #ifndef File__Duplicate_MpegTsH #...
C
MediaInfoLib/Source/MediaInfo/Duplicate/File__Duplicate_MpegTs.h
pavel-pimenov/flylinkdc-r5xx
gpl-2.0
4,171
147
codeparrot/github-code
c7fb87eb44ae73c002bbc0c5c97fd1d129bb86d69314ab305d32e5b9fe55fee3
/* * Copyright (c) 2014, Cisco Systems, Inc. All rights reserved. * * LICENSE_BEGIN * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main dir...
C
prov/usnic/src/usnic_direct/usd_ib_sysfs.c
sungeunchoi/libfabric
gpl-2.0
8,461
359
codeparrot/github-code
ed1c72a482d543391fad3ec7f446094770abc95b5a0da1c03d82d19542ce4b97
// 003.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "resource.h" #define MAX_LOADSTRING 100 // Global Variables: HINSTANCE hInst; // current instance TCHAR szTitle[MAX_LOADSTRING]; // The title bar text TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar t...
C++
xl文件载入解析/ImageStone/example/003/src/003.cpp
adolli/FreeXL
gpl-2.0
5,200
206
codeparrot/github-code
7a5ef3bf7d7837d7aa324ae373dccfacbd69f55e1cea340709edc4cf8d724025
<?php class formatoContenido { var $arreglo; function formatoContenido($arreglo) { $this->arreglo = array(); $this->arreglo = $arreglo; } function noticias($delimitador = " ", $lineas = false) { $return = ""; if ($lineas) { foreach($lineas as $linea){ $return .= $this->arreglo[$linea...
PHP
services/trm/autocontent/app/class/FormatoContenido.class.php
dayscript/aacevedo
gpl-2.0
1,787
88
codeparrot/github-code
7231b9ad3a9aa29b78008fe2980e1f785446931e5437656cf5215b31b0d88468
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <title>Source code</title> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <body> <div class="sourceContainer"> <pre><span class="sourceLineNo">0...
HTML
datasets/java/education/docs/src-html/corgis/education/domain/Location.html
RealTimeWeb/datasets
gpl-2.0
7,525
156
codeparrot/github-code
837207cd8236f0a1314f32e2e03ca3d863699b3456543c2f5c23a4ea0759aecd
<?php /** * @package Joomla.Platform * @subpackage Environment * * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; /** * JResponse Class. * *...
PHP
libraries/joomla/environment/response.php
phucnhdnict/cbcc_050515
gpl-2.0
6,939
341
codeparrot/github-code
251e6a705b9c3707d79f69af38d9bb5bbbea4110d28765cb0263747c0f8a1225
package com.orange.documentare.core.image.segmentation; /* * Copyright (c) 2016 Orange * * Authors: Christophe Maldivi & Joel Gardes * * 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 Founda...
Java
simdoc/core/java/Image/src/main/java/com/orange/documentare/core/image/segmentation/SegmentationDebug.java
Orange-OpenSource/documentare-simdoc
gpl-2.0
2,643
105
codeparrot/github-code
b059c8cd6b075c2f7dcbf39b2332b6c95f12518369cdab98c843ba7b48e99673
/* ***************************************************************************** * Xitari * * Copyright 2014 Google 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. * * ...
C++
games/supported/WizardOfWor2Player.cpp
tambetm/xitari
gpl-2.0
4,644
160
codeparrot/github-code
f97fb1fffd8ac15da53a196a3400a3cbab3e54adef3ef07e1106be598a79b9e5
var path = require('path'); //Postgres DATABASE_URL var url = process.env.DATABASE_URL.match(/(.*)\:\/\/(.*?)\:(.*)@(.*)\:(.*)\/(.*)/); var DB_name = (url[6]||null); var user = (url[2]||null); var pwd = (url[3]||null); var protocol = (url[1]||null); var dialect = (url[1]||null); var port = (url[5]...
JavaScript
models/models.js
aiglesiasruiz/quiz
gpl-2.0
2,771
91
codeparrot/github-code
898857c30edb2948ed30ef0e93f991e3110872f78bf2f7d982636d0aa29756c6
/* * Common time routines among all ppc machines. * * Written by Cort Dougan (cort@cs.nmt.edu) to merge * Paul Mackerras' version and mine for PReP and Pmac. * MPC8xx/MBX changes by Dan Malek (dmalek@jlc.net). * Converted for 64-bit by Mike Corrigan (mikejc@us.ibm.com) * * First round of bugfixes by Gabriel Pau...
C
arch/powerpc/kernel/time.c
ubuntustudio-kernel/ubuntu-quantal-lowlatency
gpl-2.0
26,591
1,033
codeparrot/github-code
bf084c787208b8600571d61b4430c8c2b47eef82efc40a9fc2e51768ab78db13
<?php /* /timetables/all/index.php * Autor: Weiland Mathias * Beschreibung: * Gibt Stundenplan von allen Klassen/Lehrern aus */ include_once("../../config.php"); include_once(ROOT_LOCATION . "/modules/general/Main.php"); //Stellt das Design zur Verfügung include_once(ROOT_LOCATION . "/modules/database/selec...
PHP
sources/timetables/all/index.php
SIS-Team/SIS-Doc
gpl-2.0
7,107
232
codeparrot/github-code
27f052ed602028f72b4edbf389cb0445d1373b624a5ba42a31597814d4d9aa50
/* FreeS/WAN Virtual IP Management * Copyright (C) 2002 Mathieu Lafon - Arkoon Network Security * * 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 you...
C
linux/embedded_rootfs/pkg_addon/strongswan-4.0.4/src/pluto/virtual.c
odit/rv042
gpl-2.0
7,687
335
codeparrot/github-code
6af4c172b912323c1db54b13169fb76303e1d0f63eaddf177c25d5ea6fec9f0e
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! class_exists( 'WC_Quantities_and_Units_Filters' ) ) : class WC_Quantities_and_Units_Filters { public function __construct() { // Cart input box variable filters add_filter( 'woocommerce_quantity_input_min', array( $this, 'input_...
PHP
includes/class-wcqu-filters.php
greatwitenorth/quantities-and-units-for-woocommerce
gpl-2.0
5,574
219
codeparrot/github-code
073d698b23a4843150f24d51cd4fbb500f437d9c3d6bf9a49bbb27bc2423e360
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2015 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
C++
src/Engine/Task/Ordered/StartConstraints.cpp
ThomasXBMC/XCSoar
gpl-2.0
2,115
75
codeparrot/github-code
47d2cee000ab1f3c92239f0da8dea8d635c0399f1372b82f175fd677e513f109
<?php // Tradução por Guido Nietmann - www.a1web.com.br - www.a1web.com.br/demo // Your definitions will override the standard ones if placed ahead of them // Prototype for standard definitions: if (!defined('')) DEFINE ('', ''); // Additions in 3.52 if (!defined('_DOWN_MANY_CONTAINERS')) DEFINE('_DOWN_MANY_CONTAINER...
PHP
components/com_remository/language/utf.brazilian_portuguese.php
atweb-project/in-case-of.com
gpl-2.0
66,231
637
codeparrot/github-code
a701fe6610795cd17db2424caa1a8eb86199615d3e88b36b86982fd934c50f37
/* Management of Tx window, Tx resend, ACKs and out-of-sequence reception * * Copyright (C) 2007 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...
C
net/rxrpc/ar-ack.c
agx/linux-wpan-next
gpl-2.0
35,004
1,354
codeparrot/github-code
6f3c634c2d340d638d6c74a51f389f593f1a7f9b40dfba5bdf5623b8e6322b9b
#include "qemu-common.h" #include "aes.h" #ifndef NDEBUG #define NDEBUG #endif typedef uint32_t u32; typedef uint16_t u16; typedef uint8_t u8; #undef FULL_UNROLL # define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(pt)[3])) # define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> ...
C
external/qemu/aes.c
qtekfun/htcDesire820Kernel
gpl-2.0
58,171
1,236
codeparrot/github-code
92799aefd3d1d6ee90a92c8740eac0c0673d466e17de1987344334976152f0e1
# -*- indent-tabs-mode: nil; -*- # vim:ft=perl:et:sw=4 # $Id$ # Sympa - SYsteme de Multi-Postage Automatique # # Copyright (c) 1997, 1998, 1999 Institut Pasteur & Christophe Wolfhugel # Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, # 2006, 2007, 2008, 2009, 2010, 2011 Comite Reseau des Universite...
Perl
src/lib/Sympa/Request/Handler/add.pm
sympa-community/sympa
gpl-2.0
7,576
272
codeparrot/github-code
06b317d50e62e7d022cb25348f9aa3f30cab355011a98b2c1dc516e192cd9fca
/****************************************************************************** * pwrap_hal.c - Linux pmic_wrapper Driver,hardware_dependent driver * * * DESCRIPTION: * This file provides other drivers PMIC wrapper relative functions * *************************************************************************...
C
drivers/misc/mediatek/pmic_wrap/mt6572/pwrap_hal.c
kelvinbui31/android_mediatek_muse72
gpl-2.0
42,290
1,439
codeparrot/github-code
90152c915a5d110360b00adcf59e83696b4495825dd81ca1231fbfc1d2027e4f
<?php /** * Single Product Thumbnails * * @author WooThemes * @package WooCommerce/Templates * @version 2.3.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } global $post, $product, $woocommerce; $attachment_ids = $product->get_gallery_attachment_ids(); if ( $attachment_ids ) {...
PHP
wp-content/themes/socha/woocommerce/single-product/product-thumbnails.php
Sherpareizen/website
gpl-2.0
1,357
51
codeparrot/github-code
9c5f5ea058e20874746de57e1175c5fc3ab2097ae62bbb26b308a65fef1ceb9c
import os import sys filenames = [ 'Albuquerque_6x6.tfix', 'Atlanta_6x6.tfix', 'Austin_6x6.tfix', 'Baltimore_6x6.tfix', 'Boston_6x6.tfix', 'Charlotte_6x6.tfix', 'Chicago_6x6.tfix', 'Cleveland_6x6.tfix', 'Columbus_6x6.tfix', 'Dallas_6x6.tfix', 'Denver_6x6.tfix', 'Detroit_6x6.tfix', 'El_Paso_6x6.tfix', 'Fort_Worth_6x6.t...
Python
Services/Mapping/tmpBatch.py
nesl/mercury
gpl-2.0
1,450
72
codeparrot/github-code
01e2db961e4ff259f19e5d8f0f8b207491ac3339f5be44bbd3179b4391f63079
package uk.org.glendale.rpg.traveller.database; import java.util.Hashtable; import uk.org.glendale.rpg.traveller.civilisation.trade.*; import uk.org.glendale.rpg.traveller.sectors.Allegiance; /** * Cache of database information which is relatively unchanging. * Currently includes facilities and commodity data. * ...
Java
worldgen/src/main/java/uk/org/glendale/rpg/traveller/database/Constants.java
samuelpenn/mapcraft
gpl-2.0
2,462
90
codeparrot/github-code
87551e4c2163cbe9be6b365480050afe0005460987be10040286c1bc0f93532c
/* 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) a...
C++
src/ta3d/src/misc/matrix.cpp
zuzuf/TA3D
gpl-2.0
6,174
302
codeparrot/github-code
306a0020461bba771789c999b377d551fdd847ac39561e8cf11a326e5a113106
/* * Renders antialiased fonts for mplayer using freetype library. * Should work with TrueType, Type1 and any other font supported by libfreetype. * * Artur Zaprzala <zybi@fanthom.irc.pl> * * ported inside MPlayer by Jindrich Makovicka <makovick@gmail.com> * * This file is part of MPlayer. * * MPlayer is free...
C
libvo/font_load_ft.c
dreamerc/mplayer
gpl-2.0
32,085
1,174
codeparrot/github-code
159f467498f528630a3f43364670f36eca782bf9d5d80f2e7f0acf57886f43c6
/* 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++
gui/console.cpp
yinsimei/scummvm
gpl-2.0
18,697
742
codeparrot/github-code
16e1eb7f2a240b24f3f1e9dd1b0aed29dff5717fc411fdff6f0ef9f97a25343e
<?php /** * Mega menu * @author SeventQueen */ if (!class_exists('Walker_Nav_Menu_Edit')) { require_once(ABSPATH . 'wp-admin/includes/nav-menu.php'); } class kleo_custom_menu { /*--------------------------------------------* * Constructor *--------------------------------------------*/ function __constru...
PHP
wp-content/themes/kleo/lib/menu-custom.php
6226/wp
gpl-2.0
3,710
143
codeparrot/github-code
8d625d8f48b0107d72bb95748d0c52081caa7b236e457242608e28268af235ee
<?php /** * Element: Color * Displays a textfield with a color picker * * @package NoNumber Framework * @version 14.2.9 * * @author Peter van Westen <peter@nonumber.nl> * @link http://www.nonumber.nl * @copyright Copyright © 2014 NoNumber All Rights Reserved * @licens...
PHP
plugins/system/nnframework/fields/color.php
kurtishouser/learningjoomla3
gpl-2.0
1,519
55
codeparrot/github-code
6a42b4be708476f17f0e4b010bcfa274f5c91ab55cb60dbd4360658850585cfc
-- http://git.io/vUA4M local socket = require "socket" local JSON = require "cjson" local decodetext do local char, gsub, tonumber = string.char, string.gsub, tonumber local function _(hex) return char(tonumber(hex, 16)) end function decodetext(s) s = gsub(s, '%%(%x%x)', _) return s en...
Lua
plugins/wiki.lua
Akamaru/Mikubot
gpl-2.0
4,787
191
codeparrot/github-code
4d9c5910f001dad142b4fdf27417e9d333a522441cf146ef6a11f9ea7741fd10
/* * RPC Test suite * * Copyright (C) 2011, Olaf Kirch <okir@suse.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later v...
C
src/server_main.c
okirch/twopence-rpc
gpl-2.0
2,309
98
codeparrot/github-code
efa6afcde2b80165d33245b895dbdb923cbc58589cb9b1ee3dec31c1cde53e03
// ASE gui library // Copyright (C) 2001-2011 David Capello // // This source file is ditributed under a BSD-like license, please // read LICENSE.txt for more information. #ifndef GUI_COMBOBOX_H_INCLUDED #define GUI_COMBOBOX_H_INCLUDED #include "base/compiler_specific.h" #include "gui/widget.h" #include <string> #i...
C
src/gui/combobox.h
Skiles/aseprite
gpl-2.0
1,642
80
codeparrot/github-code
570daf0334700f84991df2e152860de4718654b2c1db06a0c8b30eda4daafb72
//----------------------------------------------------------------------------- // File: ConfigurableVLNVReference.cpp //----------------------------------------------------------------------------- // Project: Kactus 2 // Author: Mikko Teuho // Date: 04.08.2015 // // Description: // Configurable VLNV reference...
C++
IPXACTmodels/common/ConfigurableVLNVReference.cpp
kactus2/kactus2dev
gpl-2.0
5,500
126
codeparrot/github-code
5e294daf273e6925a1f60d2635d7787cf1429abe4203d5e3d478aea389701ce6
from horizon import tables from openstack_dashboard.dashboards.admin.log import tables as log_tables from openstack_dashboard.models import log from horizon.utils import functions as utils from django.conf import settings import itertools from horizon import exceptions from django.utils.translation import ugette...
Python
openstack/src/horizon-2014.2/openstack_dashboard/dashboards/admin/log/views.py
ChinaMassClouds/copenstack-server
gpl-2.0
3,412
99
codeparrot/github-code
d5279f651375e180896bf46ce5331b5935a2e78b0926d995b5c07fb2fa527d2c
package model.entidadeDao; import dao.DataBaseSqLite; import java.sql.SQLException; import java.util.List; import model.entidade.Cliente; import model.entidade.Venda; import model.entidade.Produto; public class VendasDao { DataBaseSqLite db; public VendasDao(DataBaseSqLite db) { this.db = db; } ...
Java
src/model/entidadeDao/VendasDao.java
lockland/Sales-Manager
gpl-2.0
2,996
89
codeparrot/github-code
e402ef044096b96a37b998188480046d5c55fa2da63e341ff708d416ac238aa0
/**************************************************************************** * logging.h: YafaRay Logging control * This is part of the yafray package * Copyright (C) 2010 Rodrigo Placencia Vazquez for original Console_Verbosity file * Copyright (C) 2016 David Bluecame for all changes to convert or...
C
include/core_api/logging.h
DavidBluecame/Core
gpl-2.0
9,220
210
codeparrot/github-code
3ee6f074675cc54656bc5700ae4024e0648a641a2c8120f95d3dbe16b2be3e7b
/* * Copyright (C) 2011 Department of Robotics Brain and Cognitive Sciences - Istituto Italiano di Tecnologia * Author: Vadim Tikhanoff Ugo Pattacini * email: vadim.tikhanoff@iit.it * Permission is granted to copy, distribute, and/or modify this program * under the terms of the GNU General Public License, version...
C++
src/karmaManager/src/utils.cpp
tanismar/karma
gpl-2.0
2,731
100
codeparrot/github-code
b4e3ecc25b64ff1b395df6e488066d3cb97d59475b93b82982e9ccd13e373945
(function($) { "use strict"; /** * @class Drupal.availabilityCalendar.Viewport * * @constructor Creates a new Drupal.availabilityCalendar.Viewport object. * @param {Object} settings * object with the following properties (name type (default) description): * { * cvid {Integer} Required: the selector of...
JavaScript
sites/all/modules/availability_calendars/availability_calendar.viewport.js
windcolor/lxpt
gpl-2.0
11,088
263
codeparrot/github-code
9d9be9a54319afeb4d21a8183f9ed6bfe8a83feb66ebac9cd73781fc4318915c
/* Copyright 2012 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
C
net_plumber/src/net_plumber/net_plumber.h
bovenyan/hsa
gpl-2.0
7,222
238
codeparrot/github-code
ef637d783e47a0e0350eea6eeb2b28bccde2a75b7f67a120aa720f59c6613b51
/*********************************** meter - a driver for a simple meter device Copyright (C) <2015> <ams-tech> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2...
C
modules/meters/common/inc/meter.h
ams-tech/lkm
gpl-2.0
1,978
80
codeparrot/github-code
227ce57cd43a5bc2c61ec29c0cf3e8a778616639d91b13d023753132f0f9c90b
/* Caprice32 - Amstrad CPC Emulator (c) Copyright 1997-2004 Ulrich Doewich 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 late...
C++
src/video.cpp
sebhz/caprice32
gpl-2.0
49,050
1,841
codeparrot/github-code
70d3751dbcf484fa7b676f649ab56a0613d7a80299b6ae021b3d4fcce910433c
#!/home/longbin/install/apps/Python-2.5_gcc/bin/python import sys import math import getopt import string import fileinput clrs = ['ff0000', '00ff00', '0000ff'] def printheader(n): print '<?xml version="1.0" encoding="UTF-8" standalone="no"?>' print ' <graphml xmlns="http://graphml.graphdrawing.org/xmln...
Python
src/main/python/edu/ucsb/ilab/shapematching/pt2graph.py
ucsb-ilabs/shapematching
gpl-2.0
5,365
117
codeparrot/github-code
bd8278cf93854829827c85c4b1b757853e8441394674ce283f2d639323f4a786
/* Frame unwinder for frames with DWARF Call Frame Information. Copyright (C) 2003-2013 Free Software Foundation, Inc. Contributed by Mark Kettenis. 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 p...
C
gdb/dwarf2-frame.c
jjones-cavium/gdb
gpl-2.0
75,234
2,469
codeparrot/github-code
003d9475932d0cfb080fc33973bb4287a002b27fbf080bac18432b8353d0f124
/* 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_s_jb2/kernel/camera/camera/kd_camera_hw.c
lenovo-a3-dev/kernel_lenovo_a3
gpl-2.0
14,370
319
codeparrot/github-code
69107881ff7fac491d3becbae098cf4f0d4f97c31b93b7e8ce17b8c8570b0bcf
""" Configuration class. Copyright 2010 Kelsey Hightower Kelsey Hightower <kelsey.hightower@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 op...
Python
koan/configurator.py
cobbler/koan
gpl-2.0
10,535
310
codeparrot/github-code
39751eb761e1d160d56fcc1fb63a186ba2c4f1b60486d57d622640c8243828e0
/* * Component of the D-ITG 2.8.1 (r1023) platform (http://traffic.comics.unina.it/software/ITG) * * Copyright : (C) 2004-2013 by Alessio Botta, Walter de Donato, Alberto Dainotti, * Stefano Avallone, Antonio Pescape' (PI) * COMICS (...
C++
jni/ITGLog/ITGLog.cpp
cemakpolat/DITG
gpl-2.0
12,991
581
codeparrot/github-code
8535d5684afa9dc20ba4af7775b35e20a3753a71e935c81dba20d6ab338ebd08
/* This file is part of the KDE project Copyright 2006 Stefan Nikolaus <stefan.nikolaus@kdemail.net> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the Lic...
C++
sheets/shape/TableShapeFactory.cpp
TheTypoMaster/calligra
gpl-2.0
2,121
68
codeparrot/github-code
f64885045c51d2ad81996ab62422aca8b6458fe7694c59a897b642f628d977bd
/* packet-v5ua.c * * Extension of all V5.2-User Adaptation Layer dissection elements * References: * RFC 3807 * RFC 4233 * RFC 5133 * * Copyright 2009 * * ISKRATEL d.o.o. | 4S d.o.o. * http://www.iskratel.si/ | http://www.4es.si/ * <info@iskratel.si> | <projects@4es.s...
C
epan/dissectors/packet-v5ua.c
boundary/wireshark
gpl-2.0
82,723
1,709
codeparrot/github-code
6e9436cfa46a073a87d6bc715e25eb6d9ed16ad199a0dac136946565923df532
#!/usr/bin/python # -*- coding: utf-8 -*- import os import time from creds import get_nova_obj from scit_config import * from scit_db import * #get authed nova obj nova = get_nova_obj() def create_nova_vm(logger, server_name, usr_dst): conf = getScitConfig() retry = int(conf["scit"]["scit_clean_retry"]) ...
Python
openstack_api.py
Colstuwjx/scit-sys
gpl-2.0
7,352
266
codeparrot/github-code
7c90871fe1bd24632d7325c3d9bde8094d248a6bdff479dff76e3dd1708739cb
<?php class weddings_layout_page_class{ public $themeoptions; public $shortthemeoptions; public $layout; public $options_themeoptions; function __construct(){ global $weddings_special_id_for_db; $this->themeoptions = "Layout Editor"; $this->shortthemeoptions = $weddings_special_id_for_db....
PHP
wp-content/themes/weddings/admin/layout_page.php
roundtopdog/wordpress
gpl-2.0
15,182
577
codeparrot/github-code
a3ef415fed8b18a591ea213f92ea58f2e79f09ee5f138e4aa7a8c9526824e531
/*************************************************************************** qgsattributeactiondialog.cpp - attribute action dialog ------------------- This class creates and manages the Action tab of the Vector Layer Properties dialog box. Changes made in the dialog box ...
C++
src/app/qgsattributeactiondialog.cpp
SebDieBln/QGIS
gpl-2.0
15,934
440
codeparrot/github-code
19e83f021bd92ee599812004d3bdaaae3cda945aabfec262791da3a686375172
// ----------------- GLOBAL VARIABLES var x3d; var scene; var scatter_colors; var axisRange; var scales = []; var initialDuration = 0; var defaultDuration = 800; var ease = 'linear'; var axisScale = 23; var normalizeScale = true; var axisKeys; var labelFontSize = 0.8; var margin = {top: 20, right:...
JavaScript
public_html/js/custom_scatter.js
mightym0e/d3_tests
gpl-2.0
3,027
138
codeparrot/github-code
0ed33ac1d21fbc4da88dcf0ef610957f6aedb92c75a825fa72f4ed36f18406fa
/* -*- mode: C++ ; c-file-style: "stroustrup" -*- ***************************** * Qwt Widget Library * Copyright (C) 1997 Josef Wilgen * Copyright (C) 2002 Uwe Rathmann * * This library is free software; you can redistribute it and/or * modify it under the terms of the Qwt License, Version 1.0 ******...
C++
source/core/3rdpart/qwt/src/qwt_picker.cpp
iclosure/jdataanalyse
gpl-2.0
41,653
1,594
codeparrot/github-code
834f336ed037e88ee8a9fd485ac34345c3bcabb5ed65168900666484083aceed
$(document).ready(function () { run(); }); function run() { //time data generator // var date = new Date(); var hours = date.getHours(); var properTime = null; // 12 or 24 hours config // if (hours>=12) {AMPM = 'PM';} else {AMPM = 'AM';} if (!(hours24)) { ...
JavaScript
scripts/script.js
Porco-Rosso/Gradients-of-K
gpl-2.0
8,173
282
codeparrot/github-code
cdcb50186c3badf2e83a5c46c67844e9b0947d6e2381d7b1919f013c506dfe28
/* -*- c++ -*- Copyright (C) 2004-2012 Christian Wieninger This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the Lic...
C
services.c
jowi24/vdr-epgsearch
gpl-2.0
11,193
339
codeparrot/github-code
9f8f1ee6f1fa6974683df2a5b3341b229f22b778ae8960980ddf663384542975
/** * \file factory.cpp * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * * \author André Pönitz * * Full author contact details are available in file CREDITS. */ #include <config.h> #include "factory.h" #include "Buffer.h" #include "BufferParams.h" #in...
C++
src/factory.cpp
rpavlik/lyx-lucid-backport
gpl-2.0
17,828
639
codeparrot/github-code
d47525db857db31727c378e6727b35bb92b2bef7d9be4da8adc8bcdeb848b71e
/* * Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
C
arch/arm/mach-msm/acpuclock-8064.c
perillamint/garlickernel-lgog
gpl-2.0
25,766
591
codeparrot/github-code
2b4e4eb55337461c9f07a21984c7aff5b1bf89047b99a853f54e0fd09545a07d
/* cminv.c CCMATH mathematics library source code. * * Copyright (C) 2000 Daniel A. Atkinson All rights reserved. * This code may be redistributed under the terms of the GNU library * public license (LGPL). ( See the lgpl.license file for details.) * ---------------------------------------------------...
C
matutls/cminv.c
ducha-aiki/mods
gpl-2.0
2,942
96
codeparrot/github-code
041d0c70661a62b20bc202b2d2e2f158b56f75c257f043e9eaf15e9c03a9523d
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle...
PHP
grade/import/xml/grade_import_form.php
ajv/Offline-Caching
gpl-2.0
4,663
97
codeparrot/github-code
e08eb80098bd7c86e4e1b096f2c34a261b7f01fccf78513b5adc600fe11d8137
/* -*- 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/NetworkManagerUtils.c
vicamo/NetworkManager
gpl-2.0
79,215
2,549
codeparrot/github-code
63c3e77db12c482b724a9153536b2611a066de365463454ff5eddf3f5ae4a97e
#pragma once #include "sdk_ItemDesigner.h" #include "sdk_ItemFactory.h" #include "MenuSet.h" #include "Preferences.h" ////////////////////////////////////////////////////////////////////////////////////////////// class DlgApproachItems : public CDialogImpl<DlgApproachItems>, public CWinDataExchange<Dl...
C
_src/Approach/DlgOptionsApproachItems.h
kerido/koapch
gpl-2.0
10,623
423
codeparrot/github-code
8b032672726ed6a73e1fe5f9d96429769c4fbd0c463b68e05a25315a191a586b
<?php /** * Fields group field. * allow you to add "table" of fields */ class Just_Field_RelatedContent extends Just_Field{ function Just_Field_RelatedContent(){ $field_ops = array( 'classname' => 'field_relatedcontent' ); $this->Just_Field( 'relatedcontent', __('Related Content', JCF_TEXTDOMAIN), $field_ops...
PHP
wp-content/plugins/just-custom-fields/components/relatedcontent/related-content.php
droconnel22/SurvivingMyLife
gpl-2.0
10,664
298
codeparrot/github-code
6356a8a8f02155e93eff89bd67229f490299c434d3c5989921d4cb50823e5914
/* * Copyright 2009-2015 Contributors (see credits.txt) * * This file is part of jEveAssets. * * jEveAssets 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 you...
Java
src/main/java/net/nikr/eve/jeveasset/io/shared/ApiConverter.java
stiez/jeveassets
gpl-2.0
13,824
336
codeparrot/github-code
423446d1f1d210f34806713e2cde687d78395b5bd656867210321b0ccba2ac6d
package com.coggroach.minekeeper.game; import android.content.Context; import android.view.MotionEvent; import android.view.View; import com.coggroach.minekeeper.tile.Tile; import java.util.ArrayList; /** * Created by TARDIS on 20/11/2014. */ public abstract class Game { protected Tile[] tiles; protected ...
Java
app/src/main/java/com/coggroach/minekeeper/game/Game.java
Coggroach/MineKeeper
gpl-2.0
1,874
92
codeparrot/github-code
d0556d5e7bf85144c96263e64eed8a72f3c80952b678c59b92fe22f632b54ff1
/* Copyright (c) 2000, 2012, Oracle and/or its affiliates. Copyright (c) 2009, 2013, Monty Program Ab This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This...
C++
sql/item_timefunc.cc
SunguckLee/MariaDB-PageCompression
gpl-2.0
92,428
3,242
codeparrot/github-code
88f88d671ebf3dd9b7f7d78f773ebae1560c0fc8b71396bb5f9354dbb745a34f
<?php /** * Escrow admin related settings. * * @package Components\Payments\Escrow\Admin */ if ( is_admin() ) { add_action( 'init', '_appthemes_register_payments_escrow_settings', 25 ); } /** * Registers the payments escrow settings page. * * @return void */ function _appthemes_register_payments_escrow_setti...
PHP
wp-content/themes/vantage/includes/payments/escrow/admin/settings.php
jackhutson03/Exashare
gpl-2.0
5,278
183
codeparrot/github-code
5f40cd8299ee6275d15dd201ffc706ec04eb6ec593bf0d3fcc49a714f1d9200b
# SecuML # Copyright (C) 2016-2017 ANSSI # # SecuML 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. # # SecuML is distributed in the h...
Python
SecuML/core/ActiveLearning/QueryStrategies/AnnotationQueries/AnnotationQueries.py
ah-anssi/SecuML
gpl-2.0
3,837
101
codeparrot/github-code
27f29c3d020071ed482415ee03c57be2eec2f0b311a1abd7cbe86d489c107447
<?php /** * AmanCMS * * LICENSE * * This source file is subject to the GNU GENERAL PUBLIC LICENSE Version 2 * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://www.gnu.org/licenses/gpl-2.0.txt * If you did not receive ...
PHP
application/modules/core/models/dao/pdo/mysql/User.php
salem/aman
gpl-2.0
5,366
181
codeparrot/github-code
d0cd31376aff6f9db0d688e254f4b4eabb6082002e15e860d4a0b120a92c1eac
#define dl 28 #include <iostream> #include "imagen.h" imagen dibujos[11]; #include "kibusIV.h" #include "mundo.h" #include "grafo.h" #include <random> using namespace std; int densidad=118; int velocidad=118; int slide=0; int escribiendo; string texto; void ponerTexto(int x, int y, void* font, const char *string){...
C++
kibus IV/main.cpp
TachoMex/Artificial-Inteligence-14b
gpl-2.0
8,820
393
codeparrot/github-code
8702ab1f25c1b2bca3c6bb4a3a2ca5feecfe71a3c3c4bb2c8f731abeed672f0d
/* * OHCI HCD (Host Controller Driver) for USB. * * (C) Copyright 1999 Roman Weissgaerber <weissg@vienna.at> * (C) Copyright 2000-2005 David Brownell * (C) Copyright 2002 Hewlett-Packard Company * * OMAP Bus Glue * * Modified for OMAP by Tony Lindgren <tony@atomide.com> * Based on the 2.4 OMAP OHCI driver ori...
C
drivers/usb/host/ohci-omap.c
aznrice/android_kernel_lge_zee
gpl-2.0
13,697
559
codeparrot/github-code
9ec5571e3503fa4240b7ff40ed6b054e06f2093453a77efec4723af3158420f7
#include <stdio.h> #include <string.h> #include <assert.h> #include "tset.h" using namespace tset; const size_t bit_size_aelem = sizeof(aelem)*8; const aelem left_one =((aelem) 1)<<(bit_size_aelem-1); TSet::TSet(int tree_length) { if (tree_length>0) { set_length(tree_length); bitdata=new aelem[array_...
C++
tset.cpp
jmnybl/setlib
gpl-2.0
7,337
313
codeparrot/github-code
194f03888e84331c994de12de0b17d68ec052b0aaf7ff36fba19f7504718670c
package auth.mapper; import api.v1.CoordinateFormat; import api.v1.UserPreferences; import auth.models.User; import auth.types.RoleType; import models.UserPreferenceModel; import java.util.ArrayList; import java.util.List; public class UserMapper { public api.v1.User mapToApi(User mUser) { api.v1.User apiUse...
Java
app/auth/mapper/UserMapper.java
metno/poseidon-rest
gpl-2.0
2,331
86
codeparrot/github-code
800ab21c85620a8865e326f19aab92c5e408632c4b8822273bd334a0c3d8f6d2
// File: utils.cpp // Some utility methods // // This file is part of the Ember firmware. // // Copyright 2015 Autodesk, Inc. <http://ember.autodesk.com/> // // Authors: // Richard Greene // Jason Lefley // // This program is free software; you can redistribute it and/or // modify it under the terms of t...
C++
utils.cpp
DmitriyVovk/printer
gpl-2.0
11,403
402
codeparrot/github-code
dee3a3b155837b6317649ad91fea186b2bc74707c1dcfd787d3c9552d4de76f7
<!--$Id: freebsd.so,v 11.12 2000/03/18 21:43:10 bostic Exp $--> <!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> <!--All rights reserved.--> <html> <head> <title>Berkeley DB Reference Guide: FreeBSD</title> <meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> <m...
HTML
bdb/docs/ref/build_unix/freebsd.html
NickeyWoo/mysql-3.23.49
gpl-2.0
2,952
58
codeparrot/github-code
3a4686c06b1fc6bb5eb80d819d1eb0a99b54391043c49e43b897fc70c7d9a5e9
/** * Copyright (C) 2013, Moss Computing Inc. * * This file is part of appkeep. * * appkeep 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. *...
Java
server/src/test/java/com/moss/appkeep/server/AbstractAppkeepServiceTest.java
mosscode/appkeep
gpl-2.0
16,906
451
codeparrot/github-code
a2ca3c808867ebb4bbd3030b3babd8652ba79b3d74c7ae9538b2d86a28fa6149
#ifndef BUILD_LK #include <linux/string.h> #include <linux/kernel.h> #endif #include "lcm_drv.h" #ifdef BUILD_LK #include <platform/upmu_common.h> #include <platform/mt_gpio.h> #include <platform/mt_i2c.h> #include <platform/mt_pmic.h> #include <string.h> #elif defined(BUILD_UBOOT) #include <asm/arch/mt_gpio.h> #else ...
C
drivers/misc/mediatek/lcm/r63419_wqhd_truly_phantom_2k_cmd_ok/r63419_wqhd_truly_phantom_2k_cmd_ok.c
AnonymousMediatekTeam/android_kernel_aio_otfp
gpl-2.0
21,889
751
codeparrot/github-code
f0f7997a36910a6983415431a4cbb729a5829a0dc3c0373c15d7a549d35a3810
package Thruk::Utils::Reports; =head1 NAME Thruk::Utils::Reports - Utilities Collection for Reporting =head1 DESCRIPTION Utilities Collection for Reporting =cut use warnings; use strict; use Carp; use Class::Inspector; use File::Slurp; use Data::Dumper; use Thruk::Utils::CLI; use Thruk::Utils::Reports::Render; us...
Perl
plugins/plugins-available/reports2/lib/Thruk/Utils/Reports.pm
riskersen/Thruk
gpl-2.0
46,523
1,335
codeparrot/github-code
412a9026da67d700dab4f54ca18a493f418cda4af273a22086bb04e7ef32b08e
/** * The Forgotten Server - a free and open-source MMORPG server emulator * Copyright (C) 2015 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/const.h
fir3element/downgrade
gpl-2.0
13,490
523
codeparrot/github-code
c9137f71c415ac2b09d5fec3fe6f32df3bd3c6c8059b12df325feea7b0c9a698
#include "../vidhrdw/aerofgt.cpp" /*************************************************************************** Various Video System Co. games using the C7-01 VS8803 VS8904 VS8905 video chips. I'm not sure, but I think 8904/8905 handle sprites and c7-01/8803 tilemaps. tail2nos doesn't have the 8904/8905, and indeed it...
C++
src/drivers/aerofgt.cpp
Neo2003/mame4all-pi-adv
gpl-2.0
69,117
1,759
codeparrot/github-code
5b12148dff99cce9e41d325d3daf6380972ed2e312221e3cac4d79ab2111493b
<?php require_once( plugin_dir_path( __FILE__ ) . 'zipcodelib/dbfile.php' ); class WPBDP_ZipCodeSearchModule_Admin { private $module = null; public function __construct( &$module ) { $this->module = $module; add_action( 'admin_notices', array( &$this,'admin_notices' ) ); ...
PHP
wp-content/plugins/business-directory-zipcodesearch/admin.php
goozmo/mentors-and-masters
gpl-2.0
19,379
453
codeparrot/github-code
2b074b5fb77383e82c012409e7ce862a077a09c70ec7ef3d3d14aa44358d250d
<?php /* Plugin Name: WordPress Importer Plugin URI: http://wordpress.org/extend/plugins/wordpress-importer/ Description: Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file. Author: wordpressdotorg Author URI: http://wordpress.org/ Version: 0.3 Text Domain: word...
PHP
wp-content/themes/averin/hades_framework/odin/importer/wordpress-importer.php
iservan/norml
gpl-2.0
39,647
1,061
codeparrot/github-code
7dbd827ac34231d46b492988629996eecbddc10ec2472dec28964df9dde5f993
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
TMessagesProj/src/main/java/org/telegram/messenger/exoplayer2/source/MergingMediaPeriod.java
Blaez/ZiosGram
gpl-2.0
7,919
220
codeparrot/github-code
a5b385b15c9cbc5e5b4321ec787a7ae95811018686c8e8597b6ec2494569ad1b
/*************************************************************************** qgscomposermanager.h ------------------------ begin : September 11 2009 copyright : (C) 2009 by Marco Hugentobler email : marco at ...
C
src/app/composer/qgscomposermanager.h
yordan-desta/QgisIns
gpl-2.0
3,982
106
codeparrot/github-code
6bd6f0905ea7d62ca8d7ff5e21833b94d877582fdb5bb81b4fd5c774854f2dff
<?php /** * @version $Id: category.php 18 2013-10-01 15:04:53Z szymon $ * @package DJ-MediaTools * @copyright Copyright (C) 2012 DJ-Extensions.com LTD, All rights reserved. * @license http://www.gnu.org/licenses GNU/GPL * @author url: http://dj-extensions.com * @author email contact@dj-extensions.com * @...
PHP
administrator/components/com_djmediatools/controllers/category.php
andremarceloteixeira/relaixamento.com-local
gpl-2.0
2,356
80
codeparrot/github-code
5897c086c9a0b1061912567b39d07919547eb973bfdab9ec16f031748140a639
#include <iostream> #include <cstdio> #include <cstdlib> #include <cmath> #include <vector> #include <bitset> using namespace std; typedef long long ll; const double MAX_DIST = 60000000; ll sieve_size; bitset<1000010> bs; vector<int> primes; // Create a list o prime number from [0, ..., upperbound] void sieve (ll u...
C++
Matematica/2180/main.cpp
bergolho1337/URI-Online-Judge
gpl-2.0
1,431
60
codeparrot/github-code
aeec23ee910e6e2f86ada40c9b5b56afe61043ea38c4d13bc04e2edc368414d2
#!/usr/bin/env python from __future__ import print_function import os, platform from argparse import ArgumentParser import numpy as np import time import resource from mayavi import mlab from netCDF4 import Dataset from mpl_toolkits.basemap import Basemap from numba import jit @jit def add_triangles_from_square(x, ...
Python
lego5.py
NEMO-NOC/NEMOsphere
gpl-2.0
14,256
335
codeparrot/github-code
02d8ca46fee6d66a467066558a50ae9ba39bb61f9a031839a34ece82e5848781
"use strict"; var UpdateMixin = { /** * Return Date object when the update was created * * @method createdAt * @return {Date} */ createdAt: function() { return new Date(this.get("createdAt")); }, /** * Return true of the given user has read this update * ...
JavaScript
models/client/UpdateMixin.js
opinsys/puavo-ticket
gpl-2.0
637
31
codeparrot/github-code
fc639bab869c35031fe4d955f46e8f2020fe136c45cf893c1a666e3e2926751b
#ifndef _IXGB_OSDEP_H_ #define _IXGB_OSDEP_H_ #include <linux/types.h> #include <linux/delay.h> #include <asm/io.h> #include <linux/interrupt.h> #include <linux/sched.h> #undef ASSERT #define ASSERT(x) BUG_ON(!(x)) #define ENTER() pr_debug("%s\n", __func__); #define IXGB_WRITE_REG(a, reg, value) ( \ writel((val...
C
kernel/drivers/net/ixgb/ixgb_osdep.h
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
760
35
codeparrot/github-code
0a6895e5e89c2aeb6ee5895ca1fb94ad97da0e8344f16ffb9c080f0d54de5faa
/* -------------------------------------------------------------------- EXTREME TUXRACER Copyright (C) 2010 Extreme Tuxracer 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 ...
C++
src/credits.cpp
dbluelle/pandora-extremetuxracer
gpl-2.0
3,934
166
codeparrot/github-code
a6efa1ccd6fae0cc60e07ec3a2b1695189dd2741dd99c367d99b267f7f134261
/* * TurboSight TBS 5925 DVB-S2 driver * * Copyright (c) 2012 Konstantin Dimitrov <kosio.dimitrov@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, version 2. * */ #include ...
C
linux/drivers/media/dvb/dvb-usb/tbs5925.c
work40/linux-tbs-drivers
gpl-2.0
12,848
535
codeparrot/github-code
db0e5f9a30e50a51eb800a001fc6b947ae519053aba799dbbdf1b2af86bb7102
#include "parser.h" #include "token.h" #include "semanticsAnalyzer.h" #include <iostream> #include <iomanip> using std::setw; using std::cout; using std::endl; using std::stack; Parser::Parser(string fname) : productionMap(), fSymbolMap(), gSymbolMap(), syntaxStack(), sema...
C++
parser.cpp
yatesm/CPSC827
gpl-2.0
9,643
237
codeparrot/github-code
d8a520a62f4a9505c7e33481b85c68283acf0cfc9ab6ba9c5b3707789ee86bae
/* -*- mode: C; c-file-style: "gnu" -*- */ /* dbus-gvalue.c GValue to-from DBusMessageIter * * Copyright (C) 2004 Ximian, Inc. * Copyright (C) 2005 Red Hat, Inc. * * Licensed under the Academic Free License version 2.1 * * This program is free software; you can redistribute it and/or modify * it under the term...
C
libraries/dbus-glib-0.102/dbus/dbus-gvalue.c
maria-msu-seclab/mpotrDevelopment
gpl-2.0
56,296
2,081
codeparrot/github-code
24178123cc90416cdc89f0814ff26d273fd74f308263ff13ffe9eaa594a760e4
/* ** Copyright (C) 2006 Olivier DEMBOUR ** $Id: dns_decode.c,v 1.2.2.3 2008/11/03 12:07:52 dembour Exp $ ** ** ** 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 Licens...
C
server/dns_decode.c
aaronbush/dns2tcp-ab
gpl-2.0
2,989
114
codeparrot/github-code
83fb82b5d3d812c0e0e44b9cb7a4f54075b8f67e1d8c0489865cab8b0536d113
<?php /** * language Class. * * @package classes * @copyright Copyright 2003-2016 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: Author: DrByte Thu Apr 2 14:27:45 2015 -0400 Modified in v1.5.5 $...
PHP
includes/classes/language.php
zencart/zencart
gpl-2.0
2,398
77
codeparrot/github-code
d37c273319d04bc08bc2bab6e125de6956c8473b62d54982253b15d7b4f85e08
############################################################################ # # Use to build dependencies within stdlib. # class StdlibDependencies attr_reader :dependencies, :version REQUIRE = %r{^\s*require[ (]['"]([a-zA-Z0-9/-_]+)["'][)]?\s*$} REQUIRE_RELATIVE = %r{^\s*require_relative[ (]['"]([a-zA-Z0-9/-_...
Ruby
rakelib/stdlib_dependencies.rb
jonatas/mandalas-android
gpl-2.0
2,944
137
codeparrot/github-code
37f01231986e402ead6043fa18422a977c49b898f0a685e0196a1fa90ccd7883
/** * DouglasPeuckerTest.cpp * * Copyright (C) 2015 Joey Andres * 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++
test/src/DouglasPeuckerTest.cpp
JoeyAndres/LineSimplification
gpl-2.0
4,340
121
codeparrot/github-code
c76ef8fd0b7798fef68038c3fbc0b3afcd6f1d93abddd4abfc09cb8f872ea288
# See bottom of file for license and copyright information package Foswiki::Configure::Checkers::RCS::overrideUmask; use Foswiki::Configure::Checker (); our @ISA = ('Foswiki::Configure::Checker'); use strict; use warnings; sub check { my $this = shift; my $e; # Don't check umask on Windows return '' ...
Perl
lib/Foswiki/Configure/Checkers/RCS/overrideUmask.pm
csirac2/core
gpl-2.0
3,132
85
codeparrot/github-code
7a758ab66763c24b6750737d5e29d3f03c0ec465c858e42a9e806513c42c9379
--PSYフレーム・オーバーロード function c36970611.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) c:RegisterEffect(e1) --remove local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(36970611,0)) e2:SetP...
Lua
c36970611.lua
Fluorohydride/ygopro-scripts
gpl-2.0
3,071
80
codeparrot/github-code
271fef5db4dff01a81a4576f5640ebdffd7c5f00e1d8381cf008e79a28097806
#!/usr/bin/env python import json, logging, sys import python_sqs log = None line = None encodings = ('UTF-8', 'WINDOWS-1252', 'ISO-8859-1') try: python_sqs.init(json_input=True) log = logging.getLogger(__name__) line = sys.stdin.readline() while line: line = line.strip() for encoding i...
Python
python_sqs_stdin.py
Praesidio/syslog-ng-python-sqs
gpl-2.0
871
35
codeparrot/github-code