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
b1e299da29b1d4d6fc16186a8c28e8fb0abf2a96502289923b9fbc00e8de60f0
/* * Copyright 2017-present Facebook, 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...
Java
src/com/facebook/buck/jvm/java/toolchain/AbstractJavaCxxPlatformProvider.java
rmaz/buck
apache-2.0
1,197
37
codeparrot/github-code
07ccd13a87f2648c7eeaa0a5418801d46ae437686550d462e43b4eb136d174c8
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/BaseMetaDataEndpointObserver.java
ankitsinghal/phoenix
apache-2.0
4,433
123
codeparrot/github-code
a576b3410b07e47a0d47d5360dca7ab6c93805d7ab030d60bfe53734c893ae38
/* * random_numbers.c * * some utility functions for the management of random numbers * * author: Dr. Alex Shenfield * date: 01/09/2017 */ // include the shu library bsp random_number header #include "random_numbers.h" // initialise the random number generator void init_random(void) { __HAL_RCC_RNG_CLK_...
C
libraries/bsp/stm32f7_discovery_shu_kit/src/random_numbers.c
watsonc4/watson
apache-2.0
626
33
codeparrot/github-code
b7e5e0f2dd264e232b9783a5b4576750305bc936f10ce422cab402adb0e1a3e6
/* Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ package event import ( "github.com/hyperledger/fabric-protos-go/gateway" "github.com/hyperledger/fabric-protos-go/peer" "github.com/hyperledger/fabric/common/ledger" ) type ChaincodeEventsIterator struct { blockIter *BlockIterator...
GO
internal/pkg/gateway/event/chaincodeiterator.go
hyperledger/fabric
apache-2.0
1,675
84
codeparrot/github-code
f95bcf2790c720b11894a9590ee2d4211e21c8d81bd25b15057cc2a1880d4547
{ "configurationSettings": [{ "category": "<b>General</b>", "fields": [{ "type": "webmap", "label": "Select a map" }] }, { "category": "<b>General Settings</b>", "fields": [{ "type": "string", "fieldName": "theme"...
JavaScript
configuration_panel.js
jfitzgerald79/basic-viewer-template
apache-2.0
6,176
186
codeparrot/github-code
8c37bfad36288f6e832938073d30424597edaace8accf4c0421cd720186c68e3
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
C
third_party/proto/src/google/protobuf/util/internal/datapiece.h
bowlofstew/kythe
apache-2.0
7,583
213
codeparrot/github-code
25ec3835a7a4fc675fd13046d4ee7e49fcfe8dada281a26624b70f5e3a91ce94
// Copyright 2014 The Cayley Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
GO
graph/iterator/optional.go
deskr/cayley
apache-2.0
4,650
175
codeparrot/github-code
e622a1e3844a574f6ceb4d7842f024300a5d53e91052fb902703c7ae6e6b96e0
/* * Copyright (c) WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
Java
carbon-mss/components/org.wso2.carbon.mss/src/test/java/org/wso2/carbon/mss/internal/router/SSLClientContext.java
susinda/product-mss
apache-2.0
2,667
83
codeparrot/github-code
6692c01251544d94da7f630818c805e1b488c9cf92a07fca3f942e377e39d320
package com.alex.develop.entity; import android.util.Xml; import org.xmlpull.v1.XmlPullParser; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; public class Remote { public static void init (String manifest) { HttpURLConnection urlConnection = null; try { URL url = new U...
Java
app/src/main/java/com/alex/develop/entity/Remote.java
zxfhacker/StocksAnalyzer
apache-2.0
1,787
62
codeparrot/github-code
4197e5df8ab34f1c31d3f97d23c77100ce22831b3780de9ab9875fc63d78467c
package url import ( "errors" "strconv" "time" ) func (pq ParsedQuery) last() (time.Duration, error) { query, ok := pq.Table["last"] if !ok { return 0, errors.New("bad query") } length := len(query) if length < 2 { return 0, errors.New("bad query") } var unit time.Duration unitString := query[length-1]...
GO
lib/url/last.go
Symantec/Dominator
apache-2.0
754
42
codeparrot/github-code
eac61bf3215b504ecf8d2658d0f6e23d7066c4c54cece67b936ffb96ea995700
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <string.h> #include <tpm20.h> #include <tpm2_lib.h> #include <gflags/gflags.h> #include <openssl_helpers.h> #include <openssl/rsa.h> #include <openssl/x509.h> #include <openssl/ssl.h> #...
C++
src/tpm2/tpm2_util.cc
jethrogb/cloudproxy
apache-2.0
47,846
1,466
codeparrot/github-code
83811d540762ee81375ffb36594b7516de26147490cde72ab1038b59ea91c9c9
/* 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/kubeadm/app/master/pki.go
mfanjie/kubernetes
apache-2.0
7,090
201
codeparrot/github-code
1e5c1009dac0ed38df53c82d76fdfb5da1f237a1253089156aa26b340710978f
import datetime import httplib import os import uuid import markupsafe from flask import make_response from flask import redirect from flask import request import furl import jwe import jwt from modularodm import Q from modularodm.exceptions import NoResultsFound from framework import sentry from framework.auth imp...
Python
website/addons/base/views.py
zamattiac/osf.io
apache-2.0
25,393
712
codeparrot/github-code
ec947d1ae72201986a97ebf076a2adb8af9f7980035e5f6eff5c70dd3847301c
/* * JBoss, Home of Professional Open Source * Copyright 2010 Red Hat Inc. and/or its affiliates and other * contributors as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a full listing of * individual contributors. * * This is free software; you can redistri...
Java
infinispan/cachestore/remote/src/test/java/org/infinispan/loaders/remote/RemoteCacheStoreRawValuesTest.java
nmldiegues/stibt
apache-2.0
5,032
129
codeparrot/github-code
20c87d90db1f053b61f017ec6e8c4870e105d0a333e30a7eb97c0014d42e8f06
# 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 u...
Python
example/automatic-mixed-precision/amp_model_conversion.py
yajiedesign/mxnet
apache-2.0
8,765
202
codeparrot/github-code
29f87551299bdafedfed9a26d000a2ffa414e40569b82985d8bbf3f5bd1e210c
/* * ARX: Powerful Data Anonymization * Copyright 2012 - 2015 Florian Kohlmayer, Fabian Prasser * * 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/LI...
Java
src/main/org/deidentifier/arx/criteria/RecursiveCLDiversity.java
COWYARD/arx
apache-2.0
2,853
100
codeparrot/github-code
aefb6d671abc54921e1247a61fab9a7815498950f111625ee5e454d89936bfda
/** * Copyright (C) FuseSource, Inc. * http://fusesource.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...
Java
sandbox/fabric-virt/commands/src/main/java/org/fusesource/fabric/virt/commands/StopDomain.java
janstey/fuse
apache-2.0
1,279
39
codeparrot/github-code
bbe6981923c9bb382c26307309d010e7c430f3aeca91e36b5fb702c87a44716f
/** * 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
demo-server/src/main/java/org/apache/ambari/server/api/services/ViewSubResourceService.java
zouzhberk/ambaridemo
apache-2.0
4,320
134
codeparrot/github-code
773be45b82e6ec862e3d7748f9c2520a7203043aed5a9486c6bc5e0ab5e5e33d
package org.apache.lucene.index; /** * 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, Versi...
Java
src/java/org/apache/lucene/index/BufferedDeletes.java
sluk3r/lucene-3.0.2-src-study
apache-2.0
5,046
169
codeparrot/github-code
8a495c4e535901109234f5204bfee52cb2ebe2f7afeb8a4be10fbbfe43dcce18
import { IController, IScope, module } from 'angular'; import { IModalService } from 'angular-ui-bootstrap'; import { Registry } from 'core/registry'; import { IgorService, BuildServiceType } from 'core/ci/igor.service'; import { IJobConfig, IParameterDefinitionList, IStage } from 'core/domain'; import { SETTINGS } fr...
TypeScript
app/scripts/modules/core/src/pipeline/config/stages/wercker/werckerStage.ts
sgarlick987/deck
apache-2.0
7,930
235
codeparrot/github-code
4c99c373502d27f2756d7ea6cb45c2a0688c9b9e4c3d614fc9bc114442c20c0b
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/mediapackage/model/ListHarvestJobsRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/http/URI.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #inclu...
C++
aws-cpp-sdk-mediapackage/source/model/ListHarvestJobsRequest.cpp
awslabs/aws-sdk-cpp
apache-2.0
1,485
67
codeparrot/github-code
d769e148ba58d2fa88d6307d2ed3f99bdb8b91eb18b24f93df2f24dfd713ef7f
// Copyright 2019, OpenCensus 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 agree...
GO
OpenCensusAgent/opencensus-service/exporter/exporterhelper/tracehelper.go
Azure/azure-linux-extensions
apache-2.0
2,855
91
codeparrot/github-code
5017223533a012a85c860a5e46a230a8488d03719564972fe197df1db8d56afd
/* * Copyright (C) 2009 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
src/main/java/com/google/sites/liberation/util/EntryType.java
bestplay9384/google-sites-liberation
apache-2.0
3,530
112
codeparrot/github-code
54dc718db4daa6efd1730f3b0cc0d4f62c2a2ae5a30c82ddc279b3ecaccf6c1c
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
core/java/android/net/nsd/NsdServiceInfo.java
xorware/android_frameworks_base
apache-2.0
14,089
390
codeparrot/github-code
53cc83ce3179b092640ea2aea8d5a1bf894e80f0501f51027aa9b5abeea2b6bc
/* Copyright 2010-2015 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" file accompany...
C
iphone/platform/iphone/AWSCore.framework/Versions/A/Headers/AWSCategory.h
The-Virtual-Forge/ti.S3FileTransferManager
apache-2.0
3,076
99
codeparrot/github-code
0193eef7fc9f8b3986eb1c362cf2a4c0ac27c8936287e6a00506bc68c8ac28e5
# # Copyright 2014 Quantopian, 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...
Python
zipline/utils/events.py
dmitriz/zipline
apache-2.0
17,605
613
codeparrot/github-code
377b55e4ed7df1905550477cce678314d05dcbc2e3ccbfc6e3389a61ecd8faa3
/* * 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/test/java/org/apache/ignite/internal/processors/cache/transactions/TxOptimisticDeadlockDetectionTest.java
leveyj/ignite
apache-2.0
19,941
575
codeparrot/github-code
d81f19ceaeda901ec62b2dd899cee895f48c867c62eece18048c949ae8c92a31
/* * Copyright (C) 2014 BeyondAR * * 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...
Java
android/BeyondAR_Examples/src/com/beyondar/example/CameraWithScreenShotActivity.java
32xnabin/beyondar
apache-2.0
2,329
80
codeparrot/github-code
35bb9527aec5443618e0f85372d70b987ce127d8c5f3a09874106407039068ba
/**************************************************************************** Copyright 2009, Colorado School of Mines and others. 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.apac...
Java
core/src/main/java/edu/mines/jtk/dsp/LocalSemblanceFilter.java
dhale/jtk
apache-2.0
13,591
470
codeparrot/github-code
95145bfa805012ee22b82a3b36346c96f3f00d8f0cc5a096bf1be0fb294424f1
/* * 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-raptor/src/test/java/com/facebook/presto/raptor/storage/TestStorageManagerConfig.java
Teradata/presto
apache-2.0
6,091
130
codeparrot/github-code
9cdb6b0e574dbf9fd29886c15f2e1a914c816d112e61b06872da5b4bff2be981
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSStreamFwd.h> #include <aws/elasticbeanstalk/model/ResourceQuota.h> #include <utility> na...
C
aws-cpp-sdk-elasticbeanstalk/include/aws/elasticbeanstalk/model/ResourceQuotas.h
jt70471/aws-sdk-cpp
apache-2.0
8,012
219
codeparrot/github-code
b429aa0da5b5a4a2139ac071f334ad4d3e1baeeb25d9e9bd7f5a3d4f25e7664d
/* * 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
examples/camel-example-telegram/src/main/java/org/apache/camel/example/telegram/usage/SendMessageUsage.java
objectiser/camel
apache-2.0
1,504
36
codeparrot/github-code
b238f52272329b555958ffacff16798e160e6c96664c34d7c9b2fe2e3b875b1b
/*! * ${copyright} */ sap.ui.define([], function() { "use strict"; /** * PlanningCalendar renderer. * @namespace */ var PlanningCalendarRenderer = {}; /** * Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}. * * @param {sap.ui.core.RenderManager} oRm The R...
JavaScript
src/sap.m/src/sap/m/PlanningCalendarRenderer.js
SQCLabs/openui5
apache-2.0
2,115
83
codeparrot/github-code
44a59519a85c4f27ed91fbb49481b5d3721a91579becc91e35c2908b18201e21
/* * 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
modules/core/src/main/java/org/apache/sandesha2/msgprocessors/AckRequestedProcessor.java
apache/sandesha
apache-2.0
10,907
279
codeparrot/github-code
4af4e7f3efc75fdc5b09868e76e5fe1bcb1ee01889245fa8c7c21d9b9bb0fb84
/* Copyright (c) 2013-2014 the Civetweb developers * Copyright (c) 2013 No Face Press, LLC * * License http://opensource.org/licenses/mit-license.php MIT License */ #include "CivetServer.h" #include <stdlib.h> #include <string.h> #include <assert.h> #include <stdexcept> #ifndef UNUSED_PARAMETER #define UNUSED_PA...
C++
third_party/civetweb/CivetServer.cpp
saschazelzer/CppMicroServices
apache-2.0
15,441
595
codeparrot/github-code
bc7c6997571e0e715995976c375fb42f43c17915f9d53e43511a16e003f59d50
/* * 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
server/src/test/java/org/elasticsearch/persistent/PersistentTasksDecidersTestCase.java
strapdata/elassandra
apache-2.0
5,963
135
codeparrot/github-code
9bf2cacdeb32c03843d585380e827bffe85da38c56ae3c887aff3769095f6afd
/* * #%L * Fuse Patch :: Core * %% * Copyright (C) 2015 Private * %% * 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
core/src/main/java/org/wildfly/extras/patch/Version.java
tdiesler/fuse-patch
apache-2.0
13,875
421
codeparrot/github-code
8af3732bce5bad21be775cf14c27f5ecc570c207a9c26f0da30a3afae9d332c3
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
platform/diff-impl/src/com/intellij/diff/tools/util/SyncScrollSupport.java
akosyakov/intellij-community
apache-2.0
14,789
372
codeparrot/github-code
2f1f4d5cc3c02d3d61b9072a7a0f2565f0dadaa21b75288f1bcd65e6c7802a99
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/autoscaling/AutoScaling_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/autoscaling/model/Response...
C
aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/DescribeInstanceRefreshesResult.h
awslabs/aws-sdk-cpp
apache-2.0
6,379
158
codeparrot/github-code
d5e3a6f5a4a5efec052e73e875e61e40c78963872d1daa0cad139a6b91244a5b
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/snowball/Snowball_EXPORTS.h> namespace Aws { template<typename RESULT_TYPE> class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namesp...
C
aws-cpp-sdk-snowball/include/aws/snowball/model/UpdateClusterResult.h
awslabs/aws-sdk-cpp
apache-2.0
751
37
codeparrot/github-code
64e9ab3e1a57e97e3955a363e711e9d27e3d9aaabadd4830c246f326dbc38d48
package org.hibernate.examples.mapping.compositeId.manytoone; import lombok.AccessLevel; import lombok.Getter; import lombok.Setter; import org.hibernate.annotations.CacheConcurrencyStrategy; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; import org.hibernate.examples.m...
Java
hibernate-examples/src/test/java/org/hibernate/examples/mapping/compositeId/manytoone/OrderDetail.java
milcom/hibernate-redis
apache-2.0
1,866
67
codeparrot/github-code
d882ec3514ad5640641273da702bac9736756fcb046baabb8ef075ae8c01066c
/* * 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-ec2/source/model/SlotDateTimeRangeRequest.cpp
chiaming0914/awe-cpp-sdk
apache-2.0
2,975
98
codeparrot/github-code
c92452c74320f64962e16b265cf8841e1d3f8ca0a4cae56725dd5810c482fbd3
/* * 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
server/src/main/java/org/elasticsearch/common/time/DateUtils.java
gingerwizard/elasticsearch
apache-2.0
18,162
399
codeparrot/github-code
5d8967c668581d4e985e3f110588ba84380c1e93070063cf1137a95a5b3f252d
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
spring-social-google/src/test/java/org/springframework/social/google/api/calendar/CalendarTemplate_CalendarUrlTests.java
secondsun/spring-social-google
apache-2.0
6,168
179
codeparrot/github-code
0e8c0e5d4338284375e9f37f3616d4d9a4171b70553966ec65fa822fd33a953b
/* * Copyright 2000-2013 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/github/src/org/jetbrains/plugins/github/api/GithubAuthorizationRaw.java
android-ia/platform_tools_idea
apache-2.0
1,577
51
codeparrot/github-code
c17a543006bd1fc6e2b472c6632a098d4eb1e64ff9953144a54af5c618f0c958
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "bytes" "errors" "io" "strconv" "strings" "github.com/appc/acpush/Godeps/_workspace/src/golang.org/x/net/html/atom" ) // A TokenT...
GO
Godeps/_workspace/src/golang.org/x/net/html/token.go
dgonyeo/acpush
apache-2.0
30,294
1,220
codeparrot/github-code
140072d0cd5eef9faa6cd0630a5b9468cea20e3c9f850fca0749ffe2bb8b7818
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
core-common/src/main/java/org/apache/kylin/common/persistence/StringEntity.java
apache/kylin
apache-2.0
2,413
80
codeparrot/github-code
d0d7f74f73ff5cdc8b714ba0f9a4f14d1ba73f21187154073fb7a87bbe7199ac
/* Copyright 2015 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
GO
pkg/controller/persistentvolume/persistentvolume_provisioner_controller.go
mjg59/kubernetes
apache-2.0
20,480
508
codeparrot/github-code
c1e4c8e1481c2472d42c61369577c7a4368a442aafbc7b4d671d8c0dbb402ce5
/* * 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
runners/flink/runner/src/test/java/org/apache/beam/runners/flink/streaming/UnboundedSourceWrapperTest.java
jasonkuster/beam
apache-2.0
12,986
353
codeparrot/github-code
20675303c1e81604957e68f8c80f240cc2fc8be3286fe2d130f114465d8f4526
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/sesv2/SESV2_EXPORTS.h> #include <aws/sesv2/model/DomainDeliverabilityCampaign.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonWebServiceRes...
C
aws-cpp-sdk-sesv2/include/aws/sesv2/model/GetDomainDeliverabilityCampaignResult.h
awslabs/aws-sdk-cpp
apache-2.0
2,644
76
codeparrot/github-code
2685a3195a0f54528942a2890466d1ee58e7da91189efcf3f0b67ee5119dc924
/* * Copyright (C) 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 agree...
JavaScript
test/robot/web/www/js/viewer.js
Qining/gapid
apache-2.0
2,854
102
codeparrot/github-code
85a01ee645ffba66e6250fde343f7c3beb58567a05f6f952f26378ca1d5016a7
# Copyright 2015. 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 la...
Python
neutron_plugin_contrail/plugins/opencontrail/vnc_client/router_res_handler.py
vpramo/contrail-neutron-plugin
apache-2.0
24,484
580
codeparrot/github-code
760d9616c921060195f07acbf1e4d8d1b7635ab024d44f4ef41bd4d8ead7cce3
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
core/src/main/java/org/elasticsearch/cluster/routing/UnassignedInfo.java
mmaracic/elasticsearch
apache-2.0
14,497
373
codeparrot/github-code
304c47dae8bd210f996ac0224f07ee114cc428e829ad1210e869288d587909bb
/* * 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/freemarker/ext/beans/BeansWrapperMiscTest.java
awils18/incubator-freemarker
apache-2.0
2,053
58
codeparrot/github-code
e34412ab3ed36142f43b20180172d648238a366ed6db2a7eefc36695dd926082
/* * Copyright (C) Scott Cranton and Jakub Korab * https://github.com/CamelCookbook * * 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 ...
Java
camel-cookbook-split-join/src/main/java/org/camelcookbook/splitjoin/splitaggregate/ExceptionHandlingSetAggregationStrategy.java
leandrosilvaferreira/camel-cookbook-examples
apache-2.0
1,655
47
codeparrot/github-code
5b29e9eb1b2ab2a970b5342ce41b582df5847f7c9bee921c1c4fa74ce6d5a90a
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
C
src/runtime/vulkan/vulkan_common.h
Laurawly/tvm-1
apache-2.0
3,959
117
codeparrot/github-code
e9f581fd541b816c84e8669a383a2f93c88e9c411d136daa8d922062512393a1
// Copyright 2018 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. #ifndef V8_OBJECTS_JS_REGEXP_STRING_ITERATOR_INL_H_ #define V8_OBJECTS_JS_REGEXP_STRING_ITERATOR_INL_H_ #include "src/objects/js-regexp-string-iterator...
C
v8_6_7/src/objects/js-regexp-string-iterator-inl.h
zero-rp/miniblink49
apache-2.0
1,162
36
codeparrot/github-code
863266f62a02ad6a78b0c1819bf8b2df91ab5542396e1413e11a2ae583d289ee
/* * Copyright 2003-2013 Dave Griffith, Bas Leijdekkers * * 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 applicab...
Java
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/jdk/ForeachStatementInspection.java
android-ia/platform_tools_idea
apache-2.0
6,420
153
codeparrot/github-code
0bfb903d880ee6db446023b235a5df6d82e9916fabe197dee945bf5f91def7e8
#!/usr/bin/env python # # VM Backup extension # # Copyright 2015 Microsoft 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 # # U...
Python
VMEncryption/main/oscrypto/ubuntu_1604/Ubuntu1604EncryptionStateMachine.py
Azure/azure-linux-extensions
apache-2.0
7,381
204
codeparrot/github-code
ebb25215b032e0b53c3b84d0b20bfbb6d3121ec6df1afaf0929f9c489b21f0d1
(function($) { 'use strict'; if (!$.version || $.version.major < 2) { throw new Error('This version of OpenSeadragonZoomLevels requires OpenSeadragon version 2.0.0+'); } $.Viewer.prototype.zoomLevels = function(options) { if (!this.zoomLevelsInstance || options) { options =...
JavaScript
src/zoom-levels.js
picturae/OpenSeadragonZoomLevels
apache-2.0
4,128
126
codeparrot/github-code
584a2ee2a0fc9726cba9e9576bc2deb328b6532006ed2752571da1f571954d0d
/* * Copyright (c) 2015 Spotify AB. * * 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,...
Java
heroic-component/src/main/java/com/spotify/heroic/aggregation/BucketAggregationInstance.java
lucilecoutouly/heroic
apache-2.0
7,910
244
codeparrot/github-code
76383efe3dcd0d8292119af4f7c513a0fc4bfe3094d62d20b437556960a19343
# ----------------------------------------------------------------------------- # Copyright 2002-2013, OpenNebula Project (OpenNebula.org), C12G Labs # # 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 Lice...
Ruby
src/mad/ruby/Ganglia.rb
gargamelcat/ONE4
apache-2.0
4,717
169
codeparrot/github-code
581abd50afd26fda0a0814870715c6a19ea97acba76f86ff974318ecd3dd1522
/** * Copyright 2009-2016 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 * * Unle...
Java
src/test/java/org/apache/ibatis/submitted/keygen/Jdbc3KeyGeneratorTest.java
nyer/mybatis-3
apache-2.0
3,606
101
codeparrot/github-code
b04a49925fdb923698ab3746ef4ebc3581d18e90f9cb3a27d1ec91f368a27559
// Copyright 2012 the V8 project authors. 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 of ...
C
v8/src/lithium-allocator.h
mogoweb/webkit_for_android5.1
apache-2.0
20,304
641
codeparrot/github-code
e9bbd4ef5ba07484994c2225698f4b5134ab38521ae440ddb558219cfe31aab1
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: $RCSfile: IntensityCurveVTK.h,v $ Language: C++ Date: $Date: 2004/07/28 13:05:57 $ Version: $Revision: 1.2 $ Copyright (c) 2003 Insight Consortium. All right...
C
Unsupported/IntensityRescaler/Libraries/Display/Plot/IntensityCurveVTK.h
NIRALUser/niral_utilities
apache-2.0
2,635
86
codeparrot/github-code
676bad1e76c6028ed30579088e0f2b3e1a5ecc462b938d50d3f6f3bf8a104b1b
/* Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
GO
cmd/kubeadm/app/cmd/upgrade/apply.go
juju-solutions/kubernetes
apache-2.0
12,588
277
codeparrot/github-code
d7811438e6bf74fae7c735392d3c00a06428ff7279fb03ceed1ecb1ef45e4032
package org.eclipse.jetty.util.log; import static org.hamcrest.Matchers.containsString; import static org.hamcrest.Matchers.not; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import org.junit.Assert; public class StdErrCapture { private ByteArrayOutputStream test; private PrintStream err...
Java
jetty-util/src/test/java/org/eclipse/jetty/util/log/StdErrCapture.java
jamiepg1/jetty.project
apache-2.0
1,180
53
codeparrot/github-code
3ed46b037c43c21bf0fb219f00cdcdc32b607fe2cd3b12cf47fe9e3a9d688a61
/*** Copyright (c) 2015 CommonsWare, 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, so...
Java
RecyclerView/VideoTable/src/com/commonsware/android/recyclerview/videotable/BaseVideoController.java
Jumshaid/empublite
apache-2.0
1,773
55
codeparrot/github-code
65adfd7b4320ffaa0e606e99c773b2f240cf378af27519cb839f6f63c5a54d92
/* Boost interval/detail/x86gcc_rounding_control.hpp file * * Copyright Hervé Brönnimann, Guillaume Melquiond, Sylvain Pion 2002 * Permission to use, copy, modify, sell, and distribute this software * is hereby granted without fee provided that the above copyright notice * appears in all copies and that both that ...
C++
src/3rd party/boost/boost/numeric/interval/ext/x86_fast_rounding_control.hpp
OLR-xray/OLR-3.0
apache-2.0
2,887
70
codeparrot/github-code
fb984070de74c7db545de40ee67b2569dd0ba04e2ef46129dc7cd5d50bfa7d53
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
processing/src/main/java/org/apache/druid/query/topn/Historical1SimpleDoubleAggPooledTopNScannerPrototype.java
dkhwangbo/druid
apache-2.0
3,661
87
codeparrot/github-code
de517fd57084f636714ae0d4c9082da85689f4cc0dd32957e5d97158df5b34b8
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/chime/model/RoomMembership.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespac...
C++
aws-cpp-sdk-chime/source/model/RoomMembership.cpp
aws/aws-sdk-cpp
apache-2.0
2,360
120
codeparrot/github-code
2cef88ddeced8dcebb7ba37fdb9428a7fa56db36fbdf0ff3af58d0625249f5e9
/* * 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
oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/CompositeIndexer.java
mreutegg/jackrabbit-oak
apache-2.0
2,709
91
codeparrot/github-code
3789fdd5274e3c10ded90cbbc081df8f9ddf18a20e23411cf06294a8848e19c2
/******************************************************************************* * * Pentaho Big Data * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
Java
legacy/src/main/java/org/pentaho/amazon/emr/ui/AmazonElasticMapReduceJobExecutorDialog.java
mkambol/big-data-plugin
apache-2.0
10,831
217
codeparrot/github-code
b1848b132fe44f36a5d8cb01334f4f3b5f8f7659f28b59ab231ee9ebffab219c
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
tensorflow/core/ops/ragged_conversion_ops.cc
davidzchen/tensorflow
apache-2.0
10,170
268
codeparrot/github-code
fef2dafa1550472ab9c791da722f21d17a8f3d21584dca9479c2541f5644ce20
// 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/test/bench/shootout-nbody.rs
BurntSushi/rust
apache-2.0
4,767
169
codeparrot/github-code
b9602250b77139e644bf80f014e76b7e6ce6a07ec1af518f7cd32e95d7e5be03
-- -- code from https://github.com/leafo/loadkit -- local insert, remove do local _obj_0 = table insert, remove = _obj_0.insert, _obj_0.remove end local dirsep, pathsep, wildcard = unpack((function() local _accum_0 = { } local _len_0 = 1 for c in package.config:gmatch("[^\n]") do _accum_0[_len_0] = c ...
Lua
tools/loadkit.lua
LuaDist2/harpseal
apache-2.0
3,249
135
codeparrot/github-code
a3317455ea3e5dd6507d2e9ddd5a96f1f4b70c33ee98022fb821dd411a3bcd15
/* * Copyright 2010-2016 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 "l...
Java
aws-java-sdk-cloudsearch/src/main/java/com/amazonaws/services/cloudsearchv2/model/transform/LiteralOptionsStaxUnmarshaller.java
mhurne/aws-sdk-java
apache-2.0
3,535
84
codeparrot/github-code
a53ef3d5711ef01b91eec5e40d2556ffa3414317c3edc38f35f1db1c5598d732
package sampler.supervised.regression.slda; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.util.ArrayList; import java.util.Collections; import optimization.GurobiMLRL2Norm; import sampling.likelihood.DirMult; import util.IOUtils; import util.MiscUtils; import util.Ranki...
Java
src/sampler/supervised/regression/slda/LexicalSLDA.java
vietansegan/segan
apache-2.0
17,600
511
codeparrot/github-code
18c74c1f8e44e0ea388fd21fb851b6a81f6a11cec988137a38c65674d92b7ac7
/* * 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
src/main/scala/org/apache/spark/examples/ml/SimpleParamsExample.scala
shenbaise/mltoy
apache-2.0
4,583
103
codeparrot/github-code
f273ca0d4a2a079f262828166bb6adee67a6ee8000a19d3d4605b3e1e28137b0
<?php /** * log4php is a PHP port of the log4j java logging package. * * <p>This framework is based on log4j (see {@link http://jakarta.apache.org/log4j log4j} for details).</p> * <p>Design, strategies and part of the methods documentation are developed by log4j team * (Ceki Gülcü as log4j project founder and ...
PHP
libraries/log4php.debug/appenders/LoggerAppenderPhp.php
basiljose1/byjcrm
apache-2.0
2,605
85
codeparrot/github-code
6b57ab3c85569ed51c6739c639a0f06f8c9ce98a1a139c9019cea4d114506ac4
/* * 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-model/src/main/java/org/apache/camel/model/dataformat/ProtobufDataFormat.java
apache/camel
apache-2.0
16,129
517
codeparrot/github-code
66de95a8d83be9900325ef0154d863743ee00b4846574945755d3a5f3c1c17a2
/* * Copyright 2017 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
JavaScript
server/webapp/WEB-INF/rails.new/webpack/models/roles/roles.js
stephen-murby/gocd
apache-2.0
5,179
190
codeparrot/github-code
362772779f319246f6d44ba927b440dd4a17bb50b7bf0c47466dbf5e4d6cd7eb
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT // IT'S JUST JUNK FOR OUR DOCS! // ++++++++++++++++++++++++++++++++++++++++++ /*! * Copyright 2014-2015 Twitter, Inc. * * Licensed under the Creative Commons Attribution 3.0 Unported License. For * details, see https://creativecommons.org/licenses/by/3.0/. */ // Intend...
JavaScript
src/main/resources/com/lofidewanto/demo/resource/themes/interseroh/bootstrap/js/ie-emulation-modes-warning.js
lofidewanto/demo-gwt-springboot
apache-2.0
2,137
52
codeparrot/github-code
3f23b4c9199a10c6e839dbd0e22ba350df054c6f158a6fcc5baafd229f97911a
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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...
C#
Engine/DataFeeds/NullDataFeed.cs
AlexCatarino/Lean
apache-2.0
3,146
99
codeparrot/github-code
8c5311d20bcc0c6e877fab521638079db27527e8e51e1a01046ac952346944c6
// +build linux freebsd package daemon import ( "fmt" "io/ioutil" "os" "path/filepath" "strconv" "syscall" "time" "github.com/Sirupsen/logrus" "github.com/docker/docker/container" "github.com/docker/docker/daemon/links" "github.com/docker/docker/pkg/idtools" "github.com/docker/docker/pkg/mount" "github....
GO
daemon/container_operations_unix.go
xuxinkun/docker
apache-2.0
8,075
281
codeparrot/github-code
9515897cad3d243e6dce37ef62b9372a368d3eaa1f98afcfcf61818ed6edd95d
/* * Copyright 2012 Harald Wellmann. * * 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
core/pax-exam-spi/src/main/java/org/ops4j/pax/exam/spi/reactors/ReactorManager.java
koma-akdb/org.ops4j.pax.exam2
apache-2.0
16,857
473
codeparrot/github-code
0a0bb60d3b763c6ca5933089cbad9a5c00daab18fe543eb10753a5cea1b88e6d
/* * Copyright 2014-present Facebook, 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...
Java
test/com/facebook/buck/artifact_cache/HttpArtifactCacheTest.java
zhan-xiong/buck
apache-2.0
23,448
553
codeparrot/github-code
879f008ea149c0869dab1ae8008c0f1e3b23c7570dbec93fb8eb21ca95beeb84
//======================================================================== //Copyright 2007-2009 David Yu dyuproject@gmail.com //------------------------------------------------------------------------ //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance...
Java
protostuff-api/src/main/java/io/protostuff/FilterOutput.java
Shvid/protostuff
apache-2.0
5,256
163
codeparrot/github-code
6b0d49683bfaf6f4596e6035aada2ccc0b1f37c39850f4648eed1b42f3f004d6
/* * Copyright 2000-2013 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/ui-designer-core/src/com/intellij/designer/DesignerToolWindow.java
android-ia/platform_tools_idea
apache-2.0
5,265
166
codeparrot/github-code
4c4c14908d1fae3f3a88370b78ea5cfbb85fd9192f7faf420ef559aac57ebf10
/* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you m...
Java
src/main/java/org/elasticsearch/action/admin/indices/warmer/delete/DeleteWarmerResponse.java
dongaihua/highlight-elasticsearch
apache-2.0
1,709
58
codeparrot/github-code
60a2cb5b55be5d3d4731cbf9e7d3d6a065892c00f7df33ae3a809c862d6f5236
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2013 Taobao 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/lic...
Python
glance/store/sheepdog.py
cloudbau/glance
apache-2.0
10,437
309
codeparrot/github-code
bbf80ff6c332db51975976a9dac9e1d14d47370232dd65c936cd14aa4d295e0b
import * as THREE from 'three'; import _ from 'lodash'; import { loadMaterial } from 'utils/models'; import trafficLightMaterial from 'assets/models/traffic_light.mtl'; import trafficLightObject from 'assets/models/traffic_light.obj'; import TrafficControlsBase from 'renderer/traffic_controls/traffic_controls_base'; ...
JavaScript
modules/dreamview/frontend/src/renderer/traffic_controls/traffic_signals.js
xiaoxq/apollo
apache-2.0
6,679
190
codeparrot/github-code
dc7ca5e75685822393187a47dfb2ec5f4aefebb919634f7a6be306b5a223a0bb
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/guardduty/GuardDuty_EXPORTS.h> #include <aws/guardduty/GuardDutyRequest.h> namespace Aws { namespace GuardDuty { namespace Model { /** */ class AWS_GUARDDUTY_API Ge...
C
aws-cpp-sdk-guardduty/include/aws/guardduty/model/GetInvitationsCountRequest.h
awslabs/aws-sdk-cpp
apache-2.0
995
37
codeparrot/github-code
e914ba29b53a4ba9e04400593ff6e525519c47b1462050baf469de9ff5090fe5
/* Copyright 2015 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/server.go
abutcher/kubernetes
apache-2.0
29,077
814
codeparrot/github-code
a73069e7beec4779182e976016feee84a6578f89228dd501633eed7f0ba8e218
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
platform/util/src/com/intellij/util/containers/TreeTraversal.java
jk1/intellij-community
apache-2.0
24,825
801
codeparrot/github-code
3d2b345bb8ca8bab9115a84a35b16901565bc54b69715236bec0cbda8fb7ce49
/* This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the license, or (at your option) any later version. */ package ee.ioc.cs.jbe.browser.config; import ee...
Java
src/java/ee/ioc/cs/jbe/browser/config/BrowserConfig.java
dubenju/javay
apache-2.0
5,619
175
codeparrot/github-code
2b8c06d106a53eebcc468dca70c5b0db3caffcfdfb63f5b3f274785b6093684d
// 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 you under the Apache License, Version 2.0 (the // "License"); you m...
Java
java/client/src/org/openqa/selenium/support/events/AbstractWebDriverEventListener.java
joshmgrant/selenium
apache-2.0
3,513
132
codeparrot/github-code
5cce7e7c137e58d015effb26229af169e474a04ecb86971e897bd2275370c9e8
using System; using System.Threading.Tasks; using Elasticsearch.Net; using System.Threading; namespace Nest { public partial interface IElasticClient { /// <inheritdoc/> IGetUserResponse GetUser(Func<GetUserDescriptor, IGetUserRequest> selector = null); /// <inheritdoc/> IGetUserResponse GetUser(IGetUserRe...
C#
src/Nest/XPack/Security/User/GetUser/ElasticClient-GetUser.cs
CSGOpenSource/elasticsearch-net
apache-2.0
1,872
49
codeparrot/github-code
7d9d2e132245512544ec5229c81f299dda2477b8725823a7f5582e24eae5ea29
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" > <meta name="google-site-verification" content="GcrnbgZkRkwn51jQmX7QBaMKSymq1h-iG8G_xeILIkM" /> <title>Look at the man in the mirror – ...
HTML
static/events/2015-siliconvalley/proposals/Look at the man in the mirror The smart way for change management in personality/index.html
joelaha/devopsdays-web
apache-2.0
15,717
393
codeparrot/github-code
3dfb96cca73c5eb510ec4e9014737c9875f5077a7aa97ee6b13c87a8a9fb10d1
/* * Copyright 2002-2006 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 require...
Java
spring-richclient-sandbox/src/test/java/org/springframework/rules/constraint/property/PropertyInGroupConstraintTests.java
springrichclient/springrcp
apache-2.0
3,183
103
codeparrot/github-code