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
45f816d3349fe41cc8025b95edf71a8688e3bceb5e814acb9e8cdc5e97591a90
import tempfile from git import InvalidGitRepositoryError try: from unittest2 import TestCase from mock import patch, Mock except ImportError: from unittest import TestCase from mock import patch, Mock import textwrap from datetime import datetime from botocore.exceptions import ClientError from dat...
Python
src/unittest/python/util_tests.py
marco-hoyer/cfn-sphere
apache-2.0
8,933
243
codeparrot/github-code
b3c0f39d0555b13a539eeb66d89a36654ad31d453c3259befc7e5d25de8f4dd3
/* * 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-huaweicloud-smn/src/main/java/org/apache/camel/component/huaweicloud/smn/SimpleNotificationProducer.java
pmoerenhout/camel
apache-2.0
16,562
370
codeparrot/github-code
eecce0b1fa288e627d971e1ff57e06fcea7a82f5ac0f4174a0f2b354573de41f
package com.zswxsqxt.wf.dao; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Repository; import cn.org.rapid_framework.page.Page; import com.opendata.common.base.BaseHibernateDao; import com.zswxsqxt.wf.model.WfActivity; import com...
Java
src/main/zswxsqxt/com/zswxsqxt/wf/dao/WfActivityDao.java
TuWei1992/zswxsqxt
apache-2.0
3,035
124
codeparrot/github-code
4c83860c12d059c1f7e51ba80ca718bcb8a961af28bfe107d5639e13b5a7bd8e
/** * Copyright 2015-2016 Red Hat, Inc, and individual contributors. * * 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
plugin/src/main/java/org/wildfly/swarm/plugin/maven/StartMojo.java
bobmcwhirter/wildfly-swarm
apache-2.0
13,234
327
codeparrot/github-code
112fd286314eca3338e9910e9b81a3c78eb0596f639376ff520282df9b4bef60
/* * Copyright (C) 2007-2015 Peter Monks. * * 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
amp/src/main/java/org/alfresco/extension/bulkimport/source/fs/DirectoryAnalyser.java
aureg/alfresco-bulk-import
apache-2.0
13,939
308
codeparrot/github-code
832304f553276ff37c2734060bf28a5cfa2e0dba6656975b6c380df8aed93f78
# Copyright 2014 The Oppia Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
Python
core/storage/base_model/gae_models.py
openhatch/oh-missions-oppia-beta
apache-2.0
15,533
417
codeparrot/github-code
c71fdf5da4963453d3a9a580c8318541a691f99151b3b1ebbabbf30d7b1f3858
/* * Copyright 2015-2018 Jeeva Kandasamy (jkandasa@gmail.com) * and other contributors as indicated by the @author tags. * * 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
modules/core/src/main/java/org/mycontroller/standalone/api/jaxrs/mixins/deserializers/FrequencyTypeDeserializer.java
pgh70/mycontroller
apache-2.0
1,580
46
codeparrot/github-code
a6a1312de355d904e1530a5f1f804aa27c43815415557dd1808ec19889c1f207
/*! @license * Shaka Player * Copyright 2016 Google LLC * SPDX-License-Identifier: Apache-2.0 */ goog.provide('shaka.ui.FastForwardButton'); goog.require('shaka.ui.Controls'); goog.require('shaka.ui.Element'); goog.require('shaka.ui.Enums'); goog.require('shaka.ui.Locales'); goog.require('shaka.ui.Localization')...
JavaScript
ui/fast_forward_button.js
tvoli/shaka-player
apache-2.0
2,812
104
codeparrot/github-code
a7865b2cf0653953f8a2de4c842a05bbddb928d836133c09eef64437c669a95b
/** * 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"); yo...
Java
plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/JSR88_Util.java
apache/geronimo
apache-2.0
6,904
156
codeparrot/github-code
4d18aa1341abc0e69e8ebbff0590ab21a90e2f4836e51c14593ff705103a2861
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.eas.widgets.containers; import com.eas.core.XElement; import com.google.gwt.dom.client.Style; import com.google.g...
Java
web-client/src/platypus/src/com/eas/widgets/containers/FlowGapPanel.java
jskonst/PlatypusJS
apache-2.0
1,696
67
codeparrot/github-code
91f98897d15c04c36ecd1106ccede2797cdd5c3d8bd4c4f96900a509b8611f27
/* * Copyright 2002-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 ap...
Java
src/main/java/org/springframework/cache/annotation/AbstractCachingConfiguration.java
sunpy1106/SpringBeanLifeCycle
apache-2.0
4,164
109
codeparrot/github-code
e40164a8312c4038baf3eb79f3cf043d9d4ec22ef23f4e90c25204697fde9e17
package org.apache.cocoon.transformation; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.FileInputStream; import java.io.IOException; import java.io.OutputStream; import java.util.Map; import java.util.zip.ZipInputStream; import java.util.zip.ZipEntry; import...
Java
src/org/apache/cocoon/transformation/DownloadTransformer.java
nverwer/cocooncomponents
apache-2.0
11,508
290
codeparrot/github-code
be3449029ec32b229cec9a2333e43cc3a1aafb1e4b60ea520d1c2dd059a912b2
/* * ==================================================================== * 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
httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestStatefulConnManagement.java
UlrichColby/httpcomponents-client
apache-2.0
9,740
257
codeparrot/github-code
b989f5e0a146bf48d5037803f816c957bb4acb279f0ec7706318fbdf20a341e3
package droidkit.app; import android.content.Intent; import android.net.Uri; import android.support.annotation.NonNull; import java.util.Locale; /** * @author Daniel Serdyukov */ public final class MapsIntent { private static final String MAPS_URL = "https://maps.google.com/maps"; private MapsIntent() { ...
Java
library/src/main/java/droidkit/app/MapsIntent.java
DanielSerdyukov/droidkit-4.x
apache-2.0
1,295
46
codeparrot/github-code
df2101b694eefe37d39ebbb7cf21419b1e48f9ed74591a71ed3a51b8ad7535db
/** * 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/test/IntegrationTestReplication.java
juwi/hbase
apache-2.0
17,081
427
codeparrot/github-code
7f7421ff4a13b9ba09769610253a7831caced94c1a379b0803ef4ad5c34ef191
/* * 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
testkit/src/main/java/org/apache/calcite/test/SqlRuntimeTester.java
apache/calcite
apache-2.0
3,405
97
codeparrot/github-code
4718235e631f81aba218eea7c2ddec0823f4c4b35a507c77c97b13fbeea3507f
/* * 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/test/java/com/facebook/presto/operator/scalar/TestZipWithFunction.java
Teradata/presto
apache-2.0
5,166
114
codeparrot/github-code
8fb9485e37f136e8a592617452b9c54348f0a56724926a7d2b94d0f14d416e89
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
Java
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/SystemMemberRegionJmxImpl.java
jdeppe-pivotal/geode
apache-2.0
4,385
134
codeparrot/github-code
7fcc1a732878e564bfba00561afe0ac64139041be17e365bc61b6ebbc30951e3
/* socket.c Created: Feb 2001 by Philip Homburg <philip@f-mnx.phicoh.com> Open a TCP connection */ #define _POSIX_C_SOURCE 2 #include <errno.h> #include <fcntl.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <signal.h> #include <string.h> #include <unistd.h> #include <sys/ioctl.h> #include <...
C
minix/commands/swifi/socket.c
veritas-shine/minix3-rpi
apache-2.0
5,758
307
codeparrot/github-code
5047d6014bb670761d3a7c097ed95df1f0cda60216dd648c8869e2a3e3080d54
/* * Copyright (c) 2013 Houbrechts IT * * 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/github/houbie/lesscss/engine/ScriptEngineLessCompilationEngine.java
houbie/lesscss
apache-2.0
4,246
113
codeparrot/github-code
e6748e3793e0434ae732cebf73af1700513f7f5672292646bea8fb907e462fb4
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
solr/core/src/java/org/apache/solr/handler/export/StringValue.java
apache/solr
apache-2.0
4,760
167
codeparrot/github-code
e659b3db5822c681535e7decad2c8f4583f91022fb6aabb562b793d8223d4014
package com.sebastian_daschner.scalable_coffee_shop.beans.boundary; import javax.inject.Inject; import javax.json.Json; import javax.json.JsonObject; import javax.json.JsonObjectBuilder; import javax.ws.rs.BadRequestException; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; @Path("beans") pu...
Java
beans/src/main/java/com/sebastian_daschner/scalable_coffee_shop/beans/boundary/BeansResource.java
sdaschner/scalable-coffee-shop
apache-2.0
1,063
41
codeparrot/github-code
e53286de79b647fb3a4be0ce9471da6b7c3ac72faece67f343f799c3663888d3
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.execution.configurations; import com.intellij.execution.ExecutionBundle; import com.intellij.openapi.options.ConfigurationException; import com.intellij.openapi.progress.Process...
Java
platform/execution/src/com/intellij/execution/configurations/RuntimeConfigurationException.java
jwren/intellij-community
apache-2.0
1,497
40
codeparrot/github-code
17caff47f6cccd754b277c5db79127d7ab71c638b81a2e632df113a2160d1e5c
package com.inmobi.messaging; /* * #%L * messaging-client-core * %% * Copyright (C) 2012 - 2014 InMobi * %% * 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.apach...
Java
messaging-client-core/src/main/java/com/inmobi/messaging/Message.java
sreedishps/pintail
apache-2.0
2,267
111
codeparrot/github-code
d73266f4224129c1682ab0b68d177cb22af840eb76f5bcfda0c7ae1edd74e7e1
package org.jboss.resteasy.client.core; import org.jboss.resteasy.client.ClientExecutor; import org.jboss.resteasy.client.ClientRequest; import org.jboss.resteasy.client.ClientResponse; import org.jboss.resteasy.client.ProxyConfig; import org.jboss.resteasy.client.core.extractors.ClientErrorHandler; import org....
Java
resteasy-jaxrs/src/main/java/org/jboss/resteasy/client/core/ClientInvoker.java
psakar/Resteasy
apache-2.0
6,212
177
codeparrot/github-code
33f2e935f7ff8a5d252779e8f891b4a853999451c0970618aa17654de06288f5
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package cn.com.smartdevices.bracelet.view; import android.animation.Animator; // Referenced classes of package cn.com.smartdevices.bracelet.vie...
Java
Original Files/source/src/cn/com/smartdevices/bracelet/view/s.java
vishnudevk/MiBandDecompiled
apache-2.0
1,132
45
codeparrot/github-code
737d09071b3463db3268003226ae31ac80729cbc14e4e0a499f7a47e2a45152b
(function(window) { var DEFAULT_ERROR_ID = 'error-default'; /** * Very simple base class for views. * Provides functionality for active/inactive. * * The first time the view is activated * the onactive function/event will fire. * * The .seen property is added to each object * with view in i...
JavaScript
B2G/gaia/apps/calendar/js/view.js
wilebeast/FireFox-OS
apache-2.0
6,314
248
codeparrot/github-code
e8889122f5640c32d4992f66cf5c451fc8aea637f4499cd54647d706e38db71c
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
third_party/material-components-android/lib/src/android/support/design/widget/DrawableUtils.java
WeRockStar/iosched
apache-2.0
2,166
64
codeparrot/github-code
51b5b34ea29c33c73e19d83932181d36753151d0ad3bafd68239ad1d0689cc9a
package com.artemis; import static org.junit.Assert.assertEquals; import java.util.NoSuchElementException; import com.artemis.systems.EntityProcessingSystem; import com.artemis.utils.IntBag; import org.junit.Test; import com.artemis.utils.ImmutableBag; /** * Created by obartley on 6/9/14. */ public class EntityS...
Java
artemis/src/test/java/com/artemis/EntitySystemTest.java
antag99/artemis-odb
apache-2.0
2,187
100
codeparrot/github-code
3b0a30bf2143d0f3dcf56098001c92170d8e106930211fcaaa9742475908f1e5
package com.sqisland.gce2retrofit; import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.stream.JsonReader; import com.squareup.javawriter.JavaWriter; import org.apache.commons.cli.BasicParser; import org.apache.com...
Java
gce2retrofit/src/main/java/com/sqisland/gce2retrofit/Generator.java
MaTriXy/gce2retrofit
apache-2.0
13,413
405
codeparrot/github-code
1307dfec048a3b9395387bdd9e4a0781e81e6f7b60798874997de4425979e1fb
/* * Copyright 2017 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
C
folly/IndexedMemPool.h
charsyam/folly
apache-2.0
15,973
472
codeparrot/github-code
5742c39982f8c3e5bed86b62540d22e2fdda1fd96d0c2ad4d73e32a0bea3f3cf
#!/usr/bin/env ruby #-- # set.rb - defines the Set class #++ # Copyright (c) 2002 Akinori MUSHA <knu@iDaemons.org> # # Documentation by Akinori MUSHA and Gavin Sinclair. # # All rights reserved. You can redistribute and/or modify it under the same # terms as Ruby. # # $Id: set.rb 8696 2009-01-10 21:17:58Z headius $...
Ruby
jruby/src/lib/ruby/1.8/set.rb
google-code/android-scripting
apache-2.0
27,421
1,251
codeparrot/github-code
a5d9d6b9169f423f5a489b0987df002c27977c1bcf06aae34c29754a3caa40f3
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
Java
modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/model/ApplicationInterface.java
machristie/airavata
apache-2.0
3,284
117
codeparrot/github-code
16ea94f2c9f653842cd251d0ea3ac78a369a06a13e222da4f6c439f137a9ed1d
from hazelcast.serialization.bits import * from hazelcast.protocol.client_message import ClientMessage from hazelcast.protocol.custom_codec import * from hazelcast.util import ImmutableLazyDataList from hazelcast.protocol.codec.map_message_type import * REQUEST_TYPE = MAP_REMOVEENTRYLISTENER RESPONSE_TYPE = 101 RETRYA...
Python
hazelcast/protocol/codec/map_remove_entry_listener_codec.py
cangencer/hazelcast-python-client
apache-2.0
1,199
39
codeparrot/github-code
5addab438101cb0caeba821bbe125e7bbbd9f04dba32b1d4e50654f2cc70968b
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * Extension ID of Files.app. * @type {string} * @const */ var FILE_MANAGER_EXTENSIONS_ID = 'hhaomjibdihmijegdhdafkllkbggdgoj'; /** * Calls a...
JavaScript
src/chrome/test/data/extensions/api_test/file_manager_browsertest/background.js
plxaye/chromium
apache-2.0
1,527
48
codeparrot/github-code
418a06d5696dd79a3d79d0d935c0c7351caa92ccb08d767a45ea243c272bfc70
/** * Copyright 2014 Nortal AS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
Java
modules/orm/src/main/java/com/nortal/petit/orm/statement/ExecutableStatement.java
jimmytheneutrino/petit
apache-2.0
1,553
55
codeparrot/github-code
b64538eddd4e8040d05edd6f449ec7d8555febf2d41633007a9eeb26e4de47cb
/* * Copyright 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
src/com/google/javascript/jscomp/UnreachableCodeElimination.java
antz29/closure-compiler
apache-2.0
8,731
243
codeparrot/github-code
b2c6de2bd020daea8a922e1222bbc1b9e34e282e8a55bab7f8808737cdcb366d
package theinternet.pages; import com.frameworkium.core.ui.annotations.Visible; import com.frameworkium.core.ui.pages.BasePage; import com.frameworkium.core.ui.pages.PageFactory; import io.qameta.allure.Step; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import ru.yandex.qatools.htm...
Java
src/test/java/theinternet/pages/FileUploadPage.java
Frameworkium/frameworkium
apache-2.0
1,003
32
codeparrot/github-code
24ba1fa83419ceeb2c97d9c4b2a67acc11a54a5e6c0a733704a8c8407e6edfce
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
C++
core/jni/android_view_HardwareLayer.cpp
Ant-Droid/android_frameworks_base_OLD
apache-2.0
4,154
110
codeparrot/github-code
082dcfb13e2fef90d8b13c91bc45374236adf685eca157f19084f64f1c38f2e2
/** * Copyright (c) 2016-present, RxJava Contributors. * * 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
src/main/java/io/reactivex/internal/operators/flowable/FlowableFlatMapCompletable.java
NiteshKant/RxJava
apache-2.0
7,266
240
codeparrot/github-code
216d6e8e86a5cfd3a66ed7af186a0573e700fd01f9c1dc813b36e9849f720c20
/* * 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
kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/compiler/DecisionCompiler.java
romartin/drools
apache-2.0
6,980
131
codeparrot/github-code
72bdcd140cb888c63a0a1f09041e88bc48c9883eb2d9c0a826aba8ddd87bcfa4
var msg = require('./locale'); var api = require('./apiJavascript.js'); var paramLists = require('./paramLists.js'); module.exports.blocks = [ {func: 'setDroid', parent: api, category: '', params: ['"R2-D2"'], dropdown: { 0: ['"random"', '"R2-D2"', '"C-3PO"'] } }, {func: 'setDroidSpeed', parent: api, category: '',...
JavaScript
apps/src/studio/dropletConfig.js
pickettd/code-dot-org
apache-2.0
9,539
105
codeparrot/github-code
4ded1088db2bc51ab89f65c1c63f9ebac4cada3c0081725ced92b4e12e0aa562
/* * Copyright (c) 2001-2007, TIBCO Software Inc. * Use, modification, and distribution subject to terms of license. */ jsx3.require("jsx3.chart.Axis");jsx3.Class.defineClass("jsx3.chart.CategoryAxis",jsx3.chart.Axis,null,function(c,p){var ub={d:"h6",a:"aligned",c:"av",f:"gn",b:"between",e:"tickAlignment"};c.TICKS_A...
JavaScript
ui/gi/demo/web/gi/JSX/addins/charting/classes/jsx3/chart/CategoryAxis.js
burris/dwr
apache-2.0
2,582
32
codeparrot/github-code
87408b5f555ffd2225f5eb0b9048a1a4058e68e7ea96a5b85be3a42933ec23fe
/* * Copyright 2012-2013 eBay Software Foundation and ios-driver committers * * 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...
Java
server/src/main/java/org/uiautomation/ios/DeviceStore.java
darraghgrace/ios-driver
apache-2.0
4,836
148
codeparrot/github-code
456471b2924ff82f904acd47737db549def8bc6e654b2bce4b90a4f42f6278ed
using System; using System.Text; using System.Threading.Tasks; using Foundatio.Extensions; namespace Foundatio.Serializer { public interface ISerializer { Task<object> DeserializeAsync(byte[] data, Type objectType); Task<byte[]> SerializeAsync(object value); } public static class Serializ...
C#
src/Foundatio/Serializer/ISerializer.cs
wgraham17/Foundatio
apache-2.0
1,251
33
codeparrot/github-code
491c08aecb2d3a9af4f587963b822fc139b6eaeec2a8c67bef2571d8de70e2cf
/* * Copyright (C) FuseSource, Inc. * http://fusesource.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
Scala
sandbox/fabric-monitor/src/main/scala/org/fusesource/fabric/monitor/internal/DefaultMonitor.scala
janstey/fuse
apache-2.0
10,211
350
codeparrot/github-code
dda97c4f80a0103ada48c3cc0f47228346031577ce098de95838d848ab732541
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C
tensorflow/compiler/xla/service/gpu/copy_thunk.h
frreiss/tensorflow-fred
apache-2.0
2,984
76
codeparrot/github-code
22f72efb5b83375901882c0458b5c8a75f8d2988133d532ebb630e2c6af126f8
package provision import ( "bytes" "fmt" "io/ioutil" "net/url" "path" "path/filepath" "strconv" "strings" log "github.com/Sirupsen/logrus" "github.com/docker/machine/libmachine/auth" "github.com/docker/machine/libmachine/provision/pkgaction" "github.com/docker/machine/libmachine/swarm" "github.com/docker...
GO
libmachine/provision/utils.go
zehicle/machine
apache-2.0
6,377
238
codeparrot/github-code
4422787e03f29b45d30a55a703fc4d4c0f8bbc8354ba7de681a403ab90c2fe36
/* * Copyright (c) 2018 Makaio GmbH * * SPDX-License-Identifier: Apache-2.0 */ #include <shell/shell_rtt.h> #include <init.h> #include <SEGGER_RTT.h> #include <logging/log.h> BUILD_ASSERT_MSG(!(IS_ENABLED(CONFIG_LOG_BACKEND_RTT) && COND_CODE_0(CONFIG_LOG_BACKEND_RTT_BUFFER, (1), (0))), "Conflicting log RTT ...
C
subsys/shell/shell_rtt.c
ldts/zephyr
apache-2.0
2,990
124
codeparrot/github-code
a0f31ba6d3cd471c463ab89f5d3d870e530bd8a0e3d5cb4af7ed2e5309ec3d17
/* Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
C++
paddle/fluid/operators/inverse_op.cc
luotao1/Paddle
apache-2.0
5,052
138
codeparrot/github-code
79c8ed4d403ca2fe16b58b14928332102648dcd6fac356d056290d07f954de39
<?php /** * @package php-font-lib * @link https://github.com/PhenX/php-font-lib * @author Fabien Ménager <fabien.menager@gmail.com> * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ namespace FontLib\WOFF; use FontLib\Table\DirectoryEntry; /** * WOFF font ...
PHP
application/libraries/dompdf/lib/php-font-lib/classes/WOFF/File.php
marc0l92/AmministratoreDiCondominio_webapp
apache-2.0
2,055
82
codeparrot/github-code
f50a1cb686b73d54bb8345cb45b51917a35cbd57374ac81e163693c8226c6e51
using Newtonsoft.Json; namespace Nest { [JsonObject] public interface ILoggingAction : IAction { [JsonProperty("text")] string Text { get; set; } [JsonProperty("category")] string Category { get; set; } [JsonProperty("level")] LogLevel? Level { get; set; } } public class LoggingAction : ActionBase...
C#
src/Nest/XPack/Watcher/Action/Logging/LoggingAction.cs
CSGOpenSource/elasticsearch-net
apache-2.0
1,238
45
codeparrot/github-code
acff137c96ed23ad3cc13938c437d1b0afe35686dc2dea039fbaefc81200c660
#!/usr/bin/env python """ Copyright (c) 2006-2016 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ from lib.core.enums import DBMS from lib.core.settings import MAXDB_SYSTEM_DBS from lib.core.unescaper import unescaper from plugins.dbms.maxdb.enumeration import Enumeration ...
Python
tools/sqlmap/plugins/dbms/maxdb/__init__.py
glaudsonml/kurgan-ai
apache-2.0
1,033
34
codeparrot/github-code
84d3622ecf494967b9887a3d7e4010915c40f68015518268c094e30fcbf8ad23
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
example/src/main/java/pl/allegro/foggerexample/config/FoggerExampleApplication.java
RyanTech/fogger
apache-2.0
2,363
73
codeparrot/github-code
7582077ed314ec57735ff42cf37787f13c153a957c187c23d667e221f171f7b5
/* * 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++
contrib/native/client/src/clientlib/errmsgs.cpp
KulykRoman/drill
apache-2.0
6,003
96
codeparrot/github-code
529b1def6854360880ad190bc50117b43f741f11a2c467197ab4e879cc768025
// 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 by applicable law...
Java
examples/adwords_axis/src/main/java/adwords/axis/v201502/advancedoperations/UseSharedBiddingStrategy.java
raja15792/googleads-java-lib
apache-2.0
9,544
229
codeparrot/github-code
a578386da86d061662e5249cce8c18be2cc27bb22d9464e264b38c989ae5af0e
/* * Copyright 2014 Space Dynamics Laboratory - Utah State University Research 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/LICEN...
Java
server/openstorefront/openstorefront-web/src/main/java/edu/usu/sdl/openstorefront/web/init/ApplicationInit.java
skycow/Open-Storefront
apache-2.0
1,105
45
codeparrot/github-code
ec237a552d8ddadf2b83ba7eaea67e84c2629fe0f893f0e90d579b3369d58af4
/* * Copyright 2015 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. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
Java
kie-ci/src/test/java/org/kie/scanner/KieModuleIncrementalCompilationTest.java
reynoldsm88/drools
apache-2.0
10,918
270
codeparrot/github-code
037d7e05bf2ebf30ed17f612a433f6d2cf1e918eb5c5f2558a9e2a62d81f5adb
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/events/CloudWatchEvents_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/events/model/ConnectionState.h> #include <aws/core/utils/DateTime.h> #inclu...
C
aws-cpp-sdk-events/include/aws/events/model/UpdateConnectionResult.h
aws/aws-sdk-cpp
apache-2.0
6,506
192
codeparrot/github-code
50e6c5de640a399fe82dee9c87291f4e6166770829600335c88119d8f01ac9a6
using System; using BEPUphysics.BroadPhaseEntries; using BEPUphysics.BroadPhaseSystems; using BEPUphysics.BroadPhaseEntries.MobileCollidables; using BEPUphysics.CollisionTests; using BEPUphysics.CollisionTests.CollisionAlgorithms.GJK; using BEPUphysics.CollisionTests.Manifolds; using BEPUphysics.Constraints.Col...
C#
BEPUphysics/NarrowPhaseSystems/Pairs/GeneralConvexPairHandler.cs
Anomalous-Software/BEPUPhysics
apache-2.0
2,403
91
codeparrot/github-code
bb187899d9e7fa3b0c3c487538ff74af758959808e6224b546391b8ce4207bd8
<?php final class PhabricatorDifferentialApplication extends PhabricatorApplication { public function getBaseURI() { return '/differential/'; } public function getName() { return pht('Differential'); } public function getMenuName() { return pht('Code Review'); } public function getShortDe...
PHP
src/applications/differential/application/PhabricatorDifferentialApplication.php
r4nt/phabricator
apache-2.0
4,319
151
codeparrot/github-code
4910623fc42f4883632517383fadff8bb04c15388101b8449fe97784d33cab9d
/* * Copyright 2019 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 in w...
Java
profiler/src/main/java/com/navercorp/pinpoint/profiler/sender/grpc/ReconnectExecutor.java
suraj-raturi/pinpoint
apache-2.0
3,111
89
codeparrot/github-code
e9efee5089a25e85607c4002d68bbc22af6021a5fe0b961c5f9ee7c19abe6a4d
/* * Autosleep * Copyright (C) 2016 Orange * Authors: Benjamin Einaudi benjamin.einaudi@orange.com * Arnaud Ruffin arnaud.ruffin@orange.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 co...
Java
spring-apps/autowakeup-proxy/src/main/java/org/cloudfoundry/autosleep/ui/proxy/HttpClientConfiguration.java
pradyutsarma/autosleep
apache-2.0
3,689
101
codeparrot/github-code
7951e72399d44491bc3f0423183bf4226a7196e8c6f90e985047b6af70af2507
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C
aws-cpp-sdk-appstream/include/aws/appstream/model/DisassociateFleetResult.h
JoyIfBam5/aws-sdk-cpp
apache-2.0
1,226
47
codeparrot/github-code
12408c552a65941d3e54f76a16567bb07ae1fd6b05c0c918247e56e3dc820edb
/* * JBoss, Home of Professional Open Source * Copyright 2012, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
Java
impl/src/main/java/org/jboss/weld/util/bean/SerializableForwardingInjectionPoint.java
antoinesd/weld-core
apache-2.0
1,478
41
codeparrot/github-code
4171383af64317517d8269cf08da4171cbef8632b404c032cd410b7ac4ba8bbb
/* * 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
log4j-flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeAvroManager.java
ClarenceAu/log4j2
apache-2.0
10,591
298
codeparrot/github-code
b870576523e56bbbddc4dc16ba7fc8ba0eebc914f232fe3ba7301a716865a0dc
package net.stickycode.configuration.value; import net.stickycode.configuration.ConfigurationValue; public class SystemValue implements ConfigurationValue { private String value; public SystemValue(String value) { this.value = value; } @Override public String get() { return value; } @Ove...
Java
net.stickycode.configuration/sticky-configuration/src/main/java/net/stickycode/configuration/value/SystemValue.java
walterDurin/stickycode
apache-2.0
672
35
codeparrot/github-code
ed2c85c8b41779ad87c408bbceb1daf0a102f4ce6c7991ee70ea2609d88e2147
package transaction import ( . "DNA/common" "DNA/common/serialization" "DNA/core/contract" "DNA/core/contract/program" sig "DNA/core/signature" "DNA/core/transaction/payload" . "DNA/errors" "crypto/sha256" "errors" "fmt" "io" "sort" ) //for different transaction types with different payload format //and t...
GO
core/transaction/transaction.go
BooniesFX/DNA
apache-2.0
13,441
492
codeparrot/github-code
99f50dd3ab727ee249773874c1ef9292797f93e820bc88169f1da714994cdd04
/* * Copyright 2010 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 agreed to i...
Java
optaplanner-benchmark/src/main/java/org/optaplanner/benchmark/impl/statistic/bestscore/BestScoreSubSingleStatistic.java
eshen1991/optaplanner
apache-2.0
2,938
77
codeparrot/github-code
fe56545a97d3b21509f781ebd2e09a75c216b19ff32e2be9d1eb7bcbe43a1403
# Copyright (C) 2013 Nippon Telegraph and Telephone 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 applicab...
Python
ryu/lib/ofctl_v1_2.py
Neil741/ryu-master
apache-2.0
24,202
718
codeparrot/github-code
d75cb06b028a861143fcb6929fa8cc1cfb029821b67cab664725232aa5c944d4
# Copyright 2013 IBM 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 agree...
Python
nova/conductor/manager.py
pombredanne/MOG
apache-2.0
39,345
820
codeparrot/github-code
eb1eb7da812e54a927bc6e3c2628292aff57f3cfb1af7cf15601a9169a516a6c
/** * Copyright (C) 2011-2012 Typesafe Inc. <http://typesafe.com> */ package com.typesafe.config.impl; import java.io.ObjectStreamException; import java.io.Serializable; import java.math.BigInteger; import java.util.AbstractMap; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; impo...
Java
config/src/main/java/com/typesafe/config/impl/SimpleConfigObject.java
typesafehub/config
apache-2.0
24,048
672
codeparrot/github-code
9a1bee905828e8e4c44e1460ad1caa092970b2404b69add6ab0eeeb9b3dc7082
/* * Copyright 2015 AppDynamics, 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
ECommerce-Web/src/main/java/com/appdynamicspilot/rest/ShoppingCart.java
udayinfy/ECommerce-Java
apache-2.0
1,458
57
codeparrot/github-code
7eb9fd6ab4ea63fd119fb7fa040bc7ff8ef735a99acd620195c14b57c61c61c9
import backgroundImages from '@const/background-images'; import * as actions from './actions.js'; import Background from './class.js'; // const getObj = (indexString) => { /* const [type, index] = indexString.split('-') if (typeof index === 'undefined') return {} return store.getState().bgimgState.list[type][index]...
JavaScript
src/api/bgimg/api.js
Diablohu/WhoCallsTheFleet-React
apache-2.0
2,700
106
codeparrot/github-code
86d56e43099d0ec6b3f447a05a437543059be282249fcf7f9888c97f0dc5a2b4
package org.carlspring.strongbox.validation; import javax.inject.Inject; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; import org.carlspring.strongbox.authorization.service.AuthorizationConfigService; import org.springframework.util.StringUtils; /** * @author Pablo...
Java
strongbox-web-core/src/main/java/org/carlspring/strongbox/validation/UniqueRoleNameValidator.java
sbespalov/strongbox
apache-2.0
922
35
codeparrot/github-code
fb7835624f54c3f5a931acc2337bc5fd4ec43310179b60709d729e64fdb4462c
/* Copyright 2014 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
GO
cmd/kube-apiserver/app/options/options.go
dcbw/kubernetes
apache-2.0
16,709
212
codeparrot/github-code
73f8c7f4c756b9dd57262da14a98524439170300757d7d6de16856856bb4f1d4
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/proton/Proton_EXPORTS.h> #include <aws/proton/ProtonRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Proton { namesp...
C
aws-cpp-sdk-proton/include/aws/proton/model/DeleteEnvironmentTemplateVersionRequest.h
awslabs/aws-sdk-cpp
apache-2.0
6,025
174
codeparrot/github-code
f4c826f99b50b90207cb3358a900ff7fafa3d1f327f2f5e48f3160e399020bf7
/* * Copyright 2016 Netbrasoft * * 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 writi...
Java
src/main/java/br/com/netbrasoft/gnuob/api/category/CategoryWebServiceRepository.java
Netbrasoft/gnuob-api
apache-2.0
5,406
119
codeparrot/github-code
0324f32ebb26a278bea73bbe6ec2fa31d66c4f5cdf6f8e639106f32c836f6c77
package org.wso2.carbon.apimgt.rest.api.publisher.v1.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import java.util.ArrayList; import java.util.List; import org.wso2.carbon.apimgt.rest.api.publisher.v1.dto.AlertTypeDTO; import javax.validation.constrain...
Java
components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1/src/gen/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/dto/AlertTypesListDTO.java
nuwand/carbon-apimgt
apache-2.0
2,369
101
codeparrot/github-code
eb3a806c7eb3c87c19fd7ad754b5fdd925ed5131a209797034b9103072164a70
package libnetwork import ( "fmt" ) // ErrNoSuchNetwork is returned when a network query finds no result type ErrNoSuchNetwork string func (nsn ErrNoSuchNetwork) Error() string { return fmt.Sprintf("network %s not found", string(nsn)) } // BadRequest denotes the type of this error func (nsn ErrNoSuchNetwork) BadR...
GO
error.go
Microsoft/libnetwork
apache-2.0
5,043
176
codeparrot/github-code
9763f99c69ac8417f4f87530d9a49c9fe7fd031141489c096a5ea389849c2e88
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/servicediscovery/model/PublicDnsPropertiesMutable.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; n...
C++
aws-cpp-sdk-servicediscovery/source/model/PublicDnsPropertiesMutable.cpp
awslabs/aws-sdk-cpp
apache-2.0
1,077
60
codeparrot/github-code
494d6c7463cd4078f7a5f11153d74bd085e0b1ad59a87e2af099dbb1e6f6d48c
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.ap...
Java
hawkular-wildfly-monitor/src/test/java/org/hawkular/agent/monitor/inventory/ResourceManagerTest.java
pavolloffay/hawkular-agent
apache-2.0
6,531
153
codeparrot/github-code
ee7f55819b84fb0c412b4d7c3a0b5071545c76b51043987e1fba8fa425e08ef5
/** * 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-docker/src/test/java/org/apache/camel/component/docker/headers/ListContainersCmdHeaderTest.java
koscejev/camel
apache-2.0
2,786
76
codeparrot/github-code
0dc4423b652e3e344b1cb832b6c136547b065106a4a7709d9c91b074ba37306b
<!DOCTYPE html> <!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]--> <!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]--> <!--[if !IE]><!--> <html lang="en"> <!--<![endif]--> <!-- BEGIN HEAD --> <head> <meta charset="utf-8"/> <title>DHP Đăng nhập quản trị</title> <meta http-equiv="X-UA-Compatible...
PHP
resources/views/auth/login.blade.php
imtoantran/md
apache-2.0
6,023
137
codeparrot/github-code
7b233fd6857f22eaa9a29d34100e9b8a343414ac92eb1ab7819f99fd7dc6c0c7
/* * 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
elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/src/test/java/org/apache/shardingsphere/elasticjob/lite/spring/boot/reg/snapshot/ElasticJobSnapshotServiceConfigurationTest.java
elasticjob/elastic-job
apache-2.0
1,874
47
codeparrot/github-code
2643e7874babdfa6ccc19f8aa2869cba12d3ca84092208c6fc23ba44c5a285b5
/* * Medical Image Registration ToolKit (MIRTK) * * Copyright 2015-2017 Imperial College London * Copyright 2015-2017 Andreas Schuh * * 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++
Applications/src/calculate-element-wise.cc
BioMedIA/MIRTK
apache-2.0
50,080
1,102
codeparrot/github-code
7a8b414c3d238aec8b687f62800a9e4e95cb6b21cdcd012759d1dd2cf08f6176
/* * Copyright 2000-2009 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
java/java-impl/src/com/intellij/codeInsight/template/macro/IterableComponentTypeMacro.java
joewalnes/idea-community
apache-2.0
3,485
95
codeparrot/github-code
add1dddb35e8e950a16f0e068916796eb8b6ead63362304b53569d7adcf34cc5
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/FileDocumentManagerImpl.java
semonte/intellij-community
apache-2.0
29,248
799
codeparrot/github-code
261bf75a37dd90eb9b87f7f469427b400a39f614e8d95332b1ed08414182ad11
/** * 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"); yo...
C#
lang/cs/Org.Apache.REEF.Wake/Remote/Impl/StreamingTransportServer.cs
yunseong/incubator-reef
apache-2.0
7,832
211
codeparrot/github-code
2d5ebb441a0addb413a26b197efe9fe8e555c5a61e566d9263a5ba3933bb6c0e
/* * 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/cluster/impl/TcpIpJoiner.java
tombujok/hazelcast
apache-2.0
22,055
528
codeparrot/github-code
44b7db877c795dd5b8dae756375e66ac34dcda615564d902a6f0a27e6b01fa3c
# Copyright 2019 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
Python
mixup.py
google-research/remixmatch
apache-2.0
4,608
119
codeparrot/github-code
2e409d8e4129f64b339abf476fb9cff28278685913007d8f37b012c6714137c7
/** * 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++
c++/src/StripeStream.hh
omalley/orc
apache-2.0
6,482
218
codeparrot/github-code
8c64869e6046220a8dc5d8995ebdab58f6491fb37ecaddbcb9a82d227c7bf9bd
/* * Copyright 2021 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
server/src/test-shared/java/com/thoughtworks/go/server/perf/commands/RegisterAgentCommand.java
marques-work/gocd
apache-2.0
1,951
55
codeparrot/github-code
b2f87aee14bea9644cff92a6c5eafa6894f7929a6faa45b41f1799aebd7ea33d
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <!-- Title and other stuffs --> <title>插件3页面 Bootstrap响应式后台管理系统模版Mac - JS代码网</title> <meta name="keywords" content="Bootstrap模版,Bootstrap模版下载,Bootstrap教程,Bootstrap中文,后台管理系统模版,后台模...
HTML
demo/manage/widgets3.html
hubcarl/smart-nodejs-express-ejs
apache-2.0
31,927
791
codeparrot/github-code
4204dc5a9143da7b0942d987403e2a7e76bc80b9fa5b0fa55efde069c454c79f
/* * Copyright 2010-2012 Ning, Inc. * * Ning licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
src/test/java/com/ning/metrics/collector/filtering/TestPatternSetFilter.java
ning/collector
apache-2.0
3,816
97
codeparrot/github-code
7cb9845d926a7a2e67dceba2e190064eae7acccfcb288c0358273a97a07d5e50
/* * 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-web/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsStatsOverHttpDUnitTest.java
pivotal-amurmann/geode
apache-2.0
2,773
72
codeparrot/github-code
42f1b2dace2502f9342e1abedc5f13d0712cd1fcf90a01f9d46c97741b5548d0
/* * Copyright 2014 Click Travel Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Java
cheddar/cheddar-integration-aws/src/test/java/com/clicktravel/infrastructure/persistence/aws/dynamodb/DynamoDocumentStoreTemplateTest.java
clicktravel-martindimitrov/Cheddar
apache-2.0
16,505
372
codeparrot/github-code
aedf5ac75b50e0af7ab7c16510489803bd97f9dca0ec88cb919309a2ad5dd9e3
// __BEGIN_LICENSE__ // Copyright (c) 2006-2013, United States Government as represented by the // Administrator of the National Aeronautics and Space Administration. All // rights reserved. // // The NGT platform is licensed under the Apache License, Version 2.0 (the // "License"); you may not use this file excep...
C
src/asp/GUI/MainWindow.h
oleg-alexandrov/StereoPipeline
apache-2.0
6,849
199
codeparrot/github-code
b7c69e7f48427c0175e477d539bcc87c3aced89b10d5952c0bc1ff8f6cb4f92c
/* * RemoveRelationKnowhow.java * Created on 2013/06/28 * * Copyright (C) 2011-2013 Nippon Telegraph and Telephone 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 * * ...
Java
src/tubame.knowhow/src/tubame/knowhow/plugin/ui/view/remove/RemoveRelationKnowhow.java
azkaoru/migration-tool
apache-2.0
5,041
135
codeparrot/github-code
0b57d284239379d154aaccd3a32ea873244b1de641dfe2797e7eb16e19bb0760
/* * Copyright (C) 2013 Leszek Mzyk * Modifications Copyright (C) 2015 eccyan <g00.eccyan@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lic...
Java
spinning/src/main/java/com/eccyan/widget/SpinningViewPager.java
eccyan/SpinningTabStrip
apache-2.0
6,099
185
codeparrot/github-code