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
22ccc541618fbf431e1a153e0241246bdb506f953e5e8ac9d1e8870bbc9b882a
/* Copyright (c) 2014,2015,2016 Ahome' Innovation Technologies. 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 ...
Java
src/main/java/com/ait/lienzo/client/core/shape/wires/MagnetManager.java
qmx/lienzo-core
apache-2.0
14,457
463
codeparrot/github-code
bc92b532fb4709071d1e96c73fb20a97a2044ebc13ae28a54e286c15347bfb5d
/* Copyright 2021 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/floodlight-service/floodlight-modules/src/main/java/org/openkilda/floodlight/command/rulemanager/OfBatchExecutor.java
telstra/open-kilda
apache-2.0
14,562
319
codeparrot/github-code
3cedf281d1d948797754135cf5409a7210ed437f4b11b0e0f791c2ea356e7eec
package JDBC; import java.sql.*; import java.io.*; /** * Created by Defias on 2020/08. * Description: 执行SQL脚本文件 * */ public class Test3_SqlScript { public static void main(String[] args) throws Exception { test(); } public static void test() throws Exception { //建立连接 Class.fo...
Java
InitJava/base/src/main/java/JDBC/Test3_SqlScript.java
gdefias/JavaDemo
apache-2.0
2,531
80
codeparrot/github-code
4a90252bb5678c27f41e203f1d7a1efaa2942d82689470dfd95c1f9184df272d
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <assert.h> #include <exception> // System.Runtime.Serialization.SerializationInfo struct SerializationInfo_t2995724695; // System.Object struct Il2CppObject; #include "codeg...
C
01Dongzuo/Temp/il2cppOutput/il2cppOutput/mscorlib_System_RuntimeTypeHandle1864875887MethodDeclarations.h
moixxsyc/Unity3dLearningDemos
apache-2.0
3,196
53
codeparrot/github-code
bbd797d50db2c37c51ca242aecbdf8f5504fe5f56a43e86e487c08f3e57c28d8
/* ### * IP: GHIDRA * * 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 writin...
Java
Ghidra/Features/BytePatterns/src/main/java/ghidra/closedpatternmining/ClosedSequenceMiner.java
NationalSecurityAgency/ghidra
apache-2.0
3,844
108
codeparrot/github-code
956c8490f9fd9397006e8b9845de9e60c0984fc8e9d3eb5c2ab49d99c0dbd966
package socialeyser.bl.services.impl.sa.modsupport; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.Map; import java.util.Random; import java.util.Set; import socialeyser.model.Message; import weka.classifiers.Evaluation; import weka.classifiers.bayes....
Java
src/socialeyser/bl/services/impl/sa/modsupport/MyTrainer.java
raikon/SocialEyeser
apache-2.0
5,695
181
codeparrot/github-code
5468d0061abe86848e84a8f7351a8110b96254d11e0cab79c4510ee7069f746b
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/> <link href="style/style.css" rel="stylesheet" type="text/css" /> <link href="style/bootstrap.min.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="js/jquery.min.js"><...
HTML
results/recordedsimulation-1417191345179/req_request-2-93baf.html
Mantiq/performance-test-gatling
apache-2.0
50,278
1,234
codeparrot/github-code
c302c2dd1d7e3a8718839de5f63912223d17161f5f23c2751adaa7eb32e52fd5
/* * Copyright 2015 Open mHealth * * 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-schema-sdk/src/main/java/org/openmhealth/schema/domain/omh/HeartRate.java
openmhealth/schemas
apache-2.0
5,050
156
codeparrot/github-code
27fd55de8a9535f17e2ef11fc329d7f3c57ba472a356075261d9dfdd4bb6ab7f
/* 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
testgrid/util/gcs/gcs.go
foxish/test-infra
apache-2.0
3,752
133
codeparrot/github-code
8d2e06197cddb331f283a809f26d70edf7b73e932c3f15c33a74fe8507bd44eb
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.harvard.iq.dataverse; import edu.harvard.iq.dataverse.authorization.Permission; import edu.harvard.iq.dataverse.authorizat...
Java
src/main/java/edu/harvard/iq/dataverse/DataverseHeaderFragment.java
leeper/dataverse-1
apache-2.0
10,133
284
codeparrot/github-code
b4cf1091690f878202b7cffb02ba0b37f13fc64e44917fd15c01a713502c5f81
using UnityEngine; using System.Collections.Generic; using MultiPlayer; using Analytics; public class HealthBar : MonoBehaviour { public GameUnit unit; public Camera minimapCamera; public Vector3 viewportPosition; public void Start() { if (this.minimapCamera == null) { GameObject obj = GameObject.FindGameOb...
C#
Assets/multiplayer/Scripts/HealthBar.cs
tommai78101/Unity-UNET-RTS
apache-2.0
1,950
61
codeparrot/github-code
b5f958d5cdedc724b9a7574ec45606056888512bd5bb2dd69917976d146a6923
// Copyright 2018 The CUE 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...
GO
cue/token/token.go
cuelang/cue
apache-2.0
5,256
267
codeparrot/github-code
94051498ffd07a2ff31e1d8eb06f6e61cadcaa8e38db4286d0bc3f8e1ccbb91e
package com.dm.ycm.model; import android.content.Context; /** * Created by ycm on 2017/6/27. * Description: * Modified by: */ public class Client { private static Client instance; private Context context; public static Client getInstance(Context context) { if (instance == null) { ...
Java
model/src/main/java/com/dm/ycm/model/Client.java
changmu175/SAssistant
apache-2.0
705
34
codeparrot/github-code
21b3ca75a42fbe3dda91cf6562314142a55c9512e8dd3ed392c7d45989ea362e
/* * Copyright 2014 The Netty Project * * The Netty Project 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 ...
Java
codec/src/main/java/io/netty/handler/codec/TextHeaders.java
drowning/netty
apache-2.0
4,845
158
codeparrot/github-code
62622fe655579afbfd67280202b802e20fc860eca6b2c6dd9388cfcda46bd27d
#!/bin/bash usage() { echo "When a container is started, it can be run with several commands. The following command" echo "will start a Kafka broker:" echo "" echo " start" echo "" echo "while the following command can be used when attaching to a running container to create a new topic:" ...
Shell
distribution/docker-kafka/src/main/docker/docker-entrypoint.sh
rhauch/debezium-proto
apache-2.0
11,719
238
codeparrot/github-code
718030b48bb0d7277a7eca27e1a26df5fff518d264423da788575557d62a9ab5
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
src/com/replica/replicaisland/RenderSystem.java
JoesCat/ReplicaIsland
apache-2.0
5,204
157
codeparrot/github-code
d02eb6bf46ee6b0748ed06dbdab8addf04e4532727a77314b3c2059eb08886a9
/* * PreparedStatementPool.java * * This file is part of SQL Workbench/J, http://www.sql-workbench.net * * Copyright 2002-2015, Thomas Kellerer * * 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 L...
Java
src/workbench/sql/preparedstatement/PreparedStatementPool.java
Taller/sqlworkbench-plus
apache-2.0
3,277
119
codeparrot/github-code
60eb32a827d119387fa40fd61f0bb6c6c298cf8039bf52acab63189e4a316b7a
package com.hsdc.dp.persist.dao.flyeweight; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; import org.springframework.stereotype.Repository; import com.hsdc.dp.intf.dao.flyweight.CodeDao; import com.hsdc.dp.intf....
Java
design-pattern-persist/src/main/java/com/hsdc/dp/persist/dao/flyeweight/CodeDaoImpl.java
ringlelai/HSDcDesignPattern-Java
apache-2.0
1,321
40
codeparrot/github-code
2119b43cfcb8e09569b17707fc973007680913c80bb408eb9508dbda385ecc0c
/** * Copyright 2016 Alyssa Morrow * * 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 ...
Scala
src/main/scala/net/akmorrow13/endive/processing/Sequence.scala
akmorrow13/endive
apache-2.0
2,854
81
codeparrot/github-code
ae63fa1287a53d0af385cfdf3a95db47c9498e8d2db3e96c0c6811a09f75d225
"""Stateful programmatic WWW navigation, after Perl's WWW::Mechanize. Copyright 2003-2006 John J. Lee <jjl@pobox.com> Copyright 2003 Andy Lester (original Perl code) This code is free software; you can redistribute it and/or modify it under the terms of the BSD or ZPL 2.1 licenses (see the file COPYING.txt included w...
Python
mechanize/_mechanize.py
Masood-M/yalih
apache-2.0
31,059
841
codeparrot/github-code
5fb2dd797d474d6bcda2bd070202a152b6c0937dd3252d9dd603fdc5b7d3eecf
package io.github.droidkaigi.confsched2017.repository.sessions; import android.support.annotation.NonNull; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import javax.inject.Inject; import javax.inject.Singleton; import io.github.droidkaigi.confsched2017.mod...
Java
app/src/main/java/io/github/droidkaigi/confsched2017/repository/sessions/MySessionsRepository.java
yatatsu/conference-app-2017
apache-2.0
2,131
73
codeparrot/github-code
f181ff28883dad25885d4bbb30ddd20a6d388451226784904f49ee992e66f815
// // Copyright 2016 Cityzen Data // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
Java
crypto/src/main/java/io/warp10/crypto/OrderPreservingBase64.java
StevenLeRoux/warp10-platform
apache-2.0
7,206
271
codeparrot/github-code
b8b36adcb94d7eabb9ea7be8e9d75b1ad05c542f17c278d77bdf62f76dc3d0e7
using System; using System.Collections.Generic; using Elasticsearch.Net.Connection; namespace Elasticsearch.Net.ConnectionPool { public class SingleNodeConnectionPool : IConnectionPool { private readonly Uri _uri; public int MaxRetries { get { return 0; } } public bool AcceptsUpdates { get { return false; }...
C#
src/Elasticsearch.Net/ConnectionPool/SingleNodeConnectionPool.cs
Grastveit/NEST
apache-2.0
961
43
codeparrot/github-code
79af545d4d6081003b1200f2a98e6644fef0ed2213fd095b884f376646781c63
__author__ = 'ehiller@css.edu' # Module to support custom teacher views in CourseBuilder dashboard # Views include: # Section Roster - list of students in section # Sections - list of sections for current user # Student Dashboard - view of a single student's performance in the course # Teacher...
Python
modules/teacher_dashboard/teacher_dashboard.py
ehiller/mobilecsp-v18
apache-2.0
21,342
481
codeparrot/github-code
7b101aeee488a411fa1ede9d3f70fa869a375639f271d5f0dc0034c99a71e26f
package com.liwenyao.coolweather.db; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; /** * Created by liwenyao on 2015/11/25. */ public class CoolWeatherOpenHelper extends SQLiteOpenHelper { /** * Province表建表语句 */ publ...
Java
coolweather/src/main/java/com/liwenyao/coolweather/db/CoolWeatherOpenHelper.java
hancockli/coolweather
apache-2.0
1,298
39
codeparrot/github-code
c3555dcd5025f67021a1e0f68c359cff04385c4310df07b037d81b5ed220c00e
#!/usr/bin/python # vim: expandtab:tabstop=4:shiftwidth=4 # Disabling invalid-name because pylint doesn't like the naming convention we have. # pylint: disable=invalid-name ''' Tool to detect haproxy processes that have been running longer than the most recent haproxy process and have connection in CLOSE_WAIT stat...
Python
scripts/monitoring/cron-haproxy-close-wait.py
joelsmith/openshift-tools
apache-2.0
3,742
113
codeparrot/github-code
602aabad88850d96d9a262fab0cd02ab8be5c3b058ece27fa4046ac40865fec4
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title>datapythonista blog - Tag Django</title> <meta name="HandheldFriendly" content="True" /> <meta na...
HTML
blog/tag/django6.html
datapythonista/datapythonista.github.io
apache-2.0
12,059
245
codeparrot/github-code
a70286f5186e53fd7e48c75b2afc4ad55acde062ce2ebf78c2f91514471426d2
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>Thumbnail Navigator Skin 07 - Jssor Slider, Slideshow with Javascript Source Code</title> </head> <body style="padding: 0; margin: 0; font-family:Arial, Verdana;background-color:#fff;"> ...
HTML
Jssor/skin/thumbnail-07.source.html
rafaelcl/c2capital
apache-2.0
8,362
184
codeparrot/github-code
02a53260cb32e21885d876804f43a1acf4fec2f943fe11278d38e4a873769e7e
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>ClassificationMethod (ARX Developer Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> </head> <body> <scr...
HTML
doc/dev/org/deidentifier/arx/aggregates/classification/ClassificationMethod.html
kbabioch/arx
apache-2.0
10,363
254
codeparrot/github-code
b632e54bf21f144c56330286b8461af90efc0737e68f129fc344f7be96841023
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
Java
geode-core/src/test/java/org/apache/geode/test/dunit/examples/BeforeClassExampleTest.java
smanvi-pivotal/geode
apache-2.0
1,512
40
codeparrot/github-code
44751509f3a611e2bf77d7b9e8af2cf760485eb36d9d02aa5bd94205c4ff0284
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C++
aws-cpp-sdk-workdocs/source/model/Activity.cpp
cedral/aws-sdk-cpp
apache-2.0
4,306
192
codeparrot/github-code
91dc67ef69beb4cf9184e5003375789a6ad62b2d6e71b2c53d6a938493c3c8bd
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> // UnityEngine.ParticleSystem struct ParticleSystem_t381473177; #include "mscorlib_System_ValueType1744280289.h" #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnos...
C
iOS_app/Classes/Native/UnityEngine_UnityEngine_ParticleSystem_EmissionMod3736167958.h
Bersaelor/D2
apache-2.0
1,625
55
codeparrot/github-code
790e564a1af3ab0f7de50264c09a5d0f76679beb345389b5a886c8bdb63faf1f
/** * */ package com.ecollege.lunit.event; import org.apache.log4j.Logger; import com.ecollege.lunit.repository.EventRepository; import com.ecollege.lunit.repository.RepositoryException; /** * @author toddf * */ public class RepositoryTestObserver implements TestObserver { // SECTION: CONSTANTS protect...
Java
src/java/com/ecollege/lunit/event/RepositoryTestObserver.java
tfredrich/LUnit
apache-2.0
876
57
codeparrot/github-code
f876bde071b835f3416f36171ceb7136a5d81c0765ec3e5f69252f989d0c5b7b
/** * 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 * ...
Java
brix-demo-modular/src/main/java/org/brixcms/demo/web/DemoBrix.java
kbachl/brix-cms-backup
apache-2.0
2,663
73
codeparrot/github-code
3fdc20728e469cd1bc626e652a8450f22b0be302cad86a0735da26b911f77051
# pyOCD debugger # Copyright (c) 2006-2013 Arm Limited # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
Python
pyocd/target/builtin/target_lpc800.py
mbedmicro/pyOCD
apache-2.0
4,050
74
codeparrot/github-code
5e15ad5551025dcd75b2a2a2e442096a82b3ed3574fe08a0eaf18f7bdb8ba84e
(function (document, window, $) { // Set page title setPageTitle("Jenjang Pendidikan"); // Define variables var pageUrl = "{{ url('jenjangPendidikan') }}", pageReload = "jenjangpendidikan/index"; // Form elements object var $form = $("#form_input"), $...
JavaScript
app/views/rombel/assets/jenjang.js
andynur/siakad
apache-2.0
2,690
78
codeparrot/github-code
7fd38e72c4ff3bdfb5594a8e47e74433e0b76d04c2f6f6a644c16bcb0d1df9d3
package redis; import org.apache.commons.pool2.PooledObject; import org.apache.commons.pool2.PooledObjectFactory; import org.apache.commons.pool2.impl.DefaultPooledObject; import org.apache.commons.pool2.impl.GenericObjectPoolConfig; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import redis.clients.jedis.*...
Java
src/main/java/redis/RedisConnectionPool.java
Samsung/spark-cep
apache-2.0
12,345
385
codeparrot/github-code
08d43f2ca8b4a9d48f87b6d2b5b0dd959fcce4f98d3314365d70b6fad3622fd7
/** * @license * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
JavaScript
js/foam/demos/sevenguis/CircleDrawer.js
osric-the-knight/foam
apache-2.0
4,268
158
codeparrot/github-code
354dada9a3c5e4e4db37eab2dda8b6bd7a2f1545a87abfc2bd8a29e9e47ed182
package u1.home.task3; import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.lang.reflect.Field; import java.util.Scanner; public class Main { static Class<?> cls = Clazz1.class; static String path = "C:\\SomeDir\\notes4.txt"; public ...
Java
src/u1/home/task3/Main.java
kovalchuk11/Prog
apache-2.0
3,431
104
codeparrot/github-code
53a397122754f7ab9291ace16c62ae6ad36058baca3158dfb8ed569efbf0e6ab
<html><head> <link rel="shortcut icon" href="https://developers.google.com/_static/images/favicon.ico"> <link rel="hresource-documentation" type="text/html"> <title>Using REST - Google Translate API — Google Developers</title> <style type="text/css"> body { font-family: Arial,sans-serif;co...
HTML
SampleHTML/Google Translate/google-translate Detect Language.html
abilng/sMash.it
apache-2.0
6,362
144
codeparrot/github-code
b533d578003dbdfc9bfae7c81fc292d85d18e3db3b99897829fbe3d835a292c5
package com.orionplatform.math.geometry.shape.linesegment; import com.orionplatform.core.abstraction.OrionService; import com.orionplatform.core.tuple.Pair; import com.orionplatform.math.geometry.RelativePosition; import com.orionplatform.math.geometry.point.Point; import com.orionplatform.math.geometry.shape.line.Lin...
Java
orion_math/orion_math_core/src/main/java/com/orionplatform/math/geometry/shape/linesegment/LineSegmentService.java
orioncode/orionplatform
apache-2.0
6,500
186
codeparrot/github-code
83f687339b6a6b24bd0ed3c362786390b5e754518b58e476536b5b8277dd6f0f
package com.mateuszkoslacz.moviper.base.view.activity.autoinject.passive; import android.support.annotation.NonNull; import com.hannesdorfmann.mosby.mvp.MvpView; import com.mateuszkoslacz.moviper.base.view.activity.autoinject.ViperAiActivity; import com.mateuszkoslacz.moviper.iface.presenter.ViperPresenter; import co...
Java
moviper-passive-views/src/main/java/com/mateuszkoslacz/moviper/base/view/activity/autoinject/passive/ViperAiPassiveActivity.java
mkoslacz/Moviper
apache-2.0
1,261
35
codeparrot/github-code
6b412620e62106a5f0a624437357f2c2fb4958546ca592533b3bbd6c3cbeda65
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C
aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResult.h
ambasta/aws-sdk-cpp
apache-2.0
2,447
86
codeparrot/github-code
e6c6fb2be0bd64d7a0883ef38f384427a6501b0c0cd4bb0311a149c973d250cc
// Copyright (C) 2012 The Libphonenumber 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 o...
C++
cpp/src/phonenumbers/shortnumberutil.cc
HBehrens/libphonenumber
apache-2.0
2,917
79
codeparrot/github-code
b95bcb6a84ad075c66b2915323efd3f5f0fc428ea80f10e593583d1c891afcd0
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace DemoApp { /// <summary> /// A simple demo of how to communicate with a page using /// ObjectForScripting property of csEXWB control ...
C#
DemoApp/frmWindowExternal.cs
prog76/csexwb2
apache-2.0
2,796
67
codeparrot/github-code
96a81bcfb456089c28997d5b087a8eb49335c71dd47f38b3e3845a09c148bea6
/* * 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-chime/src/main/java/com/amazonaws/services/chime/model/RetentionSettings.java
aws/aws-sdk-java
apache-2.0
6,516
192
codeparrot/github-code
36af15d79cbf656a716100950d72f9c9b8be44f56d517fe22106384f2e06b83c
/* * Copyright 2012-2018 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jsonb/JsonbAutoConfigurationTests.java
kdvolder/spring-boot
apache-2.0
1,682
62
codeparrot/github-code
e86f66433ae5ac3e34ef5197f15bedd28035afbedb49d20988383c824d3b025b
/** * 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 ...
Scala
core/src/test/scala/unit/kafka/server/RequestQuotaTest.scala
Chasego/kafka
apache-2.0
35,450
793
codeparrot/github-code
a6aff6a20e0ea35f9a4b5578c97f43b68488843efb9f78b43bf149195610bab6
package cn.songm.common.beans; import cn.songm.common.redis.annotations.HashField; import cn.songm.common.utils.StringUtils; /** * 实体默认适配类 * * @author zhangsong * */ public class EntityAdapter extends Entity { private static final long serialVersionUID = -3689797880160694822L; /** 系统编号(一般情况),在没有业务ID编号的情况下,这...
Java
songm-common-beans/src/main/java/cn/songm/common/beans/EntityAdapter.java
songzigw/songm-common
apache-2.0
1,415
68
codeparrot/github-code
10aad595f4a519504fa2419bc98c2e5fa7da5758015a6374553fa51519ce333c
using System; using System.Data; using System.Text; using System.Data.SqlClient; using Maticsoft.DBUtility;//ÇëÏÈÌí¼ÓÒýÓà namespace TSM.DAL { /// <summary> /// Êý¾Ý·ÃÎÊÀàCK_Product¡£ /// </summary> public class CK_Product { public CK_Product() {} #region ³ÉÔ±·½·¨ /// <summary> /// µÃµ½...
C#
DAL/CK_Product.cs
kamiba/FineUIDemo
apache-2.0
6,745
214
codeparrot/github-code
b35535ad56ed02b808580550705751b3a1e714e462a511b49a6e4b4d1e611104
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C++
aws-cpp-sdk-signer/source/model/UntagResourceResult.cpp
cedral/aws-sdk-cpp
apache-2.0
1,273
45
codeparrot/github-code
94f0adf79c6c3b12db684c0cf22a91c67a44b58c9543a574a6d44f9f61144764
<?php /* TopxiaWebBundle:Default:navigation-li.html.twig */ class __TwigTemplate_873a8076fdab34275393252592e8237d2d06b616c04fe85cb8ae5ba49aa1e2d3 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->block...
PHP
app/cache/prod/Jianmo/twig/91/91e008f9f75dabe8e29b381730aaf44b5731be591554de2a26f46a2baf89a24b.php
18826252059/im
apache-2.0
3,890
100
codeparrot/github-code
5c4a6022744d9ac506453bd1742c560a9c23d8467aeb8f8cebb997583d1c8760
package gitlab import ( "fmt" "net/http" "net/url" "path" "regexp" "strconv" "github.com/openshift/oauth-server/pkg/oauth/external" "github.com/openshift/oauth-server/pkg/oauth/external/openid" ) const ( // https://gitlab.com/help/integration/openid_connect_provider.md // Uses GitLab OIDC, requires GitLab ...
GO
staging/src/github.com/openshift/oauth-server/pkg/oauth/external/gitlab/gitlab_oidc.go
anpingli/origin
apache-2.0
3,488
98
codeparrot/github-code
8d02ded84769b03bc0290427b4afe1b50cbe3590116ac480ec6a783896fedc47
import React from 'react' import renderer from 'react-test-renderer' import { StyleRoot } from '@instacart/radium' import { mount } from 'enzyme' import { spy } from 'sinon' import Column from '../Column' it('renders Column correctly', () => { const tree = renderer .create( <StyleRoot> <div> ...
JavaScript
src/components/Grid/__tests__/Column.spec.js
instacart/Snacks
apache-2.0
3,001
120
codeparrot/github-code
cfbc9f0d83e3ac570cfd0f560110b4d34ec30d052ba5954375b904cdb19eed3f
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QLineEdit> #include <QString> #include <QGraphicsView> #include <QtCore> #include <QtGui> #include <QCheckBox> #include <plotspec.h> #include <plotsequ.h> #include <rvcurve.h> #include <template.h> #include <binarytool.h> #include <telluric.h> ...
C
CroCo/mainwindow.h
DPSablowski/croco
apache-2.0
3,789
195
codeparrot/github-code
a9f50220720e36a224cf49256c3bed26c9b7dbe21878431d792547589d68a173
package org.zstack.sdk; import java.util.HashMap; import java.util.Map; public class UpdateQuotaAction extends AbstractAction { private static final HashMap<String, Parameter> parameterMap = new HashMap<>(); public static class Result { public ErrorCode error; public UpdateQuotaResult value;...
Java
sdk/src/main/java/org/zstack/sdk/UpdateQuotaAction.java
hhjuliet/zstack
apache-2.0
2,750
94
codeparrot/github-code
33bedb9553a4ee71f634584cee1e65d0b25e47ef8da868b2dec9429a20ca1f3e
/* * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
spring-aop/src/main/java/org/springframework/aop/framework/ProxyProcessorSupport.java
shivpun/spring-framework
apache-2.0
5,307
146
codeparrot/github-code
17f99b03acbc128a4a5fe037b5c7aff45104df86d81dd844cde1e344815b1e7e
/** * Copyright 2013-2014 David Rusek <dave dot rusek at gmail dot com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
Java
barge-rpc-proto/src/main/java/org/robotninjas/barge/ProtoUtils.java
mgodave/barge
apache-2.0
4,327
118
codeparrot/github-code
5ec514377c5426e1dc41dba5a6eb80d638e16f308d806e337bef7172ef58f8f8
package ru.job4j.threads; import org.junit.Test; import static org.junit.Assert.*; public class ThreadSafeArrayListTest { @Test public void when() { ThreadSafeArrayList<Integer> list = new ThreadSafeArrayList(5); Thread thread1 = new Thread(new Runnable() { @Override ...
Java
chapter_004/src/test/java/ru/job4j/threads/ThreadSafeArrayListTest.java
Mrsananabos/ashveytser
apache-2.0
1,001
44
codeparrot/github-code
93a5b20af3099bb512089ce20a77441cab0de5bfce771cfe7feeb00bc649ec6f
package jp.mydns.sys1yagi.android.greendaosample; import java.util.List; import java.util.Locale; import jp.mydns.sys1yagi.android.greendaosample.TodoDao.Properties; import jp.mydns.sys1yagi.android.greendaosample.history.HistoryFragment; import jp.mydns.sys1yagi.android.greendaosample.todo.TodoDaoOpenHelper; import ...
Java
05-01-greenDao/GreenDaoSample/src/jp/mydns/sys1yagi/android/greendaosample/GreenDaoSampleActivity.java
android-opensource-library-56/android-opensource-library-56
apache-2.0
5,391
166
codeparrot/github-code
14371215998f8b968809a1ab5f77a6a3c0452a306b723d9cb27cd1ba847945e0
import * as ko from "knockout"; import { _ } from "../languagemanager"; import { allBacksClassesFourCards, allBacksClassesTwoCards, cardValue as getCardValue, } from "./cardsHelper"; import { TableMonitor } from "./tablemonitor"; import { TableView } from "./tableview"; export interface PlayerWinInformati...
TypeScript
js/table/handhistory.ts
online-poker/poker-html-client
apache-2.0
12,719
334
codeparrot/github-code
37977255da6c46ba7290976e91ca49c1df0c8d3c03e1658cd292b6250c2648f2
/* * 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-securityhub/src/main/java/com/amazonaws/services/securityhub/model/DeleteInvitationsRequest.java
aws/aws-sdk-java
apache-2.0
4,896
155
codeparrot/github-code
52c3b0246cfee8e201911057705c33c573d815f90a9c945d0b5354cf2b7c0e3a
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net; using System.Net.Http; using System.Reflection; using System.Web.Http; using System.Web.UI; using CDMservers.Models; using Common; using log4net; using Newtonsoft.Json; namespace CDMservers.C...
C#
CDMservers/CDMservers/Controllers/ArchiveController.cs
hedulewei/cdm
apache-2.0
83,932
1,809
codeparrot/github-code
77913df74ac0537f9414e92b08055c752b00a5c7ddbd69b0ce6356f6fedf6b6c
/* * 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-serverlessapplicationrepository/src/main/java/com/amazonaws/services/serverlessapplicationrepository/model/transform/CreateCloudFormationTemplateRequestProtocolMarshaller.java
aws/aws-sdk-java
apache-2.0
2,926
65
codeparrot/github-code
8682fded81a99ae1fd25cd1a0a31c25134b15b5717abf3c1d1b19f1f8dcf3dab
/** * Copyright (C) 2014 Xillio (support@xillio.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 requir...
Java
plugin-excel/src/main/java/nl/xillio/xill/plugins/excel/constructs/LoadSheetConstruct.java
XillioQA/xill-platform-3.4
apache-2.0
3,290
77
codeparrot/github-code
a305431ede6e0418d4be1c6613866f90ea7948dfa9aef40197bab02d6cda4b85
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/timestream-query/TimestreamQuery_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/timestream-query/model/Type.h> #include <utility> namespace Aws {...
C
aws-cpp-sdk-timestream-query/include/aws/timestream-query/model/SelectColumn.h
aws/aws-sdk-cpp
apache-2.0
6,457
225
codeparrot/github-code
073276b1288a540016d047d7e2a646ff9ae52ee61273f0eab0aed8146985e726
<!DOCTYPE html> <!--[if lt IE 10]> <html class="ie-lt-10"> <![endif]--> <!--[if gt IE 9]><!--> <html> <!--<![endif]--> <head> <meta charset="utf-8"> <title>craper</title> <meta name="description" content=""> <meta name="author" content=""> <!-- Stylesheets --> <link href="css/fonts/font-awesome.css" rel="stylesheet"> ...
HTML
app/blog-archive.html
mikep175/map
apache-2.0
23,593
366
codeparrot/github-code
4c05d46f53233add058e115ad8e8d9f87691a8f629485e9cb2df1cfc159fd5de
/* * 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-elasticloadbalancing/src/main/java/com/amazonaws/services/elasticloadbalancing/model/AttachLoadBalancerToSubnetsRequest.java
aws/aws-sdk-java
apache-2.0
6,851
214
codeparrot/github-code
13b7c7206590af06d6933e441133d02fb6b7ace9de90563e64ba64976fcaa611
# -*- encoding: utf-8 -*- # # Copyright © 2016-2018 Red Hat, Inc. # Copyright © 2014-2015 eNovance # # 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/LICE...
Python
gnocchi/storage/__init__.py
gnocchixyz/gnocchi
apache-2.0
29,946
695
codeparrot/github-code
acef1bcd8cf0cc491ff7b32ca1f3c30e4a81afe8c7c4299491b9e25cc6116b0d
package com.kmcontrol.controller; import com.kmcontrol.dao.AtendimentoDao; import com.kmcontrol.dao.UsuarioDao; import com.kmcontrol.entities.Atendimento; import com.kmcontrol.entities.Usuario; import com.kmcontrol.util.SessionUtil; import java.util.Calendar; import java.util.Date; import java.util.List; imp...
Java
KMControl/src/java/com/kmcontrol/controller/AtendimentoTecnico.java
LipeDuoli/KMControl
apache-2.0
5,054
136
codeparrot/github-code
3c8c353ff0ac9f7a58e7749d4355e324911e7e02c93fe3e29401ee9cf4deaccd
/* * Copyright 2014-2019 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-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/transform/DescribeMaintenanceWindowExecutionsResultJsonUnmarshaller.java
jentfoo/aws-sdk-java
apache-2.0
3,505
81
codeparrot/github-code
7119a20d274ad25c41cd9df1e5d2269cff5e8001d7eadd01188f12763d89dfb4
/****************************************************************************** * * Project: BNA Translator * Purpose: Implements OGRBNADriver. * Author: Even Rouault, even dot rouault at mines dash paris dot org * ****************************************************************************** * Copyright (c)...
C++
deps/libgdal/gdal/ogr/ogrsf_frmts/bna/ogrbnadriver.cpp
naturalatlas/node-gdal
apache-2.0
6,282
157
codeparrot/github-code
93d846b32e74e73cae4d9e724c5eb893cf1477d698064d5253bfe7856ed131ac
#region Copyright (c) 2014-2016 DevCloud Solutions /* {********************************************************************************} { } { Copyright (c) 2014-2016 DevCloud Solutions } { ...
C#
XAF Bootstrap/DatabaseUpdate/Updater.cs
Terricks/XAFBootstrap
apache-2.0
11,661
216
codeparrot/github-code
09d6412e4aff54b7681b9a53216885a2202cdf8880a1ff03e4a9af1fe846c18e
package tech.tablesaw.conversion; import com.google.common.base.Preconditions; import java.util.List; import tech.tablesaw.api.NumericColumn; import tech.tablesaw.table.Relation; /** * A tool for converting a Table or other Relation to a two-dimensional array of numeric primitives. */ public class TableConverter { ...
Java
core/src/main/java/tech/tablesaw/conversion/TableConverter.java
jtablesaw/tablesaw
apache-2.0
2,719
94
codeparrot/github-code
9e92a0c4ec104432cfa26803d8aa37b3c5be9a2741273842a55d0f0e14cbd68c
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Cats.Models.Hubs.Repository; using System.ComponentModel.DataAnnotations; using Cats.Models.Hubs.ViewModels.Common; namespace Cats.Models.Hubs.ViewModels.Report { /// <summary> /// view for StockBalance view and Wrappi...
C#
Models/Cats.Models.Hub/ViewModels/Report/Filters/StockBalanceViewModel.cs
ndrmc/cats
apache-2.0
1,743
48
codeparrot/github-code
f4297789b7a870ed644c3f1703f30b7fc65db99c2bd464cd02b391cbce68cd5d
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
src/com/replica/replicaisland/Grid.java
JoesCat/ReplicaIsland
apache-2.0
12,136
369
codeparrot/github-code
80eed59045a5cbb7d0a163849c93d951ab740cee1e2d6d8236bc90e87c5aa0d3
# # Copyright 2018 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
Perl
apps/vtom/restapi/mode/jobstatus.pm
wilfriedcomte/centreon-plugins
apache-2.0
16,189
407
codeparrot/github-code
4892f2bc0952b94b386bb61c6490e9c46119197fbf2f0a8d41b5cd3eed7de6af
/* ******************************************************************************* * L O G I T A G S * Software and Programming * Dr. Wolfgang Winter * Germany * * All rights reserved * ******************************************************************************* */ package com.logitags.cibet.sen...
Java
cibet-integrationtest/src/test/java/com/logitags/cibet/sensor/pojo/FactoryInvokerTest.java
Wolfgang-Winter/cibet
apache-2.0
6,109
155
codeparrot/github-code
26f4fd875a213a7f2796ba209aa608e217686b2a1fbc03cfdb401ded23aa367c
using AspNetIdentity_U2F.DAL; using IdentitySample.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using U2F; using U2F.Server; using U2F.Server.Data; ...
C#
AspNetIdentity_U2F/Controllers/U2FController.cs
matsprea/AspNetIdentity_U2F
apache-2.0
7,148
258
codeparrot/github-code
c4c3ab4d6703a1bbe66b1751977dc38c8ffaf91ce4a9641e6e3cda767a42685c
"""VeSync integration.""" import logging from pyvesync import VeSync from homeassistant.const import CONF_PASSWORD, CONF_USERNAME, Platform from homeassistant.helpers import config_validation as cv from homeassistant.helpers.dispatcher import async_dispatcher_send from .common import async_process_devices from .cons...
Python
homeassistant/components/vesync/__init__.py
home-assistant/home-assistant
apache-2.0
4,023
125
codeparrot/github-code
a332af78c8712e9a2970dd39d582f106ca3cb65a0a4e3fc53eb5de370a43f596
using System; using System.IO; using System.Linq; using System.Xml.Schema; using log4net; using NewRelic.AgentConfiguration.Core.Parts; namespace NewRelic.AgentConfiguration.Core.Processors { public class SchemaProcessor { private static readonly ILog log = LogManager.GetLogger(typeof(SchemaProcessor)...
C#
Core/Processors/SchemaProcessor.cs
jaffinito/dotnet_configuration
apache-2.0
11,165
283
codeparrot/github-code
a59ef76714d285cefed626437f004962986cce7de4f4e89da94f3acedf6c4232
/* * Copyright 2013 Akiyoshi Sugiki, University of Tsukuba * * 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...
Scala
src/kumoi/core/actors/udp/DatagramProxy.scala
axi-sugiki/kumoi
apache-2.0
1,778
60
codeparrot/github-code
36276777dda48cacd5b778f18d89b6a7b04bf6872309bd0eaf580e272fd4aedf
package net.onrc.onos.api.flowmanager; import java.util.List; import net.onrc.onos.api.batchoperation.BatchOperation; import net.onrc.onos.api.batchoperation.BatchOperationEntry; /** * A list of flow operations. */ public class FlowBatchOperation extends BatchOperation<BatchOperationEntry<FlowBatchOperatio...
Java
src/main/java/net/onrc/onos/api/flowmanager/FlowBatchOperation.java
opennetworkinglab/spring-open
apache-2.0
1,872
70
codeparrot/github-code
9558f1ced4211ca7cc3e7e2192edc058f927e5e14cc087bcb63d12ec8af5930a
# Copyright 2018 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 writing, s...
Python
response_model/python/ASM/su_fit_nov/fit_fine.py
googlearchive/rgc-models
apache-2.0
6,622
192
codeparrot/github-code
a02a5f312bbee1e8d4bc2f080b448d670d210469e6db22fa840cba23173634a8
from mod_base import* class NewPass(Command): """Change your password. Usage: newpass oldpassword newpassword newpassword """ def run(self, win, user, data, caller=None): args = Args(data) if len(args) < 3: win.Send("Usage: newpass oldpassword newpassword newpassword") ...
Python
modules/newpass.py
richrd/bx
apache-2.0
939
34
codeparrot/github-code
a0fe1d6a77d8e2c5b373f5a1c96efe549d9502cf289eed813ce5020333b8850f
/** * Code contributed to the Learning Layers project * http://www.learning-layers.eu * Development is partly funded by the FP7 Programme of the European Commission under * Grant Agreement FP7-ICT-318209. * Copyright (c) 2014, Graz University of Technology - KTI (Knowledge Technologies Institute). * For a list of contr...
Java
servs/file/file.datatype/src/main/java/at/tugraz/sss/servs/file/datatype/SSFile.java
learning-layers/SocialSemanticServer
apache-2.0
3,696
133
codeparrot/github-code
b98bffac216a06bb9faff69681c3539ceffc3a3fdd75cdda41c8a91d4574a529
/* * 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-accumulo/src/main/java/com/facebook/presto/accumulo/model/IndexColumn.java
bloomberg/presto
apache-2.0
1,903
75
codeparrot/github-code
94bfbb7e947b9d3a8d7ac7235b11595c56be10e973bb3e811beeea2a80acd0da
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
kie-wb-common-services/kie-wb-common-services-backend/src/main/java/org/kie/workbench/common/services/backend/project/ProjectSaver.java
dgutierr/kie-wb-common
apache-2.0
10,255
233
codeparrot/github-code
c92725f6670edde3bcb6a87d370a9e965a1f3a8e41be52540f00cf441d807070
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
Java
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/impl/data/formatters/BinaryFormatterBase64.java
ruspl-afed/dbeaver
apache-2.0
1,364
52
codeparrot/github-code
d711a3d757e3021d7600afb3af3505bda906b1f6fc6897fa946101a260bacc83
// 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 agreed to in ...
GO
porch/repository/pkg/cache/draft.go
GoogleContainerTools/kpt
apache-2.0
1,054
38
codeparrot/github-code
93829be978fbe9e2e59e7929e004e6baee06d8c5611d6a9d2ea33a104fc3f6b4
package com.gank.mark; import android.content.Context; import android.content.Intent; import android.util.Log; import com.gank.adapter.BookMarksAdapter; import com.gank.app.App; import com.gank.bean.BaseBean; import com.gank.bean.BeanTeype; import com.gank.bean.FrontNews; import com.gank.bean.GankNews; import com.gan...
Java
app/src/main/java/com/gank/mark/BookmarksPresenter.java
yeshuwei/Gank
apache-2.0
5,802
159
codeparrot/github-code
12716445a6aa4fb3d4148b96ab9d8c3bc883487c00b2e627ed0ac87acb139933
%matplotlib inline import itertools import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl import scipy import scipy.spatial from scipy import linalg from sklearn.cluster import KMeans from sklearn import mixture from scipy.io import arff from sklearn import datasets from sklearn import svm from s...
Python
Lecture18/notebooks/Lecture18.py
kephale/TuftsCOMP135_Spring2016
apache-2.0
9,270
351
codeparrot/github-code
f4118bbb048c1b3f7ef8ab1772abbbfa917aba17eba5ddf6ec8350c24baf534e
/* * Copyright 2004-2013 the Seasar Foundation and the Others. * * 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 ...
Java
src/main/java/org/docksidestage/mysql/dbflute/bsentity/BsWhiteSplitMultipleFkBase.java
dbflute-test/dbflute-test-dbms-mysql
apache-2.0
14,869
336
codeparrot/github-code
06efedcbda3e9de1f7da73cd335eeafe38a1793ee8549e3a443e5d49a4a74bfd
/** * 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...
Java
server/dropwizard/src/main/java/org/hyperledger/dropwizard/activemq/JMSConnectedHyperLedger.java
DigitalAssetCom/hlp-candidate
apache-2.0
2,461
86
codeparrot/github-code
6a29dea115fc439f4593534d6433657e1e1ab5aff3997f12e4e4a38ebeef62b9
package net.swisstech.swissarmyknife.lang; import org.testng.annotations.Test; import static org.testng.Assert.assertEquals; public class BoundedLongTest { @Test public void test() { assertEquals(new BoundedLong(-20, 20).get(), 0); assertEquals(new BoundedLong(10, 20).get(), 10); as...
Java
src/test/java/net/swisstech/swissarmyknife/lang/BoundedLongTest.java
stackmagic/swissarmyknife
apache-2.0
1,250
45
codeparrot/github-code
e7ca1d74b26977eae51bd40f33d7649400e68f1213d91c72db63d3bb3284ecbd
/** * 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
common/src/main/java/org/apache/sqoop/submission/counter/Counters.java
vybs/sqoop-on-spark
apache-2.0
1,661
57
codeparrot/github-code
658a7e0ce547d380b9946c12fbd635fcb5edf4707cee442441a3a0605950fd46
<!DOCTYPE html > <html> <head> <title>BSLocInfo - net.liftmodules.FoBoBsAPI.BSLocInfo</title> <meta name="description" content="BSLocInfo - net.liftmodules.FoBoBsAPI.BSLocInfo" /> <meta name="keywords" content="BSLocInfo net.liftmodules.FoBoBsAPI.BSLocInfo" /> <meta http-...
HTML
fobo-lift-template-demo/src/main/webapp/foboapi/older/v1.6/net/liftmodules/FoBoBsAPI/package$$BSLocInfo$.html
karma4u101/FoBo-Demo
apache-2.0
34,771
631
codeparrot/github-code
89909a57e9b13d3995c3c3f1d1aecd8b5a3cb25202c0491fbc12eca2d22ec0b7
/* Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
C++
paddle/fluid/operators/math/matrix_solve.cc
luotao1/Paddle
apache-2.0
2,811
79
codeparrot/github-code
3678a21ca834d69f5a367449fea74862a2e6181faaacc0c52c03c57f0074b81d
var org_scn_community_databound = org_scn_community_databound || {}; org_scn_community_databound.centralDataStorage = org_scn_community_databound.centralDataStorage || {}; (function(){ var ResultSetInfo = { /*AUTO PROPERTIES - START*/ metadata: { properties: { "DCentralProvisioning": {type:...
JavaScript
src/org.scn.community.databound/res/ResultSetInfo/ResultSetInfo.js
bugodelnya/scn-sdk-package
apache-2.0
4,878
178
codeparrot/github-code
49c82a0269d2d70f1a252220b364bf60c2358eb112a5c20972074085749f08d5
<html> <head> <title>Peyman Mortazavi</title> <link rel="stylesheet" href="index.css"> </head> <body> <div class="main"> <img src="resources/background.jpg"/> <div class="links"> <a href="https://github.com/peymanmortazavi"> ...
HTML
index.html
peymanmortazavi/peymanmo.com
apache-2.0
10,368
176
codeparrot/github-code