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
5d2c277c66d65437490ad926a26da28728a2dcc85bceb08f947a9e31cb8ac829
/* * Copyright (C) 2015 Square, 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 agre...
Java
cli/src/test/java/keywhiz/cli/commands/RollbackActionTest.java
mcpherrinm/keywhiz
apache-2.0
5,116
149
codeparrot/github-code
e0251bb02ac8f18cc3e6fb5320c0d9def9b045b795284f8bd0ce2f44ac1eee74
/* * 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
samza-test/src/main/java/org/apache/samza/test/integration/LocalApplicationRunnerMain.java
bharathkk/samza
apache-2.0
2,939
72
codeparrot/github-code
392aea1b78840b39e09f0e76562eb6f141c3c35b97433475505be6daefff3e0d
/** * 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-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java
andrewmains12/hbase
apache-2.0
17,706
568
codeparrot/github-code
fce02a4cadfcbe730be12b64280999d9a68f88ec363182c9dc2086e96c7c2951
package com.tinkerpop.gremlin.structure.util; import com.tinkerpop.gremlin.structure.Element; import com.tinkerpop.gremlin.structure.Property; import java.util.NoSuchElementException; /** * @author Marko A. Rodriguez (http://markorodriguez.com) */ public class EmptyProperty<V> implements Property<V> { private...
Java
gremlin-core/src/main/java/com/tinkerpop/gremlin/structure/util/EmptyProperty.java
mpollmeier/tinkerpop3
apache-2.0
1,391
68
codeparrot/github-code
c147cca4028412fd1dd68f92f619236d8a8e6dfc603ebc062d2397838ebf4359
/** * 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
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFOPAnd.java
vergilchiu/hive
apache-2.0
3,690
106
codeparrot/github-code
43b4e25bba405c87aae767c68a638300d40c6af282a6529a10e94fcb17ae40fa
/* * 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
uima_components/uima_components/lucas/src/main/java/org/apache/uima/lucas/indexer/IndexWriterProviderImpl.java
christianherta/BBC-DaaS
apache-2.0
7,153
190
codeparrot/github-code
e6918b388c2f659722dccc21b5878151aa0fa7f51c57362b3df380ecb66ab62e
/* * Copyright 2018-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
Java
providers/hostprobing/src/main/java/org/onosproject/provider/hostprobing/impl/DefaultHostProbingProvider.java
gkatsikas/onos
apache-2.0
10,797
251
codeparrot/github-code
4d64a8507c9017a700f1349417f566ab0fb5a58e97476c6d96514f7fa8967c1d
/* * Copyright (C) 2011 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...
C
B2G/system/media/mca/filterfw/native/core/gl_env.h
sergecodd/FireFox-OS
apache-2.0
9,611
259
codeparrot/github-code
cf02211c19e8ff94edc2400de55ed13b10d6c0ade792341923e6ea6607ac1653
#include<iostream> #include<string> #include<math.h> #include<algorithm> #include<stack> using namespace std; #define MAXN 100000 #define MAXD 10 struct Node { int u,i; Node(int _u,int _i) { u=_u; i=_i; } }; bool link[MAXN][MAXD]; int n,m; stack<Node> s; /* void DFS(int u) { for(int i=0;i<MAXD;++i) { if...
C++
1780/4942644_TLE.cpp
twilightgod/twilight-poj-solution
apache-2.0
1,016
80
codeparrot/github-code
20b51c983b403e5b8bd07e1bfa3c89f90b47165d5ea1c90f01c0808c68d9cd1e
//**************************************************************************/ // Copyright (c) 1998-2011 Autodesk, Inc. // All rights reserved. // // These coded instructions, statements, and computer programs contain // unpublished proprietary information written by Autodesk, Inc., and are // protected by Federal cop...
C
Source/Reference/MaxSdk-2014/Include/Util/MaxExceptions.h
favedit/MoCross
apache-2.0
2,518
80
codeparrot/github-code
0ee94a853f233b0f0c333b241cab73c02cdd34e51b4fb9a2e1d13cfe837434d3
package com.taskadapter.redmineapi.internal.comm.betterssl; import java.security.KeyManagementException; import java.security.KeyStore; import java.security.KeyStoreException; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.Collection; import javax.net.ssl.SSLContext; impor...
Java
src/main/java/com/taskadapter/redmineapi/internal/comm/betterssl/BetterSSLFactory.java
redminenb/redmine-java-api
apache-2.0
2,744
76
codeparrot/github-code
5b24058eb6fa78b767db41acde0c1fb742c18f67040897d4bb258a00ed1fca1f
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>DockerFly</title> </head> <link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico"/> <link rel="stylesheet" href="css/uikit/uikit.css"/> <script src="js/common/jquery.min.js"></script> <script src="js/common/vue.min.js"></script> ...
HTML
WEBAPP/swarm.html
helyho/DockerFly
apache-2.0
13,431
285
codeparrot/github-code
8f57a50dd0983b8049a0a28df9c77a347eecd63c9f9134c0f530f37cf2aaf02a
import logging import re import requests from datetime import timedelta, date as vanilla_date from calexicon.calendars import JulianDayNumber logging.basicConfig(level=logging.INFO) URL = "http://aa.usno.navy.mil/cgi-bin/aa_jdconv.pl?form=1&year=%d&month=%d&day=%d&era=1&hr=0&min=0&sec=0.0" def get_navy_day_number(...
Python
tools/compare_navy_day_numbers.py
jwg4/qual
apache-2.0
1,862
58
codeparrot/github-code
df1c4488ba8097be5336111a1d4e50e223538540946e49d5ee1f8a122590fdc9
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/fis/FIS_EXPORTS.h> #include <aws/fis/model/ExperimentTemplate.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonWebServiceResult; namespace ...
C
aws-cpp-sdk-fis/include/aws/fis/model/UpdateExperimentTemplateResult.h
aws/aws-sdk-cpp
apache-2.0
1,876
68
codeparrot/github-code
174c7c664adba8a0ec378ea879ea1a3d04567416a3c2f33517f524e03365eac6
/* * Copyright (C) 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
C
gapir/cc/function_table.h
Qining/gapid
apache-2.0
2,300
74
codeparrot/github-code
372eff621d056d7cc449664f684a6c59c88fd6ba24dc3871c659aa92e511af95
package com.cloudhopper.commons.util; /* * #%L * ch-commons-util * %% * Copyright (C) 2012 Cloudhopper by Twitter * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:...
Java
ch-commons-util/src/test/java/com/cloudhopper/commons/util/DateTimeUtilTest.java
twitter/cloudhopper-commons
apache-2.0
17,526
443
codeparrot/github-code
fa44d86278bd44bba2a5f904d929baffd7f2eb16e982c5e799b0024c6d6aaacf
/* tool-base.css - base values - focus on positioning, margins, paddings - all skins in a given instalation then can participate in these definitions - and still style things differently in tool.css*/ /*first pass at a printable sheet - essentially omitting from the print all controls, and reformatting info for the ...
CSS
reference/library/src/webapp/skin/tool_base.css
ktakacs/sakai
apache-2.0
22,484
950
codeparrot/github-code
0373f390902672fa9a25c61e1503446d25bc70f8fa59fe44de1507db60773de8
/* Copyright 2015 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
GO
core/pkg/ingress/controller/controller.go
matthewg/ingress
apache-2.0
36,942
1,219
codeparrot/github-code
d4aca8cd8faa0010c7621818f7b889becd9b0057e0ee7121a6acc713485d4837
/* * 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/main/java/org/eigenbase/rel/metadata/RelMdPopulationSize.java
sungsoo/optiq-project
apache-2.0
4,755
145
codeparrot/github-code
37b953358319dc6bc98e9274e1ae1c257bcf6c3a151bd802b54cfca566bd9fbc
//======================================================================== // //File: $RCSfile: GraphNodeUtil.java,v $ //Version: $Revision: 1.9 $ //Modified: $Date: 2013/01/10 23:19:03 $ // //(c) Copyright 2005-2014 by Mentor Graphics Corp. All rights reserved. // //====================================...
Java
src/com.mentor.nucleus.bp.ui.canvas/src/com/mentor/nucleus/bp/ui/canvas/util/GraphNodeUtil.java
HebaKhaled/bposs
apache-2.0
3,137
85
codeparrot/github-code
4dc79b0862cc483a89f60d352761a52912048f2af633002565562a981ffdb1af
package org.radargun.stages.control; import java.util.List; import java.util.Stack; import org.radargun.DistStageAck; import org.radargun.StageResult; import org.radargun.config.Label; import org.radargun.config.Stage; import org.radargun.state.MasterListener; import org.radargun.state.StateBase; /** * @author Radi...
Java
core/src/main/java/org/radargun/stages/control/RepeatBeginStage.java
rmacor/radargun
apache-2.0
2,009
68
codeparrot/github-code
3fe7828e89027bd5145611a189f551e030efad5840391d8a0a1cdbf9acd47c9d
""" Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this ...
Python
ambari-common/src/main/python/ambari_commons/repo_manager/generic_manager.py
sekikn/ambari
apache-2.0
7,285
252
codeparrot/github-code
b4720d01055dd25111c0b3018da6b70ac449e468cd034bac70aa3861c6d3e4f5
/* * 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
zeppelin-interpreter-integration/src/test/java/org/apache/zeppelin/integration/DownloadUtils.java
datalayer/zeppelin-datalayer
apache-2.0
5,766
140
codeparrot/github-code
d99fb2d6e1b2855415e3ed676fd08e2533c154d75a408e685b18f612e14611dd
/** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); ...
Java
hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
throughsky/lywebank
apache-2.0
46,275
1,296
codeparrot/github-code
b6b5f993a74c2f8d31e16d53e1d18b6214fa454ef90491d0a56e1c1485b6d1c6
package com.rs.game.player; import java.io.Serializable; import java.util.ArrayList; import com.rs.Settings; import com.rs.cache.loaders.NPCDefinitions; import com.rs.game.Animation; import com.rs.game.Graphics; import com.rs.game.World; import com.rs.game.WorldTile; import com.rs.game.npc.NPC; import com.rs.game.tas...
Java
src/com/rs/game/player/EmotesManager.java
calvinlotsberg/OurScape
apache-2.0
23,925
754
codeparrot/github-code
36dff548bdbd5a190d7e3ca17d5d9a566dda770976172eb11b3579dc10dccdc0
// Copyright 2000-2018 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.openapi.externalSystem.service.ui; import com.intellij.codeInsight.completion.InsertionContext; import com.intellij.codeInsight.lookup.LookupElement; import ...
Java
platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/ui/ExternalProjectPathLookupElement.java
sabi0/intellij-community
apache-2.0
2,114
60
codeparrot/github-code
ec9cbc5bf7631f78071e22936befd48751917810a7e1a87c3ce6f9fa746b3836
using System; using System.Linq; using STPLoader.Implementation.Parser; namespace STPLoader.Implementation.Model.Entity { /// <summary> /// /// </summary> public class Axis2Placement3D : Entity { /// <summary> /// /// </summary> public string Info; /// <su...
C#
CAD2Unity/STPLoader/Implementation/Model/Entity/Axis2Placement3D.cs
i2e-haw-hamburg/stp-loader
apache-2.0
733
34
codeparrot/github-code
abecaaeedee4bb5b458d76a85d5fbed3e46faa217711227e8bc94802675f1443
/** * Copyright 2009-2012 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 a...
Java
json-unit-fluent/src/main/java/net/javacrumbs/jsonunit/fluent/JsonFluentAssert.java
liry/JsonUnit
apache-2.0
11,810
351
codeparrot/github-code
19f3c98a0b03521230cb67b258ba8c28993b329812e060812d9dd6991f1f8ecf
package com.github.czyzby.lml.parser.impl.tag.listener; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.scenes.scene2d.utils.ClickListener; import com.github.czyzby.lml.parser.LmlParser; import com.github.czyzby.lml.parser.impl.tag.AbstractListenerLmlTag; import com.github.czyzby.lml.parser....
Java
src/main/java/com/github/czyzby/lml/parser/impl/tag/listener/ClickListenerLmlTag.java
tommyettinger/SquidSetup
apache-2.0
1,832
40
codeparrot/github-code
d2fb2071a105954d90961bc2615136a94a773da04b61814362d2e52a60a0ba30
/* This file is a part of libcds - Concurrent Data Structures library (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016 Source code repo: http://github.com/khizmax/libcds/ Download: http://sourceforge.net/projects/libcds/files/ Redistribution and use in source and binary forms, ...
C
third_party/libcds/cds/os/linux/topology.h
eric-haibin-lin/peloton-1
apache-2.0
4,681
121
codeparrot/github-code
93bcfcbff3cb5c2a36f8f48f0d183723d3b55f78665b083ffdc0ac1df17beddc
/** * 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
ambari-server/src/test/java/org/apache/ambari/server/stack/ThemeModuleTest.java
arenadata/ambari
apache-2.0
2,491
62
codeparrot/github-code
fa62ede20d3d64e7f311f6b992b56bd4d113e1bbe208d727ad40b0a1ccec2912
package com.starlight36.yar.client.transport.httpclient; import com.starlight36.yar.client.YarRequest; import com.starlight36.yar.client.YarResponse; import com.starlight36.yar.client.transport.Transport; import org.apache.http.client.config.RequestConfig; import org.apache.http.client.methods.HttpPost; import org.apa...
Java
src/main/java/com/starlight36/yar/client/transport/httpclient/HttpClientTransport.java
starlight36/yar-client-java
apache-2.0
1,802
53
codeparrot/github-code
500493b7b4e618745ef635fda86737518523790c5450380b0addc80ac201b4f5
#Fedena #Copyright 2011 Foradian Technologies Private Limited # #This product includes software developed at #Project Fedena - http://www.projectfedena.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 ...
Ruby
app/controllers/batches_controller.rb
tachyons/somya
apache-2.0
11,058
241
codeparrot/github-code
8663c8cf307f88193a62ba4089409365f4ccfe4e6d3944399ae3e21afed3a9f6
package edu.cmu.lti.oaqa.bagpipes.executor import edu.cmu.lti.oaqa.bagpipes.configuration.Descriptors._ import scala.collection.immutable.Stream.consWrapper import edu.cmu.lti.oaqa.bagpipes.configuration.AbstractDescriptors._ import edu.cmu.lti.oaqa.bagpipes.annotation.Analytic import edu.cmu.lti.oaqa.bagpipes.annotati...
Scala
src/main/scala/edu/cmu/lti/oaqa/bagpipes/executor/Executor.scala
oaqa/bagpipes
apache-2.0
2,734
58
codeparrot/github-code
ca3d550f0a3cf6f181311bfc8ed3ffe7e0b1f66aee6085887bdd1133b81777fb
import Operator from '../Operator'; import Observer from '../Observer'; import Subscriber from '../Subscriber'; import Observable from '../Observable'; import Subject from '../Subject'; import Subscription from '../Subscription'; import tryCatch from '../util/tryCatch'; import {errorObject} from '../util/errorObject';...
TypeScript
src/operators/windowToggle.ts
smaye81/RxJS
apache-2.0
3,362
120
codeparrot/github-code
e20ccf9734f9be9d081318b62d5b3f89d0b3063028e3a8e3cdc6a9cbc3149ef2
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:...
Java
gdx/src/com/badlogic/gdx/graphics/g2d/ParticleEffect.java
codepoke/libgdx
apache-2.0
9,865
280
codeparrot/github-code
e5d8634b124488b9cdec720b89591dd82b1796fbc3e3fb8b8052328d6ee4ea8b
#!/usr/bin/env ruby require File.expand_path('../config/environment', __dir__) module Dba def self.select(*args) ActiveRecord::Base.connection.send(:select, *args) end # # Extended PostgreSQL DBA functionality # def self.client_connections all_connections = select(<<-SQL, "Client Connections") ...
Ruby
tools/dba.rb
mresti/manageiq
apache-2.0
27,222
409
codeparrot/github-code
2eaec3059dee4f37acc7b6af4d2c45a6c5cdb01c45f8786f98ab2144014edd07
# # Cookbook:: iptables # Library:: chain # # Copyright:: 2019, Chef Software, 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 # # Unle...
Ruby
libraries/helpers.rb
opscode-cookbooks/iptables
apache-2.0
5,147
171
codeparrot/github-code
fa28232a4b7f79da3659e5fe2b897c5b744f330e83ac099685965892568faddc
package org.hyperimage.client.ws; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java-Klasse für sysopRemoveUserFromProjectResponse complex type. * * <p>Das folgende...
Java
hi3-editor/src/org/hyperimage/client/ws/SysopRemoveUserFromProjectResponse.java
bitgilde/HyperImage3
apache-2.0
1,336
55
codeparrot/github-code
d52027806c781910c9ca41358e28a54c2163e09132a5cb4c447d5ebe2ef2c2c2
/* Derby - Class org.apache.derby.impl.services.monitor.UpdateServiceProperties 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 t...
Java
java/org.apache.derby.engine/org/apache/derby/impl/services/monitor/UpdateServiceProperties.java
apache/derby
apache-2.0
4,301
141
codeparrot/github-code
bf9ae33ec48e103b12b571b648c10b190ca67abe2f06d20f6725d8c579c0d961
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
C
coders/ipl.c
ikbear/ImageMagick
apache-2.0
23,612
687
codeparrot/github-code
e66fe955393278b44f2d006615488a1e23e536e34c88f22d4e37edaadbea275c
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
Java
core/src/main/java/net/kuujo/vertigo/reference/impl/NetworkReferenceImpl.java
ef-labs/vertigo
apache-2.0
1,603
57
codeparrot/github-code
19b859fc01aeb3b122bddef683c52f9516309e877757c07d86f3a862dc7d7c3b
/* * 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/test/java/org/apache/commons/text/names/HumanNameParserTest.java
VijayKrishna/text
apache-2.0
3,398
100
codeparrot/github-code
9b7ae326e7f93d6811a597c01ee72e93af02101525d5bff340fa78469bce906d
package de.peeeq.wurstscript.attributes; import com.google.common.collect.ImmutableCollection; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import de.peeeq.wurstscript.WurstOperator; import de.peeeq.wurstscript.ast.*; import de.peeeq.wurstscript.attributes.names.FuncLink; imp...
Java
de.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/attributes/AttrFuncDef.java
wurstscript/WurstScript
apache-2.0
18,674
471
codeparrot/github-code
916acbfc8f1cdabaa171da528dff5279e32a86760938dbc35f6a179517469da4
// Copyright 2000-2018 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.execution.junit; import com.intellij.execution.executors.DefaultRunExecutor; import com.intellij.execution.runners.ExecutionEnvironment; import com.intellij....
Java
plugins/junit/test/com/intellij/execution/junit/JUnitClasspathTest.java
jk1/intellij-community
apache-2.0
6,672
141
codeparrot/github-code
2416149b651c6eef1854a84ff01e3f99d8c6c85a516a96dab739ccbe1ccd0060
/** * 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
kie-docker-ui-webapp/src/main/java/org/kie/dockerui/client/widgets/container/navigator/NavigationBreadCrumbView.java
romartin/kie-docker-ci
apache-2.0
3,643
108
codeparrot/github-code
c1e7a3ab2ae9ad893851c486db6a57117efc30df074bd82af37c380cfc738021
package edu.emory.cci.aiw.cvrg.eureka.etl.resource; /* * #%L * Eureka Protempa ETL * %% * Copyright (C) 2012 - 2014 Emory University * %% * This program is dual licensed under the Apache 2 and GPLv3 licenses. * * Apache License, Version 2.0: * * Licensed under the Apache License, Version 2.0 (the "License"...
Java
eureka-protempa-etl/src/main/java/edu/emory/cci/aiw/cvrg/eureka/etl/resource/SourceConfigsDTOExtractor.java
candyam5522/eureka
apache-2.0
10,450
245
codeparrot/github-code
b02e538de57bcb131492b3e799e41789d05ee32697cb651ff3694379f8aa6c0e
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * ...
Java
olat7.8/src/main/java/org/olat/presentation/framework/core/control/creator/FactoryControllerCreator.java
huihoo/olat
apache-2.0
4,217
128
codeparrot/github-code
a5f988abf09d45b923ec2cd1756cd9cac58355af680aaa13afd59858db878375
/* * Copyright 2019 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Java
plugin-infra/go-plugin-api/src/test/java/com/thoughtworks/go/plugin/api/logging/LoggerTest.java
kierarad/gocd
apache-2.0
1,416
40
codeparrot/github-code
642d6ea6a1ac1bd1813a705f5336efce22906b5acd539097b34b71d42470f047
# -*- encoding: utf-8 -*- # Copyright (c) 2019 ZTE Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
Python
watcher/api/controllers/v1/data_model.py
openstack/watcher
apache-2.0
2,661
72
codeparrot/github-code
875319aaa56e98f2e52f87f1938372ccd088d75fa3f82dbdbe0ea81d3b7446e1
/** * 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/aggregator/AggregateProcessorTimeoutCompletionRestartTest.java
punkhorn/camel-upstream
apache-2.0
7,364
202
codeparrot/github-code
f4e8685d509d2052f79536f31f15aea245895fb0908c18c3dda7189d9edcfbf2
package org.jivesoftware.spark.ui.history; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * @author Vyacheslav Durin (nixspirit@gmail.com) * * Apr 15, 2013 * @version 0.1 */ public class HistoryEntry { private String name; private List<HistoryEntry> entries; private Li...
Java
core/src/main/java/org/jivesoftware/spark/ui/history/HistoryEntry.java
vipinraj/Spark
apache-2.0
2,024
110
codeparrot/github-code
344f7b4efa614df8086003d8233c08675347edad6d7e8110c8e4a265f14c5cc3
/* * Copyright 2015 Torridity. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Java
Core/src/main/java/de/tor/tribes/types/ext/BarbarianAlly.java
Akeshihiro/dsworkbench
apache-2.0
2,071
87
codeparrot/github-code
b5feb3f153bd49726441a7e55f55aff1c9fb855155f60c306999d1d5353040a2
/* * 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/cocoon-pipeline/cocoon-pipeline-components/src/main/java/org/apache/cocoon/transformation/pagination/Paginator.java
apache/cocoon
apache-2.0
26,349
651
codeparrot/github-code
0a930560cd4be42f109ffebace10ea6b38c5177c9dbc065fe365dec1068ae4f1
package de.darwinspl.feature.graphical.base.deltaecore.wrapper.layouter.feature; import java.awt.geom.Rectangle2D; import java.awt.geom.Rectangle2D.Double; import java.util.Map; import org.abego.treelayout.TreeForTreeLayout; import org.abego.treelayout.TreeLayout; import org.abego.treelayout.util.DefaultConfiguration...
Java
plugins/de.darwinspl.feature.graphical.base/src/de/darwinspl/feature/graphical/base/deltaecore/wrapper/layouter/feature/DwFeatureTreeLayouter.java
HyVar/DarwinSPL
apache-2.0
3,591
112
codeparrot/github-code
8cba4dbebaccf8111c546a9525f51e07cb25e9ac4122b448b218262bb3fe1c34
/******************************************************************************* * Copyright 2014 JHC Systems Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://ww...
Java
redsniff-wicket/src/main/java/jhc/redsniff/wicket/WicketAjaxActivity.java
jhc-systems/redsniff
apache-2.0
2,108
55
codeparrot/github-code
741eec80e59a56fdd5ca52a8cf8aeaa898ccf6126fc7e2e8922012fdd1c61714
package com.carrotsearch.randomizedtesting; import java.util.Arrays; import java.util.IdentityHashMap; import org.assertj.core.api.Assertions; import org.junit.Before; import org.junit.Test; import com.carrotsearch.randomizedtesting.annotations.ParametersFactory; import com.carrotsearch.randomizedtesting.annotations...
Java
randomized-runner/src/test/java/com/carrotsearch/randomizedtesting/TestTestCaseInstanceProviders.java
carrotsearch/randomizedtesting
apache-2.0
1,950
74
codeparrot/github-code
2d2697eac300730517e03ba8c4bd8da1d8153613ef40c575f86d902ca9f0f456
package com.planet_ink.coffee_mud.Abilities.Fighter; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.coffee_mud.Behaviors.interfaces.*; i...
Java
com/planet_ink/coffee_mud/Abilities/Fighter/Fighter_Heroism.java
welterde/ewok
apache-2.0
2,831
72
codeparrot/github-code
be9eb4ef98244facfabfe17d740b9e28ad842262cd86dc233c298b6fcc41ce37
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
C++
aws-cpp-sdk-text-to-speech/source/text-to-speech/apple/CoreAudioPCMOutputDriver.cpp
cedral/aws-sdk-cpp
apache-2.0
7,135
191
codeparrot/github-code
ab611ac056f16966917322c0798a21aaf82753e88e529769ca65c784233b30f4
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SpecRunExampleSignatureBuilder.cs" company="PicklesDoc"> // Copyright 2011 Jeffrey Cameron // Copyright 2012-present PicklesDoc team and community contributors // // // Licen...
C#
src/Pickles/Pickles.TestFrameworks/SpecRun/SpecRunExampleSignatureBuilder.cs
magicmonty/pickles
apache-2.0
1,635
41
codeparrot/github-code
60b2ed8ae977596e67fb0f1deb8ae26c8044053e8e88b14717c69b47aa2c6b60
package org.hibernate.validator.referenceguide.chapter07; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.Set; import javax.validation.Configuration; import javax.validation.Validation; import javax.validation.Validator; import javax.validation.Valida...
Java
documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/XMLConfigurationTest.java
shahramgdz/hibernate-validator
apache-2.0
5,014
112
codeparrot/github-code
0da3b831731875fc48d70aaca87403a2948198e3003c3abad5a07721d78bfe40
/** * @license Copyright 2018 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 a...
JavaScript
lighthouse-core/test/test-utils.js
wardpeet/lighthouse
apache-2.0
1,237
31
codeparrot/github-code
fde6f6f91c988a081c416902d9db08033e9b97e2b60c909c12843da237770bce
/*************************************************************************** * * scanner.h * * $Id$ * *************************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file dis...
C
util/scanner.h
pathscale/stdcxx
apache-2.0
7,739
234
codeparrot/github-code
44a23631535c4319e76c3a74f193fe6d44ab9bb380c94546fa2033cffeb8b534
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <title> Aktiv Skan Qaydaları - alfa </title> </head> <body bgcolor="#ffffff"> <h1>Active Scan Rules - alpha</h1> The following alpha quality active scan rules are included in this add-on: <h2>Apache Range Header DoS (CVE-2011-3192)</h2> Tests to see...
HTML
addOns/ascanrulesAlpha/src/main/javahelp/org/zaproxy/zap/extension/ascanrulesAlpha/resources/help_az_AZ/contents/ascanalpha.html
veggiespam/zap-extensions
apache-2.0
4,976
80
codeparrot/github-code
645287df220c9b6c554eb4f35694b8767685e222a53f9cac37fb4d05f0f287db
/** * */ package org.jboss.resteasy.util; import org.jboss.resteasy.core.ExceptionAdapter; import org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages; import org.jboss.resteasy.resteasy_jaxrs.i18n.Messages; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.ref...
Java
resteasy-jaxrs/src/main/java/org/jboss/resteasy/util/TypeConverter.java
rankinc/Resteasy
apache-2.0
8,401
314
codeparrot/github-code
a6b620cd064a62d504db633e2830707f55cc8a30859c7bc84f466205ca1f3ce1
/* * 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/internal/cache/ha/HAGIIBugDUnitTest.java
deepakddixit/incubator-geode
apache-2.0
12,884
383
codeparrot/github-code
acf76834c490922725c5de9f6ce3fdf457d2e98a684b1b6c6cfb5a05392b8036
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "mscorlib_System_Object2689449295.h" // System.Int32[] struct Int32U5BU5D_t3030399641; // System.Collections.Generic.Link[] struct LinkU5BU5D_t62501539; // System.String[] s...
C
Xcode Project/Classes/Native/mscorlib_System_Collections_Generic_Dictionary_2_ge309261261.h
WestlakeAPC/unity-game
apache-2.0
7,708
182
codeparrot/github-code
656dc11a7911e813b812e494c9e49e7f6669bcf9b6cdfed76c250b9de3b208e7
package me.panpf.sketch.cache; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Color; import android.os.Build; import android.text.format.Formatter; import androidx.annotation.NonNull; import java.util.Arrays; import java.util.Collection...
Java
sketch/src/main/java/me/panpf/sketch/cache/LruBitmapPool.java
panpf/sketch
apache-2.0
11,727
364
codeparrot/github-code
ed3bb4c5fb69b9032a521b6a0eeb6674aed8191316eb616ffe2986665956112e
package com.cattong.sns.impl.qqzone; import java.io.IOException; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.StatusLine; import org.apache.http.client.HttpResponseException; import org.apache.http.client.ResponseHandler; import org.apache.http.util.EntityUti...
Java
YiBoLibrary/src/com/cattong/sns/impl/qqzone/QQZoneResponseHandler.java
0359xiaodong/YiBo
apache-2.0
2,156
61
codeparrot/github-code
7db9f5d284b2ce91095ecafd0c6a9ca4d23f4fde6999095e1eca4e4a9fcc5105
package com.kit.widget.textview; import android.annotation.SuppressLint; import android.content.Context; import android.content.res.TypedArray; import android.graphics.drawable.Drawable; import android.util.AttributeSet; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import ...
Java
libs/ZUtilsExtWidget/src/com/kit/widget/textview/WithSpinnerTextView.java
denvey/discuz_Android
apache-2.0
6,435
222
codeparrot/github-code
be8fdde33a6e370d080c61ddabc06fec40bc52737736a6d005ce257939cc8e31
/** * Copyright 2015 Mohiva Organisation (license at mohiva dot com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
Scala
silhouette-persistence/src/test/scala/com/mohiva/play/silhouette/persistence/repositories/DelegableAuthInfoRepositorySpec.scala
akkie/play-silhouette
apache-2.0
11,100
297
codeparrot/github-code
8634d0399f8e9681a44fe669d71a40a9782f6d229035ad1edced0a2c5bd40ada
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy ...
C#
Engine/Results/BacktestingResultHandler.cs
iamkingmaker/Lean
apache-2.0
37,084
889
codeparrot/github-code
297813b14b6fdd832a9f997afaeae421a5066b72699d13b2adddd231eae6d182
/* * 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/tier/sockets/command/RegisterInterestListTest.java
pdxrunner/geode
apache-2.0
8,200
200
codeparrot/github-code
9e5962c556f940b6477f5f4b53dbbfd67cb8cefab1345415a1f8bd2a28cc7b98
/** * Copyright 2017 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
JavaScript
build-system/tasks/caches-json.js
lannka/amphtml
apache-2.0
1,705
57
codeparrot/github-code
f065987d595147cc712a0a32660792a8ab831125d15e6c53b35ec06ada106042
package com.example.methods; import com.advancedpwr.record.factory.BaseFactory; import com.advancedpwr.record.methods.DateHolder; import java.util.Date; public class DateHolderFactory extends BaseFactory { protected DateHolder dateholder; public DateHolder buildDateHolder() { if ( dateholder != null ) { ...
Java
src/generated/java/com/example/methods/DateHolderFactory.java
avery1701/thor
apache-2.0
613
33
codeparrot/github-code
badc84b6f1508a5584ba55f891f4cd7999db189c285542f4edc317147816008a
/* * Copyright 2015 Adam Bien. * * 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
porcupine/src/test/java/com/airhacks/porcupine/execution/boundary/DefaulThreadPoolExecutorTest.java
AdamBien/porcupine
apache-2.0
2,961
83
codeparrot/github-code
9c7b4f082d28028bac194f18f511acca137c96229e621819de2de62326a17d44
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apac...
C#
src/ResourceManager/Sql/Commands.Sql/Database/Services/AzureSqlDatabaseCommunicator.cs
hungmai-msft/azure-powershell
apache-2.0
6,860
153
codeparrot/github-code
c01a12383738002e95bfc0da0a5b7a1c4009d6f4427bdf2dc1b817d6128d990d
package us.coastalhacking.corvus.annotations; public interface Markers { public String EMPTY_STRING = ""; public String UNKNOWN = "Unknown value"; public String ENTRY_POINT = "us.coastalhacking.corvus.annotations.entrypoint"; public String ENTRY_POINT_TYPE = "Entry Point"; public String EP_ATTR_METHOD = "met...
Java
bundles/us.coastalhacking.corvus.annotations.api/src/us/coastalhacking/corvus/annotations/Markers.java
CoastalHacking/corvus-annotations
apache-2.0
1,356
37
codeparrot/github-code
d45c3373175d086631e6e223081dd2754551a617b1eac4ed8fca50fcc29d9089
#pragma once #include "CoreMinimal.h" #include <Runtime/Launch/Resources/Version.h> #include "PlayFabJsonObject.h" #include "PlayFabEnums.generated.h" // PlayFab enums start with "pfenum_" in order to avoid code-name conflicts - For JSON, remove that prefix, and send only the expected portion (the display name is not...
C
PlayFabServerSDK/PluginFiles/PlayFab/Source/PlayFab/Classes/PlayFabEnums.h
PlayFab/UnrealBlueprintSDK
apache-2.0
29,068
809
codeparrot/github-code
c55871116c55cf194257e2182d359acc6a2ed4bb636c6d308785964f5396a51f
# # Copyright 2016 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
Perl
centreon/common/aruba/snmp/mode/components/psu.pm
bcournaud/centreon-plugins
apache-2.0
2,770
71
codeparrot/github-code
381b900767edcde96ef83d8af6ccc0e714ccc76a4bc687fe5ac3f8a85b3bcbaa
using System; using System.Data; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using DTcms.Common; namespace DTcms.Web.admin.channel { public partial class channel_edit : Web.UI.ManagePage { private string action = DTEnums.ActionEnum.Add.ToSt...
C#
Source/DTcms.Web/admin/channel/channel_edit.aspx.cs
LutherW/MTMS
apache-2.0
14,720
373
codeparrot/github-code
cd8f795ed4ef313385af5e587f7f478fc67d5f167e0d14d9d17b26b9815d3136
{% extends 'admin/master.html' %} {% import 'admin/lib.html' as lib with context %} {% import 'admin/static.html' as admin_static with context%} {% import 'admin/model/layout.html' as model_layout with context %} {% import 'admin/actions.html' as actionlib with context %} {% block head %} {{ super() }} <link h...
HTML
pythonlib/flask_admin/templates/admin/model/list.html
Jumpscale/web
apache-2.0
6,866
171
codeparrot/github-code
6be23382e6db3eb7970512b3da8d12ab0393b33b7a3ffd709bf9eb90c32767b4
/** * * Copyright 2004-2005 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
Java
modules/interop/src/java/org/apache/geronimo/interop/adapter/AdapterManagerGBean.java
meetdestiny/geronimo-trader
apache-2.0
1,151
37
codeparrot/github-code
ef7738559f615b1f357f598342d6d7a3f5097a867a29a7b2eb43bd36f45876fa
/* * Copyright 2013 MovingBlocks * * 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
engine/src/main/java/org/terasology/rendering/shader/ShaderParametersLightShaft.java
frankpunx/Terasology
apache-2.0
3,639
91
codeparrot/github-code
9d8f4ba959d43520dc3d92c218508a8fb91bacd3bde566a8b38fa3adee96719b
/** * 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
hcatalog/webhcat/java-client/src/main/java/org/apache/hive/hcatalog/api/repl/ReplicationTask.java
BUPTAnderson/apache-hive-2.1.1-src
apache-2.0
10,110
246
codeparrot/github-code
c33ffcbdc216d83388adf35621ed986f8336f14ab36be4d8465ce4444394fa1f
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
Java
engine/src/org/pentaho/di/trans/steps/exceloutput/ExcelOutput.java
yshakhau/pentaho-kettle
apache-2.0
29,043
827
codeparrot/github-code
451561468c4439b4e7d119b83cadb41fe3b711cfcf1b3b272d33af044052e317
/** * (C) Copyright IBM Corp. 2010, 2015 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Java
system-ml/src/main/java/com/ibm/bi/dml/hops/ParameterizedBuiltinOp.java
Myasuka/systemml
apache-2.0
38,533
1,140
codeparrot/github-code
4ec66eb4e0ae6e052fade969bb8193f9fe1352b8d8beeef720882bb559d5df45
<!DOCTYPE html> <html devsite> <head><meta name="robots" content="noindex"> <meta name="project_path" value="/web/tools/workbox/_project.yaml" /> <meta name="book_path" value="/web/tools/workbox/_book.yaml" /> <meta name="gtm_var" data-key="docType" data-value="reference"> <title>Class: NetworkOnly</title> <...
HTML
src/content/en/tools/workbox/reference-docs/v2/module-workbox-runtime-caching.NetworkOnly.html
myakura/WebFundamentals
apache-2.0
5,041
117
codeparrot/github-code
18f5510568956e30d588097d269f2b3356f821ffc92b53aae139b38b75ec96ed
/* * Copyright 2014 Florian Müller & Jay Brown * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law ...
Java
src/main/java/org/example/cmis/server/FileBridgeTypeManager.java
jbfromlbc/insightcmislab2014
apache-2.0
7,572
186
codeparrot/github-code
a6fa3db2a4ff0ef0ef5c5e0532705c2721ee9d59d7411da8e272ff9a177da790
// // Copyright 2016 Giovanni Mels // // 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...
C++
test/ParserTest.cc
melgi/cturtle
apache-2.0
5,492
266
codeparrot/github-code
4015d3dff6afedbc3805907bf9c2245400493330b05448df4a78810be03f23f0
define(function(require, exports, module) { var SC = require("app/shaders/shaderChunks"); var physicsParticles = { basicParticle:{ uniforms: THREE.UniformsUtils.merge( [ { "lookup": { type: "t", value: null } }, THREE.UniformsLib[ "particle" ], THREE.UniformsLib[ "shadowmap" ], ...
JavaScript
fun/wombs/quoi/jsV1/app/shaders/tempParticles.js
passiweinberger/passiweinberger.github.io
apache-2.0
4,019
175
codeparrot/github-code
d318983b2b3bb20d7953ee5996f0b0d1a14e243182c457693bb27fe041f842c8
/** * 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
activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/joram/ActiveMQAdmin.java
chirino/activemq
apache-2.0
6,358
217
codeparrot/github-code
6d46affb987947edc6c9edf2df5f8f3d1bdc05d072d5d74e774ab73b07968817
<?php /** * Created by PhpStorm. * User: Jenner * Date: 14-10-20 * Time: 下午2:53 * * 日志记录类,调用方式 * Log::warn($message, 'dir.dir.filename_no_ext'); */ namespace vendor\log; class Log { public static function info($message, $filename=null){ self::log($message, 'INFO', $filename); ...
PHP
Zebra/Log/Log.php
huyanping/Zebra-PHP-Framework
apache-2.0
1,883
61
codeparrot/github-code
ce1b83ec153fc6b588cd21caa0969c8634c880096214b3b7aa63ba546498b2df
/* * This file is part of the Soletta Project * * Copyright (C) 2015 Intel 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...
C
src/test/test-json.c
otaviobp/soletta
apache-2.0
65,020
1,639
codeparrot/github-code
7eaf25f030e8fb7e4d04ddb2b244a02059572a6dab99483ca6c8773bb8dc1328
<?php /********************************************************************* class.ticket.php The most important class! Don't play with fire please. Peter Rotich <peter@osticket.com> Copyright (c) 2006-2013 osTicket http://www.osticket.com Released under the GNU General Public License WITHOU...
PHP
subdomain/support/include/class.ticket.php
cognitoedtech/assy
apache-2.0
89,136
2,562
codeparrot/github-code
898b8e3e762e1690c9696b8044ebadaaf6e4a2e75cd93d7c47183d8847226675
<!-- BEGIN PAGE HEADER--> <h3 class="page-title"> Custom Dropdowns <small>select2 & bootstrap select dropdowns</small> </h3> <div class="page-bar"> <ul class="page-breadcrumb"> <li> <i class="fa fa-home"></i> <a href="#/dashboard.html">Home</a> <i class="fa fa-angle-right"></i> </li> <li> <a href="#...
HTML
theme/templates/admin/angularjs/views/dropdowns.html
zzsoszz/metronicv35_modify
apache-2.0
65,536
1,538
codeparrot/github-code
afaaa0454b7405004878f8fe7919c4520e48ec3d33bbb7ca149539bc823feee8
// Copyright 2011-2016 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
Java
src/main/java/com/google/security/zynamics/reil/translators/ppc/BdnztaTranslator.java
google/binnavi
apache-2.0
2,020
44
codeparrot/github-code
0609d8faaf0460f2109dbc7ab9d034a0b44eb9bbbeaf07edad17ad5c26a2877f
var Hammer = require('../../../module/hammer'); var Item = require('./Item'); var BackgroundGroup = require('../BackgroundGroup'); var RangeItem = require('./RangeItem'); /** * @constructor BackgroundItem * @extends Item * @param {Object} data Object containing parameters start, end * ...
JavaScript
cocomapapp/static/vis-4.17.0/lib/timeline/component/item/BackgroundItem.js
bounswe/bounswe2016group11
apache-2.0
7,464
219
codeparrot/github-code
57be44f4093359ca75e3b6d405f55a6bc1aafda6918c03507a17a2bb0b013bd8
# -*- cpy-indent-level: 4; indent-tabs-mode: nil -*- # ex: set expandtab softtabstop=4 shiftwidth=4: # # Copyright (C) 2008,2009,2010,2011,2013 Contributor # # 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 t...
Python
lib/python2.6/aquilon/worker/commands/show_principal_principal.py
stdweird/aquilon
apache-2.0
1,490
38
codeparrot/github-code
f400aeaa31ddfe3b522b0742e5edb241cbed27907115c0a4fa238d5c2e789d7e
# -*- 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/operators/bash_operator.py
adamhaney/airflow
apache-2.0
5,565
145
codeparrot/github-code