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
96aec3e944f307788de927c65eb5a673342b55d8edd60b78563156d4796e0730
#!/usr/bin/env python # vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2010 Openstack, LLC. # 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 # # ...
Python
nova/vnc/proxy.py
superstack/nova
apache-2.0
4,135
132
codeparrot/github-code
36900af2817565284e699a78da953f328913a053b8ca79ad90e93cc862c87a9f
/* * 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
server/src/test/java/org/apache/calcite/test/ServerParserTest.java
arina-ielchiieva/calcite
apache-2.0
8,917
276
codeparrot/github-code
7a7b0d516251570cd0ed742f8a35731b0b11fcb52971906025949ee753d8dd64
/* Bluetooth Mesh */ /* * Copyright (c) 2017 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <stdint.h> #include <zephyr.h> #include <sys/byteorder.h> #include <net/buf.h> #include <bluetooth/bluetooth.h> #include <bluetooth/mesh.h> #define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_MESH_DEBUG_L...
C
subsys/bluetooth/mesh/lpn.c
Vudentz/zephyr
apache-2.0
25,577
1,111
codeparrot/github-code
9333a84b1c9078125eb5863b7d1a373a6977b427261ed12256bb92213beee70c
/* FreeRTOS V9.0.0rc2 - Copyright (C) 2016 Real Time Engineers Ltd. All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. This file is part of the FreeRTOS distribution. FreeRTOS is free software; you can redistribute it and/or modify it under ...
C
freertos/os/FreeRTOS/Source/portable/GCC/ARM_CA53_64_BIT/port.c
kubostech/KubOS
apache-2.0
21,931
543
codeparrot/github-code
d28b1d7019fadc86780eba38b40cdbde602fd7ccfcb0327c0df884390a322f76
/* * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.swing.plaf.nimbus; import java.awt.*; import javax.swing.*; ...
Java
src_en/javax/swing/plaf/nimbus/InternalFrameTitlePaneMaximizeButtonWindowMaximizedState.java
shun634501730/java_source_cn
apache-2.0
1,191
52
codeparrot/github-code
0b263210ffeac2014fd6759ee9f37dbb95adee3c7d091f0b91604550cb8cfe76
# Copyright 2015 Mirantis, 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 a...
Python
networking_vsphere/common/vmware_conf.py
VTabolin/networking-vsphere
apache-2.0
3,247
88
codeparrot/github-code
d3fe1841424ad786fee00be8db02c788765a779b774d4090ca4f2d155428db17
package org.omg.SecurityLevel2; /** * org/omg/SecurityLevel2/_QOPPolicyStub.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /* */ public class _QOPPolicyStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.SecurityLevel2.QOPPolicy { ...
Java
yoko-spec-corba/src/main/generated-sources/idl/org/omg/SecurityLevel2/_QOPPolicyStub.java
apache/geronimo-yoko
apache-2.0
4,241
119
codeparrot/github-code
c9b3605d9ed0c5ace98c179d95f0c378f9d07f3abf95b6a71a80c6c792a70d69
package main import ( "bytes" "fmt" "io" "io/ioutil" "os" "strconv" "strings" "github.com/gorilla/websocket" "github.com/spf13/cobra" "github.com/lxc/lxd/client" "github.com/lxc/lxd/shared/api" cli "github.com/lxc/lxd/shared/cmd" "github.com/lxc/lxd/shared/i18n" "github.com/lxc/lxd/shared/logger" "git...
GO
lxc/exec.go
Skarlso/lxd
apache-2.0
5,750
219
codeparrot/github-code
c01bb494b8f101b8930bdee826ec6e98ef1ee01468b0573d3f22a6794184527c
/* * 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
java/org/apache/el/lang/FunctionMapperFactory.java
apache/tomcat
apache-2.0
2,200
71
codeparrot/github-code
1b96d059ce10797908be65c542d1d5f4277560c3edb8646ca9f8e0b6fa0e5181
/* Copyright (c) Lightstreamer Srl 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 w...
JavaScript
src/js/Mouse.js
Lightstreamer/BananaDarts-client-javascript
apache-2.0
3,220
128
codeparrot/github-code
68624255aa94b6b560fb2ec153adbcc8c38c5ee7de8037c359b3543ca469013d
/* * Copyright 2006-2009 Odysseus Software GmbH * * 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 l...
Java
modules/flowable-engine-common/src/main/java/org/flowable/engine/common/impl/de/odysseus/el/tree/impl/ast/AstFunction.java
robsoncardosoti/flowable-engine
apache-2.0
5,146
166
codeparrot/github-code
c076049945c41e3c378a151bef09507fd8293de33a4285058f2b7c3ef5c4eeb4
/** * Created by Defias on 2016/4/27. * * 重载构造方法 */ package Init; public class JavaConstruction { private String name; private int age; public JavaConstruction(String name, int age) { this.name = name; this.age=age; } public JavaConstruction(String name) { this(name, -1); } public JavaConstruction(...
Java
InitJava/base/src/main/java/Init/JavaConstruction.java
gdefias/JavaDemo
apache-2.0
756
48
codeparrot/github-code
2be7e2612463b2951a9f47087388faf8bb576b9636bbcf18c8b5531ac2976acf
/* * Copyright 2011 Google 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 agreed to...
C++
net/instaweb/rewriter/google_analytics_filter.cc
VersoBit/mod_pagespeed
apache-2.0
19,484
506
codeparrot/github-code
cd54a74240394ae85d5c89cb6cddb219dd74d0cc21ff545ed0f6e681d457ac12
<html><body> <style> body, h1, h2, h3, div, span, p, pre, a { margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; } body { font-size: 13px; padding: 1em; } h1 { font-size: 26px; margin-bottom: 1em; } h2...
HTML
docs/dyn/dialogflow_v3beta1.projects.locations.agents.html
googleapis/google-api-python-client
apache-2.0
45,426
589
codeparrot/github-code
c85b92a0f4ed5d70247fc2522bfa92496715883042db1e0464370b54a72c3b66
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head> <style type="text/css"> body { font-family: arial,sans-serif; } .keyword { color: #774400; } .type { color: #227722; } .attribute { color: #990077; } .typehref { color: #227722; text-decoration: underline; } .example { background-c...
HTML
docs/THREAD.Cond.html
webfd/zimbuw32
apache-2.0
4,176
101
codeparrot/github-code
b76d2a4361c56d2e675ff3af4c76146411b853b610c43d8cb200022409188c85
<?php /* * Copyright 2014 Google 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 agreed t...
PHP
src/DataprocMetastore/Policy.php
googleapis/google-api-php-client-services
apache-2.0
2,016
96
codeparrot/github-code
025d6f2e10b2a75a70ec017607a0b9aa2abc59fee5d544a1d02db84f37064ddd
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
Java
engine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/DecisionDefinitionRestServiceInteractionTest.java
ingorichtsmeier/camunda-bpm-platform
apache-2.0
34,635
773
codeparrot/github-code
0319c82013e30ee97a3f96d8ca717dbce13c757a7b00e1ed5120cd4fb3bd4468
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; name...
C#
src/System.Resources.Analyzers/CSharp/CSharpMarkAssembliesWithNeutralResourcesLanguage.cs
Anniepoh/roslyn-analyzers
apache-2.0
1,543
40
codeparrot/github-code
db006a15c5ac7253dfc9b5942e7d5f73a6e4fa3767315e22a47e368f358dddc0
// 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...
GO
ninja_strings.go
google/blueprint
apache-2.0
10,617
421
codeparrot/github-code
e31c307c876bb4733d02d8301c0454bb6e9c61054b1a67b9ab49f5c85aecc6c6
/* Copyright (C) 2000 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WIT...
C
library/acl/include/mysql/m_ctype.h
hankwing/Squirrel
apache-2.0
27,203
644
codeparrot/github-code
f7b5e71314c122c1c96be664b364f774278f6c026f6424be3c5be190229ddf67
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
Java
rice-middleware/ksb/client-impl/src/main/java/org/kuali/rice/ksb/messaging/bam/BAMParam.java
ua-eas/ksd-kc5.2.1-rice2.3.6-ua
apache-2.0
2,498
80
codeparrot/github-code
6128423e666e2aa176fe861a990bdb8988b289777e7a1b474817ce81e3b2d8eb
/* Copyright (C) 2013-2014 Computer Sciences Corporation * * 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
security/common/persistence/src/main/java/ezbake/security/persistence/impl/AccumuloRegistrationManager.java
infochimps-forks/ezbake-platform-services
apache-2.0
27,987
625
codeparrot/github-code
c754ad44aba29fd4c87d19461363c4985d330a2d61f58abecaecff92ef14f50c
angular.module("customFilters", []) .filter("unique", function () { return function (data, propertyName) { if (angular.isArray(data) && angular.isString(propertyName)) { var results = []; var keys = {}; for (var i = 0; i < data.length; i++) { var val = dat...
JavaScript
Sources/AngularJS/SportsStore/Node.js/app/filters/customFilters.js
reksiopl/Testing
apache-2.0
1,395
48
codeparrot/github-code
cbf2fec0da61d699589776bca689eefe61d2cc8400ced7cbb3b46d158f342a1c
/* * Copyright 2004 The Apache Software 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 ...
Java
src/test/java/misc/common/JiraTestBase.java
apache/xmlbeans
apache-2.0
2,282
64
codeparrot/github-code
a4ec666d7c5eb08cf8095e2763ab4209199d3b1624a087890ee30c68189b5ee9
/* * Trident - A Multithreaded Server Alternative * Copyright 2014 The TridentSDK Team * * 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....
Java
src/main/java/net/tridentsdk/meta/ChatColor.java
orangelynx/TridentSDK
apache-2.0
5,671
229
codeparrot/github-code
3bdde2486d6b0c4be82d89f275614f7dc4643f3dffbd3b05ea0c20fb74ffdfe3
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C++
aws-cpp-sdk-macie/source/MacieErrorMarshaller.cpp
cedral/aws-sdk-cpp
apache-2.0
1,053
33
codeparrot/github-code
13fb7528a76e06f8f9de1d36e260e4e1536a9b6dae59345a8896245081a0d6f0
package cmd import ( "bufio" "bytes" "compress/gzip" "encoding/json" "fmt" "io" "io/ioutil" "net/http" "net/url" "os" "path/filepath" "strings" "sync" "github.com/golang/glog" "github.com/spf13/cobra" kapi "k8s.io/kubernetes/pkg/api" "k8s.io/kubernetes/pkg/api/unversioned" "k8s.io/kubernetes/pkg/cl...
GO
pkg/cmd/cli/cmd/startbuild.go
asiainfoLDP/datafactory
apache-2.0
20,919
714
codeparrot/github-code
15bef9dd3c9a10ba22b471049bbf4d5e3b058dee28841d9493dfae0c7abb4d51
/* * (c) Copyright 2019 EntIT Software LLC, a Micro Focus company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Apache License is available at * http://www.apache.org/licenses/LICE...
Java
cs-excel/src/main/java/io/cloudslang/content/excel/services/GetCellService.java
CloudSlang/cs-actions
apache-2.0
9,724
218
codeparrot/github-code
c985b776dbaa823ef3b48536e3660c327521ef69921f35b9caca72414dfaab0f
/* * Copyright (c) 2008-2017, 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/map/impl/MapStatisticsAwareService.java
dbrimley/hazelcast
apache-2.0
1,552
45
codeparrot/github-code
2fd83447ef22532b68e5bda6914191f954c36a101bae714fe326feb3c831639d
/* * 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-wordpress/src/main/java/org/apache/camel/component/wordpress/WordpressComponent.java
objectiser/camel
apache-2.0
3,765
98
codeparrot/github-code
628aef427651657ead573bfc3d3910b47ecb80707702ca94da29060677e0b226
// Copyright 2015 Cloudera 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 agreed to in wr...
Java
fe/src/main/java/com/cloudera/impala/catalog/delegates/UnsupportedOpDelegate.java
kapilrastogi/Impala
apache-2.0
1,233
37
codeparrot/github-code
e1d4848399aca5227d889b42da921625a176860f2a91204a8eee2607692f0660
package org.apereo.cas.adaptors.u2f.storage; import org.apereo.cas.config.U2FConfiguration; import org.apereo.cas.config.U2FMongoDbConfiguration; import org.junit.jupiter.api.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.s...
Java
support/cas-server-support-u2f-mongo/src/test/java/org/apereo/cas/adaptors/u2f/storage/U2FMongoDbDeviceRepositoryTests.java
rrenomeron/cas
apache-2.0
1,562
45
codeparrot/github-code
cdaf423625f9cfc85a0c7f1e563ed3bef2801b99f1da6a37c2a0ab8c5a6a229c
/* * Copyright 2012-2013 Eligotech BV. * * 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 ...
Scala
es-journal/es-journal-mongodb-reactive/src/it/scala/org/eligosource/eventsourced/journal/mongodb/reactive/MongodbReactiveSpec.scala
CoderPaulK/eventsourced
apache-2.0
6,672
196
codeparrot/github-code
4e6c87015646aafe2dabbefbb8b58bd9c785307b6887daef8b8fece15cd8fb8e
"""-0.75/(1+x**2)-(0.65*x*math.atan(1/x))+0.65 (-4* x**2 - 20*x - 100) + (1 - x)**4 3*x**2+ 12/(x**3) - 5 3*x**4 + x**2 - 2*x + 1 10+x**3-2*x-5*(np.finfo(float).eps)**x x**2- 10*(np.finfo(float).eps)**(0.1*x) (10*x**3+3*x**2+5)**2 0.5/math.sqrt(1+x**2)- math.sqrt(1+x**2)*(1-0.5/(1+x**2))+x (np.finfo(float).eps)**x-x**3...
Python
practices/first/evolutionaryStrategies/functions.py
jresendiz27/EvolutionaryComputing
apache-2.0
1,490
43
codeparrot/github-code
15af6c38fcfd49bd2862ed58d52fb4e3ae7c5d518f5a627924867d18a5d30abc
/* 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-bpmn-converter/src/main/java/org/flowable/bpmn/converter/BpmnXMLConverter.java
dbmalkovsky/flowable-engine
apache-2.0
30,216
666
codeparrot/github-code
1c7323d83dc245a9f26a66226995d5577c8edb5bffbd40d1e5a1cfd9de22f7fa
/* * 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 m...
C++
src/xalanc/XSLT/FunctionFormatNumber.cpp
apache/xalan-c
apache-2.0
3,263
122
codeparrot/github-code
cb390d4ae289f34ec4c5ba0116e0ef575275c22e264d73c31d357f3d1f493662
/* * Copyright 2016-2019 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 applica...
Java
central/src/main/java/org/glowroot/central/repo/RoleDao.java
trask/glowroot
apache-2.0
6,880
175
codeparrot/github-code
72e2ecd669e3b9ae3e753141fbb7240d66b8b8393c141f420e91801318e6429a
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
plugins/git4idea/src/git4idea/branch/GitBranchUtil.java
michaelgallacher/intellij-community
apache-2.0
16,586
440
codeparrot/github-code
05df2d051dce27dc3848300e168333870a5869151110ce72734effd2ca008fd2
/* * Copyright 2006-2015 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 app...
Java
modules/citrus-docker/src/main/java/com/consol/citrus/docker/config/xml/DockerClientParser.java
gucce/citrus
apache-2.0
3,240
92
codeparrot/github-code
e1be3d1aa0c9587040aedb75feb4b8dd70eb1aaa89622726203b4de098eab58c
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Launcher.cs" company="Exit Games GmbH"> // Part of: Photon Unity Networking Demos // </copyright> // <summary> // Used in "PUN Basic tutorial" to connect, and join/create room ...
C#
TangoWithMultiplayer/Assets/Photon Unity Networking/Demos/PunBasics-Tutorial/Scripts/Launcher.cs
googlearchive/tango-examples-unity
apache-2.0
8,898
239
codeparrot/github-code
b7c175db03ca928b61c328f78e82bba116ae2e529dc90b6f01fb922d57a5d29d
/* @ @licstart The following is the entire license notice for the JavaScript code in this file. Copyright (C) 1997-2017 by Dimitri van Heesch 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 ...
JavaScript
doc/1.1.0/libguac/menudata.js
mike-jumper/incubator-guacamole-website
apache-2.0
4,621
108
codeparrot/github-code
90539fb62141374d75cbb2496b2c0cd25f4cb6bdaddfc7d64e474d56e467b733
/* * Copyright 2015 Canopy Services, 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 ...
JavaScript
www/cui_node.js
sanyaade-iot/canopy-web-ui
apache-2.0
12,155
398
codeparrot/github-code
17b3a3b20921384c35bf2a6a27d94b55ce919679c65f53368d0322630aac8eb2
/* Copyright 2013 The jeo project. 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 appl...
Java
core/src/test/java/io/jeo/vector/VectorQueryTest.java
ryantxu/jeo
apache-2.0
1,160
35
codeparrot/github-code
70acf459032591216cc0f7670b0ced5931bd12e6acec599e233b9f0b31085c2e
/* * Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, this list o...
Java
demo/swingset3/com/sun/swingset3/utilities/GradientPanel.java
bulenkov/Darcula
apache-2.0
3,333
92
codeparrot/github-code
5933d5b16a1ea07966e6d81070e0bc9cf3db66dc26f82a26e479d5f3e4f1adc0
package kubernetes import ( "errors" "fmt" "net" "strconv" "strings" "time" "k8s.io/kubernetes/cmd/kube-apiserver/app" cmapp "k8s.io/kubernetes/cmd/kube-controller-manager/app" "k8s.io/kubernetes/pkg/admission" kapi "k8s.io/kubernetes/pkg/api" kapilatest "k8s.io/kubernetes/pkg/api/latest" "k8s.io/kubernet...
GO
pkg/cmd/server/kubernetes/master_config.go
biyiklioglu/origin
apache-2.0
5,930
173
codeparrot/github-code
536e1919811ce4c675bb63de81005e76017b5bc8b59c2ef3a53b5a50ad7a4262
/* mbed Microcontroller Library * Copyright (c) 2018-2020 ARM Limited * SPDX-License-Identifier: Apache-2.0 * * 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.o...
C
rtos/source/TARGET_CORTEX/mbed_rtos_rtx.c
kjbracey-arm/mbed
apache-2.0
2,844
80
codeparrot/github-code
3059249d62e01c107ee8db75f752429733d86cc50c223c569266f1eaa7aea9c0
package io.circe.benchmark import argonaut.{ Json => JsonA, _ }, Argonaut._ import io.circe.{ Json => JsonC, Encoder } import io.circe.generic.auto._ import io.circe.jawn._ import java.util.concurrent.TimeUnit import org.openjdk.jmh.annotations._ case class Foo(s: String, d: Double, i: Int, l: Long, bs: List[Boolean]...
Scala
benchmark/src/main/scala/io/circe/benchmark/Benchmark.scala
groz/circe
apache-2.0
3,715
134
codeparrot/github-code
3f55228870b7b011bac93503dfab5b1eb04655217e79a3c5d46ad8d642fb17a5
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //System Integration Module namespace SimSopt1{ ///<System Options Register 1 using Addr = Register::Address<0x40047000,0x1ff3ffff,0x00000000,unsigned>; ///32K Oscillator Clock Select enum class Osc32kselVal { v0...
C++
Lib/Chip/CM0+/Freescale/MKL46Z4/SIM.hpp
porkybrain/Kvasir
apache-2.0
51,885
879
codeparrot/github-code
ee10063ad9864c66a2f1aa6beb0d2ab9307c132f36ae59bed0b5a1a7c98d99af
// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 re...
C++
test/performance/latency/LatencyTestTypes.hpp
eProsima/Fast-DDS
apache-2.0
5,358
212
codeparrot/github-code
09f1392a0ff5d0a5c737f15bc1ef20aa8bdb169f0c5b37e053d272e185157a6c
# Copyright 2020 Google LLC # # 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, s...
Python
lit_nlp/lib/wsgi_serving.py
pair-code/lit
apache-2.0
4,652
151
codeparrot/github-code
0026bcb32b13aa14603ddd926cd3c150c7ef4af8e2ffa0fa13c9f8c6fa1519a8
<?php /** * Blog post media template for video post format in list layout * * @package vogue * @since 1.0.0 */ // File Security Check if ( ! defined( 'ABSPATH' ) ) { exit; } // thumbnail meta $thumb_id = get_post_thumbnail_id(); $video_url = esc_url( get_post_meta( $thumb_id, 'dt-video-url', true ) ); $thumb_ar...
PHP
wp-content/themes/dt-the7/template-parts/blog/list/blog-list-post-media-content-video.php
ZloVolk/TQ
apache-2.0
1,500
41
codeparrot/github-code
d7030cc426ae4ede4b2561b5886fa4dcba7d9760cc484859c3b7c73676055320
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
plugins/tasks/tasks-core/src/com/intellij/tasks/impl/httpclient/TaskResponseUtil.java
msebire/intellij-community
apache-2.0
9,703
269
codeparrot/github-code
94c4679d29c5ec01219671899b9dfcbcd88115e4921b3b583bba1f15226e23b1
/* Copyright (c) 2007 Cyrus Daboo. 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 re...
C
Linux/Sources/Support/Table/CTableScrollbarSet.h
mbert/mulberry-main
apache-2.0
1,195
41
codeparrot/github-code
10a24422789e2255c42df68639cf501b7bd8111bc322525479a5e5fe93d86c1c
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
Java
processing/src/test/java/io/druid/segment/EmptyIndexTest.java
lizhanhui/data_druid
apache-2.0
2,912
84
codeparrot/github-code
6b3c1737acaffdc92b51f3df43f5e3c3e99c64a91d33adf156a3de0e96140d30
/* * Copyright 2014 akquinet engineering GmbH * * 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...
Java
VaadinatorExample/Timesheet/src/main/java/de/akquinet/engineering/vaadinator/timesheet/ui/std/presenter/TimesheetDayChangePresenterEx.java
akquinet/vaadinator
apache-2.0
1,055
31
codeparrot/github-code
db40d678eab35d518f4c2788ab4052f8ac0566ab03fda3b853c2c2bd24b105fd
/** * File declaring all methods if this plugin which is applied to $.fn. */ (function($) { var _helpers = 0; /** * Assigns validateInputOnBlur function to elements blur event * * @param {Object} language Optional, will override $.formUtils.LANG * @param {Object} conf Optional, will override the de...
JavaScript
webfrontend/html/system/scripts/form-validator/src/jquery-plugins.js
mschlenstedt/Loxberry
apache-2.0
13,422
451
codeparrot/github-code
c91de1955fce2fa3e459d499d6e16ea8ce917200054011f41a0ea2c762eb939e
/* * 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...
C
client/client-multi/client-c/src/kaa/platform-impl/cc32xx/logger.c
forGGe/kaa
apache-2.0
1,860
65
codeparrot/github-code
e9e28a78891106136366fd38c8ad5dcb61ae9a5babcd89fc37ba9d19938ea73a
package com.baidu.ueditor; import java.util.Map; import javax.servlet.http.HttpServletRequest; import com.baidu.ueditor.define.ActionMap; import com.baidu.ueditor.define.AppInfo; import com.baidu.ueditor.define.BaseState; import com.baidu.ueditor.define.State; import com.baidu.ueditor.hunter.FileManager; ...
Java
source/ueditor-plus-for-spring/src/main/java/com/baidu/ueditor/ActionEnter.java
XieXianbin/ueditor-for-all-cdn
apache-2.0
3,209
128
codeparrot/github-code
6f2e6003c8f4f0bfdf68a41b980723ad78e98b696239156ef0491d34096954ef
package com.fsck.k9.crypto.openpgp; import com.fsck.k9.mail.Message; import com.fsck.k9.message.extractors.TextPartFinder; import org.junit.Before; import org.junit.Test; import static com.fsck.k9.crypto.openpgp.MessageCreationHelper.createMessage; import static com.fsck.k9.crypto.openpgp.MessageCreationHelper.creat...
Java
app/crypto-openpgp/src/test/java/com/fsck/k9/crypto/openpgp/EncryptionDetectorTest.java
cketti/k-9
apache-2.0
3,967
118
codeparrot/github-code
154766ce26a40e8bcf8dcfad8acc5a6096ce037eda8f08e4848292e0eb6fa3bc
/* 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 this f...
Rust
version3/rust/src/roms/rom_nist384_32.rs
miracl/amcl
apache-2.0
2,901
77
codeparrot/github-code
675d149de9c67d1cf8fbfe392b7a124316b8a4254ad7c4f4c424e3909465558a
/** * Handles message sent over the CMAPI2_VISIBILITY_GET channel and creates * the appropriate transaction for the core map. getVisibility messages * are not sent to the engine, as all checks need to be done to the storage * engine. * * (this channel does not exist in CMAPI 1.3 and is called out as such, * ev...
JavaScript
src/sdk/core/api/cmapi/channel/handler/cmapi2.visibility.get.js
missioncommand/emp3-web
apache-2.0
1,774
46
codeparrot/github-code
88ae2b4906fa940379badd8ff14484be968637418d8a120de761b570f7362bfc
/* * Copyright 2019 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 appli...
Java
rest-assured/src/main/java/io/restassured/internal/http/DeflateEncoding.java
jayway/rest-assured
apache-2.0
2,874
93
codeparrot/github-code
817932139fda18dfe0309fe40730669da06f0624d0ce3748105c9cd2f192f256
# Copyright 2013 dotCloud 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 agreed t...
Python
docker/auth/auth.py
kpavel/docker-py
apache-2.0
6,366
211
codeparrot/github-code
8a9a618e599c8edc46582e222bdd4c6dd7f36fcf7a08d7856e9fa8d3f5699851
package org.decomposer.math; import java.util.Map.Entry; import org.decomposer.math.vector.DoubleMatrix; import org.decomposer.math.vector.MapVector; import junit.framework.TestCase; public class EigenSpaceTest extends TestCase { public EigenSpaceTest(String name) { super(name); } @Override protecte...
Java
test/org/decomposer/math/EigenSpaceTest.java
steveash/decomposer
apache-2.0
1,430
52
codeparrot/github-code
e04f65a55c55e0b2c76460a842f7ec3ed979066965f1a1b4daf22b1719198e82
/* * * Copyright 2002-2007 The Ant-Contrib 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 ap...
Java
src/test/java/net/sf/antcontrib/cpptasks/devstudio/TestDevStudioCCompiler.java
dscho/cpptasks
apache-2.0
1,398
42
codeparrot/github-code
c42d188f90983e4750cc5ce069c1e7aff058009c4e27c8cf6e6bd6e6a29366fd
/* * 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
target/munged/main/org/apache/giraph/examples/SimpleCombinerVertex.java
LiuJianan/giraphpp-1
apache-2.0
2,310
69
codeparrot/github-code
945457add9804f7d12b6b603a35b1d4f3da6cca7634bd13310900e7fb956329c
/* * Copyright (C) 2012-2018 Gregory Hedlund * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or a...
Java
src/main/java/ca/phon/plugins/praat/SpectralMomentsSettingsPanel.java
phon-ca/phon-praat-plugin
apache-2.0
5,355
161
codeparrot/github-code
4d24e82fd15e1e55609c21c146a9afeaf713732c574ddc0235175c366ee9b89a
<?php namespace Fungku\NetSuite\Classes; class ManufacturingOperationTaskSearchRowBasic extends SearchRowBasic { public $actualRunTime; public $actualSetupTime; public $completedQuantity; public $endDate; public $estimatedWork; public $externalId; public $id; public $inputQuantity; public $internalId; public...
PHP
src/Classes/ManufacturingOperationTaskSearchRowBasic.php
bitclaw/netsuite-php
apache-2.0
2,249
68
codeparrot/github-code
608d4ed51b745dd27aa1b4d0d262a7ecfc868d51f6fb65024df7561c4cdb89db
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Composition; using Microsoft.CodeAnalysis.Editor.Shared; using Microsoft.CodeAnalysis.Host.Mef; using Microsoft.VisualStudio.Text; using Microso...
C#
src/EditorFeatures/Core.Wpf/Interactive/InteractiveSupportsFeatureService.cs
aelij/roslyn
apache-2.0
3,092
88
codeparrot/github-code
f0067e2b6776466dc029388a39b0769c8c2cb06e23a7755c917bae2b189df02d
package com.lansum.eip.activity; import android.content.Intent; import android.graphics.Color; import android.os.Build; import android.os.Handler; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import com.lansum.eip.R; import com.lansum.ei...
Java
app/src/main/java/com/lansum/eip/activity/LoadActivity.java
smartbeng/HuangHuang
apache-2.0
2,247
80
codeparrot/github-code
07520bcfb61bbc074b67e49308ad226e533a12983c8acb9fcdd1485d43bcf3a4
/* * 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-netty/src/main/java/org/apache/camel/component/netty/NettyProducer.java
nikhilvibhav/camel
apache-2.0
30,449
714
codeparrot/github-code
e8cd55a111f0430fcd1f1b28bfff1c1cb063efbb18184d7ab128a083fc0b5bce
from django.http import HttpRequest from django.utils.translation import gettext as _ from zerver.decorator import webhook_view from zerver.lib.actions import check_send_stream_message from zerver.lib.exceptions import JsonableError from zerver.lib.request import REQ, get_request_notes, has_request_variables from zerv...
Python
zerver/webhooks/slack/view.py
punchagan/zulip
apache-2.0
1,503
41
codeparrot/github-code
aea91b8cf4ca768076f43b62483b807b5e75ccd29ff93ac7c4c36783298da98c
/* $NetBSD: qms.c,v 1.18 2012/05/14 10:38:08 skrll Exp $ */ /*- * Copyright (c) 2001 Reinoud Zandijk * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Reinoud Zandijk * * Redistribution and use in source and binary forms, with or without * modification, are...
C
sys/arch/arm/iomd/qms.c
execunix/vinos
apache-2.0
5,859
218
codeparrot/github-code
2d7c94c9d1235f0ba7aa3f70446ec73e75d67f07ad3a9dc3be6d4518cc3a7212
from django.http import * import os, sys, logging from vt_manager.common.rpc4django import rpcmethod from vt_manager.common.rpc4django import * from vt_manager.communication.geni.v3.configurators.handlerconfigurator import HandlerConfigurator #URL_NAME GAPI3_URL = "gapi" # Parameter Types CREDENTIALS_TYPE = 'array' #...
Python
vt_manager/src/python/vt_manager/communication/gapi3communication.py
dana-i2cat/felix
apache-2.0
2,654
68
codeparrot/github-code
f4bdcf440ebf42b53fd864bd5d17fb8a659d35b123a0ea112e854422e74bf641
/* * CopyAS2AnoDocMain.java * * Yaoyong Li 08/10/2007 * * $Id: CopyAS2AnoDocMain.java, v 1.0 2009-05-10 11:44:16 +0000 yaoyong $ */ package gate.copyAS2AnoDoc; import gate.Annotation; import gate.AnnotationSet; import gate.Document; import gate.Factory; import gate.ProcessingResource; import ga...
Java
src/main/resources/gate/plugins/Copy_Annots_Between_Docs/src/gate/copyAS2AnoDoc/CopyAS2AnoDocMain.java
Network-of-BioThings/GettinCRAFTy
apache-2.0
6,205
205
codeparrot/github-code
aa23775f461b7970672cc6a0b700907ea2445b30c84155efdf0f24be1d71a734
/* * 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
core/trino-main/src/main/java/io/trino/sql/planner/SystemPartitioningHandle.java
electrum/presto
apache-2.0
11,510
294
codeparrot/github-code
9cd4fbcd531bdc0aed50371bf7e3ea5b7188a752bd87f7384c92326b602272fc
/* * Copyright (C) 2014-2015 LinkedIn Corp. 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 appl...
Java
gobblin-data-management/src/test/java/gobblin/data/management/copy/RecursiveCopyableDatasetTest.java
Hanmourang/Gobblin
apache-2.0
2,581
65
codeparrot/github-code
65bf0db9b89a2692e4b147446721b59ad155b324a4d786570641e3af28a1dba2
// Copyright 2018 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/ui/proc-macro/auxiliary/attr-stmt-expr.rs
GBGamer/rust
apache-2.0
1,863
60
codeparrot/github-code
84fa37b8466f1bf84eeb0670e771931c6f039247f93fa6d554b628dd160d9d25
/* * Copyright 2016-present Open Networking Laboratory * * 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
utils/yangutils/src/main/java/org/onosproject/yangutils/parser/impl/listeners/RevisionListener.java
Phaneendra-Huawei/demo
apache-2.0
7,268
169
codeparrot/github-code
850dd1c7b71bb93bfa381f39b720b466b960fbab478a580e1b25797990309dad
using System; using System.Diagnostics.CodeAnalysis; using Kudu.Contracts.Infrastructure; using Newtonsoft.Json; namespace Kudu.Core.Diagnostics { public class ProcessThreadInfo : INamedObject { [JsonIgnore] [SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildT...
C#
Kudu.Contracts/Diagnostics/ProcessThreadInfo.cs
EricSten-MSFT/kudu
apache-2.0
2,415
53
codeparrot/github-code
2748eeb6e6e0537b4d49e9e4e839a5fd327ddde84ca8039c9dd8bccd7485bfb2
/* * 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...
Java
web/gui/src/main/java/org/onosproject/ui/impl/topo/util/ServicesBundle.java
sdnwiselab/onos
apache-2.0
5,424
188
codeparrot/github-code
2b98a5aa9fa10ec2eb7a85385e0d940285605ed8b4b27a894f8a1f29f00cf7af
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C
aws-cpp-sdk-codestar/include/aws/codestar/model/DisassociateTeamMemberResult.h
cedral/aws-sdk-cpp
apache-2.0
1,241
47
codeparrot/github-code
6b1ead8adae0179b6307141bb1e264a6d189e8e62276cf9c83ba097a6cda0c22
/* 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
src/main/java/org/camunda/bpm/model/bpmn/impl/instance/OptionalInputRefs.java
filiphr/camunda-bpmn-model
apache-2.0
1,840
47
codeparrot/github-code
1f6609db1e358a4fd048c27bf5ec652bc347a87aeb4421299bedd45670b662dd
//===- MIPS.cpp -----------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
C++
lld/ELF/Arch/Mips.cpp
google/llvm-propeller
apache-2.0
25,746
769
codeparrot/github-code
7282359df2a0464c412ba9280a0844641c0b23db393cf37e599443d6aac1c297
#!/usr/bin/env bash # 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 # "Lice...
Shell
scripts/ci/testing/ci_run_quarantined_tests.sh
sekikn/incubator-airflow
apache-2.0
3,395
91
codeparrot/github-code
4c7c9a7c7a4c2131e95b3e92cb37cd6d78a9afc2322efcc4b66cc93dd5318851
/* * SETTE - Symbolic Execution based Test Tool Evaluator * * SETTE is a tool to help the evaluation and comparison of symbolic execution based test input * generator tools. * * Budapest University of Technology and Economics (BME) * * Authors: Lajos Cseppentő <lajos.cseppento@inf.mit.bme.hu>, Zoltán Micskei <...
Java
java/sette-snippets-performance-time/snippet-input-src/hu/bme/mit/sette/snippets/inputs/_1_basic/B2_conditionals/B2d_Nonlinear_Inputs.java
SETTE-Testing/sette-snippets
apache-2.0
2,571
84
codeparrot/github-code
caf9b23715f2f823c202315f63b8fba41a1bdff4083fe1868dd30f1583b6923f
/** * Copyright (C) 2012-2019 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 b...
Java
ninja-postoffice/src/test/java/conf/Module.java
jlannoy/ninja
apache-2.0
1,465
52
codeparrot/github-code
290d9fe84399781a82bb11ada624d7516d92177ac1c83c50729327c05106e062
/** * * 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"); ...
Java
hbase-server/src/test/java/org/apache/hadoop/hbase/ipc/TestDelayedRpc.java
cloud-software-foundation/c5
apache-2.0
13,018
347
codeparrot/github-code
d7259434b9da8ca576fa91f7b509c68f3983b5749b21e87144a97fa6afeedb36
using System; using System.Collections.Generic; using System.IO; namespace Tasky.Core { public class TaskRepositoryADO { TaskDatabase db = null; protected static string dbLocation; protected static TaskRepositoryADO me; static TaskRepositoryADO () { me = new TaskRepositoryADO(); } protected Tas...
C#
Xamarin/iOS_Starter/Tasky.Core/TaskRepositoryADO.cs
ygrinev/ygrinev
apache-2.0
1,795
76
codeparrot/github-code
ba68000898d62b3049ba17ecefb7c17c05b830729081a1e2dda5c1359249d01b
/* * UserDataItemComparator.java */ package org.ngbw.sdk.database.util; import java.util.Collections; import java.util.Comparator; import java.util.List; import org.ngbw.sdk.database.UserDataItem; /** * @author Roland H. Niedner * @author Paul Hoover * */ public class UserDataItemComparator implements Compar...
Java
saminda/cipres-airavata/sdk/src/main/java/org/ngbw/sdk/database/util/UserDataItemComparator.java
SciGaP/DEPRECATED-Cipres-Airavata-POC
apache-2.0
3,016
109
codeparrot/github-code
c39187462b84bc9c24b6db7ee54608f7fbe447bab697e024bb33982bcea32a14
/* * Copyright 2014 JBoss 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 agreed to i...
Java
manager/test/api/src/test/java/io/apiman/manager/test/ImportTest.java
msavy/apiman
apache-2.0
1,435
45
codeparrot/github-code
ae51e708f726ee6cdfdb0c7950459eccfe0e6a77bb84161bb4c372d49798ee4b
/** * 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"); yo...
Java
plugins/connector-1_6/geronimo-connector-builder-1_6/src/test/java/org/apache/geronimo/connector/deployment/jsr88/Connector15DCBTest.java
apache/geronimo
apache-2.0
30,447
565
codeparrot/github-code
6291da3587ba490c03b19369a9e32e002f980d6995342b68bc3fec5b6a2e6145
/* * Copyright 2002-2007 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
src/org/springframework/remoting/jaxrpc/LocalJaxRpcServiceFactoryBean.java
cbeams-archive/spring-framework-2.5.x
apache-2.0
1,817
63
codeparrot/github-code
81a4b57557e1b7222d6bef676057cda8715763dd0edba383c1fb9271f0bd2df9
// 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
utils/src/com/cloud/utils/FileUtil.java
cinderella/incubator-cloudstack
apache-2.0
2,631
84
codeparrot/github-code
f58e1cfdd7afca8856a731f6f1b9e5ceab3692e1a08205c7fc11305d02d26cc6
/** @class WCStack @brief 스택 클래스 : STL이 있기 때문에 사용할 일은 거의 없다. @author 서원철, neo20@hanmail.net @version 1.00 / doxy(O), gtest(), Sample(), Stress(), valg(), prof() @remark - 스택 기능 : 템플릿으로 스택 기능 구현 @warning @bug @todo @date - 2009-07-12 -# 최초 작성 */ #ifndef __WCSTACK_H__ #define __W...
C
temp/151130/wc_stack.h
woncheolseo/wclib
apache-2.0
2,027
143
codeparrot/github-code
5bac3877d5dfb38f5bfa5236eefeb42ca6ae0fe1332557d77747801f71dc1855
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) Microsoft Corporation. All rights reserved. // // File: D3DCompiler.h // Content: D3D Compilation Types and APIs // ////////////////////////////////////////////////////////////////////////////// #ifndef __D3...
C
Engine/Igneel.D3D10/Includes/D3Dcompiler.h
ansel86castro/Igneel
apache-2.0
8,457
225
codeparrot/github-code
b7b9981cb360a37f0ea25d16038ba855c670cbc9522193a676e752c419488769
/* * Copyright 2011 gitblit.com. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
Java
src/com/gitblit/client/RegistrationsDialog.java
saper/gitblit
apache-2.0
7,169
230
codeparrot/github-code
e8e3616abbc1f267cb9ce90e4757946ca23a6f82915a1e647598ef8f9ec38736
/* * 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/cluster/ClusterGroupAdapter.java
abhishek-ch/incubator-ignite
apache-2.0
22,337
851
codeparrot/github-code
75c5b00c2a1ebad020a2c6d473b678353353fc122c72dfdb5d898a879d99c709
/*- * #%L * Slice - Core * %% * Copyright (C) 2012 Cognifide Limited * %% * 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...
Java
slice-core/src/test/java/com/cognifide/slice/core/internal/scanner/BundleFinderTest.java
Sivaramvt/Slice
apache-2.0
1,887
65
codeparrot/github-code
7ecf67e9f2e3f5530cd1321d418c480bca81297c3a49d0fe00c5cbe500dbafe9
/* * 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
presto-main/src/main/java/com/facebook/presto/sql/relational/SqlFunctionUtils.java
arhimondr/presto
apache-2.0
17,173
290
codeparrot/github-code