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 |
|---|---|---|---|---|---|---|---|---|
fe15080cd72002a226bf7733ee0562656bde4a0051fd4bb88e299f79ed39596e | package MusicBrainz::Server::ControllerBase::WS::1;
use Moose;
use Readonly;
BEGIN { extends 'MusicBrainz::Server::Controller'; }
use DBDefs;
use HTTP::Status qw( :constants );
use MusicBrainz::Server::Data::Utils qw( model_to_type );
use MusicBrainz::Server::Validation qw( is_guid );
use MusicBrainz::Server::Excepti... | Perl | lib/MusicBrainz/Server/ControllerBase/WS/1.pm | mwiencek/musicbrainz-server | gpl-2.0 | 6,614 | 224 | codeparrot/github-code |
90d5b055597c6fe2252d07bf569a9b43401337bdc2d5c8d51b595dd969cdc303 | class RecordingException(Exception):
pass
class Recording(object):
def __init__(self, stream, lenght):
import command
self.name = None
self.time = None
self.lenght = lenght
self.path = None
self._temp_path = None
self._processing_list = []
if i... | Python | app/recording.py | rizen1892/SmartHomeSolutions-Web | gpl-2.0 | 3,094 | 109 | codeparrot/github-code |
eadb6b3b458ea2f24c0b47c43a4ac9c8be47157cdef8a79bb2cc172807558776 | /* sbni.c: Granch SBNI12 leased line adapters driver for linux
*
* Written 2001 by Denis I.Timofeev (timofeev@granch.ru)
*
* Previous versions were written by Yaroslav Polyakov,
* Alexey Zverev and Max Khon.
*
* Driver supports SBNI12-02,-04,-05,-10,-11 cards, single and
* double-channel, PCI and ISA modificat... | C | linux-2.6.17.new/drivers/net/wan/sbni.c | zrafa/linuxkernel | gpl-2.0 | 44,192 | 1,735 | codeparrot/github-code |
026478fb38706751ee74f402942b545b14b645dc5ed51e4d36d356acf571f856 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | C | engines/scumm/actor.h | klusark/scummvm | gpl-2.0 | 8,737 | 389 | codeparrot/github-code |
4817ab6041d6fae321cd97ea46e8200bb9cd0b2a1ccc1e359e50d3f7fbe5c81d | # Copyright (C) 2014 Cornelius Schumacher <schumacher@kde.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 version.
#
# Thi... | Ruby | lib/kde_frameworks_release.rb | nanduni-nin/inqlude | gpl-2.0 | 2,311 | 68 | codeparrot/github-code |
2df8b59f0477aa6d7493fcbba3b562e62d518e576b03754c7c5a4c5301ba79f2 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2010-2011 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | Java | core/soa/src/test/java/org/opennms/core/soa/filter/FilterTest.java | tharindum/opennms_dashboard | gpl-2.0 | 7,979 | 221 | codeparrot/github-code |
af84171d39d74cdb510dc4de3865d2a10cdb4c459348df6c0fffd92885b005d1 | //------------------------------------------------------------------------------
// Author: Vitali Adamenka
// Description: Header for describe ncurses main window.
// Copyright (c) 2015 EPAM Systems. All Rights Reserved.
//------------------------------------------------------------------------------
/*
This file ... | C | analyzers/src/watch/nc_windows/main_window.h | epam/nfstrace | gpl-2.0 | 1,820 | 57 | codeparrot/github-code |
579c5149955ee5b7fba85f3bd4475e093b794beefda4b8d18ab38941738fcea7 | <?php
/**
* Widget API: WP_Widget_Recent_Posts class
*
* @package WordPress
* @subpackage Widgets
* @since 4.4.0
*/
/**
* Core class used to implement a Recent Posts widget.
*
* @since 2.8.0
*
* @see WP_Widget
*/
class YS_Widget_Recent_Posts extends WP_Widget {
/**
* Sets up a new Recent Posts widg... | PHP | wp-content/themes/uniqmag-premium-theme-child/includes/widgets/class-ys-widget-recent-posts.php | Raegann/p20 | gpl-2.0 | 6,408 | 164 | codeparrot/github-code |
0f7c8d15180fc7d2964b0cb1cfe8b5a910bfd5ff0cc6a7a26108e28a43aa0dba | /*
* This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information
*
* 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 o... | C | src/game/Chat/Chat.h | spkansas/mangos-wotlk | gpl-2.0 | 43,556 | 891 | codeparrot/github-code |
62209b88dff2ccba217693865100c8056ca27edceac8e6e33cbdd7cb34401f2e | <?php
add_action( 'view-editor-section-hidden', 'wpv_loop_wizard_add_data_to_js', 10, 4 );
function wpv_loop_wizard_add_data_to_js( $view_settings, $view_layout_settings, $view_id, $user_id ) {
$loop_wizard_saved_settings = wpv_layout_wizard_load_saved_settings( $view_id );
ob_start();
require_once( WPV_PATH . ... | PHP | wp-content/plugins/wp-views/inc/wpv-admin-ajax-layout-wizard.php | scotthof/Publicus_WP_Beta | gpl-2.0 | 41,911 | 1,034 | codeparrot/github-code |
ee3a683c4d8b308e3052806e1407fe789648895e4fe8ad3bebffb6bea14d8ac9 | /* Do not modify this file. Changes will be overwritten. */
/* Generated automatically by the ASN.1 to Wireshark dissector compiler */
/* packet-acp133.c */
/* ../../tools/asn2wrs.py -b -p acp133 -c ./acp133.cnf -s ./packet-acp133-tem... | C | epan/dissectors/packet-acp133.c | masonh/wireshark | gpl-2.0 | 77,171 | 1,727 | codeparrot/github-code |
c7343de56e35c9ca3edf81971e1cf5ad3ee67a39fc2857a1dd4a93b69158d384 | package pf::Authentication::Source::LDAPSource;
=head1 NAME
pf::Authentication::Source::LDAPSource
=head1 DESCRIPTION
=cut
use pf::config qw($TRUE $FALSE);
use pf::Authentication::constants;
use pf::Authentication::Condition;
use Net::LDAP;
use Net::LDAPS;
use List::Util;
use Net::LDAP::Util qw(escape_filter_valu... | Perl | lib/pf/Authentication/Source/LDAPSource.pm | erSitzt/packetfence | gpl-2.0 | 14,988 | 438 | codeparrot/github-code |
ed07a27878d1761cc4e222ec57e6bdd09dc6e6f81dd16c75e15536221250c789 | /*
* Copyright (C) 2008-2013 Trinitycore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 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/EasternKingdoms/zone_loch_modan.cpp | InfinityCore/InfinityCore243 | gpl-2.0 | 4,045 | 107 | codeparrot/github-code |
4f1f5d641a2778a362dde622efed14afc454a1b8ce5a20d1b3afea6a47bf316f | /**
Copyright (C) SYSTAP, LLC 2006-2015. All rights reserved.
Contact:
SYSTAP, LLC
2501 Calvert ST NW #106
Washington, DC 20008
licenses@systap.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
... | Java | bigdata-rdf/src/java/com/bigdata/rdf/internal/NoSuchVocabularyItem.java | smalyshev/blazegraph | gpl-2.0 | 1,516 | 58 | codeparrot/github-code |
aa4f2b6a636e85b503a6f9f550b2eea64ec70104e4f861ac3e58740fe208c447 | /*
* Routines to compress and uncompress tcp packets (for transmission
* over low speed serial lines).
*
* Copyright (c) 1989 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this pa... | C | drivers/net/slhc.c | rickgaiser/linux-2.2.1-ps2 | gpl-2.0 | 20,739 | 816 | codeparrot/github-code |
6d3e600d77d4a5cd2665ac42c18aac3b3aa74c83d4e726bf9f4c8a1cd3bba9a1 | /*
This file is part of the KDE
Copyright (C) 2009 Tobias Koenig (tokoe@kde.org)
This library 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 software is distributed in th... | C++ | kioslave/trash/kinterprocesslock.cpp | kolab-groupware/kde-runtime | gpl-2.0 | 2,604 | 90 | codeparrot/github-code |
88df68d040a985e463adc6413ca87630c819a1e670e709fb2de4068454b14917 | /*
****************************************************************************
*
* simulavr - A simulator for the Atmel AVR family of microcontrollers.
* Copyright (C) 2001, 2002, 2003 Klaus Rudolph
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gene... | C++ | src/attiny2313.cpp | zouppen/simulavr | gpl-2.0 | 7,204 | 203 | codeparrot/github-code |
939493ff8de72718cfa221024dff21e4407073718e312849ca27e1e499076f17 | <?
require_once("../../lib/general/fpdf/fpdf.php");
require_once("../../lib/general/cabecera.php");
require_once("../../lib/general/Herramientas.class.php");
require_once("../../lib/modelo/sqls/bienes/Bnrinvbiemue01.class.php");
require_once("../../lib/bd/basedatosAdo.php");
class pdfreporte extends fpdf
{
... | PHP | web/reportes/reportes/bienes/pdfbnrinvbiemue01.php | cidesa/roraima | gpl-2.0 | 11,769 | 356 | codeparrot/github-code |
38af1927da211d94f5c6bec2a4dbb879756d2685c4fc0e3226084e04bc3752d9 | /*
* Memory merging support.
*
* This code enables dynamic sharing of identical pages found in different
* memory areas, even if they are not shared by fork()
*
* Copyright (C) 2008-2009 Red Hat, Inc.
* Authors:
* Izik Eidus
* Andrea Arcangeli
* Chris Wright
* Hugh Dickins
*
* This work is licensed under t... | C | mm/ksm.c | gabry3795/android_kernel_huawei_mt7_l09 | gpl-2.0 | 69,140 | 2,513 | codeparrot/github-code |
2eeb40c40ff761e4010bd6201ee21c9b3b51005f9c3b65570896204bb6701cdd | /* Set the error indicator of a stream.
Copyright (C) 2007, 2009-2016 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
... | C | lib/fseterr.h | yuxuanchen1997/coreutils | gpl-3.0 | 1,258 | 46 | codeparrot/github-code |
4a99141a7bafb1e557f399f525e1fc5b8741085534253ffa414b3a1787819cf1 | import traceback
import sys
import random
from gribapi import *
INPUT='../../data/constant_field.grib1'
OUTPUT='out.grib'
VERBOSE=1 # verbose error reporting
def example():
fin = open(INPUT)
fout = open(OUTPUT,'w')
gid = grib_new_from_file(fin)
nx = grib_get(gid,'Ni')
ny = grib_get(gid,'Nj')
... | Python | ropp-7.0/grib_api-1.9.9/examples/python/clone.py | MengbinZhu/pfldp | gpl-3.0 | 910 | 49 | codeparrot/github-code |
516a8b99e2a80fed8330fb0b82b15ac93115f8bd006e3c38fb20a91d7dc60d49 | #include "stdafx.h"
#include "plist.h"
namespace ipod
{
namespace tasks
{
void load_database_t::read_playcounts(ipod_device_ptr_ref_t p_ipod, abort_callback & p_abort)
{
{
//profiler(readingd);
try
{
service_ptr_t<file> p_counts_file;
pfc::string8 database_folder;
p_ipod->get_dat... | C++ | foo_dop/reader_playcounts.cpp | msquared2/ipod_manager | gpl-3.0 | 16,898 | 420 | codeparrot/github-code |
4ac004b7971f9671e512830864a28cd7325dd49e57622068d70e4c93287782f4 | /* radare - LGPL - Copyright 2006-2016 - pancake */
#include "r_config.h"
#include "r_util.h" // r_str_hash, r_str_chop, ...
R_API RConfigNode *r_config_node_new(const char *name, const char *value) {
RConfigNode *node;
if (!name || !*name) {
return NULL;
}
node = R_NEW0 (RConfigNode);
if (!node) {
return NU... | C | libr/config/config.c | j123123/radare2 | gpl-3.0 | 11,870 | 491 | codeparrot/github-code |
d1a780dd28f01f2ff18b1882893e8d897c6f66c089292c0a2eb5b79c3b65f69b | <?php
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the ... | PHP | htdocs/core/class/infobox.class.php | woakes070048/crm-php | gpl-3.0 | 9,320 | 255 | codeparrot/github-code |
56821432418bbe5d39419232aabdf8e0345c2d71ddf1a981b1c1e8a98ec76568 | /* COBRA manager parsing library. v1.7
* This software is released into the public domain.
*/
#ifndef _MANAGER_H_
#define _MANAGER_H_
#include <ppu-types.h>
#include <lv2/sysfs.h>
/*
* This library provides an API to parse the available ISO files
* provided by the COBRA ODE.
* You can communicate with the COBRA ... | C | source/manager.h | mussonero/GameSonic-ODE-Manager-V2 | gpl-3.0 | 4,213 | 153 | codeparrot/github-code |
ae950af9036ff487a91bc273df619a2b4c120721d45f3f9c763137f49f62bf85 | <?php
/**
* This file is part of the Claroline Connect package.
*
* (c) Claroline Consortium <consortium@claroline.net>
*
* Author: Panagiotis TSAVDARIS
*
* Date: 3/11/15
*/
namespace Icap\WikiBundle\Manager;
use Claroline\CoreBundle\Entity\Workspace\Workspace;
use Claroline\CoreBundle\Persistence\ObjectMana... | PHP | plugin/wiki/Manager/WikiManager.php | stefk/Distribution | gpl-3.0 | 9,080 | 242 | codeparrot/github-code |
6a764083a2003a3fdc08c29766dfbcc0f646f11fd1b3bd126b5476a2846545bf | /*
* libpinyin
* Library to deal with pinyin.
*
* Copyright (C) 2011 Peng Wu <alexepico@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Li... | C++ | src/lookup/lookup.cpp | epico/libpinyin | gpl-3.0 | 2,213 | 73 | codeparrot/github-code |
d27e03751abe247850f1e7ceb3a4ffcc6a566f765325ca58021833660e83dce5 | #include "ADTimer.h"
#include <iostream>
#include <stdio.h>
//#include <signal.h>
#include <string.h>
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
using namespace std;
int ADTimer::received_user_stop_sig=0;
int ADTimer::stoptimer=0;
ADTimer* pTmpTimer;//for static member function access(this limits th... | C++ | sources/lib/lib-adav/src/ADTimer.cpp | philippgl/brbox_plus | gpl-3.0 | 5,774 | 184 | codeparrot/github-code |
e1b0ac6d3309529ad81b42a9cd384e99b21cb9fabd97ec9aef4c8d463dbb3851 | //
// DO NOT REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
//
// @Authors:
// timop
//
// Copyright 2004-2013 by OM International
//
// This file is part of OpenPetra.org.
//
// OpenPetra.org is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as publish... | C# | csharp/ICT/Petra/Client/MFinance/logic/FinanceControls.cs | tpokorra/openpetra.js | gpl-3.0 | 43,639 | 1,002 | codeparrot/github-code |
01f51bc5446dc79747fc028e0250bbadf7bd69b358ab48a46db41aff5d6cacf0 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Renik
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Upper_Jeuno/TextIDs");
require("scripts/globals/quests");
---------------... | Lua | scripts/zones/Upper_Jeuno/npcs/Renik.lua | waterlgndx/darkstar | gpl-3.0 | 907 | 33 | codeparrot/github-code |
41f80a46d1ee207180bb0f06355b6d1e50110ca62baeac8aae8d06b0f4ee7327 | \input{header}
\begin{document}
\begin{center}
{\LARGE IPTABLES}
\vspace{0.1in}\\
\end{center}
\section{Overview}
This Labtainer exercise illustrates the use of iptables
on a firewall to limit network access to a server from a client,
as illustrated in figure
\ref{fig:topology}
When properly configured, the firewa... | TeX | modules/utilities/unix/labtainers/files/Labtainers-master/labs/iptables2/docs/iptables.tex | thomashaw/SecGen | gpl-3.0 | 5,361 | 158 | codeparrot/github-code |
4b87b7fb129994cd4ad01ea07ada2fa819e3ebe5b280f2bdec78c8b8b710d615 | /*
* Copyright (C) 2016 Álinson Santos Xavier <isoron@gmail.com>
*
* This file is part of Loop Habit Tracker.
*
* Loop Habit Tracker 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 t... | Java | app/src/androidTest/java/org/isoron/uhabits/activities/habits/show/views/SubtitleCardTest.java | regularcoder/uhabits | gpl-3.0 | 1,870 | 67 | codeparrot/github-code |
46105256a3b9e6341683afb93e96f14c7a33ff2d72fea9c2663f4e2d78f0169e | using System;
using System.Collections;
using Server.Items;
namespace Server.Mobiles
{
public class SBRealEstateBroker : SBInfo
{
private ArrayList m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBRealEstateBroker()
{
}
public overrid... | C# | Scripts/Distro/Mobiles/Vendors/SBInfo/SBRealEstateBroker.cs | greeduomacro/xrunuo | gpl-3.0 | 874 | 37 | codeparrot/github-code |
bf829b2abe814de8d60905abc584e2188a86f995adbfa4165b96e4ee7f259a74 | /**
* Android SOAP Enabler is free software: you can redistribute it and/or modify
* it under the terms of the Lesser GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License,
* or any later version.
*
* Android SOAP Enabler is distributed in the hope that it wi... | Java | codegen/src/main/java/fr/norsys/asoape/codegen/metamodel/impl/WSDLServiceBean.java | clynrey/android-soap-enabler | gpl-3.0 | 1,724 | 64 | codeparrot/github-code |
6e3a193a14dd5692b53b14e11327e60b5d09ffe71a936477c6ef4606c507219a | 'use strict';
/* jasmine specs for controllers go here */
describe('Aardvark controllers', function () {
beforeEach(function () {
jasmine.addMatchers({
toEqualData: function(util, customEqualityTesters) {
return {
compare: function(actual, expected) {
... | JavaScript | test/unit/controllers.GraphCtrl.js | eswdd/otis | gpl-3.0 | 12,071 | 276 | codeparrot/github-code |
46ad5f97293cb05fb693e6a9d078b5db369d9bb2b2ddeadf296281bddece1c66 | /* MapOutfitterPanel.cpp
Copyright (c) 2015 by Michael Zahniser
Endless Sky 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.
Endless Sky is ... | C++ | source/MapOutfitterPanel.cpp | timbennett/endless-sky | gpl-3.0 | 6,721 | 296 | codeparrot/github-code |
47c0fef2a41b6bdbad76b4a7b458683c259ae60418045b78c3e560b189ccea04 | package couchdb
import (
"bufio"
"bytes"
"encoding/json"
"fmt"
"io"
)
// DBUpdatesFeed is an iterator for the _db_updates feed.
// This feed receives an event whenever any database is created, updated
// or deleted. On each call to the Next method, the event fields are updated
// for the current event.
//
// ... | GO | src/github.com/fjl/go-couchdb/feeds.go | sytan/couser | gpl-3.0 | 9,393 | 398 | codeparrot/github-code |
8829f1a294b14ca3a41d8d377b07736b4763502ee82cb3edeff852053b949fca | #pragma region Copyright (c) 2014-2017 OpenRCT2 Developers
/*****************************************************************************
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
* For more information, visit h... | C++ | src/openrct2/world/Climate.cpp | zaxcav/OpenRCT2 | gpl-3.0 | 17,210 | 473 | codeparrot/github-code |
2e4f57f83734ed831bdd36f5e67878160d2aed75ccfff05aaaa43fd7f8b344bf | /*
* This file is part of Cleanflight and Betaflight.
*
* Cleanflight and Betaflight are free software. You can redistribute
* this software and/or modify this software 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 ... | C | src/main/interface/msp_box.c | DieHertz/betaflight | gpl-3.0 | 9,968 | 347 | codeparrot/github-code |
8bf198341a389d6dc185c74941cf0bd83ce28ef9eacc514042a38f8349c41563 | #include <visp3/ustk_gui/usViper850WrapperVelocityControl.h>
#if defined(USTK_HAVE_VTK_QT) && defined(VISP_HAVE_VIPER850) && defined(VISP_HAVE_MODULE_ROBOT)
usViper850WrapperVelocityControl::usViper850WrapperVelocityControl()
{
m_initialized = false;
m_run = false;
velocityProbeContact = vpColVector(6, 0);
c... | C++ | modules/ustk_gui/src/usViper850WrapperVelocityControl.cpp | lagadic/ustk | gpl-3.0 | 13,381 | 426 | codeparrot/github-code |
bda745e26555f33888e4b554e736b79ef5cc07789c623e8da993080266102748 | /* xoreos - A reimplementation of BioWare's Aurora engine
*
* xoreos is the legal property of its developers, whose names
* can be found in the AUTHORS file distributed with this source
* distribution.
*
* xoreos is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Publ... | C | src/engines/aurora/localpathfinding.h | xoreos/xoreos | gpl-3.0 | 3,729 | 114 | codeparrot/github-code |
7a2d588478fb8605eea3d7a546b8262fc775eeb763a6ad70bd84194a738999c3 | package org.ngbw.web.controllers;
import java.util.Iterator;
import java.util.List;
import java.util.Vector;
import org.ngbw.sdk.UserAuthenticationException;
import org.ngbw.sdk.WorkbenchException;
import org.ngbw.sdk.WorkbenchSession;
import org.ngbw.sdk.database.Folder;
import org.ngbw.sdk.database.util.F... | Java | gateway_config/portal/src/main/java/org/ngbw/web/controllers/FolderController.java | cianfrocco-lab/COSMIC-CryoEM-Gateway | gpl-3.0 | 26,068 | 773 | codeparrot/github-code |
f8fbb3edbb90f5357167dc85deb2f3997197ccb05fadf052c1c87681ee81a289 | //
// IMGClient.h
// ImgurSession
//
// Geoff MacDonald - Pivotal Labs
// Distributed under the MIT license.
//
#import "IMGAccount.h"
#import <AFNetworking/AFNetworking.h>
//endpoints
static NSString * const IMGImgurBaseURL = @"https://api.imgur.com";
static NSString * const IMGMashapeBaseURL = @"https://imgur-a... | C | Pods/ImgurSession/ImgurSession/IMGSession.h | mileswd/mac2imgur | gpl-3.0 | 14,190 | 319 | codeparrot/github-code |
15400f6ffc720ea92b65a7e54688263e459e40a8f371a39675a63b4ee60f9803 | /*=================================================================
AmbieSense Context Software GPL Source Code.
Copyright (C) 2005 and onwards by AmbieSense Limited,
and/or its subsidiaries and co-founders. AmbieSense Limited
is an R&D-focused company incorporated in Scotland.
This file is part of the Ambi... | Java | Contexts/src/com/ambiesense/application/ContextsTestApp.java | lkastler/contexts | gpl-3.0 | 9,997 | 265 | codeparrot/github-code |
34153eb78774da57fdf07e49de2d40e32fc0f2317ddf423d48c79b9db9256e63 | import _ from 'lodash';
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import Form from 'Components/Form/Form';
import FormGroup from 'Components/Form/FormGroup';
import FormInputGroup from 'Components/Form/FormInputGroup';
import FormLabel from 'Components/Form/FormLabel';
import Button ... | JavaScript | frontend/src/DiscoverMovie/Overview/Options/DiscoverMovieOverviewOptionsModalContent.js | geogolem/Radarr | gpl-3.0 | 6,303 | 240 | codeparrot/github-code |
d9bc36ab164439333340d63f394616a9d43d6502c5f3e3d5bb27ceaaa885ec47 | /***********************************************************************
*
* Copyright (C) 2008 Albert Deuzeman, Siebren Reker, Carsten Urbach
* Claude Tadonki
*
* This file is part of tmLQCD.
*
* tmLQCD is free software: you can redistribute it and/or modify
* it under the terms of the GNU G... | C | solver/generate_dfl_subspace.c | urbach/tmLQCD | gpl-3.0 | 17,869 | 560 | codeparrot/github-code |
9ce1b6d3c53f60ef7be33010fef673e2ca107a3cbb89055c5c28eab4110c0375 | -----------------------------------
--
-- Zone: Foret de Hennetiel
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Foret_de_Hennetiel/TextIDs"] = nil;
require("scripts/zones/Foret_de_Hennetiel/TextIDs");
-----------------------------------
-- onI... | Lua | scripts/zones/Foret_de_Hennetiel/Zone.lua | salamader/ffxi-a | gpl-3.0 | 1,131 | 55 | codeparrot/github-code |
97224914d3fdb2c5dcb099785fc6f2c22e0663b691597e87ef644c2ec210e1c8 | /*
* Hardware monitoring driver for PMBus devices
*
* Copyright (c) 2010, 2011 Ericsson AB.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at yo... | C | linux/trunk/linux-4.0-adi/drivers/hwmon/pmbus/pmbus.c | r2t2sdr/r2t2 | gpl-3.0 | 6,332 | 218 | codeparrot/github-code |
47f8723e7d69a380e642d8ab5c4befce1569e223635ce7ee199da02b85f91743 | package org.oreon.gl.components.filter.ssao;
import org.oreon.core.gl.pipeline.GLShaderProgram;
import org.oreon.core.math.Matrix4f;
import org.oreon.core.math.Vec3f;
import org.oreon.core.util.ResourceLoader;
public class SSAOShader extends GLShaderProgram{
private static SSAOShader instance = null;
... | Java | oreonengine/oe-gl-components/src/main/java/org/oreon/gl/components/filter/ssao/SSAOShader.java | oreonengine/oreon-engine | gpl-3.0 | 1,339 | 57 | codeparrot/github-code |
b0a3dc991bc81619d649f68ec49ad3b705ecb5d4ac9528562540b0fcf60eb5a8 | // ======================================================================
//
// Test compilability and basic functionality of Utility/memory.h
//
// Author: W. E. Brown, 2010-03-19, adapted from the boost library's
// shared_ptr and related functionality whose internal attributions bear
// the following various notice... | C++ | Utility/test/testWeakPtr.cc | copernicus231/clhep-sprng | gpl-3.0 | 25,737 | 1,385 | codeparrot/github-code |
2d42a4d61b1a13256f91aa6dab9cb42ddb1948854a8db6252cae22630eef4751 | /*
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
*
* 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
* version 3.0 of the License, or (at your option) any later versio... | Java | libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphTargetItem.java | crimefire/jpexs-decompiler | gpl-3.0 | 11,033 | 379 | codeparrot/github-code |
22b19c594a948a8a0a9f1c22d6e8c55575f834972a50dc6fd2484d53c5762e70 | #ifndef __COMMUNICATION_PARTY_H__
#define __COMMUNICATION_PARTY_H__
#include "websocket.h"
#include <netinet/in.h>
using namespace std;
class TcpAddress;
class CommunicationParty {
public:
CommunicationParty();
CommunicationParty(string name, string ipAddress);
virtual ~CommunicationParty();
string getNa... | C | src/commparty.h | Enough-Software/pcap-http-analyzer | gpl-3.0 | 884 | 44 | codeparrot/github-code |
ac01a5cf71089b0c5d671ea38a53d4f20fd38dfa58f87ab7e995a899a4137ed1 | /**
* Copyright (C) 2010-2016 Structr GmbH
*
* This file is part of Structr <http://structr.org>.
*
* Structr 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 y... | Java | structr-core/src/main/java/org/structr/core/app/AppExample.java | joansmith/structr | gpl-3.0 | 1,538 | 62 | codeparrot/github-code |
c8031b6cc353782ff54289c5833d1fe059b15e39e5165fa7c62d9892910e074c | <?php
/**
* 2Moons
* Copyright (C) 2012 Jan Kröpke
*
* 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.
*
* Thi... | PHP | src/includes/classes/class.MissionFunctions.php | meetai/2Moons | gpl-3.0 | 5,019 | 173 | codeparrot/github-code |
6270f9680fc18ad9c66245f93794de2c450f4ad08dcf15f361334fd72184b3a4 | $(function()
{ //生成下部小按钮
var length = $('#slide_img a').length;
for(var i = 0; i < length; i++)
{
$('<div class="slide_btn" index="'+(length-i)+'"></div>').appendTo('#numss');
}
var str = $('#numss').html();
$('#numss').html($.trim(str)); /*去掉前后空格*/
$('#numss .slide_btn:last').addClass('btn_... | JavaScript | src/main/webapp/skin/2016/js/slide.js | darcy1990/letsseo | gpl-3.0 | 1,751 | 71 | codeparrot/github-code |
f8e11300e5d21b092e79083438364cfa85d80015d09dfa3f32a4273a7e27d3ab | // 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 "core/paint/ReplacedPainter.h"
#include "core/layout/LayoutReplaced.h"
#include "core/layout/api/SelectionState.h"
#include "core/layout/svg/Lay... | C++ | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp | geminy/aidear | gpl-3.0 | 5,873 | 154 | codeparrot/github-code |
ce3e920b045b3ea6ecf060c97de4389eafb74203f2ed34a6c161566651390ee1 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | PHP | theme/iomad/layout/dashboard.php | lernlink/iomad-ll | gpl-3.0 | 3,826 | 102 | codeparrot/github-code |
c8d85647b07cadf1dae3fa508b7b84c0ea19230c00f1627283e95423af3fd744 | /* palette retrieving routines */
#include "fb_gfx.h"
FBCALL void fb_GfxPaletteGet(int index, int *r, int *g, int *b)
{
unsigned int color;
if (!__fb_gfx)
return;
index &= (__fb_gfx->default_palette->colors - 1);
color = __fb_gfx->device_palette[index];
if (!g) {
*r = (color & 0xFCFCFC) >> 2;
}
else {... | C | vendors/FreeBASIC-0.90.0-source/src/gfxlib2/gfx_paletteget.c | rvega/pd-bbb-gpio | gpl-3.0 | 705 | 40 | codeparrot/github-code |
ec45926b02f4595bd657a91039b032ba7acf2a11021f2abf116d50d8ba14a7e6 | package com.bioxx.tfc2.blocks;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyEnum;
import net.minecraft.block.state.BlockStateContainer;
import net.minecraft.block.state.IBlockState;
imp... | Java | src/Common/com/bioxx/tfc2/blocks/BlockStoneBrick.java | CHeuberger/TFC2 | gpl-3.0 | 2,309 | 72 | codeparrot/github-code |
a8c9d508cbf0285f3b8fa36a5547bae2e0db105498b1b0b90fc1f42aebcc88f2 | '''
SASSIE: Copyright (C) 2011-2016 Joseph E. Curtis, Ph.D.
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.... | Python | src_2.7/sassie/analyze/altens/altens.py | madscatt/zazzie | gpl-3.0 | 4,413 | 173 | codeparrot/github-code |
292a678339cec4bff8b1f1bbde2584a05e5e802778cf3c49fa812e904345209a | //===-- AArch64AsmBackend.cpp - AArch64 Assembler Backend -----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp | chris-chambers/llvm | gpl-3.0 | 22,566 | 570 | codeparrot/github-code |
b26254173a4900494d63e7752d81b01c12277ab198975bae43e1060850105f81 | /*
* Open Source Physics software is free software as described near the bottom of this code file.
*
* For additional information and documentation on Open Source Physics please see:
* <https://www.compadre.org/osp/>
*/
package org.opensourcephysics.numerics;
/**
* Class description
*
*/
public class CubicSpli... | Java | src/org/opensourcephysics/numerics/CubicSpline.java | OpenSourcePhysics/osp | gpl-3.0 | 9,105 | 296 | codeparrot/github-code |
7adfb4f79730f2c0d6a85eaca33f8ffcb538fa2c3105eec87a538adb03117f9f | /*
* Copyright (C) 1998-2004 David Turner and Werner Lemberg
* Copyright (C) 2006 Behdad Esfahbod
*
* This is part of HarfBuzz, an OpenType Layout engine library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
... | C | src/qt-harfbuzz/src/harfbuzz-gdef-private.h | alexston/calibre-webserver | gpl-3.0 | 3,586 | 127 | codeparrot/github-code |
b0ce520d113545f6e6592ff021a141385028250bf71bf9127e8b0261c1e1551a | #
# (c) 2016 Red Hat Inc.
#
# 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 later version.
#
# Ansible is d... | Python | lib/ansible/plugins/action/ironware.py | erjohnso/ansible | gpl-3.0 | 3,479 | 90 | codeparrot/github-code |
b509052ededd7c8bbbdb83d08b8bd444c70e177b341b25827742725ba30c3164 | /* This file is part of VoltDB.
* Copyright (C) 2008-2011 VoltDB Inc.
*
* VoltDB 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.
... | C | src/ee/common/UndoLog.h | ifcharming/original2.0 | gpl-3.0 | 7,549 | 189 | codeparrot/github-code |
ce535dea660824ed964a4f1770e931f9ada021ab2acf53accea2a6b602baea06 | /*
---------------------------------------------------------------------------------------
This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator)
For more information, visit http://www.swganh.com
Copyright (c) 2006 - 2014 The SWG:ANH Team
----------------------------------------------... | C++ | src/LoginServer/LoginManager.cpp | xiaobodu/mmoserver | gpl-3.0 | 28,103 | 724 | codeparrot/github-code |
bcacd343939a0c684f7f5b2880cbd85f99b262cda98c7b3ec3fa5a264c44a376 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\... | C++ | applications/test/fieldDependency/Test-fieldDependency.C | will-bainbridge/OpenFOAM-dev | gpl-3.0 | 2,783 | 102 | codeparrot/github-code |
8f1afc5fa933faafcaea936c3e559efd15a2c7bcc0412a6ec70ed0953f435abd | <?php
class SitemapController extends BaseController {
public function __construct() {
parent::__construct();
}
public function index() {
$category = Category::all();
$nodes = Node::all();
$data_array = array();
foreach ($category as $row) {
... | PHP | v1.0/app/Modules/sitemap/controllers/SitemapController.php | y80x86ol/simpla-cms | gpl-3.0 | 1,777 | 55 | codeparrot/github-code |
08d2d133455ea552efc28f844ef8dfb825c807328f51daeceab5d40597a70a3b | <?php
/**
* Copyright Zikula Foundation 2009 - Zikula Application Framework
*
* This work is contributed to the Zikula Foundation under one or more
* Contributor Agreements and licensed to You under the following license:
*
* @license GNU/LGPLv3 (or at your option, any later version).
* @package Zikula_View
* @... | PHP | intranet/install/templates/plugins/function.html_select_locales.php | projectestac/intraweb | gpl-3.0 | 2,758 | 67 | codeparrot/github-code |
76eb57a2bcdc70ea959a3780ca40f0978f714c6b8f5a5fb2ec42aebf1552e1b2 | (function () {
'use strict';
/* ngInject */
function ResolveDuplicateModalController($modalInstance, $modal, Duplicates, Records, params) {
var ctl = this;
ctl.params = params;
ctl.selectRecord = selectRecord;
ctl.keepBoth = keepBoth;
ctl.close = $modalInstance.close... | JavaScript | web/app/scripts/views/duplicates/resolve-duplicate-modal-controller.js | WorldBank-Transport/DRIVER | gpl-3.0 | 1,514 | 46 | codeparrot/github-code |
3b03abac6c7d2f8dc2f6c57c30b318e9e626199934e9e86faf4420da917bbfb8 | /*
* FTGL - OpenGL font library
*
* Copyright (c) 2001-2004 Henry Maddocks <ftgl@opengl.geek.nz>
* Copyright (c) 2008 Sam Hocevar <sam@zoy.org>
*
* 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 th... | C++ | tulip-3.8.0-src/thirdparty/ftgl/FTLayout/FTSimpleLayout.cpp | kdbanman/browseRDF | gpl-3.0 | 14,418 | 462 | codeparrot/github-code |
e4deab380cdf181f68870f89e774f6fdf3242ec3a7aa27ab5e64e869533fece9 | <?php
/*
* This file is part of the Claroline Connect package.
*
* (c) Claroline Consortium <consortium@claroline.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Claroline\CoreBundle\Form\Administration;
use Symfo... | PHP | Form/Administration/MailInscriptionType.php | arnaudbey/CoreBundle | gpl-3.0 | 1,018 | 42 | codeparrot/github-code |
fe33ad8f31cf5cb14110fcae690499326be1915a623a79cfdf67c5e95b3ab98b | import React from 'react';
import ReactDOM from 'react-dom';
import { ApolloClient, ApolloProvider, createNetworkInterface } from 'react-apollo';
import { createStore, combineReducers, applyMiddleware, compose } from 'redux';
import 'url-search-params-polyfill';
import App from './containers/App';
import '../css/styl... | JavaScript | assets/src/js/app.js | go-serve/goserve | gpl-3.0 | 952 | 35 | codeparrot/github-code |
dc41bd6a7675afd79f313e98a5f277c7dbeff36a58804b9401aee73080a94a04 | /* RetroArch - A frontend for libretro.
* Copyright (C) 2011-2017 - Daniel De Matteis
* Copyright (C) 2016-2017 - Brad Parker
*
* RetroArch 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 Found-
* ation, either ... | C | menu/drivers_display/menu_display_gdi.c | rootfather/RetroArch | gpl-3.0 | 5,584 | 180 | codeparrot/github-code |
518dce35f50c4fbb5c12693b314089691c34e1fa1f7d22f63012a5aeac17ebb5 | # -*- coding: UTF-8 -*-
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
import re
from datetime import date
from pychess.compat import basestring, StringIO
from pychess.System import conf
from pychess.System.Log import log
from pychess.Utils.Board i... | Python | lib/pychess/Savers/pgn.py | metiscus/pychess | gpl-3.0 | 17,853 | 449 | codeparrot/github-code |
f7a8a74788830d3b6344f5ffea4c31737412751ce3871260d3b5d2d456e78826 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Symfony\Component\Validator\Constraints\LuhnValidator | </title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css">
... | HTML | symfony2/api/2.5/Symfony/Component/Validator/Constraints/LuhnValidator.html | rafaelgou/the-phpjs-local-docs-collection | gpl-3.0 | 5,752 | 142 | codeparrot/github-code |
4f08d4beb0c95a2271fe3d6e96c8302e63f19ee18f9b25cdc1e908a3948d244e | /*
* BaseCompatibilityInfo.java
* Created on 2011-08-16
*
* Copyright (c) Verax Systems 2011.
* All rights reserved.
*
* This software is furnished under a license. Use, duplication,
* disclosure and all other uses are restricted to the rights
* specified in the written license agreement.
*/
packa... | Java | src/main/java/com/veraxsystems/vxipmi/coding/commands/fru/record/BaseCompatibilityInfo.java | zhoujinl/jIPMI | gpl-3.0 | 2,530 | 101 | codeparrot/github-code |
aefebc8329767251e1dfe76cc856f270f7bab4600c872114ac3a5594e7817f0a | 'use strict';
const cluster_snapshot = require('./cluster_snapshot');
const constants = require('./constants');
const async = require('async');
const request = require('request');
const scheduler = require('node-schedule');
class AutoTermination {
constructor() {
this.job = null;
}
/**
* E... | JavaScript | lib/auto_termination.js | ashleyschuett/containership.plugin.cloud | gpl-3.0 | 4,439 | 111 | codeparrot/github-code |
84f4dd76fc89e315542fe04a11e392da38213c8eef62e25faaf1cdef07943cef | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | C++ | applications/utilities/mesh/advanced/refinementLevel/refinementLevel.C | OpenCFD/OpenFOAM-1.7.x | gpl-3.0 | 9,625 | 364 | codeparrot/github-code |
f66402eba9e57829ef12c29707ea56ea6fcde85174adc0444c87bacf03a17e42 | /*
* Geopaparazzi - Digital field mapping on Android based devices
* Copyright (C) 2010 HydroloGIS (www.hydrologis.com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 ... | Java | geopaparazzispatialitelibrary/src/eu/geopaparazzi/spatialite/database/spatial/util/SpatialiteUtilities.java | Huertix/geopaparazzi | gpl-3.0 | 11,691 | 295 | codeparrot/github-code |
72a50b47a14cfa0f4324cd94af98cdadf34322211f14d7fad0fe4a9d21244cda | <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- template designed by Marco Von Ballmoos -->
<title></title>
<link rel="stylesheet" hr... | HTML | docs/classtrees_jqmPhp.html | brunoleaomaia/jqmPhp | gpl-3.0 | 2,873 | 50 | codeparrot/github-code |
08804f46ec4046a3be6d6a70840bd0e9ea71459b330dcd9a00e91793b6636b6b | #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.Mods.Common/Activities/Air/Fly.cs | LipkeGu/OpenRA | gpl-3.0 | 3,533 | 122 | codeparrot/github-code |
69b20d98a930064d627b635a2344995cb37dab7a07ccae560a4428fdbe0218dd | /**
* @requires OpenLayers/Handler/Feature.js
* @requires OpenLayers/Handler/Keyboard.js
* @requires OpenLayers/Handler/Box.js
*/
/**
* Class: OpenLayers.Control.DeleteFeature
* Control to delete multiple features with a user-friendly interface. When
* activated, you can basically do 3 actions :
* 1) ... | JavaScript | lib/OpenLayers/Control/DeleteFeature.js | cigalsace/signalement | gpl-3.0 | 11,938 | 362 | codeparrot/github-code |
6ec2678ab938cbd10f08deed32264dcbcafa4fe56b69963a3032a983c4af6e7c | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | C++ | src/lagrangian/intermediate/IntegrationScheme/Euler/Euler.H | OpenCFD/OpenFOAM-1.7.x | gpl-3.0 | 2,591 | 95 | codeparrot/github-code |
9ac89b0fb66ae5a0a87193eaba22cb287aa85ae0570250ffc243561657c1c9de | <?php
/* Copyright (C) 2008-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2008-2012 Regis Houssin <regis.houssin@capnetworks.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 Softw... | PHP | htdocs/ecm/docdir.php | woakes070048/crm-php | gpl-3.0 | 6,072 | 231 | codeparrot/github-code |
fcbfa8dad0417539ee4396f1172c1510eebf18346ff9ab15fa9776aa96942cac | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
--------... | C++ | src/OpenFOAM/containers/Dictionaries/DictionaryBase/DictionaryBase.H | CONSELF/conselfcae-dev | gpl-3.0 | 5,441 | 197 | codeparrot/github-code |
f70cc47e65d7acec9d550832a7b67abf7f5a8a8a64805d831fbbdcda5734251b | /*********************************************************************************************
*
* 'GamlLinkingService.java, in plugin msi.gama.lang.gaml, is part of the source code of the GAMA modeling and
* simulation platform. (c) 2007-2016 UMI 209 UMMISCO IRD/UPMC & Partners
*
* Visit https://github.com/gama-p... | Java | msi.gama.lang.gaml/src/msi/gama/lang/gaml/linking/GamlLinkingService.java | hqnghi88/gamaClone | gpl-3.0 | 4,424 | 125 | codeparrot/github-code |
d0c8b66b8993ce25cdbffb0b31aca2ee5f9088ca36c624b71e16d9a326855d83 | -----------------------------------
--
--
--
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/globals/shop");
require("scripts/globals/status");
require("scr... | Lua | scripts/globals/player.lua | Kthulupwns/darkstar | gpl-3.0 | 7,818 | 333 | codeparrot/github-code |
eea3ea91aa3f590d5b7047542d70287413986884f5f1fdfd2220d3901d6427c4 | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
*
* The contents of this file are subject to the terms of the GNU General Public License Version 3
* only ("GPL"). You may not use this file except in compliance with th... | Java | OpenConcerto/src/org/openconcerto/sql/view/list/VirtualMenuGroup.java | mbshopM/openconcerto | gpl-3.0 | 5,096 | 177 | codeparrot/github-code |
17a79ce5a74caaa33b1514ceaaac83995404b92ca9113e20b6834200b9d31a0d | #include "aubio-types.h"
typedef struct
{
PyObject_HEAD
aubio_filter_t * o;
uint_t order;
fvec_t vec;
PyObject *out;
fvec_t c_out;
} Py_filter;
static char Py_filter_doc[] = ""
"digital_filter(order=7)\n"
"\n"
"Create a digital filter.\n"
"";
static char Py_filter_set_c_weighting_doc[] = ""
"set_c_weight... | C | python/ext/py-filter.c | aubio/aubio | gpl-3.0 | 8,097 | 298 | codeparrot/github-code |
44b7f7ad62af180ed761ac8d07cfbbf15112177e931cd800c23725cd09a5f0d7 | #region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.ClearCanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms of the G... | C# | ImageServer/Common/ServerPlatform.cs | mayioit/MacroMedicalSystem | gpl-3.0 | 24,801 | 631 | codeparrot/github-code |
7efbf393879e0d9382f977efe9f908e98fdd27792fa65e4095bab7a5b4db4471 | /*
* This file is part of HortonMachine (http://www.hortonmachine.org)
* (C) HydroloGIS - www.hydrologis.com
*
* The HortonMachine 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 th... | Java | gears/src/main/java/org/hortonmachine/gears/modules/v/triangulation/OmsVoronoiDiagram.java | TheHortonMachine/hortonmachine | gpl-3.0 | 5,371 | 137 | codeparrot/github-code |
6c291bc6c63a5b01d69036a564e493fe94f2ccb610be439cda6cd8053a18dd6f | /**
* Copyright © 2011 Red Hat, Inc.
*
* 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, merge, pu... | C | xorg-server/test/fixes.c | ArcticaProject/vcxsrv | gpl-3.0 | 9,674 | 355 | codeparrot/github-code |
286c08062e7ece88244faf286d10a46646c38331bb2d5e0a9d3bc4e3c8a5d793 | /*
* Copyright (C) 2003, 2004, 2005, 2008, 2009, 2010 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... | C | lib/x509/pkcs7.c | ppelleti/gnutls | gpl-3.0 | 23,664 | 1,034 | codeparrot/github-code |
c9cc410e58a882d4aa6cce4713379d52187079171ef0c8ae43608133fae45b4f | <?php
error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
require('./roots.php');
require($root_path.'include/core/inc_environment_global.php');
/**
* CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02
* GNU General Public License
* Copyright 2002,2003,2004,2005 Elpidio Latorilla
* elpidio@car... | PHP | modules/nursing/nursing-patient-such-start.php | fugitspace/2.7 | gpl-3.0 | 13,611 | 491 | codeparrot/github-code |
53f1840de1e35c578076164a565c4384cb8ab69aacc22739660791889d0af194 | package edu.stanford.nlp.mt.decoder.feat;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import edu.stanford.nlp.mt.decoder.feat.base.DTULinearDistortionFeaturizer;
import edu.sta... | Java | src/edu/stanford/nlp/mt/decoder/feat/FeaturizerFactory.java | stanfordnlp/phrasal | gpl-3.0 | 6,517 | 183 | codeparrot/github-code |
94d9d1a3bd48041f07a083a543c2eeedb73c222cf10484e3919448a883b286e9 | package XZot1K.plugins.zb.utils.holograms;
import XZot1K.plugins.zb.ZotBox;
import XZot1K.plugins.zb.packets.holograms.Hologram;
import org.bukkit.scheduler.BukkitRunnable;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
public class HologramTask extends BukkitRunnable
{
private ZotBox p... | Java | src/XZot1K/plugins/zb/utils/holograms/HologramTask.java | XZot1K/ZotBox | gpl-3.0 | 2,078 | 74 | codeparrot/github-code |
9075838b94efbca2155889275f4e00688c84b6ae20451711b0d22f98741b634f | /*
* This file licensed under the GNU General Public License.
* http://www.gnu.org/licenses/gpl.txt
*/
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include "nqcommon.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <regex.h>
#include... | C | server/src/nqcommon.c | tseesing/s3c2440adc | gpl-3.0 | 2,354 | 130 | codeparrot/github-code |
9272d602824def19dd63f644232fa9e777c71848224c45d67e4c7e77f9ff9281 | # -*- coding: utf-8 -*-
#
# Copyright (C) 2011 Tiger Soldier
#
# This file is part of OSD Lyrics.
#
# OSD Lyrics 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 ... | Python | python/dbusext/property.py | osdlyrics/osdlyrics | gpl-3.0 | 8,082 | 229 | codeparrot/github-code |
f16035fb46806e51b64d73dae8b4f41c2034875b5aec4f56fd947f472bd5f383 | div#oeditor-container {
position: relative;
}
div.form > div {
width: 700px;
margin: 20px;
padding: 15px;
text-align: left;
}
#formContainer fieldset {
border: none;
border-top: solid 1px #e0e0e0;
border-bottom: solid 1px #e0e0e0;
margin-bottom: 16px;
}
div#formContainer fieldset legend span {
colo... | CSS | modules/oeditor/_static/css/oeditor.css | GirlsCodePy/girlscode-coursebuilder | gpl-3.0 | 19,921 | 900 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.