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
6425cc63337c072ed5fbeb43e0cc87e2d57486d060a97a3db1073681a6682f00
package Text::Wrap; require Exporter; @ISA = qw(Exporter); @EXPORT = qw(wrap fill); @EXPORT_OK = qw($columns $break $huge); $VERSION = 2005.0824_01; use vars qw($VERSION $columns $debug $break $huge $unexpand $tabstop $separator $separator2); use strict; BEGIN { $columns = 76; # <= screen width ...
Perl
git/lib/perl5/5.8.8/Text/Wrap.pm
caplin/qa-browsers
unlicense
6,777
224
codeparrot/github-code
d4df2d221c23b359b2695e03a0e0ee5bd6ea6c50306089e22638ad51027fa2e2
package com.google.bitcoin.bouncycastle.asn1.cms.ecc; import com.google.bitcoin.bouncycastle.asn1.ASN1Encodable; import com.google.bitcoin.bouncycastle.asn1.ASN1EncodableVector; import com.google.bitcoin.bouncycastle.asn1.ASN1OctetString; import com.google.bitcoin.bouncycastle.asn1.ASN1Sequence; import com.google.bitc...
Java
src/com/google/bitcoin/bouncycastle/asn1/cms/ecc/MQVuserKeyingMaterial.java
barmstrong/bitcoin-android
apache-2.0
3,431
113
codeparrot/github-code
32a79cd38b001292996fb08fb91681d66f0abfc09f09e4a3b3ba1cd0d3571832
/* * * 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"); y...
Java
modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/graph/ws/WSPort.java
hasinitg/airavata
apache-2.0
4,860
138
codeparrot/github-code
0a5700f3768b51d87add2124311fb8f459151956ab25d3d461f90d3d86213a5f
/* * 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
test/com/facebook/buck/features/rust/PrebuiltRustLibraryDescriptionTest.java
shs96c/buck
apache-2.0
3,094
70
codeparrot/github-code
552604bf78249d04a38814d4a904e56eedaa55edd6fd89cb546c24d1fe51b9a0
package org.apereo.cas.configuration.model.support.saml.idp; import org.apereo.cas.configuration.model.SpringResourceProperties; import org.apereo.cas.configuration.support.RequiresModule; import com.fasterxml.jackson.annotation.JsonFilter; import lombok.Getter; import lombok.Setter; import lombok.experimental.Access...
Java
api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/saml/idp/SamlIdPDiscoveryProperties.java
apereo/cas
apache-2.0
1,038
37
codeparrot/github-code
5a5fb917fe12cd50d3816f19f1300e588439cff54ca73768eb57f4ff8178bcf2
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
Java
dcm4jboss-all/tags/DCM4CHEE_2_14_2_TAGA/dcm4jboss-sar/src/java/org/dcm4chex/archive/xdsi/XDSIService.java
medicayun/medicayundicom
apache-2.0
50,870
1,303
codeparrot/github-code
53a07e0e621b54deceba2c0bec6e93bd938a48256306dbb5c5d517e2d8d9ae5b
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Immutable; using System.Composition; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysi...
C#
src/Features/Core/Portable/AddRequiredParentheses/AddRequiredParenthesesCodeFixProvider.cs
MichalStrehovsky/roslyn
apache-2.0
3,073
68
codeparrot/github-code
8ab5c9d917b3169a9c946e14f6f01720e135df96571c4b8d5b88f9af1d17d273
/* * Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Java
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/cache/CacheRemoveAllKeysMessageTask.java
emre-aydin/hazelcast
apache-2.0
3,582
103
codeparrot/github-code
559c366233d0c12ac6dda3ed29b809507774f07c8ccba058dee43f3ca9d00062
/** * 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
frame/kafka-0.11.0/kafka-0.11.0.1-src/core/src/main/scala/kafka/message/ByteBufferMessageSet.scala
wangcy6/storm_app
apache-2.0
7,850
198
codeparrot/github-code
9b9284a73520881340820a5b90574b630fd7a91bd90ebcd70f13269b979b9531
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
plugins/github/src/org/jetbrains/plugins/github/api/GithubApiUtil.java
ThiagoGarciaAlves/intellij-community
apache-2.0
26,170
665
codeparrot/github-code
05a0b6a2cc41ba90b7041617f73746737fc3748a7509d7e33d8a4ce5ec620715
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
platform/vcs-impl/src/com/intellij/openapi/vcs/update/ShowUpdatedDiffActionProvider.java
jwren/intellij-community
apache-2.0
8,195
209
codeparrot/github-code
f36b29803cd5ad0f4f8f96352a3d84db9e394ef5805d0264c9187758887b37bb
/* * 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
ehcache-api/src/test/java/org/ehcache/config/units/MemoryUnitTest.java
jhouserizer/ehcache3
apache-2.0
12,836
220
codeparrot/github-code
3ff61e7ad045e351b9e16b2ec9941b716612a468246379e6e6f5a9c7f53443f2
/* * 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/spark/examples/ml/JavaNormalizerExample.java
mrchristine/spark-examples-dbc
apache-2.0
1,864
56
codeparrot/github-code
0072e4922e5861759aacede7f3afa641cc77e83cdf519116b43a9eb63d93062b
/* * 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/test/java/org/apache/geode/internal/cache/CacheServerLauncherJUnitTest.java
pivotal-amurmann/geode
apache-2.0
1,761
53
codeparrot/github-code
f7c5d4e539c8a0c0b47fa239e0c496c0a22002affc10ee7f72b0c4c5ef8d1db4
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
Java
src/main/java/org/codehaus/groovy/vmplugin/v8/CacheableCallSite.java
paulk-asert/groovy
apache-2.0
3,138
91
codeparrot/github-code
decc49744ea29cbdc5064599997da9db45a5fe872408da6b16189cb9a998c136
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.ide.util; import com.intellij.codeInsight.generation.*; import com.intellij.icons.AllIcons; import com.intellij.ide.IdeBundle; import com.intellij.openapi.actionSystem.*; impor...
Java
platform/lang-impl/src/com/intellij/ide/util/MemberChooser.java
smmribeiro/intellij-community
apache-2.0
31,519
920
codeparrot/github-code
c8f020aa61d7bcd3fab8a8ef70bf43f65bd993de30f556e27d568daf660a5c00
/* * Copyright (c) 2005-2011 Grameen Foundation USA * 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 * ...
Java
questionnaire/src/test/java/org/mifos/platform/questionnaire/ui/controller/SectionDetailFormTest.java
madhav123/gkmaster
apache-2.0
3,065
66
codeparrot/github-code
46d3eb84083462695131193d7e3fd82abb69f9534dd112e97c8f87d911280e60
/* * * 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"); y...
Java
modules/workflow-model/workflow-engine/src/main/java/org/apache/airavata/workflow/engine/WorkflowEngineImpl.java
hasinitg/airavata
apache-2.0
4,497
92
codeparrot/github-code
fc5d0ff97b655af20c029cfd8310c609048829523edff812527032aec22bacd5
#ifndef _POSTQUERYRERANK_H_ #define _POSTQUERYRERANK_H_ #include "HashTableT.h" #include "Msg20.h" #include "Sanity.h" #include "fctypes.h" class Msg40; #include "SearchInput.h" struct M20List; // type for saving Msg20s from results prior to first result struct savedM20Data { int32_t score; int tier; int64_t doc...
C
PostQueryRerank.h
wakermahmud/open-source-search-engine
apache-2.0
5,767
215
codeparrot/github-code
317c533e0d9c3d34c05a30507cebb290b333ae859b38d265c1e0a18c2acfa198
/* * 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/groovy/src/org/jetbrains/plugins/groovy/intentions/conversions/IndexedExpressionConversionPredicate.java
liveqmock/platform-tools-idea
apache-2.0
2,533
59
codeparrot/github-code
43c6cf18fa77a7cb17e77e0ad0aea713adc9f46d86baa351ca83d36aae62cb55
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>ZooKeeperListener xref</title> <link type="tex...
HTML
thirdparty/hbase-1.1.1.2.3.0.0-2557/docs/xref/org/apache/hadoop/hbase/zookeeper/ZooKeeperListener.html
scalingdata/Impala
apache-2.0
11,234
101
codeparrot/github-code
2e1b6b3e2565882a94bec7f47ef5065dbe148d09131cd7da99e690b1029ddc2b
/* * 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-jms/src/test/java/org/apache/camel/component/jms/tx/JmsToJmsTransactedTest.java
objectiser/camel
apache-2.0
4,933
136
codeparrot/github-code
0fbd778a8e73220b3842bc9b4c384ef5305521f1c53417da902626509a778331
/* * $Id$ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "Lice...
Java
src/plugins/osgi/src/main/java/org/apache/struts2/osgi/DefaultBundleAccessor.java
WillJiang/WillJiang
apache-2.0
7,481
218
codeparrot/github-code
3fcde487e799e9f28fd8c4054c93a7483e172a59d09d5e592f781a389dd189b9
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
Java
ui/src/org/pentaho/di/ui/trans/steps/creditcardvalidator/CreditCardValidatorDialog.java
jjeb/kettle-trunk
apache-2.0
13,899
370
codeparrot/github-code
f04e31a008aebb81a847d235e13535cac3c482a905b0f9b6104ebdcdc3473bf1
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <atomic> #include <memory> #includ...
C
3rdParty/rocksdb/6.27/trace_replay/trace_replay.h
wiltonlazary/arangodb
apache-2.0
5,934
180
codeparrot/github-code
714491f2418f20f273fbe6f976495ea545bd947533572d773cf706f648bacf00
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
Java
feel-juel/src/main/java/org/camunda/bpm/dmn/feel/impl/juel/FeelSyntaxException.java
camunda/camunda-engine-dmn
apache-2.0
1,653
50
codeparrot/github-code
82c3d4ab3bedf07a906c1e3ab1364f6aa4543d47797320a655e0dc829132424d
/* * 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
common/src/java/org/apache/hadoop/hive/conf/LoopingByteArrayInputStream.java
nishantmonu51/hive
apache-2.0
3,631
115
codeparrot/github-code
6ae17e7d4417f822bb3b436b9cb131916dd4ad0fb51966dde2201acfe9274cac
# Locate Lua library # This module defines # LUAJIT_FOUND, if false, do not try to link to Lua # LUAJIT_LIBRARIES # LUAJIT_INCLUDE_DIR, where to find lua.h # # Note that the expected include convention is # #include "lua.h" # and not # #include <lua/lua.h> # This is because, the lua location is not standardized an...
CMake
cmake/FindLuaJIT.cmake
mcaleavya/bcc
apache-2.0
2,321
78
codeparrot/github-code
02009142e6a29f482cb720f645f3bd64c3dc6f7a848944f9b49a93de8f8c5690
/* * 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
spark-client/src/main/java/org/apache/hive/spark/client/JobContextImpl.java
winningsix/hive
apache-2.0
2,285
78
codeparrot/github-code
008710e40b7a806a68805778d4ddb232e4b4080ed9702b432724bab00ca7534e
/* * Copyright (c) 2005-2012, 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.o...
Java
modules/siddhi-core/src/main/java/org/wso2/siddhi/core/query/selector/attribute/processor/AggregationAttributeProcessor.java
lankavitharana/siddhi
apache-2.0
2,255
65
codeparrot/github-code
d88acce14e63b108bc92d5e02cbbeebf4cfbf571fc4a7f7472ffa71818aaeb4d
/* * 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-base-jdbc/src/test/java/com/facebook/presto/plugin/jdbc/TestJdbcMetadata.java
sunchao/presto
apache-2.0
8,508
202
codeparrot/github-code
c50203d5cf3b323877352c74ea37d17ff02c7a410fedab187f27efdda74a1cfb
/** * Copyright (C) 2013-2015 Dell, 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.or...
Java
src/main/java/org/dasein/cloud/azure/platform/model/CreateDatabaseRestoreModel.java
greese/dasein-cloud-azure
apache-2.0
3,194
81
codeparrot/github-code
f47699b1b61a021f0bd7197649ba4caccbb842a0490881ddb68b0e90ec7c9574
from typing import Any from django.db import connection from zerver.lib.management import ZulipBaseCommand def create_indexes() -> None: # Creating concurrent indexes is kind of a pain with current versions # of Django/postgres, because you will get this error with seemingly # reasonable code: # ...
Python
zerver/management/commands/create_large_indexes.py
brainwane/zulip
apache-2.0
3,096
82
codeparrot/github-code
70d2f70185e2d8d042f2463f7818e7e621b752d6e5ed6101a0e2204732f39214
/* * Copyright 2012 The Netty Project * * The Netty Project 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/licenses/LICENSE-2.0 * * Unless re...
Java
transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteConnectorChannel.java
yrcourage/netty
apache-2.0
6,314
198
codeparrot/github-code
af4c7e315f040af3c1968b266e5be2a35ac9fbd18d69fba39f10744722aaf07e
/* * 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 n...
Java
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/mirror/MirrorController.java
tabish121/activemq-artemis
apache-2.0
1,934
44
codeparrot/github-code
89ac8da032e26b0c37a2953df552e575072e336601003afe2653ec9e349af010
/* * 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
core/src/main/scala/org/apache/spark/metrics/ExecutorMetricType.scala
WindCanDie/spark
apache-2.0
5,478
157
codeparrot/github-code
ca895aae47cc8806bc9c62061db26fe33ad57b81c388721fefa13a9ee4301e42
/* * 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-dropbox/src/test/java/org/apache/camel/component/dropbox/integration/DropboxTestSupport.java
nicolaferraro/camel
apache-2.0
3,844
106
codeparrot/github-code
6ea96c2bfcc44787d2d5d696bf42195a1f49476baffc639623e6383b0541813c
/* * Copyright (C) 2014 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
demo/src/main/java/com/google/android/exoplayer/demo/simple/SimplePlayerActivity.java
bboyfeiyu/ExoPlayer
apache-2.0
8,386
290
codeparrot/github-code
f9582f55e9f5beacc9feb0c7928ca7784f484446553f4c47bed630dfaca1de8e
/******************************************************************************* * Copyright (c) 2005, 2014 springside.github.io * * Licensed under the Apache License, Version 2.0 (the "License"); *******************************************************************************/ package org.springside.modules.utils; ...
Java
modules/utils/src/main/java/org/springside/modules/utils/Digests.java
quyixia/springside4
apache-2.0
6,262
264
codeparrot/github-code
89a1e8653122f15323fee01183713a355a14271eb41fde7985cf142d56d1430d
/* * 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/test/java/org/apache/camel/processor/DeadLetterChannelUnmarshalSetHeaderTest.java
DariusX/camel
apache-2.0
2,790
84
codeparrot/github-code
966339c8317e3986bd47c9fbf9a0648aca801f412b72b203fbbc51ed4fb7868f
/* 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
sources/org/apache/batik/ext/awt/image/codec/util/ImageDecodeParam.java
sflyphotobooks/crp-batik
apache-2.0
1,265
34
codeparrot/github-code
b7c753ffb9d55b2c2f5575dc87b6eacfe39d11d0497b49372b1b93d4bc467c95
/* * Copyright 2000-2017 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/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebugSessionTab.java
semonte/intellij-community
apache-2.0
17,128
438
codeparrot/github-code
49b1aafccc46f226dd429d000b433b4dfda85e6d5402f1ee53affd3c6348e5fb
package org.grobid.core.main.batch; /** * Class containing args of the batch {@link GrobidMain}. * * @author Damien * */ public class GrobidMainArgs { private String path2grobidHome; private String path2grobidProperty; private String path2Input; private String path2Output; private String processMethod...
Java
grobid-core/src/main/java/org/grobid/core/main/batch/GrobidMainArgs.java
chrismattmann/grobid
apache-2.0
2,331
131
codeparrot/github-code
acf729b702505466f377f4fe9bc224501a65daf65ee24bb861d18ae4a761729d
/* * Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Java
hazelcast/src/test/java/com/hazelcast/client/flakeidgen/impl/FlakeIdGenerator_ClientBackpressureTest.java
emre-aydin/hazelcast
apache-2.0
1,765
49
codeparrot/github-code
3dfb93fbfeb8c0d58d596c74dda81750b509c9ff0ffea535e534a5ffcfa86449
package org.ovirt.engine.core.bll.storage; import java.util.Collections; import java.util.EnumMap; import java.util.List; import java.util.Map; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.Predicate; import org.ovirt.engine.core.bll.Backend; import org.ovirt.engine.core...
Java
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/StorageHelperBase.java
yapengsong/ovirt-engine
apache-2.0
11,151
251
codeparrot/github-code
25ecc354359c5b62ad53d6c5e1abeb23bc790e0addbbf6a8d59606031b61d80f
# Copyright (c) 2010-2012 OpenStack 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 applicable law or agree...
Python
swift/container/replicator.py
larsbutler/swift
apache-2.0
12,083
293
codeparrot/github-code
1f63b45c5942bcd9f2b33b486b7d47094d5d1b5626f7af7ac51ddb18942ad633
/** @file UEFI Component Name(2) protocol implementation for Usb Bus driver. Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution...
C
third_party/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/ComponentName.c
google/google-ctf
apache-2.0
14,539
310
codeparrot/github-code
f5628ef140214b28b4dbbfe4ab2251082b9c082b3661cc8b8b9efca1caea0af1
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; namespace CodeCracker.CSharp.Performance { [DiagnosticAnalyzer(LanguageN...
C#
src/CSharp/CodeCracker/Performance/RemoveWhereWhenItIsPossibleAnalyzer.cs
kindermannhubert/code-cracker
apache-2.0
3,765
81
codeparrot/github-code
f84abd10a7a3158cbc74cc7334a9b78f0961b33696033921666754201e139de0
/* * Copyright 2015 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/incrementaldomsrc/IncrementalDomOutputOptimizers.java
nathancomstock/closure-templates
apache-2.0
4,771
119
codeparrot/github-code
f4eda6fd80ff7647f0aa301312e4679b2c49e418d507550b33d1e469aafd15d7
/* * Copyright 2006 Sascha Weinreuter * * 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
RegExpSupport/src/org/intellij/lang/regexp/psi/impl/RegExpOptionsImpl.java
hurricup/intellij-community
apache-2.0
1,782
59
codeparrot/github-code
4ca5ab2d54097236bc910cbeeecc6e9bfbab5f0fed1e2a181d4f6e25fe568d1c
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.packageDependencies.actions; import com.intellij.analysis.AnalysisScope; import com.intellij.analysis.BaseAnalysisAction; import com.intellij.analysis.BaseAn...
Java
platform/lang-impl/src/com/intellij/packageDependencies/actions/AnalyzeDependenciesAction.java
smmribeiro/intellij-community
apache-2.0
1,486
41
codeparrot/github-code
fdf1164f6867b5c9005ceecc4982aa6d5f1a21895a30fe1e14df25884991e9dd
/* * 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-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/SimpleCxfRsBinding.java
christophd/camel
apache-2.0
17,096
383
codeparrot/github-code
3314739e1a2be929c0b295a408fd5835f7b40618cfd207d25920791069892001
/* * JBoss, Home of Professional Open Source * Copyright 2014 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Vers...
Java
src/main/java/org/jboss/aesh/edit/KeyOperation.java
felipewmartins/aesh
apache-2.0
2,636
95
codeparrot/github-code
0f8498fd054e6c05ed612706fc386c7b977ed6fddce81294e8bc42b09173ec4c
module.exports = function () { this.When(/^I use S3 managed upload to upload(?: a| an) (empty|small|large) buffer to the key "([^"]*)"$/, function (size, key, callback) { var self = this; var buffer = self.createBuffer(size); var params = {Bucket: self.sharedBucket, Key: key, Body: buffer}; self.s3.u...
JavaScript
features/s3/step_definitions/managed_upload.js
guymguym/aws-sdk-js
apache-2.0
4,358
144
codeparrot/github-code
fc3d73fb97d408fa10c87ef73edd7623e4368e079e757cc9b81121d7b05699d3
/** * Copyright 2014 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Java
rxjava-core/src/test/java/rx/ObservableDoOnTest.java
srvaroa/RxJava
apache-2.0
2,430
84
codeparrot/github-code
4bd0ac0ca12d7c91b2d5264f0aa33d3dae92eea7c1cf7a5c80ca6e635d811cc6
//===-- SBValue.cpp ---------------------------------------------*- C++ -*-===// // // 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++
source/API/SBValue.cpp
apple/swift-lldb
apache-2.0
54,357
1,691
codeparrot/github-code
13309da6b55b7fbbdac0c57f20b8b30d458411df208b7d1af4e08a2ec87afd46
#pragma once // MESSAGE SERIAL_UDB_EXTRA_F15 PACKING #define MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F15 179 MAVPACKED( typedef struct __mavlink_serial_udb_extra_f15_t { uint8_t sue_ID_VEHICLE_MODEL_NAME[40]; /*< Serial UDB Extra Model Name Of Vehicle*/ uint8_t sue_ID_VEHICLE_REGISTRATION[20]; /*< Serial UDB Extra Registra...
C
video/legacy/mavlink/matrixpilot/mavlink_msg_serial_udb_extra_f15.h
seeul8er/DroneBridge
apache-2.0
12,087
240
codeparrot/github-code
78be6f9738bc2cc2cddf32cd4380c030bd5164088bbf5727924130c0186fdc1f
/* * Copyright 2018 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 * * Unless required by applicable law or agreed to ...
Java
plugins/openwhisk/src/main/java/com/navercorp/pinpoint/plugin/openwhisk/descriptor/LogMarkerMethodDescriptor.java
suraj-raturi/pinpoint
apache-2.0
2,295
99
codeparrot/github-code
349970aea6efff30ae38da2c2d6c81ad329ebb4258d37271647172be601dcd85
/* * 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
flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroFileSystemFormatFactory.java
rmetzger/flink
apache-2.0
7,445
192
codeparrot/github-code
731fdc86078611b835b29141b8c9c01cf7ad2dfed6acc88c4b5a8b130c62c2c5
/* * Copyright 2004-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
src/main/src/org/compass/core/lucene/engine/transaction/support/PrepareCommitCallable.java
baboune/compass
apache-2.0
1,608
50
codeparrot/github-code
850cfb1c047194b2f489666cc1956b74432c46395b995210a128ff3251674190
# Copyright 2012 OpenStack Foundation # 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 requ...
Python
glance/image_cache/client.py
yanheven/glance
apache-2.0
4,184
134
codeparrot/github-code
5c13af7173144a0a78b01a5c552f63a3e92c0003b72b5f16c0c886480d5e4e8d
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui.tabs.layout.tableLayout; import com.intellij.ui.tabs.TabInfo; import com.intellij.ui.tabs.impl.tabsLayout.TabsLayout; import com.intellij.ui.tabs.impl.tab...
Java
platform/platform-impl/src/com/intellij/ui/tabs/layout/tableLayout/TablePassInfo.java
leafclick/intellij-community
apache-2.0
1,905
69
codeparrot/github-code
8b379a70aa7c4113762be43b35e775eb847d15b009cd2bac5c4e57491054dec1
/****************************************************************************** * Copyright 2019 The Apollo 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 ...
C++
modules/prediction/common/prediction_thread_pool.cc
xiaoxq/apollo
apache-2.0
2,567
85
codeparrot/github-code
9f9f2c17398f52f8b458dde6544199615db6dc2a783dc360763f5442d87994cf
/* * 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 n...
Java
streams/src/main/java/org/apache/kafka/streams/KeyQueryMetadata.java
guozhangwang/kafka
apache-2.0
4,472
137
codeparrot/github-code
2964f422d5f3689e835be2dafa63d6cd837ce5f3fc6e45dd9cf9b87130731207
/* * L.SVG renders vector layers with SVG. All SVG-specific code goes here. */ L.SVG = L.Renderer.extend({ _initContainer: function () { this._container = L.SVG.create('svg'); // makes it possible to click through svg root; we'll reset it back in individual paths this._container.setAttribute('pointer-events...
JavaScript
src/layer/vector/SVG.js
lee101/Leaflet
bsd-2-clause
4,575
173
codeparrot/github-code
a82413cc200aa82e54dfb34dfb5a1c8d0fd12bdaafed2c3b34671f1ec8e51bf0
// Schema Validator example // The example validates JSON text from stdin with a JSON schema specified in the argument. #include "rapidjson/error/en.h" #include "rapidjson/filereadstream.h" #include "rapidjson/schema.h" #include "rapidjson/stringbuffer.h" #include "rapidjson/prettywriter.h" using namespace rapidjson...
C++
third_party/rapidjson-master-20190827/example/schemavalidator/schemavalidator.cpp
haveTryTwo/csutil
bsd-2-clause
2,778
79
codeparrot/github-code
f456f88f5ea6c7753de87cb421cf8eb060589c0d9deb724d82ccd34062526de7
/* Copyright (c) Citrix Systems, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, * with or without modification, are permitted provided * that the following conditions are met: * * * Redistributions of source code must retain the above * copyright notice...
C#
XenAdmin/SettingsPanels/VMHAEditPage.cs
ushamandya/xenadmin
bsd-2-clause
21,270
620
codeparrot/github-code
ff4f8bc580d4c43a7c92b7f5b6e9155a0d1b78f81ccd8a6291a3431acfc3ec2c
package org.hisp.dhis.validation; /* * Copyright (c) 2004-2017, University of Oslo * 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 a...
Java
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/validation/DefaultValidationCriteriaService.java
troyel/dhis2-core
bsd-3-clause
3,639
98
codeparrot/github-code
15dc701a0a300dcd0d0dac4f4367e56258d6ab2826234f36729f106f153a3ea5
// Copyright 2013 The Flutter 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 io.flutter; import io.flutter.embedding.android.FlutterActivityAndFragmentDelegateTest; import io.flutter.embedding.android.FlutterActivityTest; i...
Java
shell/platform/android/test/io/flutter/FlutterTestSuite.java
jamesr/flutter_engine
bsd-3-clause
4,483
103
codeparrot/github-code
463a016d6423235154a3a70eed7a26d8f8984e45e3438e9ed9943fa2c789f69f
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/media/webrtc_logs_ui.h" #include <memory> #include <string> #include <utility> #include <vector> #include "base/bind.h...
C++
chrome/browser/ui/webui/media/webrtc_logs_ui.cc
chromium/chromium
bsd-3-clause
18,017
477
codeparrot/github-code
f7cab299c7a7cc2a51b27e67fdcfe3756575c8cd7d1fb43f5871bf6c0680b319
/** GridStoreAdapter Stores files in Mongo using GridStore Requires the database adapter to be based on mongoclient @flow weak */ import { MongoClient, GridStore, Db} from 'mongodb'; import { FilesAdapter } from './FilesAdapter'; import defaults from '../../defaults'; export cl...
JavaScript
src/Adapters/Files/GridStoreAdapter.js
rendongsc/parse-server
bsd-3-clause
2,208
80
codeparrot/github-code
b17e7168615101ef62039b82cb66fc128421957946404b6fa26a2289294c54d3
// Copyright 2013 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 or at // https://developers.google.com/open-source/licenses/bsd. package gosrc import ( "encoding/json" "fmt" "io" "io/ioutil" "net/http" ) type httpCl...
GO
gosrc/client.go
rjeczalik/gddo
bsd-3-clause
3,241
146
codeparrot/github-code
2846ffe6f162bd068b4edc9b97aaa594937266f6ce960c5034735e2bd6d300ca
/*========================================================================= Program: Visualization Toolkit Module: vtkImplicitPlaneRepresentation.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. T...
C
Widgets/vtkImplicitPlaneRepresentation.h
arnaudgelas/VTK
bsd-3-clause
11,091
333
codeparrot/github-code
720e79db193e0991847081d908cac6a732ba6d87bdda677677cfac5b488ba398
// Copyright 2017 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_STRINGS_STRING_HASHER_INL_H_ #define V8_STRINGS_STRING_HASHER_INL_H_ #include "src/strings/string-hasher.h" #include <type_traits> #includ...
C
v8/src/strings/string-hasher-inl.h
endlessm/chromium-browser
bsd-3-clause
4,970
132
codeparrot/github-code
7d4fe058a81bc7444170b5f7b0faa320a3103eee2538f950b632340ad083ee42
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "services/network/test/url_loader_context_for_tests.h" namespace network { URLLoaderContextForTests::URLLoaderContextForTests() = default; URLL...
C++
services/network/test/url_loader_context_for_tests.cc
chromium/chromium
bsd-3-clause
2,009
78
codeparrot/github-code
6fdbfd7721fac10b70ce1d170bb72c2549a445036bd74005ddf6f48fa2acfd8e
/** * @author Yongnan * @version 1.0 * @time 11/26/2014 * @name PathBubble_BiPartite */ PATHBUBBLES.BiPartite = function (x, y, w, h, data, name) { var tmp; PATHBUBBLES.BubbleBase.call(this, { type: 'BiPartite', mainMenu: true, closeMenu: true, groupMenu: true, html_elements: ['svg'...
JavaScript
js/BiPartite.js
garba1/GraphMirrors
bsd-3-clause
3,873
114
codeparrot/github-code
f44eb82c4f107dffbc411d1b1157539e805a66eeb49d425780cd271607cd3690
// DATA_TEMPLATE: empty_table oTest.fnStart( "oLanguage.sProcessing" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true, "bProcessing": true } ); var oSettings = oTable.fnSettings...
JavaScript
資源/Facemash/DataTables-1.9.4/media/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sProcessing.js
stevemoore113/ch_web_-
mit
1,314
51
codeparrot/github-code
cb03222b89b94b8bf217105686f857fa90041221d4b5a954fb4423def604458b
/*************************************************************************/ /* texture_frame.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
C++
scene/gui/texture_frame.cpp
gokudomatic/godot
mit
4,669
138
codeparrot/github-code
d6fe0e19df8c14a439a4ddf3c19071ed14294cb79a542a292ee607ee2003e8b8
// Copyright (c) 2011-2020 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <util/settings.h> #include <test/util/setup_common.h> #include <test/util/str.h> #include <boost/test/unit_test.h...
C++
src/test/settings_tests.cpp
MarcoFalke/bitcoin
mit
10,068
259
codeparrot/github-code
bb5a009eaa2b6697ab3be0d732d114d6cfbaec8b7e7f43900d57a85d6502d305
//>>built define("dijit/tree/_dndSelector",["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/cookie","dojo/mouse","dojo/on","dojo/touch","./_dndContainer"],function(_1,_2,_3,_4,_5,_6,_7,_8,on,_9,_a){ return _3("dijit.tree._dndSelector",_a,{co...
JavaScript
web/dojo/dijit/tree/_dndSelector.js
niug/DirClia
mit
4,729
186
codeparrot/github-code
5697eee8bd51c33693a1b525c5785eab54417455651eca0199e4d433df156548
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ********************************************************************** * Copyright (C) 2000-2015, International Business Machines * Corporation and others. All Rights Reserved. ***********************...
C++
plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/deps/icu-small/source/common/ucnvlat1.cpp
MTASZTAKI/ApertusVR
mit
22,198
757
codeparrot/github-code
453225b831bf1089a97cc4552b247c0acc02959c4660b090e58930a49b548499
/* My Profile link: https://app.roll20.net/users/262130/dxwarlock GIT link: https://github.com/dxwarlock/Roll20/blob/master/Public/HeathColors Roll20Link: https://app.roll20.net/forum/post/4630083/script-aura-slash-tint-healthcolor Last Updated 2/27/2017 */ /*global createObj getAttrByName spawnFxWithDefinition getObj ...
JavaScript
HealthColors/1.2.0/HealthColors.js
shdwjk/roll20-api-scripts
mit
23,582
448
codeparrot/github-code
6e5eee59225915a5457bb98c0070554a9cda86de9e44839235117c184efb5f44
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, mo...
C#
Netjs/Dependencies/NRefactory/ICSharpCode.NRefactory/Documentation/IdStringMemberReference.cs
praeclarum/Netjs
mit
2,647
73
codeparrot/github-code
ac17ef8911fcecbdabc87fdfb66f60e451b3aa5de44b9f164a26dff03a76b96e
<blockquote cite="https://github.com/paypal/bootstrap-accessibility-plugin" title="paypal/bootstrap-accessibility-plugin"> <p class="jser-sitelink"> <strong>paypal/bootstrap-accessibility-plugin</strong><br /> <a href="https://github.com/paypal/bootstrap-accessibility-plugin" title="paypal/bootstrap-accessibility-plugi...
HTML
data/2014/01/index.html
watilde/jser.info
mit
43,193
862
codeparrot/github-code
f8e7e84958163635b4b8f5f3b76fcf69aa42fb5406d39f9b56e59e93676db93e
class GraphQL::StaticValidation::VariableUsagesAreAllowed include GraphQL::StaticValidation::Message::MessageHelper def validate(context) # holds { name => ast_node } pairs declared_variables = {} context.visitor[GraphQL::Language::Nodes::OperationDefinition] << -> (node, parent) { declared_vari...
Ruby
lib/graphql/static_validation/rules/variable_usages_are_allowed.rb
arronmabrey/graphql-ruby
mit
3,003
83
codeparrot/github-code
bb6e75d66d750746f91959edae5a74b323f809f082bb1468965987127f115446
#include "mex.h" #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include "stdio.h" #include "stdlib.h" #include "string.h" #include "complex.h" // mex -v tt_write.c CC=icc CFLAGS="-fexceptions -fPIC -fno-omit-frame-pointer -pthread" COPTIMFLAGS="-O3" LDOPTIMFLAGS="-O3" typedef str...
C
fmex/tt_read.c
aiboyko/TT-Toolbox
mit
5,436
217
codeparrot/github-code
2a792906f97f1af2e36a1c335ac573cedf695ba1fb4473d87a94eab2e19e6e6c
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>One minute tutorial</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../index.html" title="Chapter&#160;1.&#160;Boos...
HTML
libs/boost_1_50_0/libs/bimap/doc/html/boost_bimap/one_minute_tutorial.html
djsedulous/namecoind
mit
45,884
432
codeparrot/github-code
6dad3b2fb75a305383c1b6e06e089c0dc281f908211c9d63a1f5a9e888d80646
describe('paging', function(){ var welcomeHolder = app.PageStore.welcome; var roomsHolder = app.PageStore.rooms; beforeEach(function(){ app.PageStore.welcome = welcomeHolder; app.PageStore.rooms = roomsHolder; }); it('should have a welcome route that invokes a callback', function(){ var counter...
JavaScript
specs/client/PageStoreSpec.js
drabinowitz/Brainstorm
mit
1,171
53
codeparrot/github-code
bfe02503cd327c9a320eefed59555b78d1e46ca0ec2a22d14f66e539e1f0d4a9
/** * * Copyright 2005 Sabre Airline Solutions * * 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 r...
JavaScript
samples/rico/rico_change.js
sgruhier/prototype_window
mit
92,933
2,819
codeparrot/github-code
51113dfd8ae046eeea6da21c83da9fa95f85ef497990431d1dd4e54c66e561df
package org.knowm.xchange.itbit.v1.service; import java.io.IOException; import java.util.List; import org.knowm.xchange.Exchange; import org.knowm.xchange.currency.CurrencyPair; import org.knowm.xchange.dto.Order.OrderType; import org.knowm.xchange.dto.marketdata.OrderBook; import org.knowm.xchange.dto.marke...
Java
xchange-itbit/src/main/java/org/knowm/xchange/itbit/v1/service/ItBitMarketDataService.java
anwfr/XChange
mit
1,800
56
codeparrot/github-code
a82b8937e1b0c053c39edafc3ca4005c037537812f2ac4b406c7f4d418f27353
/*************************************************************************/ /* memory_pool_static_malloc.h */ /*************************************************************************/ /* This file is part of: */ /* ...
C
drivers/unix/memory_pool_static_malloc.h
DustinTriplett/godot
mit
3,691
83
codeparrot/github-code
f0158e50ccaceaf370cedb9602967e3e43edbe85a4d877f47dd4d692a0d76693
// 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.Collections.Generic; using System.Collections.Immutable; namespace Microsoft.CodeAnalysis.Shared.Coll...
C#
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Collections/SimpleIntervalTree`2.cs
CyrusNajmabadi/roslyn
mit
3,236
80
codeparrot/github-code
560e004bf774105c986a36db3fe9f4ac2d802ed6393fed02050bfa9c390275d7
package org.kohsuke.args4j.apt; import junit.framework.TestCase; import org.kohsuke.args4j.Option; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; public class AnnotationVisitorReordererTest extends TestCase { private AnnotationVisitor ta...
Java
args4j-tools/test/org/kohsuke/args4j/apt/AnnotationVisitorReordererTest.java
sannies/args4j
mit
1,688
54
codeparrot/github-code
18ec3eed139e0c38420b8151b018d1388bdc76d87600fccc4f09b502a67fdef8
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "bitcoinunits.h" #include <QStringList> BitcoinUnits::BitcoinUnits(QObject *parent): QAbstractListModel(par...
C++
src/qt/bitcoinunits.cpp
zemrys/vertcoin
mit
4,477
186
codeparrot/github-code
770a8b5f61bd1ded36961c3b92935baefda170096da756563a48de8b25e2bf9c
require 'omniauth/oauth' require 'multi_json' module OmniAuth module Strategies # Authenticate with Meetup via OAuth and retrieve an access token for API usage # # Usage: # use OmniAuth::Strategies::Meetup, 'consumerkey', 'consumersecret' class Meetup < OmniAuth::Strategies::OAuth # Init...
Ruby
oa-oauth/lib/omniauth/strategies/oauth/meetup.rb
github/omniauth
mit
1,945
59
codeparrot/github-code
2be16a4d9b11bb233987fc432e015c0fd38986330232d18e94f90ed700d49149
using Discord; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; namespace NadekoBot.Services.Database.Models { public class ClashWar : DbEntity { public string EnemyClan { get; set; } public int Size { get; set; } public StateOfWar War...
C#
src/NadekoBot/Services/Database/Models/ClashWar.cs
Blacnova/NadekoBot
mit
796
33
codeparrot/github-code
90af9a021ab61bdf37dbddacc10431d58803337d41d869892299b3b5fc4f3c3a
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace UnitTest.Grpc { using Bond; [Schema] public class SomePayload { public const int DefaultIntValue = 50; [Bond.Id(0)] ...
C#
cs/test/grpc/Schemas.cs
jdubrule/bond
mit
852
40
codeparrot/github-code
25352267f1bf8bf5fbde8bcdb83349fdff6f112a15b435d59485700891dbfe70
/* * Copyright (c) 2014, Oculus VR, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #include ...
C++
dep/RakNet/Samples/Fully Connected Mesh/FCMTest.cpp
JayStilla/AIEComplexSystems
mit
6,885
250
codeparrot/github-code
0285d4f47d1fa9421ab7a3a61a2e260925b9c2f335758bfecc143582ed4db390
var fs = require('fs'); var path = require('path'); module.exports = function(grunt) { 'use strict'; grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), copy: { main: { files: [ {src: 'numbro.js', dest: 'dist/numbro.js'}, ...
JavaScript
Gruntfile.js
atuttle/numbro
mit
4,121
147
codeparrot/github-code
4384f2775a48960ba72ee61dbcd1e8889a0b256f97f3c29c5f53516882c77c8f
<html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Chapter&nbsp;4.&nbsp;Transfer Tool</title> <link href="../docbook.css" rel="stylesheet" type="text/css"> <meta content="DocBook XSL-NS Stylesheets V1.74.0" name="generator"> <meta name="keywords" content="Hsqldb, Transfer"> <meta n...
HTML
lib/hsqldb-2.0.0/hsqldb/doc/util-guide/transfer-tool-chapt.html
virtix/mut4j
mit
5,954
124
codeparrot/github-code