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
3aecebb8908997495b52e2d1331cd6206ee51659f9dc36fc2fdcbb75843eefab
/* webui functions */ function model_server(data) { var self = this; $.extend(self, data); self.mem_utilization = ko.computed(function() { return '{0} / {1}'.format(parseInt(self.memory), self.java_xmx); }) self.capacity = ko.computed(function() { return '{0} / {1}'.format(self.players_online, ...
JavaScript
html/js/scriptin.js
koderiter/mineos
gpl-3.0
30,637
1,053
codeparrot/github-code
8d1cc6f6851db60ec0a32dc58eae873a365ccbf92e4a0f3ef66479799a502452
/** Copyright 2012-2013 John Cummens (aka Shadowmage, Shadowmage4513) This software is distributed under the terms of the GNU General Public License. Please see COPYING for precise license information. This file is part of Ancient Warfare. Ancient Warfare is free software: you can redistribute it and/or m...
Java
src/main/java/net/shadowmage/ancientwarfare/structure/api/TemplateRule.java
CosmicDan-Minecraft/AncientWarfare2_CosmicDanFork
gpl-3.0
5,289
137
codeparrot/github-code
73cc784e6f4ff919a3061b189cc087c7544a29e98d2f58e269c599d8bf54c76a
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>GoldenLayout- a multi-window javascript layout manager for webapps</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="keywords" content="HTML5, JavaScript, Layout Manager, webapp" /> <meta name="descripti...
HTML
website/tutorials/adding-controls-to-header.html
hoxton-one/golden-layout
gpl-3.0
17,714
235
codeparrot/github-code
cf005159330b9ca39d9115c1ac8fc725600ea08612e26a76aabd220d75b8dc11
#include <config.h> #include <stdio.h> #include <string.h> #include <assert.h> #include <stdlib.h> #include "iobuf.h" /* Return every other byte. In particular, reads two bytes, returns the second one. */ static int every_other_filter (void *opaque, int control, iobuf_t chain, byte *buf, size_t *len) { (...
C
common/t-iobuf.c
CSNW/gnupg
gpl-3.0
8,584
379
codeparrot/github-code
f3b7d6915320c6f04086ef9a88e424c37ab8089fcfc548c9da651714f1d2a169
# -*- encoding: binary -*- # :enddoc: module Rainbows::ProcessClient include Rainbows::Response include Rainbows::Const NULL_IO = Unicorn::HttpRequest::NULL_IO RACK_INPUT = Unicorn::HttpRequest::RACK_INPUT IC = Unicorn::HttpRequest.input_class Rainbows.config!(self, :client_header_buffer_size, :keepalive_t...
Ruby
lib/rainbows/process_client.rb
tankerwng/rainbows
gpl-3.0
2,593
95
codeparrot/github-code
cab1549152729cc543731ce74c11513983ba631b86b2e4a623f6bb28f54f5c3a
<?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/scorm/grade.php
Dynamic-Business/moodle
gpl-3.0
1,591
49
codeparrot/github-code
9e35c1022ff845c54f0b940792fdef58cb5c631006a690b7cf5f70c6284312e3
// Copyright 2019-2020 CERN and copyright holders of ALICE O2. // See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. // All rights not expressly granted are reserved. // // This software is distributed under the terms of the GNU General Public // License v3 (GPL Version 3), copied verbatim...
C
Detectors/MUON/MCH/CTF/include/MCHCTF/CTFHelper.h
noferini/AliceO2
gpl-3.0
7,522
220
codeparrot/github-code
4a8bbbec32a20f08aafa6e4e5d990a64411cdbd7b3f013c4221d96224f94cb30
odoo.define('website_forum.tour_forum', function (require) { 'use strict'; var core = require('web.core'); var Tour = require('web.Tour'); var _t = core._t; Tour.register({ id: 'question', name: _t("Create a question"), steps: [ { title: _t("Create a Question!"), con...
JavaScript
addons/website_forum/static/src/js/website_tour_forum.js
akhmadMizkat/odoo
gpl-3.0
4,695
129
codeparrot/github-code
ec5a060014729b237df895fd145cc4cf42665c993f0290166519100cbf0ade93
/**************************************************************************** ** * (C) Copyright 2007 Trolltech ASA * All rights reserved. ** * This is version of the Pictureflow animated image show widget modified by Trolltech ASA. * * * Redistribution and use in source and binary forms, with or without * modificat...
C++
src/calibre/gui2/pictureflow/pictureflow.cpp
nozuono/calibre-webserver
gpl-3.0
43,872
1,513
codeparrot/github-code
56921df109c96df2199f48ecaa245ee5de5f1209f61970f6cc0ee49aa7ce90bc
define("ghost-admin/templates/components/gh-subscribers-table", ["exports"], function (exports) { exports["default"] = Ember.HTMLBars.template((function () { var child0 = (function () { var child0 = (function () { var child0 = (function () { var child0 = (function () { return {...
JavaScript
core/client/tmp/broccoli_persistent_filterbabel-output_path-OKbFKF1N.tmp/ghost-admin/templates/components/gh-subscribers-table.js
Elektro1776/latestEarthables
gpl-3.0
12,139
326
codeparrot/github-code
04e9deec1b71d9fa2efb877ef7882073c1ee50e161c5407dc839f287958e263e
#ifndef SENDER_KEY #define SENDER_KEY #include <stdint.h> #include <stddef.h> #include "signal_protocol_types.h" #ifdef __cplusplus extern "C" { #endif int sender_message_key_create(sender_message_key **key, uint32_t iteration, signal_buffer *seed, signal_context *global_context); uint32_t sender_mes...
C
src/sender_key.h
WhisperSystems/libaxolotl-c
gpl-3.0
1,207
35
codeparrot/github-code
15bad5a9276d5b9bced0c13e6678acb18f2077d53387447b3c9c16d44b8475a0
<?php /** * 2007-2016 [PagSeguro Internet Ltda.] * * NOTICE OF LICENSE * * 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 req...
PHP
library/source/Parsers/PreApproval/Charge/Request.php
pagseguro/woocommerce
gpl-3.0
2,276
84
codeparrot/github-code
9bc6eb582b611f208bf1895e38290220b6953defb0159a41c05ef9268593b5a2
package org.impact2585.lib2585; import java.io.Serializable; import edu.wpi.first.wpilibj.IterativeRobot; /** * Robot that uses executers This is the equivelant of a main class in WPILib. */ public abstract class ExecutorBasedRobot extends IterativeRobot implements Serializable { private static final long serial...
Java
src/org/impact2585/lib2585/ExecutorBasedRobot.java
Impact2585/Lib2585
gpl-3.0
1,813
93
codeparrot/github-code
db2a18a17537d29ff04a5476b7c51eb173325f015e604cff5798d5994b921847
/* * Copyright (c) 2015 The CyanogenMod 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 applicable ...
Java
doze/src/org/lineageos/settings/doze/ProximitySensor.java
psy-herolte/android_device_samsung_hero-common
gpl-3.0
2,971
92
codeparrot/github-code
25f3bd63b51b6edd367b1cf60c35067b4a9b0b0dfd42e471c97f6b4aa318de02
# -*- coding: utf-8 -*- """ sphinx.environment.managers.toctree ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Toctree manager for sphinx.environment. :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ from six import iteritems from docutils import n...
Python
lib/python3.5/site-packages/Sphinx-1.5.1-py3.5.egg/sphinx/environment/managers/toctree.py
bgris/ODL_bgris
gpl-3.0
25,403
562
codeparrot/github-code
8a904014963e7ee75e80bf3b77f61f22795c6a32ba3081a6062335d5543ea4e5
package vault import "time" type dynamicSystemView struct { core *Core mountEntry *MountEntry } func (d dynamicSystemView) DefaultLeaseTTL() time.Duration { def, _ := d.fetchTTLs() return def } func (d dynamicSystemView) MaxLeaseTTL() time.Duration { _, max := d.fetchTTLs() return max } // TTLsByPath r...
GO
vault/dynamic_system_view.go
jklein/vault
mpl-2.0
734
35
codeparrot/github-code
4cb26d2fe33caa8e5c8c3852daaaeaa4dfd71761af6a85d9a9d8dff7fe17f38e
# # Newfies-Dialer License # http://www.newfies-dialer.org # # 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/. # # Copyright (C) 2011-2014 Star2Billing S.L. # # The Initia...
Python
newfies/appointment/templatetags/appointment_tags.py
gale320/newfies-dialer
mpl-2.0
1,283
53
codeparrot/github-code
504637b2b1f779282958363b897321727030d76b824a2456317a2d6f415fb31e
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sw=4 et tw=79: * * ***** BEGIN LICENSE BLOCK ***** * Copyright (C) 2008 Apple Inc. * Copyright (C) 2009, 2010 University of Szeged * All rights reserved. * * Redistribution and use in source and binary forms, with or wi...
C
js/src/assembler/assembler/MacroAssemblerARM.h
cledoux/cmps530
mpl-2.0
51,857
1,533
codeparrot/github-code
cf5384b71d21937879a801063bf08ff73a1849fd06aca9383468f9f93b4a2cf8
package nomad import ( "bytes" "context" "errors" "fmt" "io" "net" "time" log "github.com/hashicorp/go-hclog" sframer "github.com/hashicorp/nomad/client/lib/streamframer" cstructs "github.com/hashicorp/nomad/client/structs" "github.com/hashicorp/nomad/command/agent/host" "github.com/hashicorp/nomad/comma...
GO
nomad/client_agent_endpoint.go
hashicorp/nomad
mpl-2.0
12,707
500
codeparrot/github-code
a5d1bd6e1c20aaa9c4ce3ce04cc5ea102c1e42cc749b2d113bcd1a0ad4a4d1b6
// Copyright (c) 2012 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 "base/threading/sequenced_worker_pool.h" #include <list> #include <map> #include <set> #include <utility> #include <vector> #include "base/...
C++
third_party/chromium/base/threading/sequenced_worker_pool.cc
michaelforfxhelp/master
mpl-2.0
53,345
1,490
codeparrot/github-code
088fd87c885ab28274d25c75009c6e8cf89bd2587f32f11283bb1895b4440cf8
<?php /* * Copyright (c) 2012-2015 Jochen S. Klar <jklar@aip.de>, * Adrian M. Partl <apartl@aip.de>, * AIP E-Science (www.aip.de) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public L...
PHP
modules/data/models/Databases.php
aipescience/daiquiri
agpl-3.0
8,415
230
codeparrot/github-code
9d1f9eb56cc7be6352d7d84fcc9f59d34d2f4bc2ff39dbd4ce13cc2dd626952f
package info.nightscout.androidaps.plugins.pump.medtronic.driver; import org.joda.time.LocalDateTime; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; import java.util.HashMap; import java.util.Map; import info.nightscout.a...
Java
app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/driver/MedtronicPumpStatus.java
PoweRGbg/AndroidAPS
agpl-3.0
14,862
391
codeparrot/github-code
ff119c4d6fce71e742f992781ac95c82fd0d1af2b4908ace8864c24eb8e29a85
#-*- coding:utf-8 -*- # # # Copyright (C) 2013 Michael Telahun Makonnen <mmakonnen@gmail.com>. # All Rights Reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, eith...
Python
hr_employee_seniority/hr.py
bwrsandman/openerp-hr
agpl-3.0
5,976
154
codeparrot/github-code
e18b3d28a8a470d0fd433635858365549aa3fb4473d2be7fea4c6f54410fde55
<?php /** * Shopware 5 * Copyright (c) shopware AG * * According to our dual licensing model, this program can be used either * under the terms of the GNU Affero General Public License, version 3, * or under a proprietary license. * * The texts of the GNU Affero General Public License with an additional * perm...
PHP
engine/Shopware/Controllers/Api/Translations.php
wlwwt/shopware
agpl-3.0
4,215
142
codeparrot/github-code
cce05a8590783e3a81635b6e025a98cf9a7ff8bb2d36a87fd28f3906c1c35584
// Copyright 2020 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package provider import ( "context" "sync" "time" jujuclock "github.com/juju/clock" "github.com/juju/errors" apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" k8slabels "k8s.io/apimachinery/pk...
GO
caas/kubernetes/provider/teardown.go
freyes/juju
agpl-3.0
7,094
286
codeparrot/github-code
7ab145c5429f0c1b872d7391c86831793f1e8cd686282785bc1b15ae0e4ca9b5
package com.temenos.interaction.core.command; /* * #%L * interaction-core * %% * Copyright (C) 2012 - 2013 Temenos Holdings N.V. * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundati...
Java
interaction-core/src/main/java/com/temenos/interaction/core/command/InteractionContext.java
iris-scrum-1/IRIS
agpl-3.0
9,983
325
codeparrot/github-code
e327d0216d0560cde3602166e456ff87a7309e0a7b52d7ba4b80afbb56691e9a
/****************************************************************************** * $Id: iomhelper.cpp 10645 2007-01-18 02:22:39Z warmerdam $ * * Project: Interlis 1/2 Translator * Purpose: Implementation of ILI1Reader class. * Author: Pirmin Kalberer, Sourcepole AG * ******************************************...
C++
gdal/ogr/ogrsf_frmts/ili/iomhelper.cpp
AsherBond/MondocosmOS
agpl-3.0
4,073
106
codeparrot/github-code
d90ab7c87582f39b581a9e70ad430419ac51ee36cab76425ba412528c3baed0a
/** * Copyright (C) 2001-2015 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published b...
Java
src/main/java/com/rapidminer/gui/new_plotter/engine/jfreechart/legend/SmartLegendTitle.java
brtonnies/rapidminer-studio
agpl-3.0
6,443
180
codeparrot/github-code
df5f1d20773b78d78c49958bb8b5da93894d8792d1f0d991a1ed3e9413f2b2db
<?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
modules/Import/ImportDuplicateCheck.php
shahrooz33ce/sugarcrm
agpl-3.0
13,601
337
codeparrot/github-code
8eff72b20b32b1ed520dd2f177238b59033fb5473fc61b5d02d85f1a63896973
package com.softwaremill.codebrag.common.paging import org.scalatest.{BeforeAndAfterEach, FlatSpec} import org.scalatest.matchers.ShouldMatchers import PagingCriteria.Direction class ListPageSlicerSpec extends FlatSpec with BeforeAndAfterEach with ShouldMatchers { val elements = listOf(0, 1, 2, 3, 4, 5, 6, 7, 8, 9...
Scala
codebrag-common/src/test/scala/com/softwaremill/codebrag/common/paging/ListPageSlicerSpec.scala
softwaremill/codebrag
agpl-3.0
3,060
121
codeparrot/github-code
ba917667402a3cb6a8bc7668e9f8676a6d7f48d56d441d4d014e3cd019622a5a
import datetime import sqlalchemy.orm.exc from nylas.logging import get_logger log = get_logger() from inbox.auth.oauth import OAuthAuthHandler from inbox.basicauth import OAuthError from inbox.models import Namespace from inbox.config import config from inbox.models.backends.outlook import OutlookAccount from inbox...
Python
inbox/auth/_outlook.py
Eagles2F/sync-engine
agpl-3.0
4,066
103
codeparrot/github-code
a91d543f6d2441480aa7ad63300926dcc365fda73e07919a3f8dd6d976743e56
/* ** $Id: lua.h,v 1.218a 2006/06/02 15:34:00 roberto Exp $ ** Lua - An Extensible Extension Language ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) ** See Copyright Notice at the end of this file */ #ifndef lua_h #define lua_h #include <stdarg.h> #include <stddef.h> #include "luaconf.h" #def...
C
src/scripts/src/LUAScripting/lua/lua.h
SummitCore/Summit
agpl-3.0
11,998
386
codeparrot/github-code
50cb35104cdcacd6220a382ad6a36dada0da21e862e935c9637f52710d24944b
// Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/> // Copyright (C) 2010 Winch Gate Property Limited // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version ...
C
ryzom/server/src/entities_game_service/phrase_manager/aura_effect.h
osgcc/ryzom
agpl-3.0
7,029
244
codeparrot/github-code
8a44aabf5334f42fe3cdbcc19ec740552f2cc2f02efb93dba1e4676686691cab
/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy Alliance, LLC ...
C++
framework/src/postprocessors/ElementalVariableValue.C
Chuban/moose
lgpl-2.1
2,498
68
codeparrot/github-code
e69406f62e4969fd104f140429db993c809c0cd4dcd5971c884cbd99d20b04e2
/****************************************************************/ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* All contents are licensed under LGPL V2.1 */ /* See LICENSE for full restrictions ...
C++
modules/tensor_mechanics/src/materials/HyperElasticPhaseFieldIsoDamage.C
jhbradley/moose
lgpl-2.1
5,142
157
codeparrot/github-code
d608fcbc94a95990de484ab90ca4792517a4886e12c6e9a22b555e9fc0fa9ddf
package railo.runtime.db; import java.sql.SQLException; import java.util.Map; import railo.runtime.op.Caster; class OLDDCStack { private Item item; private Map transactionItem=null; private DatasourceConnectionPool pool; OLDDCStack(DatasourceConnectionPool pool) { this.pool=pool; } public synchronized voi...
Java
railo-java/railo-core/src/railo/runtime/db/OLDDCStack.java
JordanReiter/railo
lgpl-2.1
2,614
134
codeparrot/github-code
f8578abbcf7507d93c659ee7e6f7e5d57033574e2b5d14042ecf991e3b02f0e3
/* $XConsortium: DrHiDash.c /main/5 1995/07/15 20:50:42 drk $ */ /* * Motif * * Copyright (c) 1987-2012, The Open Group. All rights reserved. * * These libraries and programs are free software; you can * redistribute them and/or modify them under the terms of the GNU * Lesser General Public License as published ...
C
lib/Xm/DrHiDash.c
unix-junkie/motif
lgpl-2.1
3,014
94
codeparrot/github-code
bea08d086b4356b7d95dd708bb65f5c0e40f6746636cad333671f8c0233aae03
/************************************************************************** ** ** Copyright (C) 2015 BogDan Vatra <bog_dan_ro@yahoo.com> ** Contact: http://www.qt.io/licensing ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** ...
C++
src/plugins/qmakeandroidsupport/androidpackageinstallationstep.cpp
danimo/qt-creator
lgpl-2.1
5,802
155
codeparrot/github-code
a638a0f4878a35397e3d9b4fcf62f669f432e62311e777a3a3739f59c469107e
/***************************************************************************/ /* */ /* t42drivr.c */ /* */ /* Hi...
C
src/macos/FTGL/freetype src/type42/t42drivr.c
sdbondi/afrika-burns-2014-ProjectM
lgpl-2.1
6,973
248
codeparrot/github-code
55839d4184fd266c912c5a4f595faf14d3b152184593e710966b76ec586b7b8c
/* * Copyright (c) 2013-2014, Red Hat. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * * This program is d...
C
src/libpcp_qed/src/qed_line.h
andyvand/cygpcpfans
lgpl-2.1
1,166
45
codeparrot/github-code
807e75cfa9dba133066b0c476ecc98085198d45e958c81fe040dc2419c69d6b5
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance wit...
C++
src/plugins/qbsprojectmanager/qbspropertylineedit.cpp
Distrotech/qtcreator
lgpl-2.1
2,955
85
codeparrot/github-code
76351faa3ebb1cc4a7dbaab39cecc645c8efcb2295f46e1c41f30bacbf58d392
//////////////////////////////////////////////////////////////////////////////// // checkstyle: Checks Java source code for adherence to a set of rules. // Copyright (C) 2001-2015 the original author or authors. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU ...
Java
src/test/java/com/puppycrawl/tools/checkstyle/checks/sizes/ExecutableStatementCountCheckTest.java
attatrol/checkstyle
lgpl-2.1
6,183
164
codeparrot/github-code
29dcf0066650e2ce29853cf973983f6479b3879956f993e26a740f379a942907
#!/usr/bin/env python ''' Copyright (C) 2005 Aaron Spike, aaron@ekips.org This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Thi...
Python
packaging/macosx/Inkscape.app/Contents/Resources/extensions/radiusrand.py
step21/inkscape-osx-packaging-native
lgpl-2.1
3,583
81
codeparrot/github-code
ea6eb2bdeb4a8c36230d16d8d1df4b3d038a0af7688d2314909de8f38465a5f9
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os from spack import * class Vasp(MakefilePackage): """ The Vienna Ab initio Simulation Package (VASP) ...
Python
var/spack/repos/builtin/packages/vasp/package.py
LLNL/spack
lgpl-2.1
9,155
227
codeparrot/github-code
38e3ae56b58e0edce63572c98218e4817b6e94fb33024eebaff64ae177a327ae
// // This file is part of the Marble Virtual Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2011 Daniel Marth <danielmarth@gmx.at> // #ifndef OPENCACHINGPLUGIN_H #define OPENCACHI...
C
src/plugins/render/opencaching/OpenCachingPlugin.h
oberluz/marble
lgpl-2.1
1,660
87
codeparrot/github-code
fe7d29dca6b82aed493e1ea0bb8c962a857357eed300280007cae95ac32fd6be
/* * card-miocos.c: Support for PKI cards by Miotec * * Copyright (C) 2002 Juha Yrjölä <juha.yrjola@iki.fi> * * 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...
C
src/libopensc/card-miocos.c
shakaran/opensc-dnie
lgpl-2.1
13,030
505
codeparrot/github-code
17337d5aa0a34601eb8d1e7438cc9cc69d2fdf788564a5d33f1897ff7bafd9e9
/* * $Id$ * * Copyright (c) 2000-2006 by Rodney Kinney, Brent Easton * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License (LGPL) as published by the Free Software Foundation. * * This library is distributed in the hope that it...
Java
src/VASSAL/counters/DynamicProperty.java
fifa0329/vassal
lgpl-2.1
15,033
482
codeparrot/github-code
281e9e1da1003afd268c43847d4ad960ce99dd4008a1b620a927c7974af12fd1
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtMultimedia module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LG...
C++
src/multimedia/audio/qaudioinput_win32_p.cpp
kobolabs/qt-everywhere-4.8.0
lgpl-2.1
17,735
634
codeparrot/github-code
db18f00dfc6b8e2c5a5345b1c569d30a15bc17ff5fb092f7388f1b021913936c
// // Boost.Process // // Copyright (c) 2006 Julio M. Merino Vidal. // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt.) // //! //! \file boost/process/detail/win32_ops.hpp //! //! Provides some conv...
C++
libs/boost_process/boost/process/detail/win32_ops.hpp
ProfessorKaos64/openlierox
lgpl-2.1
12,242
332
codeparrot/github-code
0ccc5b995a916a5d844000959139e87f158d7f5e75926e8b786c189850709bc8
/* * virsh-network.c: Commands to manage network * * Copyright (C) 2005, 2007-2012 Red Hat, Inc. * * 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 Lice...
C
tools/virsh-network.c
warewolf/libvirt
lgpl-2.1
30,151
1,015
codeparrot/github-code
077513c5a3d91cbac4bb6b72a42a2edb2531c05218fc4c28f7c072d55ceb8bae
/****************************************************************/ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* All contents are licensed under LGPL V2.1 */ /* See LICENSE for full restrictions ...
C
modules/richards/include/kernels/RichardsLumpedMassChange.h
raghavaggarwal/moose
lgpl-2.1
3,030
95
codeparrot/github-code
02eb9df934f264381387b5880ddce28f6853f7aabd375fcc488a6e500cb09fbb
// @(#)root/base:$Id$ // Author: Rene Brun 08/12/94 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
C
core/base/inc/TROOT.h
krafczyk/root-5.34.09-ams
lgpl-2.1
16,857
291
codeparrot/github-code
16204f967046453d4a6e165990f240f86b8cc5963dd218c531747bcb9402f9af
/* * OpenRPT report writer and rendering engine * Copyright (C) 2001-2011 by OpenMFG, LLC * * 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 ...
C++
OpenRPT/renderer/code128.cpp
arcnexus/MayaOpenRPT
lgpl-2.1
14,582
371
codeparrot/github-code
0941314d27c0b8e7e51cd9683f12157a70236f5c7e23cf0c3fd40dd3a4b8eb34
#include <mystdlib.h> #include <myadt.hpp> #include <linalg.hpp> #include <gprim.hpp> #include <meshing.hpp> #include "stlgeom.hpp" namespace netgen { STLTopology :: STLTopology() : trias(), topedges(), points(), ht_topedges(NULL), trigsperpoint(), neighbourtrigs() { ; } STLTopology :: ~STLTopology() ...
C++
libsrc/stlgeom/stltopology.cpp
jwpeterson/netgen
lgpl-2.1
22,403
1,077
codeparrot/github-code
b9070e0589d7cea25777018c25458bc95cb9419970a7c408ebb50c6a09c824b5
<?php namespace wcf\acp\form; use wcf\data\language\Language; use wcf\data\language\LanguageEditor; use wcf\data\package\Package; use wcf\data\package\PackageCache; use wcf\form\AbstractForm; use wcf\system\exception\SystemException; use wcf\system\exception\UserInputException; use wcf\system\language\LanguageFactory...
PHP
wcfsetup/install/files/lib/acp/form/LanguageImportForm.class.php
Cyperghost/WCF
lgpl-2.1
4,636
185
codeparrot/github-code
56fef185fa015adc8a2b4130b30ced665f0852ab9f779cf94b566f1ea10ce795
#ifndef H_ASIO_BASE #define H_ASIO_BASE #include <socketcan_interface/interface.h> #include <socketcan_interface/dispatcher.h> #include <boost/asio.hpp> #include <boost/thread/mutex.hpp> #include <boost/thread/thread.hpp> #include <boost/bind.hpp> namespace can{ template<typename Socket> class AsioDriver : public D...
C
socketcan_interface/include/socketcan_interface/asio_base.h
mistoll/ros_canopen
lgpl-3.0
3,790
125
codeparrot/github-code
504e835e0d6c5a21ef56101bd0977c576764d382999489f28b1aa08d3b51a308
/* * Sonar Cxx Plugin, open source software quality management tool. * Copyright (C) 2010 - 2011, Neticoa SAS France - Tous droits reserves. * Author(s) : Franck Bonin, Neticoa SAS France. * * Sonar Cxx Plugin is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General P...
Java
src/test/java/org/sonar/plugins/cxx/valgrind/ValgrindFrameTest.java
harveyt/sonar-cxx-plugin
lgpl-3.0
3,364
96
codeparrot/github-code
bb73d414b138263a9c2b53bb8af5179770a565ce8f8479f90ea4bf58a5a54550
// // System.Web.Compilation.CompilationException // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // (C) 2002,2003 Ximian, Inc (http://www.ximian.com) // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "...
C#
class/System.Web/System.Web.Compilation/CompilationException.cs
edwinspire/VSharp
lgpl-3.0
4,980
183
codeparrot/github-code
893501b935ea06989e91db0b76f7b0ca80e341524fc0971cf5a083faea216890
/* * #%L * Alfresco Data model classes * %% * Copyright (C) 2005 - 2016 Alfresco Software Limited * %% * This file is part of the Alfresco software. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided u...
Java
projects/data-model/source/java/org/alfresco/repo/search/impl/querymodel/impl/BaseConstraint.java
Alfresco/community-edition
lgpl-3.0
1,672
63
codeparrot/github-code
96cd2aea26e5ef0ac1ed682bcadf48fc5adf3df92a0861b69e00a5c1abedbc92
package javapns.notification.management; import org.json.*; /** * An MDM payload for Wi-Fi. * * @author Sylvain Pedneault */ public class WiFiPayload extends MobileConfigPayload { public WiFiPayload(int payloadVersion, String payloadOrganization, String payloadIdentifier, String payloadDisplayName, String SSID...
Java
src/main/java/javapns/notification/management/WiFiPayload.java
fernandospr/javapns-jdk16
lgpl-3.0
975
33
codeparrot/github-code
83cd9e4d2b81b9559ab232bafb224b1ced31b61185f49570a465c3e29d41b15b
/* * Project: Sudoku Explainer * Copyright (C) 2006-2007 Nicolas Juillerat * Available under the terms of the Lesser General Public License (LGPL) */ package diuf.sudoku.solver.rules; import java.util.*; import diuf.sudoku.*; import diuf.sudoku.solver.*; /** * Implementation of the Naked Single solving techniq...
Java
src/main/java/diuf/sudoku/solver/rules/NakedSingle.java
blindlf/SudokuExplainer
lgpl-3.0
1,378
47
codeparrot/github-code
a611dd6a74aae51111020a4d7e6f7ef9fc9a4a411191ff5413d609e3a723d717
/* Mesquite source code. Copyright 1997 and onward, W. Maddison and D. Maddison. Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code. The commenting leaves much to be desired. Please approach this source code with the spirit of helping out. Per...
Java
Source/mesquite/trees/ScaleSelBranchLengths/ScaleSelBranchLengths.java
MesquiteProject/MesquiteCore
lgpl-3.0
3,540
72
codeparrot/github-code
d434beda670ed789735bc8b55c00f99b64410778c90d8f83fffc1c147b9cbaab
/* This file is part of FaMaTS. FaMaTS 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 (at your option) any later version. FaMaTS is distri...
Java
reasoner_choco_2/src/es/us/isa/ChocoReasoner/questions/ChocoSetQuestion.java
isa-group/FaMA
lgpl-3.0
2,214
74
codeparrot/github-code
e1dcc01f4fd6a06deae874094ccb0fe4940a1e6b9288f3f17513cb11916b2fad
using System; using System.ServiceModel; using NUnit.Framework; namespace MonoTests.System.ServiceModel { [TestFixture] public class FaultCodeTest { FaultCode code; [Test] public void TestDefaults () { code = new FaultCode ("foo"); Assert.AreEqual ("foo", code.Name); Assert.AreEqual (String.Empty,...
C#
class/System.ServiceModel/Test/System.ServiceModel/FaultCodeTest.cs
edwinspire/VSharp
lgpl-3.0
2,277
86
codeparrot/github-code
96f6f7056264ebb40d8fd1cae8808bb27cf435a1ec539b6bc8b32280f81434ff
/* * #%L * Alfresco Data model classes * %% * Copyright (C) 2005 - 2016 Alfresco Software Limited * %% * This file is part of the Alfresco software. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided u...
Java
projects/data-model/source/java/org/alfresco/repo/search/impl/querymodel/impl/functions/FTSRange.java
Alfresco/community-edition
lgpl-3.0
3,154
78
codeparrot/github-code
d70e00b63158c9f905546f89a5d7684e8c4161b93ad3b1b9ddfe19b35786308a
/* radare - LGPL - Copyright 2009-2019 - pancake */ #include <r_core.h> #include <stdlib.h> #include <string.h> #define UPDATE_TIME(a) (r->times->file_open_time = r_sys_now () - (a)) static int r_core_file_do_load_for_debug(RCore *r, ut64 loadaddr, const char *filenameuri); static int r_core_file_do_load_for_io_plug...
C
libr/core/cfile.c
bigendiansmalls/radare2
lgpl-3.0
33,615
1,253
codeparrot/github-code
51d100f079a55017d26b6f10a194a95670f04908c60d07220963d1d3861b2b29
package org.molgenis.data.annotation.impl.datastructures; /** * Created by jvelde on 1/30/14. */ public class HGNCLocations { String hgnc; Long start; Long end; String chrom; public HGNCLocations(String hgnc, Long start, Long end, String chrom) { this.hgnc = hgnc; this.start = start; this.end = end; ...
Java
molgenis-data-annotators/src/main/java/org/molgenis/data/annotation/impl/datastructures/HGNCLocations.java
marijevdgeest/molgenis
lgpl-3.0
698
49
codeparrot/github-code
ca2bbfded0229233ac78db05e90817f871748a09075c3b541fa93e6cb673aa52
/* Copyright 2009-2016 Jean DUONG, CoReNum, INSA-Lyon, Université Paris Descartes, ENS-Lyon * * This file is part of libcrn. * * libcrn 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 ver...
C
src/libcrn/CRNStatistics/CRNPCA.h
Liris-Pleiad/libcrn
lgpl-3.0
6,963
223
codeparrot/github-code
1409f37c202195873d9794c7e9f40428237ab736cffe594af7daffeb0d07ab14
/* -*-c++-*- */ /* osgEarth - Dynamic map generation toolkit for OpenSceneGraph * Copyright 2008-2013 Pelican Mapping * http://osgearth.org * * osgEarth is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; e...
C++
src/osgEarthUtil/TileIndexBuilder.cpp
dchristopherfennell/osgEarth_clone
lgpl-3.0
3,927
128
codeparrot/github-code
301b2c9fe452ca91c265d022b2fddef65e85b0ec3aa84462206961b8131e7daa
/* Mesquite source code. Copyright 1997 and onward, W. Maddison and D. Maddison. Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code. The commenting leaves much to be desired. Please approach this source code with the spirit of helping out. Per...
Java
Source/mesquite/distance/PDistance/PDistance.java
MesquiteProject/MesquiteCore
lgpl-3.0
7,876
188
codeparrot/github-code
381d3528e64dd0a3fa8fbee81842e66a69a4b38868529b1005af772a43b635a6
"""Windows-specific implementation of process utilities. This file is only meant to be imported by process.py, not by end-users. """ #----------------------------------------------------------------------------- # Copyright (C) 2010-2011 The IPython Development Team # # Distributed under the terms of the BSD Licen...
Python
environment/lib/python2.7/site-packages/IPython/utils/_process_win32.py
cloud9ers/gurumate
lgpl-3.0
6,316
190
codeparrot/github-code
e228ec847527e3e082066ecd6cf40a7e907e0a7475031991310b01366dc3ee57
///////////////////////////////////////////////////////////////////// // Quantum Calculator example (C++ version) // Copyright (c) 2002 Miro Samek, Palo Alto, CA. // All Rights Reserved. ///////////////////////////////////////////////////////////////////// #ifndef calc_h #define calc_h #include <windows.h> #...
C++
QP/v2.2.3/CPP/QCALC/CALC.H
hyller/CodeLibrary
unlicense
1,929
57
codeparrot/github-code
18d5d98fcdbe19ff4818ac9009e6ac5d193d2e2c6bba55156b848fd11cdfcd47
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <title>Source code</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> </head> <body> <div class="sourceContainer"> <pre><span class="sourceLineNo...
HTML
lib/JCommon-1.0.21/jcommon-1.0/javadoc/src-html/org/jfree/xml/attributehandlers/LongAttributeHandler.html
GliderWinchItems/GliderWinchj2
unlicense
7,709
154
codeparrot/github-code
4face4341771666041efcbfdabac491c039d12912e8c441e60797402efb0eef6
#!/usr/bin/env bash # This needs to be run in the root directory. # Cause the script to exit if a single command fails. set -e set -x bazel build "//:object_manager_stress_test" "//:object_manager_test" "@plasma//:plasma_store_server" # Get the directory in which this script is executing. SCRIPT_DIR="`dirname \"$0\...
Shell
src/ray/test/run_object_manager_tests.sh
atumanov/ray
apache-2.0
1,300
44
codeparrot/github-code
a82c659f2e9be6fd61c6157483c79ba6b37e80cfb83399ddd0b187753b193980
<?php /** * Run a conduit method in-process, without requiring HTTP requests. Usage: * * $call = new ConduitCall('method.name', array('param' => 'value')); * $call->setUser($user); * $result = $call->execute(); * */ final class ConduitCall { private $method; private $request; private $user; priva...
PHP
src/applications/conduit/call/ConduitCall.php
akkakks/phabricator
apache-2.0
5,216
189
codeparrot/github-code
d7862c2e03bdf53e583d205861f09c59d74502fe75e6a42ce688476fe2e46368
/* 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, software * distributed...
Java
modules/flowable-cmmn-api/src/main/java/org/flowable/cmmn/api/runtime/CaseInstance.java
lsmall/flowable-engine
apache-2.0
1,171
42
codeparrot/github-code
1cc2efc4861e2be20fe26c3e518c60d92fe13adbfb4db3dc83f6208547c78662
/* * 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
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/swap/SimpleSwapDeserializer.java
MikeThomsen/nifi
apache-2.0
13,651
304
codeparrot/github-code
6998065e9e12a35de1a9151539a8c447097df0e72634c8bb5d3082041119b64f
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/kms/model/KeyManagerType.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Utils; n...
C++
aws-cpp-sdk-kms/source/model/KeyManagerType.cpp
awslabs/aws-sdk-cpp
apache-2.0
1,931
71
codeparrot/github-code
2afe7e0ad7159c22f85aa2bf2c2417c8a27d87223981506b3913f3063a7a5bae
/* * JBoss, Home of Professional Open Source * Copyright 2013 Red Hat Inc. and/or its affiliates and other * contributors as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a full listing of * individual contributors. * * This is free software; you can redistri...
Java
infinispan/query/src/test/java/org/infinispan/query/blackbox/TopologyAwareClusteredQueryTest.java
nmldiegues/stibt
apache-2.0
2,443
73
codeparrot/github-code
e3b788f8ebd58cbf5dfe06afe74193be1a96f8698ec9e90e7ce168e2df858c60
package org.apereo.cas.web.flow.executor; import lombok.val; import org.cryptacular.bean.AEADBlockCipherBean; import org.cryptacular.bean.KeyStoreFactoryBean; import org.cryptacular.generator.sp80038d.RBGNonce; import org.cryptacular.io.ClassPathResource; import org.cryptacular.spec.AEADBlockCipherSpec; import org.jun...
Java
core/cas-server-core-webflow-api/src/test/java/org/apereo/cas/web/flow/executor/ClientFlowExecutionRepositoryTests.java
fogbeam/cas_mirror
apache-2.0
6,868
151
codeparrot/github-code
5973a4d18bd6f7fa33c0acfdd23049c4f8d77fe702fdc371b4e44ebd3938292e
/* * Copyright 2014 CyberVision, 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/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Java
server/common/dto/src/main/java/org/kaaproject/kaa/common/dto/AbstractSchemaDto.java
vzhukovskyi/kaa
apache-2.0
4,172
153
codeparrot/github-code
167a3e7103fb002ba87aa727611d92ca5f5e8482ec8e479e4e9c5ba0149f74da
/* * 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/core/src/main/java/org/apache/ignite/internal/binary/streams/BinaryHeapOutputStream.java
samaitra/ignite
apache-2.0
5,760
218
codeparrot/github-code
473b9ea04c8fab5e8db356d61528dbad9137feecf8010c06b2107627a1ea1b99
/* * 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
phoenix-core/src/test/java/org/apache/phoenix/memory/MemoryManagerTest.java
ankitsinghal/phoenix
apache-2.0
7,482
202
codeparrot/github-code
dd4a4ccb784f518bf2afb507eac539ecd9896433e8cef243b475094cfdf921a2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" > <title>Minneapolis 2014 - Proposal</title> <meta name="author" content="Speaker 22" > <link rel="alternate" type="app...
HTML
static/events/2014-minneapolis/proposals/Do you know when your application stop working/index.html
benjohnson77/devopsdays-web
apache-2.0
9,629
232
codeparrot/github-code
293b35194148899ea2371ebf290700c263be772cd08109e4c95b74fc95bb4557
/** * Copyright 2018 Nikita Koksharov * * 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 agree...
Java
redisson-spring-data/redisson-spring-data-20/src/main/java/org/redisson/spring/data/connection/DistanceConvertor.java
jackygurui/redisson
apache-2.0
1,164
42
codeparrot/github-code
0a41fcb097bd74df4dd64db1d0c25543cb46d473486238259e2a26a6979ccd9b
/* * 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
jena-arq/src/test/java/org/apache/jena/sparql/algebra/TestClassify.java
kidaa/jena
apache-2.0
8,890
215
codeparrot/github-code
791ff077a06da5cbde700886d2d9a8738fbac0fb23afbedeeed70427899e5ce4
package resource import ( "github.com/docker/infrakit/pkg/spi" "github.com/docker/infrakit/pkg/types" ) // InterfaceSpec is the current name and version of the Resource API. var InterfaceSpec = spi.InterfaceSpec{ Name: "Resource", Version: "0.1.1", } // ID is the unique identifier for a collection of resource...
GO
pkg/spi/resource/spi.go
kaufers/infrakit
apache-2.0
800
33
codeparrot/github-code
a9c1c583227cfb8c4a9e31226c00f14ba5bfeefe4d2ca41594b6f23c0bf4332b
/* 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 a...
C#
source/Plugins/GoogleAnalyticsV4/GoogleAnalyticsAndroidV4.cs
shazow/google-analytics-plugin-for-unity
apache-2.0
5,829
177
codeparrot/github-code
03d6d7ba59c127ca26ec0c1ca69548e30a858c6ff102c644d32f6017ee0e464f
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
Rust
src/test/run-pass/send-iloop.rs
j16r/rust
apache-2.0
1,072
41
codeparrot/github-code
6514737474d8347cf6da107b5915e14f0977f314847c45150bdaea2fb02df543
/* * Copyright (c) 2009 Kathryn Huxtable and Kenneth Orr. * * This file is part of the SeaGlass Pluggable Look and Feel. * * 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:...
Java
src/main/java/com/seaglasslookandfeel/painter/ContentPanePainter.java
khuxtable/seaglass
apache-2.0
3,267
114
codeparrot/github-code
0cc10f61ce85f3cc82f2ae2280fa6a9758cec5a2b1562b45d1dc08e2898c307b
package org.apereo.cas.support.saml.web.idp.profile.sso; import org.apereo.cas.CasProtocolConstants; import org.apereo.cas.support.saml.BaseSamlIdPConfigurationTests; import org.apereo.cas.support.saml.SamlProtocolConstants; import org.apereo.cas.support.saml.SamlUtils; import org.apereo.cas.support.saml.authenticatio...
Java
support/cas-server-support-saml-idp/src/test/java/org/apereo/cas/support/saml/web/idp/profile/sso/SSOSamlIdPProfileCallbackHandlerControllerWithBrowserStorageTests.java
fogbeam/cas_mirror
apache-2.0
6,429
136
codeparrot/github-code
86ef177ee3baf7798fcc5fdde4ff272a73a599076696e79318a98f01c4223c7f
/* * 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
asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/job/listener/JobEventListenerFactory.java
ecarm002/incubator-asterixdb
apache-2.0
4,428
105
codeparrot/github-code
966f004ef122eeff59a9ff8ab6d8defa539671e71008ac1f2e8cfcb49a59c3ba
package org.axonframework.axonserver.connector.heartbeat; import org.axonframework.axonserver.connector.utils.FakeScheduler; import org.junit.jupiter.api.*; import java.util.concurrent.atomic.AtomicBoolean; import static org.junit.jupiter.api.Assertions.*; /** * Unit tests for {@link HeartbeatMonitor} * * @autho...
Java
axon-server-connector/src/test/java/org/axonframework/axonserver/connector/heartbeat/HeartbeatMonitorTest.java
krosenvold/AxonFramework
apache-2.0
2,054
53
codeparrot/github-code
41579ad1e4678731e2e66829ca73073d4b6ce83aefc88a7d67170c34c21e7238
// 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 applicable ...
Java
gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/ReviewCommand.java
cjh1/gerrit
apache-2.0
14,120
425
codeparrot/github-code
6b99e8e4ca591782be1320927f21c07a50e7174309a89b7f4cc373791a0d0f17
/* Copyright 2017 The TensorFlow 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 a...
C
tensorflow/compiler/xla/service/hlo_sharding.h
xzturn/tensorflow
apache-2.0
11,888
289
codeparrot/github-code
f927b977e7c851b3ba60d5ef9febf5c2e45fdddbbbf631c2ce8b28a8241945b9
# Copyright 2014 Juniper Networks. 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...
Python
neutron_plugin_contrail/plugins/opencontrail/contrail_plugin.py
cloudwatt/contrail-neutron-plugin
apache-2.0
28,349
707
codeparrot/github-code
c1d98d44f1ac6a13afb0a70805ed979d82f6c37c596dfdb21521adcd55591d87
/* * 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-cmis/src/test/java/org/apache/camel/component/cmis/CMISConsumerTest.java
adessaigne/camel
apache-2.0
3,886
102
codeparrot/github-code
c6d2f8358e925f572ee7c9c8624f3843611c275f2d16259cb7fd4a50528889e7
/* * Copyright (c) 2010-2018. Axon Framework * * 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 o...
Java
messaging/src/main/java/org/axonframework/messaging/annotation/PayloadParameterResolver.java
krosenvold/AxonFramework
apache-2.0
1,749
54
codeparrot/github-code
84dd538a892efe1d8ef8b2a069c173fdf4dbdbd1b344cef4f65f05fe9cb7465c
/* * 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
platforms/hawtio-osgi-jmx/src/test/java/io/hawt/osgi/jmx/RBACDecoratorTest.java
hawtio/hawtio
apache-2.0
10,264
216
codeparrot/github-code
51c02ad9021ec75cc565acd76abc938d27f68139f9be1d6227ca35648b2e68aa
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other 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 License at * * http://www.apach...
Java
saml-core/src/main/java/org/keycloak/saml/SAML2AuthnRequestBuilder.java
iperdomo/keycloak
apache-2.0
3,364
98
codeparrot/github-code