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
e46b8535375d6367997aea03bfce1c9b530bae7f55aa321a90b5cadb53e77ab8
/* * 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
security-admin/src/main/java/org/apache/ranger/patch/PatchMigration_J10002.java
gzsombor/ranger
apache-2.0
18,542
568
codeparrot/github-code
16fb1c876570a601c2259a26e5a43e079a77aad5748d59c85b0e56f0a6adc36a
/* * PolicyEditorKit.java * * Created on October 20, 2005, 5:14 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package org.netbeans.modules.policysupport; import javax.swing.text.Document; import org.netbeans.editor.Syntax; import org.netb...
Java
nb-policy-support/src/org/netbeans/modules/policysupport/PolicyEditorKit.java
bernhardhuber/netbeansplugins
apache-2.0
1,443
53
codeparrot/github-code
60c345ac05414d57328dfa880ba3c7449743572ababafb4f6664ab30e8401a62
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.codeInspection.ui.actions; import com.intellij.application.options.CodeStyle; import com.intellij.codeEditor.printing.ExportToHTMLSettings; import com.intel...
Java
platform/lang-impl/src/com/intellij/codeInspection/ui/actions/ExportHTMLAction.java
mdanielwork/intellij-community
apache-2.0
12,805
329
codeparrot/github-code
8c8a448fd1e898679204160b58b1b578a62f2904a1d279d79c9628f9716df18a
package org.pikater.web; import java.util.logging.Level; import java.util.logging.Logger; import org.pikater.shared.logging.GeneralPikaterLogger; import org.pikater.shared.logging.IPikaterLogger; /** * Special logger wrapper to be used by the web application. * * @author SkyCrawl */ public class PikaterWebLogger...
Java
src/org/pikater/web/PikaterWebLogger.java
SkyCrawl/pikater-vaadin
apache-2.0
857
36
codeparrot/github-code
735673a8eebae41338055b1403b075ce6d23f01c168361e739826894cebcb309
/* * 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
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/pipeline/TestPipelineClose.java
littlezhou/hadoop
apache-2.0
8,956
215
codeparrot/github-code
d51560583998207de2d321f89e3dd67bd424d214c6a19152927b404d1f23428b
/** Atomix project, ORILIB_Interleaver48.c, TODO: insert summary here Copyright (c) 2015 Stanford University Released under the Apache License v2.0. See the LICENSE file for details. Author(s): Manu Bansal */ #include <osl/inc/swpform.h> #include <src/DSP_ifft16x16/c66/DSP_ifft16x16.h> #include "ORILIB_t.h" /** Tab...
C
ORILIB_Interleaver48.c
manub686/orilib
apache-2.0
3,358
78
codeparrot/github-code
8a6ec54c6b44d2990fd7b38967ed61f9b99692ae168f47e44d297e8d0b994723
//----------------------------------------------------------------------- // <copyright file="DebugPanel.cs" company="Google LLC"> // // Copyright 2020 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...
C#
Assets/ARRealismDemos/Common/Scripts/DebugPanel.cs
googlesamples/arcore-depth-lab
apache-2.0
4,224
142
codeparrot/github-code
fa3707761f44c4bda3ccef2471a3eb01d86c83404501870fffad020f76cb9ab3
// Copyright 2015 by the person represented as ThoroughlyLostExplorer on GitHub // // 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...
C#
ExplOCR/NeuralNet.cs
ThoroughlyLostExplorer/ExplOCR
apache-2.0
10,338
310
codeparrot/github-code
34839703f3651b7f02ce6df4a5dff82c9954a18018166dd58d6f91e346def933
package com.planet_ink.coffee_mud.WebMacros; import com.planet_ink.miniweb.interfaces.*; 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.core.exceptions.*; import com.planet_ink.coffee_mud...
Java
com/planet_ink/coffee_mud/WebMacros/QuestMaker.java
vjanmey/EpicMudfia
apache-2.0
32,575
838
codeparrot/github-code
775709a13e2de777549e9f75a66c38fd59f4a2971fdcea0f40fd58d681199d87
/* * Copyright (C) open knowledge 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 ...
Java
jaxrs-versioning/src/main/java/de/openknowledge/jaxrs/versioning/conversion/Version.java
openknowledge/jaxrs-versioning
apache-2.0
1,612
47
codeparrot/github-code
bc2993b9effe671c302b2bf5927e01ff6b45af86514cd1f5cc059361f35b011a
/** * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
core/src/main/java/com/google/sha1coin/core/AbstractWalletEventListener.java
ohac/sha1coinj
apache-2.0
1,767
66
codeparrot/github-code
d9948a9533fcdab225bcd743880ba1d5d466f496d11237a0704536358ad0e1db
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this ...
Java
memcachedCacheImpl/src/main/java/de/othsoft/cache/memcached/CacheImpl.java
OkieOth/othCache
apache-2.0
18,579
438
codeparrot/github-code
55b439bb7b8e3c4aa8f135247bad2c72734671c61c75dc0fc7b862506fa735c9
// Copyright 2016 PingCAP, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
GO
store/tikv/coprocessor.go
XuHuaiyu/tidb
apache-2.0
44,916
1,482
codeparrot/github-code
7c923b8d64b29104d9cf5ff718dd3587095e623a65067cb01c50e7dc18220a90
/******************************************************************************* * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
Java
vhdllab-common/src/main/java/hr/fer/zemris/vhdllab/entity/ClientLog.java
mbezjak/vhdllab
apache-2.0
2,807
96
codeparrot/github-code
2a9578fbfbcfb11b051bbd17d4e10ed8c9a9e1be9f6a593517e5dd38acc9d331
#!/usr/bin/python from __future__ import print_function from guild.actor import Actor, actor_method, process_method, late_bind class Dog(Actor): @actor_method # Input - triggered by data coming in def woof(self): print("Woof", self) @process_method # Process - triggered each time it's run ...
Python
examples/dogs_go_woof_actors.py
sparkslabs/guild
apache-2.0
988
54
codeparrot/github-code
4cda73556e9a3f033a8e120c0a9fe8e23837be601e3a3d963b04c03baaf94f6c
/* ========================================================== * bootstrap-affix.js v2.2.2 * http://twitter.github.com/bootstrap/javascript.html#affix * ========================================================== * Copyright 2012 Twitter, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
JavaScript
code/war/src/main/webapp/assets/javascripts/bootstrap/bootstrap-affix.js
michaelcouck/ikube
apache-2.0
3,485
119
codeparrot/github-code
76126b166f3ac72f597fd14fe1bc9686a97420e42b3bf464f44971c3338bd407
/* * Copyright 2018 Pivotal, 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 t...
Java
clouddriver-cloudfoundry/src/main/java/com/netflix/spinnaker/clouddriver/cloudfoundry/client/Routes.java
ajordens/clouddriver
apache-2.0
8,900
233
codeparrot/github-code
ea410434c50dd32e5337a2d0da0edb40ba77dfc4f9116fe8ed1dde5bc79da010
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
src/main/java/org/yardstickframework/spark/model/Person.java
yardstick-benchmarks/yardstick-spark
apache-2.0
4,426
185
codeparrot/github-code
b5d1e533bc1987afd1de8fac204d21b22f1b0675c7749c8f85ce4b1015714236
package org.pac4j.cas.client; import org.junit.Test; import org.pac4j.core.context.MockWebContext; import org.pac4j.core.exception.HttpAction; import org.pac4j.core.util.TestsConstants; import org.pac4j.core.util.TestsHelper; import static org.junit.Assert.*; /** * This class tests the {@link CasProxyReceptor} clas...
Java
pac4j-cas/src/test/java/org/pac4j/cas/client/CasProxyReceptorTests.java
JacobASeverson/pac4j
apache-2.0
2,771
70
codeparrot/github-code
34f479dcd2948aa921a6050edf5e2c6cd993aa2968f04c5183eda90ea1c22ac3
package jesg; import java.util.HashMap; import java.util.Map; import java.util.concurrent.TimeUnit; import org.openqa.selenium.Capabilities; import org.openqa.selenium.HasCapabilities; import org.openqa.selenium.WebDriver; import org.openqa.selenium.remote.DesiredCapabilities; import org.openqa.selenium.remote.Remote...
Java
src/test/java/jesg/SeleniumGridTest.java
jesg/selenium-grid-demo
apache-2.0
1,717
54
codeparrot/github-code
24663212880cbff525344251554a71f77bd2676bec2ad0688c6b28bb7f80bd48
/* * Copyright 2009-2012 The MyBatis Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
Java
src/main/java/org/apache/ibatis/builder/MapperBuilderAssistant.java
binarytemple/mybatis-all-syncing-test
apache-2.0
18,210
487
codeparrot/github-code
74032b346e667ac633edf024bd108ed316d39b27daadce47f8ed515597ebc265
<?php namespace Irto\OAuth2Proxy\Middleware; use Closure; use React\HttpClient\Client; use Irto\OAuth2Proxy\Server; class Authorization { /** * @var Irto\OAuth2Proxy\Server */ protected $server = null; /** * @var React\HttpClient\Client */ protected $client = null; /** ...
PHP
src/Middleware/Authorization.php
Irto/oauth2-proxy
apache-2.0
8,331
279
codeparrot/github-code
b0e74bbe286eda65b694d0a2562a4eb1a887b38859fb012027a6d0dea8ae4df1
package com.barbarum.tutorial.code.array; import com.barbarum.tutorial.util.PrintUtil; public class FindLongestBinarySequence { public static int find(int[] nums) { int[] ones = new int[nums.length]; countLeftOnes(nums, ones); countRightOnes(nums, ones); return findMaximum(ones)...
Java
src/main/java/com/barbarum/tutorial/code/array/FindLongestBinarySequence.java
barbarum/barbarum-tutorial
apache-2.0
1,761
63
codeparrot/github-code
2acdfef2f779c226b79f1a5d5579adb1e6c2d672116ecce0de7005aabcf3732c
/* * Copyright (C) 2011 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 ...
Java
rosjava/src/main/java/org/ros/concurrent/CancellableLoop.java
interactivespaces/interactivespaces-rosjava
apache-2.0
2,359
94
codeparrot/github-code
513e04db5ff6319db7e17c9b7e3083429bcfe5cb556d8b16e5656b4d51ae8598
package org.projectiles; import static java.awt.Color.red; import static java.lang.Math.*; import java.awt.image.BufferedImage; import static java.lang.System.*; import org.rooms.*; import org.resources.AudioPack; import org.resources.Collisions; import org.resources.Element; import org.resources.ImagePack; import or...
Java
src/org/projectiles/AirBall.java
zapper59/RangerHale---Space-Adventure
apache-2.0
2,909
125
codeparrot/github-code
ed6fa26344f3bea1ceb7b934e151e08f08e8f085f130c57d4576133f0046cb6e
#!/usr/bin/env bash set -e set -x ############################################################################### # # run-loadtest.sh # # Start a parameterized loadtest. This script is designed to be the entry # point for various automation systems (jenkins is currently supported). # # Assumptions: # * The assumptions...
Shell
util/run-loadtest.sh
edx/edx-load-tests
apache-2.0
3,054
87
codeparrot/github-code
908b26c809c8e07b3116e15bca851fc0d27c43d1d5dc6e995bf1dee6ca156f17
package lab2; import java.util.PriorityQueue; public class Lab2b { private static class Vector implements Comparable{ public double x, y, d; public DLList.Node node; public Vector(double x, double y){ this(x,y,null,100); } public Vector(double x, double y, DLList.Node n, double d){ this.x = x; ...
Java
src/lab2/Lab2b.java
AlexanderSopov/datastruktur
apache-2.0
2,889
140
codeparrot/github-code
0c00c9b8bc278c906a58ed495cb23395f90901e2db41206abacb7c06c245bb9a
import sbt._ object Dependencies { val mesosVersion = sys.props.getOrElse("mesos.version", "0.22.0") //0.22.0 is current DCOS version val playDeps = Seq( "com.typesafe.play" %% "play" % "2.3.7" withSources() excludeAll( ExclusionRule("com.typesafe.akka"), ExclusionRule("com.google.guava") ),...
Scala
project/Dependencies.scala
erictu/mango-notebook
apache-2.0
5,702
138
codeparrot/github-code
be254bd51bea9ef57a9217a25e629be1ae6b7ca1786ac11ecd4985af6eaab61c
<!DOCTYPE html> <html> <head> <meta charset='utf-8' /> <title></title> <meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> <script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.26.0/mapbox-gl.js'></script> <link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.2...
HTML
filter.html
sschatts/RPI-Incident-Map
apache-2.0
6,324
245
codeparrot/github-code
cde576ad80fc6d589fb19dd9756b02a889df0d3c8acdb0d6f200722391dc7697
package pub.devrel.easypermissions.helper; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; /** * Permissions helper for {@link Activity}. */ class ActivityPermissionHelper extend...
Java
easypermissions/src/main/java/pub/devrel/easypermissions/helper/ActivityPermissionHelper.java
SUPERCILEX/easypermissions
apache-2.0
1,014
38
codeparrot/github-code
23f260a9203df1a94bb50bdbd2767e4d8a3744ea9da287158e087e198cc63b41
/* * Copyright 2015 Formal Methods and Tools, University of Twente * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
C++
src/sigref_util.cpp
utwente-fmt/sigrefmc
apache-2.0
3,863
137
codeparrot/github-code
355fccc80058e7a6dd3b1b15f9ea128fb6b6255ca9bff0fa4403738e66fa9c0c
// Copyright (c) 2014 kingsoft #include <stdio.h> #include <stdlib.h> #include <string> #include "hiredis/adapters/libuv.h" #include "hiredis/hiredis.h" #include "hiredis/async.h" #include "./rediswrapper.h" #ifndef see_here #define see_here dba_err("check here [%s:%d:%s]\n", __FILE__, __LINE__, __func__) #endif #...
C++
dbproxy/rediswrapper.cpp
lijie/siriusdb
apache-2.0
6,087
245
codeparrot/github-code
f9fd3cce3f9c6f45553551b5ad6617c13a4c250c53bdaca729f6a351e9329bf6
# encoding: utf-8 require 'tempfile' require 'uri' require 'net/https' require 'fileutils' # `compliance_profile` custom resource to collect and run Chef Compliance # profiles class Audit class Resource class ComplianceProfile < Chef::Resource include ComplianceHelpers use_automatic_resource_name ...
Ruby
libraries/profile.rb
jwmathe/audit
apache-2.0
6,140
181
codeparrot/github-code
26d006273674cbee0a7d695f2b2af9090248a48515dde1c2fbad3aa6570ca240
/* * Copyright 2014 Hippo B.V. (http://www.onehippo.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
cms/src/main/java/nl/openweb/hippo/umd/webservices/HippoAuthenticationRequestHandler.java
aharpour/user-management-dashboard
apache-2.0
4,730
112
codeparrot/github-code
f2b93e701ed02ecca5ec94924e3dcec73ead622d2600965b35d6593cee29ccdc
/* * Copyright 2008-2009 Web Cohesion * * 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
spring-security-oauth2/src/main/java/org/springframework/security/oauth2/config/ClientDetailsServiceBeanDefinitionParser.java
rwinch/spring-security-oauth
apache-2.0
3,600
90
codeparrot/github-code
237dda368201ca3fc8b3a373a2fa17f3ecc6d462562c313309d82475fcbed3fb
package com.cloud.dc.dao; import com.cloud.dc.AccountVlanMapVO; import com.cloud.dc.DomainVlanMapVO; import com.cloud.dc.PodVlanMapVO; import com.cloud.dc.Vlan; import com.cloud.dc.Vlan.VlanType; import com.cloud.dc.VlanVO; import com.cloud.network.dao.IPAddressDao; import com.cloud.utils.Pair; import com.cloud.utils....
Java
cosmic-core/engine/schema/src/main/java/com/cloud/dc/dao/VlanDaoImpl.java
remibergsma/cosmic
apache-2.0
15,800
352
codeparrot/github-code
5b76379a50eab80b55c68304930d212868a747d476b55498b934dc2d44b2f50b
package com.sky.gank.data.douban; import com.sky.gank.net.HttpUtil; import com.sky.gank.net.RetrofitService; import com.sky.gank.net.Urls; import io.reactivex.Observable; /** * 类名称: * 类功能: * 类作者:Sky * 类日期:2018/12/31 0031. **/ public class RemoteDoubanMovieDataSource implements DoubanMovieDataSource{ public...
Java
gankio/src/main/java/com/sky/gank/data/douban/RemoteDoubanMovieDataSource.java
SkyZhang007/LazyCat
apache-2.0
1,467
52
codeparrot/github-code
5690ba36d3a74ae3b8fbafa79de474c05006012b087604ae64adbe7046931a10
/* * Copyright 2009-2012 The MyBatis Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
src/test/java/com/ibatis/sqlmap/ComplexTypeTest.java
c340c340/mybatis-3.2.22
apache-2.0
1,486
51
codeparrot/github-code
185b7d44e8f640a4032b54deb08b21ac894997ceda997a862c63525b351793a4
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
core/src/main/java/org/elasticsearch/search/profile/query/CollectorResult.java
strapdata/elassandra5-rc
apache-2.0
7,878
202
codeparrot/github-code
e53325d18f17af294018e09bb68b06acb5cfbf153d23c4314829b12b33137b13
# # Copyright (c) SAS Institute 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...
Python
rmake/cmdline/monitor.py
sassoftware/rmake3
apache-2.0
26,810
779
codeparrot/github-code
cb0ca9345671a0d2aa74b7e2779044067572c4cc87d74b6b9fc3f53108cddc44
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="FeatureNode.cs" company="PicklesDoc"> // Copyright 2011 Jeffrey Cameron // Copyright 2012-present PicklesDoc team and community contributors // // // Licensed under the Apach...
C#
src/Pickles.ObjectModel/DirectoryCrawler/FeatureNode.cs
picklesdoc/pickles
apache-2.0
2,240
67
codeparrot/github-code
d90e1fa27864bdc5fb3689842751eb81d0c7654e9d333dd76726744982a29e04
package com.cody.app.business.launch; import android.animation.AnimatorSet; import android.animation.ValueAnimator; import android.content.Context; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.view.animation.AccelerateDecelerateInterpolator; import java.util.ArrayList; ...
Java
app/src/demo/java/com/cody/app/business/launch/CharacterView.java
codyer/CleanFramework
apache-2.0
3,979
126
codeparrot/github-code
b3be0f62aab7d980895e4200781b4bb58e60a1151040c9941a19d7a5c2d41c92
<div class="android-screen-section"> <a name="screens"></a> <!-- Container for schedule --> <div id="molplay-sched-container"> <div class="mdl-grid"> <div class="mdl-cell mdl-cell--8-col"> <div class="mdl-card mdl-shadow--4dp"> <div class="mdl-card__media"> <h3>My Playg...
HTML
public/javascripts/templates/schedule.html
Molecular-Playground/frontend
apache-2.0
8,258
185
codeparrot/github-code
9187df803187a52ecf4b9b87d44f96e7c60700bd209428eaa87a4234f4611443
/* * Copyright 2014-2016 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 app...
Java
subprojects/griffon-domain-core/src/main/java/org/codehaus/griffon/runtime/domain/AbstractGriffonDomainClassProperty.java
griffon-plugins/griffon-domain-plugin
apache-2.0
1,607
43
codeparrot/github-code
11f94993314771e5e3fa573484233c9d1228201cd2763faa460c59bd52f1afbe
package org.grobid.core.utilities; import org.apache.commons.lang3.StringUtils; import org.grobid.core.analyzers.GrobidAnalyzer; import org.grobid.core.exceptions.GrobidException; import org.grobid.core.layout.LayoutToken; import org.grobid.core.lexicon.Lexicon; import java.io.BufferedReader; import java.io.IOExcepti...
Java
grobid-core/src/main/java/org/grobid/core/utilities/TextUtilities.java
alexduch/grobid
apache-2.0
46,872
1,404
codeparrot/github-code
d657837048284032ab424b360047ce5f550f0ceb81e2306e4ea92fc19055e7ce
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Reflection.Emit; using System.Text; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Sandbox.Game.Entities.Cube; using Sandbox.ModAPI; using Sandbox.ModAPI.Interfaces; using Microsoft.CodeAnalysis....
C#
Torch.Server/ViewModels/Entities/Blocks/BlockViewModelGenerator.cs
TorchAPI/Torch
apache-2.0
5,842
133
codeparrot/github-code
eff0e3375188e90785b70e3db2fd899e8edb63af6b7085db8fad33c563611253
# A basic web server using sockets import socket PORT = 8090 MAX_OPEN_REQUESTS = 5 def process_client(clientsocket): print(clientsocket) data = clientsocket.recv(1024) print(data) web_contents = "<h1>Received</h1>" f = open("myhtml.html", "r") web_contents = f.read() f.close() web_headers = "HTT...
Python
PER_2017-18/clientServer/P1/server_web.py
acs-test/openfda
apache-2.0
1,505
49
codeparrot/github-code
cf92bcd32256951d2b0c671a0bd367289aaf2c5f6ee57e67125c28f9d42902ed
// // System.IO.BufferedStream // // Author: // Matt Kimball (matt@kimball.net) // Ville Palo <vi64pa@kolumbus.fi> // // Copyright (C) 2004 Novell (http://www.novell.com) // // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a...
C#
System/IO/BufferedStream.cs
dot42/api
apache-2.0
8,437
323
codeparrot/github-code
2a3e944dfd90f4e698c6f0d89de56790ddd99c89cad7b2caa9cc68bdbcf59812
(function () { 'use strict'; angular.module('app.bankmaintenance').run(appRun); /* @ngInject */ function appRun(routerHelper) { routerHelper.configureStates(getStates()); } function getStates() { return [ { state: 'app.listBanks', con...
JavaScript
cashportal/src/main/resources/static/app/modules/bankmaintenance/bankmaintenance.route.js
blessonkavala/cp
apache-2.0
9,943
278
codeparrot/github-code
eaca422c36ae97c9c7fc610c7dbbdd35618297df77fd44de23b983feb8431ed7
/* * Copyright (C) 2018 Nagisa Sekiguchi * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
C++
tools/json/lexer.re2c.cpp
sekiguchi-nagisa/ydsh
apache-2.0
3,899
102
codeparrot/github-code
c0499c75cab6b1b22bbf47bf8eab9bdd60345762e9802fb513eee97d536019bf
<?php require 'connect_database.php'; echo " you are in ajex checking "; if(isset($_POST["firstname"]) && $_POST["firstname"] != ""){ $username =$_POST['firstname']; echo " you are in ajex checking 2 "; if (strlen($username) < 4 ) { echo 'Too short(4-1...
PHP
public_html/simplified/php/ajaxchecking.php
siddimania/LebroDenken.com
apache-2.0
2,359
90
codeparrot/github-code
897d9176029e71151b09bd3122cf2f1096a88f5627e5604c34cbc3742a250c91
/** ****************************************************************************** * @file Project/STM32F10x_StdPeriph_Template/stm32f10x_it.c * @author MCD Application Team * @version V3.5.0 * @date 08-April-2011 * @brief Main Interrupt Service Routines. * This file provides template f...
C
STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/stm32f10x_it.c
dargirov/rtos
apache-2.0
7,454
288
codeparrot/github-code
5336eb2a899fa9075d2f54ae2e91bea528d5b9bc3f465446f8b356e038527c9c
# -*- coding: utf-8 -*- # Copyright 2022 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...
Python
google/cloud/osconfig_v1/types/__init__.py
googleapis/python-os-config
apache-2.0
4,373
153
codeparrot/github-code
4f789500cdf651f31f85666e27beb2a9f21dc354e7e8c9d1091d304258b2a0e1
<?php /** * * Contains the Currency class * Intended for use with Laravel >=5.1 * * @author Chris Rasmussen, digitalformula.net * @category Libraries & Utilities * @license Apache License, Version 2.0 * @package DigitalFormula\Utilities * */ namespace DigitalFormula\Utilities; use Log; use Sentinel; /** *...
PHP
src/DigitalFormula/Utilities/Currency.php
digitalformula/utilities
apache-2.0
2,209
77
codeparrot/github-code
15ae6cf74588f462d2cbde1478b2b7e4fe44839feefa74c2a3f8bd7a930e803a
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
modules/httpcore-nio/src/test/java/org/apache/http/impl/nio/TestDefaultNHttpClientConnection.java
wso2/wso2-httpcore-nio
apache-2.0
30,286
671
codeparrot/github-code
00d2881a93558e8ddd238e051aef9f30f4c2554febbfca23f318cc2c8f954ef1
package nds_api.fs.btx0; import nds_api.RomMapping; import java.io.IOException; /** * * Reads data to translate to a {@link BasicTexture}. * * @author Whis * */ public final class BasicTextureReader { /** * The expected BTX0 file extension. */ private static final String BTX0_EXT = "BTX0"; ...
Java
src/main/java/nds_api/fs/btx0/BasicTextureReader.java
sinoz/nds-api
apache-2.0
828
41
codeparrot/github-code
bed8d6d1108ecf868077629ccba37b84ccf8f2b7ee6269331bac6843eaa75b07
/* * Copyright 2015 Suprema(biostar2@suprema.co.kr) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
Java
BioStar2Android/BioStar2Client/src/main/java/com/supremainc/biostar2/adapter/base/BasePermissionAdapter.java
BioStar2/BioStar2Android
apache-2.0
6,611
173
codeparrot/github-code
488a4111a7908ce034fed24c7e5c0ade80a56bb246eb02eab1fc20a62ffb7139
<?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>fake - ONJAG documentation - it.unipi.thesis.andrea.esposito.onjag.test.fake</title> <meta name="description" content="fake - ONJAG do...
HTML
doc/it/unipi/thesis/andrea/esposito/onjag/test/fake/package.html
roy20021/ONJAG
apache-2.0
4,564
105
codeparrot/github-code
0fc345aefceca7d2fabf1861fd1eb427ebb6e7e2032329c9114f7849c8f60765
=head1 LICENSE # Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute # Copyright [2016-2020] 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 License. # ...
Perl
modules/Bio/EnsEMBL/Pipeline/BatchSubmission/LSF.pm
Ensembl/ensembl-pipeline
apache-2.0
14,618
553
codeparrot/github-code
64f1d665af0a8561a6431b96f966a9741223d50bdd25503e4890dd25b356cb72
package cn.iam007.app.mall; import java.util.ArrayList; import android.annotation.TargetApi; import android.graphics.Color; import android.os.Build; import android.os.Bundle; import android.support.v4.view.ViewPager; import android.support.v4.view.ViewPager.OnPageChangeListener; import android.view.View; i...
Java
src/cn/iam007/app/mall/TestMainActivity.java
jiangerji/iam007-mobile-android
apache-2.0
10,619
283
codeparrot/github-code
d1829ab0fe052e7360e9d35ce7cd7fc030dbaeacfe01a2b77b913e515eae754e
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>20.19. SimpleHTTPServer — Simple HTTP request handl...
HTML
Documentation/py2/library/simplehttpserver.html
leesavide/pythonista-docs
apache-2.0
18,736
254
codeparrot/github-code
49b7fcf4e7dd871b591cb3494eb95761d92b1599ea12e81c2813652d63b79daf
<!DOCTYPE HTML> <html> <head> <title>org.wso2.ballerina.connectors.amazonlambda</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <link rel="stylesheet" href="docerina-theme/css/main.css" /> <!--[if lte IE 9]><link rel="stylesh...
HTML
docs/api/0.8/org.wso2.ballerina.connectors.amazonlambda.html
madhuramendis/website
apache-2.0
18,441
377
codeparrot/github-code
15cfc41a2b3eac360aa358a3a81a9706a4de133b5df604575c199478419c747f
package ru.stqa.pft.sandbox; import org.testng.Assert; import org.testng.annotations.Test; import ru.stqa.rft.sandbox.Point; /** * Created by RomanovaD on 15.05.2017. */ public class PointTests { //Нулевые координаты @Test public void testDistanceZeroCoordinates(){ Point p1 = new Point(0,0); ...
Java
sandbox/src/test/java/ru/stqa/pft/sandbox/PointTests.java
romawkad/java_pft
apache-2.0
884
37
codeparrot/github-code
32b7a0a242f1f01c0228d04249d6c5af24361d1a29e6702b5b7d595fa86af61e
package com.google.api.ads.adwords.jaxws.v201406.cm; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for CampaignSharedSetError.Reason. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;...
Java
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201406/cm/CampaignSharedSetErrorReason.java
nafae/developer
apache-2.0
1,010
41
codeparrot/github-code
6c853fecdb343d5b22aa306ad9f69b822f18ece958deed59e24f94d73be45945
import React from 'react' import GenericField from './genericfield' import {object_is_equal, map_drop} from 'app/utils' import PropTypes from 'prop-types' import uuid4 from 'uuid/v4' class GenericForm extends React.Component{ constructor(props){ super(props) this.state = this.getInitialState(props) this...
JavaScript
frontend/app/js/components/genericform/index.js
serverboards/serverboards
apache-2.0
2,808
103
codeparrot/github-code
271db8cb6d7a890bf614eefb7fb5299e9911ac3ba836870045369694fb4e7a65
/* Copyright 2018 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
GO
prow/spyglass/podlogartifact.go
kargakis/test-infra
apache-2.0
4,865
180
codeparrot/github-code
b2ee9cafdafac0793c0d72932fe34a1cae03ef96322a8bdd131760b02c4d5ca1
package edu.stanford.futuredata.macrobase.analysis.classify.stats; import edu.stanford.futuredata.macrobase.util.MacrobaseInternalError; /** * Performs linear interpolation in a lazy manner: interpolation does not actually * occur until an evaluation is requested. */ public class LinearInterpolator { private d...
Java
lib/src/main/java/edu/stanford/futuredata/macrobase/analysis/classify/stats/LinearInterpolator.java
kexinrong/macrobase
apache-2.0
1,539
49
codeparrot/github-code
d9d9aee019c9a1f3429852528e2f7caaafdc5745433ca50ace836bb02acc218e
//! Easy file downloading #[macro_use] extern crate error_chain; extern crate url; #[cfg(feature = "rustls-backend")] #[macro_use] extern crate lazy_static; #[cfg(feature = "rustls-backend")] extern crate ca_loader; use url::Url; use std::path::Path; mod errors; pub use errors::*; #[derive(Debug, Copy, Clone)] pub...
Rust
src/download/src/lib.rs
polonez/rustup.rs
apache-2.0
22,101
675
codeparrot/github-code
86fef8e211763153f0de230368ae10307e340c563cddd3f5ebc7c4d55b45591f
// Copyright 2020 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 w...
C++
google/cloud/pubsub/internal/publisher_stub.cc
googleapis/google-cloud-cpp-pubsub
apache-2.0
3,152
88
codeparrot/github-code
254500ca8e3ba4266942d8c0944d8d3a7379febae8939012c8df990c484074d9
package org.fogbeam.experimental.blackboard.concurrencystuff.jtp.hyde.chapter11; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.geom.Ellipse2D; import java.awt.image.BufferedImage; import javax.swing.JComponent; public cl...
Java
blackboard/src/main/java/org/fogbeam/experimental/blackboard/concurrencystuff/jtp/hyde/chapter11/Squish.java
mindcrime/AISandbox
apache-2.0
2,409
117
codeparrot/github-code
00fc89b2ad8641ee72724af0ab14659f4d0817510a85df35a343a3749f280793
package gazette import java.sql.Date import gazette.Client.GazetteAction import gazette.IO._ import gazette.Util._ import net.bmjames.opts._ import org.http4s.Uri import monocle.std.list.listIndex import scalaz.{Applicative, Bind} import scalaz.concurrent.Task import scalaz.std.string.parseInt import scalaz.synta...
Scala
core/src/main/scala/gazette/Cli.scala
adelbertc/gazette
apache-2.0
4,678
147
codeparrot/github-code
6014387edad77a7c80715244b84c934868d551360a36037e13b99bf4c8306282
/* * Copyright (c) 2018 <Carlos Chacón> * 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 ...
C
CodeSolution/Code/AEngine_GameComponents/Stats/DebugStats.h
aliascc/Arenal-Engine
apache-2.0
3,844
140
codeparrot/github-code
6a93ae0fb61f4329ac55727f58ff1f9dd76f422f4dfd4a31eeb9bce3edb6abb7
/* * Copyright 2000-2015 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
xml/xml-analysis-impl/src/com/intellij/xml/util/CheckTagEmptyBodyInspection.java
leafclick/intellij-community
apache-2.0
3,650
112
codeparrot/github-code
479028c7acd0741c6bc0e5ab8cef640551db66c5744c3f083805ae4820ebb740
/******************************************************************************* * Copyright (c) 2005 - 2013 Nos Doughty * * 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
toolkit-core/src/main/java/org/llaith/toolkit/core/pump/impl/BufferSink.java
llaith/toolkit
apache-2.0
1,784
56
codeparrot/github-code
64a97c7420da9f879d34125a6fe787b6bb3c89cb26fe1ef83a3778072ff7e831
package net.hamnaberg.jsonstat; import net.hamnaberg.funclite.Optional; import java.util.*; public final class Category implements Iterable<String> { private final Map<String, String> labels = new LinkedHashMap<>(); private final Map<String, Integer> indices = new LinkedHashMap<>(); private final Map<S...
Java
src/main/java/net/hamnaberg/jsonstat/Category.java
hamnis/json-stat.java
apache-2.0
1,899
69
codeparrot/github-code
5f6cff991f51092a84d6cdfa5ccdcb2db67c775f6300ff660cf531c37c4c2941
/* * Copyright © 2008-2009 Esko Luontola, www.orfjackal.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/licenses/LICENSE-2.0 * * Unless required by...
Java
src/test/java/net/orfjackal/pommac/util/ZipUtilSpec.java
orfjackal/pommac
apache-2.0
3,285
103
codeparrot/github-code
49cc53159ef410d9959020c5c3cca4daca4d41a529018f45588d12283dbca73d
/* * Copyright 2015 Tawja. * * 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
twj-platform/twj-plugins/twj-plugin-database/twj-plugin-database-impl-hsql/src/main/java/org/tawja/platform/plugins/database/hsql/impl/HsqldbDatabaseServer.java
tawja/twj-main
apache-2.0
5,393
144
codeparrot/github-code
1207057485a6cc6d3c83a5527cc4d8e08098d0cda83122bb19e21e9c3ffc212c
package com.monkeysarmy.fit.ui.debug; import android.view.View; import android.view.ViewGroup; /** * A {@link android.view.ViewGroup.OnHierarchyChangeListener hierarchy change listener} which recursively * monitors an entire tree of views. */ public final class HierarchyTreeChangeListener implements ViewGroup.OnHi...
Java
src/internalDebug/java/com/monkeysarmy/fit/ui/debug/HierarchyTreeChangeListener.java
niqo01/monkey
apache-2.0
1,757
52
codeparrot/github-code
27ec9071aa9004c6cad034d9eee8dc9143269b0724ca76fabbadcbf6da6222ff
<?php /** * Pixelcrush CDN Prestashop Module * * Copyright 2017 Imagenii, 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 * ...
PHP
pixelcrush/pixelcrush.php
Pixelcrush/pixelcrush-prestashop
apache-2.0
27,757
727
codeparrot/github-code
a1238d9f6f1c8eaf7720414771fd18853c5bd7ca0aeaf68fdd9be66dbbeef2e1
/* Copyright (c) 2017 KAPSARC 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 dist...
Scala
src/main/scala/org/economicsl/auctions/singleunit/pricing/AskQuotePricingPolicy.scala
EconomicSL/auctions
apache-2.0
1,337
43
codeparrot/github-code
5b2e21c557be3ac840d2342f609f9e3d5190c767bf7c671b39f5a2505cb641ad
package com.pointr.tensorflow.api; import static com.pointr.tensorflow.api.TensorFlowIf.*; public class PcieDMAServer extends DMAServerBase implements TensorFlowIf.DMAServer { public PcieDMAServer() { String parentDir = System.getenv("GITDIR") + "/tfdma"; String ext = System.getProperty("os.name").equals("...
Java
tfdma/src/main/java/com/pointr/tensorflow/api/PcieDMAServer.java
OpenChaiSpark/OCspark
apache-2.0
2,774
106
codeparrot/github-code
d5becb71cbc159ecda58b9a865b651f73921f7bd4bfa12c88fdb24830fd84b5e
/* * 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/cxx/ArchiveScrubberStep.java
MarkRunWu/buck
apache-2.0
5,492
165
codeparrot/github-code
359e85ba792e50588a110877b8bd9eab151e39100b31648b4d14afb9e0e08a0b
import React from 'react'; import { screen } from '@testing-library/react'; import { createMemoryHistory } from 'history'; import '__mock__/stripesCore.mock'; import renderWithRouter from 'helpers/renderWithRouter'; import account from 'fixtures/account'; import openLoans from 'fixtures/openLoans'; import okapiCurrent...
JavaScript
src/views/AccountDetails/AccountDetails.test.js
folio-org/ui-users
apache-2.0
2,518
111
codeparrot/github-code
f3bd5a98a73e861e3359c8d36c099843be9974159b6dfc57c9fa91a14230951d
/** * Copyright (C) 2015 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...
Java
crd-generator/api/src/test/java/io/fabric8/crd/generator/v1/JsonSchemaTest.java
fabric8io/kubernetes-client
apache-2.0
7,648
193
codeparrot/github-code
13c946abd2c5c0a66b1f09a243d7198849146f1f2ddf9b5803340e19cba7dc76
/* * Copyright 2017 Young Digital Planet S.A. * * 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/eu/ydp/empiria/player/client/module/identification/IdentificationModule.java
YoungDigitalPlanet/empiria.player
apache-2.0
7,707
217
codeparrot/github-code
9e61153007a713089d5941e20976c4ee379d8382ccaa543e5747d35c174fb640
/* * Copyright 2021 Apollo 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 i...
Java
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/v1/controller/ItemController.java
ctripcorp/apollo
apache-2.0
7,531
162
codeparrot/github-code
5e4fbc14fe684ce0776805f621affba35760eaf490880533aa8b1e9ded803008
// this sets the background color of the master UIView (when there are no windows/tab groups on it) Titanium.UI.setBackgroundColor('#000'); Ti.API.info( "Platform: " + Titanium.Platform.name ); ///////////////////////////////////////////// // Global Variables ///////////////////////////////////////////// var site_url...
JavaScript
Resources/app.js
sekka1/Events-App
apache-2.0
5,846
215
codeparrot/github-code
974f0ca59a9470a1905215800239a8bff0079f1d71d3daf71c9e96f7a3183cb2
package github import ( "github.com/drone/config" "github.com/armab/drone/plugin/remote" ) var ( // GitHub cloud configuration details githubClient = config.String("github-client", "") githubSecret = config.String("github-secret", "") githubOrgs = config.Strings("github-orgs") githubOpen = config.Bool("git...
GO
plugin/remote/github/register.go
armab/drone
apache-2.0
1,897
65
codeparrot/github-code
ffe041c05b22f577eac9a2d44a83c551491b55b6597fa8759f8d1c407f2e260e
package org.incode.module.document.dom.impl.docs.minio; import javax.inject.Inject; import org.apache.isis.applib.annotation.Action; import org.apache.isis.applib.annotation.ActionLayout; import org.apache.isis.applib.annotation.Mixin; import org.apache.isis.applib.annotation.SemanticsOf; import org.apache.isis.appli...
Java
estatioapp/app/src/main/java/org/incode/module/document/dom/impl/docs/minio/Document_downloadExternalUrlAsBlob.java
estatio/estatio
apache-2.0
1,351
44
codeparrot/github-code
4704752ac334ef6a0d988e4eb947c36a93e652965387feeeaecc768cfdc865fb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Assume &mdash; SymPy 0.7.4.1 documentation</title> ...
HTML
Documentation/sympy/modules/assumptions/assume.html
leesavide/pythonista-docs
apache-2.0
13,733
185
codeparrot/github-code
432fe117644394808c220e1718b5857a06f46e3d2c3bf29c72841089c8cea873
package imageapis import ( "fmt" "time" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" kutilerrors "k8s.io/apimachinery/pkg/util/errors" kapi "k8s.io/kubernetes/pkg/apis/core" g "github.com/onsi/ginkgo" o "github.com/onsi/gomega" imageapi "github.com/openshift/origin/p...
GO
test/extended/imageapis/quota_admission.go
php-coder/origin
apache-2.0
9,127
252
codeparrot/github-code
aa23ca4379462fd268bdd976a52beb361de5d6a224d10b7536523ec812ae1a70
package io.sphere.json import java.util.UUID import org.json4s._ import org.scalatest.matchers.must.Matchers import org.scalatest.wordspec.AnyWordSpec class ToJSONSpec extends AnyWordSpec with Matchers { case class User(id: UUID, firstName: String, age: Int) "ToJSON.apply" must { "create a ToJSON" in { ...
Scala
json/json-core/src/test/scala/io/sphere/json/ToJSONSpec.scala
sphereio/sphere-scala-libs
apache-2.0
846
35
codeparrot/github-code
4dc189a05f53f95972d697effb7391645182d2286590509b54b859abb08ccf1e
package dataparser; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; public class TestReadDate { public static void main(String[] args) { String file = "D:\\工作积累\\CSDN-中文IT社区-600万\\www.csdn.net.sql"; int cache = 10...
Java
sendEmail/test/dataparser/TestReadDate.java
toulezu/play
artistic-2.0
1,053
42
codeparrot/github-code
139703f56ee414b1e8dd4097352cf13fe16b2813e3f063202d232153cf0632b1
#ifndef YOBAPERL_PERL_STACK_HPP #define YOBAPERL_PERL_STACK_HPP #include "yobaperl/common.hpp" namespace yoba { class Perl; class Scalar; class Array; class Code; } namespace yoba { namespace priv { class PerlStack { public: PerlStack(Perl & perl); ~PerlStack(); void extend(SSize_t size); void pus...
C++
include/yobaperl/perl_stack.hpp
theanonym/libyoba-perl
artistic-2.0
794
52
codeparrot/github-code
db3f73c5dc47c12e69f8fa401d11f57f1624bf1db5aed2a7accb3822f7029e37
using UnityEngine; using System.Collections; using System.Collections.Generic; [AddComponentMenu("Ferr SuperCube/SuperMesh Combiner")] public class SuperMeshCombiner : MonoBehaviour { public const int MaxVerts = 65534; class Subset { public List<Vector3> mPoints = new List<Vector3>(); public List<Vector3> ...
C#
Assets/Ferr/SuperCube/Scripts/SuperMeshCombiner.cs
Rckdrigo/Emma
artistic-2.0
11,800
325
codeparrot/github-code
1242d6fd420aaf70d4c222918480a67c2e656111096fd58cc7f6cdc7fb03961f
package com.sloop.adapter.utils; import android.content.Context; import android.support.annotation.NonNull; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import java.util.ArrayList; import java.util.List; /** * ListView 的通用适配器 * Auth...
Java
library/src/main/java/com/sloop/adapter/utils/CommonAdapter.java
GcsSloop/SUtils
artistic-2.0
2,314
91
codeparrot/github-code
bf9a4330dd6cbefcd6b77650a3ce691439cf1c1bdcf6d9abaaeb666a4c8fdf1f
from __future__ import absolute_import, unicode_literals import os from django import VERSION as DJANGO_VERSION from django.utils.translation import ugettext_lazy as _ ###################### # MEZZANINE SETTINGS # ###################### # The following settings are already defined with default values in # the ``de...
Python
solarApp/solar/settings.py
nikdval/cloudSolar
artistic-2.0
11,845
339
codeparrot/github-code
1ac2a6ba3872c44753abcb1b36663cf00327a2064a3173b398e3c7a09ce06b39
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; using System.Net; using System.Web; using System.Web.Mvc; using KompetansetorgetServer.Models; namespace KompetansetorgetServer.Controllers { public class StudentsControlle...
C#
KompetansetorgetServer/Controllers/StudentsController.cs
patsy02/KompetansetorgetServer
artistic-2.0
3,909
130
codeparrot/github-code
d9200cdf96bac664fbe5a0172a07bb6f2334b0ce41fe165408c99a7dd4a4aad5
// Copyright (C) 2019 - 2021 by Pedro Mendes, Rector and Visitors of the // University of Virginia, University of Heidelberg, and University // of Connecticut School of Medicine. // All rights reserved. // Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelbe...
C++
copasi/plotUI/CQPlotSubwidget.cpp
copasi/COPASI
artistic-2.0
33,073
1,222
codeparrot/github-code
16b6c824e005fd1d71619064331b8a5dd748c6721145ee6f8aea965e1a59adfa
import pyautogui, win32api, win32con, ctypes, autoit from PIL import ImageOps, Image, ImageGrab from numpy import * import os import time import cv2 import random from Bot import * def main(): bot = Bot() autoit.win_wait(bot.title, 5) counter = 0 poitonUse = 0 cycle = True fullCounter = 0 ...
Python
hf/wl.py
oyajiro/l2bot
artistic-2.0
2,661
85
codeparrot/github-code