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
f8426b84690db00c4e91bbe15c5a430d2f62dec3cdfd9fa6da71a8415b452123
<?php /** * GeneratePress Customizer * * @package GeneratePress */ /** * Add postMessage support for site title and description for the Theme Customizer. * * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ add_action( 'customize_register', 'generate_customize_register' ); function generat...
PHP
wp-content/themes/generatepress/inc/customizer.php
devmario/wp-iring
gpl-2.0
21,464
804
codeparrot/github-code
effd2c3652862cfc56b50dacb4839080473d875194af200b50dae0608146ffdc
/* * Copyright 2009-2012 Freescale Semiconductor, Inc. * * This file is derived from arch/powerpc/cpu/mpc85xx/cpu.c and * arch/powerpc/cpu/mpc86xx/cpu.c. Basically this file contains * cpu specific common code for 85xx/86xx processors. * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <libfdt....
C
u-boot-2013.10/arch/powerpc/cpu/mpc8xxx/fdt.c
luckyboy/uboot
gpl-2.0
11,382
427
codeparrot/github-code
584c3dcba9e201f388902bfc05d2ccb15f989133f243e2f47505dbaeb612130f
/*** This file is part of systemd. Copyright 2013-2015 Kay Sievers Copyright 2013 Lennart Poettering systemd is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, ...
C
src/boot/bootctl.c
mbiebl/systemd
gpl-2.0
37,687
1,191
codeparrot/github-code
a40a16b5ed0f4048aaa68b4722d45c4bd351add3710b6ff9e44681786a960463
/* * linux/arch/sh/kernel/sys_sh.c * * This file contains various random system calls that * have a non-standard calling sequence on the Linux/SuperH * platform. * * Taken from i386 version. */ #include <linux/errno.h> #include <linux/sched.h> #include <linux/mm.h> #include <linux/smp.h> #include <linux/smp_lo...
C
arch/sh/kernel/sys_sh.c
snike4342/linux-2.4.0
gpl-2.0
4,321
198
codeparrot/github-code
b9bf962e3bd72491a6b46ad7f88ee2af7e55363f3f8de732d460bea68be7c4ea
require 'site_setting_extension' require_dependency 'site_settings/yaml_loader' class SiteSetting < ActiveRecord::Base extend SiteSettingExtension validates_presence_of :name validates_presence_of :data_type def self.load_settings(file) SiteSettings::YamlLoader.new(file).load do |category, name, default,...
Ruby
app/models/site_setting.rb
Jitendra-Patidar/discourse-IB
gpl-2.0
2,736
105
codeparrot/github-code
512998e74e31080a1b5c6377c97ac89e861111be1ee8a0b22b475576b714f25e
/* * Driver giving user-space access to the kernel's xenbus connection * to xenstore. * * Copyright (c) 2005, Christian Limpach * Copyright (c) 2005, Rusty Russell, IBM Corporation * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License ver...
C
drivers/xen/xenbus/xenbus_dev_frontend.c
RoadRunnr/net-next
gpl-2.0
16,027
686
codeparrot/github-code
911e53e30dabb379c3eb4eb9c8a68f779c2bebef1fc1fb3f7d58e10304d368b2
# MSM CPU/CODEC DAI Support snd-soc-msm-dai-objs := msm-dai.o obj-$(CONFIG_SND_MSM_DAI_SOC) += snd-soc-msm-dai.o snd-soc-msm7kv2-dai-objs := msm7kv2-dai.o obj-$(CONFIG_SND_MSM7KV2_DAI_SOC) += snd-soc-msm7kv2-dai.o # MSM Platform Support snd-soc-msm-objs := msm-pcm.o msm7k-pcm.o obj-$(CONFIG_SND_MSM_SOC) += snd-soc-ms...
Makefile
sound/soc/msm/Makefile
MrHyde03/android_kernel_samsung_espressovzw
gpl-2.0
3,122
101
codeparrot/github-code
81af77a04e72cd325c536abc05c9ede9434b65b0891c92e5c1204c2c08f6ab9d
// SPDX-License-Identifier: GPL-2.0 #ifndef CONFIGUREDIVECOMPUTERDIALOG_H #define CONFIGUREDIVECOMPUTERDIALOG_H #include <QDialog> #include <QStringListModel> #include "ui_configuredivecomputerdialog.h" #include "core/libdivecomputer.h" #include "core/configuredivecomputer.h" #include <QStyledItemDelegate> #include <Q...
C
desktop-widgets/configuredivecomputerdialog.h
torvalds/subsurface
gpl-2.0
3,647
148
codeparrot/github-code
ed33f5fb05d0be244a171096438fec1b41497c9fd40c474eea5e8ba700d3936b
<?php /* Plugin Name: MailChimp for WordPress Lite Plugin URI: https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=plugins-page Description: Lite version of MailChimp for WordPress. Adds various sign-up methods to your website. Version: 2.3.14 Author: ibericode Author URI: https://ibericode...
PHP
wp-content/plugins/mailchimp-for-wp/mailchimp-for-wp.php
DjKarui/powerhouse
gpl-2.0
2,350
73
codeparrot/github-code
9062046bccff0b6d73c9f72f35762b4b2b17994312a013641d2b265b968744c3
/* * Some convenience stuff * * Authors: * Lauris Kaplinski <lauris@kaplinski.com> * Jasper van de Gronde <th.v.d.gronde@hccnet.nl> * Jon A. Cruz <jon@joncruz.org> * Kris De Gussem <Kris.DeGussem@gmail.com> * * Copyright (C) 1999-2002 authors * Copyright (C) 2001-2002 Ximian, Inc. * Copyright (C) 201...
C++
src/sp-cursor.cpp
yaii/yai
gpl-2.0
3,807
138
codeparrot/github-code
84d0a91373272d1d4f6bf2f61d403a3e942d4ca90e984e743b7eec48a54d3f45
/* * linux/fs/umsdos/namei.c * * Written 1993 by Jacques Gelinas * Inspired from linux/fs/msdos/... by Werner Almesberger * * Maintain and access the --linux alternate directory file. */ /* * You are in the maze of twisted functions - half of them shouldn't * be here... */ #include <linux/err...
C
fs/umsdos/namei.c
alexbousso/kernel_2.4.18-14
gpl-2.0
29,305
1,125
codeparrot/github-code
fa789168518e99473f9cd831f49c7852865dbbab51d3b99063cf67050261bd01
/* packet-ros_asn1.c * Routines for ROS packet dissection * Graeme Lunt 2005 * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Li...
C
asn1/ros/packet-ros-template.c
MichaelQQ/Wireshark-PE
gpl-2.0
15,235
531
codeparrot/github-code
f9cfcd9bbf6bd040572e8e2e28179131fd917fe5c6e96089f563666953193c6f
<?php /** * @package AdminTools * @copyright Copyright (c)2010-2015 Nicholas K. Dionysopoulos * @license GNU General Public License version 3, or later * @version $Id$ */ // Protect from unauthorized access defined('_JEXEC') or die; class AdmintoolsControllerAdminpw extends F0FController { public function...
PHP
www/administrator/components/com_admintools/controllers/adminpw.php
SirPiter/folk
gpl-2.0
2,340
111
codeparrot/github-code
fed1221d94261a1e52d466fd5b7db41761d2642cc3dc341c0031eaa408c9c590
/*************************************************************************** qgsmeshcalcutils.cpp -------------------- begin : December 18th, 2018 copyright : (C) 2018 by Peter Petrik email : zilolv at gmail dot com...
C++
src/analysis/mesh/qgsmeshcalcutils.cpp
mhugo/QGIS
gpl-2.0
32,359
1,116
codeparrot/github-code
835d390a13190f5feceed161de185fc7b8e34afca44ea51222ad9c8c8431ba15
/* * File: jquery.dataTables.editable.js * Version: 1.3. * Author: Jovan Popovic * * Copyright 2010-2011 Jovan Popovic, all rights reserved. * * This source file is free software, under either the GPL v2 license or a * BSD style license, as supplied with this software. * * This source file ...
JavaScript
wp-content/plugins/products_plugin/inc/js/JQuery-DataTables-Editable-1.3/media/js/jquery.dataTables.editable-1.3.js
antomst/wordpress_skelton
gpl-2.0
34,473
702
codeparrot/github-code
7571402acaea39fbed41ba156cf8d8cfb29490c84c77e53e33064431eabd7b81
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* eel-gtk-container.h - Functions to simplify the implementations of GtkContainer widgets. Copyright (C) 2001 Ramiro Estrugo. The Mate Library is free software; you can redistribute it and/or modify it under the terms of the ...
C
eel/eel-gtk-container.h
Wienek/caja
gpl-2.0
1,935
52
codeparrot/github-code
71438d9dd4ca324dcce9060426ebf77473db028bba98e9f1c4a981edc52f59c5
/* This testcase is part of GDB, the GNU debugger. Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2004 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 Softw...
C++
user/gdb/gdb/testsuite/gdb.cp/classes.cc
kidmaple/CoolWall
gpl-2.0
11,066
609
codeparrot/github-code
74eb8d95462e5f76d1986363df6c40550a251b241a59197c14fcdd407e3eb345
local config = require 'config' local u = require 'utilities' local api = require 'methods' local plugin = {} local function antibot_on(chat_id) local hash = 'chat:'..chat_id..':settings' local status = db:hget(hash, 'Antibot') if status and status == 'on' then return true end end local function unblockUser(ch...
Lua
plugins/welcome.lua
Vpn989/groupbutler
gpl-2.0
9,985
278
codeparrot/github-code
ffa0da5d17e00d120486f775fd32ab30df65bd981ad253f7d3841bdb338e71c0
/* * kernel/time/sched_debug.c * * Print the CFS rbtree * * Copyright(C) 2007, Red Hat, Inc., Ingo Molnar * * 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. */ #include <linu...
C
linux-2.6.x/kernel/sched_debug.c
kidmaple/CoolWall
gpl-2.0
6,413
288
codeparrot/github-code
47c66bddcf7e21418eb68cbdc1dcc8baf9c140da507c4f50b085d1311ff96122
/* * ReactOS Hebrew Keyboard layout * Copyright (C) 2005 - 2013 ReactOS * License: LGPL, see: LGPL.txt * Authors: Royce Mitchell III * Baruch Rutman 2013 * * Thanks to: http://www.barcodeman.com/altek/mule/scandoc.php * and http://win.tue.nl/~aeb/linux/kbd/scancodes-1.html */ #define WIN32_NO_STATUS ...
C
dll/keyboard/kbdheb/kbdheb.c
sunnyden/reactos
gpl-2.0
12,657
514
codeparrot/github-code
819fd42cf533811f476fb9f0d9b700e5d5ac004f1c06fb7b3f536c6267ba58ce
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6538; -- Come back after sorting your inventory. ITEM_OBTAINED = 6543; -- Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Special Code: 01>>><<<Possible Special Code: 05>>> GIL_OBTAINED = 6544; -- Obtaine...
Lua
scripts/zones/Windurst_Waters/TextIDs.lua
rpetit3/darkstar
gpl-3.0
5,524
69
codeparrot/github-code
421d661ad440c8af6fd263365739552e36e0cc2d7b430183a4ce5fb1db965b28
import { Media, Revisions } from "/lib/collections"; import { Reaction } from "/server/api"; import { RevisionApi } from "/imports/plugins/core/revisions/lib/api/revisions"; /** * CollectionFS - Image/Video Publication * @params {Array} shops - array of current shop object */ Meteor.publish("Media", function (shop...
JavaScript
server/publications/collections/media.js
deetail/kimchi4u
gpl-3.0
2,067
81
codeparrot/github-code
e1b0fb251cc384f685d7f4bc2399081221b96e66fed5fd0d71d3bf1e685ec3e2
/***************************************************************************** * Copyright (c) 2014 Dániel Tar * OpenRCT2, an open source clone of Roller Coaster Tycoon 2. * * This file is part of OpenRCT2. * * OpenRCT2 is free software: you can redistribute it and/or modify * it under the terms of the GNU General Publ...
C
src/windows/scenery.c
tngreene/OpenRCT2
gpl-3.0
39,573
1,186
codeparrot/github-code
1b76e3fde3ad6e8cbd049a280a6dec9b18b260d840d8df9230ddce15d62f0637
/* Unix SMB/CIFS implementation. CIFS-to-SMB2 NTVFS filesystem backend Copyright (C) Andrew Tridgell 2008 largely based on vfs_cifs.c which was Copyright (C) Andrew Tridgell 2003 Copyright (C) James J Myers 2003 <myersjj@samba.org> This program is free software; you can redistribute it ...
C
source4/ntvfs/smb2/vfs_smb2.c
urisimchoni/samba
gpl-3.0
23,221
905
codeparrot/github-code
6157896a8590eaa14712d0534d87c3ab0ac05499a03a0a310b78dea1aa5d0156
// Copyright (C) 2006 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_MATRIx_ #define DLIB_MATRIx_ #include "matrix_exp.h" #include "matrix_abstract.h" #include "../algs.h" #include "../serialize.h" #include "../enable_if.h" #include <sstream> #in...
C
src/THIRDPARTY/dlib-18.4/dlib/matrix/matrix.h
jrbruce86/MathFinder
gpl-3.0
63,779
1,945
codeparrot/github-code
1db231732cf1b0c61ab8a7a38f8296c12eccf39715a2fee505ebb02779b59dec
/** * SecurityExampleDelegate.java * @author David Ladapo (davidl@zphinx.com) * @version 1.0 * * <p>Copyright &copy;Zphinx Software Solutions</p> * **/ package com.zphinx.spine.examples.security; import org.apache.log4j.Logger; import com.zphinx.spine.Universal; import com.zphinx.spine.core.A...
Java
spine/spine-0.9/examples/com/zphinx/spine/examples/security/SecurityExampleDelegate.java
davidlad123/spine
gpl-3.0
1,787
66
codeparrot/github-code
3580ddc98a1a10c9ce34016962d5a08aa146e0bc1856d7ffdc0c6ac09a314fc3
# # (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/aireos.py
le9i0nx/ansible
gpl-3.0
3,433
88
codeparrot/github-code
f159bddd6373f0def96e4455205c4a3eaa990275b76a7c33b85c712fcc9805eb
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | --------...
C++
src/lagrangian/intermediate/submodels/Kinematic/ParticleForces/ParticleForce/ParticleForce.H
ccopsey/ccFOAM
gpl-3.0
7,005
228
codeparrot/github-code
4edc62096b392ba1979ea3c0ee94fe513f7a1cd1025c95d55d6cdf1104e2f720
/* * Javassist, a Java-bytecode translator toolkit. * Copyright (C) 1999-2007 Shigeru Chiba. All Rights Reserved. * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. Alternatively, the contents o...
Java
external/javassist/src/main/javassist/bytecode/StackMapTable.java
s20121035/rk3288_android5.1_repo
gpl-3.0
32,034
950
codeparrot/github-code
0c310cd888ef74f4ded381f9ef10f98e8a51ae9e7215d7b9cc8833457c3dcd45
<?php /** * Mahara: Electronic portfolio, weblog, resume builder and social networking * Copyright (C) 2006-2009 Catalyst IT Ltd and others; see: * http://wiki.mahara.org/Contributors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU G...
PHP
htdocs/artefact/plans/import/leap/lib.php
eireford/mahara
gpl-3.0
7,452
193
codeparrot/github-code
89a9c98adac061b45d3c8ed94644cb919eda8b026cf2074b8a41ccbecfe95a2d
package org.ovirt.engine.ui.webadmin.widget.host; import java.util.Arrays; import java.util.Set; import org.ovirt.engine.core.common.businessentities.comparators.LexoNumericComparator; import org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface; import org.ovirt.engine.ui.common.widget.tooltip.Wi...
Java
ovirt/3.6_source/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/host/InterfaceLabel.java
jtux270/translate
gpl-3.0
2,525
74
codeparrot/github-code
2282755985ab906830840fe5c1ddfd4145187cb78a7801608c470575d945acf8
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '...
Python
lib/ansible/modules/source_control/git.py
ppanczyk/ansible
gpl-3.0
44,717
1,178
codeparrot/github-code
437835ca6884b21fa4e4556215812359620bc68e22b4b20c7ad5581de926cabf
#!powershell # This file is part of Ansible # # Copyright (c)2016, Matt Davis # # 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 versio...
PowerShell
windows/async_wrapper.ps1
romain-dartigues/ansible-modules-core
gpl-3.0
12,883
370
codeparrot/github-code
502446a9503e5e2949368ce5dc2116e89f85c3b704bf81c8b41d70977c166add
/* Simbicon 1.5 Controller Editor Framework, Copyright 2009 Stelian Coros, Philippe Beaudoin and Michiel van de Panne. All rights reserved. Web: www.cs.ubc.ca/~van/simbicon_cef This file is part of the Simbicon 1.5 Controller Editor Framework. Simbicon 1.5 Controller Editor Framework is free software: yo...
C
win32/simbicon_server/src/Core/BalanceFeedback.h
kantengri/simbicon
gpl-3.0
3,226
93
codeparrot/github-code
ea6435a209ce99bbf03ebe2f953950fd89c6edc3f97f7526f0cd5d7f70e3e38e
// Copyright (C) by Ashton Mason. See LICENSE.txt for licensing information. #ifndef THERON_DETAIL_STRINGS_STRING_H #define THERON_DETAIL_STRINGS_STRING_H #include <Theron/Assert.h> #include <Theron/BasicTypes.h> #include <Theron/Defines.h> #include <Theron/Detail/Strings/StringPool.h> namespace Theron { namespace...
C
modules/Theron/Include/Theron/Detail/Strings/String.h
gnu-sandhi/sandhi
gpl-3.0
2,102
102
codeparrot/github-code
5a942cbf470184b00fcdde7d4812d271029b0abdf54f8aeaa6e9d173ddda6d27
----------------------------------- -- -- Zone: Uleguerand_Range (5) -- ----------------------------------- local ID = require("scripts/zones/Uleguerand_Range/IDs"); require("scripts/globals/conquest"); require("scripts/globals/missions"); require("scripts/globals/weather"); require("scripts/globals/status"); require("...
Lua
scripts/zones/Uleguerand_Range/Zone.lua
RunAwayDSP/darkstar
gpl-3.0
2,047
64
codeparrot/github-code
2b8b006f57a71312206a55afb84c0d26af67cf93eff245b18146d756fbd31b91
/* * 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. * * Written (W) 1999-2009 Soeren Sonnenburg * Copyright (C) 19...
C++
src/shogun/base/Parallel.cpp
sanuj/shogun
gpl-3.0
1,939
105
codeparrot/github-code
3fa4720a172c4531a957609d74eacea8233d27840c227e98b50eb12686b8201c
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2015 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...
Python
gr-analog/python/analog/qa_random_uniform_source.py
iohannez/gnuradio
gpl-3.0
2,736
91
codeparrot/github-code
b9a267c1c1ab4f598cc140502e94d0abcd355388500adb8366b69fab0d6dd4da
package org.ovirt.engine.core.bll.memory.sdfilters; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.mockito.Matchers.any; import static org.mockito.Matchers.anyListOf; import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.doReturn; impor...
Java
ovirt/3.6_source/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/memory/sdfilters/StorageDomainSpaceRequirementsFilterTest.java
jtux270/translate
gpl-3.0
2,701
70
codeparrot/github-code
cf25be8c389dfa9bf9e77aac2af4e3a004dd60c99c4d12200c8d951b235c7012
#!/bin/false # This file is part of Espruino, a JavaScript interpreter for Microcontrollers # # Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk> # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at h...
Python
boards/OLIMEXINO_STM32_RE.py
muet/Espruino
mpl-2.0
4,169
177
codeparrot/github-code
362d3834fa96a789eb3db7f44660c233406eeec10b0ac3f13ce5ccd1fff8d741
package common import ( "context" "fmt" "log" "github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/packer" ) // This step sets some variables in VirtualBox so that annoying // pop-up messages don't exist. type StepSuppressMessages struct{} func (StepSuppressMessages) Run(ctx context.Cont...
GO
builder/virtualbox/common/step_suppress_messages.go
bryson/packer
mpl-2.0
822
32
codeparrot/github-code
75051e080429a5a51c1872a85ba6bb96cf9b65bad9f7901bc3acb0a6beacc811
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use dom::bindings::codegen::Bindings::CharacterDataBinding::CharacterDataMethods; use dom::bindings::codegen::Bind...
Rust
components/script/dom/range.rs
RenaudParis/servo
mpl-2.0
33,674
930
codeparrot/github-code
ac841fcdcb2ae181da552629348abcf250fee974228ccec2eb67f27b79a478f3
<?php /* V5.11 5 May 2010 (c) 2000-2010 John Lim (jlim#natsoft.com). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Set tabs to 4 for best viewing. Latest version is available ...
PHP
limesurvey/classes/adodb/drivers/adodb-mssqlnative.inc.php
yscdaxian/goweb
agpl-3.0
35,036
975
codeparrot/github-code
55622e7deed082cb278bfa510289f1e4c0c4a496167b3ca73b9b03abab4d0042
/* * ProActive Parallel Suite(TM): * The Open Source library for parallel and distributed * Workflows & Scheduling, Orchestration, Cloud Automation * and Big Data Analysis on Enterprise Grids & Clouds. * * Copyright (c) 2007 - 2017 ActiveEon * Contact: contact@activeeon.com * * This library is free software: y...
Java
rest/rest-cli/src/main/java/org/ow2/proactive_grid_cloud_portal/cli/EntryPoint.java
mbenguig/scheduling
agpl-3.0
8,659
212
codeparrot/github-code
9bc671e68647f2a59d1e77f0e2d2583077432e6ac8969340dd64bf2eacb9352a
/**************************************************************** * * * Copyright 2001, 2009 Fidelity Information Services, Inc * * * * This source code contains the intellectual property * * of its copyright holder(s), and is made available * * under a license. If you do not know the terms of * *...
C
sr_port/get_reference.c
CoherentLogic/fis-gtm-netbsd
agpl-3.0
2,116
67
codeparrot/github-code
9c9076ff669fb6003582268a9cc0cd9f01e973eb98f6e0c90ed4dbb5ecdcd3a5
#include "ovp_gdf_helpers.h" #include <cmath> #include <iostream> #include <cstdlib> #include <cstring> using namespace OpenViBE; using namespace OpenViBEPlugins; using namespace OpenViBEPlugins::FileIO; using namespace std; #define _NoValueI_ 0xffffffff #define _NoValueS_ "_unspecified_" //CFIXEDHEADER methods uin...
C++
plugins/processing/file-io/src/ovp_gdf_helpers.cpp
alexandrebarachant/openvibe
agpl-3.0
17,534
608
codeparrot/github-code
3a9c3ddf6c35b0beb249ebdbf3087e1d7cc6f9bcebc5e761311057556c68f6cd
C Copyright (c) 1997-1999, 2003 Massachusetts Institute of Technology C C This program is free software; you can redistribute it and/or modify C it under the terms of the GNU General Public License as published by C the Free Software Foundation; either version 2 of the License, or C (at your option) any later ver...
FORTRAN
src/sip/super_instructions/qm/oed/oed__xyz_1d_mom_ab_integrals.f
madbosun/aces4
agpl-3.0
12,093
367
codeparrot/github-code
2f152a3452d82f4ab48979f1a0fe785e130714a376ba127806b6593b4e0acedb
//############################################################################# //# # //# Copyright (C) <2014> <IMS MAXIMS> # //# # ...
Java
openmaxims_workspace/DomainObjects/src/ims/scheduling/domain/objects/SessionTheatreTCISlot.java
open-health-hub/openMAXIMS
agpl-3.0
18,950
597
codeparrot/github-code
e6203cfa2062fb0f2f34a971f3c8db88334a9b92f7f5877721331e5eae6b9589
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc. * * This ...
PHP
include/EditView/QuickCreate.php
shahrooz33ce/sugarcrm
agpl-3.0
3,433
77
codeparrot/github-code
2855996b36fe984b97597200957794ba48c3c7b15294874b5870b2144e989f24
using System; using NUnit.Framework; using NHibernate.Test.Immutable.EntityWithMutableCollection; namespace NHibernate.Test.Immutable.EntityWithMutableCollection.Inverse { [TestFixture] public class VersionedEntityWithInverseOneToManyFailureExpectedTest : AbstractEntityWithOneToManyTest { protected override strin...
C#
src/NHibernate.Test/Immutable/EntityWithMutableCollection/Inverse/VersionedEntityWithInverseOneToManyFailureExpectedTest.cs
ngbrown/nhibernate-core
lgpl-2.1
1,296
49
codeparrot/github-code
301f165677e694070a09997409f986d23a9b7b75a89bfb9b9949b700939741f2
package org.intermine.api.tracker; /* * 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/lesser....
Java
intermine/api/main/src/org/intermine/api/tracker/TemplatesExecutionMap.java
joshkh/intermine
lgpl-2.1
4,112
94
codeparrot/github-code
c5fe39023b7ade0e3549857d675c36e9485d69bb25dabfd0d9bcdd01c7181f2c
package org.intermine.web.logic.widget; /* * Copyright (C) 2002-2017 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/le...
Java
intermine/web/main/src/org/intermine/web/logic/widget/Widget.java
elsiklab/intermine
lgpl-2.1
4,351
149
codeparrot/github-code
7dd84606dfe8482258bf5c8c11ac1fd65d5e7fd987aadcf818ce6b1798a112f2
/** * * Phantom OS * * Copyright (C) 2005-2011 Dmitry Zavalishin, dz@dz.ru * * Architecture independent interrupts handling/dispatching * **/ #define DEBUG_MSG_PREFIX "intr" #include <debug_ext.h> #define debug_level_flow 10 #define debug_level_error 10 #define debug_level_info 10 #include <pha...
C
oldtree/kernel/phantom/intrdisp.c
kandeshvari/phantomuserland
lgpl-3.0
7,914
364
codeparrot/github-code
3050fb95daaf0390a1ec9dfda8bbd65eef73198e31f5cbd589031e018c6c167c
<?php /*************************************************************************************/ /* This file is part of the Thelia package. */ /* */ /* Copyright (c) OpenStudio ...
PHP
core/lib/Thelia/Form/Lang/LangUrlForm.php
Vyndi/thelia
lgpl-3.0
2,586
77
codeparrot/github-code
9d41e308a4a0af26bb7f5acaffa207de504fcf3a70be74e71709728d2c124db1
/*------------------------------------------------------------------*- LED_Swit.C (v1.00) ------------------------------------------------------------------ Simple 'Flash LED' test function for scheduler. (Controlled by switch press) COPYRIGHT --------- This code is from the ...
C
Patterns_for_Time_Triggered_Emb/19/Switch_A/LED_Swit.c
hyller/CodeLibrary
unlicense
2,147
89
codeparrot/github-code
6bf756fa7dc5a38f90bb37c8ce0cdf30c7fc572e113d152cdcacdda9feb6ea5c
/* Copyright 2007-2011 Selenium committers 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 i...
Java
java/server/src/org/openqa/grid/internal/utils/CapabilityMatcher.java
jmt4/Selenium2
apache-2.0
1,080
33
codeparrot/github-code
1d05cc8f01f34d959615219dc645f6c8522e342f148a10ea46d7aa09b93721d4
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
src/com/android/server/accounts/AccountManagerServiceTest.java
JSDemos/android-sdk-20
apache-2.0
10,430
263
codeparrot/github-code
f017dc03ff60ca867d12469c456b93b82c9315e06308d1bc6eaf376a2c12c58a
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeA...
C#
src/EditorFeatures/CSharpTest/Diagnostics/SimplifyTypeNames/SimplifyTypeNamesTests.cs
amcasey/roslyn
apache-2.0
88,221
3,924
codeparrot/github-code
fd618c2db2498581d40f7496a4f8b10c3849f5eb2fedffb927f3cee71a529fc7
/************************************************************************* * * Copyright 2016 Realm Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lice...
C++
iOS/Pods/Realm/include/core/realm/version.hpp
OlegNovosad/Sample
apache-2.0
1,940
71
codeparrot/github-code
eabe83b55b5021696597ef92d5c4a6079a8b14b306080b847e64908b8681bb27
/** * 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
hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServletContainer.java
ndimiduk/hbase
apache-2.0
3,486
83
codeparrot/github-code
4b26abca395b318e3b50a0ac5319b51cddcbd4e4cc4fc4fce4a3d7e8e90e9fe8
/* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you m...
Java
src/main/java/org/elasticsearch/action/admin/indices/template/delete/DeleteIndexTemplateResponse.java
Kreolwolf1/Elastic
apache-2.0
1,815
62
codeparrot/github-code
213dc4741e46ddb6b636e59e54b3d7d6405f8437ab106de846bcd723377b077b
/* * Copyright 2000-2017 JetBrains s.r.o. * * 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 agre...
Java
platform/platform-impl/src/com/intellij/openapi/project/impl/ProjectImpl.java
asedunov/intellij-community
apache-2.0
14,124
412
codeparrot/github-code
3e95d14fdd08ee9a4a73aaec580f237ea2e916a0f09863d9973f49873a4e6fcb
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
core/src/test/java/org/elasticsearch/index/search/child/ChildrenQueryTests.java
vingupta3/elasticsearch
apache-2.0
19,720
391
codeparrot/github-code
2bc40723b298434528efb7dcfe8208d9738cb25e874b4ab83c8d32bcb12a72d0
/** * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in co...
Java
uportal-war/src/main/java/org/jasig/portal/io/xml/group/GroupMembershipPortalDataType.java
pspaude/uPortal
apache-2.0
4,777
138
codeparrot/github-code
1a033f5d185efe815e48d9665af84143a6b58b3b7687cfb7400e042db5d15a29
// (C) Copyright 2015 Martin Dougiamas // // 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 agre...
JavaScript
www/core/directives/showpassword.js
testvibid/imaritime
apache-2.0
2,680
73
codeparrot/github-code
6baf647cd330c949719cc9b3331063e6c0af76b19f945755260fe5b7f1680af2
""" Check for ensuring logs from pods can be queried in a reasonable amount of time. """ import json import time from uuid import uuid4 from openshift_checks import OpenShiftCheckException from openshift_checks.logging.logging import LoggingCheck ES_CMD_TIMEOUT_SECONDS = 30 class LoggingIndexTime(LoggingCheck): ...
Python
roles/openshift_health_checker/openshift_checks/logging/logging_index_time.py
ttindell2/openshift-ansible
apache-2.0
4,995
130
codeparrot/github-code
45e7ca2be7c64d2f13d28b6d2f7fc5927fdfe740458c296141e7e7893ce44fc4
/** * (C) Copyright IBM Corp. 2010, 2015 * * 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 a...
Java
system-ml/src/main/java/com/ibm/bi/dml/runtime/functionobjects/DiagIndex.java
wjuncdl/systemml
apache-2.0
2,211
79
codeparrot/github-code
8c2d1561fe2b1bdf8afb76cac6310893cec21e475ef6c38df75cfd0c15405185
package org.apereo.cas.oidc.token; import com.google.common.base.Throwables; import com.google.common.cache.LoadingCache; import org.apache.commons.lang3.StringUtils; import org.apereo.cas.services.OidcRegisteredService; import org.jose4j.jwa.AlgorithmConstraints; import org.jose4j.jwe.JsonWebEncryption; import org.jo...
Java
support/cas-server-support-oidc/src/main/java/org/apereo/cas/oidc/token/OidcIdTokenSigningAndEncryptionService.java
petracvv/cas
apache-2.0
6,261
136
codeparrot/github-code
d43fc8db3bedad1ce291e915c1193e946f4b515c126f5eba5d5cf514e951b12a
/* * 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
server/tserver/src/main/java/org/apache/accumulo/tserver/metrics/TabletServerScanMetrics.java
milleruntime/accumulo
apache-2.0
2,396
70
codeparrot/github-code
3c3f056ab99919466b88699e6744243a53504b2fdbca2e3ef94b77ea25d43c36
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.find.findUsages; import com.intellij.find.FindBundle; import com.intellij.openapi.project.Project; import com.intellij.psi.*; import com.intellij.psi.impl.se...
Java
java/java-impl/src/com/intellij/find/findUsages/FindMethodUsagesDialog.java
goodwinnk/intellij-community
apache-2.0
4,715
119
codeparrot/github-code
cf951818ed4eb10ed65d503ebfda710ce5f980e12b662d4dbcd3d9b18bafb19b
/** * 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
hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterRPCClientRetries.java
xiao-chen/hadoop
apache-2.0
9,252
248
codeparrot/github-code
1bfa1757600f3d23115051f440170485ffd040e7528f97687e07d189a63a5297
/* * 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 ...
Scala
external/kafka-0-10-sql/src/main/scala/org/apache/spark/sql/kafka010/consumer/KafkaDataConsumer.scala
dbtsai/spark
apache-2.0
28,054
662
codeparrot/github-code
d218a3fb82af3f4bf6350aae9d642de47e01135450fbc15e276177a60f071e76
/* * 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
modules/clients/src/test/java/org/apache/ignite/internal/jdbc2/JdbcUpdateStatementSelfTest.java
afinka77/ignite
apache-2.0
1,973
51
codeparrot/github-code
458b88e52770938de703089f2824decac300c513b12ab7d3b951fa4f3abbbfdb
/* Copyright 2014 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 ...
JavaScript
esperanto/esperantoremap/background.js
matusmarcin/extra-keyboards-for-chrome-os
apache-2.0
7,910
130
codeparrot/github-code
093bc7b76ba163fb2d2f631af14ab61521b5d605488175aa1b78a92fdb8798b5
/* zip.c -- IO on .zip files using zlib Version 1.1, February 14h, 2010 part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html ) Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html ) Modifications for Zip64 support Copy...
C++
lib/Zip/zip.cpp
thurt/arangodb
apache-2.0
66,379
2,020
codeparrot/github-code
da89c4c041deeabd6b2c03a783cb4f64c216d8256ad51871c4b989ce02672dc3
/* * Copyright 2015 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 a...
Java
dashbuilder-backend/dashbuilder-services/src/main/java/org/dashbuilder/dataset/service/DataSetDefVfsServicesImpl.java
dgutierr/dashbuilder
apache-2.0
5,603
148
codeparrot/github-code
846947ded1a382b8073d796550614a54bbca36ac82d6d581c7bfe457284aeb23
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2014 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
Java
addOns/zest/src/main/java/org/zaproxy/zap/extension/zest/dialogs/ZestClientElementDialog.java
kingthorin/zap-extensions
apache-2.0
5,608
173
codeparrot/github-code
4a804ca42ca4e1f223785a4479da86cbfb5b9601c752c29ca8af9e953d359489
# -*- encoding: utf-8 -*- # # Copyright © 2012 New Dream Network, LLC (DreamHost) # # Author: Doug Hellmann <doug.hellmann@dreamhost.com> # # 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 # # ...
Python
ceilometer/api/acl.py
NeCTAR-RC/ceilometer
apache-2.0
2,171
73
codeparrot/github-code
6573bdb376bd570f63f051df801da28becfa158f7cd3c939d5a0ef18a5e366b5
/* Copyright 2016 The Kubernetes Authors 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 ...
GO
cmd/helm/plugin_install.go
thomastaylor312/helm
apache-2.0
2,115
85
codeparrot/github-code
e0ee593b55fd8c230c56e2122d71833b799b2a19caaf89f80025694f3a8c98f7
<div ng-controller="ExplorationSettings"> <md-card class="oppia-editor-card"> <h3>General</h3> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12"> <div ng-if="editabilityService.isEditable()"> <div role="form" class="form-horizontal"> <div class="form-group" ng-cl...
HTML
core/templates/dev/head/editor/exploration_settings.html
danieljjh/oppia
apache-2.0
20,693
475
codeparrot/github-code
a83f48408efe6dadc2a0141a2168918b1471d411db7f8d2f4248c63c2533e4cf
/******************************************************************************* * Copyright (c) Intel Corporation * Copyright (c) 2017 * * 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 ...
Java
osc-resolver/src/main/java/org/osc/core/server/resolver/impl/URIUtils.java
arvindn05/osc-core
apache-2.0
5,786
167
codeparrot/github-code
c4c051bc539917108df5f94daab3b464996df4e611ec70fc6a885df60a70e287
//===--- Random.cpp -------------------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
C++
stdlib/public/stubs/Random.cpp
devincoughlin/swift
apache-2.0
3,640
122
codeparrot/github-code
936ebc1e899ffa53fb0b5cb2a372eba9fa928c3e35fc79ca5a15c38c8919adb2
/* * Licensed to GraphHopper and Peter Karich under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper licenses this file to you under the Apache License, * Version 2.0 (the "License"); yo...
Java
core/src/test/java/com/graphhopper/util/PointListTest.java
DIVERSIFY-project/SMART-GH
apache-2.0
2,834
91
codeparrot/github-code
24ff465db744c8d100d2276d9bfee24109ffb5f308eca379f7a7c972d0de598b
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
Java
core/src/test/java/io/undertow/websockets/utils/WebSocketTestClient.java
amannm/undertow
apache-2.0
7,825
218
codeparrot/github-code
eedb1a879c2cd35fcc11cc193e2e0b238534016fcfad351c0b747591ab5d43f6
/** * <copyright> * </copyright> * * $Id$ */ package org.wso2.developerstudio.eclipse.gmf.esb.provider; import java.util.Collection; import java.util.List; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EStructuralFeature; i...
Java
esb/org.wso2.developerstudio.eclipse.gmf.esb.edit/src/org/wso2/developerstudio/eclipse/gmf/esb/provider/SequenceItemProvider.java
chanakaudaya/developer-studio
apache-2.0
19,589
617
codeparrot/github-code
565cf9765d7dfb0f228ad484abe6b1194affd5d285d90c0c5809816f2cb63b84
#!/usr/bin/env ruby # Encoding: utf-8 # # Author:: api.dklimkin@gmail.com (Danial Klimkin) # # Copyright:: Copyright 2012, Google Inc. All Rights Reserved. # # License:: Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # ...
Ruby
dfp_api/examples/v201408/team_service/update_teams.rb
claimsmall/google-api-ads-ruby
apache-2.0
3,015
98
codeparrot/github-code
0f61951062599630920b0a75e0a4fe547de95ad572df90f4b776cb9f257b1366
<?php final class PhamePostQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $blogPHIDs; private $bloggerPHIDs; private $visibility; private $publishedAfter; private $phids; public function withIDs(array $ids) { $this->ids = $ids; return $this; } public function ...
PHP
src/applications/phame/query/PhamePostQuery.php
cjxgm/p.cjprods.org
apache-2.0
2,789
131
codeparrot/github-code
187eacea8a485d04ed26e8df27968c450165082a6d7ac90868c1f8372bccfb61
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.model.pnl; import java.util.Collections; import java.util.Set; import com.opengamma.engine.ComputationTarget; import com.opengamma.engine...
Java
projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/model/pnl/EquityPnLDefaultPropertiesFunction.java
jeorme/OG-Platform
apache-2.0
3,094
74
codeparrot/github-code
40fced0d4b160ebca33a3022931b2797401ecb02e8b94b854a969003429135e9
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.component.rest; import java.net.URI; import java.util.ArrayList; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util....
Java
projects/OG-Component/src/main/java/com/opengamma/component/rest/RestComponents.java
jeorme/OG-Platform
apache-2.0
23,151
645
codeparrot/github-code
3b955fa187c73ac576c4ae0d3bdcc1a392566222f1933ce4b1505a6352bc1a80
/* * Copyright (C) 2012 Google 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 conditions ...
C
third_party/webrtc/include/chromium/src/third_party/WebKit/Source/modules/quota/DOMError.h
ssaroha/node-webrtc
bsd-2-clause
2,617
75
codeparrot/github-code
4ce2d15306af46fb5f0403710331b913695e4b9f1534694e0038016439697040
#ifndef OSRM_EXTRACTOR_GUIDANCE_TURN_DISCOVERY_HPP_ #define OSRM_EXTRACTOR_GUIDANCE_TURN_DISCOVERY_HPP_ #include "extractor/guidance/intersection.hpp" #include "extractor/guidance/intersection_generator.hpp" #include "util/typedefs.hpp" namespace osrm { namespace extractor { namespace guidance { namespace lanes { //...
C++
include/extractor/guidance/turn_discovery.hpp
deniskoronchik/osrm-backend
bsd-2-clause
1,133
37
codeparrot/github-code
53b9ca34fb76c63c3286fc412147dffbc3ff24da4707845f934041e9e81ca163
// Copyright 2015 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 "chrome/browser/chromeos/file_system_provider/throttled_file_system.h" #include <vector> #include "base/files/file.h" #include "base/memory/sco...
C++
chrome/browser/chromeos/file_system_provider/throttled_file_system_unittest.cc
TheTypoMaster/chromium-crosswalk
bsd-3-clause
5,691
161
codeparrot/github-code
b049b218106ba4700e6f8dd8e787f02381eca0ec510b6f6e449649d52c52c90c
// 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 "mojo/application/public/cpp/content_handler_factory.h" #include <set> #include "base/bind.h" #include "base/callback.h" #include "base/memory/...
C++
mojo/application/public/cpp/lib/content_handler_factory.cc
SaschaMester/delicium
bsd-3-clause
4,788
133
codeparrot/github-code
6b28ab489f4e259f9f3412659ba94f79277c6f43be89f0d0ffa54b35ba3c91d5
#region License // // Copyright (c) 2013, Kooboo team // // Licensed under the BSD License // See the file LICENSE.txt for details. // #endregion using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Kooboo.CMS.Form.Html.Controls { public class Hidden : Input { ...
C#
Kooboo.CMS/Kooboo.CMS.Form/Html/Controls/Hidden.cs
techwareone/Kooboo-CMS
bsd-3-clause
647
33
codeparrot/github-code
222a2725ebe6a2eb3b9d7aeb0c3554bd53863c0ccd905ab27e3633798d18e98c
/* Copyright (C) 2016 Electronic Arts 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 conditions a...
Java
actors/core/src/main/java/cloud/orbit/actors/runtime/TickStatus.java
quilombodigital/orbit
bsd-3-clause
2,433
73
codeparrot/github-code
739d03a64f41bf6e1e0b5ddf4b4851f7c08ba11351d6e84978dc85890f8d4096
include(CMakeParseArguments) # shared_library_from_static([library name] REQUIRES [bunch of stuff] [DIRECT]) # # This is performed in 2 stages. # Stage 1 collects the set of archives by building a dummy executable in them # but intercepting the link stage to find the set of archives. # # Stage 2 builds the actual sh...
CMake
local_cmake/SharedLibraryFromStatic.cmake
TobyRoseman/SFrame
bsd-3-clause
4,966
104
codeparrot/github-code
2f241548ca8013d0df1de69ca50a9eb823370884bd1f12f0c7298f85fb5295e5
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: """ vtkbase provides some helpers to use VTK through the tvtk package (mayavi) Code using tvtk should import it through this module """ import os from .. import logging iflogger = logging.getLogger('inte...
Python
nipype/interfaces/vtkbase.py
sgiavasis/nipype
bsd-3-clause
1,997
82
codeparrot/github-code
9c3412b91b9f851ca5d22487a5a69e1f01b4a9b71f895008fa3fb6c60e4e1e36
// Copyright 2016 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. #ifndef HEADLESS_PUBLIC_HEADLESS_BROWSER_CONTEXT_H_ #define HEADLESS_PUBLIC_HEADLESS_BROWSER_CONTEXT_H_ #include <list> #include <memory> #include <strin...
C
headless/public/headless_browser_context.h
chromium/chromium
bsd-3-clause
4,882
139
codeparrot/github-code
0a7a22eeb420d64481ef483f89112d250a08c1556860fb2925dc8dd09fb0c640
// Copyright 2017 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 "third_party/blink/renderer/modules/credentialmanager/public_key_credential.h" #include <utility> #include "third_party/blink/public/mojom/weba...
C++
third_party/blink/renderer/modules/credentialmanager/public_key_credential.cc
chromium/chromium
bsd-3-clause
3,830
104
codeparrot/github-code
ba67260c449f59ff20db0fb6212dba3ab8c9d8c350fb3953eb31b720a9a36ab4
<?php /** * Pimcore * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://www.pimcore.org/license * * @category Pimcore * @package Asset * @copy...
PHP
pimcore/models/Asset/Listing.php
kanevbg/pimcore
bsd-3-clause
2,725
130
codeparrot/github-code