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
87610eafb7b26586803962800c0a4b72389aad1b757663721bc9202686bafbf9
<!DOCTYPE html> <html> <head> <title>Custom binding</title> <link href="../../content/shared/styles/examples-offline.css" rel="stylesheet"> <link href="../../../styles/kendo.common.min.css" rel="stylesheet"> <link href="../../../styles/kendo.default.min.css" rel="stylesheet"> <script src="../../.....
HTML
public_html/lib/kendoui/web/examples/web/mvvm/custom.html
chebizarro/cartesius
apache-2.0
3,575
128
codeparrot/github-code
f6ffa002ed97c6a11d205c3642a3301713fcfbbb9bb85e81f03dd73097adc82d
/* * Copyright (c) 2016 Intel Corporation. * * SPDX-License-Identifier: Apache-2.0 */ #include <errno.h> #include <device.h> #include <init.h> #include <drivers/ioapic.h> #include <counter.h> #include <power.h> #include <soc.h> #include <misc/util.h> #include "qm_aon_counters.h" #include "qm_isr.h" static void ...
C
drivers/counter/counter_qmsi_aonpt.c
punitvara/zephyr
apache-2.0
5,417
252
codeparrot/github-code
d968dd561b9a57b741daba451387aabe8878048fdb1dc67b23b5217ff9e0fd26
/* * 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
src/test/java/org/apache/felix/framework/StartStopBundleTest.java
aosgi/org.apache.felix.framework
apache-2.0
5,631
172
codeparrot/github-code
3b20112c7369fe68de59bd961e4b7704dbee9aab6397a870c45a94ec14796268
/** * 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-dozer/src/main/java/org/apache/camel/converter/dozer/DozerTypeConverterLoader.java
chicagozer/rheosoft
apache-2.0
8,660
210
codeparrot/github-code
3c29b9ddca098bf907a627aec1261f2a6acbafe7d37f9bf719c21db735364556
/* * Copyright 2011-2015 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 require...
Java
net4j/com.b2international.snowowl.rpc.test/src/com/b2international/snowowl/rpc/test/testcases/ProgressMonitorUsingTest.java
IHTSDO/snow-owl
apache-2.0
2,541
67
codeparrot/github-code
528d0a04a703d9fd1c8a9252a673adec805a790aefda90ad71b88d42994eaf8f
/* * Copyright 2016-2026 Rogério Lecarião Leite * * 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
test/com/rollsoftware/br/test/util/CDITest.java
R0g3r10LL31t3/AccountManager-ROLLSoftware
apache-2.0
2,700
99
codeparrot/github-code
1772dc9e8cf04c2f0335d5f3763e5ae9688335d3a934dedef0dfd05e4b95a91d
package org.deeplearning4j.spark.models.sequencevectors.functions; import lombok.NonNull; import lombok.extern.slf4j.Slf4j; import org.apache.spark.api.java.function.VoidFunction; import org.apache.spark.broadcast.Broadcast; import org.deeplearning4j.models.embeddings.loader.VectorsConfiguration; import org.deeplearni...
Java
deeplearning4j-scaleout/spark/dl4j-spark-nlp-java8/src/main/java/org/deeplearning4j/spark/models/sequencevectors/functions/TrainingFunction.java
kinbod/deeplearning4j
apache-2.0
7,083
150
codeparrot/github-code
974fc5dbecefe2b2cb8c6deb0e1fa1c61073d24b39cfe2edb36fa7530e414831
/* * 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-glue/source/model/PutDataCatalogEncryptionSettingsRequest.cpp
cedral/aws-sdk-cpp
apache-2.0
1,661
61
codeparrot/github-code
c823d8da9c5de7bb47e09c33ee6704c4effdc5d87c61334c5346bf152131a457
package org.easycassandra.persistence.cassandra; import java.util.Arrays; import java.util.logging.Logger; import javax.persistence.Entity; import org.easycassandra.Constants; import org.easycassandra.FieldJavaNotEquivalentCQLException; import org.easycassandra.KeyProblemsException; import org.easycassandra.ReplicaS...
Java
src/test/java/org/easycassandra/persistence/cassandra/EasyCassandraManagerTest.java
gustavoleitao/Easy-Cassandra
apache-2.0
6,413
197
codeparrot/github-code
51dcc2778acf888ee16ff4e5484b50df5eed4e53004200a2876526088c608c64
/** * 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
bigtop-data-generators/bigpetstore-data-generator/src/test/java/org/apache/bigtop/datagenerators/bigpetstore/generators/customer/TestCustomerSampler.java
shiroyp/bigtop
apache-2.0
4,344
109
codeparrot/github-code
ec03d476ca40d1f2c1610172a2fa0e5992830bb2529f4d527808aa080fa1c5bd
package com.aqua.jsystemobject; import java.io.File; import java.io.StringWriter; import java.util.Enumeration; import java.util.Properties; import javax.xml.transform.OutputKeys; import javax.xml.transform.Result; import javax.xml.transform.Source; import javax.xml.transform.Transformer; import javax.xml.transform.T...
Java
src/com/aqua/jsystemobject/TestPropertiesAnalyzer.java
liorgins/old-regression-maven-compat
apache-2.0
3,401
104
codeparrot/github-code
18da3cf932a25c72c54df771b327d57182f9e1a385612ff012b38cc8beeac218
const constants = require('./constants.js'); const AWS = constants.AWS; const DYNAMODB_TABLE = constants.DYNAMODB_TABLE; const model = require('./model.json'); // a static copy of your model, used to suggest custom slot values module.exports = { 'randomArrayElement': function(myArray) { return(myArray[Ma...
JavaScript
tools/TestFlow/sampleskill2/helpers.js
SleepyDeveloper/alexa-cookbook
apache-2.0
12,083
372
codeparrot/github-code
02c2726ffe50dda41dd78d869972fb481fb297ea132e223fb258436e9fe7a6b8
// <copyright file="V99Network.cs" company="WebDriver Committers"> // Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to yo...
C#
dotnet/src/webdriver/DevTools/v99/V99Network.cs
SeleniumHQ/selenium
apache-2.0
14,552
339
codeparrot/github-code
f812e0fe81df897d74531cc5cb973f6d52dd71dfee7d66a14e0710b8d539bee1
#include "lldb-eval/type.h" #include "lldb-eval/traits.h" #include "lldb/lldb-enumerations.h" #include "llvm/Support/FormatAdapters.h" #include "llvm/Support/FormatVariadic.h" #include "llvm/Support/Regex.h" namespace lldb_eval { namespace { // // template <typename T> // bool IsScopedEnum_V(T type) { // // SBType:...
C++
lldb-eval/type.cc
google/lldb-eval
apache-2.0
4,800
166
codeparrot/github-code
1a612c573db8bc439053efdda98cec947e4f09e5b1a2922f3b1705a05645900e
package com.mit.dstore.entity; import java.util.List; public class UserAmountExchange extends JSON { /** * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么) */ private static final long serialVersionUID = -8817478648977034932L; private List<UserAmountExchangeInfo> Object = null; public List<UserAm...
Java
src/com/mit/dstore/entity/UserAmountExchange.java
luchuangbin/test1
apache-2.0
624
31
codeparrot/github-code
afc2a7d86c461565eeea732a17d5bb65e45afec65f792f5081493214bb61407e
/** * @license * Copyright 2017 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...
TypeScript
src/neuroglancer/python_integration/atomic_state_client.ts
janelia-flyem/neuroglancer
apache-2.0
3,584
102
codeparrot/github-code
307b5af0b32fba27bd48282d68bb29078f7ea3148dbed7ac24e839f7f96aad2c
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
jena-db/jena-tdb2/src/main/java/org/apache/jena/tdb2/DatabaseMgr.java
apache/jena
apache-2.0
4,919
131
codeparrot/github-code
75b36d9e6f509b442a79157442fbe35186a320d1b42737df7ffae465f50ebdf2
/* * 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
server/src/test/java/io/druid/server/coordinator/DruidCoordinatorConfigTest.java
winval/druid
apache-2.0
4,244
90
codeparrot/github-code
e38142d3e143472813e0fecc85f7f157f82287c65d2f6852ba3ae9f6d4f4ed4d
/* * 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
modules/parent-join/src/main/java/org/elasticsearch/join/aggregations/ChildrenAggregatorFactory.java
nknize/elasticsearch
apache-2.0
4,159
90
codeparrot/github-code
57ec7b6cff6553fb4aebf092f09f7ec36710df4637d7852c610067635bff1151
/* * Copyright 2012 ZXing.Net 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 ...
C#
Clients/CommandLineEncoder/Program.cs
DHMechatronicAG/ZXing.Net
apache-2.0
7,317
188
codeparrot/github-code
e5be02fe78032b8f18d3b926126d9aed7725929a186e35604698f063315138f8
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Java
hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseTableSnapshotInputFormatUtil.java
vergilchiu/hive
apache-2.0
4,739
118
codeparrot/github-code
045861b1cd148e5015a5516c964f3e4c9f96e432e2e52d1a1dd6c44f08b6b637
package collectiontopics;// collectiontopics/HTMLColorTest.java // (c)2017 MindView LLC: see Copyright.txt // We make no guarantees that this code is fit for any purpose. // Visit http://OnJava8.com for more book information. import static onjava.HTMLColors.*; public class HTMLColorTest { static final int DISPLAY_SI...
Java
sourceCode/testMaven/onjava8/src/main/java/collectiontopics/HTMLColorTest.java
mayonghui2112/helloWorld
apache-2.0
2,017
104
codeparrot/github-code
e3d27cbb149358cac65f185d4fececc1151e251ed7c892f2d0fe0820dd7b18bf
/* * 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 ...
Java
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/FetchEntryMessage.java
davinash/geode
apache-2.0
14,183
380
codeparrot/github-code
7dd0133d9ddd06173e8b73686eaa5f83f45259791abaf902d8a00ac9d05fad56
// 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. using System; using Microsoft.CodeAnalysis.Completion; using Microsoft.VisualStudio.Text; using EditorAsyncCompleti...
C#
src/EditorFeatures/Core/Implementation/IntelliSense/AsyncCompletion/Helpers.cs
wvdd007/roslyn
apache-2.0
7,120
153
codeparrot/github-code
7ccc275430d3ec29fc64caef5f107bc9df80658eef368f4c3ff3b89d949c7fea
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Scala
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/submit/KubernetesClientUtils.scala
witgo/spark
apache-2.0
7,052
174
codeparrot/github-code
73f50147e5481e8fa404fe5c4c8dcd3c690cabf5b38fb28f77ef1683ec53bc0c
/* * Copyright Terracotta, 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 ...
Java
osgi-test/src/test/java/org/ehcache/osgi/SimpleOsgiTest.java
akomakom/ehcache3
apache-2.0
4,421
119
codeparrot/github-code
be539ceac15f776a8ea1699598cd906b54909eea17a4794df44a2378ed7589f7
package com.sdl.ecommerce.odata.function; import com.sdl.ecommerce.odata.model.ODataQueryResult; import com.sdl.ecommerce.odata.service.ODataRequestContextHolder; import com.sdl.odata.api.ODataException; import com.sdl.odata.api.edm.model.Operation; import com.sdl.odata.api.processor.datasource.factory.DataSourceFacto...
Java
framework/ecommerce-framework-odata-service/src/main/java/com/sdl/ecommerce/odata/function/ECommerceOperation.java
sdl/ecommerce-framework
apache-2.0
1,152
33
codeparrot/github-code
8ff41688b599e05da2e21ed933fdb4351ab7b89f784e428137673fcaed77dc40
package ca.uhn.fhir.jpa.packages; /*- * #%L * HAPI FHIR JPA Server * %% * Copyright (C) 2014 - 2022 Smile CDR, 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...
Java
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/packages/PackageInstallationSpec.java
jamesagnew/hapi-fhir
apache-2.0
6,058
196
codeparrot/github-code
33b180529cfb87e305b4e40f528b025b7640b9c74cce2ea07b5c8a80e7451a1c
// Copyright 2011-2016 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 ...
Java
src/main/java/com/google/security/zynamics/binnavi/disassembly/CProject.java
mayl8822/binnavi
apache-2.0
10,169
312
codeparrot/github-code
97fb7603c8fa3501e77a80cfd83792076dae2f848ef0f85bc7223daaebef33ef
/* * Copyright 2015 Codice 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 applicabl...
Java
src/main/java/XPath/XPathAssertion.java
testify/XPathAssertion
apache-2.0
4,453
116
codeparrot/github-code
d20533e8f5f10fcf9d6985081f9b857145742c0f857d555da588b33e48fcc986
/* * 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
dubbo-container/dubbo-container-api/src/main/java/org/apache/dubbo/container/Main.java
yuyijq/dubbo
apache-2.0
4,373
109
codeparrot/github-code
2a2851026f1e6fb282cfd58455936985affd0d466a8dce574fed727071031219
package util import ( "github.com/golang/glog" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/strategicpatch" kapi "k8s.io/kubernetes/pkg/api" kapiv1 "k8s.io/kubernetes/pkg/api/v1" kextapi "k8s.io/kubernetes/pkg/api...
GO
pkg/unidling/util/scale.go
sspeiche/origin
apache-2.0
5,960
178
codeparrot/github-code
681eabf3fe5f7976456ef0fc89dac6a325e58df2a75e31d3424e08f2c34c8867
{-# LANGUAGE DataKinds #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE FunctionalDependencies #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE KindSignatures #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE MultiParamTypeClasses #-} ...
Haskell
src/Language/Fortran/Model/Op/Meta/Core.hs
dorchard/camfort
apache-2.0
1,113
34
codeparrot/github-code
75e0fece760ca9e3f900e74ef682036ff594d956f7b43379e16f93d3b4f34b3b
/* * 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 ma...
Java
src/org/apache/pig/impl/io/SequenceFileInterStorage.java
rekhajoshm/pigfork
apache-2.0
8,378
239
codeparrot/github-code
78e8019537851fa2d16ad3b7d908f7274ae2e5578912b66d50b2182b8ade7475
/* Derby - Class org.apache.derby.impl.io.JarStorageFactory 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 unde...
Java
java/engine/org/apache/derby/impl/io/JarStorageFactory.java
lpxz/grail-derby104
apache-2.0
4,689
139
codeparrot/github-code
2f1e743684340523d83045d428a0d4f55b0fe77931c1b0567ae2ae60598438f7
/* * 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/camel-core/src/main/java/org/apache/camel/reifier/RemoveHeaderReifier.java
davidkarlsen/camel
apache-2.0
1,579
38
codeparrot/github-code
0e614ca0556b9f290e02dca5bb43bac86f048d33f2a5692910a09a0e3bd8e2d9
/* * Copyright 2001-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 required by...
Java
src/main/java/com/alipay/api/internal/util/codec/Base64.java
wendal/alipay-sdk
apache-2.0
17,613
523
codeparrot/github-code
8d7d03c68e966ad84a3eef3c6a258fa544b1691b24cd0ad45b6b6f7dc6d317b7
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
asterixdb/asterix-transactions/src/main/java/org/apache/asterix/transaction/management/service/locking/ConcurrentLockManager.java
apache/incubator-asterixdb
apache-2.0
43,046
1,092
codeparrot/github-code
d73ec34bc8903ff16b196912b51acd8c700bcd5d2579b1209f1dad4e98237190
#!/bin/sh set -eu # Start http server 9999 if [ -f "http.pid" ]; then kill "$(cat http.pid)" || rm -f http.pid sleep 1 fi echo "Starting http server on 9999..." python -m SimpleHTTPServer 9999 & echo $! > http.pid http_test() { # HTTP requests for i in $(seq 10); do status_code=$(curl -v -o /dev/null -H ...
Shell
ci/linkerd-acceptance.sh
pawelprazak/linkerd
apache-2.0
2,184
109
codeparrot/github-code
f25fa8b89d95e952cfa1b3768b7d727d86fd1cb53146cb697d873e9404806985
// Copyright 2015 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/v8.h" #include "src/ast/ast-expression-visitor.h" #include "src/ast/ast.h" #include "src/ast/scopes.h" #include "src/codegen.h" namespa...
C++
deps/v8/src/ast/ast-expression-visitor.cc
facekapow/runtime
apache-2.0
10,595
411
codeparrot/github-code
5c9a2fbb50f9709206dc3970edafa92256c99b82e3a338a9a6df231d5f7ae02e
package com.krux.hyperion.adt import scala.language.implicitConversions import org.joda.time.{DateTimeZone, DateTime} import com.krux.hyperion.expression._ import com.krux.hyperion.common.{HdfsUri, S3Uri, OptionalOrdered} sealed abstract class HType { def value: Either[Any, TypedExpression] def serialize: Str...
Scala
core/src/main/scala/com/krux/hyperion/adt/HType.scala
hoangelos/hyperion
apache-2.0
4,804
158
codeparrot/github-code
c189ce286b23e7aeea24c10f93a686c52334bad7adaaeb0854e37758dd8a226d
/* Copyright 2014-2016 PetaByte Research Ltd. 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
redflags-web/src/test/java/hu/petabyte/redflags/web/AppTest.java
petabyte-research/redflags
apache-2.0
1,282
55
codeparrot/github-code
cb600fd679689c645c0531982ca2901c22666199583372a59638e7ba48f2af67
// (C) Copyright 2015 Martin Dougiamas // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
JavaScript
www/core/directives/browser.js
jorisnicolas/moodlemobile2
apache-2.0
2,257
69
codeparrot/github-code
846850b5bb15eca88dd09a52e6d9ede232dfa78a4cc7d93f9ddc2f275ee9f494
package org.testng.collections; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util.stream.Collectors; public final class Lists { private Lists() {} public static <K> List<K> newArrayList() { return new A...
Java
src/main/java/org/testng/collections/Lists.java
missedone/testng
apache-2.0
1,203
51
codeparrot/github-code
3a8ff70fe612d9ff9e366f0e1ed08313cee99726be9a86b5f06823f6558106f5
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Arch.CFX.AppInternals.Components; using Arch.CFX.AppInternals.Manager.Components.Impl; using Arch.CFX.AppInternals.Utility; using Arch.CFX.Ioc; namespace Arch.CFX.AppInternals.Manager { public class ComponentsManager : IC...
C#
CSharpLab/TestSelfStarting/Arch.CFX/CommandFrameWork/AppInternals/Manager/Components/ComponentsManager.cs
felix-tien/TechLab
apache-2.0
854
32
codeparrot/github-code
305e6336152e14ddd165286a0707ffa63c0eedc155b012eb213f3df61b197a0e
import Marked from 'marked' import hljs from 'highlight.js' const renderer = new Marked.Renderer() export const toc = [] renderer.heading = function(text, level) { var slug = text.toLowerCase().replace(/\s+/g, '-') toc.push({ level: level, slug: slug, title: text }) return `<h${level}><a href='#${...
JavaScript
admin/src/components/utils/marked.js
Smallpath/Blog
apache-2.0
773
33
codeparrot/github-code
84de562c8a61e70b901f96f744346e0e95d1be8000346a4aca884b78583cdbd6
# Copyright 2014-2015 ARM 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 # # Unless required by applicable law or agreed to in w...
Python
wlauto/modules/cpuidle.py
freedomtan/workload-automation
apache-2.0
3,815
116
codeparrot/github-code
5f88612c07572b1c74bef0c1d78a868733ae475654b01a7f24843d1368b96d4c
// Copyright 2017 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
internal/driver/webhtml.go
google/pprof
apache-2.0
36,922
1,402
codeparrot/github-code
54738fc58d368b3486c63a02e5a44c6496cbfa9af9809734e1847306c518453a
//===----------------------------------------------------------------------===// // // 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++
libcxx/test/std/containers/views/span.iterators/end.pass.cpp
google/llvm-propeller
apache-2.0
3,635
112
codeparrot/github-code
802b53114c460b5b5f206fb75aa8300da91bb61435fe957a098f5bb11c0eff0c
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Xml; using DigitalPlatform.Xml; using DigitalPlatform.LibraryClient.localhost; // 2013/3/16 添加 XML 注释 namespace dp2Circulation { /// <...
C#
dp2Circulation/Monitor/StartLogRecoverDlg.cs
renyh1013/dp2
apache-2.0
8,215
271
codeparrot/github-code
63c6cff239bb3091d403486446f1710f56688c807525dc3775ef1d462aa2e9b6
// Copyright 2014 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/librustc_typeck/check/callee.rs
omasanori/rust
apache-2.0
15,694
390
codeparrot/github-code
3dacab0d70e6a1562ff1268cbb7670d9a349283cf11c5bda9bc7e94a57611c04
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ const Cc = Components.classes; const Ci = Components.interfaces; const Cr = Components.results; Components.utils...
JavaScript
B2G/gecko/mobile/android/components/LoginManagerPrompter.js
sergecodd/FireFox-OS
apache-2.0
17,631
521
codeparrot/github-code
6fa99a215f517b6010fe7f60ff7634ed6b2bac8f502fbfc0676d96e40ded7590
/*global module: false, require: false, console: false */ 'use strict'; var React = require('react'); var PureRenderMixin = require('./PureRenderMixin'); var DataTable = require('react-data-components-bd2k').DataTable; require('react-data-components-bd2k/css/table-twbs.css'); function buildHeader(onClick, title) { r...
JavaScript
js/VariantTable.js
vipints/brca-website
apache-2.0
1,469
53
codeparrot/github-code
44c4c925f91e839495d7acbc48a148eef1f924613b8c4c966cf8c32e816e209b
package org.apache.maven.continuum.web.action.stub; /* * 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...
Java
continuum-webapp/src/test/java/org/apache/maven/continuum/web/action/stub/ProjectGroupActionStub.java
apache/continuum
apache-2.0
1,560
49
codeparrot/github-code
a81837034b487b322aa9ea4bd413aaccdc0ee32b84bcb942a17abeeea151dc50
/* * 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
solr/modules/analytics/src/java/org/apache/solr/analytics/function/mapping/NegateFunction.java
apache/solr
apache-2.0
3,077
73
codeparrot/github-code
cc68290ecaf1f74e77df4a04b793b0f00ad5c59a5bbf3e1b3dc0c459e1221e81
# this module provides custom postp logic. package EC::POSTP; use strict; use warnings; use XML::Simple; use ElectricCommander; use Data::Dumper; our $VERSION = 0.1; #***************************************************************************** our $PATTERNS = [{ start => qr/^\[(INFO|ERROR|WARNING|TRACE)\]/,...
Perl
src/main/resources/project/lib/EC/POSTP.pm
electric-cloud/EC-WebLogic
apache-2.0
5,468
198
codeparrot/github-code
c8f514de3521f53c9ef6a07d36941b0af044f890c287996130204c12407d71f3
<html> <head> <title>org.jkiss.dbeaver-update</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style>@import url("web/site.css");</style> <script type="text/javascript"> var returnval = 0; var stylesheet, xmlFile, cache, doc; function init(){ // NSCP 7.1+ / Mozilla 1.4.1+ / Saf...
HTML
product/updateSite/siteTemplate/index.html
ruspl-afed/dbeaver
apache-2.0
2,084
61
codeparrot/github-code
263750141c7d8dd9f1ff2c18b8387518d1c18f2bc4cd02ac587ab138b84cca39
//Copyright 2004 - $Date: 2008-11-15 23:58:07 +0100 (za, 15 nov 2008) $ by PeopleWare n.v.. //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...
C#
dotnet/Vernacular/Exceptions/dev/PPWCode.Vernacular.Exceptions.II/src/II/ProgrammingError.cs
jandppw/ppwcode-recovered-from-google-code
apache-2.0
3,744
79
codeparrot/github-code
525061833438f7f45ff8999d44fb07e141d03f2407cb7c1cb3002943ea2f3079
/** * Copyright (C) 2017 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2017 Connor Tumbleson <connor.tumbleson@gmail.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...
Java
brut.apktool/apktool-lib/src/test/java/brut/androlib/AndroidOreoNotSparseTest.java
Benjamin-Dobell/Apktool
apache-2.0
2,475
72
codeparrot/github-code
a671b3ca9e2f122c59d069cef9c9aee5e88b502d08bff7465cb61886e5802c8f
/*! DC (Distance Coding) forward and backward transformation. Designed to be used on BWT block output for compression. # Links http://www.data-compression.info/Algorithms/DC/ # Example ```rust use compress::bwt::dc; let bytes = b"abracadabra"; let distances = dc::encode_simple::<usize>(bytes); let decoded = dc::d...
Rust
src/bwt/dc.rs
orneryhippo/rust-compress
apache-2.0
10,384
304
codeparrot/github-code
301a8d837575142cd9d7d41e69b09facec7433f52077b4e4c191245fc3c04625
<?php declare(strict_types=1); namespace JMS\Serializer\GraphNavigator; use JMS\Serializer\Accessor\AccessorStrategyInterface; use JMS\Serializer\Construction\ObjectConstructorInterface; use JMS\Serializer\DeserializationContext; use JMS\Serializer\EventDispatcher\EventDispatcher; use JMS\Serializer\EventDispatcher\...
PHP
src/GraphNavigator/DeserializationGraphNavigator.php
curzio-della-santa/serializer
apache-2.0
10,264
263
codeparrot/github-code
9952e836d06972d388fb84cce11d2b1319d98b79cf8167601a06c94e13f7072c
'use strict'; // ------------------------------------------------------------------------------------------ Test Dependencies var fs = require('fs'); var path = require('path'); var should = require('chai').should(); var nconf = require('nconf'); nconf.argv() .env() .file('local', { file: path.join(__dirname, '.....
JavaScript
test/views/index/index.test.js
YouTransfer/YouTransfer
apache-2.0
12,162
340
codeparrot/github-code
074e3173dcc5fdc535f1f3666bb026a467728779baf7ae64b9cc6b0c08aacd7e
#include <SFGUI/CheckButton.hpp> #include <SFGUI/Context.hpp> #include <SFGUI/Engine.hpp> namespace sfg { CheckButton::CheckButton() : ToggleButton() { } CheckButton::~CheckButton() { } CheckButton::Ptr CheckButton::Create( const sf::String& label ) { Ptr widget( new CheckButton ); widget->SetLabel( label ); ...
C++
src/include/sfgui/src/SFGUI/CheckButton.cpp
pierotofy/glassomium
apache-2.0
2,120
71
codeparrot/github-code
29eeb92656e38fe2f92df26f0175e9817cbe1d863b91e1291c12c35de0bfd052
/* * 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
webbeans-impl/src/test/java/org/apache/webbeans/test/specalization/observer/prot/BeanE.java
apache/openwebbeans
apache-2.0
1,219
36
codeparrot/github-code
18db19f78e728fad1c83131325a1bfc2261c93759c374e7a9f4dbf831fc2542b
package io.dropwizard.jersey.filter; import com.google.common.collect.ImmutableSet; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; imp...
Java
dropwizard-jersey/src/main/java/io/dropwizard/jersey/filter/AllowedMethodsFilter.java
aaanders/dropwizard
apache-2.0
1,980
56
codeparrot/github-code
dc4f5a84facf9999be33ec037e2629849610833c0d69034e35cb7dfc6c8d20bf
/** * Licensed to the Sakai Foundation (SF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use t...
Java
bundles/files/impl/src/test/java/org/sakaiproject/nakamura/files/pool/CreateContentPoolServletTest.java
dylanswartz/nakamura
apache-2.0
12,715
313
codeparrot/github-code
3510dfaf86d330991dec95d46407f690984ffb4c8801b6101a23114f4e810346
#include "drape_frontend/route_renderer.hpp" #include "drape_frontend/message_subclasses.hpp" #include "drape_frontend/shape_view_params.hpp" #include "drape_frontend/visual_params.hpp" #include "shaders/programs.hpp" #include "drape/drape_routine.hpp" #include "drape/glsl_func.hpp" #include "drape/utils/projection.h...
C++
drape_frontend/route_renderer.cpp
alexzatsepin/omim
apache-2.0
28,557
798
codeparrot/github-code
314e5b12a894afeffbe47d52504bdba5b81c257d56a351abca356d11d45bf19f
//======================================================================= // Copyright 2001 Jeremy G. Siek, Andrew Lumsdaine, Lie-Quan Lee, // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //==================...
C++
3rdParty/boost/1.71.0/libs/graph/example/kruskal-telephone.cpp
graetzer/arangodb
apache-2.0
2,465
67
codeparrot/github-code
5f83b711c0beaf79db3c0f1df1632739f5dc02bdcb56d95c47198f87f3b0c113
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Coverage Report</title> <link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/...
HTML
publish/reports/coverage/org.jsimpledb.core.SetField.html
mmayorivera/jsimpledb
apache-2.0
30,390
244
codeparrot/github-code
a3a5c62364eea87353b0621427ace89089bfbf4155eb5560fcb2755c20ee7f0c
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Java
hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestIncrementalBackup.java
Eshcar/hbase
apache-2.0
9,436
226
codeparrot/github-code
08ed1229d499408d7679abd92573f970612264405571f4d8edadc140c4fb9c24
/* * Copyright 2018 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 ...
Java
java/src/com/google/template/soy/jbcsrc/shared/LegacyFunctionAdapter.java
google/closure-templates
apache-2.0
1,543
48
codeparrot/github-code
bc9478e9ebf4336524ccf8ae94933ed8baa8de4212f95f33bed7032c96247982
/*------------------------------------------------------------------------- * ic_common.c * Interconnect code shared between UDP, and TCP IPC Layers. * * Copyright (c) 2005-2008, Greenplum * * Reviewers: jzhang, tkordas *------------------------------------------------------------------------- */ #ifdef WIN...
C
src/backend/cdb/motion/ic_common.c
atris/gpdb
apache-2.0
25,940
1,007
codeparrot/github-code
dbfde09696ee93746bc8137d25252e216299ba360b18d3d9ab2f59621c13f1b9
/* * 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/processors/datastructures/DataStructuresProcessor.java
dlnufox/ignite
apache-2.0
70,905
2,094
codeparrot/github-code
71781a71fccaa5a19de5b0b0d29bde7e791d9d21431956af1d69198cacbb6eb4
package ru.aserdyuchenko.testQuestions; import java.time.LocalTime; import java.util.Random; import java.util.ArrayList; class Tracker { /** * Создание случайного(от 0 до 1000) количества посетителей. */ private Random random = new Random(); /** * @param arrayBankVisitors - массив посетителей банка. ...
Java
Pre-middle/Part_1_Input_Output/src/main/java/ru/aserdyuchenko/testQuestions/Tracker.java
anton415/Job4j
apache-2.0
3,460
104
codeparrot/github-code
4506d7b6f54c12ec55872f4e6dc060549041f414096da6c06cf2a91ee2d9739a
/** * 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/crypto/key/kms/KMSClientProvider.java
leechoongyon/HadoopSourceAnalyze
apache-2.0
40,875
1,097
codeparrot/github-code
63cd12a9cba7a2fb5f06cc9ccc3558f3458d7aa151eee3f10172438b5b5e31fd
/* Copyright 2016 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
cmd/kubelet/app/auth.go
paralin/kubernetes
apache-2.0
4,747
132
codeparrot/github-code
500188d9cbc4038f8edf42d5fa371d7733340e2e23d66035d3a6da2d8dc5f20c
/* * 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
shardingsphere-infra/shardingsphere-infra-binder/src/test/java/org/apache/shardingsphere/infra/binder/segment/select/projection/impl/AggregationDistinctProjectionTest.java
apache/incubator-shardingsphere
apache-2.0
1,788
43
codeparrot/github-code
261fe244a6818a830df818e767204145cc954a6845d5029abd1db5c86e2149f1
/* * arcus-java-client : Arcus Java client * Copyright 2010-2014 NAVER Corp. * * 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 * * Unles...
Java
src/main/java/net/spy/memcached/BulkService.java
whchoi83/arcus-java-client
apache-2.0
8,261
275
codeparrot/github-code
94aec15338528a7b8cb81b8fca574c0dc298216ccc99e3f1d78fa29552681cf8
#ifndef AUTOBOOST_MPL_VECTOR_AUX_SIZE_HPP_INCLUDED #define AUTOBOOST_MPL_VECTOR_AUX_SIZE_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2000-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://...
C++
contrib/autoboost/autoboost/mpl/vector/aux_/size.hpp
codemercenary/autowiring
apache-2.0
1,145
50
codeparrot/github-code
494478c61415ca1489d6a31fbdd08d3a478be957e1fcce95fdae5ffc04535e96
package org.clulab.twitter4food.featureclassifier import com.typesafe.config.ConfigFactory import org.clulab.twitter4food.struct.TwitterAccount import org.clulab.twitter4food.util.{Eval, FileUtils} import org.slf4j.LoggerFactory object GenderSuite { def main(args: Array[String]) { val logger = LoggerFactory.get...
Scala
src/main/scala/org/clulab/twitter4food/featureclassifier/GenderSuite.scala
clulab/twitter4food
apache-2.0
1,597
45
codeparrot/github-code
66a6729b716bc1e24ca59947b9995fd27da6a64717bcd2c66e50b511ef38c8a5
<?php /** * Contains all client objects for the ReconciliationOrderReportService * service. * * PHP version 5 * * Copyright 2016, 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 ob...
PHP
src/Google/Api/Ads/Dfp/v201511/ReconciliationOrderReportService.php
kl82/gadatabquery
apache-2.0
82,978
3,229
codeparrot/github-code
29f80242b2e584db6126b1b6ec18511efba230baf25f5e30718c301c1f610608
package io.subutai.core.identity.impl.model; import javax.persistence.Access; import javax.persistence.AccessType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import io.subutai.common.security.objects.PermissionObject; import io.subut...
Java
management/server/core/identity-manager/identity-manager-impl/src/main/java/io/subutai/core/identity/impl/model/UserDelegateEntity.java
subutai-io/Subutai
apache-2.0
2,648
153
codeparrot/github-code
5b95301040afc760314546f1182b5455a839d1bd1221d6690f8f84a50bd9d1bd
/* * 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/plan/volcano/TraitConversionTest.java
apache/calcite
apache-2.0
11,320
314
codeparrot/github-code
8a34ad1e15ae2ec14f4864bd35719e4a033f7a1da3bcaca6d47503d3c0a26d3b
package company.kr.sand.adapter; import android.app.Activity; import android.content.Context; import android.text.TextUtils; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import a...
Java
app/src/main/java/company/kr/sand/adapter/FeedListAdapter.java
tnghsla13/Convenient-Store
apache-2.0
5,608
169
codeparrot/github-code
4b68e7caebd752686f4e860f006fd177025eb3fec82b2cb575579a01d6d2d835
package org.xmlcml.norma.sections; import java.util.Arrays; import java.util.List; import org.apache.log4j.Level; import org.apache.log4j.Logger; import nu.xom.Element; public class JATSRefElement extends JATSElement { static final Logger LOG = Logger.getLogger(JATSRefElement.class); static { LOG.setLevel(Leve...
Java
src/main/java/org/xmlcml/norma/sections/JATSRefElement.java
petermr/norma
apache-2.0
1,067
46
codeparrot/github-code
570dfb98253f07bc46826bc4ce331bfa863a7f0950944a3e54cf2e35b0f1882f
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Java
hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/OpenFileCtxCache.java
nandakumar131/hadoop
apache-2.0
8,549
273
codeparrot/github-code
d1c4a671ac0916a206fcd8c5e1b8f63afbb6ea2b71f623243f01e2b64f728b79
var site = function (tenantId, options) { var tag, tags, rate, asset, assets, carbon = require('carbon'), store = require('/modules/store.js'), path = '/_system/governance/sites/' + options.provider + '/' + options.name + '/' + options.version, server = require('store').server, /...
JavaScript
publisher/modules/deployer.js
cnapagoda/wso2Store
apache-2.0
7,175
224
codeparrot/github-code
81ba49985713c129b51d7128c299258b0cb3b2fdaab7e99899a5641e6a4ddf4c
/* * 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
src/main/java/org/apache/commons/imaging/color/ColorHsv.java
apache/sanselan
apache-2.0
1,141
35
codeparrot/github-code
766ce7c0d558be06a0ae64b26445f0f2a6ca5bcd9491fbfb9e86f57f0d541a06
/** * Copyright 2016 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
JavaScript
3p/environment.js
bpaduch/amphtml
apache-2.0
6,816
265
codeparrot/github-code
3c865f21f1b4ae7d7f3f62dfaead6e88c5bd940ad742726b2e8dcfc246690ba6
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.openapi.actionSystem.impl; import com.intellij.icons.AllIcons; import com.intellij.ide.HelpTooltip; import com.intellij.internal.statistic.collectors.fus.ui.persistence.ToolbarC...
Java
platform/platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionButton.java
jwren/intellij-community
apache-2.0
21,387
655
codeparrot/github-code
43ebaa05b22c75372355e2b34bced1c624cb151b81ec2450553f73dde6c3d0c1
#ifndef SPHERE_HEADER #define SPHERE_HEADER #include "basic.h" #include <MiscLib/Vector.h> #include <stdexcept> #include <GfxTL/HyperplaneCoordinateSystem.h> #include <utility> #include "PointCloud.h" #include <ostream> #include <istream> #include <stdio.h> #include <utility> #include <MiscLib/NoShrinkVecto...
C
RAPter/external/schnabel07/Sphere.h
amonszpart/globOpt
apache-2.0
11,488
360
codeparrot/github-code
a493b73dd4a2e7589394e34ec3040a009a46793b0f8632763199db8696f8f832
#ifndef AUTOBOOST_ARCHIVE_DETAIL_INTERFACE_IARCHIVE_HPP #define AUTOBOOST_ARCHIVE_DETAIL_INTERFACE_IARCHIVE_HPP // MS compatible compilers support #pragma once #if defined(_MSC_VER) # pragma once #endif /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // interface_iarchive.hpp // (C) ...
C++
contrib/autoboost/autoboost/archive/detail/interface_iarchive.hpp
codemercenary/autowiring
apache-2.0
2,375
78
codeparrot/github-code
9317c99ada380b8ecb9ed60bedc7d1397cf8e9ef1d35bb8817a8ddbee0e3497a
package com.youku.player.util; public interface DetailMessage { public final int LOAD_NEXT_PAGE_SUCCESS = 100; public final int LOAD_NEXT_PAGE_FAILED = 101; public final int REFRESH_SUCCESS = 102; public final int REFRESH_FAILED = 103; public final int GET_SERIES_SUCCESS = 104; public final i...
Java
youkuPlayerOpenSDK/src/main/java/com/youku/player/util/DetailMessage.java
uin3566/Dota2Helper
apache-2.0
2,626
61
codeparrot/github-code
be374d04264a4c3052c74ffb61695d44d24b49e661251e87b5263fe4b85aef3e
/* Copyright 2005-2007 Adobe Systems Incorporated Use, modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). See http://opensource.adobe.com/gil for most recent versio...
C++
windows/include/boost/gil/extension/dynamic_image/image_view_factory.hpp
jaredhoberock/gotham
apache-2.0
12,824
213
codeparrot/github-code
a030436f3c39fb1986bc48b7f23b5680565a7e445003d9a93cd64d13f1e1594c
''' Integration Test Teardown case @author: Youyk ''' import zstacklib.utils.linux as linux import zstacklib.utils.http as http import zstackwoodpecker.setup_actions as setup_actions import zstackwoodpecker.test_util as test_util import zstackwoodpecker.clean_util as clean_util import zstackwoodpecker.test_lib as te...
Python
integrationtest/vm/vpc_ha/suite_teardown.py
zstackio/zstack-woodpecker
apache-2.0
1,332
40
codeparrot/github-code
2ca65257b745a03ccd256876df914c3deb870f039c8457ff223329d0342fbe1a
using System; using System.ComponentModel.Composition; using System.Reflection; using Grabacr07.KanColleViewer.Composition; using saga.voiceroid; namespace saga.kancolle { [Export(typeof(IPlugin))] [InheritedExport(typeof(INotifier))] [ExportMetadata("Guid", "648b55ff-92a2-4c4a-8bb9-7f9edaa999df")] [...
C#
VoiceroidNotifier.cs
saga-dash/VoiceriodNotifier4KanColleViewer
apache-2.0
2,967
94
codeparrot/github-code
a7c437a41c9cee9a917caa39aaf9a3d89e581b1cc563cc326a084a8ad0995bb4
<!DOCTYPE html> <!-- Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.2 Version: 3.2.0 Author: KeenThemes Website: http://www.keenthemes.com/ Contact: support@keenthemes.com Follow: www.twitter.com/keenthemes Like: www.facebook.com/keenthemes Purchase: http://themeforest.n...
HTML
theme/templates/admin3_material_design/ui_idle_timeout.html
zzsoszz/metronicv37
apache-2.0
51,930
1,446
codeparrot/github-code
72aec41553734836bf6c99890f483075d835458a4799b892f1e4b53195b57b9d
package edu.cmu.supermandy.isight.ui; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; /** * Created by Mandy on 4/4/16. */ public class PagerAdapter extends FragmentStatePagerAdapter { int mNumOfTabs; public Pa...
Java
iSight/app/src/main/java/edu/cmu/supermandy/isight/ui/PagerAdapter.java
MandyChen0114/iSight
apache-2.0
1,102
45
codeparrot/github-code
c3b5dc14142c3a1229cbc4a22e6b19e4ea704f1cdc6482faaf9a5ec4dfbfe7f0
/** * node buildHardBenchmark.js ./wiki_benchmark ./soft_benchmark * * nohup node buildSoftBenchmark.js ./soft_benchmark > buildSoftBenchmark.out 2>&1& */ var fs = require('fs'); var csv = require('csv'); //var outputDir = process.argv[2]; var targetBenchmarkDir = process.argv[2]; var surfaceFormsScores = []; v...
JavaScript
NerIndexingSupport/wiki_benchmark/buildSoftBenchmark.js
ilasek/SemiTags
apache-2.0
7,326
193
codeparrot/github-code
f1b2f1703d5c755c8b57aebf01950e0a8ed2d700c8491c4ad9e84af7bcb3dac8
/* * Copyright (c) 2016 Intel Corporation * * Copyright (c) 2013, Institute for Pervasive Computing, ETH Zurich * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of s...
C
net/oic/src/messaging/coap/transactions.c
mlaz/mynewt-core
apache-2.0
6,003
198
codeparrot/github-code