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 |
|---|---|---|---|---|---|---|---|---|
8c1649c2fcebdadb4c317f272bc388f8d3b242e9d22fa3e8233d91f1914f26e7 | 'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var React = require('react');
var React__default = _interopDefault(React);
var mobx = require('mobx');
var reactNative = requ... | JavaScript | ajax/libs/mobx-react/5.3.6/native.js | sufuf3/cdnjs | mit | 48,550 | 1,435 | codeparrot/github-code |
4e12c1e66fecd3448c7979da5bd494a5555cba3e8287935df97ad5c4519bf21e | /*
* (C) Copyright 2016 Rockchip Electronics Co., Ltd
* (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _ASM_ARCH_GRF_RK3368_H
#define _ASM_ARCH_GRF_RK3368_H
#include <common.h>
struct rk3368_grf {
u32 gpio1a_iomux;
u32 gpio1b_iomux;
u32 gpi... | C | u-boot/arch/arm/include/asm/arch-rockchip/grf_rk3368.h | guileschool/beagleboard | mit | 2,731 | 137 | codeparrot/github-code |
7ae85b0b08369c19204cac3f12a614e2d637b88f43ee8f6e0272b9d059d13b79 | /*
This example renders a treemap using the built in
TreeDraw function.
*/
/**
* Create the actual tree.
* @return {mo.Tree}
*/
function makeTree(){
var tree = new mo.Tree();
var parent = new mo.Node('root', 'root');
var child1 = new mo.Node('c1', 'c1');
var child2 = new mo.Node('c2', 'c2');
tree.a... | JavaScript | examples/treemap/index.js | fmacias64/moebio_framework | mit | 1,433 | 67 | codeparrot/github-code |
f9424bcc5a4f5e1fd362a2b9616ea0361f4769b98bb3ff1c32a227b00f2574d0 | /*
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#im... | C | Pods/ComponentKit/ComponentKit/Core/CKComponentInternal.h | wolfmasa/WFPComponentKit | cc0-1.0 | 3,222 | 74 | codeparrot/github-code |
9e5db869cefc349e819dfbf62d756ef5cfcf57cdd6677680858f0d1ed1968b49 | /**
* Copyright (c) 2010-2019 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | Java | bundles/binding/org.openhab.binding.zwave/src/main/java/org/openhab/binding/zwave/internal/protocol/serialmessage/RemoveFailedNodeMessageClass.java | computergeek1507/openhab | epl-1.0 | 5,682 | 127 | codeparrot/github-code |
1f070c1c059ed700c59c2b6fd1db64acb4002b49dce0d4daddfdc7b9b7efa4b4 | /**
* Copyright (c) 2010-2019 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | Java | bundles/org.openhab.binding.darksky/src/main/java/org/openhab/binding/darksky/internal/model/DarkSkyJsonWeatherData.java | theoweiss/openhab2 | epl-1.0 | 2,528 | 108 | codeparrot/github-code |
9894553c9f02feb436efdcaa68ca8f0d713be3217a5717d10451df37d6a24e72 | /*
* USB device quirk handling logic and table
*
* Copyright (c) 2007 Oliver Neukum
* Copyright (c) 2007 Greg Kroah-Hartman <gregkh@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 Foundat... | C | drivers/usb/core/quirks.c | jkoelndorfer/android-kernel-msm | gpl-2.0 | 2,911 | 101 | codeparrot/github-code |
db398486ab878c4e60f7565e170c1c13270a9a1c46524988a523fb5f59c4a30c | <?php
function awpcp_payments_api() {
static $payments = null;
if ( is_null( $payments ) ) {
$payments = new AWPCP_PaymentsAPI( new AWPCP_Request() );
}
return $payments;
}
class AWPCP_PaymentsAPI {
private $request = null;
private $terms = null;
private $types = array();
p... | PHP | wp-content/plugins/another-wordpress-classifieds-plugin/includes/payments-api.php | muhammadsufian/gamingmobileapp | gpl-2.0 | 24,187 | 643 | codeparrot/github-code |
59585f4188133117e027f7e0016c0f85830f68f309a43f162ea033bc93554cbe | #ifndef ASMARM_DMA_MAPPING_H
#define ASMARM_DMA_MAPPING_H
#ifdef __KERNEL__
#include <linux/mm_types.h>
#include <linux/scatterlist.h>
#include <linux/dma-attrs.h>
#include <linux/dma-debug.h>
#include <asm-generic/dma-coherent.h>
#include <asm/memory.h>
#define DMA_ERROR_CODE (~0)
extern struct dma_map_ops arm_dma... | C | arch/arm/include/asm/dma-mapping.h | aldencolerain/mc2kernel | gpl-2.0 | 8,947 | 278 | codeparrot/github-code |
e0b243dc430ad90dc969275e69acf583af09c1337778e08cb07a8575675f9b67 | /* Shared library add-on to iptables to add CLUSTERIP target support.
* (C) 2003 by Harald Welte <laforge@gnumonks.org>
*
* Development of this code was funded by SuSE AG, http://www.suse.com/
*/
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <getopt.h>
#include <stddef.h>... | C | extensions/libipt_CLUSTERIP.c | CobraDroid/android_external_iptables | gpl-2.0 | 7,604 | 251 | codeparrot/github-code |
d1ac56f2609134ad6aaf3083360df36e25bb70e8a064d151e432eb4fe195dbd4 | var icms = icms || {};
icms.subscriptions = (function ($) {
this.active_link = {};
this.onDocumentReady = function () {
this.setSubscribe();
$('.subscriber').on('click', function () {
icms.subscriptions.active_link = this;
icms.subscriptions.showLoader();
... | JavaScript | templates/default/js/subscriptions.js | filinov/icms2 | gpl-2.0 | 2,818 | 110 | codeparrot/github-code |
2d4ed1207d38fb8b9da5c4b0b49b622aba06cbb632e934cb81b1d7b272c2a32a | # Some useful functions to extract data out of emails
# Copyright (C) 2002-2012 John Goerzen & contributors
#
# 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... | Python | offlineimap/emailutil.py | styk-tv/offlineimap | gpl-2.0 | 1,573 | 39 | codeparrot/github-code |
25dc77d147d18270102477efefcabe83aff7023154a983be5e685ffe58564d8d | /*
* Copyright (C) 2008-2019 TrinityCore <https://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later v... | C++ | src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/instance_auchenai_crypts.cpp | Aokromes/TrinityCore | gpl-2.0 | 1,520 | 46 | codeparrot/github-code |
ea3167fec0a2240bf1759c52abb6e0cb19affd7a4ba57410ce31b95f20805c96 | (function ($) {
/**
* Drag and drop table rows with field manipulation.
*
* Using the drupal_add_tabledrag() function, any table with weights or parent
* relationships may be made into draggable tables. Columns containing a field
* may optionally be hidden, providing a better user experience.
*
* Created tableD... | JavaScript | sites/default/files/js/js_epbrEI_0goJi4R57mtzv1h04XFGpS-jRxZzMGykmego.js | Jackamomo/beta.designmesh.co.uk | gpl-2.0 | 60,971 | 1,641 | codeparrot/github-code |
934e4d6c68a31be917ba4151f188d3e96cbbd40e017f253de0fc0b891b1a159b |
#include <iostream>
#include <cstdio>
#include <vector>
#include <cassert>
#include <cmath>
#define __PI__ 3.14159265
void writePtsToFile( const double* pts, const unsigned int ptsLen, char* filename) {
FILE* outfile = fopen(filename,"w");
if(ptsLen >0) {
unsigned int numPts = ptsLen/3;
fwrite(&numPts, ... | C++ | scripts/genFBMpts.C | hsundar/dendro | gpl-2.0 | 1,334 | 57 | codeparrot/github-code |
48e532780a7740a380664c0949285a1be219493649086edfb713df51244a3dc5 | #include <iostream>
#include "itunesartbox.h"
#include "itunesdatabox.h"
#include "mp4isobox.h"
#include "mp4file.h"
#include "tfile.h"
#include "mp4tagsproxy.h"
using namespace TagLib;
class MP4::ITunesArtBox::ITunesArtBoxPrivate
{
public:
ITunesDataBox* dataBox;
};
MP4::ITunesArtBox::ITunesArtBox( TagLib::File* ... | C++ | Frameworks/TagLib/taglib/taglib/m4a/itunesartbox.cpp | vuongfunny/minstrel | gpl-2.0 | 1,655 | 69 | codeparrot/github-code |
5cf4938993ca4b2c5845a388b9256059f593e448265de3dd9516e6310386c7bf | #pragma once
#include "IAttributeFields.h"
#include "ObjectFactory.h"
#include "unordered_ref_array.h"
namespace ParaEngine
{
/** a central place for managing all attributes of all classes in ParaEngine. */
class CAttributesManager : public IAttributeFields
{
public:
CAttributesManager();
~CAttributesManager()... | C | Client/trunk/ParaEngineClient/Core/AttributesManager.h | kkvskkkk/NPLRuntime | gpl-2.0 | 3,130 | 68 | codeparrot/github-code |
8761d290822b5e3f214437be5a7be8c04b83f5186328fb34fbd263f8b7b9aadb | //=============================================================================
// MuseScore
// Music Composition & Notation
//
// Copyright (C) 2002-2012 Werner Schweer
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2
// ... | C++ | mscore/qmlplugin.cpp | JohnsonYuan/MuseScore | gpl-2.0 | 6,008 | 214 | codeparrot/github-code |
4fa4f9e21a4faef174ca1ef7e340ec5e8061cb994ccd2766e3be11f0f43106cc | module modkinem
!! contains subroutines to compute vorticity, shearing, stretching in the
!! p-points.
contains
subroutine vor(vort,qscx,qscy,idm,jdm,u,v)
integer :: idm,jdm
real*4 :: vort(idm,jdm),tvort(idm,jdm),u(idm,jdm),v(idm,jdm)
real*4 :: qscx(idm,jdm),qscy(idm,jdm)
integer :: i,j,im1,ip1,jp1,jm1
do j... | FORTRAN | all_scripts/stratification/vorticity_z/src/modkinem.f90 | jungla/HYCOM-tools | gpl-2.0 | 3,372 | 149 | codeparrot/github-code |
c5f8b141fc6f867f87249e2d0dc167a5f8eacfa3d8840be836f5478e8548599a | <?php
//make syre we have the WordPress class
if ( ! class_exists( 'WP_List_Table' ) ) {
require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
}
//table of all 404's
if ( ! class_exists( 'log_content_4_table' ) ) {
class log_content_4_table extends WP_List_Table {
/**
* Construct table obje... | PHP | wp-content/plugins/better-wp-security/inc/admin/tables.php | thanhson1085/moex | gpl-2.0 | 26,119 | 1,254 | codeparrot/github-code |
1187e5127c19c235000ddf2498cc9b2afc5e6a51eaf0fced9f39919ba1c6e5c0 | <?php
/* @package Joomla
* @copyright Copyright (C) Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* @extension Phoca Extension
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/
defined... | PHP | administrator/components/com_phocadownload/views/phocadownloadlic/view.html.php | alexrah/namreb | gpl-2.0 | 2,117 | 63 | codeparrot/github-code |
78213c6b53f33b946f548c5bd7fe823f49df463b592d3a552d108c6402964d35 | <?php
/**
* LICENSE: Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met: Redistributions of source code must retain the
* above copyright notice, this list of conditions and the following
* disclaimer. Redistributions i... | PHP | sites/all/modules/civicrm/packages/amfphp/browser/JSON.php | hampelm/Ginsberg-CiviDemo | gpl-2.0 | 14,178 | 445 | codeparrot/github-code |
682cabb1c2203f2db28b78995b661d08e06af004bb62ea9ac8315c751b745ec8 | /****************************************************************************
* Copyright (C) 2010 by Michal Rudolf <mrudolf@kdewebdev.org> *
* Copyright (C) 2012 by Jens Nissen jens-chessx@gmx.net *
****************************************************************************/
#includ... | C++ | src/gui/commentdialog.cpp | niklasf/chessx | gpl-2.0 | 2,379 | 86 | codeparrot/github-code |
3e7d7c8e7377750706d838f5010076b75f925d1d6ac1531eff0a00bee16f37a8 | // SPDX-License-Identifier: GPL-2.0
/*
* Renesas RCar Gen3 PCIEC driver
*
* Copyright (C) 2018-2019 Marek Vasut <marek.vasut@gmail.com>
*
* Based on Linux PCIe driver for Renesas R-Car SoCs
* Copyright (C) 2014 Renesas Electronics Europe Ltd
*
* Based on:
* arch/sh/drivers/pci/pcie-sh7786.c
* arch/sh/drive... | C | drivers/pci/pci-rcar-gen3.c | Digilent/u-boot-digilent | gpl-2.0 | 10,255 | 405 | codeparrot/github-code |
c1f11a780938d82380c5ce49a39e3d943b181e5f5cab6000c7d13bf6cc3bd467 | /*
* Require-CSS RequireJS css! loader plugin
* 0.1.8
* Guy Bedford 2014
* MIT
*/
/*
*
* Usage:
* require(['css!./mycssFile']);
*
* Tested and working in (up to latest versions as of March 2013):
* Android
* iOS 6
* IE 6 - 10
* Chome 3 - 26
* Firefox 3.5 - 19
* Opera 10 - 12
*
* browserling.com use... | JavaScript | www_src/js/requirejs/css.js | sergez/carpc_client | gpl-2.0 | 4,397 | 169 | codeparrot/github-code |
5dc13e4f8ef742e46c596c3df912a1de2e9a6fdc1f3f555d0f8fa24a9176882d | /*jslint unparam: true, browser: true, indent: 2 */
;(function ($, window, document, undefined) {
'use strict';
Foundation.libs.section = {
name: 'section',
version : '4.1.2',
settings : {
deep_linking: false,
one_up: true,
callback: function (){}
},
init :... | JavaScript | wp-content/themes/spine_old/foundation/javascripts/foundation/foundation.section.js | slamorte/dk | gpl-2.0 | 9,145 | 291 | codeparrot/github-code |
923f893b256144e266e174c96946e20c1d0827926f00fe5f38b9b92d3fa0131a | /*
* Button and Button LED support OMAP44xx hummingbird.
*
* Copyright (C) 2011 Texas Instruments
*
* Author: Dan Murphy <dmurphy@ti.com>
*
* 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... | C | arch/arm/mach-omap2/board-hummingbird-buttons.c | MoKee/android_kernel_bn_omap | gpl-2.0 | 3,395 | 147 | codeparrot/github-code |
9da0910a0f6fc4f1b827af6a49e917afae67be39e6ef673ab0692406bd6a1697 | /***
This file is part of systemd.
Copyright 2015 Daniel Mack
systemd is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
... | C | src/login/logind-utmp.c | msekletar/systemd-fedora | gpl-2.0 | 5,343 | 184 | codeparrot/github-code |
f42a7faaea80768007375f4c4a898d89d82519156b637fa954fa8d49f7cbfcb9 | // SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2019 DENX Software Engineering
* Lukasz Majewski, DENX Software Engineering, lukma@denx.de
*
* Copyright (C) 2011 Sascha Hauer, Pengutronix <s.hauer@pengutronix.de>
*/
#include <common.h>
#include <malloc.h>
#include <clk-uclass.h>
#include <dm/device.h>
#incl... | C | drivers/clk/clk-fixed-factor.c | Digilent/u-boot-digilent | gpl-2.0 | 1,978 | 83 | codeparrot/github-code |
e511e7278d141a2f5021fa4042229c1640417658275be5007b5a1ae73ecea5ee | <?php
/**
* @copyright (C) 2013 iJoomla, Inc. - All rights reserved.
* @license GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html)
* @author iJoomla.com <webmaster@ijoomla.com>
* @url https://www.jomsocial.com/license-agreement
* The PHP code portions are distributed under the GPL license.... | PHP | components/com_community/tables/activity.php | mere/fracturedplanet | gpl-2.0 | 8,631 | 358 | codeparrot/github-code |
20e7efc26324682667cd0438c0a7696e37b7e1034a4af3d5146a8199b481dc28 | /*
*
* drivers/media/tdmb/tdmb.h
*
* tdmb driver
*
* Copyright (C) (2011, Samsung Electronics)
*
* 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.
*
* This program is distributed "as is"... | C | drivers/media/tdmb/tdmb.h | vlw/android_kernel_samsung_msm8916_A3 | gpl-2.0 | 5,843 | 236 | codeparrot/github-code |
1d92cfba9e89ee15e8d3c44c57a7d05d583974b052f3ad8aeae18f2c0a71482f | /* This file is part of the KDE libraries
* Copyright 1999-2007 David Faure <faure@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the Licens... | C++ | kded/kbuildmimetypefactory.cpp | vasi/kdelibs | gpl-2.0 | 3,941 | 133 | codeparrot/github-code |
abb78d0ef064798a96cb3320ecb30dc7986bec8ce77c863b42074b06fd79792c | /**
* @name jQuery FullScreen Plugin
* @author Martin Angelov
* @version 1.0
* @url http://tutorialzine.com/2012/02/enhance-your-website-fullscreen-api/
* @license MIT License
*/
(function($){
// Adding a new test to the jQuery support object
$.support.fullscreen = supportFullScreen();
// Creating t... | JavaScript | web/js/004-fullscreen.js | mperceau/PhotoFloat | gpl-2.0 | 3,176 | 145 | codeparrot/github-code |
fb2f3829f77c8dc42c27982d7cca0486377d7ff65750a36026f39dcfb532385a | /*
* Copyright (C) 2010 SAMSUNG ELECTRONICS.
*
* 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 WITHOUT... | C | include/media/s5k4ecgx.h | motley-git/Kernel-GT-P73xx-v2 | gpl-2.0 | 6,545 | 304 | codeparrot/github-code |
2c52a64fe213f16b648a3b71afd65db704bc46c413d25f2bc5a74f1c4b2cea40 | --オーバー・コアリミット
function c36560997.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--atk
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_SZONE)
e2:SetTargetRange(LOCATION_MZONE,0)
... | Lua | c36560997.lua | SalvationDevelopment/Salvation-Scripts-TCG | gpl-2.0 | 1,773 | 57 | codeparrot/github-code |
7e7668a33bb7addbd1e48506ae2908600e8d6a9bc410b555b575494468639d55 | /* arch/arm/mach-msm/vreg.c
*
* Copyright (C) 2008 Google, Inc.
* Copyright (c) 2009, Code Aurora Forum. All rights reserved.
* Author: Brian Swetland <swetland@google.com>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, a... | C | arch/arm/mach-msm/vreg.c | tenorntex/lhbalanced | gpl-2.0 | 9,232 | 373 | codeparrot/github-code |
e806fca2cc897f42d54c042d631b0bb102267f4a0ee1191193f88255b3791d9f | (function ($) {
/**
* Move a block in the blocks table from one region to another via select list.
*
* This behavior is dependent on the tableDrag behavior, since it uses the
* objects initialized in that behavior to update the row.
*/
Drupal.behaviors.taskbarUIDrag = {
attach: function (context, settings) {
... | JavaScript | sites/all/modules/taskbar/modules/taskbar_ui/taskbar_ui.js | chandra20/ch | gpl-2.0 | 4,863 | 110 | codeparrot/github-code |
8ad17a4df29fce83029c6ef2853ede742d645cc1ef901e66bc0f9d3e14c1e7f6 | /*
* Library implementing the most common irq chip callback functions
*
* Copyright (C) 2011, Thomas Gleixner
*/
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/interrupt.h>
#include <linux/kernel_stat.h>
#include <linux/syscore_ops.h>
#include "intern... | C | kernel/irq/generic-chip.c | TripNRaVeR/tripndroid-endeavoru-3.1.10-htc | gpl-2.0 | 9,210 | 370 | codeparrot/github-code |
d82776f8c9eb6fa1ecdd517d9f52945cfc2a1db36bcf898e7bf08c3834b9e10c | /***************************************************************************
* Copyright (C) 2010-2011 by Heiko Koehn ( KoehnHeiko@googlemail.com ) *
* *
* *
* This pr... | C++ | src/glwidget.cpp | Aico/sfmudlet | gpl-2.0 | 86,549 | 2,064 | codeparrot/github-code |
8d016cdbc977da038c3c32b700ff189f21d458cd5de0a95784f4fad425b8099b | <?php
/**
* @version $Id$
* @package Simple Image Gallery Pro
* @author JoomlaWorks - http://www.joomlaworks.net
* @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
* @license http://www.joomlaworks.net/license
*/
// no direct access
defined('_JEXEC') or die ;
class SigProController... | PHP | administrator/components/com_sigpro/controllers/settings.php | resyst-cz/cukrarna-brana-ke-zdravi | gpl-2.0 | 1,989 | 79 | codeparrot/github-code |
6dfc124db2b152218ab651df91beeafe8b56c221aa82494daaac4c1fa39c310a | package main
import (
"bytes"
"errors"
"fmt"
"io"
"math"
"math/rand"
"net"
"strconv"
"sync"
"time"
)
const (
SERVER_NETWORK = "tcp"
SERVER_ADDRESS = "127.0.0.1:8085"
DELIMITER = '\t'
)
var wg sync.WaitGroup
var logSn = 1
func printLog(format string, args ...interface{}) {... | GO | src/multiproc/socket/tcpsock.go | privatego/goc2p | gpl-2.0 | 4,502 | 182 | codeparrot/github-code |
bc7b2199da222532f74daddc6dd5d8e9dbdccaf5dd53c6a3fba40aaf7028c9bc | /*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, pro... | C | sys/src/libc/port/runestrncmp.c | brho/plan9 | gpl-2.0 | 663 | 32 | codeparrot/github-code |
e82546db8cfa608d418bb711ec61748c8f311d9c98b1ada4e03d62fdace0427e | <?php
/**
* @package Redcore
* @subpackage Helper
*
* @copyright Copyright (C) 2008 - 2015 redCOMPONENT.com. All rights reserved.
* @license GNU General Public License version 2 or later, see LICENSE.
*/
defined('JPATH_REDCORE') or die;
/**
* Country helper class.
*
* @package Redcore
* @subp... | PHP | libraries/redcore/helper/country.php | tharunaredweb/redCORE | gpl-2.0 | 2,452 | 140 | codeparrot/github-code |
cdae8430189dcf325d6c3ab5a617c01d360af439be6678237adde93c1d0fa749 | /* packet-ifcp.c
* Routines for iFCP dissection
* RFC 3821, RFC 3643
*
* Copyright 2005 Aboo Valappil (valappil_aboo@emc.com)
* 2006 ronnie sahlberg major refactoring
*
*
* Significantly based on packet-fcip.c by
* Copyright 2001, Dinesh G Dutt (ddutt@cisco.com)
*
* $Id$
*
* Wiresha... | C | epan/dissectors/packet-ifcp.c | boundary/wireshark | gpl-2.0 | 20,899 | 669 | codeparrot/github-code |
96f05fdcd37af592d0365015adc9250a81e989338ab3ad4ed7dafdba3e50d754 | /*
* linux/drivers/message/fusion/mptlan.c
* IP Over Fibre Channel device driver.
* For use with LSI Fibre Channel PCI chip/adapters
* running LSI Fusion MPT (Message Passing Technology) firmware.
*
* Copyright (c) 2000-2008 LSI Corporation
* (mailto:DL-MPTFusionLinux@lsi.com)
*
*/
/*=-=-=-=-... | C | drivers/message/fusion/mptlan.c | rperier/linux | gpl-2.0 | 43,696 | 1,536 | codeparrot/github-code |
76a75c39661fc7be00b8ddd415c48ac4ea2acf9b18800a45f37c488130168907 | /* Eye of Gnome image viewer - user interface for image views
*
* Copyright (C) 2000 The Free Software Foundation
*
* Author: Federico Mena-Quintero <federico@gnu.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
... | C | libeog/ui-image.h | smhotkdg/facedetect-f-spot | gpl-2.0 | 1,922 | 69 | codeparrot/github-code |
ea11523fe2f9448307091463f70b18de0879dea5726ddd85ee103103eb502e9c | /*
* Block driver for media (i.e., flash cards)
*
* Copyright 2002 Hewlett-Packard Company
* Copyright 2005-2008 Pierre Ossman
*
* Use consistent with the GNU GPL is permitted,
* provided that this copyright notice is
* preserved in its entirety in all copies and derived works.
*
* HEWLETT-PACKARD COMPANY MAK... | C | drivers/mmc/card/block.c | lchao-bit/linaro-kernel | gpl-2.0 | 44,774 | 1,784 | codeparrot/github-code |
ad504c2c5c84bf9dc57c59f802a1fe431ac9a1098d3a997b88ab72d951f12b8c | /* file_wrappers.h
*
* $Id$
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of t... | C | wiretap/file_wrappers.h | slowfranklin/wireshark | gpl-2.0 | 2,364 | 62 | codeparrot/github-code |
4408c56df6d3072c2db4b7086470cf82300159a951d6ae3cf676affc1cfef66f | class BookmarkData:
def __init__(self, _id, _title, _url, _parent, _type):
self.mId = _id
self.mTitle = _title
self.mUrl = _url
self.mParent = _parent
self.mType = _type
def dump(self, _intent=' '):
print "%s-> %d, %s, %s, %d, %d" % (_intent, self.mId, self.mTitle, self.mUrl, self.mParent, self.mType... | Python | lib/python/Plugins/Extensions/IniHbbTV/bookmark.py | popazerty/dvbapp2-gui | gpl-2.0 | 8,456 | 307 | codeparrot/github-code |
7f855af2560df4ba2abeef1e7e874be6ebdfe306a3a5306e67a79e537a071740 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java | program_learning/Java/MyEclipseProfessional2014/mr/src/main/java/org/apache/mahout/ep/Mapping.java | huran2014/huran.github.io | gpl-2.0 | 6,039 | 207 | codeparrot/github-code |
9bf87ed5601e3bef1e0c0f88e6d8e533196c84b2f7522130e99c3f71abf22589 | /*
* mm/mremap.c
*
* (C) Copyright 1996 Linus Torvalds
*
* Address space accounting code <alan@lxorguk.ukuu.org.uk>
* (C) Copyright 2002 Red Hat Inc, All Rights Reserved
*/
#include <linux/mm.h>
#include <linux/hugetlb.h>
#include <linux/shm.h>
#include <linux/ksm.h>
#include <linux/mman.h>
#include <linux/swap... | C | mm/mremap.c | RoadRunnr/net-next | gpl-2.0 | 16,461 | 619 | codeparrot/github-code |
3fd3ce31d9eda08c7c6ef16c57cc61353d636c3cb7a49ce21d51a5b41c4da116 | # -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2015 CERN.
#
# Zenodo 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... | Python | zenodo/modules/deposit/config.py | tiborsimko/zenodo | gpl-2.0 | 1,816 | 51 | codeparrot/github-code |
70d679d7821759dccf621c986c984aa0ce929dfb8571b7837fafb92c85f01f4a | /* Tests of *printf for very large strings.
Copyright (C) 2000-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2000.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | C | stdio-common/test-vfprintf.c | Chilledheart/glibc | gpl-2.0 | 3,358 | 137 | codeparrot/github-code |
062f0125649fc03add4fa21d12faec5f7d915c77ed32920e179e62658db9caa6 | /* wvWare
* Copyright (C) Caolan McNamara, Dom Lachowicz, and others
*
* 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 vers... | C | xst.c | AbiWord/wv | gpl-2.0 | 2,492 | 108 | codeparrot/github-code |
a6d22cd796aece2cd3531a3b0614cc9831afe8b9acd08052aa45cbc3c6866ebd | /* driver/leds/leds-pm8058.c
*
* Copyright (C) 2010 HTC 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 program is distributed in the... | C | drivers/leds/leds-pm8058.c | 2fast4u88/Htc-Merge-FastKernel | gpl-2.0 | 18,288 | 668 | codeparrot/github-code |
1b335630a626a6bf66ae5e58a0a6d173f7d447a255bebd2c56a0dc3e34429968 | /*
* =====================================================================================
*
* Filename: ssd.c
*
* Description: Spectral Scan Daemon
*
* Version: 1.0
* Created: 11/21/2011 11:23:05 AM
* Revision: none
* Compiler: gcc
*
* Author: S.Karthikeyan... | C | package_bak/spectral_tpe/src/ssd.c | liutianpingyanxiaoyu/cpe | gpl-2.0 | 79,045 | 2,833 | codeparrot/github-code |
ec9659fe61c1aa3cba436e9483e19645bc20740dfbd1e577e421a9e8772098e8 | /*
* gretl -- Gnu Regression, Econometrics and Time-series Library
* Copyright (C) 2001 Allin Cottrell and Riccardo "Jack" Lucchetti
*
* 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 | gui2/helpfiles.h | maupatras/gretl | gpl-3.0 | 1,867 | 67 | codeparrot/github-code |
f8c1ccf775badef06ada7bc15fd74753b48c9646e03279b22d02313251ba4540 | package net.minecraft.scoreboard;
import java.util.Comparator;
import java.util.List;
public class Score
{
public static final Comparator field_96658_a = new Comparator()
{
private static final String __OBFID = "CL_00000618";
public int compare(Score p_compare_1_, Score p_compare_2_)
{... | Java | eclipse/cauldron/src/main/java/net/minecraft/scoreboard/Score.java | Scrik/Cauldron-1 | gpl-3.0 | 2,777 | 104 | codeparrot/github-code |
b65af38666e8fda950f1520bcce03b60c4dc616e5934fa1b54ce2ff27a67b558 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
Uses of Class org.apache.poi.ss.formula.ptg.Ref3DPtg (POI API Documentation)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="St... | HTML | lib/poi-3.17/docs/apidocs/org/apache/poi/ss/formula/ptg/class-use/Ref3DPtg.html | TonyClark/ESL | gpl-3.0 | 8,293 | 182 | codeparrot/github-code |
21a123ca681ce88d33c437561b320bed0b61e3af3696b3748100fdc198a71f72 | /**
* Global Sensor Networks (GSN) Source Code
* Copyright (c) 2006-2014, Ecole Polytechnique Federale de Lausanne (EPFL)
*
* This file is part of GSN.
*
* GSN 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 Fou... | Java | src/main/java/gsn/vsensor/GridRenderer.java | EliasFarhan/gsn | gpl-3.0 | 12,336 | 328 | codeparrot/github-code |
fc68b4ae185d35718337d7da78593042d5a4f89e5cd4528f71d20f2cec90b73d | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2004-2009. 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)
//
// See http://www.boost.org/libs/interpr... | C++ | dependencies/boost-1.46.0/libs/interprocess/test/get_process_id_name.hpp | gorkinovich/DefendersOfMankind | gpl-3.0 | 1,377 | 50 | codeparrot/github-code |
11dfaf5fc4eb02f51fd90d307ccbd896707af3a125edeb23a3ba36767be55fbc | package net.minecraft.server;
import java.util.Random;
// CraftBukkit start
import org.bukkit.event.entity.EntityInteractEvent;
import org.bukkit.craftbukkit.event.CraftEventFactory;
// CraftBukkit end
public class BlockSoil extends Block {
protected BlockSoil(int i) {
super(i, Material.EARTH);
... | Java | src/main/java/net/minecraft/server/BlockSoil.java | Antrax-Reloaded/Craftbuk | gpl-3.0 | 3,865 | 119 | codeparrot/github-code |
7e2e9df8bce37fd50f948d28c466e0b741ab8d7665163d21f67ec0d52e713dbc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "platform/graphics/paint/DrawingDisplayItem.h"
#include "platform/graphics/GraphicsContext.h"
#include "public/platform/WebDisplayItemList.h"
#i... | C++ | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp | geminy/aidear | gpl-3.0 | 3,750 | 120 | codeparrot/github-code |
4bacd86e0b773b68fd9c76f9e288f1bf901131f0a4eabe3e108c78b0f4b9f287 | #region Copyright & License Information
/*
* Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the Licen... | C# | OpenRA.Test/OpenRA.Game/VariableExpressionTest.cs | Mistranger/OpenRA | gpl-3.0 | 18,746 | 473 | codeparrot/github-code |
a7cf9b3ba5bb8ef34419f82b11bf54d3cdd74d7fdb0976eaee2381d0233e9f58 | /*
Copyright 2019 Equinor ASA.
This file is part of the Open Porous Media project (OPM).
OPM is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any l... | C++ | opm/parser/eclipse/Deck/DeckValue.hpp | joakim-hove/opm-cmake | gpl-3.0 | 1,348 | 59 | codeparrot/github-code |
dd590f46afb0e1469f870fd2e3ff9e9b91a6ed9608bbbb58c7afdd43529f1995 | /**
******************************************************************************
*
* @file dialgadgetoptionspage.h
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
* @see The GNU Public License (GPL) Version 3
* @addtogroup GCSPlugins GCS Plugins
* @{
* @addt... | C | ground/gcs/src/plugins/dial/dialgadgetoptionspage.h | mluessi/dronin | gpl-3.0 | 2,250 | 74 | codeparrot/github-code |
fdb1dd24088541b04676067dd4e18277e19bff26ee3aa55eda93e67a9629477e | /*
===========================================================================
Doom 3 GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
Doom 3 Source Code is free software: you can redistribute it and/or modify
it... | C | neo/tools/compilers/roqvq/gdefs.h | AreaScout/dante-doom3-odroid | gpl-3.0 | 2,744 | 69 | codeparrot/github-code |
352c3338ba549a950932c3f04892e298445f058de122c4515f156e433eed8784 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/autofill/core/browser/autofill_field.h"
#include <stddef.h>
#include "base/macros.h"
#include "base/strings/string_number_conversio... | C++ | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/components/autofill/core/browser/autofill_field_unittest.cc | geminy/aidear | gpl-3.0 | 38,021 | 970 | codeparrot/github-code |
1a83fda18e476b6f6c9ebd9a405dcfcbd6bac9c0fe635b639ac8ad7f3d36d02f | /*
* Copyright (C) 2015, Simon Fuhrmann
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the LICENSE.txt file for details.
*/
#ifndef SFM_TRIANGULATE_HEADER
#define SFM_... | C | DeepBlue/3D_reconstruction/ImageBasedModellingEdu/sfm/triangulate.h | AIBluefisher/SfM | gpl-3.0 | 3,705 | 129 | codeparrot/github-code |
de6ce28931fc1107f85f4d511dd9b86f355b282cce2be2784f263964175a1ee1 | /* Copyright (c) 2011, Carl Burch. License information is located in the
* com.cburch.logisim.Main source code and at www.cburch.com/logisim/. */
package com.cburch.logisim.gui.main;
import java.awt.BorderLayout;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.JPanel;
impor... | Java | src/main/java/com/cburch/logisim/gui/main/SimulationExplorer.java | aaorellana/Logisim-SeniorProject | gpl-3.0 | 3,422 | 108 | codeparrot/github-code |
b30f4dfdedc62118eab2efc4c5f9c540baf877bcb56d514fb1d0511425d0e097 | <?php
/**
* netagent2.inc.php
*
* -Description-
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This pro... | PHP | includes/discovery/sensors/frequency/netagent2.inc.php | rasssta/librenms | gpl-3.0 | 5,389 | 201 | codeparrot/github-code |
775e0cd18374f30d93ee9aa0a9aa287407126f3661484f5cc2b7e9dca2ba7ec6 | package com.earth2me.essentials.commands;
import com.earth2me.essentials.CommandSource;
import com.earth2me.essentials.User;
import com.earth2me.essentials.utils.NumberUtil;
import org.bukkit.Server;
import org.bukkit.inventory.ItemStack;
import java.math.BigDecimal;
import java.util.List;
import java.util.Locale;
i... | Java | Essentials/src/com/earth2me/essentials/commands/Commandworth.java | BTCTaras/Essentials | gpl-3.0 | 3,492 | 102 | codeparrot/github-code |
924ca8adf762971172bc99dc62ce7733ff2cf2df04262c896823ec430a89d8e3 | <?php
/* ----------------------------------------------------------------------
* themes/default/views/Results/search_secondary_results/ca_collections_html.php :
* ----------------------------------------------------------------------
* CollectiveAccess
* Open-source collections management software
* -------------... | PHP | themes/iphone/views/Results/search_secondary_results/ca_collections_html.php | gjerdery/pawtucket | gpl-3.0 | 3,202 | 73 | codeparrot/github-code |
815e0083af78b5d83e3c4ca84ec27572e57b71b80d3850b2d34692758547bfc9 | # -*- coding: utf-8 -*-
from .Base import Base
from .misc import parse_name, safename
class Crypter(Base):
__name__ = "Crypter"
__type__ = "crypter"
__version__ = "0.20"
__status__ = "stable"
__pattern__ = r'^unmatchable$'
__config__ = [("activated", "bool", "Activated", True),
... | Python | module/plugins/internal/Crypter.py | Arno-Nymous/pyload | gpl-3.0 | 3,435 | 107 | codeparrot/github-code |
6ea2e3b9aa0f24e718b810e5db22eacd2186e5e00d7e27180c1389145b1f76cd | // This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2008 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation,
// either version 3 of the Licens... | C++ | clientgui/AccountManagerInfoPage.cpp | niclaslockner/boinc | gpl-3.0 | 10,164 | 333 | codeparrot/github-code |
dd6befba319435cb99099fba51ab653a48eb5cafa9b40b75d218180b9fe02be4 | # This file is part of Relax-and-Recover, licensed under the GNU General
# Public License. Refer to the included COPYING for full text of license.
# 200_find_duply_profile.sh
# If $BACKUP_DUPLICITY_URL has been defined then we may assume we are using
# only 'duplicity' to make the backup and not the wrapper duply
[[ ... | Shell | usr/share/rear/prep/DUPLICITY/default/200_find_duply_profile.sh | phracek/rear | gpl-3.0 | 3,536 | 81 | codeparrot/github-code |
458884386881f2925959c24caa34b4ac2a27e9c322b1e05026655615e84e5283 | /********************************************************************
Copyright (c) 2013-2015 - Mogara
This file is part of QSanguosha-Hegemony.
This game 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 ... | C | src/ui/graphicspixmaphoveritem.h | renyaoxiang/QSanguosha-For-Hegemony | gpl-3.0 | 2,314 | 82 | codeparrot/github-code |
33233a198edbd87eb721c7b0149eb9e327e9a79194b8da22eb0de949da3b9660 | <?php
/**
* -----------------------------------------------------------------------------
* @package smartVISU
* @author Joerg Herrmann
* @copyright 2014
* @license GPL [http://www.gnu.de]
* -----------------------------------------------------------------------------
*/
class config
{
private... | PHP | lib/functions_config.php | bjko/smartvisu-cleaninstall | gpl-3.0 | 5,238 | 185 | codeparrot/github-code |
9382268dca8310271de302e9a00c38d4dad4da8aedc0c9a9b73c8563a2558d96 | # (c) 2015, Michael DeHaan <michael.dehaan@gmail.com>
#
# This file is part of Ansible
#
# Ansible 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 lat... | Python | lib/ansible/plugins/action/template.py | datsfosure/ansible | gpl-3.0 | 8,281 | 197 | codeparrot/github-code |
b01d21ed50765d7a5e39c0b1f73dbb30d5e0ad1e5463546d0f60d735ae55368e | <?php
namespace Neos\Neos\Fusion\Helper;
/*
* This file is part of the Neos.Neos package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this
* source code.... | PHP | Neos.Neos/Classes/Fusion/Helper/NodeHelper.php | daniellienert/neos-development-collection | gpl-3.0 | 2,915 | 83 | codeparrot/github-code |
2eac09d160708bcc5d6f65264b4d329395f4bc78947aeb2f2d499d90634ddce7 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
--------... | C++ | src/finiteVolume/finiteVolume/fvc/fvcCurl.C | OpenFOAM/OpenFOAM-4.x | gpl-3.0 | 2,657 | 87 | codeparrot/github-code |
354eb15b60de09e88dfafedb98acfaa3e3629151404a34a993cfc9fd1f8444f6 | /*===========================================================================*
* *
* ggobjt.c - Object functions *
* *
* ... | C | src/ggobjt.c | asokoloski/gsl | gpl-3.0 | 6,345 | 250 | codeparrot/github-code |
1cacfdb24b8e65c4fae37e96d34b73ac281324d1063817babe7229dd3ac8c0da | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2014 Christian Schüller <schuellchr@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at http... | C | include/igl/lim/lim.h | KIKI007/ReusedPrinter | mpl-2.0 | 6,086 | 134 | codeparrot/github-code |
2607615fc0432ca0c1e3095d57e2f4a83411f063c65214a8b3cd008e3845f8a6 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
<%namespace name="helpers" file="/helpers.mako.rs" />
<%helpers:shorthand name="text-decoration"
... | Rust | components/style/properties/shorthands/text.mako.rs | larsbergstrom/servo | mpl-2.0 | 4,754 | 127 | codeparrot/github-code |
5c56576fff8b4e77b74409b694cf9e2e6d39abe8882af0ad3ebeeaeeee1ed1f3 | /**
* Collapse sections then reveal them when an associated link is clicked.
*
* - Each section should have the class `js-hide-reveal`
* - Each section should have an id attribute
* - Links that open a section should have the class `js-hide-reveal-link`
* - Each links' href attribute should specify the id of the ... | JavaScript | pombola/core/static/js/hide-reveal.js | patricmutwiri/pombola | agpl-3.0 | 1,019 | 35 | codeparrot/github-code |
d60d4b750d99ebf49272e05f4ace269f63f4e6a564409b0d56a546b2a291787e | /**
* Project Wonderland
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., All Rights Reserved
*
* Redistributions in source code form must reproduce the above
* copyright and this condition.
*
* The contents of this file are subject to the GNU General Public
* License, Version 2 (the "License"); you may no... | Java | wonderland/web/runner/src/java/org/jdesktop/wonderland/runner/resources/RunnerActionResource.java | AsherBond/MondocosmOS | agpl-3.0 | 5,087 | 136 | codeparrot/github-code |
12a1bdaa46e399b065b2101cff68b18207ef45f1218b186911adff0bcc313ce6 | /*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 Kuali, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, eithe... | Java | coeus-impl/src/main/java/org/kuali/kra/subaward/service/impl/SubAwardRulesEngineExecutorImpl.java | sanjupolus/KC6.oLatest | agpl-3.0 | 2,704 | 55 | codeparrot/github-code |
e0443ab92eb0d45c4ee11266e0de65b05c0749d1b99365645f423729f602344b | #region
using System;
using System.Collections.Generic;
using wServer.realm;
using wServer.realm.entities;
using wServer.realm.entities.player;
using wServer.realm.worlds;
#endregion
namespace wServer.logic
{
public class DamageCounter
{
private readonly WeakDictionary<Player, int> hitters = new Wea... | C# | wServer/logic/DamageCounter.cs | ossimc82/fabiano-swagger-of-doom | agpl-3.0 | 3,714 | 116 | codeparrot/github-code |
90feb996fc74e7946945c32387355895d6d01b48abfa9bc552eb33ec5e55f9d1 | /*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 Kuali, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, eithe... | Java | coeus-impl/src/main/java/org/kuali/coeus/common/budget/framework/personnel/AppointmentType.java | sanjupolus/KC6.oLatest | agpl-3.0 | 2,284 | 79 | codeparrot/github-code |
9cdef1d19d8193ea72d90b8443b059f6dc9d9358ba3127a6a16cc6066b794327 | package tc.oc.commons.core.inject;
import java.lang.annotation.Annotation;
import java.lang.reflect.Constructor;
import com.google.inject.Key;
import com.google.inject.Provider;
import com.google.inject.Scope;
import com.google.inject.TypeLiteral;
import com.google.inject.binder.AnnotatedBindingBuilder;
import com.go... | Java | Util/core/src/main/java/tc/oc/commons/core/inject/AbstractBindingBuilder.java | OvercastNetwork/ProjectAres | agpl-3.0 | 2,335 | 73 | codeparrot/github-code |
7152d19be36c6e43b962d1d4f11a03f48ba0a8ca17800b66fc09f280d073d105 | /**
* @file
* @copyright 2020 WarlockD (https://github.com/warlockd)
* @author Original WarlockD (https://github.com/warlockd)
* @author Changes stylemistake
* @author Changes ThePotato97
* @author Changes Ghommie
* @author Changes Timberpoes
* @license MIT
*/
import { classes } from 'common/react';
import { ... | JavaScript | tgui/packages/tgui/interfaces/PaperSheet.js | Bawhoppen/-tg-station | agpl-3.0 | 19,192 | 663 | codeparrot/github-code |
1b300957d9ec0ba8c9759a5cf9b834b0a01962717b038c1e560388d4b9a591d5 | //
// This file is part of the Marble Virtual Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2012 Mohammed Nafees <nafees.technocool@gmail.com>
//
#ifndef GEODATAVEC2_H
#defin... | C | src/lib/marble/geodata/data/GeoDataVec2.h | fgx/fgx-marble | lgpl-2.1 | 952 | 50 | codeparrot/github-code |
f24f757e975b8b7d8719d22475255a75dc6129b232c4c63b98f7df750b8182d7 | /*
* Copyright(C) 1999-2020 National Technology & Engineering Solutions
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
* NTESS, the U.S. Government retains certain rights in this software.
*
* See packages/seacas/LICENSE for details
*/
/***************************************************... | C | contrib/exodusii/v8.11/exodus/src/ex_put_attr_param.c | BalticPinguin/libmesh | lgpl-2.1 | 7,307 | 215 | codeparrot/github-code |
ce5a754f36ec10faaca9cdd94dde307e33f6728d92557402a1b0ca7ac3bf5a7e | package org.intermine.objectstore.query;
/*
* Copyright (C) 2002-2016 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/l... | Java | intermine/objectstore/test/src/org/intermine/objectstore/query/QueryTestCaseTest.java | JoeCarlson/intermine | lgpl-2.1 | 11,191 | 362 | codeparrot/github-code |
4da4efc25dbe14ba91d26cd26af5808c6f20b137ff5d678c7e7283acd7e315c2 | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance wit... | C | src/plugins/cpptools/symbolsfindfilter.h | Distrotech/qtcreator | lgpl-2.1 | 3,988 | 133 | codeparrot/github-code |
a281e48c65056da8be500669309d6f292270d4d8a365e8a65b003fac1e2a6ab1 | /*
* Copyright (C) 2011-2012 Free Software Foundation, Inc.
*
* Author: Nikos Mavrogiannopoulos
*
* This file is part of GnuTLS.
*
* The GnuTLS is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; e... | C | lib/accelerated/x86/aes-cbc-x86-ssse3.c | komh/gnutls-os2 | lgpl-2.1 | 3,051 | 132 | codeparrot/github-code |
1bf1e7848680b6ffc563a4836802803bdf7838e0aa0632a286655450663b14e0 | #!/usr/bin/env python
#
# This file is part of Scalable COncurrent Operations in Python (SCOOP).
#
# SCOOP is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of
# the Licens... | Python | test/tests.py | IGITUGraz/scoop | lgpl-3.0 | 21,163 | 675 | codeparrot/github-code |
093ccc0f09aa6cdb66c44be7b5925c151f6704cd5377fa45ee09badfe345a1c2 | /**
* eAdventure is a research project of the
* e-UCM research group.
*
* Copyright 2005-2014 e-UCM research group.
*
* You can access a list of all the contributors to eAdventure at:
* http://e-adventure.e-ucm.es/contributors
*
* e-UCM is a research group of the Department of Software Eng... | Java | editor/core/src/main/java/es/eucm/ead/editor/control/commands/SelectionCommand.java | e-ucm/ead | lgpl-3.0 | 4,867 | 164 | codeparrot/github-code |
5613db59f402ab8e28a4ba421c4f940471526fa06c6befeb2158c544983b4866 | <?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio ... | PHP | core/lib/Thelia/Core/Event/Tax/TaxEvent.php | Lucanis/thelia | lgpl-3.0 | 2,649 | 123 | codeparrot/github-code |
ac5b55d08e0e9b924d4ca15f69ccb3a0b41c816be5881d3ffe5266660d52ccfd | package diagnostics;
=head1 NAME
diagnostics, splain - produce verbose warning diagnostics
=head1 SYNOPSIS
Using the C<diagnostics> pragma:
use diagnostics;
use diagnostics -verbose;
enable diagnostics;
disable diagnostics;
Using the C<splain> standalone filter program:
pe... | Perl | git/lib/perl5/5.8.8/diagnostics.pm | caplin/qa-browsers | unlicense | 17,940 | 647 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.