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 |
|---|---|---|---|---|---|---|---|---|
a27e2438e0642b676c6652a2b1f2a94eace643f582c53fe6a9d953c2850b930e | ### Copyright (C) 2009 Vincent Legoll <vincent.legoll@gmail.com>
### 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... | Python | vc/cdv.py | oliver/meld | gpl-2.0 | 1,787 | 42 | codeparrot/github-code |
b686399b90773b66409cef456687c569386d61a7ac279c70f50597694272db55 | /*
Madge Ambassador ATM Adapter driver.
Copyright (C) 1995-1999 Madge Networks Ltd.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) a... | C | drivers/atm/ambassador.c | tianya3796/linux2.6.9 | gpl-2.0 | 70,370 | 2,524 | codeparrot/github-code |
e8d691e5d353d9055d78fd5112a4d12b6057cead04adaaab3110e81538424e1f |
import os.path
from zope.interface import implements
from twisted.cred import credentials
from twisted.spread import pb
from twisted.application.internet import TCPClient
from twisted.python import log
import cvstoys.common # to make sure VersionedPatch gets registered
from buildbot.interfaces import IChangeSource
... | Python | data/python_files/32959020/freshcvs.py | viswimmer1/PythonGenerator | gpl-2.0 | 5,468 | 145 | codeparrot/github-code |
0f88652549fccabe390fa010e047e32802812b70c454b30fbe38caf71cb9c9cf | /*
* 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/shared/ByteBuffer.h | spkansas/mangos-wotlk | gpl-2.0 | 12,785 | 537 | codeparrot/github-code |
11f23d90cbffa2e3a332da17d038642b8032966153a40ef0391d6bc937d6bc9a | /**
* @file Sets up the event bar javascript.
* This file should load after tribe events core and pro js and before any events view javascript.
* @version 3.0
*/
/**
* @global
* @desc This global is used in various functions throughout the plugin to determine if the view is being changed. Its value will be set t... | JavaScript | wp-content/plugins/the-events-calendar/resources/tribe-events-bar.js | cooniur/gcc-website | gpl-2.0 | 8,784 | 279 | codeparrot/github-code |
24d45b5eee1e6000c809aa747cc798cb06fdafb469311cae4d06f1bf421263ad | /**
* Copyright (C) 2012-2015 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with... | Java | extensions/aqd/ereporting/src/main/java/org/n52/sos/util/Reference.java | nuest/SOS | gpl-2.0 | 5,173 | 166 | codeparrot/github-code |
14698ef68a4357cce06737519134919da597807ba016c7cd6ffaec047e6032ab | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+---------------------... | PHP | wp-content/plugins/civicrm/civicrm/CRM/Member/Form/Search.php | glocalcoop/activist-network | gpl-2.0 | 11,590 | 388 | codeparrot/github-code |
a3c049b508964714f2b63ffa8381bab2485ff05eda1bdb660209feed7da3ef64 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2007 Guido Dhondt
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation(version 2);
!
! ... | FORTRAN | application/CalculiX/ccx_2.8p2/src/wye.f | zagl/ccx-user | gpl-2.0 | 9,837 | 381 | codeparrot/github-code |
990a138829868cf2350c2b6a9d8e57ae1245eef9676c1892b07ec02288be6e26 | /* ptrace.c: Sparc process tracing support.
*
* Copyright (C) 1996, 2008 David S. Miller (davem@davemloft.net)
* Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
*
* Based upon code written by Ross Biro, Linus Torvalds, Bob Manson,
* and David Mosberger.
*
* Added Linux support -miguel (weird, eh?, the... | C | arch/sparc64/kernel/ptrace.c | janrinze/loox7xxport | gpl-2.0 | 25,835 | 1,097 | codeparrot/github-code |
7010dbe03cebd7267d0fead21173fa94a2a1e96466ec923d373bfbc437503319 | /*
* 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/lustre_peer.c | sushantmane/lustre-stable | gpl-2.0 | 6,070 | 219 | codeparrot/github-code |
c58a0018588bf77c4f103798f475ad0c76003a8a899d2e99eaba6f5d70ca53bc | /**********************************************************************
* $Id:$
*
* PostGIS - Spatial Types for PostgreSQL
* http://postgis.refractions.net
* Copyright 2010-2012 Olivier Courtin <olivier.courtin@oslandia.com>
*
* This is free software; you can redistribute and/or modify it under
* the terms of t... | C | liblwgeom/libtgeom.c | fredj/postgis | gpl-2.0 | 30,721 | 1,180 | codeparrot/github-code |
dbbe79ebda2cca2411f968248c77ac9a7fb69642774c2cc284071dae7cf39270 | /**********************************************************************
Freeciv - Copyright (C) 2002 - The Freeciv Project
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, ... | C | src/common/aicore/cm.h | eric-stanley/freeciv-android | gpl-2.0 | 3,234 | 99 | codeparrot/github-code |
bae5959d8ad603e30330f928de04286c50fd1eec3a30e8ec170baf4d7fc7f3d8 | // This file contains javascript that is specific to the garden/routes controller.
jQuery(document).ready(function($) {
emailStyles.start();
// Hide/reveal the smtp options when the UseSmtp checkbox is un/checked.
$('#Form_Garden-dot-Email-dot-UseSmtp').click(function() {
if ($(this).prop('checked... | JavaScript | applications/dashboard/js/email.js | vanilla/vanilla | gpl-2.0 | 2,245 | 62 | codeparrot/github-code |
a1d9eade746bff247515a0ebd05ceb2f693dfe3668a7382ea9f410fbaf4fe33e | // { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* powerpc-ibm-aix* } }
// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* powerpc-ibm-aix* } }
// { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } }
// { dg-options " -std=gnu++... | C++ | libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/2.cc | h4ck3rm1k3/gcc | gpl-2.0 | 1,780 | 69 | codeparrot/github-code |
f3e3e376a86a05c7420fdc048c1132a56eceadaea88a4efd65e62edc2ffcd545 | /*
* Modular extensions service and registration functions
*
* Author: JuanJo Ciarlante <jjo-ipsec@mendoza.gov.ar>
*
* Michael Richardson <mcr@xelerance.com>
* Paul Wouters <paul@xelerance.com>
* Nick Jones <nick.jones@network-box.com>
*
* This program is free software; you can redistribute it and/or modify i... | C | openswan/linux/net/ipsec/ipsec_alg.c | rhuitl/uClinux | gpl-2.0 | 30,823 | 1,069 | codeparrot/github-code |
544820672aee85a5713bf4ddc5b47d483b0dcc1e10b6ffc80c010845e973985d | <?php
/*
* @package Joomla 1.5
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*
* @component Phoca Gallery
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/copyleft/gpl.html GNU/GP... | PHP | administrator/components/com_phocagallery/controller.php | Thz069/SiteCemJoomla | gpl-2.0 | 2,007 | 60 | codeparrot/github-code |
ff1e44e396dae33942fb60e6ececb4f1aff573c4662f190617c5116ddf8af305 | /* GStreamer
* Copyright (C) <2009> Руслан Ижбулатов <lrn1986 _at_ gmail _dot_ com>
*
* 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 2.1 of the License, or (at you... | C | gst/videomeasure/gstvideomeasure_ssim.c | freedesktop-unofficial-mirror/gstreamer__gst-plugins-bad | gpl-2.0 | 51,612 | 1,686 | codeparrot/github-code |
c9d31a9337953c3df740daec4e4eed7914730d3e283bcb9938ac376be0dff3e1 | <?php
if(is_admin()){
/**
* Add the search filter to the list and to the popup select
*/
add_action('wpv_add_filter_list_item', 'wpv_add_filter_search_list_item', 1, 1);
add_filter('wpv_filters_add_filter', 'wpv_filters_add_filter_search', 1, 1);
function wpv_filters_add_filter_search($filters) {
$filters... | PHP | wp-content/plugins/wp-views/inc/filters/wpv-filter-search.php | integrait/wp_ds | gpl-2.0 | 17,793 | 438 | codeparrot/github-code |
2aee4377848dc9ebe3483eebdb8336b19957582a185606fb8c38812c6d3cb735 | /*******************************************************************************
*
* Copyright (C) 2008 Fujitsu Services Ltd.
*
* Author: Nick Battle
*
* This file is part of VDMJ.
*
* VDMJ is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publish... | Java | core/interpreter/src/main/java/org/overture/interpreter/scheduler/CTMainThread.java | KlapZaZa/overture | gpl-3.0 | 4,947 | 219 | codeparrot/github-code |
f9797739932cfae49445acb7966f7b33b2265c97f3f8260951dbbeda13dccee3 | /*
* Copyright (C) 2013 The OmniROM Project
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program ... | Java | src/org/omnirom/omniswitch/Utils.java | mydongistiny/android_packages_apps_OmniSwitch | gpl-3.0 | 7,556 | 198 | codeparrot/github-code |
984415aa9c08c9339702aa620c51121fa7e14a9e81895fe5648a62c5e5002d15 | /*
* Copyright © 2012-2016 Canonical, Inc
*
* Author: Serge Hallyn <serge.hallyn@ubuntu.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, version 2 of the
* License.
*
*/
#define ... | C | external/nsexec/uidmapshift.c | AnboxU/anbox | gpl-3.0 | 4,651 | 161 | codeparrot/github-code |
15b3a629ae687be034ee0cfae760618b797456160864d2bce5f61584326a705f | """
Pakistani-specific Form helpers
"""
from __future__ import unicode_literals
import re
from django.core.validators import EMPTY_VALUES
from django.forms import ValidationError
from django.forms.fields import CharField, RegexField, Select
from django.utils.encoding import force_text
from django.utils.translation i... | Python | rOne/Storage101/django-localflavor/django-localflavor-1.3/localflavor/pk/forms.py | rodrigolucianocosta/ControleEstoque | gpl-3.0 | 1,810 | 65 | codeparrot/github-code |
9da5a4f41efea8e3f09272b456ab2b1ce04098bb46dab1f23609131220f0eb12 | //===-- ObjectContainerBSDArchive.h -----------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C | external/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.h | s20121035/rk3288_android5.1_repo | gpl-3.0 | 7,095 | 230 | codeparrot/github-code |
7e30d9e373fb79d7e63f6fa11f48be5e89be155f17fe87993af772fb11853c49 | //>>built
define("dojox/form/Uploader",["dojo/_base/kernel","dojo/_base/declare","dojo/_base/lang","dojo/_base/array","dojo/_base/connect","dojo/_base/window","dojo/dom-style","dojo/dom-class","dojo/dom-geometry","dojo/dom-attr","dojo/dom-construct","dojo/dom-form","dijit","dijit/form/Button","./uploader/_Base","./uplo... | JavaScript | ui/magua/dojox/form/Uploader.js | msicsic/jacob | gpl-3.0 | 5,804 | 141 | codeparrot/github-code |
158ca3a78839a4f85d5c0d1f1e7e3b77972a224c8eb0e5fadadeacd9bb80ae8c | /*
* This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
* http://www.gnu.org/licenses/gpl-3.0.html
*/
#ifndef HEADER_GUARD_8367E1F8
#define HEADER_GUARD_8367E1F8
/*
* Header guards for the lazy. Adds a header guard to every ".h" file that doesn't have one when sav... | C | src/plugins/headerguard/headerguard.h | stahta01/codeblocks_obfuscated | gpl-3.0 | 1,244 | 42 | codeparrot/github-code |
e3dd9733414867a94b731fa652c01422c3eb7a2e381ef4e45069d521cde75f42 | import _surface
import chimera
try:
import chimera.runCommand
except:
pass
from VolumePath import markerset as ms
try:
from VolumePath import Marker_Set, Link
new_marker_set=Marker_Set
except:
from VolumePath import volume_path_dialog
d= volume_path_dialog(True)
new_marker_set= d.new_marker_set
marker_set... | Python | SHH_WT_models/SHH_WT_models_final_output_0.1_-0.1_11000/mtx1_models/SHH_WT_models22582.py | batxes/4Cin | gpl-3.0 | 17,582 | 374 | codeparrot/github-code |
e150a1683faca26f40888084d45652e8b937f934b80b9b4dfd4c737ea5f68ba1 | <?php
require_once('../config.php');
//require_once($CFG->dirroot.'/course/lib.php');
require_once($CFG->dirroot.'/calendar/lib.php');
require_once($CFG->libdir.'/bennu/bennu.inc.php');
$userid = optional_param('userid', 0, PARAM_INT);
$username = optional_param('username', '', PARAM_TEXT);
$authtoken = required_para... | PHP | calendar/export_execute.php | zeduardu/moodle | gpl-3.0 | 12,660 | 266 | codeparrot/github-code |
563078e4573581c323ce58286772aefeaa677d9f220b8477ca272eee93b04e74 | /*
* This file is part of Kiama.
*
* Copyright (C) 2011-2015 Anthony M Sloane, Macquarie University.
*
* Kiama is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the
* Free Software Foundation, either version 3 of the License, or ... | Scala | library/src/org/kiama/example/oberon0/L2/source/SourcePrettyPrinter.scala | adeze/kiama | gpl-3.0 | 2,386 | 75 | codeparrot/github-code |
550db72b4682cae3b71e6a80881ca69615e9846ba5abf413edb58a8592cf631b | /*
* Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | C | webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_estimator_c.c | golden1232004/webrtc_new | gpl-3.0 | 3,632 | 113 | codeparrot/github-code |
68cddf288fdced91d8cec8b0a64dcf9803878b33d70278a4b322f581a73f41c5 | <?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 | mod/lti/service/gradebookservices/classes/local/resources/lineitems.php | marcusboon/moodle | gpl-3.0 | 13,080 | 311 | codeparrot/github-code |
439cbe183fa8927d5a336b25271c6853b0c281a39b4f2e8b8b0c9a6664bb3b8e | using System;
using System.Collections.Generic;
using System.Web.Mvc;
using FluentValidation.Attributes;
using SmartStore.Admin.Validators.Forums;
using SmartStore.Web.Framework;
using SmartStore.Web.Framework.Mvc;
namespace SmartStore.Admin.Models.Forums
{
[Validator(typeof(ForumValidator))]
public class For... | C# | src/Presentation/SmartStore.Web/Administration/Models/Forums/ForumModel.cs | sashabuka/smartshop | gpl-3.0 | 1,263 | 38 | codeparrot/github-code |
f5ea0e5fbc186fb31bf030811c7502e297df93749d4f10d27301088b80819105 | /* MyNodes.NET
Copyright (C) 2016 Derwish <derwish.pro@gmail.com>
License: http://www.gnu.org/licenses/gpl-3.0.txt
*/
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Linq;
using System.Timers;
using Dapper;
using MyNodes.Nodes;
namespace... | C# | Libs/Repositories.Dapper/NodesRepositoryDapper.cs | nickpirrottina/MyNetSensors | gpl-3.0 | 11,670 | 424 | codeparrot/github-code |
e8371e89109999807d25c369e41cf57f95c0fe1de8b853b70b5975087e7d34ef | /*
Copyright (C) 2011-2015 de4dot@gmail.com
This file is part of de4dot.
de4dot is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any l... | C# | de4dot.code/deobfuscators/MaxtoCode/StringDecrypter.cs | destnity/de4dot | gpl-3.0 | 3,382 | 116 | codeparrot/github-code |
5c39270d4801bad713646e958288a179cc1b3b5fd92f2f21676e97532152ed88 | #!/usr/bin/perl
# Parts Copyright Biblibre 2010
# This file is part of Koha.
#
# Koha 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.
... | Perl | members/members-update-do.pl | joubu/Koha | gpl-3.0 | 1,831 | 63 | codeparrot/github-code |
772c7c59ec153aa72d96551793552357ab84b297a53c2b8ed46b59a73bbe468f | /*
* Copyright (C) 2014 Swift Navigation Inc.
* Contact: Fergus Noble <fergus@swift-nav.com>
*
* This source is subject to the license found in the file 'LICENSE' which must
* be be distributed together with this source. All other rights reserved.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANT... | C | src/sbp_utils.h | mookerji/piksi_firmware | gpl-3.0 | 2,851 | 64 | codeparrot/github-code |
c52eac0b0dfab8a959e7925cf63344dc8c36e1cc77cf11b09bc4889aac111261 | <?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 | mod/data/preset.php | jenarroyo/moodle-repo | gpl-3.0 | 11,039 | 253 | codeparrot/github-code |
e425e6cac127221fcd6e0f338a6d9f14373df4906beafce93b72ccdf84da029f | /*
Copyright (c) 2013 yvt
This file is part of OpenSpades.
OpenSpades 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.
OpenSpades... | C++ | Sources/Draw/GLMapChunk.cpp | PlutoniumHeart/openspades | gpl-3.0 | 13,554 | 497 | codeparrot/github-code |
c468895f418c47cf9c30a573b80d1439512d8f42389cdea65697303a6e83416c | // Boost.Polygon library detail/skeleton_predicates.hpp header file
// Copyright Andrii Sydorchuk 2012.
// Copyright Lucanus Simonson 2012.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_... | C++ | third_party/boost/boost/polygon/detail/skeleton_predicates.hpp | bottompawn/darkforce | gpl-3.0 | 6,494 | 207 | codeparrot/github-code |
f2c96f48a9845e04eb99aff2612e6d49249b6327d51adcbf81c2e549a37d6299 | <?php
/**
* this class provide functions to edit an image, e.g. resize, rotate, flip, crop
* @author Logan Cai cailongqun [at] yahoo [dot] com [dot] cn
* @link www.phpletter.com
* @version 0.9
* @since 14/May/2007
* @name Image
*
*/
class Image
{
var $_debug = false;
var $_errors = arr... | PHP | upload/modules/tiny_mce_jq/tiny_mce/plugins/ajaxfilemanager/inc/class.image.php | LEPTON-project/LEPTON_1 | gpl-3.0 | 22,635 | 789 | codeparrot/github-code |
a83bed66487176f7f8a331af24f872ad717c873b86b1ea03dfae79b07680d0db | /* datetime.c - Module for common datetime function. */
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2008 Free Software Foundation, Inc.
*
* GRUB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fou... | C | lib/datetime.c | lzn960520/myburg | gpl-3.0 | 2,988 | 105 | codeparrot/github-code |
8b9982e541d3e72e1764f632ec45dd4e33d31c5b52fcdf451cb02b456cc4e2b3 | /*
* Copyright (C) 2010-2013 Groupement d'Intérêt Public pour l'Education Numérique en Afrique (GIP ENA)
*
* This file is part of Open-Sankoré.
*
* Open-Sankoré 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... | C++ | src/podcast/intranet/UBIntranetPodcastPublisher.cpp | gjalves/enki-sankore | gpl-3.0 | 7,114 | 223 | codeparrot/github-code |
97a7d1277088787d4925bbe3016660bc70ffd975296dc764177dcfa72583cf84 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration |
\\ / A nd | For copyright notice see file Copyright
\\/ M anipulation |
---------------------... | C++ | src/dbns/dbnsFlux/betaFlux/betaFlux.C | WensiWu/openfoam-extend-foam-extend-3.1 | gpl-3.0 | 7,654 | 228 | codeparrot/github-code |
96fe890f886bf549cae61cdec3c90aa40efe12892cdd759e1871cb5b5103d463 | /*
* AVAHI service publisher
* Copyright (C) 2009 Andreas Öman
*
* 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 ver... | C | src/avahi.c | unita02/tvheadend | gpl-3.0 | 6,712 | 274 | codeparrot/github-code |
a4b60ea0b279a0fb0dbda0f037791a48328ed9d65b332eb68f4fba42c1984e89 | using System.Collections.Generic;
using System.IO;
namespace ACE.DatLoader.Entity
{
public class SkyTimeOfDay : IUnpackable
{
public float Begin { get; private set; }
public float DirBright { get; private set; }
public float DirHeading { get; private set; }
public float DirPitc... | C# | Source/ACE.DatLoader/Entity/SkyTimeOfDay.cs | ogmage78/ACE | gpl-3.0 | 1,505 | 48 | codeparrot/github-code |
145c735c218c1ef3626ea803e2e5302ca5d3fe7e4f0ce87c76e6626d1da63579 | /*
* Grakn - A Distributed Semantic Database
* Copyright (C) 2016 Grakn Labs Limited
*
* Grakn 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... | Java | grakn-graql/src/main/java/ai/grakn/graql/internal/gremlin/fragment/IsAbstractFragment.java | aelred/grakn | gpl-3.0 | 1,451 | 47 | codeparrot/github-code |
282098848dffa22681c55b156d801e97f262b987b78b24ee9dba35a81d2aaad2 | <?php
// Prevent loading this file directly and/or if the class is already defined
if ( ! defined( 'ABSPATH' ) || class_exists( 'WPGitHubUpdater' ) || class_exists( 'WP_GitHub_Updater' ) )
return;
/**
*
*
* @version 1.6
* @author Joachim Kudish <info@jkudish.com>
* @link http://jkudish.com
* @package WP_GitHub... | PHP | updater.php | alex397832506/All-In-One-For-WordPress | gpl-3.0 | 12,613 | 441 | codeparrot/github-code |
517b2d98d9666cf50569fcc76a0a17d710c4d9774ea3010d8012e2e7e7bea439 | package com.playuav.android.graphic.map;
import com.o3dr.android.client.Drone;
import com.playuav.android.R;
import com.playuav.android.maps.MarkerInfo;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import com.o3dr.services.android.lib.coordinate.LatLong... | Java | Android/src/com/playuav/android/graphic/map/GraphicHome.java | jesseyu/nongfei-missionplane | gpl-3.0 | 1,366 | 66 | codeparrot/github-code |
da3712a72c9702a43cc01f0a6c4568b5de04bd07aabc299a70397d2673d4064e | import sys
import os
import shutil
import fnmatch
import re
from optparse import OptionParser
def normaliselines(in_filename, out_filename=None):
in_filename = os.path.normpath(in_filename)
if out_filename is None:
tmp_filename = in_filename + '.tmp'
else:
out_filename = os.pa... | Python | mcp/runtime/pylibs/normlines.py | MartyParty21/AwakenDreamsClient | gpl-3.0 | 2,437 | 73 | codeparrot/github-code |
93c62ed1a670043e08f48c3e80431be8891fe7151799aab54b8f5fcd688327e6 | // Copyright (C) 2006 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#include <cstdlib>
#include <sstream>
#include <string>
#include <vector>
#include <ctime>
#include <dlib/sockets.h>
#include <dlib/misc_api.h>
#include <dlib/sockstreambuf.h>
#include "t... | C++ | dlib/test/sockstreambuf.cpp | 3q12/Its-Me | gpl-3.0 | 5,476 | 254 | codeparrot/github-code |
a095476e9ba737357990855b3115f096a34236d4c0ff10ed3c19d96ca29456d2 | /*
This file is part of Telegram Desktop,
the official desktop version of Telegram messaging app, see https://telegram.org
Telegram Desktop 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 ... | C++ | Telegram/SourceFiles/codegen/common/cpp_file.cpp | 2asoft/tdesktop | gpl-3.0 | 3,679 | 132 | codeparrot/github-code |
f35296ff7dbdce52aa2c3c8cc37d846b10e4315b29d2aff25f1a07c1beed5e96 | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | C++ | src/libs/utils/codegeneration.cpp | pivonroll/Qt_Creator | gpl-3.0 | 5,522 | 174 | codeparrot/github-code |
a562f889e95df27d69c8db0b5a8fd2c9ef1b71a8eac363dd4638b8b6c541a72c | <?php
/**
* This script lists student attempts and responses
*
* @author Jean-Michel Vedrine, Jamie Pratt and others.
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package quiz
*//** */
require_once($CFG->libdir.'/tablelib.php');
require_once($CFG->dirroot.'/mod/quiz/report/responses/resp... | PHP | mod/quiz/report/responses/report.php | sammarshallou/moodle | gpl-3.0 | 14,361 | 333 | codeparrot/github-code |
ae2df87704e74be2b0c78410fea51c2c6b13bf797d7d85996f7c4d1e37056b06 | using System;
using System.Collections.Generic;
using Antlr4.Runtime;
using Rubberduck.Parsing;
using Rubberduck.Parsing.Grammar;
using Rubberduck.UI;
using Rubberduck.VBEditor;
namespace Rubberduck.Inspections
{
public class ObsoleteLetStatementUsageInspectionResult : CodeInspectionResultBase
{
privat... | C# | RetailCoder.VBE/Inspections/ObsoleteLetStatementUsageInspectionResult.cs | r14r/fork_vba_rubberduck | gpl-3.0 | 2,322 | 62 | codeparrot/github-code |
6643f90d6557cd060b0c1129d3bac256e9b78c284b3b2013b3856c31dfd54cfa | //========================================================================
// This software is free: you can redistribute it and/or modify
// it under the terms of the GNU General Public License Version 3,
// as published by the Free Software Foundation.
//
// This software is distributed in the hope that it will b... | C++ | src/client/main.cpp | haseebmughal69/ssl-vision | gpl-3.0 | 6,734 | 154 | codeparrot/github-code |
0ed7c40a2b10c08a135f353af2c4d6c2be3ee681897e03678aef6e544f2678f4 | /* -*- c++ -*- */
/*
* Copyright 2005,2010,2013,2016 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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, or ... | C++ | gr-vocoder/lib/gsm_fr_encode_sp_impl.cc | iohannez/gnuradio | gpl-3.0 | 2,142 | 76 | codeparrot/github-code |
4b440c5050e423b447fa4f1a8f3c28eedf5bca5631f2a0b7057998ed8d0d7689 | /*
Developed by Sandeep Sharma and Garnet K.-L. Chan, 2012
Copyright (c) 2012, Garnet K.-L. Chan
This pro... | C++ | density.C | sunqm/Block | gpl-3.0 | 16,537 | 492 | codeparrot/github-code |
8524c0d7ad9f456cc3e5fc5f7c58d18806ffb6935c6c61e8c8841e18a40b672a | /*
* Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.de)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your option)
* any late... | Java | ceres-jai/src/main/java/com/bc/ceres/compiler/CodeCompiler.java | arraydev/snap-engine | gpl-3.0 | 3,333 | 80 | codeparrot/github-code |
a557ec5c29ea60c22cb91637c5e59d35a98dbadecc7cef04ef8e54b4facdda14 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using GitCommands;
using GitCommands.Git;
using GitCommands.Git.Commands;
using GitExtUtils;
using GitUIPluginInterface... | C# | GitUI/AutoCompletion/CommitAutoCompleteProvider.cs | PKRoma/gitextensions | gpl-3.0 | 6,588 | 182 | codeparrot/github-code |
efd6e0001d3716d47778cb3a804adbd2ee79d7e532c2dfba76410618ce92fc80 | {% extends 'alert_base.html' %}
{% load humanize i18n%}
{% load i18n %}
{% load static %}
{% block alert_js%}
function load_map_layer(
dataurl, alerta, series_casos, casos_por_ap, bairros, map
) {
// Download GeoJSON via Ajax
$.getJSON(dataurl, function (data) {
// Add GeoJSON layer
geojs... | HTML | AlertaDengue/dados/templates/alerta_mrj.html | xmnlab/AlertaDengue | gpl-3.0 | 2,094 | 59 | codeparrot/github-code |
ff924f64a480afc552e3aec58bd9ba95ad1e2d7f92b5c8b5fc49a017b8c732e7 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# HORTON: Helpful Open-source Research TOol for N-fermion systems.
# Copyright (C) 2011-2017 The HORTON Development Team
#
# This file is part of HORTON.
#
# HORTON is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public Licens... | Python | scripts/horton-convert.py | QuantumElephant/horton | gpl-3.0 | 2,641 | 74 | codeparrot/github-code |
0263140e3d9cb6ca2fbffebdfb68468115bc2a9ea53aa5dd1ff586ddf76f35e7 | /* MediaType
Determines the type of media the url string is.
returns an object with .type and .id
the id is a key piece of information needed to make
the request of the api.
================================================== */
if(typeof VMM != 'undefined' && typeof VMM.MediaType == 'undefined') {
VMM.MediaType ... | JavaScript | source/js/Core/Media/VMM.MediaType.js | mnaughto/sstimeline | mpl-2.0 | 4,843 | 155 | codeparrot/github-code |
e38945f63242622829da68e72013d2f2cd7f8588844bbbbeea6c8cc4b9dd97ce | <?php
/*
* This file is part of the Superdesk Web Publisher Core Bundle.
*
* Copyright 2016 Sourcefabric z.u. and contributors.
*
* For the full copyright and license information, please see the
* AUTHORS and LICENSE files distributed with this source code.
*
* @copyright 2016 Sourcefabric z.ú
* @license http... | PHP | src/SWP/Bundle/CoreBundle/Theme/Helper/ThemeHelper.php | takeit/web-publisher | agpl-3.0 | 1,338 | 55 | codeparrot/github-code |
13eb16acda56848c46f312337b43b79096aa2e8a1b819da08205a974dab40bff | # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
from frappe.utils import flt
from frappe import _
def execute(filters=None):
if not filters: filters = {}
columns = get_columns()
... | Python | erpnext/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.py | suyashphadtare/vestasi-erp-jan-end | agpl-3.0 | 2,556 | 72 | codeparrot/github-code |
8b6e52e7329e8527134de00a23d1c99114c6c02bdded6d9aee75dd980c15f803 | package tc.oc.pgm.match;
import javax.inject.Inject;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Iterables;
import tc.oc.commons.bukkit.chat.ConsoleAudience;
import tc.oc.commons.core.chat.AbstractMultiAudience;
import tc.oc.commons.core.chat.Audience;
import tc.oc.commons.core.cha... | Java | PGM/src/main/java/tc/oc/pgm/match/MatchAudiences.java | cswhite2000/ProjectAres | agpl-3.0 | 1,540 | 51 | codeparrot/github-code |
f43a4718fc1762164247fcfcec4eb5dc7aca33067981628d419b3c50d308e79c | <?php
/*
* LimeSurvey
* Copyright (C) 2007 The LimeSurvey Project Team / Carsten Schmitz
* All rights reserved.
* License: GNU/GPL License v2 or later, see LICENSE.php
* LimeSurvey is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or... | PHP | limesurvey/admin/importgroup.php | yscdaxian/goweb | agpl-3.0 | 53,025 | 1,182 | codeparrot/github-code |
bba03388968770a59a6e728afffcd32eeae8dca32da7b2b976be6497d9178f62 | /*
* Copyright (c) 2015 Memorial Sloan-Kettering Cancer Center.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS
* FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder
* is on an "... | Java | core/src/test/java/org/mskcc/cbio/portal/dao/TestDaoInteraction.java | istemi-bahceci/cbioportal | agpl-3.0 | 4,296 | 110 | codeparrot/github-code |
c900f219b2012faf9f5089d4e7bc92446b70d97a564728f19914748798dcb68b | <!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" lang="en" dir="ltr"><head><table cellpadding=0 cellspacing=0><tr><td><img src="icon:///24/sort_descending.png" /></td><td width="5"></td><td><h2 class="fi... | HTML | src/main/resources/com/rapidminer/resources/doc/core/optimize_weights_backward.html | brtonnies/rapidminer-studio | agpl-3.0 | 3,196 | 80 | codeparrot/github-code |
2166605ac127bbaf0305b6d7d063ab054d2c19811eaf5d5263b7cfb5be44b228 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Poisson Distribution</title>
<link rel="stylesheet" href="../../../math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../index.html" title="Math Toolkit 2.5.... | HTML | examples/sobel/src/boost_1_63_0/libs/math/doc/html/math_toolkit/dist_ref/dists/poisson_dist.html | ntonjeta/iidea-Docker | agpl-3.0 | 17,579 | 331 | codeparrot/github-code |
9d5d4660802bc996e197a1b63e8eee2fad00413a469e529b808f81e7e94a9de7 | local InputContainer = require("ui/widget/container/inputcontainer")
local DocumentRegistry = require("document/documentregistry")
local InfoMessage = require("ui/widget/infomessage")
local ConfirmBox = require("ui/widget/confirmbox")
local lfs = require("libs/libkoreader-lfs")
local DocSettings = require("docsettings"... | Lua | frontend/apps/reader/readerui.lua | chrox/koreader | agpl-3.0 | 12,844 | 406 | codeparrot/github-code |
0f291d23e8f0008a518b670a14a253cb57ada5c81202651fdedfc47ceae55b41 | /*
Copyright (C) 2010 Collabora Multimedia.
@author Mauricio Piacentini <mauricio.piacentini@collabora.co.uk>
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 vers... | C++ | src/QGst/clock.cpp | comicfans/libqtgstreamer | lgpl-2.1 | 1,320 | 49 | codeparrot/github-code |
f973646092e294fabf7b7ef8e345c3bfac886157010f7bf30313e20e45e5b788 | /*
* Copyright (C) 1999 Lars Knoll <knoll@kde.org>
* Copyright (C) 1999 Antti Koivisto <koivisto@kde.org>
* Copyright (C) 2000 Dirk Mueller <mueller@kde.org>
* Copyright (C) 2006 Allan Sandfeld Jensen <kde@carewolf.com>
* Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
* Copyright (C) 2003, 2004, 2005, 20... | C++ | qt/qtwebkit/Source/WebCore/rendering/RenderImageResource.cpp | CodeDJ/qt5-hidpi | lgpl-2.1 | 3,710 | 135 | codeparrot/github-code |
1d5f1c8c18995cf9cbb2c0d48b3e356a52c628a5a23196ed1fe80435dbb1a777 | <?php
// (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: block.wikiplugin.php 44444 2013-01-05 21:24:24Z changi... | PHP | lib/smarty_tiki/block.wikiplugin.php | shailendrairis/tikiwiki | lgpl-2.1 | 1,133 | 50 | codeparrot/github-code |
2a0e584e07b6795f606fc09a5c75c5c92da006fc0ab5bad1f4a08ff93cd8628b | /****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC ... | C++ | framework/src/partitioner/LibmeshPartitioner.C | katyhuff/moose | lgpl-2.1 | 5,037 | 142 | codeparrot/github-code |
f8ef0ca0fca17eb4136d1bb76ee49ae53bb26af7f05445efe39a40236e79fcb8 | //
// libavg - Media Playback Engine.
// Copyright (C) 2003-2014 Ulrich von Zadow
//
// 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 2 of the License, or (at y... | C | src/player/BitmapManager.h | th3infinity/libavg | lgpl-2.1 | 2,063 | 68 | codeparrot/github-code |
b34a5dc7504244de1430ebb028f5647512c93c6c923897a80d60b96c1665c887 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | C++ | src/libs/utils/winutils.cpp | maui-packages/qt-creator | lgpl-2.1 | 7,141 | 194 | codeparrot/github-code |
cf5faa4fd3f08fc170e44e61d6a8c82363962caebd89425c2278c37c18313ca9 | # -*- coding: utf-8 -*-
#***************************************************************************
#* *
#* Copyright (c) 2015 Dan Falck <ddfalck@gmail.com> *
#* ... | Python | src/Mod/Path/PathScripts/PathFromShape.py | timthelion/FreeCAD | lgpl-2.1 | 4,466 | 108 | codeparrot/github-code |
d0ffd98002f9b5590f4cbef2451b562e0a8e679302e0d9c5db6943d651b844a9 | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* 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 So... | Java | test/org/opencms/test/OpenCmsThreadedTestCaseSuite.java | it-tavis/opencms-core | lgpl-2.1 | 9,142 | 246 | codeparrot/github-code |
a1b18a92de671e2ea23c5829ac20a733f2766ca60c7483755ce594af12a7ca66 | /* GStreamer
* Copyright (C) 2008 Wim Taymans <wim.taymans at gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) an... | C | gst/rtsp-server/rtsp-stream.h | barisdemiray/gst-rtsp-server | lgpl-2.1 | 9,820 | 199 | codeparrot/github-code |
592e92112b99b1c55359be58749e4441bd635be37e4897a1ec6d6d28edd7ea88 | package org.intermine.bio.postprocess;
/*
* Copyright (C) 2002-2015 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/les... | Java | bio/postprocess/main/src/org/intermine/bio/postprocess/CalculateLocations.java | tomck/intermine | lgpl-2.1 | 24,031 | 623 | codeparrot/github-code |
490f534c6ee40bff807516f09d38ffa2a9f9d523c7997c7d0e199a8e0ba6ac2a | require_relative 'cashflows'
require_relative 'decimal'
require_relative 'transaction'
module Finance
# the Amortization class provides an interface for working with loan amortizations.
# @note There are _two_ ways to create an amortization. The first
# example uses the amortize method for the Numeric class. ... | Ruby | lib/finance/amortization.rb | cyanna/finance | lgpl-3.0 | 7,513 | 202 | codeparrot/github-code |
476d9b8264e6f5fd2d8e9ad02e415514b694db95dde95f44a8efb59affc6ae87 | /*
* Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | C++ | webkit/Source/WebCore/css/WebKitCSSTransformValue.cpp | nawawi/wkhtmltopdf | lgpl-3.0 | 3,700 | 115 | codeparrot/github-code |
0368af34f02956f1cda4deb283485bb0b2fe9429b2de898a7d1f678eb0dd0637 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | C++ | src/plugins/remotelinux/embeddedlinuxqtversion.cpp | ltcmelo/qt-creator | lgpl-3.0 | 3,004 | 87 | codeparrot/github-code |
016d1bfc7407731e85cd4d4f7ef72fb592680caf17cae8e95a4fac114c75d6b0 | <?php if (!defined('FLUX_ROOT')) exit; ?>
<h2>Chat Messages</h2>
<?php if ($messages): ?>
<?php echo $paginator->infoText() ?>
<table class="horizontal-table">
<tr>
<th><?php echo $paginator->sortableColumn('time', 'Date/Time') ?></th>
<th><?php echo $paginator->sortableColumn('type', 'Type') ?></th>
<th><?php e... | PHP | themes/designno3/logdata/chat.php | johngerome/Flux-CP-themes---Design-no-3 | lgpl-3.0 | 3,697 | 93 | codeparrot/github-code |
63caa72ce06bfbe0ce26f366154fc4c8069a6d48700bb325b491dc5d2af54944 | /*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | C++ | webrtc_dsp/modules/audio_processing/aec3/render_buffer.cc | grishka/libtgvoip | unlicense | 2,743 | 76 | codeparrot/github-code |
5581d56a974b2fe936d358ffc418bb38d5d4d858ae934993bdb39584fd45886c | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | components/camel-telegram/src/main/java/org/apache/camel/component/telegram/model/InlineQueryResultCachedVoice.java | DariusX/camel | apache-2.0 | 4,631 | 155 | codeparrot/github-code |
1f434ffcc2f42c6c42fd20410782de0b88d7a1a79cc0c7cbd67f1323709cb04d | /*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* you may obtain a copy of the License at
*
* http://www.apache.org/... | Java | components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/MobileDeviceManagementConfigTests.java | NuwanSameera/carbon-device-mgt-plugins | apache-2.0 | 5,154 | 142 | codeparrot/github-code |
42ddd3469d14c4b57067fd3c20a3e82c1e2c6f28f23ff3a1f1a0fd01a6de5597 | /*
Copyright 2019 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | GO | pkg/commands/version.go | aledbf/kops | apache-2.0 | 1,061 | 46 | codeparrot/github-code |
a2ec7110db01526fb7ee6b04dfbe3dcfd31e40b046a8f147d8b92bb2b5f05114 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | C | src/io/image_iter_common.h | CodingCat/mxnet | apache-2.0 | 14,402 | 362 | codeparrot/github-code |
59dc24ee74f170ce5421a733da968c2e148c58300adedab9c504694ea915b4fa | /*
* Copyright 2018 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Java | kie-dmn/kie-dmn-feel/src/main/java/org/kie/dmn/feel/codegen/feel11/ASTUnaryTestTransform.java | mariofusco/drools | apache-2.0 | 5,784 | 198 | codeparrot/github-code |
58cdd15e840f58c40f1f4aab8030c9ab7b0f96c55418426ccd72082e56722163 | package info.novatec.testit.webtester.utils.conditions;
import java.util.Collection;
import java.util.Set;
import org.apache.commons.lang.StringUtils;
import com.google.common.base.Predicate;
import com.google.common.collect.Sets;
import info.novatec.testit.webtester.pageobjects.Select;
/**
* Predicate to be use... | Java | webtester-core/src/main/java/info/novatec/testit/webtester/utils/conditions/SelectedValues.java | testIT-WebTester/webtester-core | apache-2.0 | 1,292 | 47 | codeparrot/github-code |
779e2d8b7c533edffc1e5f4923d11e889c6624f597f89198c9f68cac8b209bb2 | /*
* Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | Java | hazelcast/src/test/java/com/hazelcast/test/starter/constructor/test/ScheduledTaskHandlerImplConstructorTest.java | tufangorel/hazelcast | apache-2.0 | 2,865 | 61 | codeparrot/github-code |
fadf331cb766e60e9a4eb73dd61d59c09203d278e40ebb107ae5370946937d8f | /* zklinks.js
Purpose:
Description:
History:
Fri Jun 24 22:10:09 2009, Created by jumperchen
Copyright (C) 2011 Potix Corporation. All Rights Reserved.
*/
FBL.ns(function() { with (FBL) {
const zkURLs = {
main: "http://www.zkoss.org",
forum: "http://www.zkoss.org/forum/",
... | JavaScript | chrome/content/zk/zklinks.js | zkoss/zkjet | apache-2.0 | 2,078 | 77 | codeparrot/github-code |
113dfd71b8f03eaf718e56c93f3213831103e4616d8c4a6530ea385c1a7d34e4 | /*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... | Java | modules/siddhi-core/src/main/java/org/wso2/siddhi/core/executor/condition/compare/greater_than_equal/GreaterThanEqualCompareConditionExpressionExecutorIntDouble.java | mt0803/siddhi | apache-2.0 | 1,553 | 41 | codeparrot/github-code |
4e82b22ff8cbdcc2996f3d89d5a21e0565d00cb29122863db53c48824783db45 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | flink-runtime/src/main/java/org/apache/flink/runtime/state/RegisteredOperatorBackendStateMetaInfo.java | haohui/flink | apache-2.0 | 6,433 | 204 | codeparrot/github-code |
94465045433060069f510f9b5c2999437aa962dfa8a1449b5f84c36d67a4b598 | -----------------------------------------------------------------------------
-- SAKAI_SITE_PROPERTY
-----------------------------------------------------------------------------
CREATE TABLE SAKAI_SITE_PROPERTY (
SITE_ID VARCHAR (99) NOT NULL,
NAME VARCHAR (99) NOT NULL,
... | SQL | kernel/kernel-impl/src/main/sql/hsqldb/sakai_site.sql | OpenCollabZA/sakai | apache-2.0 | 31,039 | 431 | codeparrot/github-code |
ec35be0496b26b9b6bcfcd4b81472c2d701a7a771fa7b5341030f527c8116471 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | fop-core/src/main/java/org/apache/fop/render/pcl/fonts/truetype/PCLTTFCharacterWriter.java | chunlinyao/fop | apache-2.0 | 5,393 | 135 | codeparrot/github-code |
e6b5a6d1649fb84ab6c104353a2e54e716095d55eaf88c20e83023cf41ccb0d2 | /* bidding_agent.cc -*- C++ -*-
Rémi Attab, 14 December 2011
Copyright (c) 2011 Datacratic. All rights reserved.
Implementation details of the router proxy.
*/
#include "rtbkit/plugins/bidding_agent/bidding_agent.h"
#include "rtbkit/core/agent_configuration/... | C++ | rtbkit/plugins/bidding_agent/bidding_agent.cc | pablin87/rtbkit | apache-2.0 | 18,053 | 589 | codeparrot/github-code |
aa0b9a0f0723ceb9fa2937daa91692f8cd4919f172e667394a89af8e386d81d3 | /*
Copyright 2015 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | Java | src/main/java/com/google/security/zynamics/binnavi/Database/CGenericSQLUserFunctions.java | hoangcuongflp/binnavi | apache-2.0 | 5,991 | 166 | codeparrot/github-code |
81506174c48bece10f66e31c23ffd6f769588f55eba08d28b194a92160dab2a1 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.security.authc.saml;
import org.el... | Java | x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SpConfiguration.java | ern/elasticsearch | apache-2.0 | 2,189 | 69 | codeparrot/github-code |
0ea2d3e846434720c13fc77e9adb93adfc3db10ef5f18996431c3eb4ffb3816e | /*
* Copyright 2019 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | GO | xds/internal/balancer/cdsbalancer/cdsbalancer.go | grpc/grpc-go | apache-2.0 | 20,468 | 557 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.