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 |
|---|---|---|---|---|---|---|---|---|
82eb7eaaf9e92d5b6ee6821c6daf79eb294889182fb0768cc8a156fce6390335 | package OpenInteract2::Config::GlobalOverride;
# $Id: GlobalOverride.pm,v 1.11 2005/03/17 14:58:00 sjn Exp $
use strict;
use Log::Log4perl qw( get_logger );
use OpenInteract2::Config;
use OpenInteract2::Constants qw( :log );
use OpenInteract2::Exception qw( oi_error );
$OpenInteract2::Config::GlobalOverri... | Perl | lib/OpenInteract2/Config/GlobalOverride.pm | gitpan/OpenInteract | gpl-2.0 | 13,233 | 473 | codeparrot/github-code |
985be6e1360c5463bc61e5c65e920499e89c352dd1eeb6aedf21169c2585803e | /*
* #%L
* BSD implementations of Bio-Formats readers and writers
* %%
* Copyright (C) 2005 - 2013 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Redistribution and use in source and binary forms, with or... | Java | components/formats-bsd/src/loci/formats/gui/UnsignedIntColorModel.java | ctrueden/bioformats | gpl-2.0 | 6,147 | 182 | codeparrot/github-code |
1e36f5e8101bc5504f7939f64b08b35620dbef90e001da282a002b7895c75751 | #include "module.h"
#include"mode_select.h"
#include"right_button.h"
#include"port_button.h"
#include<QLabel>
#include"widgetselection.h"
#include<QHBoxLayout>
#include"imagereader.h"
#include"bottom_button.h"
#include<QMenu>
#include"bot_button_slider.h"
#include<QMouseEvent>
#include"bot_button_choose.h"
#include"bot... | C++ | 151128code/module.cpp | billhhh/whLego-version | gpl-2.0 | 15,384 | 638 | codeparrot/github-code |
626f59a3b04aaa5adc6a9202c149158503275b2843fe78e59fb6fe34b1560093 | import ast
import os
import sys
# Import a minimal set of stdlib modules needed for list_stdlib_modules()
# to work when run from a virtualenv. The modules were chosen empirically
# so that the return value matches the return value without virtualenv.
import BaseHTTPServer
import zlib
def dotted_name_of_path(path, t... | Python | contrib/import-checker.py | hekra01/mercurial | gpl-2.0 | 8,337 | 250 | codeparrot/github-code |
c5fbcbd18267a3ed79d70f751532b06dfda22ced95d52259f1697dee12f840a8 | /*
* uvc_video.c -- USB Video Class driver - Video handling
*
* Copyright (C) 2005-2009
* Laurent Pinchart (laurent.pinchart@skynet.be)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*... | C | drivers/media/video/uvc/uvc_video.c | diegocortassa/android-kernel-mediacom-mp810c | gpl-2.0 | 36,067 | 1,253 | codeparrot/github-code |
da37a5eda42dbcd1597e96c163c74dbe998998285febc8f138d0a44b59f5e7f7 | /*
* Copyright (c) 2016. Sten Martinez
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is dis... | Java | newsj-util/src/test/java/net/longfalcon/newsj/ws/RssXmlMappingTest.java | stewartcavanaugh/newsj | gpl-2.0 | 6,682 | 152 | codeparrot/github-code |
2cd79d13d83613fb460de91f197d559730f0aa949245f1cb4cc36eca4781418e | /*
* Copyright (C) 1996-2022 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
*/
/* DEBUG: section 83 TLS Server/Peer nego... | C++ | src/security/PeerConnector.cc | squid-cache/squid | gpl-2.0 | 28,558 | 781 | codeparrot/github-code |
c568b5fbc819a3a544fa5b9c7fe54588fcbd4ddaa92f1f324183e9b18842cf7b | /*
* Copyright (c) 2002, Intel Corporation. All rights reserved.
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
* Test pthread_rwlock_timedwrlock(pthread_rwlock_t * rwlock)
*
* If a signal that causes a signal h... | C | testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/6-2.c | metan-ucw/ltp | gpl-2.0 | 5,983 | 221 | codeparrot/github-code |
4881371043d64b185074f2e1f153ce56063f82ac11a056ca4d5af378d25b659c | /* Copyright (C) 2015 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program 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 ANY WARR... | C | src/app-layer-enip.c | norg/suricata | gpl-2.0 | 20,225 | 696 | codeparrot/github-code |
4498265b0b5e1dc55ea1a1dde76365387d072655885fa4edba07f9ae424ab2c2 | /**
* @file printAnnotation.cpp
* @brief Prints annotation strings for each element
* @author Akiya Jouraku
*
* This file is part of libSBML. Please visit http://sbml.org for more
* information about SBML, and the latest version of libSBML.
*/
using System;
using System.Collections.Generic;
using Syste... | C# | dependencies/libsbml-5.9.0/examples/csharp/printAnnotation.cs | dilawar/moose-full | gpl-2.0 | 6,071 | 238 | codeparrot/github-code |
e2ccfbfb0702fe2e2a3b4eee64fa8bea6b0e12f1e0b16f92dc178e08df7cc97f | <?php
/**
* Copyright (c) 2012 ScientiaMobile, 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, either version 3 of the
* License, or (at your option) any later version.
*
*... | PHP | ow_libraries/wurfl/Handlers/Ucweb7OnAndroidHandler.php | seret/oxtebafu | gpl-2.0 | 1,992 | 67 | codeparrot/github-code |
7243b126fcd92871a71f668f13bbb3d35819de01165d0d7c76565343f5785915 | #pragma once
#include <stdint.h>
#include "object-internals.h"
struct Il2CppObject;
struct Il2CppDelegate;
struct Il2CppReflectionType;
struct Il2CppReflectionMethod;
struct Il2CppReflectionField;
struct Il2CppArray;
struct Il2CppException;
struct Il2CppReflectionModule;
struct Il2CppAssembly;
struct Il2CppAssemblyNa... | C | SampleProject/Libraries/libil2cpp/include/icalls/mscorlib/System.Security.Principal/WindowsImpersonationContext.h | Soufien/unityIntoIOSSample | gpl-2.0 | 861 | 46 | codeparrot/github-code |
c77aba9f9f69eecb223bf8a8b3fc6696852b98077b1086dd65665c171618d203 | /* Generic serial interface routines
Copyright (C) 1992-2002, 2004-2012 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; eithe... | C | gdb/serial.c | johnhubbard/kgdb-pci-gdb | gpl-2.0 | 15,300 | 683 | codeparrot/github-code |
45c6ceb44169e777c611e0b49233d1bb12ee0140a87fddcd7e907ce245b62c39 | (function($) {
Drupal.behaviors.custom_search = {
attach: function(context) {
if (!Drupal.settings.custom_search.solr) {
// Check if the search box is not empty on submit
$('form.search-form', context).submit(function(){
var $this = $(this);
var box = $this.find('input.c... | JavaScript | sites/default/files/js/js_RcbOtEFp53fGEeC0kjPRuxLuAUCof93NfpB84kW2LDk.js | NROER/drupal-intranet | gpl-2.0 | 6,230 | 188 | codeparrot/github-code |
cca40f01270cbf09ab745cfd9553774acf1bf6469ffceac6f0f49927b36b51d9 | #include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
#define COUNT 10000000
#define NUMBIT 32
#define SUCCESS 0
#define FAILURE 1
#define CIRCLE_A 0.5
#define CIRCLE_B 0.2
char *hdiv = "#==================================================================";
char *fname = "c... | C | src/old/circle.c | carterjbastian/chaotic-prngs | gpl-2.0 | 1,673 | 63 | codeparrot/github-code |
82abc8bc97d0613b6a6ad0acc9c5775b0b9a5bae05f3661f8aa84ffc9fa06621 | /*
* OdinAgent.{cc,hh} -- An agent for the Odin system
* Lalith Suresh <suresh.lalith@gmail.com>
*
* Copyright (c) 2012 Lalith Suresh
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software... | C++ | elements/local/odinagent.cc | freedreamer/click | gpl-2.0 | 43,138 | 1,616 | codeparrot/github-code |
d8db614a38deeda264c210873eccaa605167e9884197c65bbee5c9940bfcff37 | /* smplayer, GUI front-end for mplayer.
Copyright (C) 2006-2015 Ricardo Villalba <rvm@users.sourceforge.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the L... | C++ | src/minigui.cpp | nE0sIghT/smpv | gpl-2.0 | 9,851 | 349 | codeparrot/github-code |
bcdaee2e6e948a0fcede5e3d154c6fdf1ff61c45417e1a69d8409e97a35a415d | /*
* Copyright (c) 2012, 2013, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in th... | C | drivers/clk/tegra/clk-tegra114.c | dct2012/chromeos-3.14 | gpl-2.0 | 53,766 | 1,496 | codeparrot/github-code |
587184b0ad586a2b4b76ff556e3f8eeab95107915234f8baf1ea4ff751712398 | // license:BSD-3-Clause
// copyright-holders:Nathan Woods, Olivier Galibert, Miodrag Milanovic
/*********************************************************************
floppy.h
*********************************************************************/
#ifndef MAME_DEVICES_IMAGEDEV_FLOPPY_H
#define MAME_DEVICES_IMAGEDE... | C | src/devices/imagedev/floppy.h | johnparker007/mame | gpl-2.0 | 16,587 | 466 | codeparrot/github-code |
cb90aa71cfd7a4cf44175a17697645198778699c493d33a342d5cfba33fc9f9e | <?php
$organizers = Tribe__Events__Main::instance()->get_organizer_info();
$organizer_options = array();
if ( is_array( $organizers ) && ! empty( $organizers ) ) {
$organizer_options[0] = __( 'No Default', 'tribe-events-calendar-pro' );
foreach ( $organizers as $organizer ) {
$organizer_options[ $organizer-... | PHP | wp-content/plugins/events-calendar-pro/src/admin-views/tribe-options-defaults.php | forcitcample/heytixforcit | gpl-2.0 | 8,566 | 209 | codeparrot/github-code |
2b88b64a05b41135222994fa6997bf83a5f98e70930295875008bce7682680c7 | /*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is d... | C | blender/source/blender/imbuf/intern/iris.c | pawkoz/dyplom | gpl-2.0 | 20,237 | 856 | codeparrot/github-code |
58d4c51df967d3b325359adc092d09099d93c44b4ffd7f1c55250e5272f46de9 | <?php
function mysql_prep( $value ) {
global $connection;
$magic_quotes_active = get_magic_quotes_gpc();
$new_enough_php = function_exists( "mysqli_real_escape_string" ); // true pt PHP >= v4.3.0
if($new_enough_php ) { // PHP v4.3.0 sau dupa
// anulez orice efect al ghilimelelor magice; folosesc mysqli_rea... | PHP | curs09/00_rec_proiect_cms/cms_06/includes/functions.php | completit/PHP-MySql | gpl-2.0 | 3,646 | 127 | codeparrot/github-code |
324f1b261303f2d63c5b2f46ef45d0bf457c2944d50d1213cc239d292b204801 | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Windows.ApplicationModel.Background;
using Windows.Storage;
using HA4IoT.Components;
using HA4IoT.Contracts.Api;
using HA4IoT.Contracts.Components;
using HA4IoT.Contracts.Core;
using HA4IoT.Contracts.Hardware.Interrupts;
using HA4IoT.Contracts... | C# | Core/HA4IoT/Core/Controller.cs | chkr1011/HA4IoT | gpl-2.0 | 5,032 | 142 | codeparrot/github-code |
6a72f28f3f529bbb30304d0d53c1e51042e33e4e5e0d3046aec6d5202cf596eb | using System;
using System.Threading;
using System.Threading.Tasks;
using AldursLab.WurmApi.JobRunning;
using AldursLab.WurmApi.Modules.Events.Internal;
using AldursLab.WurmApi.Modules.Wurm.LogsMonitor;
using AldursLab.WurmApi.Modules.Wurm.ServerHistory.Jobs;
using AldursLab.WurmApi.PersistentObjects;
using AldursLab.... | C# | WurmApi/Modules/Wurm/ServerHistory/WurmServerHistory.cs | PeterAldur/WurmApi | gpl-2.0 | 5,767 | 130 | codeparrot/github-code |
27c0eb8d95e99ea4d2eee4d36c27ed89ba90e421f475139898e1153201094e5f | /*
* $Id$
*
* Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free S... | Java | src/jtreg/com/sun/interview/wizard/ActionDocListener.java | Distrotech/icedtea6-1.12 | gpl-2.0 | 2,034 | 60 | codeparrot/github-code |
a7b7a1a57113c52ed189ba229dbb6185cf4107a6f88d54a27759d6d8a9f34ef9 | /***************************************************************************
QgsComposerAttributeTableV2.cpp
-----------------------------
begin : September 2014
copyright : (C) 2014 by Marco Hugentobler
email : marco... | C++ | src/core/composer/qgscomposerattributetablev2.cpp | sebastic/QGIS | gpl-2.0 | 24,353 | 850 | codeparrot/github-code |
4baff22658ef37b6947b3e09d5035ae2537190dc82df05c8df8b35a8deb921ce | <?php
/**
* µã¿¨¹ÜÀí
*
* @version $Id: cards_manage.php 1 14:31 2010Äê7ÔÂ12ÈÕZ tianya $
* @package DedeCMS.Administrator
* @copyright Copyright (c) 2007 - 2010, DesDev, Inc.
* @license http://help.dedecms.com/usersguide/license.html
* @link http://www.dedecms.com
*/
... | PHP | wulu/2015.11.23/qipai/dede/cards_manage.php | bylu/Test | gpl-2.0 | 2,157 | 67 | codeparrot/github-code |
c21beadce6388e5750daa2766a13ad09f93f9e318f0069ea303f604b6d41cc4c | /**************************************************************************
* *
* ADXL345 Driver for Arduino *
* *
************... | C++ | ADXL345.cpp | UEC-VBSeminar/Magic.h | gpl-2.0 | 18,698 | 626 | codeparrot/github-code |
c218f4b6053d09e7e821f890d019425860cfa1c9ed446b921194b0e8bf026111 | /**
* \file radeon_drv.c
* ATI Radeon driver
*
* \author Gareth Hughes <gareth@valinux.com>
*/
/*
* Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documenta... | C | drivers/gpu/drm/radeon/radeon_drv.c | tinamanea/staging | gpl-2.0 | 20,585 | 631 | codeparrot/github-code |
4711bc98593a09f33d9a79b20770df6fda4738ad3ce261b6e0a235b81cea78d3 | /* 2 column liquid layout */
#wpwrap {
height: auto;
min-height: 100%;
width: 100%;
position: relative;
-webkit-font-smoothing: subpixel-antialiased;
}
#wpcontent {
height: 100%;
padding-left: 20px;
}
#wpcontent,
#wpfooter {
margin-left: 160px;
}
.folded #wpcontent,
.folded #wpfooter {
margin-left: 36px;
}
... | CSS | wp-admin/css/common.css | dajocarter/eva | gpl-2.0 | 65,486 | 3,689 | codeparrot/github-code |
7981ac698973f1454058c5a15b90df93b0a4da52ac0628b183137312f235b259 | /*
*
* *
* * * (C) Copyright 2015 byteShaft Inc.
* * *
* * * All rights reserved. This program and the accompanying materials
* * * are made available under the terms of the GNU Lesser General Public License
* * * (LGPL) version 2.1 which accompanies this distribution, and is available at
* * * htt... | Java | ezflashlight/src/main/java/com/byteshaft/ezflashlight/CameraStateListenerHelpers.java | s9iper1/ezflashlight | gpl-2.0 | 1,492 | 46 | codeparrot/github-code |
aca274eaab2f5c01e56c1fdcedf8165c660205bb711df3d48cc5b68b3418c173 | /* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved.
* Copyright 2009-2016 Pierre Ossman for Cendio AB
*
* This 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, o... | C | common/rfb/VNCSConnectionST.h | michalsrb/tigervnc | gpl-2.0 | 7,721 | 218 | codeparrot/github-code |
89ac79be10ec257d7ee25f23d7a4eddcb253fabbff6a2a7a29ef0b079abcb48e | # This file is part of Buildbot. Buildbot 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 in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without eve... | Python | buildbot/db/connector.py | mitya57/debian-buildbot | gpl-2.0 | 5,291 | 139 | codeparrot/github-code |
0f95c4a88edb4dc1d73d170dd08d272f44ef861258b9e10530e1bda32a433731 | /*
*
* Copyright (C) 2008 jerl92
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distribu... | C | modules/iBoy/iBoy.c | ysei/podzilla2 | gpl-2.0 | 2,148 | 79 | codeparrot/github-code |
254239fb1e73035037e59822f430cacd3128ec046890e73ab86c42218c5166e8 | /**
Copyright (C) SYSTAP, LLC DBA Blazegraph 2006-2016. All rights reserved.
Contact:
SYSTAP, LLC DBA Blazegraph
2501 Calvert ST NW #106
Washington, DC 20008
licenses@blazegraph.com
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public L... | Java | bigdata-sails-test/src/test/java/com/bigdata/rdf/sail/webapp/AbstractSimpleInsertTest.java | blazegraph/database | gpl-2.0 | 5,240 | 150 | codeparrot/github-code |
8177f367fb4549efe7f1ecdf8c3f65bf7d1169840abdb33db1707a8659167479 | using System;
using System.Xml;
using System.Linq;
using Server.Engines.VvV;
using Server.Mobiles;
namespace Server.Regions
{
public class TownRegion : GuardedRegion
{
public TownRegion(XmlElement xml, Map map, Region parent)
: base(xml, map, parent)
{
}
public ove... | C# | Scripts/Regions/TownRegion.cs | A2152225/ServUO | gpl-2.0 | 1,332 | 48 | codeparrot/github-code |
8013deb1a93e389c4e1e07584fcf80159aa97b6838bf6d5fd07956f5984c1c59 | /*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | C++ | src/server/scripts/Spells/spell_dk.cpp | Bootz/MyCore4Kata | gpl-2.0 | 25,553 | 672 | codeparrot/github-code |
295a8388b6efadc269327998576f98099131f208500e2ed80ae2ff20afe09fab | /*
* Url.hpp
*****************************************************************************
* Copyright (C) 2014 - VideoLAN Authors
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation;... | C++ | modules/demux/adaptative/playlist/Url.hpp | Distrotech/vlc | gpl-2.0 | 2,320 | 74 | codeparrot/github-code |
098449ab34445d0616a856728785a8d73dec073c29ee7c70f5f425ba8a18ccaa | // SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2016 Stefan Roese <sr@denx.de>
*/
#include <common.h>
#include <dm.h>
#include <serial.h>
#include <asm/io.h>
struct mvebu_platdata {
void __iomem *base;
};
/*
* Register offset
*/
#define UART_RX_REG 0x00
#define UART_TX_REG 0x04
#define UART_CTRL_REG ... | C | drivers/serial/serial_mvebu_a3700.c | ev3dev/u-boot | gpl-2.0 | 3,749 | 175 | codeparrot/github-code |
2674b45f620d709e5ba61edd026448c53d32d08dee0a26e268596cd724aa21cd | <?php
/**
* Create new Fields Section on Edit Profile form
*
* @package Framework\Metaboxes
*/
class APP_User_Meta_Box {
private $id, $title, $templates;
protected $user_id;
protected $priority;
protected $errors = array();
protected $actions = array( 'admin_enqueue_scripts' );
/**
* Initiates Section reg... | PHP | wp-content/themes/vidhire/framework/admin/class-user-meta-box.php | remoteexecutive/vidhire-test | gpl-2.0 | 7,041 | 256 | codeparrot/github-code |
64f8a8c876b521cb93fe77daf1c972434f3e73df2cde05382c975270276258dc | /* Copyright (C) 2006 - 2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
* This program is free software licensed under GPL version 2
* Please see the included DOCS/LICENSE.TXT for more information */
#ifndef DEF_VIOLET_HOLD_H
#define DEF_VIOLET_HOLD_H
enum
{
MAX_ENCOUNTER = 9,
TYPE_EVEN... | C | src/bindings/ScriptDev2/scripts/northrend/violet_hold/def_violet_hold.h | Adonai/MangosDeprecated | gpl-2.0 | 5,198 | 180 | codeparrot/github-code |
b10282aae19aa67a27c754f20551c30286f8c7a51d737868e18132173129cad9 | <?php
/**
* Copyright (c) 2012 Robin Appelman <icewind@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
class OC_User_IMAP extends OC_User_Backend{
private $mailbox;
public function __construct($mailbox) {
$this->mailbox=$ma... | PHP | apps/user_external/lib/imap.php | MARFMS/OwnCloud_NAC | gpl-2.0 | 822 | 40 | codeparrot/github-code |
65317f042cbef362f425830b7ade53b498a92284209824bd50f5a0de4fa16ee8 | /* $Id$ */
/*
Copyright (C) 2004 - 2012 by Philippe Plantier <ayin@anathas.org>
Part of the Battle for Wesnoth Project http://www.wesnoth.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 Founda... | C++ | src/tools/exploder_cutter.hpp | asimonov-im/wesnoth | gpl-2.0 | 1,679 | 81 | codeparrot/github-code |
13859bcb0d6dd6151f77d31dd7d43b8c7638e8f817a9819cc2b69d552c34e4a5 | /* -*- 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++ | qwt/src/qwt_dyngrid_layout.cpp | g3rg/GoldenCheetah | gpl-2.0 | 13,674 | 572 | codeparrot/github-code |
18f90f9df23918655d380e5f3353fb797b578b10ce163dfe41b979fcf7d21305 | {-# LANGUAGE RelaxedPolyRec #-} -- needed for inlinesBetween on GHC < 7
{-# LANGUAGE ScopedTypeVariables #-}
{-
Copyright (C) 2006-2015 John MacFarlane <jgm@berkeley.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 S... | Haskell | src/Text/Pandoc/Readers/Markdown.hs | alexvong1995/pandoc | gpl-2.0 | 74,433 | 2,044 | codeparrot/github-code |
3362b0e244e04239996963f20eb9f21d01829976fd222e1eff2f8f2024cc215b | /*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2012 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software ... | C++ | src/server/scripts/Outland/Auchindoun/SethekkHalls/instance_sethekk_halls.cpp | Macavity/SkyFireEMU | gpl-2.0 | 2,731 | 94 | codeparrot/github-code |
1257d0d434a88aa345069d576c388cd53e9a6015267c09b46b325cfe97c9f5ca | /* GTK+ Integration with platform-specific application-wide features
* such as the OS X menubar and application delegate concepts.
*
* Copyright (C) 2009 Paul Davis
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publish... | C | libs/gtkmm2ext/gtkmm2ext/application.h | SReichelt/ardour | gpl-2.0 | 1,900 | 67 | codeparrot/github-code |
b50abf03fd7a022c2f4af68a308b5a4bc448cf99db39d4e632eb4f9890fd3525 | <?php namespace WPRecommenderIr;
defined( 'ABSPATH' ) || exit;
class Widget extends \WP_Widget {
public function __construct()
{
parent::__construct(
'recommender_widget',
__('Recommender', 'recommender'),
[ 'description' => __('Recommender', 'recommender') ]
... | PHP | classes/Widget.php | missprogrammer/wp-recommenderir | gpl-2.0 | 10,807 | 181 | codeparrot/github-code |
5c2cfbdfa518e99206dbe56084bc4a10f3be41de250b7705e13fea088ef7e1e5 | /*
Copyright (C) 2008 - 2017 by Mark de Wever <koraq@xs4all.nl>
Part of the Battle for Wesnoth Project http://www.wesnoth.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 ve... | C++ | src/gui/widgets/debug.cpp | ln-zookeeper/wesnoth | gpl-2.0 | 14,785 | 555 | codeparrot/github-code |
98731b9293d33db1deb75a74de1439d7242370848c1dadd37d44d7451957065b | <?php
namespace Swissbib\Controller;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\Console\Request as ConsoleRequest;
use Swissbib\Tab40Import\Importer as Tab40Importer;
/**
* Import tab40.xxx files and convert them to label files
* Use this controller over the command line
*
*/
class Tab40ImportCo... | PHP | module/Swissbib/src/Swissbib/Controller/Tab40ImportController.php | htw-pk15/vufind | gpl-2.0 | 1,506 | 61 | codeparrot/github-code |
7d4eae2a577be5cf1809fef04c1a2c879f74cf0fcacbfc86f2762ad4e6b44f2a | /*
* drivers/s390/char/raw3270.c
* IBM/3270 Driver - core functions.
*
* Author(s):
* Original 3270 Code for 2.4 written by Richard Hitt (UTS Global)
* Rewritten for 2.5 by Martin Schwidefsky <schwidefsky@de.ibm.com>
* -- Copyright (C) 2003 IBM Deutschland Entwicklung GmbH, IBM Corporation
*/
#inclu... | C | drivers/s390/char/raw3270.c | dduval/kernel-rhel5 | gpl-2.0 | 34,434 | 1,435 | codeparrot/github-code |
9e9c049d23d962d2ac46a0f6779c85e891d54c91c182d6f88319ffbb2e9e1a05 | //===== Fetching console text
function fetchText(delay, repeat) {
var el = $("#console");
if (el.textEnd == undefined) {
el.textEnd = 0;
el.innerHTML = "";
}
window.setTimeout(function() {
ajaxJson('GET', console_url + "?start=" + el.textEnd,
function(resp) {
var dly = updateText(resp... | JavaScript | html/console.js | twischer/WLAN-IO | gpl-2.0 | 4,079 | 149 | codeparrot/github-code |
618785baa2fe80514340e9da9eb6b652bc3791c0c60e83c1ed7a7d471ad13bb8 | /* Configuration for GCC-compiler for PA-RISC.
Copyright (C) 1999, 2000, 2003, 2004, 2007, 2008, 2010
Free Software Foundation, Inc.
This file is part of GCC.
GCC 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 Founda... | C | gcc/config/pa/pa64-regs.h | imasahiro/gccjs | gpl-2.0 | 11,436 | 294 | codeparrot/github-code |
9cb9a1ac176c3902e6d9662dcf72aeca98416c5e19a13a3e36545e03e7cb7083 | /* $Id: newgrf_debug_widget.h 25946 2013-11-07 18:17:21Z frosch $ */
/*
* This file is part of OpenTTD.
* OpenTTD 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.
* OpenTTD is distributed in the hope... | C | src/widgets/newgrf_debug_widget.h | sgzwiz/OpenTTD | gpl-2.0 | 2,006 | 44 | codeparrot/github-code |
fc89f10d81e39fb5c0c0a98df829a2524241945d962311aaa351ddb33fd0cb51 | //
// Created by user on 30.10.15.
//
// Bitch, please. It is not interlocked at all.
#ifndef PROJECT_INTERLOCKEDARCHIVEBACKEND_H
#define PROJECT_INTERLOCKEDARCHIVEBACKEND_H
#include "../../helpers/JsonBson.h"
#include "MongoClient.h"
namespace LabBot {
class ArchiveBackend {
public:
ArchiveBackend... | C | src/kernel/database/ArchiveBackend.h | achernakov/LabBot | gpl-2.0 | 2,245 | 86 | codeparrot/github-code |
aa5cbe87e6e73aa996f2fbdb3303f20022c75f24b2a0a30677fd6438b1a9e5e5 | /*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... | C | lustre/utils/lctl.c | sushantmane/lustre-stable | gpl-2.0 | 22,465 | 516 | codeparrot/github-code |
38f562d37f564d0dbdf042183df9d8c7d411983dbcb477a3a12c06de3e939c16 | #==============================================================================
# ** Window_Message
#------------------------------------------------------------------------------
# This message window is used to display text.
#==============================================================================
class Windo... | Ruby | scripts/Window_Message.rb | mathewv/mkxp-oneshot | gpl-2.0 | 14,395 | 460 | codeparrot/github-code |
525a5a68d05f756c54b4c6971e8b5ed5eafcf775f624282e1aaea0f8ea2d2b13 | /*COPYRIGHT**
Copyright (C) 2005-2012 Intel Corporation. All Rights Reserved.
This file is part of SEP Development Kit
SEP Development Kit 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 Fou... | C | modules/debug_tools/vtunedk/src/output.c | alef78/x86_ramos_i9_kernel | gpl-2.0 | 19,045 | 622 | codeparrot/github-code |
20516d20e93cba55d08d947f9af26cbd3c7a2b1a5d9db7d130aa3de04808bea3 | <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Qt 4.3: main.cpp Example File (script/tetrix/main.cpp)</title>
<link href="classic.css" rel="stylesheet"... | HTML | qtopiacore/qt/doc/html/script-tetrix-main-cpp.html | muromec/qtopia-ezx | gpl-2.0 | 6,151 | 133 | codeparrot/github-code |
b729ead221bc9db832c91353f8e2c83eec5e94b40b6aa4cd61199ad03c61a739 | /* CPU control.
* (C) 2001, 2002, 2003, 2004 Rusty Russell
*
* This code is licenced under the GPL.
*/
#include <linux/proc_fs.h>
#include <linux/smp.h>
#include <linux/init.h>
#include <linux/notifier.h>
#include <linux/sched.h>
#include <linux/unistd.h>
#include <linux/cpu.h>
#include <linux/export.h>
#include <l... | C | kernel/cpu.c | lordeko/android_kernel_samsung_hlte | gpl-2.0 | 17,539 | 730 | codeparrot/github-code |
2a6140627bdf8918b0bb52bd6269a5ff908eb31240e33430af81b0d5f515d966 | <?php
/**
* @package Redcore.Backend
* @subpackage Controllers
*
* @copyright Copyright (C) 2012 - 2013 redCOMPONENT.com. All rights reserved.
* @license GNU General Public License version 2 or later, see LICENSE.
*/
defined('_JEXEC') or die;
/**
* Config Controller
*
* @package ... | PHP | administrator/components/com_redcore/controllers/config.php | grlf/eyedock | gpl-2.0 | 8,239 | 296 | codeparrot/github-code |
68428a369c66afaf821463fc776048596924cd26fe7a895c81dff80c5921d53f | #include <linux/virtio.h>
#include <linux/spinlock.h>
#include <linux/virtio_config.h>
#include <linux/module.h>
#include <linux/idr.h>
/* Unique numbering for virtio devices. */
static DEFINE_IDA(virtio_index_ida);
static ssize_t device_show(struct device *_d,
struct device_attribute *attr, char *buf)
{
struc... | C | drivers/virtio/virtio.c | spacex/kernel-centos7 | gpl-2.0 | 7,716 | 291 | codeparrot/github-code |
f3b242ce88223872e19f568e96fcadf287f7758d571557fd3242bd99eec16885 | /*
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/videodev.h>
#include <linux/init.h>
#inc... | C | drivers/media/video/tvmixer.c | gerboland/linux-2.6.15-neuros-eabi | gpl-2.0 | 8,534 | 371 | codeparrot/github-code |
6f5f90ea7af168e35b388b9b42f33d222dce728592ff1b54834d69d1de1350fb | #include "gnodecomponentwidget.h"
#include "ui_gnodecomponentwidget.h"
#include <QToolButton>
#include <QHBoxLayout>
#include "qimageselectionwidget.h"
#include "grtttlplayer.h"
#include <QColorDialog>
#include <QLabel>
#include <QApplication>
#include <QSlider>
gNodeComponentWidget::gNodeComponentWidget(sJarvisNodeC... | C++ | Software/JarvisServer/common/gnodecomponentwidget.cpp | makespacemadrid/Jarvis | gpl-2.0 | 5,454 | 149 | codeparrot/github-code |
2d60834571d38d14bba3d6ac0454bfad629dcde27ecf370277c3191324b58f91 | /*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either ver... | C | src/server/game/DataStores/DBCStructure.h | dabyv/trinity-f | gpl-2.0 | 99,669 | 2,169 | codeparrot/github-code |
ea76aaf12bc7acbd62bc6e49307910e00d98bd6a4a4c7d1c33fa73cd0f4002db | var EvolveHelper = function (log, window) {
'use strict';
var logGroup = 'EvolveHelper',
getSect;
getSect = function () {
log('getSect', 5, logGroup);
var kv = window.wgDartCustomKeyValues || '',
hub = window.cscoreCat || '',
sect;
if (window.wgDBname === 'wikiaglobal') {
sect = 'home';
if (w... | JavaScript | extensions/wikia/AdEngine/js/EvolveHelper.js | SuriyaaKudoIsc/wikia-app-test | gpl-2.0 | 819 | 42 | codeparrot/github-code |
432719fd2403100f73cccacdfc3c2d32ae36aa2e50dd7af770b28cfccbdf4ad4 | ###############################################################################
# Codestriker: Copyright (c) 2001, 2002 David Sitsky. All rights reserved.
# sits@users.sourceforge.net
#
# This program is free software; you can redistribute it and modify it under
# the terms of the GPL.
# Action object for the submiss... | Perl | lib/Codestriker/Action/SubmitEditCommentsState.pm | crorvick/codestriker | gpl-2.0 | 5,473 | 135 | codeparrot/github-code |
b0090298f57689430d3805cc5f67d6bee16a9a32582bb6174bf2b882bcea5f37 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
* Copyright (C) 2002 Jorn Baayen
* Copyright (C) 2003,2004 Colin Walters <walters@verbum.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 ... | C | lib/rb-stock-icons.c | AdamZ/rhythmbox-magnatune | gpl-2.0 | 4,435 | 133 | codeparrot/github-code |
0e109eeab2fed833d3f844f35cf38a7a482bb669556e73f954f2aa6da43ab884 | /* 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 | common/quicktime.h | klusark/scummvm | gpl-2.0 | 4,821 | 217 | codeparrot/github-code |
683c27ed4144390d73c361064df9e6eab9fef5a626370cc1111462c585bb8303 | # This file is part of Invenio.
# Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
# 2013, 2014, 2015 CERN.
#
# Invenio 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 versio... | Python | invenio/legacy/webstyle/templates.py | nharraud/invenio | gpl-2.0 | 27,002 | 702 | codeparrot/github-code |
986087ea835fe6ab8d1a65fcb6f21b3c686db40cb33babc9853166424fc186ea | #!/bin/bash
#Set WordPress version
WP_VERSION=${1-latest}
# Exit if any command fails
set -e
# Include useful functions
. "$(dirname "$0")/includes.sh"
# Check that Docker is installed
if ! command_exists "docker"; then
echo -e $(error_message "Docker doesn't seem to be installed. Please head on over to the Docker... | Shell | bin/install-docker.sh | Desertsnowman/Caldera-Forms | gpl-2.0 | 2,703 | 69 | codeparrot/github-code |
f25b267a1ba124d2305a3013d87503c4e695c20da74f595a2abf66a3eed8a98c | /*
* Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
*
* Copyright (C) 2008 Trinity <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either v... | C++ | src/game/ObjectAccessor.cpp | aedansilver/Proyecto-TBC | gpl-2.0 | 19,369 | 624 | codeparrot/github-code |
d94094a25a4be4855b3330217e3aa30c92ab0f061b47ec98986a1376b68b0d99 | //
// ZoneMinder cURL Class Interface, $Date: 2008-07-25 10:33:23 +0100 (Fri, 25 Jul 2008) $, $Revision: 2611 $
// Copyright (C) 2001-2008 Philip Coombes
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Softwa... | C | src/zm_curl_camera.h | connortechnology/ZoneMinder | gpl-2.0 | 3,334 | 113 | codeparrot/github-code |
202c5ca30c11ac8802da111b0f3b41033b19376d6461e7339e34b318d0802fa0 | // license:BSD-3-Clause
// copyright-holders:Miodrag Milanovic, Robbbert
/***************************************************************************
VCS-80
12/05/2009 Skeleton driver.
http://hc-ddr.hucki.net/entwicklungssysteme.htm#VCS_80_von_Eckhard_Schiller
This system is heavily based on the tk80. T... | C++ | src/mame/drivers/vcs80.cpp | sum2012/mame | gpl-2.0 | 7,681 | 258 | codeparrot/github-code |
bbcdc8ebe0c71022eb450abe685adfebfcb07708881b57dcee9c0367c0bb763f | /*
* KCemu -- The emulator for the KC85 homecomputer series and much more.
* Copyright (C) 1997-2010 Torsten Paul
*
* 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/sys/mingw/sys_socket_connect.c | t-paul/kcemu | gpl-2.0 | 1,763 | 60 | codeparrot/github-code |
16b6f72b0a491dd2a45c69eee28a3081c0d1069d36dcf5b38ab3f8393b483517 | /* mRss - Copyright (C) 2005-2008 bakunin - Andrea Marchesini
* <bakunin@autistici.org>
*
* This library 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
... | C | lib/nxml/mrss_free.c | DarkSpiritNET/NeoStats | gpl-2.0 | 8,542 | 457 | codeparrot/github-code |
38ae671664be6dafce0fea8bf338d9f6258594e44bf87b95c6fe3d49179148bf | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Formal Methods and Classes</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="R.css">
</head><body>
<h1> Formal Methods and Classes
<img class="toplogo" src="../../... | HTML | library/methods/html/00Index.html | hxfeng/R-3.1.2 | gpl-2.0 | 37,828 | 710 | codeparrot/github-code |
fe0433a76a873c90fb4a9bf891b252efd4355428152606c247108cccbd07f595 | /*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... | C | lustre/obdclass/llog_cat.c | sushantmane/lustre-stable | gpl-2.0 | 32,362 | 1,087 | codeparrot/github-code |
6af2261a70a2fd7db69633e83ac1efcb28f75a81d13b517eceaf02b2b081ce49 | /*
* Copyright 2007 Freescale Semiconductor.
*
* (C) Copyright 2003 Motorola Inc.
* Modified by Xianghua Xiao, X.Xiao@motorola.com
*
* (C) Copyright 2000
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is fre... | C | src/cpu/mpc85xx/cpu_init.c | dlintw/twpda-uboot | gpl-2.0 | 7,262 | 301 | codeparrot/github-code |
c18cb402370fb7377a78b970ff4df6e180e1c2e4238fbbcb27c873f5056c95d7 | <?php
use Automattic\Jetpack\Connection\Client;
require_once dirname( __FILE__ ) . '/json-api-config.php';
require_once dirname( __FILE__ ) . '/sal/class.json-api-links.php';
require_once dirname( __FILE__ ) . '/sal/class.json-api-metadata.php';
require_once dirname( __FILE__ ) . '/sal/class.json-api-date.php';
// E... | PHP | jetpack-10.3/class.json-api-endpoints.php | Automattic/vip-go-mu-plugins | gpl-2.0 | 71,998 | 2,182 | codeparrot/github-code |
302a0077e128f4857ee6f2a9d4819a014a471d7466a73933e917914282582790 | /*
This file is part of GNUnet.
(C) 2001, 2002, 2003, 2004, 2006 Christian Grothoff (and other contributing authors)
GNUnet 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 ... | C | src/util/cron/timertest.c | OpenSourceInternetV2/gnunet | gpl-2.0 | 2,887 | 103 | codeparrot/github-code |
35a9fd688c2f40e2002801ceaabefc184369d19c0a204c13ca30c5be55cdf774 | //////////////////////////////////////////////////////////////////////
/// (C)opyright 2004
///
/// Institute of Computer Science V
/// Prof. Männer
/// University of Mannheim, Germany
///
/// *******************************************************************
///
/// Designer(s): Steinle
///
/// *****... | C | htrack/MiscLIB/include/errorHandling.h | NicolasWinckler/CbmRoot | gpl-2.0 | 18,068 | 1,178 | codeparrot/github-code |
898fdc8c6784fac17f319d0f9614ec5d4c3cccbfe069543b8089bd1f2b4c78e5 | /*
* continuations used
*/
struct ke_continuation {
struct pluto_crypto_req_cont ke_pcrc;
struct msg_digest *md;
};
struct qke_continuation {
struct pluto_crypto_req_cont qke_pcrc;
struct state *st; /* need to use abstract # */
struct state *isak... | C | openswan/programs/pluto/ikev1_continuations.h | ZHAW-INES/rioxo-uClinux-dist | gpl-2.0 | 1,205 | 40 | codeparrot/github-code |
6de8faf32f5b815e71a2486bfab47ac7974996644e7fc92e83493017a2809d25 | /*
*
* Copyright (C) 2008 Advanced Micro Devices, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | C | payloads/libpayload/include/libpayload.h | coreboot/coreboot | gpl-2.0 | 17,528 | 600 | codeparrot/github-code |
0ea4e2c890f7e4aeba2f6e99d59bb7d5ab5ecf3ca5be0bd7c1c515a1d866c0e5 | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 5 End... | C++ | JuceLibraryCode/modules/juce_gui_basics/filebrowser/juce_FileChooser.cpp | liamlacey/Shuttertone | gpl-2.0 | 8,848 | 273 | codeparrot/github-code |
5a039c93914aa1ebe40515f37f05cf52602d3c8de8fd5062e6faff4cac2d0e36 | /*
JSCookMenu v1.4.4. (c) Copyright 2002-2005 by Heng Yuan
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, ... | JavaScript | www/jscook/JSCookMenu.js | foresthz/fusion5.1 | gpl-2.0 | 29,853 | 1,147 | codeparrot/github-code |
c1ed9869d908ab15739ace5eeee9c3a6f6040468af5b21862cc0f14842d3daa1 | # -*- coding: utf-8 -*-
"""
***************************************************************************
gdal2xyz.py
---------------------
Date : September 2013
Copyright : (C) 2013 by Alexander Bruy
Email : alexander dot bruy at gmail dot com
**************... | Python | python/plugins/processing/algs/gdal/gdal2xyz.py | luca76/QGIS | gpl-2.0 | 2,687 | 78 | codeparrot/github-code |
451b4cd78f1da0e77083a8d42bc00928dab048a1e822f44bd17f5915a4616f55 | /* Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009 Dean Beeler, Jerome Fisher
* Copyright (C) 2011-2016 Dean Beeler, Jerome Fisher, Sergey V. Mikayev
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free... | C++ | src/midi/munt/Tables.cpp | libretro/dosbox-libretro | gpl-2.0 | 3,816 | 99 | codeparrot/github-code |
2d882967a591841f3827d645f523700330ffbab5d8fe820989fd8c0a022f086f | set -e;
BT=${BT-../../bin/bedtools}
FAILURES=0;
check()
{
if diff $1 $2; then
echo ok
else
FAILURES=$(expr $FAILURES + 1);
echo fail
fi
}
# cat a.bed
# chr1 10 20
# chr1 30 40
# chr1 40 50
# chr1 45 100
###########################################################
# Test a basic merge; one interval ... | Shell | test/merge/test-merge.sh | lindenb/bedtools2 | gpl-2.0 | 18,859 | 643 | codeparrot/github-code |
29889f6099316b4aa1a6c05b3127392c74c2d0c073a56afdb3c5b33b6044c42d | <?php
/**
* Function for handling the bloginfo / get_bloginfo data using our own 'cache'.
*
* We removed the functionality because it will not run on all systems. The system used
* a fallback, but we could not guarantee that the fallback would meet every possible
* error condition.
*
* @since 0.9.6
*... | PHP | wp-content/themes/thematic/library/legacy/deprecated.php | flimshaw/Sisterhood-of-the-Unbuttoning-Pants | gpl-2.0 | 992 | 45 | codeparrot/github-code |
3182e752bf08754b1be96f9ec8c66cc1043637fc461781fd6084ad5ba21b0b59 | #ifndef _LINUX_BLKDEV_H
#define _LINUX_BLKDEV_H
#include <linux/sched.h>
#ifdef CONFIG_BLOCK
#include <linux/major.h>
#include <linux/genhd.h>
#include <linux/list.h>
#include <linux/timer.h>
#include <linux/workqueue.h>
#include <linux/pagemap.h>
#include <linux/backing-dev.h>
#include <linux/wait.h>
#include <linu... | C | include/linux/blkdev.h | M8s-dev/kernel_htc_msm8939 | gpl-2.0 | 46,405 | 1,585 | codeparrot/github-code |
ead8569a53acfb361684e2980b652b08f2c705202cbd728d8880a72b511313c1 | /*
* Copyright (c) 2014, Linux Foundation. All rights reserved.
* Linux Foundation chooses to take subject only to the GPLv2 license
* terms, and distributes only under these terms.
* Copyright (C) 2010 MEMSIC, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of ... | C | drivers/input/misc/mmc3416x.c | kirananto/RaZorLettuce | gpl-2.0 | 22,481 | 910 | codeparrot/github-code |
277e82528f88b531017fceb4a27547feda9a2bb61f7687c574635ff5f249f995 | /*
* toshiba_acpi.c - Toshiba Laptop ACPI Extras
*
*
* Copyright (C) 2002-2004 John Belmonte
* Copyright (C) 2008 Philip Langdale
* Copyright (C) 2010 Pierre Ducroquet
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publis... | C | drivers/platform/x86/toshiba_acpi.c | hzpeterchen/linux-usb | gpl-2.0 | 33,690 | 1,354 | codeparrot/github-code |
8cf1678fa17a064e5512b8295dbb004f6812f6b584d1c92157e9c7f6a73918c8 | <?php
/**
* Piwik - Open source web analytics
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @category Piwik
* @package DataFiles
*/
/**
* Search Engine database
*
* ======================================
* HOW TO ADD A SEARCH ENGINE TO THE LIST
* ======... | PHP | analytics/core/DataFiles/SearchEngines.php | hendrasaputra/hendrasaputra.com | gpl-2.0 | 43,645 | 995 | codeparrot/github-code |
c6bf2087a2d6ff8106705ae200ba0ee14597e7abd627d008dfd639b406ce9926 | /*
* synergy -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied... | C++ | src/lib/synergy/KeyState.cpp | nyetwurk/synergy | gpl-2.0 | 40,618 | 937 | codeparrot/github-code |
c17a3339a1553d947bae4baddf947b269aa663b1e49b42234a9c5709feb7c667 | <?php
class Trigger{
var $Name="";
var $Target="";
var $Period="";
var $Functions = Array();
var $InputVar;
var $OutputVar;
var $Module="";
/*
Constructeur de la classe Trigger.
Parametres : $MyName, le nom de la trigger.
*/
function __construct($Xml,$Module){
$this->setModule($Module);
if ($Xml!="")... | PHP | Class/Process/Trigger.class.php | ENG-SYSTEMS/Kob-Eye | gpl-2.0 | 6,890 | 257 | codeparrot/github-code |
278b0d9f31cce1c38119a018935f78f4fe1229fdbbc66f66858d0caae4dd36c7 | <?php
declare(strict_types=1);
namespace Tvp\TemplaVoilaPlus\Handler\LoadSave;
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* Fo... | PHP | Classes/Handler/LoadSave/AbstractFileLoadSaveHandler.php | jpmschuler/templavoilaplus | gpl-2.0 | 1,391 | 56 | codeparrot/github-code |
2fcc3301a15de9d8a63757c4d6b7f3fadc94e0843242eb32cff8ce6d2217de2a | using System;
using Server.Items;
using System.Collections;
using Server.Engines.Quests;
using System.Collections.Generic;
using System.Linq;
namespace Server.Mobiles
{
[CorpseName("a djinn corpse")]
public class Djinn : BaseCreature
{
private static readonly ArrayList m_Instances = new ArrayList(... | C# | Scripts/Services/ExploringTheDeep/Mobiles/Djinn.cs | SirGrizzlyBear/ServUOGrizzly | gpl-2.0 | 6,092 | 193 | codeparrot/github-code |
e4c446e20ca74686984be8881e514099abb19da4005d5836b82fcd24769a0077 | <?php
namespace Allbitsnbytes\WPLogViewer;
if (!defined('WPLOGVIEWER_BASE')) {
header('HTTP/1.0 403 Forbidden');
die;
}
/**
* Dependencies
*/
use Allbitsnbytes\WPLogViewer\Characteristic\IsSingleton;
/**
* Settings handler
*
* @since 0.1.0
*/
class Settings {
use IsSingleton;
/**
* Default global s... | PHP | wp-content/plugins/wp-log-viewer/libs/Settings.php | glocalcoop/activist-network | gpl-2.0 | 3,566 | 165 | codeparrot/github-code |
74cc8659c06c7c0fcaa46c3dde60b84d2d2b1f0e13f45d7a0178bcba738d26ec | describe("jsdoc/config", function() {
var jsdoc = {config: require('jsdoc/config') };
it("should exist", function() {
expect(jsdoc.config).toBeDefined();
expect(typeof jsdoc.config).toEqual("function");
});
it("should provide a 'get' instance function", function() {
var config ... | JavaScript | third-party/jsjac/utils/jsdoc3/test/specs/jsdoc/config.js | cleanslate/CleanSlate | gpl-2.0 | 1,829 | 48 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.