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
45c69348c879d87af5ae73e5c668dfaed2f9c7df9f26f1a1f8470f44f007245a
from six import string_types from pypif.obj.common.pio import Pio class Instrument(Pio): """ Information about an instrument used to take a measurement. """ def __init__(self, name=None, model=None, producer=None, url=None, tags=None, **kwargs): """ Constructor. :param name: ...
Python
pypif/obj/common/instrument.py
CitrineInformatics/pypif
apache-2.0
2,048
82
codeparrot/github-code
ff0104074fa547fe0e5e079500dbf287dd21eeff9d786ac8940b6d71622e5e66
# Copyright 2014, Jeff Buttars, A10 Networks. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
Python
acos_client/v30/slb/virtual_port.py
sasukeh/acos-client
apache-2.0
3,458
101
codeparrot/github-code
3e27e258be2cd00ed3936cfb712e06dcad16a70b948a5593edf75384d9369bd1
/* * Licensed to DuraSpace under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. * * DuraSpace licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file excep...
Java
fcrepo-configs/src/main/java/org/fcrepo/config/FedoraPropsConfig.java
fcrepo4/fcrepo4
apache-2.0
2,996
98
codeparrot/github-code
62460695ba0fa52fb670843a184da30839e14758478f1a87018808ac8ff5e2e2
package kubernetes import ( "os" "github.com/docker/infrakit/pkg/launch/inproc" logutil "github.com/docker/infrakit/pkg/log" "github.com/docker/infrakit/pkg/plugin" "github.com/docker/infrakit/pkg/plugin/flavor/kubernetes" "github.com/docker/infrakit/pkg/run" "github.com/docker/infrakit/pkg/run/local" "github...
GO
pkg/run/v0/kubernetes/kubernetes.go
kaufers/infrakit
apache-2.0
2,274
99
codeparrot/github-code
22bb11359705743d8789b38f6c84e9ece92f2a919aa3baf130d69c7f5f23ae89
package org.drools.compiler; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import org.drools.builder.KnowledgeBuilderResult; import org.drools.lang.descr.ImportDescr; /** * A Registry of DialectConfigurations. It is also responsible for...
Java
drools-compiler/src/main/java/org/drools/compiler/DialectCompiletimeRegistry.java
mswiderski/drools
apache-2.0
2,762
101
codeparrot/github-code
929145501b2f3431498feabe67d8d84f23aa08dabb7316c6044ff15288cb6f2c
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
presto-main/src/main/java/com/facebook/presto/sql/planner/optimizations/PredicatePushDown.java
jf367/presto
apache-2.0
48,166
874
codeparrot/github-code
0d95ffa2afaa1c15eecf19fbdb7ff465d9239fa7d10e79fe0f8dfebd12f2619f
/* global $:false, jQuery:false, ace:false, confirm:false, d3:false, nv:false*/ /*jshint loopfunc: true, unused:false */ /* * 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://w...
JavaScript
zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js
ibtawfik/incubator-zeppelin
apache-2.0
52,145
1,673
codeparrot/github-code
f49c866a343ca8394c6e40a2be40cb9e0002b62f34dcb5f8458a829665c1cf94
/** * Copyright 2010 The Apache Software Foundation * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the...
Java
src/main/java/org/apache/hadoop/hbase/util/InfoServer.java
lichongxin/hbase-snapshot
apache-2.0
4,593
123
codeparrot/github-code
392118d322fe83dee33efea404186ca8aada856a2c9c1f4cc8ca901df4553c1a
// +build linux,seccomp package daemon import ( "encoding/json" "fmt" "github.com/Sirupsen/logrus" "github.com/docker/docker/container" "github.com/docker/engine-api/types" "github.com/opencontainers/specs/specs-go" ) func setSeccomp(daemon *Daemon, rs *specs.Spec, c *container.Container) error { var seccomp...
GO
daemon/seccomp_linux.go
ivansaracino/docker
apache-2.0
2,533
101
codeparrot/github-code
448ba5c0092a362abc076fd0fc59ab52b9afd8c5301765595146f137d03a574b
/* +----------------------------------------------------------------------+ | Xdebug | +----------------------------------------------------------------------+ | Copyright (c) 2002-2018 Derick Rethans | +---------...
C
php-fpm/php/7.x/config/xdebug/xdebug_str.h
mbutkereit/docker-php
apache-2.0
2,182
53
codeparrot/github-code
960eb651302b2a37a5d9f79564674d9b2fcff48464f339e353465eac68c1a067
/* * 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-junit/src/main/java/org/apache/geode/test/junit/runners/GeodeParamsRunner.java
smgoller/geode
apache-2.0
6,838
165
codeparrot/github-code
40100212881f41edcc9e1ced24930db947229dfb0b239c13dbb78b5380ae9589
/* * 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
plugins/delete-by-query/src/main/java/org/elasticsearch/action/deletebyquery/DeleteByQueryRequest.java
alexkuk/elasticsearch
apache-2.0
8,095
261
codeparrot/github-code
cd422829e1dd13bfd627b46ac15e0da4a51394ad272b15078fce58c0e5885df8
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
src/main/java/org/apache/commons/imaging/formats/bmp/PixelParserRgb.java
yuuhayashi/commons-imaging
apache-2.0
4,127
116
codeparrot/github-code
4eed2369c94929be041d785876bdfc1385247796b22db7839fc7db36f0110ae6
/* * ==================================================================== * 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 ...
Java
src/main/java/org/apache/http/nio/protocol/ErrorResponseProducer.java
viapp/httpasyncclient-android
apache-2.0
3,076
89
codeparrot/github-code
d1966ea5da6a0e29c12126c71b76acbfd0cade861d2e94933e297239dd096fb6
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/support/model/CreateCaseResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/...
C++
aws-cpp-sdk-support/source/model/CreateCaseResult.cpp
awslabs/aws-sdk-cpp
apache-2.0
911
41
codeparrot/github-code
e51f5bf7683cbb55cc87d38bf693d1ca91f103d86d3b3e3a1ed33a188cb8ea1d
/* * Copyright (c) 2008-2017, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Java
hazelcast/src/main/java/com/hazelcast/config/QuorumListenerConfig.java
tombujok/hazelcast
apache-2.0
1,574
61
codeparrot/github-code
458080631795eb83c8daecffe88ef73179ab81d5281348bd4cea182129506517
/* * 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
enhanced/java/classlib/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalToolBarUI.java
freeVM/freeVM
apache-2.0
5,113
160
codeparrot/github-code
0d3f831544adc16abd1ff568cf9d3e06b6762b8ebb9faaaa7b9caef81fd66ec9
package org.jetbrains.plugins.scala package lang package parser package parsing package params import org.jetbrains.plugins.scala.lang.lexer.ScalaTokenTypes import org.jetbrains.plugins.scala.lang.parser.parsing.builder.ScalaPsiBuilder import org.jetbrains.plugins.scala.lang.parser.parsing.expressions.Annotation impor...
Scala
src/org/jetbrains/plugins/scala/lang/parser/parsing/params/TypeParam.scala
ilinum/intellij-scala
apache-2.0
2,226
79
codeparrot/github-code
49259c941d254e3276b975f973069c06b699d4808549d0097fb676327789c68a
/* * * Copyright (c) 2016 Nest Labs, 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 requi...
C
src/util/nlpt-select.c
openthread/wpantund
apache-2.0
3,147
150
codeparrot/github-code
2be6782b74331a393a68dfbca58926491b0f9b036b4e75113fdca48c894c504d
/* * Copyright (c) 2009-2021, Google LLC * 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
third_party/upb/python/descriptor.c
jtattermusch/grpc
apache-2.0
10,087
248
codeparrot/github-code
95612e244b05f15a75c7a2241a0d2db590699f234aaab16adce087404c0ac406
/* * 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/issues/JmsInOutPipelineWithBeanTest.java
DariusX/camel
apache-2.0
3,682
94
codeparrot/github-code
f7d3e16de2bb4fa59ad25e8ec83c49363a71eee8169292ce7eacabc821a4911e
package ru.yandex.qatools.allure.data.io; import com.google.inject.Inject; import ru.yandex.qatools.allure.model.Description; import ru.yandex.qatools.allure.model.Label; import ru.yandex.qatools.allure.model.TestCaseResult; import ru.yandex.qatools.allure.model.TestSuiteResult; import java.util.ArrayList; import jav...
Java
allure-report-data/src/main/java/ru/yandex/qatools/allure/data/io/TestCaseReader.java
allure-framework/allure1
apache-2.0
2,534
87
codeparrot/github-code
a52bf3db0b1fca14ac8ecf127d53f9e1b24a24a0a64d9cef28fe84cc215c7aaf
# 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 may not...
Python
py/selenium/webdriver/__init__.py
markodolancic/selenium
apache-2.0
1,927
39
codeparrot/github-code
d738bd6e600c036e581b9cbbca4bcc5b1c24134dc1a4e33e31c42a5706563c1e
/* * 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-runtime/src/main/java/org/apache/flink/runtime/deployment/TaskDeploymentDescriptor.java
zohar-mizrahi/flink
apache-2.0
6,049
188
codeparrot/github-code
7fb112c62f4f76d553c53e586efec8aab83c4c6bfad7e5fb7808ba9973175511
//----------------------------------------------------------------------- // <copyright file="TestKitBase.cs" company="Akka.NET Project"> // Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com> // Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> //---...
C#
src/core/Akka.TestKit/TestKitBase.cs
matiii/akka.net
apache-2.0
20,677
431
codeparrot/github-code
b6c3463764a5aad093daecea5b5083996ef7fbc756c01910e5d65277fed0f4ba
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>org.apache.poi.poifs.property (POI API Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> </head> <body> <...
HTML
mylib/poi-3.11/docs/apidocs/org/apache/poi/poifs/property/package-summary.html
RyoSaeba69/Bio-info
apache-2.0
9,608
234
codeparrot/github-code
83fab57950c018841b4593842f442f1b709d5dfd0fe47c53366db7560ee5fd27
/****************************************************************************** * Copyright 2018 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/perception/lidar/lib/scene_manager/ground_service/ground_service.cc
msbeta/apollo
apache-2.0
6,594
187
codeparrot/github-code
b8fa7e719565119577d10f43fb3aa24fcfb245477649fb6954e670dca1c04166
import logging import time import gevent import msgpack import zmq.green as zmq from lymph.core.components import Component from lymph.utils.sockets import bind_zmq_socket logger = logging.getLogger(__name__) class MonitorPusher(Component): def __init__(self, container, aggregator, endpoint='127.0.0.1', inter...
Python
lymph/core/monitoring/pusher.py
vpikulik/lymph
apache-2.0
1,268
44
codeparrot/github-code
81987df2e3959f68d74af0311146aa8759951edf7ea08a79d4f4b606d915dfd7
# -*- coding: utf-8 -*- # # 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 #...
Python
airflow/contrib/task_runner/cgroup_task_runner.py
lxneng/incubator-airflow
apache-2.0
8,763
211
codeparrot/github-code
b34558af4e3e4bbe946d272d6f62876e5657ac1bdc2d7fd439b175e12be66fe1
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
core/src/test/java/org/apache/commons/functor/adapter/TestNullaryProcedureNullaryFunction.java
kinow/functor
apache-2.0
2,837
74
codeparrot/github-code
e421dbeaa558f7741de28139b719cff114b6c7a938041770a4b7a262a0030ea5
/* * 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/distributedTest/java/org/apache/geode/cache/ConnectionPoolAndLoaderDUnitTest.java
davebarnes97/geode
apache-2.0
15,864
480
codeparrot/github-code
4c251c88044fb73ba9d4f011673bf1dd121fcd85f163ac5a70b8c92407796a36
/** * 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
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/CapacitySchedulerQueueManager.java
Ethanlm/hadoop
apache-2.0
16,225
446
codeparrot/github-code
32c6b8c173fe3d4e27a3b043a031612804d102f466b588c368896f98815b27f2
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/autoscaling/model/LaunchConfiguration.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #in...
C++
aws-cpp-sdk-autoscaling/source/model/LaunchConfiguration.cpp
jt70471/aws-sdk-cpp
apache-2.0
16,848
452
codeparrot/github-code
8e7b82f4ae54c55431300c52ee0de4f8b210bf95cf09eb38234f44bdac4fb7bf
package org.jchmlib; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.List; ...
Java
src/main/java/org/jchmlib/AbstractIndexSearcher.java
chimenchen/jchmlib
apache-2.0
8,874
249
codeparrot/github-code
22308c507266722ae449f3aeac06f1d8a5207d45c088b1d87a8f1255473469c6
#pragma once #include "RedstoneHandler.h" class cTNTHandler : public cRedstoneHandler { typedef cRedstoneHandler super; public: virtual unsigned char GetPowerDeliveredToPosition(cWorld & a_World, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, Vector3i a_QueryPosition, BLOCKTYPE a_QueryBlockTyp...
C
src/Simulator/IncrementalRedstoneSimulator/TNTHandler.h
nounoursheureux/MCServer
apache-2.0
1,585
55
codeparrot/github-code
6e84c1d0e264580d802a50fbe5844da35a12757cea0be4743177e2087c71545c
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>Uses of Interface org.myrobotlab.serial.SerialDeviceService</title> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <body...
HTML
javadoc/org/myrobotlab/serial/class-use/SerialDeviceService.html
lanchun/myrobotlab
apache-2.0
7,538
179
codeparrot/github-code
2669c42d5e4edf1f9be4f17ffe3e0dff3c0e75999126bcd31ef5cd0da55f1eb8
package org.activiti.engine.impl.event.logger.handler; import java.util.HashMap; import java.util.Map; import org.activiti.engine.delegate.event.ActivitiActivityEvent; import org.activiti.engine.impl.interceptor.CommandContext; import org.activiti.engine.impl.persistence.entity.EventLogEntryEntity; /** * @author Jo...
Java
modules/flowable-engine/src/main/java/org/activiti/engine/impl/event/logger/handler/ActivityCompensatedEventHandler.java
roberthafner/flowable-engine
apache-2.0
1,350
31
codeparrot/github-code
325a27406418f201a40413705cb366a663b22102c4ad0f606f9327ef72fc66b0
/* * 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
swagger/swagger-invocation/invocation-core/src/test/java/org/apache/servicecomb/swagger/invocation/converter/impl/part/TestFileToPartConverter.java
acsukesh/java-chassis
apache-2.0
1,548
48
codeparrot/github-code
5e0f10a6bfd4c7c73b316e26e5e99e8daf52208226bf63d648ccad14812e099f
/* * #%L * ACS AEM Commons Bundle * %% * Copyright (C) 2017 Adobe * %% * 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
bundle/src/test/java/com/adobe/acs/commons/httpcache/engine/impl/HttpCacheEngineImplTest.java
dfoerderreuther/acs-aem-commons
apache-2.0
14,821
313
codeparrot/github-code
91df0f2d5ef232ae2aff7988ffba90b3d9fab812f163e7711b21045c4f6db341
/* * 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/log4j/receivers/rewrite/MapRewritePolicy.java
apache/log4j-extras
apache-2.0
3,299
86
codeparrot/github-code
9221961e1aa91d273527561f889bae2da5cfa37122773577468a4642cb4e7218
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You c...
C
third_party/eigen3/include/Eigen/src/Core/CwiseUnaryView.h
google-research/motion_imitation
apache-2.0
5,345
131
codeparrot/github-code
ad4e26d9e9792bb37ab8754047b7c2ba5435dc14ca2f7f9cf391f531c6792906
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
jbpm-wb-case-mgmt/jbpm-wb-case-mgmt-client/src/main/java/org/jbpm/workbench/cm/client/events/CaseDestroyEvent.java
pefernan/jbpm-console-ng
apache-2.0
957
32
codeparrot/github-code
6805cddf8793563e128f664f5814041576518597397db9a43b17fc80ab52a42b
/* * 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-telegram/src/main/java/org/apache/camel/component/telegram/model/ReplyKeyboardMarkup.java
DariusX/camel
apache-2.0
5,496
187
codeparrot/github-code
c9b30eaf111434a79bc2be772b10e1ad16b52d217a5508a05ced34964e39db45
package dotty.tools package dotc.util /** A class for the reading part of mutable or immutable maps. */ abstract class ReadOnlyMap[Key, Value]: def lookup(x: Key): Value | Null def size: Int def iterator: Iterator[(Key, Value)] def keysIterator: Iterator[Key] def valuesIterator: Iterator[Value] def is...
Scala
compiler/src/dotty/tools/dotc/util/ReadOnlyMap.scala
dotty-staging/dotty
apache-2.0
997
42
codeparrot/github-code
6b397bd1ac0670a36b380a216cd91ebf26404ace6f95cb5bbbae84b59531829a
/* * 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
mothballed/component/viewer/scimpi/dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/context/DefaultOidObjectMapping.java
howepeng/isis
apache-2.0
20,229
512
codeparrot/github-code
78467afe3b6bba4fec90591c78227bda60a4283f6c5f7ff752bb0125cc3f9da8
/* * Copyright 2000-2012 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/platform-api/src/com/intellij/openapi/ui/ValidationInfo.java
goodwinnk/intellij-community
apache-2.0
2,394
83
codeparrot/github-code
cde26bc1a63805a68e08ac9c7334c22b51a4883682ad77d668184ea350fca910
/* * Licensed to Intel Corporation under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * Intel Corporation licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use t...
Scala
dl/src/main/scala/com/intel/analytics/bigdl/nn/SoftPlus.scala
SeaOfOcean/BigDL
apache-2.0
3,299
95
codeparrot/github-code
85cf7b42afb2252adcafea880f8f68ced83977716d8a7891ae199bb723668572
/* 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 org.gjt.jclasslib.structures.constants; ...
Java
src/java/org/gjt/jclasslib/structures/constants/ConstantLargeNumeric.java
dubenju/javay
apache-2.0
3,211
110
codeparrot/github-code
00e06343b1aff9c30b5e2de50b09c05a0786a1429c1c954818cd4b1d358aad7a
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
modules/flowable-engine-common/src/main/java/org/flowable/common/engine/impl/util/CollectionUtil.java
lsmall/flowable-engine
apache-2.0
2,353
71
codeparrot/github-code
251f5d99c9ead699e847a4f67f1dad2cb8b052f6ce211cda774aca618e5f191b
/* Copyright 2014 Google Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
GO
hack/e2e.go
jimmidyson/kubernetes
apache-2.0
7,730
279
codeparrot/github-code
3c8236a7c73ed4a70555ec35abc5cc1483efd2acb2325b221eb3ab0f0844e595
#!/usr/bin/env python # # GrovePi Python library # v1.2.2 # # This file provides the basic functions for using the GrovePi. # # The GrovePi connects the Raspberry Pi and Grove sensors. You can learn more about GrovePi here: http://www.dexterindustries.com/GrovePi # # Have a question about this example? Ask on the fo...
Python
lib/grove_pi_v1_2_6/grovepi.py
minusetheartbot/minusetheartbot
apache-2.0
19,052
629
codeparrot/github-code
2c36c1d3d5b294b167f45dd65338f65acc307d200feca65e2f2bd8ed2e8b6e09
#!/usr/bin/python # # Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
Python
examples/adwords/v201506/advanced_operations/add_click_to_download_ad.py
coxmediagroup/googleads-python-lib
apache-2.0
3,318
115
codeparrot/github-code
23c6d360ec340edf904af08a828cf5ffbbec43d864d931115ea381b9e97b2efa
import { Operator } from '../Operator'; import { Observable } from '../Observable'; import { Subscriber } from '../Subscriber'; import { OperatorFunction, MonoTypeOperatorFunction } from '../types'; /* tslint:disable:max-line-length */ export function defaultIfEmpty<T>(defaultValue?: T): MonoTypeOperatorFunction<T>; e...
TypeScript
src/internal/operators/defaultIfEmpty.ts
IgorMinar/RxJS
apache-2.0
2,686
79
codeparrot/github-code
c7be471f19197a322fcb910b231c5f5ad67e4b24a260afc0d13c850ce4e97ff2
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Java
contrib/views/hueambarimigration/src/main/java/org/apache/ambari/view/huetoambarimigration/persistence/PersistentConfiguration.java
radicalbit/ambari
apache-2.0
1,828
53
codeparrot/github-code
c843aa09ffa8f9dcec56b8bb4bff709cfe410c8fdece1fd0da13296c739a8fd0
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
modules/flowable-rest/src/main/java/org/activiti/rest/service/api/history/HistoricVariableInstanceQueryRequest.java
roberthafner/flowable-engine
apache-2.0
2,415
93
codeparrot/github-code
2a562001e2f196838e1380361d2a7aae3606e87bbc550126a75969be5f4a1659
var target : Transform; var distance = 10.0; var cameraFollowSpeed = .04; var xSpeed = 250.0; var ySpeed = 120.0; var zSpeed = 100.0; var yMinLimit = -20; var yMaxLimit = 80; private var x = 0.0; private var y = 0.0; private var z = 0.0; @script AddComponentMenu("Camera-Control/Mouse Orbit") function Start () { ...
JavaScript
Leap Samples/UnitySandbox/Assets/Scripts/Camera Scripts/MouseOrbit.js
afaquejam/LeapAbsRel
apache-2.0
1,404
59
codeparrot/github-code
c1bced7859c448f25e3d3d7a258fcb3886df02f9f071e720edf6a0959165c3b7
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright 2012 NEC Corporation. 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.or...
Python
quantum/plugins/nec/db/api.py
yamt/neutron
apache-2.0
7,759
229
codeparrot/github-code
039636427af88be974d5aa814f4024ea34bf005ad3fd93e876afd1b494137409
/* * 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
tika-parsers/src/test/java/org/apache/tika/parser/pkg/Seven7ParserTest.java
zamattiac/tika
apache-2.0
9,808
220
codeparrot/github-code
20ef15e2aa8eb9f92de25c762f8d68f1483d78d26c041218ec6c3b81b6f3beea
package com.getbase.android.db.example.content; import com.getbase.android.db.fluentsqlite.Insert; import com.getbase.android.db.fluentsqlite.Query; import android.content.ContentProvider; import android.content.ContentResolver; import android.content.ContentValues; import android.content.UriMatcher; import android.d...
Java
example/src/main/java/com/getbase/android/db/example/content/PeopleProvider.java
futuresimple/android-db-commons
apache-2.0
2,588
88
codeparrot/github-code
bd64ea408bdc9076fbb21ff5eeb2160ca2aae66a5e29aabbcbc1cbe4ca0cee5b
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * 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
kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-api/src/main/java/org/kie/workbench/common/stunner/bpmn/factory/BPMNGraphFactoryImpl.java
wmedvede/kie-wb-common
apache-2.0
7,466
169
codeparrot/github-code
f32aca95196e1b1d881f7cd907f931f71fd4bc317e08d3af902f16a69b820a60
/* * Copyright 2012-2013 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
spring-boot/src/test/java/org/springframework/boot/bind/PropertySourcesPropertyValuesTests.java
10045125/spring-boot
apache-2.0
5,549
183
codeparrot/github-code
6df3bf14a01488f484d40b31839163b620838fb0dc10822a08adb3c482c6e5b4
/* * 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/main/java/freemarker/core/_UnmodifiableCompositeSet.java
awils18/incubator-freemarker
apache-2.0
2,701
96
codeparrot/github-code
df728f8f39c9d0e509dabb8fed898739bcdf46d3180fcde945b7bd383c365183
/** * @author mrdoob / http://mrdoob.com/ * @author alteredq / http://alteredqualia.com/ * * parameters = { * color: <hex>, * ambient: <hex>, * emissive: <hex>, * specular: <hex>, * shininess: <float>, * opacity: <float>, * * map: new THREE.Texture( <Image> ), * * lightMap: new THREE.Texture( <Ima...
JavaScript
src/materials/MeshPhongMaterial.js
camellhf/three.js.sourcecode
apache-2.0
13,987
536
codeparrot/github-code
e5a1d5762811dafc7da2d78d6780acb91f113e9ce357abe17092a71ea8bce5fa
// Copyright 2016 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_COMPILER_TYPED_OPTIMIZATION_H_ #define V8_COMPILER_TYPED_OPTIMIZATION_H_ #include "src/base/compiler-specific.h" #include "src/compiler/grap...
C
v8_6_7/src/compiler/typed-optimization.h
weolar/miniblink49
apache-2.0
2,789
87
codeparrot/github-code
7cd2a728278e09c1a59f7741340a192297c9f5ff5614445a9d0a0f1778f5a1bb
/****************************************************************************** * $Id: gdalrasterblock.cpp 33694 2016-03-10 17:54:30Z goatbar $ * * Project: GDAL Core * Purpose: Implementation of GDALRasterBlock class and related global * raster block cache management. * Author: Frank Warmerdam, war...
C++
deps/libgdal/gdal/gcore/gdalrasterblock.cpp
jwoyame/node-gdal
apache-2.0
34,827
1,105
codeparrot/github-code
bebf5d8a1a71d9356875032371ab4000df8b79cad29ac6406fbdd46b9fbe4068
/* * 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/libguac/socket.c
apache/guacamole-server
apache-2.0
9,618
373
codeparrot/github-code
f6179034b2dd22859cafe244af894758d44b89de6efad12e8c7b198d42c25e10
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/config/model/DescribeAggregationAuthorizationsRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::ConfigService::Model; using namespace A...
C++
aws-cpp-sdk-config/source/model/DescribeAggregationAuthorizationsRequest.cpp
awslabs/aws-sdk-cpp
apache-2.0
1,147
52
codeparrot/github-code
14479c8b09af79e0770b94c0f003ac879d4101c74704dcc57f790e486a470548
/* * Copyright (C) 2006-2013 Holger Joest <holger@joest.org> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
Java
plugin/src/test/java/net/sf/maven/plugin/autotools/LineBreakingOutputStreamTest.java
kedzie/autotools-maven-plugin
apache-2.0
2,194
71
codeparrot/github-code
4b3d468cd5c47aee2a65ede2818f5935b7f11163c541749a9dd50ecec6801890
/* * 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
plugins/InspectionGadgets/testsrc/com/siyeh/ig/fixes/style/MethodRefCanBeReplacedWithLambdaFixTest.java
siosio/intellij-community
apache-2.0
3,858
171
codeparrot/github-code
790abe03932ec2a7cb0c323994be3000d54aded265f9b086be660c24f4fcdca8
package org.semanticweb.elk.reasoner.saturation.conclusions.classes; /* * #%L * ELK Reasoner * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2011 - 2015 Department of Computer Science, University of Oxford * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in c...
Java
elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/saturation/conclusions/classes/SubContextInitializationImpl.java
liveontologies/elk-reasoner
apache-2.0
1,879
61
codeparrot/github-code
52d52c037ad2cb318486430a8783faafbd2b0ea2f304f7fe8f95ed371b6eb62b
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports Microsoft.VisualStudio.GraphModel Imports Microsoft.VisualStudio.LanguageServices.Implementation.Progression Imports Roslyn.Test.Utilities Namespace M...
Visual Basic
src/VisualStudio/Core/Test/Progression/IsCalledByGraphQueryTests.vb
VPashkov/roslyn
apache-2.0
2,705
61
codeparrot/github-code
73d38dd102cd5d482e9e45d6a5d36d9dc1576725fa13fabde07a4a36938cd933
/* * 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
core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/param/named/annotation/NamedFacetOnParameterAnnotationFactory.java
howepeng/isis
apache-2.0
3,421
77
codeparrot/github-code
ff15acd8b9d395523e3124e4aa49927d814b0e2498be137ecea94ae5001c429e
/** * * Copyright 2003-2007 Jive Software. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
Java
smack-im/src/main/java/org/jivesoftware/smack/roster/packet/RosterPacket.java
igniterealtime/Smack
apache-2.0
11,368
396
codeparrot/github-code
5693b03f211024afa0d4b65f554620ac588cdd494b84b548efc695ce867873a3
import { fromJS } from 'immutable'; describe('MathUtils', () => { const MathUtils = require('../math-utils'); describe('modulo', () => { const f = MathUtils.modulo; it('it should calculate the modulo (also for negatives)', () => { expect(f(5, 5)).toBe(0); expect(f(4, 5)).toBe(4); expec...
JavaScript
client/app/scripts/utils/__tests__/math-utils-test.js
alban/scope
apache-2.0
1,715
52
codeparrot/github-code
71329ecbbf6ce78b45b72547fae7078f202b5f6a7f3fc9896df51f32bc7ee385
/* * 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
sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala
goldmedal/spark
apache-2.0
13,950
352
codeparrot/github-code
212f8250dd1f62fa5ad8318854436c6ee75e783ad4e2a6af01f7a0bb35db37e6
/* * 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
spot-ml/src/test/scala/org/apache/spot/netflow/FlowSuspiciousConnectsAnalysisTest.scala
bryanmontesv/incubator-spot
apache-2.0
9,170
211
codeparrot/github-code
43c026be7cb765f640e458775fac5a42e7311467699250835aec4b3696b0b0ee
/* Red Black Trees (C) 1999 Andrea Arcangeli <andrea@suse.de> (C) 2002 David Woodhouse <dwmw2@infradead.org> (C) 2012 Michel Lespinasse <walken@google.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free...
C
mk_core/mk_rbtree.c
WilliamRen/monkey-1
apache-2.0
15,216
551
codeparrot/github-code
a3e8c80f82de416e523e64deddb8f08fbdba892c420b9b413febd24f52a6483f
/* * Copyright 2014 NAVER Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
commons-server/src/test/java/com/navercorp/pinpoint/common/server/bo/SpanEventBoTest.java
dawidmalina/pinpoint
apache-2.0
4,176
106
codeparrot/github-code
0f46ed0be7d35a65b262dcba34f9fa6ac4625af4035a324857b757a4fce4ea13
'use strict' const test = require('tape') const _ = require('lodash') const winnow = require('../..') const fixture = require('./fixtures/trees.json') test('With a limit of 10, order by OBJECTID ASC', t => { t.plan(2) const options = { limit: 10, order: 'OBJECTID ASC' } const filtered = winnow.query(fi...
JavaScript
test/integration/order.spec.js
FeatureServer/winnow
apache-2.0
2,231
70
codeparrot/github-code
abc2f6f0cc88bd804ccb24d7138def32a5b75603e2acbe5321933c5eb8f89dd7
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Java
hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestingUtility.java
gustavoanatoly/hbase
apache-2.0
5,910
145
codeparrot/github-code
4e3b4f1176f96742b9ca65e4fbbed25193c7c791930b50db8eff9c9cde5a458d
// // // Copyright 2021 gRPC 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...
C++
src/cpp/server/csds/csds.cc
donnadionne/grpc
apache-2.0
2,900
95
codeparrot/github-code
ea0e9aa8e76a147d7b75c0631541870b64fba8e9bd9c97fc98afa536ac475297
// Copyright 2018 The Gemmlowp 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 ...
C
internal/kernel_msa.h
google/gemmlowp
apache-2.0
23,748
580
codeparrot/github-code
493d4d1963d030b02d1fbd6002bbfc8ad894e414e644f1960a1328a1c140fba0
/* Copyright 2011-2016 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
Java
src/main/java/com/google/security/zynamics/binnavi/Gui/GraphWindows/Actions/CActionRedoSelection.java
chubbymaggie/binnavi
apache-2.0
1,868
58
codeparrot/github-code
597dfb0190d5e5df53c2951cc466fea40feeb93b76777718b3462c68a8220ba6
package org.smart4j.framework.dao.bean; import java.util.List; import org.smart4j.framework.core.bean.BaseBean; /** * 分页对象 * * @author huangyong * @since 1.0 */ public class Pager<T> extends BaseBean { private int pageNumber; // 页面编号 private int pageSize; // 每页条数 private long totalRecord; ...
Java
src/main/java/org/smart4j/framework/dao/bean/Pager.java
pkaq/smart-framework
apache-2.0
1,610
71
codeparrot/github-code
369862a4d60d7a697a76f6737b2c792dcfc3a08ef3a3c0c0a263309317ac650c
/* * 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
gobblin-modules/gobblin-crypto-provider/src/main/java/gobblin/converter/StringFieldEncryptorConverter.java
chavdar/gobblin-1
apache-2.0
3,811
107
codeparrot/github-code
ea1fb3b0e45ff379d46afd38b2bf970d32329f6c4006708f87d94615e8dda0b6
var RxOld = require('rx'); var RxNew = require('../../../../index'); module.exports = function (suite) { var maxRetryCount = 25; var oldRetryCount = 0; var newRetryCount = 0; var oldRetryWithImmediateScheduler = RxOld.Observable.of(5, RxOld.Scheduler.immediate) .flatMap(function (x) { if (++oldRetry...
JavaScript
perf/micro/immediate-scheduler/operators/retry.js
justinwoo/RxJS
apache-2.0
1,201
34
codeparrot/github-code
463257ed373270c831fc841dcb037a7517e3580663ab93ec8f53f880e6690f4f
/* * Copyright © 2017 EDDiscovery development team * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
C#
BaseUtils/Misc/PropertyNames.cs
jgoode/EDDiscovery
apache-2.0
1,676
50
codeparrot/github-code
3250a7bae6e3285aaab5bdaf76ce51a579ea409390be8264f198552f86ac8aa4
<!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>SnapshotOfRegionAssignmentFromMeta xref</title...
HTML
thirdparty/hbase-1.1.1.2.3.0.0-2557/docs/xref/org/apache/hadoop/hbase/master/SnapshotOfRegionAssignmentFromMeta.html
scalingdata/Impala
apache-2.0
31,529
242
codeparrot/github-code
6b3e88457e93fd1911660a1b63008b0a1df61c187743761dd70e082d22d917f5
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestPread.java
robzor92/hops
apache-2.0
10,079
276
codeparrot/github-code
bd5f91fa04d7f365dfaf415dae4266c4d745578790142034dade0dc53fc14bc2
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/apigatewayv2/model/GetDomainNamesRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/http/URI.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #includ...
C++
aws-cpp-sdk-apigatewayv2/source/model/GetDomainNamesRequest.cpp
awslabs/aws-sdk-cpp
apache-2.0
1,059
50
codeparrot/github-code
8f3911b3cf23ec6e11dfa55fad0b797d40d8cebe1b7294666a32cfa27e464303
/* * Copyright 2004,2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); ...
Java
modules/rampart-trust/src/main/java/org/apache/rahas/impl/TokenCancelerConfig.java
apache/rampart
apache-2.0
3,405
82
codeparrot/github-code
24da039a770999c01431919c09c650c8f5cdb15899bbf94396908f0409994899
/* * 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
107/src/test/java/org/ehcache/jsr107/Jsr107CacheParserIT.java
rkavanap/ehcache3
apache-2.0
1,240
38
codeparrot/github-code
154829df4fc8b3579ff499b34763e455be5f37b5e6be87a9dae7be7091e0cf49
/* * #%L * SparkCommerce Common Libraries * %% * Copyright (C) 2015 Spark Commerce * %% */ package org.sparkcommerce.common.structure.dto; import java.io.Serializable; /** * StructuredContent data is converted into a DTO since it requires * pre-processing. The data is fairly static so the desire is * to c...
Java
src/main/java/org/sparkcommerce/common/structure/dto/ItemCriteriaDTO.java
akdasari/SparkCommon
apache-2.0
928
44
codeparrot/github-code
8ca399d0c91e45513aa02a26c150a732ae805bf729aa149888029670ea47ff1a
/** * Copyright (C) 2014 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
dashbuilder-client/dashbuilder-renderers/dashbuilder-renderer-google/src/main/java/org/dashbuilder/renderer/google/client/GoogleBubbleChartDisplayer.java
porcelli-forks/dashbuilder
apache-2.0
5,898
130
codeparrot/github-code
254a080501af3327c5369301585b7e6061f7fb73b7a282992b6760d65f02a25d
#!/bin/sh # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. # # Set environment variables so that we can compile rocksdb using # fbcode settings. It uses the latest g++ and clang compilers and also # uses jemalloc # Environment variables that change the behavior of this script: # PIC_BUILD -- if ...
Shell
3rdParty/rocksdb/6.2/build_tools/fbcode_config_platform007.sh
fceller/arangodb
apache-2.0
4,695
159
codeparrot/github-code
1adac27488398461e430e280abc40bf3cd0d5606dad9467cd8bbf529f9a63537
/* Copyright 2011-2016 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
Java
src/main/java/com/google/security/zynamics/binnavi/Gui/CriteriaDialog/ExpressionTree/Actions/CRemoveAction.java
ispras/binnavi
apache-2.0
1,913
64
codeparrot/github-code
1e42432b4558deb248be49116b566fbaae1cc9da26090c791e276d4fa7b1eeea
/* * Copyright 2014 Open Connectome Project (http://openconnecto.me) * Written by Da Zheng (zhengda1936@gmail.com) * * This file is part of FlashMatrix. * * 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 ...
C++
matrix/eigensolver/collected_col_matrix_store.cpp
zheng-da/FlashX
apache-2.0
7,942
259
codeparrot/github-code
a8c7183d12ebe3f13bc516012f14f0a9e5f457eda5e99ca15e7bee250e833661
/** vim: et:ts=4:sw=4:sts=4 * @license RequireJS 2.1.8 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/requirejs for details */ //Not using strict: uneven strict support in browsers, #392, and causes //problems with requi...
JavaScript
zyqd/src/main/webapp/bower_components/raphael/dev/require.js
LittleLazyCat/TXEYXXK
apache-2.0
82,635
2,054
codeparrot/github-code
572516aab487b66a5ba440511a0ffbf1cb9dd6b60543be8aff152674804130da
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/dataexchange/DataExchangeEndpoint.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <aws/core/utils/HashingUtils.h> using namespace Aws; using namespace Aws::DataExchan...
C++
aws-cpp-sdk-dataexchange/source/DataExchangeEndpoint.cpp
awslabs/aws-sdk-cpp
apache-2.0
1,669
65
codeparrot/github-code
8adcb14786e62d9ed233b322998a937ae4d6c6db09f0f01494502a1159f8e0ee
//===----------------------------------------------------------------------===// // // Peloton // // value.cpp // // Identification: src/backend/common/value.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===-------------------------------------------------------...
C++
src/backend/common/value.cpp
larryxiao/peloton
apache-2.0
36,176
1,123
codeparrot/github-code