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
e0fe9f0fb62ca8a06b7e48e4bf45dd46622b0a9f4290b5c349cc126641ce00ec
package org.dave.CompactMachines.item; import java.util.List; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.IIcon; import net.minecraft.util.StatCollec...
Java
src/main/java/org/dave/CompactMachines/item/ItemEntangler.java
Mordenkainen/CompactMachines
gpl-3.0
2,737
96
codeparrot/github-code
01b84e01f45dd2c7f3738730a4836c723e130d1725037d642b398fb31dea9356
# encoding: utf-8 class System::GroupNext < ActiveRecord::Base include System::Model::Base include System::Model::Tree include System::Model::Base::Config belongs_to :group_update , :foreign_key => :group_update_id , :class_name => 'System::GroupUpdate' belongs_to :old_g , :foreign_key => :old_gr...
Ruby
app/models/system/group_next.rb
ryoon/enisysgw
gpl-3.0
1,500
49
codeparrot/github-code
782408916d4db7a20b19a37d10e81e0c1fa0504e3c17051abe64bb51d1f904fb
use vars qw(%result_texis %result_texts %result_trees %result_errors %result_indices %result_sectioning %result_nodes %result_menus %result_floats %result_converted %result_converted_errors %result_elements %result_directions_text); use utf8; $result_trees{'nodename_parentheses'} = { 'contents' => [ ...
Perl
tp/t/results/sectioning/nodename_parentheses.pl
cfx-next/toolchain_texinfo
gpl-3.0
58,172
1,393
codeparrot/github-code
495a1b04ecf9edac0bba07ea2609c2c20402fea0bd2c7d95802fcbf25be981d2
/* Cockos WDL - LICE - Lightweight Image Compositing Engine Copyright (C) 2007 and later, Cockos Incorporated File: lice_png_write.cpp (PNG saving for LICE) See lice.h for license and other information */ #include "lice.h" #include <stdio.h> #include "../libpng/png.h" bool LICE_WritePNG(const char *filenam...
C++
libs/WDL/lice/lice_png_write.cpp
austensatterlee/VOSIMSynth
gpl-3.0
3,089
134
codeparrot/github-code
3c2636c66b42038c91e964bc8ca568b657d7d298a4eaeb45c8ce18da969a1887
//------------------------------------------------------------------------------ // File: DllSetup.cpp // // Desc: DirectShow base classes. // // Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ #include "str...
C++
src/thirdparty/BaseClasses/dllsetup.cpp
tgoyne/VSFilter-Aegisub
gpl-3.0
18,442
697
codeparrot/github-code
ac92214923da06980a8c9242d8350a1b6b070770114384583c90e0f9af355370
#include "Copter.h" // start_command - this function will be called when the ap_mission lib wishes to start a new command bool Copter::start_command(const AP_Mission::Mission_Command& cmd) { // To-Do: logging when new commands start/end if (should_log(MASK_LOG_CMD)) { DataFlash.Log_Write_Mission_Cmd(mi...
C++
ArduCopter/commands_logic.cpp
phoneguy/ardupilot
gpl-3.0
41,767
1,178
codeparrot/github-code
2db0ba03570ef4319e84b9995e0c292c7a05a1ab2fec44c97e1eb984c542916e
/* Basic group chats testing */ #include "../../toxcore/DHT.h" #include "../../toxcore/tox.h" #include "../../toxcore/network.h" #include "../../toxcore/ping.h" #include "../../toxcore/util.h" #include "../../toxcore/group_chats.h" #include "../../toxcore/Messenger.h" #include "../misc_tools.c" #include <stdio.h> #i...
C
testing/groupchats/group_newpeers_dos_attack.c
aroneiermann/toxcore
gpl-3.0
2,914
112
codeparrot/github-code
0cf61171e18c7775cb6a9fcd790fececf6fce3cf2d58a9d0320fca173343603b
<!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>Generates XML for a PHP value</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="...
HTML
php/5.5/function.xmlrpc-encode.html
P3PO/the-phpjs-local-docs-collection
gpl-3.0
2,484
42
codeparrot/github-code
0d36646e8bc43cfa329f7ee4af58b69dd5984b4ae32e5e9308a49b3c113b2316
/* Hey EMACS -*- linux-c -*- */ /* $Id: ti68k_def.h 2819 2009-05-02 19:51:29Z roms $ */ /* TiEmu - Tiemu Is an EMUlator * * Copyright (c) 2000, Thomas Corvazier, Romain Lievin * Copyright (c) 2001-2002, Romain Lievin, Julien Blache * Copyright (c) 2003-2004, Romain Li�vin * Copyright (c) 2005-2007, Romain Li...
C
jni/tiemu-3.03/src/core/ti68k_def.h
chosen1/graph89
gpl-3.0
5,066
232
codeparrot/github-code
40429ed140fbf65f986defaa967b71ed81ba6eb8cf532960910c0fc5849c2414
package logical import ( "errors" "fmt" ) // Request is a struct that stores the parameters and context // of a request being made to Vault. It is used to abstract // the details of the higher level request protocol from the handlers. type Request struct { // Operation is the requested operation type Operation Op...
GO
logical/request.go
colinrymer/vault
mpl-2.0
4,130
146
codeparrot/github-code
3bd7a6baea3b1ce087f36be9182a0eae6a456f8d3759f69b371b744ee14db69b
/* * Copyright (c) 2014. The Trustees of Indiana University. * * This version of the code is licensed under the MPL 2.0 Open Source license with additional * healthcare disclaimer. If the user is an entity intending to commercialize any application * that uses this code in a for-profit venture, please contact the ...
Java
src/test/java/com/muzima/api/service/UnitTestModule.java
vikaspandeysahaj/muzima-api-1
mpl-2.0
1,304
39
codeparrot/github-code
3977369af730fa071b86ba5e459bc8191a29feeddb5ab2f327b22823d40222b6
<?php /** * @package jelix * @subpackage core_response * @author Laurent Jouanneau * @copyright 2005-2010 Laurent Jouanneau * @link http://www.jelix.org * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html */ /** * xmlrpc response * @package je...
PHP
lib/jelix/core/response/jResponseXmlrpc.class.php
makinacorpus/lizmap-web-client
mpl-2.0
1,666
65
codeparrot/github-code
5cf34aa09c6356a7a0999ad69301ea76fe90b26e44024572857cd401e84ee0bb
"""Defines ``Group`` and ``UserPartition`` models for partitioning""" from collections import namedtuple from stevedore.extension import ExtensionManager # We use ``id`` in this file as the IDs of our Groups and UserPartitions, # which Pylint disapproves of. # pylint: disable=redefined-builtin # UserPartition IDs...
Python
common/lib/xmodule/xmodule/partitions/partitions.py
msegado/edx-platform
agpl-3.0
10,492
298
codeparrot/github-code
f44111a63e1a736c5c5e55b737c02ad22814f0be1f1ed3925b19f6f762c92bd8
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
Lua
npc/base/condition/sex.lua
Baylamon/Illarion-Content
agpl-3.0
1,146
37
codeparrot/github-code
1312fd420ce45ee9c9bc590c134b78aae547aed314cd86a943058c2f12c120d7
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be> # Copyright (C) 2014 Jesús Espino <jespinog@gmail.com> # Copyright (C) 2014 David Barragán <bameda@dbarragan.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 by the F...
Python
taiga/projects/api.py
astagi/taiga-back
agpl-3.0
20,067
500
codeparrot/github-code
cbc03d437ccc210684090164f246dccf54f723616d073ebd13e79826d7182fca
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be> # Copyright (C) 2014 Jesús Espino <jespinog@gmail.com> # Copyright (C) 2014 David Barragán <bameda@dbarragan.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 by the F...
Python
taiga/projects/tasks/api.py
Tigerwhit4/taiga-back
agpl-3.0
7,477
168
codeparrot/github-code
9d9a2d98b809a523a12a155354aa7af6c7258a4fb336b4a5d802f2cdf7fdcf4f
from django.utils import timezone from django.utils.translation import ugettext_lazy as _ from django.contrib.contenttypes.models import ContentType from actstream.exceptions import check_actionable_model def follow(user, obj, send_action=True, actor_only=False, request=None): """ Creates a relationship al...
Python
actstream/actions.py
pirata-cat/agora-ciudadana
agpl-3.0
3,984
123
codeparrot/github-code
3a938547c2c6e2e3b0dc33ba03b7f2e2dcfa33644394aee1f0f0b3933ec894b7
local DocumentRegistry = require("document/documentregistry") local JSON = require("json") local http = require("socket.http") local lfs = require("libs/libkoreader-lfs") local logger = require("logger") local ltn12 = require("ltn12") local socket = require("socket") local socketutil = require("socketutil") local util ...
Lua
frontend/apps/cloudstorage/dropboxapi.lua
poire-z/koreader
agpl-3.0
8,950
270
codeparrot/github-code
5208fca9ea1b83b610e825ecb41ecd29a388afddda3f474b8132b74a76fdcf0a
# # Copyright (C) 2014 - 2015 Instructure, Inc. # # This file is part of Canvas. # # Canvas 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, version 3 of the License. # # Canvas is distributed in the hop...
Ruby
app/models/external_integration_key.rb
matematikk-mooc/canvas-lms
agpl-3.0
2,611
99
codeparrot/github-code
285463575c7305de9f315e96fecd6ae3548cfde69068b70101adfd27dcbc6709
/*************************************************************************** * Copyright 2013 CertiVox IOM Ltd. * * This file i...
C
util/Miracl/mrflash.c
chubbymaggie/OTExtension
agpl-3.0
9,861
341
codeparrot/github-code
96c3029e8bdd818702abc267a604851b5ce6e2c7ebb3e516a6c4114c2eaa8bec
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/s3/S3_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/s3/model/NotificationConfigurationFilter.h> ...
C
external/aws-cpp-sdk/include/aws/s3/model/TopicConfiguration.h
uroni/urbackup_backend
agpl-3.0
8,246
220
codeparrot/github-code
c7ce9a2828844fbff97354925d5447c4002652fe38c71a5deb6bbf4c4e9cd48e
/* GIO - GLib Input, Output and Streaming Library * * Copyright (C) 2006-2007 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 of the License, or...
C
monitor/hal/gvfsdbusutils.c
xkahn/gvfs-cmis
lgpl-2.1
13,251
539
codeparrot/github-code
ff166abfc6d2f36736592466f8d3b209a47ac22bba8df0194151603a4150e789
/* * BioJava development code * * 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. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
Java
biojava-sequencing/src/test/java/org/biojava/nbio/sequencing/io/fastq/FastqToolsTest.java
andreasprlic/biojava
lgpl-2.1
13,510
479
codeparrot/github-code
b26111636565d14e482dda3db4129b3de2780dc01d3ce19de2b86a4022f91c47
// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" // which accompanies this distribution, and is available // at the URL "http://www.eclipse.org/legal/e...
C
plugins/contacts/symbian/contactsmodel/inc/cntsyncecom.h
kaltsi/qt-mobility
lgpl-2.1
1,891
57
codeparrot/github-code
2a6f09685356e8dce56cb9c557e93ac5a1fc8f4f5a4872765f9bc7d6f9c32c36
/* qgvdial is a cross platform Google Voice Dialer Copyright (C) 2009-2014 Yuvraaj Kelkar This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option...
C++
qgvdial/winphone8/WP8PhoneFactory.cpp
nevfel/qgvdial
lgpl-2.1
1,360
49
codeparrot/github-code
50f533466a7f6186d26252da6c06d821589440f1cda5cfe08b815db03b09836d
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
C++
src/plugins/projectexplorer/devicesupport/desktopdevice.cpp
maui-packages/qt-creator
lgpl-2.1
4,251
134
codeparrot/github-code
d96fa27dca07aa5452288e13db4cd5708a8de151edc1116c4f4364484813016b
/* qgvdial is a cross platform Google Voice Dialer Copyright (C) 2009-2014 Yuvraaj Kelkar This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option...
C
qgvdial/ios/IosPhoneAccount.h
nevfel/qgvdial
lgpl-2.1
1,282
53
codeparrot/github-code
67b2b6b289912c57cf6cc799806c33ea678d46fe0b13a8f6e23ccdb1b0ecf9a9
/******************************************************************************* * ALMA - Atacama Large Millimeter Array * Copyright (c) UTFSM - Universidad Tecnica Federico Santa Maria, 2011 * (in the framework of the ALMA collaboration). * All rights reserved. * * This library is free software; you can redistr...
Java
LGPL/CommonSoftware/cdbChecker/src/cl/utfsm/cdbChecker/CDBErrorHandler.java
ACS-Community/ACS
lgpl-2.1
3,253
83
codeparrot/github-code
957b43136a9dc7398daa0308b310c030ecd8be6a896139f951c3eebe53c2bd0a
import sys, os, platform, math import Sofa import Flexible.IO import Flexible.sml import SofaPython.Tools from SofaPython.Tools import listToStr as concat import numpy from numpy import linalg # variables __file = __file__.replace('\\', '/') # windows CURRENTDIR = os.path.dirname(os.path.abspath(__fil...
Python
applications/plugins/SofaPython/examples/sceneDataIO_write.py
FabienPean/sofa
lgpl-2.1
5,843
116
codeparrot/github-code
32a513bd655fa1aef1c986dbee97d97d8a3a90d51f76ecba844cb7a869c6b3c9
/* -*-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/TerrainProfile.cpp
AlexBobkov/osgearth
lgpl-3.0
6,372
221
codeparrot/github-code
c258721d0a882cc48381015028cc828a39daef4620bb531e58c31c7f9d375018
'use strict'; angular.module('chartsExample.directives', []).directive('chart', function() { return { restrict: 'E', template: '<div></div>', scope: { chartData: "=value", chartObj: "=?" }, transclude: true, replace: true, link: functi...
JavaScript
assets/bower_components/angular-highcharts-directive/src/directives/highchart.js
Shohiek/weblims
lgpl-3.0
1,343
38
codeparrot/github-code
ab018ceeb25b5c299bb21d1a6cd01eac8c74dbd49931b982fe38eaa0ea4e7c3b
/* 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
lib/batik-1.8/sources/org/apache/batik/anim/dom/SVGOMAltGlyphItemElement.java
git-moss/Push2Display
lgpl-3.0
1,930
64
codeparrot/github-code
2cda311b926ef49b31ab50ad63703764354996d570bcb2b6eca2acd6ae6f909d
//+------------------------------------------------------------------+ //| Sample DLL for MQL4 | //| Copyright 2001-2014, MetaQuotes Software Corp. | //| http://www.metaquotes.net | //+-----------------------------...
C++
servidor/MQL4/Scripts/Examples/DLL/DLLSample.cpp
cleitoncsg/0mqL
lgpl-3.0
8,038
240
codeparrot/github-code
d7e544039ea1ae0fed548c431b46f48d980255760cdc97d01144d69c0d6b4302
package org.molgenis.dataexplorer.settings; import static org.molgenis.data.meta.AttributeType.BOOL; import static org.molgenis.data.meta.AttributeType.COMPOUND; import static org.molgenis.data.meta.AttributeType.INT; import static org.molgenis.data.meta.AttributeType.TEXT; import com.google.gson.Gson; import com.goo...
Java
molgenis-dataexplorer/src/main/java/org/molgenis/dataexplorer/settings/DataExplorerSettings.java
dennishendriksen/molgenis
lgpl-3.0
18,121
462
codeparrot/github-code
c6a28aa298fa15a706e8ab44a096e10157183b9a6e3bf70a8a006a3538393780
<?php if (!defined('FLUX_ROOT')) exit; ?> </td> <td bgcolor="#f5f5f5"></td> </tr> <tr> <td><img src="<?php echo $this->themePath('img/content_bl.gif') ?>" style="display: block" /></td> <td bgcolor="#f5f5f5"></td> <td><img src="<?php echo $this->themePath('img/content_br....
PHP
themes/default/footer.php
itsmeSryx/FluxCP
lgpl-3.0
2,096
62
codeparrot/github-code
02c800d77313905798131c96db45fad16c725d3a4f5f3f32cd2571206b559f48
/* * 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/ESExceptionTests.java
palecur/elasticsearch
apache-2.0
21,714
368
codeparrot/github-code
e3452b7d331fc69a824c3471bcccdaf7eaef32eeef91a62923574b10edc0646f
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
C++
src/operator/roi_pooling.cc
szha/mxnet
apache-2.0
9,676
236
codeparrot/github-code
a9ebe23828e3f77f895844d5b44248d0e8ea72283fcd374e7f9467d9040dd408
/* * 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/logging/repository/StandardLogRepository.java
speddy93/nifi
apache-2.0
7,632
212
codeparrot/github-code
538c892738f1238b186fcf7bd550896385eb732308adca177b0ce194ba452a3f
/* * Copyright 1999-2015 dangdang.com. * <p> * 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...
Java
elastic-job-lite/elastic-job-lite-core/src/test/java/com/dangdang/ddframe/job/lite/internal/config/ConfigurationNodeTest.java
mydevotion/elastic-job-source
apache-2.0
1,006
33
codeparrot/github-code
fdb26dad0f4df0d1430cf2802cd2e9b74d2eb087a94aa388fa9337d3facc02b0
/* Demo styles for Hub and other metro pages -------------------------------------------------- */ /* Body and structure -------------------------------------------------- */ html{ height:100%; overflow-y:hidden; /* Respect browser height */ overflow-x:hidden; } body{ width:100%; height:100%; } html, b...
CSS
user/enterprise/assets/css/demo.css
whstc/whstc.github.io
apache-2.0
37,989
1,764
codeparrot/github-code
1e03dbcf6f8595244656083a8cc7dd4f980a3b20ac367f049195e6420c797d2e
// Copyright 2009 The Closure Library 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 // // Unl...
JavaScript
appinventor/lib/closure-library/closure/goog/math/long.js
yflou520/appinventor-sources
apache-2.0
24,009
803
codeparrot/github-code
9ef42fce83ab9dfc067c845c7cdab61beea1a2d74cd8792eeac651e89c1267d5
/* * Copyright 2016-present Open Networking Foundation * * 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 appli...
Java
protocols/ospf/protocol/src/main/java/org/onosproject/ospf/protocol/ospfpacket/types/LsAcknowledge.java
kuujo/onos
apache-2.0
8,083
202
codeparrot/github-code
05ab78ef9639d33f7569e78c3063090b05cbc0acba034575a0f8b494562b8a5b
#!/usr/bin/env bash # Gather important arguments provided to PrgEnv C compilers COMPILE=0 LINK=0 case $1 in compile) COMPILE=1 ;; link) LINK=1 ;; *) echo "Usage: $0 [compile|link]" echo " <compile> returns key flags provided to PrgEnv C compilers" echo " <link> returns key flags prov...
Shell
util/config/gather-cray-prgenv-arguments.bash
hildeth/chapel
apache-2.0
881
45
codeparrot/github-code
446d7b654b6346a210f3034b689ac5f71ed9ffa7d7fe45c9a9c9d3f21d2569aa
/* * jQuery mmenu navbar addon * mmenu.frebsite.nl * * Copyright (c) Fred Heusschen */ (function( $ ) { var _PLUGIN_ = 'mmenu', _ADDON_ = 'navbars'; $[ _PLUGIN_ ].addons[ _ADDON_ ] = { // setup: fired once per menu setup: function() { var that = this, navs = this.opts[ _ADDON_ ], conf =...
JavaScript
project/drivers/drivers-weixin/src/main/webapp/plugins/jQuery.mmenu/src/addons/navbars/jquery.mmenu.navbars.js
xhujinjun/driver-school
apache-2.0
3,075
158
codeparrot/github-code
b0a8c9763500597a6b6f8ea576410c3d04c42c8d21bf0d74c4f217c11e52556b
#!/usr/bin/env bash # # Copyright (c) .NET Foundation and contributors. All rights reserved. # Licensed under the MIT license. See LICENSE file in the project root for full license information. # Debian Packaging Script # Currently Intended to build on ubuntu14.04 set -e SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOUR...
Shell
scripts/package/package-debian.sh
anurse/Cli
apache-2.0
6,874
220
codeparrot/github-code
fdeb2c4d8f7a48aa9514c7c234469de1b9c86256612f19288767cbdbf5de4ff8
/* Copyright (c) 2013 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #pragma once #include <iostream> #include <string> #include <algorithm> #include <functional> #include <memory> #include "util/lua.h" #include "util/seriali...
C
src/util/sexpr/sexpr.h
c-cube/lean
apache-2.0
7,691
192
codeparrot/github-code
e9fbff78a3551e0a9e488af48a61a4a9e55c06f725d6f766025d387f4e1a4e6b
/** * 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-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/SchedulerUtils.java
robzor92/hops
apache-2.0
17,057
431
codeparrot/github-code
6b560f29a09318a61da2fee40b98da38881d40b6da25d2594684ad844fd5a399
// For conditions of distribution and use, see copyright notice in LICENSE #pragma once #include "OgreModuleApi.h" #include "IComponent.h" #include "CoreTypes.h" #include "Math/float3.h" #include "OgreModuleFwd.h" #include "Color.h" /// Makes the entity a environment light. /** <table class="header"> <tr> <t...
C
src/Core/OgreRenderingModule/EC_EnvironmentLight.h
BogusCurry/tundra
apache-2.0
2,465
84
codeparrot/github-code
b7d91ea657a9c4414c88e12667b2bbd9885ce3f9ca89d8a19ccad012bf1030fd
/* * 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/client/transport/TransportClientIT.java
martinstuga/elasticsearch
apache-2.0
4,831
99
codeparrot/github-code
bb41ddedc377216ed2a74e1e75bbaa224d7097955f17c64b3a250e201127ec7c
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. Imports System Imports System.[Text] Imports System.Collections.Generic Imports System.Linq Imports Microsoft.CodeAnal...
Visual Basic
src/Compilers/VisualBasic/Test/Semantic/FlowAnalysis/FlowDiagnosticTests.vb
davkean/roslyn
apache-2.0
58,247
1,577
codeparrot/github-code
e8b9e03a390cd4e6bd161b81d2674f8575a5fa7cb02da3d67effa49f2b140826
# # Cookbook Name:: rvm # Provider:: default_ruby # # Author:: Fletcher Nichol <fnichol@nichol.ca> # # Copyright 2011, Fletcher Nichol # # 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 # # ...
Ruby
rvm/providers/default_ruby.rb
brunosoab/bkether_cookbooks
apache-2.0
1,819
63
codeparrot/github-code
aabd21e74f14cd82f375364d90eb0bb6461ca603ec7856f6e6bbdaff77274c81
#include "Filter.h" #include "Filter_PVT.h" const uint8 CYCODE Filter_control[] = { 0x20u, 0x13u, 0x00u, 0x25u, 0x61u, 0x17u, 0x80u, 0x26u, 0x01u, 0x00u, 0x80u, 0x26u, 0xE0u, 0x0Eu, 0x80u, 0x26u, 0xC2u, 0x0Cu, 0x80u, 0x26u, 0x02u, 0x00u, 0x80u, 0x06u, 0x65u, 0x87u, 0x18u, 0x6Du, 0x64u, 0x09u, ...
C
Design01.cydsn/Filter_ADC_VDAC01.cydsn/codegentemp/Filter_RAM_Data.c
scarlso/LED_controller
apache-2.0
12,499
224
codeparrot/github-code
051a4b45711c4fac3f2ec4b621800c2695dce455e3cd9ee5f5ce059974c5df6d
/* * 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-authorizer/src/main/java/org/apache/nifi/authorization/AuthorizerFactory.java
MikeThomsen/nifi
apache-2.0
28,576
491
codeparrot/github-code
b99460aa06f35f957615458efa37021983d6317e2a54f580a539492639003bac
/* * 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
core/src/test/java/org/apache/accumulo/fate/zookeeper/ZooSessionTest.java
apache/accumulo
apache-2.0
1,548
44
codeparrot/github-code
7563430698fc8d14a6c82329524c73d939599bac272f55d6ca5ede7d1c3db3fe
from __future__ import absolute_import, unicode_literals import logging import pykka logger = logging.getLogger(__name__) def send(cls, event, **kwargs): listeners = pykka.ActorRegistry.get_by_class(cls) logger.debug('Sending %s to %s: %s', event, cls.__name__, kwargs) for listener in listeners: ...
Python
mopidy/listener.py
mokieyue/mopidy
apache-2.0
1,658
50
codeparrot/github-code
3bb27a583921e1c85971f2c9bd20498a93602d2c4e72f7443d021670b9780c04
package org.nd4j.linalg.indexing; import com.google.common.primitives.Longs; import lombok.Data; import net.ericaro.neoitertools.Generator; import net.ericaro.neoitertools.Itertools; import org.nd4j.linalg.api.ndarray.INDArray; import org.nd4j.linalg.util.LongUtils; import java.util.Arrays; import java.util.List; imp...
Java
nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/SpecifiedIndex.java
deeplearning4j/nd4j
apache-2.0
6,406
237
codeparrot/github-code
81237b04d85bc6351c8969c33158403800f1ef06c3caa00506127a62a8cc9fd9
// // System.Configuration.SubclassTypeValidatorAttribute.cs // // Authors: // Chris Toshok (toshok@ximian.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, incl...
C#
lib/mono/mcs/class/System.Configuration/System.Configuration/SubclassTypeValidatorAttribute.cs
symplified/Symplified.Auth
apache-2.0
1,855
61
codeparrot/github-code
641ccbcefb25beb891a51417d794208e4daa24461558d272874a261c36e6ab40
/* * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
Java
test/J2s/java/openjdk-6-src-b27/jdk/test/javax/sound/midi/Gervill/SoftTuning/NewSoftTuningPatchByteArray.java
andreagenso/java2scala
apache-2.0
2,445
66
codeparrot/github-code
3fa28fe7557137cd7f050669313ac43e437b0e786bf995894d99f63639e19f45
/* * 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
src/main/java/org/elasticsearch/action/support/QuerySourceBuilder.java
zuoyebushiwo/elasticsearch1.7-study
apache-2.0
3,278
92
codeparrot/github-code
a37bddcab70c303986927a032562cbb0d918758454bc89166d9013b37c95964d
/* * 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/src/main/java/org/apache/druid/server/listener/announcer/ListenerResourceAnnouncer.java
deltaprojects/druid
apache-2.0
3,422
112
codeparrot/github-code
be618d6409be54984dc614318e6a72ea6881b5ed1f2b8458e9bd11fd59052c86
// 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 org.zmlx.hg4idea.execution; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.ui.Messages; import org.jetbrains.annotations.NotNull; import org.j...
Java
plugins/hg4idea/src/org/zmlx/hg4idea/execution/HgDeleteModifyPromptHandler.java
goodwinnk/intellij-community
apache-2.0
3,284
83
codeparrot/github-code
2d7379be280f959757f0cbfe75edb291cbe05116d357405aebe7fd10a206656b
package org.apache.cassandra.index.internal; import java.nio.ByteBuffer; import java.util.*; import java.util.concurrent.Callable; import java.util.concurrent.Future; import java.util.function.BiFunction; import java.util.stream.Collectors; import java.util.stream.StreamSupport; import org.slf4j.Logger; import org.sl...
Java
test/unit/org/apache/cassandra/index/internal/CustomCassandraIndex.java
yangzhe1991/cassandra
apache-2.0
22,933
643
codeparrot/github-code
d27e741ba622f26f34b9aefdaf0f2b086dba5869c3f69b4e73904ab13fe786cf
package com.mossle.report.web; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Resource; import com.mossle.api.tenant.TenantHolder; import com.mossle.core.mapper.JsonMapper; import com.mossle.report.persistence.domain.ReportInfo; import com...
Java
src/main/java/com/mossle/report/web/IndexController.java
mosoft521/lemon
apache-2.0
3,471
107
codeparrot/github-code
dbe2762a644ce38d568d245d6097114d4b203a7e92420f73ebfe4021777a3cc2
package org.zstack.sdk; import java.util.HashMap; import java.util.Map; import org.zstack.sdk.*; public class GenerateSriovPciDevicesAction extends AbstractAction { private static final HashMap<String, Parameter> parameterMap = new HashMap<>(); private static final HashMap<String, Parameter> nonAPIParameter...
Java
sdk/src/main/java/org/zstack/sdk/GenerateSriovPciDevicesAction.java
zstackorg/zstack
apache-2.0
2,951
105
codeparrot/github-code
46e3664c9b1a27565710df0027152d454e05a7ba26fec7f491e6a58f5199f8a8
// 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.siyeh.ig.internationalization; import com.intellij.testFramework.LightProjectDescriptor; import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase; i...
Java
plugins/InspectionGadgets/testsrc/com/siyeh/ig/internationalization/StringConcatenationInspectionTest.java
msebire/intellij-community
apache-2.0
1,121
33
codeparrot/github-code
53b4250dc0da49aa45f29d2d60d17ce07f55b03904e2ae1f5d014b66c41dea7f
// 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. #ifndef BASE_TRACE_EVENT_TRACE_CONFIG_H_ #define BASE_TRACE_EVENT_TRACE_CONFIG_H_ #include <stdint.h> #include <string> #include <vector> #include "bas...
C
third_party/chromium/base/src/base/trace_event/trace_config.h
google/ndash
apache-2.0
10,511
277
codeparrot/github-code
df68a1e82bb51eb579d71fb7739efeb933420873590c50c2bc78025bdec3de3c
using System; using System.Collections.Generic; using System.Linq; using System.Text; using org.apache.lucene.analysis.util; namespace Lucene.Net.Analysis.Synonym { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed...
C#
src/Lucene.Net.Analysis.Common/Analysis/Synonym/SlowSynonymMap.cs
jpsullivan/lucenenet
apache-2.0
8,054
213
codeparrot/github-code
00d56810f46ee981f97fbf7bf9df10970dd38ad2f45477123a1bc71560b14e55
/* 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 * distribut...
Java
modules/flowable-form-engine/src/main/java/org/flowable/form/engine/impl/cmd/DeleteDeploymentCmd.java
zwets/flowable-engine
apache-2.0
1,572
46
codeparrot/github-code
1569d051860910122cfc5c973656db3cddb56a6cbee038c3191c0ae7d0091ded
/* * Copyright 2014-2016 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 o...
Java
server/appenders/file-appender/src/main/java/org/kaaproject/kaa/server/appenders/file/appender/FileSystemLogAppender.java
Oleh-Kravchenko/kaa
apache-2.0
5,617
140
codeparrot/github-code
a859d3cdc4dba9d7a55326d8b2309ce4d94a5db8d1fc2d4cd1a027a7eee13841
/* * JBoss, Home of Professional Open Source. * Copyright 2012, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
Java
testsuite/integration/src/test/java/org/keycloak/testsuite/pages/AppPage.java
matzew/keycloak
apache-2.0
1,864
61
codeparrot/github-code
ef834f900d4cc0bfbd699b5e2454c5762fc2fafa7a9d2a3e7899c760be122ee9
#include "traynotificationmanager.h" TrayNotificationManager::TrayNotificationManager(QObject *parent) : notificationWidgets(new QList<TrayNotificationWidget*>()), QObject(parent) { QDesktopWidget* desktopWidget = QApplication::desktop(); QRect clientRect = desktopWidget->availableGeometry(); m_maxTrayNo...
C++
src/traynotificationmanager.cpp
lucius-feng/seafile-client
apache-2.0
2,376
98
codeparrot/github-code
512968e08eaf304b0a6028fbd419ed5c3b078d1650a7402735e60e4d7fdc6d31
/**************************************************************************** ** ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/ ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Lesser General Public License U...
C
Qt-4.8/playbook-x86/include/QtGui/qfontdatabase.h
phofman/qt
apache-2.0
5,572
183
codeparrot/github-code
1bfc6d2d5148a058bc404ed16b5524d26ef7c30b2bc00e9f4c2702ea723170c4
/* * Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Java
hazelcast/src/main/java/com/hazelcast/concurrent/semaphore/SemaphoreProxy.java
tufangorel/hazelcast
apache-2.0
6,435
189
codeparrot/github-code
68641ea8bfbb6f527442c22d8710a1f8cc3123523520b31d17afe81e8bbfde6e
/* * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
test-resources/sample-codebases/spring-jdbc/src/test/java/org/springframework/jdbc/support/KeyHolderTests.java
ftomassetti/effectivejava
apache-2.0
3,434
115
codeparrot/github-code
dbf7e955b2cb9948858c924886f47177c1cf7a621d6d9d2a6f5af89bc7981abd
/** * 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
camel-core/src/test/java/org/apache/camel/component/seda/FileSedaShutdownCompleteAllTasksTest.java
onders86/camel
apache-2.0
3,646
102
codeparrot/github-code
02fd2e9b89ea33334caa0426247e81490597dc630d8030583681fe34175449ce
$(function () { (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); $('#accordion').ac...
JavaScript
test/js/initialize.js
arthurcolle/bluesim
apache-2.0
1,098
35
codeparrot/github-code
ba06056f8cebecc8565727e2266d5a9529d54b0582e29b3f04564c9880f13cfa
//////////////////////////////////////////////////////////////////////////// // Module : path_manager_game_inline.h // Created : 21.03.2002 // Modified : 03.03.2004 // Author : Dmitriy Iassenev // Description : Game path manager inline functions ////////////////////////////////////////////////////////////////////...
C
src/xray/xr_3da/xrGame/path_manager_game_inline.h
OLR-xray/OLR-3.0
apache-2.0
1,983
77
codeparrot/github-code
9f910863a6c0b8c95ce54dd9259200615c5504be652a3ee1f2921f41f3ea5660
/** * Copyright 2015-2017 Linagora, Université Joseph Fourier, Floralis * * The present code is developed in the scope of the joint LINAGORA - * Université Joseph Fourier - Floralis research program and is designated * as a "Result" pursuant to the terms and conditions of the LINAGORA * - Université Joseph Fourie...
Java
core/roboconf-dm/src/main/java/net/roboconf/dm/internal/api/impl/TargetsMngrImpl.java
gibello/roboconf
apache-2.0
28,436
866
codeparrot/github-code
9ab4a9e55a20a8f8bfae420229c20fa95a2f59d5bacba462306361292f55da31
'use strict'; module.exports = function (math) { var util = require('../../util/index'), BigNumber = math.type.BigNumber, Complex = require('../../type/Complex'), collection = require('../../type/collection'), number = util.number, isNumber = util.number.isNumber, isBoolean = ut...
JavaScript
lib/function/arithmetic/sign.js
plotly/mathjs
apache-2.0
1,832
75
codeparrot/github-code
bc7b22277285849aec2993c0080bd6ba71976e10dc4018fe1bd39a25fadc0c83
<!-- 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 not use thi...
HTML
test/visualMap-scatter-colorAndSymbol.html
100star/echarts
apache-2.0
4,829
142
codeparrot/github-code
e18d2220e93506b203d37dc1417f3f7bc51fcceb74e1f9a3bef2638774caaa9c
/* * 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
contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/storage/CSVExcelStorage.java
kexianda/pig
apache-2.0
29,480
683
codeparrot/github-code
30a211080d3ee9e2222f35ce614634ad7c5a3424229a0f7355e4f70acd3059b8
/** * 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-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ftp/FtpConfigKeys.java
robzor92/hops
apache-2.0
3,125
73
codeparrot/github-code
bf3099d4dbd5c1d92a7478bd252d7e58e9e514df25fa6ff986cfdaebedebc04f
/* * 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
core/src/test/java/org/apache/calcite/test/ExtensionDdlExecutor.java
julianhyde/calcite
apache-2.0
8,757
218
codeparrot/github-code
ac06fb7bf25dc089209e8fe27cdb3c6088de23953a95557f81227cc4b6ac20ba
// 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.codeInspection; import com.intellij.codeInspection.deprecation.DeprecationInspectionBase; import com.intellij.java.analysis.JavaAnalysisBundle; import com.in...
Java
java/java-analysis-impl/src/com/intellij/codeInspection/DeprecatedIsStillUsedInspection.java
ingokegel/intellij-community
apache-2.0
2,978
66
codeparrot/github-code
2e0fc53e000905cf165db70dcb015dbcdb1fbc4a3123b5a35f2cb622ca3712b4
package com.fincatto.documentofiscal.nfe310.classes.nota; import com.fincatto.documentofiscal.DFBase; import com.fincatto.documentofiscal.nfe310.classes.NFNotaInfoItemModalidadeBCICMS; import com.fincatto.documentofiscal.nfe310.classes.NFNotaInfoItemModalidadeBCICMSST; import com.fincatto.documentofiscal.nfe310.classe...
Java
src/main/java/com/fincatto/documentofiscal/nfe310/classes/nota/NFNotaInfoItemImpostoICMSSN900.java
fincatto/nfe
apache-2.0
6,780
180
codeparrot/github-code
bf1053bcbe59582522fa2693c7f231e525becade09ceaddeffd675983d93649f
/* * 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
processing/src/test/java/org/apache/druid/query/aggregation/any/LongAnyAggregatorFactoryTest.java
nishantmonu51/druid
apache-2.0
3,736
101
codeparrot/github-code
0e562d6f8200d5235d82f501c93a5bc7e7ccbc89e5033ca9fecbe7c866b5147a
/* * Copyright 2009 Perforce Software Inc., All Rights Reserved. */ package com.perforce.p4java.impl.mapbased.rpc.func; import java.io.UnsupportedEncodingException; import java.nio.ByteBuffer; import com.perforce.p4java.CharsetDefs; import com.perforce.p4java.Log; import com.perforce.p4java.exception.P4JavaError; i...
Java
p4java/src/com/perforce/p4java/impl/mapbased/rpc/func/RpcFunctionSpec.java
paulseawa/p4ic4idea
apache-2.0
5,743
266
codeparrot/github-code
16f2d860ad2e76197b57025c00f7cb1a4d0781291677ed044752be24956b2146
/*************************GO-LICENSE-START********************************* * Copyright 2014 ThoughtWorks, 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...
Java
server/src/test-fast/java/com/thoughtworks/go/server/ui/AgentsViewModelTest.java
varshavaradarajan/gocd
apache-2.0
6,478
181
codeparrot/github-code
ef85ccc5f843e7dce545c1b1d3e3f113d3e9f5f69f7578bdc4671bc0102fd01a
/** * Copyright (C) 2004-2011 Jive Software. 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 requir...
Java
core/src/main/java/org/jivesoftware/sparkimpl/plugin/gateways/transports/FacebookTransport.java
igniterealtime/Spark
apache-2.0
2,039
81
codeparrot/github-code
e39ce04041bd838db5617457c4977a7acfd159a1654c31ca8f7e38e866f5462b
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2013 Cloudbase Solutions Srl # 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.ap...
Python
nova/virt/hyperv/vhdutils.py
ntt-sic/nova
apache-2.0
7,795
210
codeparrot/github-code
c8a9f134386246bf96bcbaf897e4b7e8ae40c0add3ef51d03482fea71849f729
/* Copyright 2016 Goldman Sachs. 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 writi...
Java
reladomo/src/test/java/com/gs/fw/common/mithra/test/domain/AuditedOrderList.java
goldmansachs/reladomo
apache-2.0
1,061
48
codeparrot/github-code
898b2c03258afbcc1cb5c8d9c23b66b3e55d7a12269b4dc9e3d1c9a19f7af0b8
/* 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
engine-rest/engine-rest/src/test/java-cxf/org/camunda/bpm/engine/rest/util/container/CXFTomcatServerBootstrap.java
AlexMinsk/camunda-bpm-platform
apache-2.0
1,142
32
codeparrot/github-code
7610f55a0eb46c73e396832f16513d0d04e5be5ee87e6cd6d8382cad767f5802
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
Java
connector-framework/src/main/java/org/wso2/carbon/connector/framework/server/polling/PollingJob.java
shafreenAnfar/carbon-transports
apache-2.0
2,211
58
codeparrot/github-code
ca12e8b75f11eca0119a29b3f3efdfac3a23b69265a7d1a8c6550d319af0152d
/* * 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
gobblin-restli/gobblin-throttling-service/gobblin-throttling-service-server/src/test/java/org/apache/gobblin/restli/throttling/LimiterServerResourceTest.java
jinhyukchang/gobblin
apache-2.0
6,373
145
codeparrot/github-code
d762024ff715b122093bbf008a7e3e3d7dec4f4a85373b9b71b04645502c6300
/* * 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
llap-server/src/java/org/apache/hadoop/hive/llap/io/metadata/OrcFileEstimateErrors.java
sankarh/hive
apache-2.0
5,030
146
codeparrot/github-code
d02d021d8f41975a6bfa6adb59a4b2859c2c18c8a32964995cfe8b1fea6a5ab2
/* Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
GO
pkg/kubectl/plugins/loader.go
Shawyeok/kubernetes
apache-2.0
5,700
193
codeparrot/github-code
f7a1ab8502088bbc5a4cd36f473e37ab02f68ddaa95c444fb9565e6d76027f07
# # 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 not...
Perl
bindings/qpid/perl/lib/qpid/messaging.pm
irinabov/debian-qpid-cpp-1.35.0
apache-2.0
1,630
54
codeparrot/github-code
ca7a2f872361b5b73c3d94e5d39ff83913e1c049a159706582321225aea110dd
#ifndef SimTK_SIMMATH_COLLISION_DETECTION_ALGORITHM_H_ #define SimTK_SIMMATH_COLLISION_DETECTION_ALGORITHM_H_ /* -------------------------------------------------------------------------- * * Simbody(tm): SimTKmath * * ----------------------------------------------...
C
SimTKmath/Geometry/include/simmath/internal/CollisionDetectionAlgorithm.h
elkingtonmcb/simbody
apache-2.0
12,358
272
codeparrot/github-code
9b53b52a583dcdc299b9de472c13a77f05f25fe7bf3c77375c5f0f16e7c3bb2d
package im.dino.dbinspector.fragments; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.Uri; import android.os.Bundle; import android.os.ParcelFileDescriptor; import android.supp...
Java
dbinspector/src/main/java/im/dino/dbinspector/fragments/TableListFragment.java
moon-sky/android_dbinspector
apache-2.0
8,341
225
codeparrot/github-code
1ad73cc267129e02078846eaeba5c674f1789d45aaf8e72474d66b05632941f1
/* * 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
bundles/extensions/repoinit/parser/src/main/java/org/apache/sling/repoinit/parser/operations/DisableServiceUser.java
tmaret/sling
apache-2.0
1,676
47
codeparrot/github-code