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
007757a01483d171d6f729c321d842ef871a53a5f29a414e73b72ae6662c4f4f
package io.skysail.server.app.designer.valueobjects.resources; import java.util.HashSet; import java.util.List; import java.util.Set; import io.skysail.server.app.designer.DesignerApplication; import io.skysail.server.app.designer.application.DbApplication; import io.skysail.server.app.designer.fields.FieldRole; impo...
Java
skysail.server.app.designer/src/io/skysail/server/app/designer/valueobjects/resources/PostValueObjectElementResource.java
evandor/skysail-framework
apache-2.0
1,660
49
codeparrot/github-code
a116849c45eb62c827b373bbcb9dffe9207a67c19998cb3e126d74987bf3396e
/* * 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 u...
Java
src/test/java/com/github/pgasync/impl/PreparedStatementTest.java
bitpew/postgres-async-driver
apache-2.0
4,993
138
codeparrot/github-code
03aa9a0338e91767d38a992fca0cf1b217a8af1670bf81b854a91f62888064bd
/* * Copyright 2011 Bas Leijdekkers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
java-impl/src/main/java/com/siyeh/ipp/braces/AddArrayCreationExpressionIntention.java
consulo/consulo-java
apache-2.0
2,175
62
codeparrot/github-code
899e7cda1050d3b6edb97acbfca903bd566ac35e79b1facc43ba0d766cbc0d1e
/* * @Copyright: Marcel Schoen, Switzerland, 2013, All Rights Reserved. */ package org.gamepad4j.base; import org.gamepad4j.ButtonID; import org.gamepad4j.IButton; import org.gamepad4j.IController; import org.gamepad4j.util.Log; /** * Abstract base class for button wrappers. * * @author Marcel Schoen * @versio...
Java
gamepad4j-api/src/main/java/org/gamepad4j/base/BaseButton.java
marcelschoen/gamepad4j
apache-2.0
3,245
153
codeparrot/github-code
f499f981348484d23ad365d3d31a17bfe8f29b3289d7081764893dfa07507178
//================================================================================================= // Copyright 2017 Dirk Lemstra <https://graphicsmagick.codeplex.com/> // // Licensed under the ImageMagick License (the "License"); you may not use this file except in // compliance with the License. You may obtain a cop...
C#
GraphicsMagick.NET.AnyCPU/Generated/DrawableFont.cs
dlemstra/GraphicsMagick.NET
apache-2.0
2,137
74
codeparrot/github-code
e9990ab072ff07e50146b038629030718cf56476975b3a9e1137a6a21b5e77a4
{% load i18n %} <div class="detail"> <dl class="dl-horizontal"> <dt>{% trans "Name" %}</dt> <dd data-display="{{ user.name|default:user.id }}" class="word-wrap">{{ user.name }}</dd> <dt>{% trans "ID" %}</dt> <dd>{{ user.id }}</dd> {% if domain_name %} <dt>{% trans "Domain Name" %}</dt> ...
HTML
openstack_dashboard/dashboards/identity/users/templates/users/_detail_overview.html
openstack/horizon
apache-2.0
1,384
43
codeparrot/github-code
86a8ca9ec01cb866e146bd4979ec2c0d78e3c2b845afa13f37bcc11c7d8d8d91
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * Ocular * * A layout system inspired by the Rails system. * * @package Ocular Layout Library * @author Lonnie Ezell * @copyright Copyright (c) 2007, Lonnie Ezell * @license http://creativecommons.org/licenses/LGPL/2.1/ * @link ...
PHP
application/helpers/ocular_helper.php
chrisshayan/japanworks
apache-2.0
5,236
223
codeparrot/github-code
0f8633b746f885ac9110964b551a79327facbbd70e5b3f452ce4c62f2bac43dd
/* Copyright (C) 2013-2014 Computer Sciences 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 ap...
Java
ezmongo-java-driver/src/main/com/mongodb/EzResponse.java
ezbake/ezmongo
apache-2.0
1,256
44
codeparrot/github-code
b81f5d53039c4ef408ae2f07330b4336345ea75d29ba9563e4d07c5d453f4218
'use strict'; describe('Controller: azureResizeServerGroupCtrl', function () { //NOTE: This is only testing the controllers dependencies. Please add more tests. var controller; var scope; beforeEach( window.module( require('./resizeServerGroup.controller') ) ); beforeEach( window.inje...
JavaScript
app/scripts/modules/azure/serverGroup/details/resize/resizeServerGroup.controller.spec.js
HaishiBai/deck
apache-2.0
744
38
codeparrot/github-code
7ea0270bd1cdc3be89bccba416666b6bca0feddc2b1f858b887df1e2e75963a6
package jp.mydns.sys1yagi.android.activeandroidsample.todo; import java.util.Date; import jp.mydns.sys1yagi.android.activeandroidsample.R; import jp.mydns.sys1yagi.android.activeandroidsample.model.Todo; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import andro...
Java
05-02-ActiveAndroid/ActiveAndroidSample/src/jp/mydns/sys1yagi/android/activeandroidsample/todo/TodoFragment.java
android-opensource-library-56/android-opensource-library-56
apache-2.0
2,484
75
codeparrot/github-code
7498e1660d224da44935a232c9e25e8b3101c2c598f5da10cfd78c07a2284abe
/* * Copyright 2015 Bracket Computing, 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. * A copy of the License is located at * * https://github.com/brkt/brkt-sdk-java/blob/master/LICENSE * * or in the "licen...
Java
src/main/java/com/brkt/client/VolumeRequestBuilder.java
tzvetkoff/brkt-sdk-java
apache-2.0
3,460
124
codeparrot/github-code
d3206ff4316871d875058b6e4427bfd2013b01e72a1c7b868cd27c31feb7e77f
#!/usr/bin/env perl # Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute # Copyright [2016-2022] EMBL-European Bioinformatics Institute # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the Licens...
Perl
scripts/make_input_id_4_seleno.pl
Ensembl/ensembl-analysis
apache-2.0
3,185
88
codeparrot/github-code
83478e25317163900d2b1b6cca88677abb035f3717d586e75f5d0f1fea1c7ce0
/* * Copyright 2016 agido GmbH * * 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
core/src/main/scala/org/pageobject/core/tools/Logging.scala
agido/pageobject
apache-2.0
2,808
115
codeparrot/github-code
5b747fab89081717fc71d1a4b2a9a491d4092b86ec71943dbb11e2367021ec36
/* * Name: Naif Alharbi * Course: EG 1302A - Spring 2014 * Date Created: 03/25/2014 * Assignment: Worksheet for lecture 17 */ #include <stdio.h> #include <stdlib.h> int main() { int married; printf("are you married? (1=married 0=unmarried)\n"); scanf("%d", &married); int gender; printf("are...
C
WorksheetAssignment17/nalharbi.c
jprice-stmarytx/eg1302
apache-2.0
878
47
codeparrot/github-code
e1253e83519ac40aeb4263ff6385d23947d9c07872036d7e4d6e0f34b957f92b
/* * 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 ...
Scala
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/plan/nodes/logical/FlinkLogicalIntersect.scala
ueshin/apache-flink
apache-2.0
3,101
90
codeparrot/github-code
36dcf8966e9024db9e260442d331a88de92f4f92694125590fb9e107fbcf7aa6
package com.smart.cloud.fire.utils; /** * Created by Administrator on 2016/8/26. */ import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import j...
Java
app/src/main/java/com/smart/cloud/fire/utils/ZipUtils.java
bingo1118/SmartCloudFire
apache-2.0
8,162
247
codeparrot/github-code
0a6e4028376c08ea698eb069daef634e194274247bf1689c18b43ddd2f92e0d7
package apple.corefoundation; import java.io.*; import java.nio.*; import java.util.*; import com.google.j2objc.annotations.*; import com.google.j2objc.runtime.*; import com.google.j2objc.runtime.block.*; import apple.audiotoolbox.*; import apple.corefoundation.*; import apple.coregraphics.*; import apple.coreservice...
Java
runtime/src/main/java/apple/corefoundation/CFMutableCharacterSet.java
Sellegit/j2objc
apache-2.0
1,973
51
codeparrot/github-code
a16bd8dc84c59dc5215a5d84a9d34ffc6fecb7e6d5d6c83f00347764cbe48b90
package org.jetbrains.plugins.scala package codeInspection package collections class MakeArrayToStringInspectionTest extends OperationsOnCollectionInspectionTest { override protected val classOfInspection: Class[_ <: OperationOnCollectionInspection] = classOf[MakeArrayToStringInspection] override protected v...
Scala
scala/scala-impl/test/org/jetbrains/plugins/scala/codeInspection/collections/MakeArrayToStringInspectionTest.scala
JetBrains/intellij-scala
apache-2.0
2,657
118
codeparrot/github-code
2cdb6b6984d037bd9c3bf60a02892faee720863881043a7ef9abc4612c2aec41
/* * Copyright 2013 Simone Campagna * * 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...
C
argparser/argparser/argparser_common.h
simone-campagna/Configment
apache-2.0
1,924
81
codeparrot/github-code
7bda74b1832c92a5ecd010893abdfb8a033c92bfa0d4cb1a7dfc2f46e73e9060
package com.jquery.datatable; import java.util.List; /** * jQuery DataTable Plugin With Hibernate and Spring * * @author CHAB SIHENG * @version v1.0 * @email {@link chabsiheng@gmail.com} * */ public class DataTableResponse { private int draw; private int recordsTotal; private int recordsFiltered; private Lis...
Java
src/com/jquery/datatable/DataTableResponse.java
chabsiheng/datatable-hibernate-spring
apache-2.0
987
62
codeparrot/github-code
d545ca86b9f550ce4110c71c8a8aac27fbc3999a425dd701094f6b2642520440
/*!The Treasure Box Library * * 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 ...
C
core/src/tbox/src/tbox/platform/file.c
tboox/xmake
apache-2.0
4,004
151
codeparrot/github-code
76ea94d76637d353a748b30cb7c0fdfbd5943f849661f6b02c6357add1473d39
/* * Copyright (C) 2015 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
Java
src/main/java/com/google/android/apps/common/testing/accessibility/framework/DuplicateClickableBoundsViewCheck.java
google/Accessibility-Test-Framework-for-Android
apache-2.0
1,646
41
codeparrot/github-code
9690577b23b58aa0fbf98394429e2422d305752712f61c134a67b441803dab55
package org.immutables.annotate; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; /** * Meta-annotation that if detected on the annotation, will turn target annotation into special * instruction to inject derived (described) annotation code into target places. */ @Documented @java.l...
Java
expert/immutables/annotate/src/org/immutables/annotate/Annotate.java
weiwenqiang/GitHub
apache-2.0
1,476
44
codeparrot/github-code
94c256b2f8b52dc98643989c08fe9bb5f7be9a6f072584b876d8bc1721cc4ea5
/** * Copyright (C) 2011-2012 Turn, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
app/src/main/java/fr/letroll/ttorrentandroid/common/Peer.java
letroll/TtorrentAndroid
apache-2.0
6,020
210
codeparrot/github-code
463aadaf01f6c4eeea6f756460d6451414834b533ef48a66aa811c4a0c021120
/* Copyright 2011 Selenium committers Copyright 2011 Software Freedom Conservancy 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...
Java
java/server/src/org/openqa/grid/web/servlet/ResourceServlet.java
vinay-qa/vinayit-android-server-apk
apache-2.0
2,433
76
codeparrot/github-code
c684a139c8ed7b1a0ce7ca673aff27bf06e4f65392fde4d5c9d9aaf2bd3d40b5
/* Copyright (C) 2014 TU Dortmund * This file is part of AutomataLib, http://www.automatalib.net/. * * 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/licen...
Java
misc/incremental/src/test/java/net/automatalib/incremental/mealy/IncrementalMealyTreeBuilderTest.java
bencaldwell/automatalib
apache-2.0
1,130
31
codeparrot/github-code
19ee5f41847d613573e859143b68b9a914f166aade2f554ea5c702d7a762661c
package com.shopzilla.api.client.model.request; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * @author jperez * @since 5/1/14 */ public class ProductSearchRequestTest { private ProductSearchRequest productSearchRequest; private String keyword; priva...
Java
client/src/test/java/com/shopzilla/api/client/model/request/ProductSearchRequestTest.java
shopzilla/catalog-api-client
apache-2.0
4,141
116
codeparrot/github-code
512865f373c3645f63a137e2719a04f5488d0c733a104bc6c542de346205b8b4
/** * @license * Copyright 2019 Google LLC. 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 a...
JavaScript
tfjs-react-native/rollup.config.js
tensorflow/tfjs
apache-2.0
2,469
92
codeparrot/github-code
c2d794f86917a18ca68bb91b22a5f148fff7f6b7332377f55dc49ca6525e692a
<html> <head> <title>Ayuda Webmail</title> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <style type="text/css"> SPAN { height: 16px; cursor: pointer; cursor: hand; } BLOCKQUOTE { margin-left: 19px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } body { ov...
HTML
html/espanol/help/filexp.html
BigBlueHat/atmailopen
apache-2.0
18,241
351
codeparrot/github-code
fb34e368cd1ea9f4a889a2f680d593151168039d3fb01c30486a3d28fc06c6a3
/* Copyright 2017-2019 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
C
lullaby/util/type_util.h
google/lullaby
apache-2.0
2,298
106
codeparrot/github-code
80a3f6203922f3eeb52707aaeed1b2b500f0395c5877533927935ae3f8860969
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Java
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestParentQueue.java
yncxcw/PreemptYARN-2.7.1
apache-2.0
33,289
815
codeparrot/github-code
d19a8ff0631bdf208a2377e0e1c26e343608b0a75fc0677395df9d9d5de878fd
/* * Copyright 2015-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
Java
src/com/facebook/buck/js/ReactNativeLibraryGraphEnhancer.java
k21/buck
apache-2.0
6,380
175
codeparrot/github-code
cd282b18e7b4054d4731bde9fe80c18b77c596debd1bdb84bbc70266855b9121
/* * 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
core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/role/JPARPlainAttrTemplate.java
massx1/syncope
apache-2.0
2,341
76
codeparrot/github-code
8a96adc2bc886f8e554ef525de0dc44e25086d37b8639df13b0f7dfc84a44c23
/* * Copyright (c) 2012-2019, Jan Bernitt * * Licensed under the Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0 */ package se.jbee.inject; import se.jbee.inject.lang.Qualifying; import se.jbee.inject.lang.Type; import java.util.function.Function; /** * A {@link Resource} describes a i...
Java
src/se.jbee.inject.api/main/java/se/jbee/inject/Resource.java
jbee/silk
apache-2.0
4,168
156
codeparrot/github-code
d0e25234f259fb4bb347843f1aebb86a63bf22f735ebb724f6e6c3e497b94a7e
/* * (C) Copyright IBM Corp. 2020. * * 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
discovery/src/test/java/com/ibm/watson/discovery/v1/model/NoticeTest.java
watson-developer-cloud/java-sdk
apache-2.0
1,270
36
codeparrot/github-code
85c035c1cd9f13704bf491031f68318ca59c5caabe1bdee69ee2870fc95c1d22
package com.javarush.task.task21.task2110; import java.io.BufferedWriter; import java.io.IOException; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Enumeration; import java.util.zip.ZipEntry...
Java
JavaRushTasks/JavaRushTasks/3.JavaMultithreading/src/com/javarush/task/task21/реш/task2110/Solution.java
Alik72/JAVA_RUSH
apache-2.0
1,609
43
codeparrot/github-code
a984a3e4e7b432ba7c748af01fc2070e9b936a1eaa1a7bd56d7686ceb5322f8c
/* * Copyright 2019 EPAM Systems * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
Java
src/main/java/com/epam/ta/reportportal/auth/permissions/AclReadPermission.java
reportportal/service-api
apache-2.0
1,328
37
codeparrot/github-code
dafa4cbbfc7df022aac335c4ce0c0f5bc15fe5056f77e1864417d7d1f883150e
/* * Copyright © 2014-2015 Cask Data, 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
cdap-notifications-api/src/main/java/co/cask/cdap/notifications/feeds/NotificationFeedNotFoundException.java
caskdata/cdap
apache-2.0
1,106
38
codeparrot/github-code
1db1fa47a61f7100844164c3f8f2fc85be78c327aa682b7c43276acf47e0679b
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
C
src/operator/nn/mkldnn/mkldnn_base-inl.h
fullfanta/mxnet
apache-2.0
15,178
478
codeparrot/github-code
2b5034251133c20fb75300791f4d4e439f7479bd5c13573aa84eb7950f03c51d
package ro.pub.cs.systems.pdsd.lab05.addressbook.controller; import java.io.FileDescriptor; import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; import ro.pub.cs.systems.pdsd.lab05.addressbook.R; import ro.pub.cs.systems.pdsd.lab05.addressbook.general.Constants; import ro.pub....
Java
solutions/AddressBook/src/ro/pub/cs/systems/pdsd/lab05/addressbook/controller/ContactAdapter.java
georgianadanila/Laborator05
apache-2.0
9,386
294
codeparrot/github-code
14789ea4aa6581daf6d0fc88c8655b83872895d6a69b725adf36f49793f1bef4
package com.ejlchina.searcher.operator; import com.ejlchina.searcher.FieldOp; import com.ejlchina.searcher.SqlWrapper; import com.ejlchina.searcher.implement.DialectWrapper; import com.ejlchina.searcher.util.ObjectUtils; import java.util.ArrayList; import java.util.List; import static com.ejlchina.searcher.util.Obje...
Java
bean-searcher/src/main/java/com/ejlchina/searcher/operator/Contain.java
ejlchina/bean-searcher
apache-2.0
1,393
51
codeparrot/github-code
579cff87e53c736cef326fefe6bc2f502f095a0531e375b6d701560ec40d9c83
/* * Copyright 2020 Verizon Media * * 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
servers/zms/src/main/java/com/yahoo/athenz/zms/PrincipalStateUpdater.java
yahoo/athenz
apache-2.0
4,971
115
codeparrot/github-code
38538201ed7e1601fac467030a76be3e03bb4a0d96c65ce58550d7e582ba71f4
/* * Copyright 2014 Dominik Foerderreuther <dominik@eleon.de> * * 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 ...
Java
console-builder-example/src/main/java/de/eleon/console/example/Person.java
dfoerderreuther/console-builder
apache-2.0
1,243
45
codeparrot/github-code
175c4b8cd59186df642d6aed920370cde1746df4430c1295ebb56822ad8be1c6
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Runtime.CompilerServices; using Analyzer.Utilities.Extensions; using Analyzer.Utilities.PooledObjects; #if ...
C#
src/Utilities/FlowAnalysis/FlowAnalysis/Framework/DataFlow/LValueFlowCapturesProvider.cs
pakdev/roslyn-analyzers
apache-2.0
3,247
80
codeparrot/github-code
8eaeafa6ce9a083eee0fae23d92ac2b8320f409a8627f00759d3119b91934247
namespace IronFoundry.Dea.Types { using System; using System.Globalization; using IronFoundry.Dea.Config; using Newtonsoft.Json; public class VcapComponentDiscover : VcapComponentBase { private const string publishSubject = "vcap.component.discover"; public VcapComponentDiscov...
C#
src/IronFoundry.Dea/Types/VcapComponentDiscover.cs
BrianMMcClain/ironfoundry
apache-2.0
1,135
35
codeparrot/github-code
06530167f6e14543a8a2fcf86f12d0e7c3df469f3a2cb46e269f0e51ebc2895b
/* * Copyright 2015 The OpenDCT 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...
Java
src/main/java/opendct/sagetv/SageTVDiscovery.java
enternoescape/opendct
apache-2.0
8,043
192
codeparrot/github-code
91dc82a713663f264c46c4c4d32beee347185771dd06c3bfdabba5e2c45153f2
package org.swan.wabx.velocity.engine; import java.io.IOException; import org.apache.commons.lang.StringUtils; import org.apache.velocity.app.VelocityEngine; import org.apache.velocity.exception.VelocityException; import org.apache.velocity.runtime.RuntimeConstants; import org.apache.velocity.runtime.log.Log4JLogChut...
Java
src/main/java/org/swan/wabx/velocity/engine/VelocityConfigurer.java
liufeiit/webx
apache-2.0
5,546
111
codeparrot/github-code
4b707734a389d22c8b3c88f2f1335ad616a9a8b6f55f8b31a7e3530baf52fc8e
// Copyright 2022 Google LLC. 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 applica...
GO
unstructured/google/gkehub/beta/membership.go
GoogleCloudPlatform/declarative-resource-client-library
apache-2.0
24,528
608
codeparrot/github-code
07d9609d21b4f9c42a43c89e99350c081d714a6f3ab58f6f83367d3c6c91f77b
/* * Copyright (c) 2008-2020, 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/sql/impl/SqlDataSerializerHook.java
mdogan/hazelcast
apache-2.0
13,357
264
codeparrot/github-code
cae70ce46ac2e065ea4e36ece41820d01d8626d9e13b0d4ec3edf56b28bfa808
/* Copyright 2019 Telstra Open Source * * 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
src-java/base-topology/base-storm-topology/src/main/java/org/openkilda/wfm/share/hubandspoke/WorkerBolt.java
jonvestal/open-kilda
apache-2.0
6,808
189
codeparrot/github-code
e43698ad7249e5a80244187235569ab4c9fdb4afeadd0c0ee3b8ec9c456be9a7
/* * Copyright 2019 Red Hat, Inc. * * Red Hat 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 app...
Java
vertx-web-graphql/src/test/java/io/vertx/ext/web/handler/graphql/ApolloWSHandlerTest.java
aesteve/vertx-web
apache-2.0
7,464
219
codeparrot/github-code
683397902af369cf0c6069174158e9e6fded4799d6b50e98b69844a316feaea4
package org.hl7.demo; import java.util.Iterator; import org.hl7.meta.Association; import org.hl7.meta.Attribute; import org.hl7.meta.CloneClass; import org.hl7.meta.Feature; import org.hl7.meta.LoaderException; import org.hl7.meta.MessageType; class MetadataDumper { static void dumpMessageType(MessageType messageTy...
Java
hl7-javasig/demo/org/hl7/demo/MetadataDumper.java
markusgumbel/dshl7
apache-2.0
1,392
48
codeparrot/github-code
9a464e0a2d99f84c1315d18d3ed628a132e987e6b401ba42a6315c82634a29ad
define(['lib/news_special/bootstrap', 'model/model', 'lib/vendors/tweenlite.min'], function (news, model, tweenlite) { 'use strict'; var Chapter4GraphMediator = function () { /******************************************************** * VARIABLES ************************************...
JavaScript
source/js/mediator/chapter4GraphMediator.js
BBCVisualJournalism/newsspec_8621
apache-2.0
9,528
225
codeparrot/github-code
5a37ea8188c4c51eb6d685c1acfb8ad5ceae9479b334907f52dad5be4ad3d427
package org.archboy.clobaframe.ioc.impl; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.Closeable; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.lang.annotation.Annotation; import java....
Java
source/ioc/src/main/java/org/archboy/clobaframe/ioc/impl/DefaultBeanFactory.java
ivarptr/clobaframe
apache-2.0
31,511
952
codeparrot/github-code
8d99cb4e8c7f3463a2c057b5c7e5984abaf611ce5abb43d2e0db96f3e434c8e3
package net.miz_hi.smileessence.data.template; import android.content.Context; import android.util.Log; import com.j256.ormlite.dao.Dao; import net.miz_hi.smileessence.Client; import net.miz_hi.smileessence.data.DBHelper; import java.util.List; public class TemplateModel { private Context context; private s...
Java
src/net/miz_hi/smileessence/data/template/TemplateModel.java
laco0416/SmileEssence-Lite
apache-2.0
2,390
103
codeparrot/github-code
b6a210cbd46c6ed2199fb45a669b777ff6cbdaec3331cf634302cc4a6a488da1
~[SetPostValue:dateformat=MM/DD/YYYY] <script type="text/javascript"> /*config variables*/ var submitOnce_shouldShow = false; /*Helper functions*/ function convertOracleDF(dateformat){ //This function converts oracle date formats into the date format used by the jQuery UI datepicker dateformat = dateformat .toLowe...
HTML
admin/reports/includes/template/reports-commonscripts.html
cherrylandsoftware/ps-custom-report-framework
apache-2.0
4,118
125
codeparrot/github-code
a596c20c96963c32e90edf67aae6d77abd70a9d605509f3b56d76af56ad675f6
#pragma once #include "common.h" #include "cBsp.h" #include "../generated/cApplication.h" namespace sensact{ class cStandbyController: public cApplication{ private: ePowerState state; uint16_t const relay; Time_t lastHeartbeat; const uint32_t waitTimeMsecs; bool changedFlag; public: eAppCallResult S...
C
firmware/modules/core/cStandbycontroller.h
klaus-liebler/sensact
apache-2.0
709
37
codeparrot/github-code
a1c763143f5c48598dd8972273e714ee17949cc2a83b40533aa65bf82c2f054e
package com.pdsl.reports; import com.google.common.base.Preconditions; import com.pdsl.reports.proto.TechnicalReportData; import com.pdsl.specifications.Phrase; import com.pdsl.testcases.TestCase; import java.util.Optional; public class DefaultTestResult implements TestResult { private final TechnicalReportData...
Java
src/main/java/com/pdsl/reports/DefaultTestResult.java
google/polymorphicDSL
apache-2.0
2,927
83
codeparrot/github-code
934bed92809a92b6278900a5feda5a60dc78c7574f8c38627179f6be665eeba6
package org.hl7.fhir.instance.model.valuesets; /* 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 th...
Java
hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ContextControl.java
lcamilo15/hapi-fhir
apache-2.0
10,718
140
codeparrot/github-code
6c00ae14e24310577efcca5010c508b83bf6c6e127057dc797e66887eb575568
# Script to register a new hypervisor provider in SPP # Use registerhypervisor.py -h for help # Example: # python registerhypervisor.py --host="https://172.20.49.49" --user="admin" --pass="spppass" --hvtype="hyperv" --hvhost="my.host.name" --hvuser="hvdomain\hvuser" --hvpass="hvpassword" import json import logging fro...
Python
samples/registerhypervisor.py
ibmspp/sppclient
apache-2.0
3,540
89
codeparrot/github-code
87c19158ce3c4459decf0e2a29225478a75754965bc525353ec09e3e62a797fa
from flask.ext.sqlalchemy import SQLAlchemy from flask import Flask import os app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'postgres://jkrbnkekcosnxb:jOrPwurv94mnMu7acVpIX0W2sA@ec2-54-197-230-161.compute-1.amazonaws.com:5432/da79ahfav90021' db = SQLAlchemy(app) class Item(db.Model): __tablenam...
Python
db.py
hermaa02/cs330-final
apache-2.0
5,927
164
codeparrot/github-code
e1f5db3d9ee2d7ff2907584ddcf801a3aae42f7d132733192f8496a2d34f36cf
/* * Copyright 2013-2016 consulo.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 applicable law or agreed to ...
Java
plugin/src/main/java/consulo/unity3d/projectImport/Unity3dModuleImportProvider.java
consulo/consulo-unity3d
apache-2.0
3,357
119
codeparrot/github-code
2168ab9ff3fec13125e6792738f95500a5822a98e112fdb5fb553f3e61c19903
'use strict'; var ElementGroups = require('./element_groups'); module.exports = LineBucket; /** * @class LineBucket * @private */ function LineBucket(buffers, layoutProperties) { this.buffers = buffers; this.elementGroups = new ElementGroups(buffers.lineVertex, buffers.lineElement); this.layoutPropert...
JavaScript
frontend/mapbox-gl-js/js/data/line_bucket.js
gbif/map-gl
apache-2.0
13,268
349
codeparrot/github-code
219ff8cce50da657a610c429a6b19ec09148148304afff09a5dd215e3e249d02
/******************************************************************************* * Copyright 2014 Bowen Cai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
Java
gplume-webex/src/main/java/com/caibowen/gplume/misc/test/jsp/JspEngine.java
xkommando/Gplume
apache-2.0
2,176
77
codeparrot/github-code
66ab84cb71b33ef4eaedd8302b752bca3081b916a0bf3023e1c14fa7e64c72c1
/* * 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.core/src/com/tle/web/htmleditor/tinymce/addon/tle/AbstractTleTinyMceAddOn.java
equella/Equella
apache-2.0
1,799
55
codeparrot/github-code
08b4267afc4e6661c71507b502a72605b290b90eb6dba025c5dbe44efe5bba96
/* * Copyright 2014-2021 Danilo Reinert * * 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
requestor/core/requestor-api/src/main/java/io/reinert/requestor/core/uri/Uri.java
reinert/requestor
apache-2.0
4,668
156
codeparrot/github-code
7eae218a64b01a5c036521e71cc172eec27e9539ec6ec7f9c496523f711146eb
/** * 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
exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestReverseImplicitCast.java
mattyb149/incubator-drill
apache-2.0
3,455
84
codeparrot/github-code
e1dee1684de3549b1e67106b51f62254395720916f088f5ecdb00f071208441d
/* * 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-iot/src/main/java/com/amazonaws/services/iot/model/transform/MetricValueMarshaller.java
aws/aws-sdk-java
apache-2.0
3,359
72
codeparrot/github-code
41345d5ba181678a72334470994ece50b146d25aadc8e4115daa25ccac2c8d6e
package com.twitter.finagle.thrift import com.twitter.conversions.DurationOps._ import com.twitter.finagle.thrift.thriftscala.{Echo, ExtendedEcho} import com.twitter.finagle.{Address, Name, Thrift} import com.twitter.util.{Await, Future} import java.net.{InetAddress, InetSocketAddress} import org.scalatest.funsuite.An...
Scala
finagle-thrift/src/test/scala/com/twitter/finagle/thrift/MultiplexedServiceTest.scala
twitter/finagle
apache-2.0
1,860
53
codeparrot/github-code
f5b7e8a4fd0e93775101a69a91b13dc82b7f2497944ca2a25ec2726a8eb0c473
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
presto-main/src/main/java/io/prestosql/server/protocol/QueryResultRows.java
hgschmie/presto
apache-2.0
13,733
412
codeparrot/github-code
9a01c494556c348cf1aa4415734e482fcf63bd82efa9e6a237440c4b69be906b
function ajaxStart() { var xmlhttp; if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } else { alert(lang_no_xmlhttp); } return xmlhttp; } function ajaxAbort() { var xmlhttp = new XMLHttpRequest(); } var globalBrowser; function detectBrowser() { var userAgent...
JavaScript
server/ftp/ajax.js
ajaniramon/EcoRecipes
apache-2.0
39,215
1,245
codeparrot/github-code
20ab2b16f2eba8255ed7e66c583daf954a2fc5eb2f86bb6f30e7f1f246c9dca7
-- Copyright 2015 Mirantis, 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 ...
Lua
deployment_scripts/puppet/modules/lma_collector/files/plugins/decoders/libvirt_log.lua
TAJaroszewski/lma_contrail_monitoring
apache-2.0
1,824
64
codeparrot/github-code
2456931e309d94bcc1031e9f8b250b279f0c225bc5fd9daf05b6d41eaf648e60
<form name="F2" method=post action="control_change_passwd_customer.php" target="_self"> <input type="hidden" name="nm_form_submit" value="1"> <input type="hidden" name="nmgp_opcao" value=""> <input type="hidden" name="master_nav" value="off"> <input type="hidden" name="sc_ifr_height" va...
PHP
5_dev_tools/scriptcase/PHPTrn/control_change_passwd_customer/control_change_passwd_customer_js0.php
oprohonnyi/php_trn
apache-2.0
8,884
261
codeparrot/github-code
4923e927368b35b25f87e8e9813bb21efadad8e6b0c14e0aece2123177621013
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SuperSocket.SocketBase; using SuperSocket.SocketBase.Config; using SuperSocket.SocketBase.Logging; using SuperSocket.SocketBase.Protocol; using SuperSocket.SocketEngine; namespace SuperSocket.QuickStart.TelnetServer { clas...
C#
Dependency/SuperSocket/QuickStart/Basic/TelnetServer/Program.cs
zesus19/c5.v1
apache-2.0
1,756
65
codeparrot/github-code
b421bc70e3efe0b40675fff61dd42ef762f2541831c5c26370f6bee4861499ca
/* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2017 GwtMaterialDesign * %% * 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
src/main/java/gwt/material/design/incubator/client/timer/TimerProgress.java
GwtMaterialDesign/gwt-material-addins
apache-2.0
4,399
142
codeparrot/github-code
12b9d5750a652e845f80aca8758d03c41e191c3aa558da2a28dbaa1be4ecb40a
namespace Namalyzer { partial class FormStatistics { /// <summary> /// 必要なデザイナ変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name="d...
C#
Namalyzer/FormStatistics.Designer.cs
mifumi323/Namalyzer
apache-2.0
15,227
291
codeparrot/github-code
b7040a1c29d1b56f1be8716fb4e4c4fe63d262bcea05f1148a0b31b2e5e57fb1
<?php session_start(); include_once 'dbconnect.php'; if(!isset($_SESSION['user'])) { header("Location: index.php"); } $res=mysql_query("SELECT * FROM users WHERE user_id=".$_SESSION['user']); $userRow=mysql_fetch_array($res); chdir('users'); chdir($userRow['rollnumber']); //shell_exec("cd /var/www/html/mi...
PHP
home.php
abhishek-anand13/java-on-the-web
apache-2.0
3,886
117
codeparrot/github-code
6890fbd6b22c40d274c9aca95053abfb5966089ea25f1ebb92cf6da033b72b8f
/* * 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
flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/TransactionEventRecord.java
lfzCarlosC/test
apache-2.0
5,281
167
codeparrot/github-code
d94721c7c29066e9db7a4999fcf1f5c66157ec510d51427d97e74d1c04cdaee1
package no.sonat.battleships.models; import no.sonat.battleships.VerySmartRobot; public class DirectionStrategy { private Coordinate initialHit; private Coordinate currentShot; private Direction currentDirection; private enum Direction { NORTH, SOUTH, EAST, WEST }; public DirectionStrategy(Coord...
Java
src/main/java/no/sonat/battleships/models/DirectionStrategy.java
javaguruen/battle-ship
apache-2.0
4,233
114
codeparrot/github-code
77f8b9f8097547d7dff794e6f7ace37b5b3836540666f359959aacb70a40324f
package com.mabeijianxi.smallvideorecord2; import android.text.TextPaint; import android.text.TextUtils; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.Iterator; import java.util.TimeZone; /** * 字符串工具类 * */ public class StringUtil...
Java
SmallVideoRecord2/SmallVideoLib2/src/main/java/com/mabeijianxi/smallvideorecord2/StringUtils.java
mabeijianxi/small-video-record
apache-2.0
7,342
319
codeparrot/github-code
f3b72019a43b769825f655012c81881a18eebf62f33de8339c52c0a29a7a8c26
package play.api.data.validation import org.specs2.mutable._ import play.api.data._ import play.api.data.Forms._ import play.api.data.format.Formats._ import play.api.data.validation.Constraints._ object ValidationSpec extends Specification { "Min and max constraint on an Int" should { "5 must be a valid numb...
Scala
play-2.1.1/framework/src/play/src/test/scala/play/api/data/validation/ValidationSpec.scala
noel-yap/setter-for-catan
apache-2.0
3,779
99
codeparrot/github-code
bcdb9b7db6420c0ae1d8bb3b9dfbffd3ba60af0c0851cfea5cf31b71f5811d53
/* * Copyright (c) 2015 Spotify AB. * * 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,...
Java
statistics/semantic/src/main/java/com/spotify/heroic/statistics/semantic/SemanticMetricBackendReporter.java
dbrounst/heroic
apache-2.0
6,761
191
codeparrot/github-code
5cad09a6ee9c9661e74cb8d60301cb1d51a2f1ea6a7d8824f6dd38704a0411f0
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
src/org/apache/commons/math3/dfp/DfpMath.java
charles-cooper/idylfin
apache-2.0
29,544
971
codeparrot/github-code
d748ae82124b3cc2c6e3434d883dd5e253dc0244c999db23f2a448ffb24ec0ed
/** * @license * Visual Blocks Editor * * Copyright 2011 Google Inc. * https://developers.google.com/blockly/ * * 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...
JavaScript
core/blockly.js
griffpatch/scratch-blocks
apache-2.0
16,247
522
codeparrot/github-code
b9933810f4ba7a4617d3dcdf0c3becdc25211992ac8fd4635f478b496026224a
from scipy.optimize import curve_fit from numpy import log, isnan class NotAModel(Exception): pass def chisq(self, result=None): if result is None: result = self.result return ((self.data.cts(row=True)-result)**2/self.data.errors(row=True)**2).sum() def cstat(self, result): if result is No...
Python
fitter/_modeling.py
uperetz/AstroTools
apache-2.0
2,367
85
codeparrot/github-code
1ca3172f3d600420bf72d3061aa2c75c3392b46426130e20ac58e4203827dbee
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * ...
Java
OLAT-LMS/src/main/java/org/olat/presentation/framework/dispatcher/TemporaryAutoDispatcher.java
huihoo/olat
apache-2.0
6,662
158
codeparrot/github-code
06290e5c0b50b5a347630f940cfaa82aa437c4d8a39910506e5ee15c4ce739f4
package com.airbnb.lottie.samples; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.view.ViewTreeObserver; import android.widget.ScrollView; import butterknife.BindView; import butterknife.ButterKnife; impor...
Java
KOAndroid/KoMobileArena/app/src/main/java/com/airbnb/lottie/samples/FontActivity.java
vszone/KoDemos
apache-2.0
1,165
42
codeparrot/github-code
09356e08e4a79a415470337eb5ce66a62b6549553a04050540165f240aaef5cf
using UnityEngine; using System; using System.Collections.Generic; public abstract class Statistics : MonoBehaviour { public static string KILLS = "Kills"; public static string DEATHS = "Deaths"; public static string SUICIDES = "Suicides"; public static string SHIELDS_BROKEN = "Shields Broken"; public static strin...
C#
game/Assets/Scripts/Statistics.cs
dannis99/ninja
apache-2.0
1,354
57
codeparrot/github-code
dbab22e7feac4e61bd75bec898e46f46fb7ce830a5c648fb8c51a6597987dbff
/* * 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/test/java/org/apache/sysml/test/integration/mlcontext/MLContextFrameTest.java
asurve/arvind-sysml
apache-2.0
27,519
679
codeparrot/github-code
b0747513309b5fd7abf497b4683df3b1f2ac33f7e5ce23802688b1e76a6cf7bf
/******************************************************************************* * PathVisio, a tool for data visualization and analysis using biological pathways * Copyright 2006-2019 BiGCaT Bioinformatics * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in c...
Java
modules/org.pathvisio.core/src/org/pathvisio/core/biopax/PublicationXref.java
PathVisio/pathvisio
apache-2.0
5,166
202
codeparrot/github-code
0c782770d7e9eb56310ec58064532de045677ad2386738d7ea1fcc2c1224909d
/* * Copyright 2014-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
Java
src/com/facebook/buck/ocaml/OCamlMLCompileStep.java
janicduplessis/buck
apache-2.0
5,222
158
codeparrot/github-code
f44f519a0a5c3b3fd709f6e616ef9003492bf3aece1e8e53493d2d82d1a36b17
/* * #%L * %% * Copyright (C) 2017 BMW Car IT GmbH * %% * 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
src/WebsocketClientWorkerTls.h
bmwcarit/wscpp
apache-2.0
3,204
93
codeparrot/github-code
72e15997ae228eb5c1d6ef894c3633d7d437a009fa95b5001ad0537fcd9b8aed
package com.hoolay.animation; import android.os.Bundle; import android.widget.Toast; /** * Created by chiclaim on 2016/04/02 */ public class MainActivity extends BaseActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(...
Java
app/src/main/java/com/hoolay/animation/MainActivity.java
chiclaim/android-animation-sample
apache-2.0
1,007
35
codeparrot/github-code
556e81dd486edcebeb11df773c778f57b7d91e166214983b5bda55e435d2b998
try: # python 2.7 from urllib import quote from urllib import urlencode except ImportError: # python 3.4 from urllib.parse import quote from urllib.parse import urlencode import sys import re import PyISY class isy(): def __init__(self,config,logger,status,bridge): s...
Python
ihab/ISY.py
jimboca/ISYHelperHABridge
apache-2.0
11,333
255
codeparrot/github-code
92110fa8194e6e24ea61baa29a3b51ae5b032201c822d0f551f11f3ad7d055ca
/* * Copyright 2014–2017 SlamData 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...
Scala
ejson/src/test/scala/quasar/ejson/JsonParserSpec.scala
drostron/quasar
apache-2.0
1,713
58
codeparrot/github-code
dfebcfb4c51efbfb711d6756da7e5cbf17a776616ce34b2bbbcb6a5261bca377
package jadx.core.dex.visitors; import java.util.*; import jadx.core.dex.attributes.*; import jadx.core.dex.info.*; import jadx.core.dex.instructions.*; import jadx.core.dex.instructions.args.*; import jadx.core.dex.nodes.*; import jadx.core.dex.visitors.typeinference.*; import jadx.core.utils.*; import jadx.core.uti...
Java
app/src/main/java/jadx/core/dex/visitors/ConstInlineVisitor.java
nao20010128nao/show-java
apache-2.0
6,131
229
codeparrot/github-code
a22b2ec7720dd30e74d4169b3baf0bb76792190af49d94284971909204209fbd
<!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 dislocated in UD_...
HTML
treebanks/nds_lsdc/nds_lsdc-dep-dislocated.html
UniversalDependencies/universaldependencies.github.io
apache-2.0
15,994
301
codeparrot/github-code
652dcab44e9c1eecc02009d39eebc6ebaacfc332ccec5316d88d77923d86cfab
package seborama.demo1.kafka.orderdispatch; import seborama.demo1.kafka.ConsoleArguments; import seborama.demo1.kafka.OrderServer; import java.io.IOException; import static seborama.demo1.kafka.ConsoleArguments.NUMBER_OF_MESSAGES; import static seborama.demo1.kafka.ConsoleArguments.SLEEP_DURATION; public class Orde...
Java
src/main/java/seborama/demo1/kafka/orderdispatch/OrderDispatchServer.java
seborama/demo1-kafka
apache-2.0
1,284
39
codeparrot/github-code
3778d0fafc6dfb5b7cbe63e53cee7899d7678cd4dfa7324599d117be26a31d8c
package com.goosway.pisces.view.servlet; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.eclipse.birt.r...
Java
pisces-view/src/main/java/com/goosway/pisces/view/servlet/JSAPIServlet.java
cyfgod/goosway
apache-2.0
1,027
41
codeparrot/github-code
b7399e54a1174bb5f4be7852f8a9b775ab346a51b2b678f367babddf6109bd90
import { getNamespaceAndName } from '../../json-helper'; import Vaccine from './Vaccine'; import ImmunizationAction from './ImmunizationAction'; import ImmunizationGiven from './ImmunizationGiven'; import ImmunizationNotGiven from './ImmunizationNotGiven'; import ImmunizationRequested from './ImmunizationRequested'; im...
JavaScript
src/model/shr/immunization/ShrImmunizationObjectFactory.js
standardhealth/flux
apache-2.0
1,826
35
codeparrot/github-code