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
d95bc2d2435bbf0db826a0d2b49c0de06bdb3295d9e7e0824ab0940d85840dad
/* * Copyright (c) 2011-2015 Spotify AB * * 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...
Java
src/test/java/com/spotify/google/cloud/pubsub/client/integration/ProgressMeter.java
skinzer/async-google-pubsub-client
apache-2.0
3,190
95
codeparrot/github-code
1be6a626af6ba448cf64fdd93649a9bc0a9884fdc4c6320049bdb7b8ad72fdf9
/* * 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
llap-common/src/java/org/apache/hadoop/hive/llap/metrics/ReadWriteLockMetrics.java
alanfgates/hive
apache-2.0
15,607
432
codeparrot/github-code
461d19c768d315f93f2f0af9c70d748e065d43dc409a657734cdd13652f91a3e
package leetcode; /** * Given a non negative integer number num. For every numbers i in the range 0 ≤ * i ≤ num calculate the number of 1's in their binary representation and return * them as an array. * Example: * For num = 5 you should return [0,1,1,2,1,2]. * Follow up: * It is very easy to come up with a sol...
Java
lettcode/src/leetcode/Counting_Bits.java
pistolove/Lettcode
apache-2.0
1,189
44
codeparrot/github-code
b94286e6b39bdf1f6d5af362a923c7c3d6e89f4a7639e8b5dab47b0e3dea920f
# Copyright 2012 Aaron Jensen # # 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 ...
PowerShell
.whiskey/Functions/Use-CallerPreference.ps1
pshdo/LibGit2.PowerShell
apache-2.0
4,842
112
codeparrot/github-code
11171e04168b53e395b6f4733807b2ccfd9fa9abc9ed334734a1bc2df12d8914
package org.directcode.ide.core; import lombok.Getter; import org.directcode.ide.api.*; import org.directcode.ide.api.MenuBar; import org.directcode.ide.plugins.PluginManager; import org.directcode.ide.util.Logger; import org.directcode.ide.window.EditorWindow; import org.directcode.ide.window.laf.LookAndFeelManager; ...
Java
src/main/java/org/directcode/ide/core/Aluminum.java
logangorence/Aluminum
apache-2.0
2,738
128
codeparrot/github-code
591bb7865e764d51167548021bfa0168c44e3b2ca5d4535e2018482317031ff9
// Copyright ©2005, 2006 Freescale Semiconductor, Inc. // Please see the License for the specific language governing rights and // limitations under the License. /* Copyright© 1995 - 1997 Metrowerks Corp. All rights reserved ---------------------------------------<< ¥ >>----------------------------------------- FILE:...
C
Libraries/open-powerplant/constructor/Constructor_Pro/Constructor/Source files/PP Changes/UGraphicsUtilities.h
mbert/mulberry-main
apache-2.0
8,503
288
codeparrot/github-code
f22e1f9585c970e0f3918982c4470d61638199ebecebbbdcd34490a6781a8bfa
package org.lantern.monitoring; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.InetSocketAddress; import java.util.HashMap; import java.util.Map; import org.apache.commons.io.IOUtils; import org.lantern.HttpURLClient; import org....
Java
src/main/java/org/lantern/monitoring/StatshubAPI.java
getlantern/lantern-common
apache-2.0
4,868
161
codeparrot/github-code
d8de34a94b25a2df3a3380f9f786eb23214954105637c3040d43c6b1db9acddc
/* * Copyright (c) 2020 VMware Inc. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 * * 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/L...
Java
platform/src/main/java/org/hillview/table/filters/RangeFilterArrayDescription.java
mbudiu-vmw/hiero
apache-2.0
1,601
45
codeparrot/github-code
b134303f7944bd84f7dd9ea4c6071dabe16606207d09035d1c0ee964ed861b7d
/* * Copyright 2009 Kjetil Valstadsve * * 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
launcher/src/main/java/vanadis/launcher/AbstractOSGiLauncher.java
kjetilv/vanadis
apache-2.0
12,772
367
codeparrot/github-code
39e55fb7c2d79bf0aa13f823cd8711f7b97f6f60891dad1a95e870f626594866
package se.chalmers.pd.sensors; import org.json.JSONException; import org.json.JSONObject; /** * This controller class creates messages and asks a mqtt worker to publish * them. The worker is instantiated when the object is created and the thread is * started. There is no guarantee however that the thread will sta...
Java
apps/sensors/src/se/chalmers/pd/sensors/Controller.java
Snadde/infotainment
apache-2.0
1,389
53
codeparrot/github-code
6046aac380bc29564edbbbaa452784a13d13962b94d50b924eeaf8f115ca93b8
package com.fsck.k9.mail.store.imap; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import com.fsck.k9.mail.K9MailLib; import com.fsck.k9.mail.filter.FixedLengthInputStream; import com.fsck.k9.mail.filter.PeekableInputStream; import timber.log.Timber; impor...
Java
qmail-library/src/main/java/com/fsck/k9/mail/store/imap/ImapResponseParser.java
philipwhiuk/q-mail
apache-2.0
15,316
489
codeparrot/github-code
5a50549584436334ffe87a63543e02fab3e100a2d72cdf209e57257bad67a16b
<?php class Link_model extends CI_Model { public function __construct() { $this->load->database(); $this->load->helper('security'); $this->load->helper('human_timing'); $this->load->helper('markdown'); $this->load->helper('telveflavor'...
PHP
application/models/Link_model.php
DragonComputer/telve.net
apache-2.0
24,150
549
codeparrot/github-code
8d9f2f3d2b2914282cfe54689ec8bc412e394498a7d8fe45bd9cc66ec85cb4e0
package moe.dangoreader.activity; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view.Menu; import android.view.MenuIte...
Java
app/src/main/java/moe/dangoreader/activity/MangaItemActivity.java
williamxu/DangoReader
apache-2.0
5,092
133
codeparrot/github-code
3c63542f5018334f0aafb78d8f47c4da4fc117f869069f9aa538df5ba4da50a4
/* Copyright 2019 The Ceph-CSI 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, so...
GO
internal/util/pidlimit.go
ceph/ceph-csi
apache-2.0
2,838
127
codeparrot/github-code
7ddc9e49ec8e936e99aa16963c8ed0386bab011c1b3cbb773afefb536a3e189d
#pragma once #include <data_types/fourierseries.hpp> #include <kernels/kernels.h> #include <kernels/defaults.h> #include <iostream> #include <utils/nvtx.hpp> class HarmonicFolder { private: unsigned int max_blocks; unsigned int max_threads; float** h_data_ptrs; float** d_data_ptrs; HarmonicSums<float>& sums;...
C++
include/transforms/harmonicfolder.hpp
ewanbarr/peasoup
apache-2.0
1,149
46
codeparrot/github-code
5733e3e2abb77c6a7b0742b170f88a55c166b621fca4052858513b990954d32a
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/appflow/model/CustomConnectorDestinationProperties.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; ...
C++
aws-cpp-sdk-appflow/source/model/CustomConnectorDestinationProperties.cpp
aws/aws-sdk-cpp
apache-2.0
3,808
137
codeparrot/github-code
6b33db8edb03a7978e5b6d5cda1b5cdfe8bc2dd8046f356e467c7d0e5d437c49
package com.github.j1stiot.mqtt.api.internal; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.handler.codec.mqtt.*; import org.apache.commons.lang3.StringUtils; import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * Represent MQTT Message passed in Com...
Java
j1st-mqtt-api/src/main/java/com/github/j1stiot/mqtt/api/internal/InternalMessage.java
12315jack/j1st-mqtt
apache-2.0
13,361
295
codeparrot/github-code
bcdc2f04970708f4c6b7dc0b1d05c1905a88b7b72ce6dc91050ec250080ec80f
/* * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
Java
JsTestDriver/src/com/google/jstestdriver/output/XmlPrinterImpl.java
BladeRunnerJS/brjs-JsTestDriver
apache-2.0
3,937
111
codeparrot/github-code
d1036a8aa3c717ae8616c10c348621581264bb06dd1d46e88ce8b3f00c62f5f4
/* ************************************************************************************ * Copyright (C) 2001-2011 encuestame: system online surveys Copyright (C) 2009 * encuestame Development Team. * Licensed under the Apache Software License version 2.0 * You may obtain a copy of the License at http://www.apache....
Java
enme-business/src/main/java/org/encuestame/business/cron/RemoveUnconfirmedAccountJob.java
cristiani/encuestame
apache-2.0
3,004
94
codeparrot/github-code
2f335dfcf34b7b65eddf9f6f34b0a6406059e5beee486aff3e35b910b638ac84
/* * Copyright 2017-2022 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 "licen...
Java
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/transform/ServicePipelineJsonUnmarshaller.java
aws/aws-sdk-java
apache-2.0
5,087
111
codeparrot/github-code
ed52bd80593a8fc986ae97434db41ef5d96381388870ca792c4b1d3ca3dbfc2e
#!/bin/bash #nagios exit code STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 help () { local command=`basename $0` echo "NAME ${command} -- check memory status SYNOPSIS ${command} [OPTION] DESCRIPTION -w warning=<percent> -c critical=<percent> USAGE: ...
Shell
check_mem.sh
zhangnq/nagios
apache-2.0
2,706
89
codeparrot/github-code
7bc602f045b0d4566ba2bf4ce4a729331d2d6471d37939a7a44d15e0ba7fe732
package weibo4j.http; import org.apache.commons.httpclient.*; import org.apache.commons.httpclient.auth.AuthScope; import org.apache.commons.httpclient.cookie.CookiePolicy; import org.apache.commons.httpclient.methods.DeleteMethod; import org.apache.commons.httpclient.methods.GetMethod; import org.apache.common...
Java
weibo/src/main/java/weibo4j/http/HttpClient.java
jpbirdy/WordsDetection
apache-2.0
18,642
466
codeparrot/github-code
e91e8cd7fcd1ff9081d8ceebc8ef52c8f2416585acbf1488dab543ce9f0aed5b
/** * @license * Copyright 2014 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
JavaScript
core/ChromeEval.js
osric-the-knight/foam
apache-2.0
3,509
113
codeparrot/github-code
45f326c418d3691ac37ad238fd9a55b002087614bcb3e2f52381a08a1694709c
/** * Copyright 2005-2013 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
Java
rice-middleware/it/ksb/src/test/java/org/kuali/rice/ksb/messaging/remotedservices/BaseballCardCollectionService.java
ua-eas/ksd-kc5.2.1-rice2.3.6-ua
apache-2.0
2,496
87
codeparrot/github-code
64d4e5e724410eb70565a487deff34525e486df4ad11d3ae7401d62add96e17c
/* * Copyright 2016 Jalotsav * * 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
app/src/main/java/com/jalotsav/sarvamsugar/navgtndrawer/FrgmntOutstandingRprt.java
jalotsav/Sarvam-Sugar
apache-2.0
25,900
640
codeparrot/github-code
47b9a7547116373a7a3690e871905aa73a98716433ded9e262a2795a9aab0c58
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to you under the Apache License, Version 2.0 * (the "License"); you may ...
Java
core/src/test/java/org/apache/calcite/util/UtilTest.java
glimpseio/incubator-calcite
apache-2.0
47,693
1,407
codeparrot/github-code
7fda67b96c05e71afec59b7797467d4405346175528dd967a36e1f27e1738833
/** * Copyright 2020 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
extensions/amp-base-carousel/1.0/dimensions.js
jmadler/amphtml
apache-2.0
7,290
246
codeparrot/github-code
8a1269fbf6f66d037df3224a8e29e8207bb32094cd1217f7caeb3fcdb93571a2
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Setting Up a Windows Forms or WPF Project &mdash; Leap Motion Python SDK v2.2 documentation</title> <link rel="stylesheet" href="...
HTML
AirMusic/LeapSDK/docs/python/devguide/Project_Setup_WinForms.html
OinkEnterprise/AirMusic
apache-2.0
50,655
651
codeparrot/github-code
ef898bfa841e636b4289e3f9fc0c6ad8c5c73591348c7fb4ad8c1c5ff0e3766c
<!DOCTYPE html> <!--[if IE 9 ]><html class="ie9"><![endif]--> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Material Admin</title> <!-- Vendor CSS --> ...
HTML
public/ui/data-tables.html
Tendors/phpshell
apache-2.0
50,013
945
codeparrot/github-code
62a4740ebf26bb0bc437b3c4f68c61ce7aa037a42e81e197a592af3f632e2064
package com.weather.app.db; import java.util.ArrayList; import java.util.List; import com.weather.app.model.City; import com.weather.app.model.County; import com.weather.app.model.Province; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import androi...
Java
src/com/weather/app/db/WeatherDB.java
3p14/weather
apache-2.0
3,630
112
codeparrot/github-code
052b1758f43fd9ec07bad05fbf408f319414b4971dc8319b34a5112ac74ebcf2
package com.rizal.lovins.smartkasir.activity; import android.content.Context; import android.content.pm.PackageManager; import android.location.Location; import android.location.LocationManager; import android.os.Bundle; import android.support.v4.app.ActivityCompat; import android.support.v4.app.FragmentActivity; im...
Java
app/src/main/java/com/rizal/lovins/smartkasir/activity/MapsActivity.java
RizalLovins/LovinsSmartKasir
apache-2.0
3,259
66
codeparrot/github-code
af160980074472dae2f0a310e29c376cad0888bf8fa9ac93a204e672fd9249ce
package com.topie.humantask.rule; import java.util.Collections; import java.util.List; import com.topie.api.org.OrgConnector; import com.topie.core.spring.ApplicationContextHelper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * 获得指定用户的上级领导. * */ public class SuperiorAssigneeRule implements Assi...
Java
src/main/java/com/topie/humantask/rule/SuperiorAssigneeRule.java
topie/topie-oa
apache-2.0
882
37
codeparrot/github-code
8c63e7423d53f44e194c81cbf4aa7315dcac0d72130193a77c66b9c4d750b2f9
// Copyright © 2013 - 2014, Alain Metge. All rights reserved. // // This file is part of Hyperstore (http://www.hyperstore.org) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
C#
Hyperstore/Commands/Impls/Session/SessionTrackingData.cs
Hyperstore/Hyperstore.Core
apache-2.0
17,928
415
codeparrot/github-code
4fb2286ab589bc77845243353eec003987b06c6f900e2643ee4881da3f27758f
/** * Copyright 2015 Peter Nerg * * <p>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 * * <p>http://www.apache.org/licenses/LICENSE-2.0 * * <p>Unless required by applicable law or agreed t...
Java
src/main/java/javascalautils/concurrent/ExecutorImpl.java
pnerg/java-scala-util
apache-2.0
4,857
162
codeparrot/github-code
90cf25162db5c90ac5ebc385779987fe8084aa80e3330cbf08ff5d76e06ea3af
// Copyright 2016 Pikkpoiss 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 ...
GO
v1/animation/grouped_animation.go
pikkpoiss/animation
apache-2.0
1,815
80
codeparrot/github-code
da4033b1bb84b501735d1b9fc8f98e9668fcb101d80819e90f59f3a3c52b807d
/* * #! * Ontopia Engine * #- * Copyright (C) 2001 - 2013 The Ontopia 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...
Java
ontopia-engine/src/main/java/net/ontopia/topicmaps/cmdlineutils/rdbms/TranslateSourceLocators.java
ontopia/ontopia
apache-2.0
4,242
125
codeparrot/github-code
9638c5b184536b1963783e6aa60c4a4a7539ff43e4343e2e258c72d5a62cbbf2
/* * Copyright 2011 SearchWorkings.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Java
src/main/java/org/apache/solr/explorer/client/core/manager/ui/DefaultProgressIndicator.java
cominvent/solr-explorer
apache-2.0
2,187
68
codeparrot/github-code
f0f98ec5293eab8c218fd704b66bd9b9baabc9c389340c1079ccb1c1a714d999
/* * Copyright (C) 2014 Balys Valentukevicius * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
Java
library/src/main/java/com/balysv/materialmenu/MaterialMenuDrawable.java
infakt/material-menu
apache-2.0
26,723
799
codeparrot/github-code
57c44d5204409950365859e72b44c0bd4647f76a18319a477e163d2a0da8d071
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>Emptiness - ScalaTest 2.1.3 - org.scalatest.enablers.Emptiness</title> <meta name="description" content="Emptiness - ScalaTest 2.1.3 -...
HTML
public/scaladoc/2.1.3/org/scalatest/enablers/Emptiness$.html
scalatest/scalatest-website
apache-2.0
37,097
571
codeparrot/github-code
8e7b9f29807df890162b06cd6578010956de35e4422e507ea2484d44a3ec93e4
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head><title>All classes and objects in org.scalatest.matchers</title> <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.3.r0-b...
HTML
public/scaladoc/1.1/org/scalatest/matchers$content.html
scalatest/scalatest-website
apache-2.0
17,067
293
codeparrot/github-code
6be3f7a56d64d471b7093236b6793822163be8aa259d6ba20608d887a3867684
package org.hl7.fhir.dstu3.model; /* Copyright (c) 2011+, HL7, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyr...
Java
hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/Practitioner.java
eug48/hapi-fhir
apache-2.0
65,552
1,593
codeparrot/github-code
d5f1c8390ff0a0ecf08c38a9b20cd0ed27448ffb8897d9d02f7ea95f06cf4e73
package org.jboss.resteasy.client.jaxrs; import javax.ws.rs.core.MediaType; public class ProxyConfig { private final ClassLoader loader; private final MediaType defaultConsumes; private final MediaType defaultProduces; public ProxyConfig(ClassLoader loader, MediaType defaultConsumes, MediaType defaultProduces) ...
Java
jaxrs/resteasy-client/src/main/java/org/jboss/resteasy/client/jaxrs/ProxyConfig.java
raphaelning/resteasy-client-android
apache-2.0
646
34
codeparrot/github-code
2778b4507e8484775ef11a7cd677e84ec057ee210d62b04e5a9678da12651612
package com.krux.stdlib.status; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Objects; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; public class StatusBean { private final AppState state; ...
Java
krux-stdlib-monitoring/src/main/java/com/krux/stdlib/status/StatusBean.java
krux/java-stdlib
apache-2.0
2,094
85
codeparrot/github-code
2bba04b5518074ad907fa6f078e18a598a1909713286bb48bc20c6e5a82ccdf5
module.controller('ResourceServerCtrl', function($scope, realm, ResourceServer) { $scope.realm = realm; ResourceServer.query({realm : realm.realm}, function (data) { $scope.servers = data; }); }); module.controller('ResourceServerDetailCtrl', function($scope, $http, $route, $location, $upload, rea...
JavaScript
themes/src/main/resources/theme/base/admin/resources/js/authz/authz-controller.js
AOEpeople/keycloak
apache-2.0
43,159
1,205
codeparrot/github-code
974246d1be4c91d69e2317af19a032e07fd3cd6c13503837c35dc53afae9b6e8
package com.sequenceiq.it.cloudbreak.log; import static java.lang.String.format; import java.io.IOException; import java.io.StringWriter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.testng.ITestResult; import org.testng.Reporter; import com.fasterxml.jackson.databind.ObjectMapper; import com...
Java
integration-test/src/main/java/com/sequenceiq/it/cloudbreak/log/Log.java
hortonworks/cloudbreak
apache-2.0
5,386
160
codeparrot/github-code
de1975d3d887f9d0e4a6a52bcc28c2b28ee9a55f9de2465f12dec18c556a12ca
// Copyright 2017 The Hugo 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 ...
GO
tpl/data/data.go
digitalcraftsman/hugo
apache-2.0
4,068
139
codeparrot/github-code
f0574b03621f97f765908bce63fe2610c8236834cb1732e6521573ccc9f11993
package com.hcl.bigchaindbDriver; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.JsonNodeFactory; import com.fasterxml.jackson.databind.node.ObjectNode; import org.junit.Test; import java.awt.*; import static org.junit.As...
Java
bigchaindbdriver/src/test/java/com/hcl/bigchaindbDriver/BigchainDBTest.java
mgrand/bigchaindb-java-driver
apache-2.0
2,946
74
codeparrot/github-code
5206dd84e2f87b0a7e4e016974d77c7cf61f5995a5534113ac506a77145779fa
package testing.magnum.io.testingexample; import android.content.Context; import android.location.Address; import android.location.Geocoder; import java.io.IOException; import java.util.List; import java.util.Locale; /** * Created by jules on 8/8/16. */ public class LoginUtils { /** * This method checks...
Java
TestingLectures/app/src/main/java/testing/magnum/io/testingexample/LoginUtils.java
juleswhite/coursera-sustainable-apps
apache-2.0
1,844
74
codeparrot/github-code
b44fa13da5455b6af6858e7ee344f1f8005c70f57be6edf93a5f996086b5ce35
package com.example.supertux.Macros; import android.app.AlertDialog; import android.app.Fragment; import android.content.DialogInterface; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget....
Java
java/com/example/supertux/Macros/EntryFragment.java
terryhtran/macros
apache-2.0
3,398
64
codeparrot/github-code
d8593a1d3fd730a94559ca62d59e6b327de2c7637edc87a193c8e23a60962251
package objects; public class Term /*implements Comparable<Term>*/{ private int m; private int n; private int val; //private int frequency; public Term(int m, int n){ this.setM(m); this.setN(n); //frequency = 0; } public int getM() { return m; } private void setM(int m) { ...
Java
NewAck/src/objects/Term.java
Noah-Kennedy/MathAndResearch
apache-2.0
964
61
codeparrot/github-code
38e7e635fe634c1c22f569a368d98f697478d4ac1fe6d1788bd49245717d6c47
/* * Copyright (c) 2021 EmeraldPay Inc, All Rights Reserved. * Copyright (c) 2016-2019 Igor Artamonov, 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 * * ...
Java
etherjar-tx/src/main/java/io/emeraldpay/etherjar/tx/Signature.java
ethereumproject/etherjar
apache-2.0
3,663
142
codeparrot/github-code
18b38c0a0391e903e6b904670402f4ad68cf2fc771059a8c5d480c0977e5c47e
import React, {forwardRef} from 'react' import cn from 'classnames' import {Text} from '../Typography/Text' import type {HTMLAttributes, PropsWithRef} from 'react' import type {OmuiColors} from '@/styles/colorType' export type BadgeVariantProp = 'gray' | 'primary' | 'tertiary' | 'quaternary' | 'danger' | 'success' exp...
TypeScript
packages/grid/frontend/src/omui/components/Badge/Badge.tsx
OpenMined/PySyft
apache-2.0
2,164
80
codeparrot/github-code
6046041da82836fee29e86afa6a7c97953430ec405550e1c29384d795d61e7aa
/* * Copyright (c) 2013-2017 Snowplow Analytics Ltd. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, and * you may not use this file except in compliance with the Apache License * Version 2.0. You may obtain a copy of the Apache License Version 2.0 at * http://www.a...
Scala
2-collectors/scala-stream-collector/src/main/scala/com.snowplowanalytics.snowplow.collectors.scalastream/model.scala
sspinc/snowplow
apache-2.0
4,647
133
codeparrot/github-code
5ff7c895dbc1b95c06139b8b63a517a10d44e9578af50abf4cfc89fb3889504f
# 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
semi_supervised_domain_adaptation/baseline.py
google-research/adamatch
apache-2.0
7,016
142
codeparrot/github-code
350bf1c78d0e8c6404a96fe6c9f4f9d4ca645b802807c483561db3ad69e5faa5
/* * 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
src/test/java/org/gbif/common/parsers/date/ThreeTenNumericalDateParserTest.java
gbif/parsers
apache-2.0
10,688
245
codeparrot/github-code
068201dfe7ddeadd14f3c1bd60481577a7578ebb5bfc71f1eee71da53d81a64e
/* * #%L * wcm.io * %% * Copyright (C) 2016 wcm.io * %% * 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
compat/src/main/java/io/wcm/config/spi/helpers/AbstractParameterProvider.java
shadyeltobgy/wcm-io-caconfig
apache-2.0
2,448
83
codeparrot/github-code
31b1b023ab64a80c3a34542791be939230feea3296495b10375507efbd5c9cf8
package com.planet_ink.coffee_mud.Locales; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink...
Java
com/planet_ink/coffee_mud/Locales/StdMaze.java
vjanmey/EpicMudfia
apache-2.0
4,718
187
codeparrot/github-code
45a04a658e21ba3826a9040d862394d894eca51d1e1bf88d52e7417670556334
/* * 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 distributed under t...
Java
src/main/java/org/assertj/core/util/introspection/Introspection.java
hazendaz/assertj-core
apache-2.0
6,316
159
codeparrot/github-code
1f0e9cd3113d2f5e6d4ce630d237c435cd64ff6740bb1efb7eddd731ef6db073
using System; using System.Xml; namespace WinSCP { [Flags] internal enum LogReadFlags { ThrowFailures = 0x01 } internal abstract class CustomLogReader : IDisposable { public Session Session { get; private set; } public XmlNodeType NodeType { get { return Reader.NodeTyp...
C#
lib-src/winscp/dotnet/internal/CustomLogReader.cs
danelkhen/fsync
apache-2.0
3,832
141
codeparrot/github-code
0ec5e6c46423dac03aa0522bfea593672553ab2910255c539fe0bb9250fa16ce
/* 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/core/kernels/flat_map_dataset_op.cc
mavenlin/tensorflow
apache-2.0
8,343
213
codeparrot/github-code
010dd1b0f4c5b96f080ca39f0c532f4faf55cc3393dc268947b28acdc77d7d86
// Copyright (c) CodeSmith Tools, LLC. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using Ionic.Zip; using Microsoft.Build.BuildEngine; namespace Generator.QuickStart { public class WebApplicati...
C#
Source/QuickStart/Creators/WebApplicationCreator.cs
codesmithtools/SchemaHelper
apache-2.0
2,715
60
codeparrot/github-code
965b569a12ece3475916330e1f7aba21428fb150c8cc1dfcb4eeface0f429419
/** * Copyright 2017 Tristan Nixon * * 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...
Scala
src/main/scala/org/memeticlabs/spark/rdd/trycatch/TryCatchHelpers.scala
tnixon/spark-rdd-trycatch
apache-2.0
3,368
98
codeparrot/github-code
6b673271c8a4addcd0a855bd5fa8cf759efb6531a27d25214991772875851fe4
# 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 ...
Shell
bin/hadoop-config.sh
toddlipcon/hadoop
apache-2.0
7,162
249
codeparrot/github-code
ade144df0c9d5fcf5e6dbf46eb720cfa2bc078458049686ae0db3c0c0b2bd9b6
package org.apache.maven.artifact.resolver; /* * 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 ...
Java
maven-compat/src/main/java/org/apache/maven/artifact/resolver/WarningResolutionListener.java
sonatype/maven-demo
apache-2.0
2,441
92
codeparrot/github-code
6a3b121031c168501d23e1282c46292302f8b4025321626b430c12e2f83fa5af
package android.util; /* * #%L * Matos * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2010 - 2014 Orange SA * %% * 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.apa...
Java
matos-android/src/main/java/android/util/SparseArray.java
Orange-OpenSource/matos-profiles
apache-2.0
2,012
80
codeparrot/github-code
2edb5ff5f0c21f7a89e68ac4a5d417d79f82629acf730f334b130ad8ef3de5a1
/* * Copyright 2015-present Open Networking Laboratory * * 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
apps/pcep-api/src/test/java/org/onosproject/pcep/pcepio/protocol/PcepReportMsgTest.java
maheshraju-Huawei/actn
apache-2.0
76,890
1,599
codeparrot/github-code
ce43d50421b2cce3f05461d21303174ed11c56efc95724207f95ca30aaa6b3e9
<?php /** * wallee SDK * * This library allows to interact with the wallee payment service. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LI...
PHP
lib/Service/PaymentMethodConfigurationService.php
wallee-payment/wallee-php-sdk
apache-2.0
13,349
409
codeparrot/github-code
5215ce4e4f8c265ed010462eba5c546095e71b3241b8f9c9a8f3999e97907d2b
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
C
src/dcmtkUtils.h
GoogleCloudPlatform/wsi-to-dicom-converter
apache-2.0
5,133
111
codeparrot/github-code
7ec57ae6dcc4ff2cc4d2f8f262d2bcd966517c2379e7d556e7d4f613bf9b251e
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
Java
Source/Plugins/Core/com.equella.serverbase/src/com/tle/hibernate/dialect/LongNStringType.java
equella/Equella
apache-2.0
1,324
37
codeparrot/github-code
5675ea35c8a3a4a9b60bf0880fc1169c0710f2a22893be63593ad2cab5316ebc
<?php namespace SugarCli\Console\Command\Backup; use SugarCli\Console\Command\AbstractConfigOptionCommand; use SugarCli\Console\ExitCode; use SugarCli\Utils\Utils; use SugarCli\Console\Command\Backup\Common; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfo...
PHP
src/Console/Command/Backup/RestoreDatabaseCommand.php
inetprocess/sugarcli
apache-2.0
4,031
123
codeparrot/github-code
e46be441925b4d7ed560806d9c621a707beeacbd106f5c933b298f3476345fbc
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
platform/vcs-log/impl/src/com/intellij/vcs/log/ui/actions/GoToHashOrRefAction.java
leafclick/intellij-community
apache-2.0
2,623
62
codeparrot/github-code
2f63766aea3e0392a243e6bcbcd49c60ce191590b7ff72bdd334d7470c3e63c6
# # (c) Jan Gehring <jan.gehring@gmail.com> # # vim: set ts=2 sw=2 tw=0: # vim: set expandtab: =head1 NAME Rex::Commands - All the basic commands =head1 DESCRIPTION This module is the core commands module. =head1 SYNOPSIS desc "Task description"; task "taskname", sub { ... }; task "taskname", "server1", ..., ...
Perl
lib/Rex/Commands.pm
gitpan/Rex
apache-2.0
38,844
1,918
codeparrot/github-code
5e428b0c514910cb515e96daac8158356e9eba70986748e728222679e60857b7
import sys import click from solar.core import testing from solar.core import resource from solar.system_log import change from solar.system_log import operations from solar.system_log import data from solar.cli.uids_history import get_uid, remember_uid, SOLARUID @click.group() def changes(): pass @changes.c...
Python
solar/solar/cli/system_log.py
dshulyak/solar
apache-2.0
2,234
100
codeparrot/github-code
3d6b727522b5e95ccd3eac7fc3ffa9c5f6151c09e7aa875a2912148eabc8ff5e
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
src/java/org/apache/cassandra/hadoop/pig/AbstractCassandraStorage.java
dprguiuc/Cassandra-Wasef
apache-2.0
31,146
803
codeparrot/github-code
c56357acfd5d1031cc523ce5a342e75304660703b7d5b0b6531d01ce6f51e1d7
package com.cetc; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.util.Date; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import o...
Java
src/main/java/com/cetc/TokenInterceptor.java
ZHANGLONG678/springmvc
apache-2.0
5,294
146
codeparrot/github-code
8e407ba8a9913eb034108ed991d8d0e4eb5e209361e8d8e42538f63874a2ad74
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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...
Python
src/robot/reporting/logreportwriters.py
Senseg/robotframework
apache-2.0
2,447
71
codeparrot/github-code
6d5b8cfe78345de61056a6b36aecbef78040ea388dea31925538d662caa00cde
package org.sfx.catholicjourney.core.utils; import android.content.res.ColorStateList; import android.text.TextUtils; import android.view.View; import android.widget.TextView; /** * Created by simonadmin on 2015-03-18. */ public class TextUtility { /** * Set the TextView text. If text is null/empty, hide textvi...
Java
app/src/main/java/org/sfx/catholicjourney/core/utils/TextUtility.java
simtse/CatholicJourney
apache-2.0
901
43
codeparrot/github-code
f9d5bb6c6c47ad6721293957ba812f3fbe1507fd5aeb0d69f1dd4d831f6ef9cb
# -*- cpy-indent-level: 4; indent-tabs-mode: nil -*- # ex: set expandtab softtabstop=4 shiftwidth=4: # # Copyright (C) 2009,2010,2011,2012,2013,2014,2015,2016,2017 Contributor # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You ma...
Python
lib/aquilon/worker/commands/del_cluster_systemlist.py
quattor/aquilon
apache-2.0
1,563
36
codeparrot/github-code
72066657fd6b7e552cc1229adb1733763c3a6ddbc0901804e7c2c3db06d16a69
define("gallery/spin/2.0.0/spin-debug", [], function(require, exports, module) { /** * Copyright (c) 2011-2014 Felix Gnass * Licensed under the MIT license */ (function(root, factory) { /* CommonJS */ if (typeof exports == "object") module.exports = factory(); else if (typeof define == "funct...
JavaScript
src/static/libs/cmd/gallery/spin/2.0.0/spin-debug.js
fuxiaoling/gulp
apache-2.0
12,137
295
codeparrot/github-code
335f680317d7e3b13fcf25b3a9f10f1f7fb4858bd041c901bf5446ad76ae0595
// http://microsoftnlayerapp.codeplex.com/license //=================================================================================== using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Repository.Pattern.Ef6; using Repository.Pattern.Infrastructure; ...
C#
Factory.StoreDomainModule/EntityDocument.cs
kostyrin/store
apache-2.0
3,744
131
codeparrot/github-code
d22df39133d7e76939d755106ef6abd3931086ea342b7af1ebca1352bc4b2d9e
#!/usr/bin/env python from __future__ import with_statement import argparse import sys import logging import urllib, urllib2 import json from fabric.operations import local from fabric.api import hide import yaml VERSION = "0.0.1" SERVER_FILE = ".server" logging.basicConfig(stream=sys.stdout, level=logging.DEBUG) d...
Python
nursery.py
creyer/nursery
apache-2.0
7,857
209
codeparrot/github-code
6d17320e3037d90f2d2497e01cae8a35bad615a0ee71d9703530339571b55832
/* vim: set shiftwidth=2 tabstop=8 autoindent cindent expandtab: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* * a list of all CSS property aliases with ...
C
DataCollector/mozilla/xulrunner-sdk/include/nsCSSPropAliasList.h
andrasigneczi/TravelOptimizer
apache-2.0
7,006
178
codeparrot/github-code
9cba08d0ef56c7e32df8922d77115bdca02c2f2a73800567d44225e8687a59fe
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Statistics of nummod in UD_Old_...
HTML
treebanks/cu_proiel/cu_proiel-dep-nummod.html
UniversalDependencies/universaldependencies.github.io
apache-2.0
9,844
213
codeparrot/github-code
8cacda0d370d2a0d3fddd8a8ee4ae754c9764d5cbe30070d8f4921c4798db564
/* * Copyright 2012 Comcast Cable Communications Management, 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 require...
Scala
money-akka/src/test/scala/com/comcast/money/akka/acceptance/stream/TracedFlowSpec.scala
Comcast/money
apache-2.0
3,447
88
codeparrot/github-code
1997214e5b16ca547d2e0ebdddb772145b2bbb323ae412b9f17ae94e857aa35e
package org.docksidestage.postgresql.dbflute.cbean.cq.bs; import java.util.Map; import org.dbflute.cbean.*; import org.dbflute.cbean.chelper.*; import org.dbflute.cbean.coption.*; import org.dbflute.cbean.cvalue.ConditionValue; import org.dbflute.cbean.sqlclause.SqlClause; import org.dbflute.exception.IllegalConditio...
Java
src/main/java/org/docksidestage/postgresql/dbflute/cbean/cq/bs/BsProductStatusCQ.java
dbflute-test/dbflute-test-dbms-postgresql
apache-2.0
13,366
238
codeparrot/github-code
b32c0245b43f54222d189f379ce0f3ca4a16b9b36cab759ada277a0da9882eb5
/** * 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
service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java
BUPTAnderson/apache-hive-2.1.1-src
apache-2.0
26,909
723
codeparrot/github-code
64f2fdda70d6c03811b9913ac8a746a54764afb4512b519727b811aa67ed8ec6
using System; namespace IBatisNet.Common.Test.Domain { /// <summary> /// Account. /// </summary> [Serializable] public class Account { private int _id = 0; private string _firstName = string.Empty; private string _lastName = string.Empty; private string _emailAddress = string.Empty; private...
C#
IBatisNet.Common.Test/Domain/Account.cs
yYang365/IBatisNet
apache-2.0
1,636
111
codeparrot/github-code
c3e3be1b6d8a73ce020529561a6edc5e7093b6fecea5aac38b2faa42399d00e4
package org.drools.compiler.reteoo.compiled; import org.drools.core.base.ClassObjectType; import org.drools.core.base.ValueType; import org.drools.compiler.compiler.PackageBuilder; import org.drools.compiler.compiler.PackageRegistry; import org.drools.compiler.lang.descr.PackageDescr; import org.drools.core.reteoo.Obj...
Java
drools-compiler/src/main/java/org/drools/compiler/reteoo/compiled/ObjectTypeNodeCompiler.java
Buble1981/MyDroolsFork
apache-2.0
7,672
190
codeparrot/github-code
deebead1e8e2c70d76c246166225572838288cf3c876ae6f9f7ebff044b7d832
/* * Copyright 2013-2021 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
cloudfoundry-client/src/test/java/org/cloudfoundry/client/v2/routemappings/GetRouteMappingRequestTest.java
cloudfoundry/cf-java-client
apache-2.0
1,059
37
codeparrot/github-code
f9a9e914e6be957d4e3476de4dbb35672e853f021c1efeee1205924542d6a9f9
package com.qingbo.ginkgo.ygb.web.pojo; import java.io.Serializable; public class BrokerAdd implements Serializable{ private static final long serialVersionUID = -6153623054869466896L; //营销机构userId private Long marketingUserId; private String customerNum; private String userName; private Strin...
Java
ygb/ygb-web/src/main/java/com/qingbo/ginkgo/ygb/web/pojo/BrokerAdd.java
hwxiasn/archetypes
apache-2.0
946
46
codeparrot/github-code
c9dfa8e27e5f0378bdd66f2e4ec14c69d0be09054b1f7d22ad70ff18e2904f1c
/* * 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
core/trino-main/src/test/java/io/trino/operator/scalar/BenchmarkArrayFilter.java
Praveen2112/presto
apache-2.0
10,904
252
codeparrot/github-code
a5347f481bd870b9cbddefcefbd2c5f400b497238c95a6a7ced54fdcf9dc21f2
/*! ****************************************************************************** * * 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/userdefinedjavaclass/TransformClassBase.java
rfellows/pentaho-kettle
apache-2.0
20,128
675
codeparrot/github-code
e3a7de93da799333997eadb6a3eff2c9f7445b0a2c1ce6aaea3cfaabf3f2d6c9
/* * Copyright 2015 Patrick Ahlbrecht * * 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
src/main/java/de/onyxbits/raccoon/appmgr/MyAppsViewBuilder.java
onyxbits/raccoon4
apache-2.0
7,560
258
codeparrot/github-code
d51590feabadb5604c2e556b4e359a547108f886b3a96d0412f88c093f12ba38
/* * 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-guardduty/include/aws/guardduty/model/ListMembersResult.h
JoyIfBam5/aws-sdk-cpp
apache-2.0
2,868
100
codeparrot/github-code
7b81c7114c4df056517e708e7fd4e662e4ca509018aabe5c7eac7141b45d6ca5
/* __ __ __ __ __ ___ * \ \ / / \ \ / / __/ * \ \/ / /\ \ \/ / / * \____/__/ \__\____/__/.ɪᴏ * ᶜᵒᵖʸʳᶦᵍʰᵗ ᵇʸ ᵛᵃᵛʳ ⁻ ˡᶦᶜᵉⁿˢᵉᵈ ᵘⁿᵈᵉʳ ᵗʰᵉ ᵃᵖᵃᶜʰᵉ ˡᶦᶜᵉⁿˢᵉ ᵛᵉʳˢᶦᵒⁿ ᵗʷᵒ ᵈᵒᵗ ᶻᵉʳᵒ */ package io.vavr.collect...
Java
vavr/src/test/java/io/vavr/collection/euler/Euler36Test.java
dx-pbuckley/vavr
apache-2.0
1,679
47
codeparrot/github-code
8504001325cdc3b97ea18ac7127bb280759b887e625b8e6f3f93ddc5a573a384
# Copyright 2014, Red Hat, 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 ...
Python
oslo_messaging/_drivers/protocols/amqp/drivertasks.py
dukhlov/oslo.messaging
apache-2.0
4,126
110
codeparrot/github-code
60f36caad6be79ce149e10a17dcbda11b79d62b9e9f67038aafdd4b977f6700b
package com.xxx.market.service.provider; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.alibaba.fastjson.JSONArray; import com.alibaba.fas...
Java
wscs-service-provider/src/main/java/com/xxx/market/service/provider/PromotionServiceImpl.java
pjworkspace/wscs
apache-2.0
13,019
303
codeparrot/github-code
086eab42c7324e1708459cf488034dcd931309beb56fb76c57ac89f098fb1f68
/** * 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/procedure/ProcedureMember.java
mapr/hbase
apache-2.0
9,277
248
codeparrot/github-code
88cd3080c599ccf2c77cfead6bd70a357733921610ffd0255dbdb4004d84a391
/* * Copyright (c) 2010-2012 Sonatype, Inc. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/lic...
Java
client/src/test/java/org/asynchttpclient/NonAsciiContentLengthTest.java
liuyb02/async-http-client
apache-2.0
3,574
82
codeparrot/github-code
40f62710c5b100b28471dd03e6e377c4c283cd587e336c46062ba245096a0639
package com.rcextract.minecord.event.server; import org.bukkit.event.HandlerList; import com.rcextract.minecord.Server; public class ServerSetPermanentEvent extends ServerEvent { private static final HandlerList handlers = new HandlerList(); public static HandlerList getHandlerList() { return handlers; } priv...
Java
src/main/java/com/rcextract/minecord/event/server/ServerSetPermanentEvent.java
RcExtract/Minecord
apache-2.0
671
33
codeparrot/github-code