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
1c93a893f87fd39caf9b5b71d816611bd46217b91aaafe76653ae1d2446b4505
package org.judal.examples.java.model.array; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.GregorianCalendar; import javax.jdo.JDOException; import org.judal.storage.DataSource; import org.judal.storage.EngineFactory; import org.judal.stora...
Java
aexample/src/main/java/org/judal/examples/java/model/array/Student.java
sergiomt/judal
apache-2.0
2,209
89
codeparrot/github-code
d27aa3fa6ff17710e927e4886c8c140dae038dcded3c1d0b49fa07305299480c
/* * Copyright 2011-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 "lice...
Java
aws-java-sdk-core/src/test/java/com/amazonaws/http/apache/client/impl/ApacheConnectionManagerFactoryTest.java
dagnir/aws-sdk-java
apache-2.0
1,653
42
codeparrot/github-code
b711e449d49923a572e95d1b4f13d5a22a134c6270709dfcd00b3da923cfc265
package ca.qc.bergeron.marcantoine.crammeur.android.repository.crud.sqlite; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import ca.qc.bergeron.marcantoine.crammeur.librairy.a...
Java
crammeurAndroid/src/main/java/ca/qc/bergeron/marcantoine/crammeur/android/repository/crud/sqlite/SQLiteClient.java
crammeur/MyInvoices
apache-2.0
3,537
90
codeparrot/github-code
699cb5c10a15e41fe5165127a2b9d3f5607e8b7b16d5e7a40dd8ca0bce491c9c
/* -------------------------------------------------------------------------- * * Simbody(tm): SimTKmath * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating from * ...
C++
SimTKmath/Geometry/src/ContactTracker.cpp
elen4/simbody
apache-2.0
64,663
1,480
codeparrot/github-code
a9b3b8336bc54bf400592cef5f1b660cfa0be4e43dc5d6a49320efc9871ecc8d
/* * Copyright 2015 - 2021 TU Dortmund * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Java
backend/src/main/java/de/learnlib/alex/learning/services/BaseUrlManager.java
LearnLib/alex
apache-2.0
3,225
90
codeparrot/github-code
6abe83a3078cb2e6b31d4902ef3b5a082751bb504de44a094bf24bf10bef27a1
/* * Copyright 2015 Cognitive Medical Systems, Inc (http://www.cognitivemedciine.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-...
Java
src/main/java/org/socraticgrid/hl7/services/orders/model/types/orderitems/MedicationOrderItem.java
SocraticGrid/OMS-API
apache-2.0
7,408
401
codeparrot/github-code
4193c9c47b876717bfe1dae188ddd60b5c5df86cb9261f5bfd0e21cabce91c08
/*jshint camelcase: false*/ module.exports = (grunt) => { 'use strict'; // load all grunt tasks require('time-grunt')(grunt); require('load-grunt-tasks')(grunt); // configurable paths const config = { app: 'app', dist: 'dist', distMac32: 'dist/MacOS32', distMac64: 'dist/MacOS64', dist...
JavaScript
Gruntfile.js
reduxdj/node-webkit-redux-custombuilder
apache-2.0
12,611
476
codeparrot/github-code
6269d23b7d179266ec6df88091d0a73bd657bd0bcc48f03a652ac30cb3e78f3c
/** * Copyright 2006-2015 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 * * Unle...
Java
src/main/java/org/mybatis/generator/codegen/ibatis2/dao/elements/UpdateByExampleWithoutBLOBsMethodGenerator.java
li24361/mybatis-generator-core
apache-2.0
4,329
112
codeparrot/github-code
3c5ad1a10cb4239b52d3261a25c094a6816684764282c28727c73c54f107b1b4
package jp.teraparser.transition; import java.util.Arrays; /** * Resizable-array implementation of Deque which works like java.util.ArrayDeque * * jp.teraparser.util * * @author Hiroki Teranishi */ public class Stack implements Cloneable { private static final int MIN_INITIAL_CAPACITY = 8; private int[...
Java
src/jp/teraparser/transition/Stack.java
chantera/teraparser
apache-2.0
3,381
124
codeparrot/github-code
c39cee48bf6e64c986ecdb58d4cd7a0a7abb331a8c4bdd133e9e0be5de01f519
require File.join(File.dirname(__FILE__), '..', 'cloudstack_rest') Puppet::Type.type(:cloudstack_network_provider).provide :rest, :parent => Puppet::Provider::CloudstackRest do desc "REST provider for Cloudstack Network Service Provider" mk_resource_methods def flush if @property_flush[:ensure] == ...
Ruby
lib/puppet/provider/cloudstack_network_provider/rest.rb
Lavaburn/puppet-cloudstack
apache-2.0
4,563
155
codeparrot/github-code
e3fda0ea12dd0bd0a741baf713d641668fde1b8c476ed6a03bfcfb6abc2d7620
/* Copyright 2020 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/switchmanager/SwitchFlowUtils.java
telstra/open-kilda
apache-2.0
9,966
271
codeparrot/github-code
7285b86994148d5e36eeb88cece03c15d008a0ebb5afa42eb351f01991c3a13a
package com.rasterfoundry.common.ast import cats.implicits._ import geotrellis.raster._ import geotrellis.raster.mapalgebra.focal._ import geotrellis.vector.MultiPolygon import java.util.UUID /** The ur-type for a recursive representation of MapAlgebra operations */ sealed trait MapAlgebraAST extends Product with Se...
Scala
app-backend/common/src/main/scala/ast/MapAlgebraAST.scala
raster-foundry/raster-foundry
apache-2.0
24,012
716
codeparrot/github-code
c6083e6135041954db5185bd41979ad3805537d99a7cff340c3fc5d61e7fe4e5
package ruboweb.pushetta.back.model; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import org.slf4j.Logger; import org.slf4j.LoggerFacto...
Java
src/main/java/ruboweb/pushetta/back/model/User.java
ruboweb/pushetta
apache-2.0
2,054
90
codeparrot/github-code
f9496b584bf28c667569dbb988f3a64b705ed895bff9a316f449f6a1fcf7cb12
// This file is part of MLDB. Copyright 2015 mldb.ai inc. All rights reserved. /** git.cc Jeremy Barnes, 14 November 2015 Copyright (c) mldb.ai inc. All rights reserved. */ #include "mldb/core/procedure.h" #include "mldb/core/dataset.h" #include "mldb/base/per_thread_accumulator.h" #include "mldb/types/url.h...
C++
plugins/git/git.cc
mldbai/mldb
apache-2.0
17,692
498
codeparrot/github-code
6859a02c9972aa365df864d778aa64501d0acbf1650e494322f5f07d60f45994
package uk.co.listpoint.context; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for Context6Type. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pr...
Java
src/main/java/uk/co/listpoint/context/Context6Type.java
davidcarboni/listpoint-ws
apache-2.0
1,238
52
codeparrot/github-code
466141675a47a9bb52cfd3bcf9dcf11401ac1e178528987d108b5733507a29b4
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C
tensorflow/compiler/xla/array3d.h
frreiss/tensorflow-fred
apache-2.0
3,065
81
codeparrot/github-code
01e1a69ff9ab9b30916e1bcc512c37e2ca0d37f0f7c2e513b1d30507fa602fbc
// Copyright 2015,2016,2017,2018,2019,2020 Commonwealth Bank of Australia // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless req...
Scala
grimlock-core/src/test/scala/commbank/grimlock/matrix/TestMatrixGather.scala
CommBank/grimlock
apache-2.0
16,927
487
codeparrot/github-code
5fa3d29846b71862d1821818a09ae364216173aa14c4393c063c9a382ec553f9
/* * 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
manager/src/src/main/java/redis/common/container/RedisCommandsContainerBuilder.java
eltitopera/TFM
apache-2.0
6,212
121
codeparrot/github-code
d100610638259b1b1caec84cf7c9bb5aef1ebd7c1b84fa0e4de7d29ae9550cee
package fundamental.games.metropolis.connection.bluetooth; import android.bluetooth.BluetoothSocket; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.UUID; import fundamental.games.metropolis.connection.global.MessagesQueue; import fundamental.games.m...
Java
src/main/java/fundamental/games/metropolis/connection/bluetooth/BluetoothServerConnection.java
Ragnarokma/metropolis
apache-2.0
1,850
76
codeparrot/github-code
f2fed7c55d4dbe9decae854fa2f806c9de13dfa8ec82e4c6120c0f70b1c553d1
<html><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Variables and Types</title></head> <body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000"> <font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="5">Variables and Types</font></b></p> <p><b>Va...
HTML
target_dir/documentation/reference/variables.html
PureBasicCN/PureBasicPreference
apache-2.0
30,850
625
codeparrot/github-code
3972178141e3930d529c9fd1afa12a27214d6b825207adec0b48d085c5792f9d
package bookshop2.client.paymentService; import java.util.List; import org.aries.message.Message; import org.aries.message.MessageInterceptor; import org.aries.util.ExceptionUtil; import bookshop2.Payment; @SuppressWarnings("serial") public class PaymentServiceInterceptor extends MessageInterceptor<PaymentService>...
Java
bookshop2/bookshop2-client/src/main/java/bookshop2/client/paymentService/PaymentServiceInterceptor.java
tfisher1226/ARIES
apache-2.0
3,276
118
codeparrot/github-code
2f76d01c3d83edfbf89bfe4550515057c49c3e294b510fccf3fcf3357260d733
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Statistics of iobj in UD_Chines...
HTML
treebanks/zh_gsd/zh_gsd-dep-iobj.html
UniversalDependencies/universaldependencies.github.io
apache-2.0
10,297
245
codeparrot/github-code
933ce66f93efc48b88bc55e8dcf6aa8bb3eb6fec6ca7a8c8c9bf937b3d1ff07f
/* * 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-redshift/src/main/java/com/amazonaws/services/redshift/model/DeleteAuthenticationProfileRequest.java
aws/aws-sdk-java
apache-2.0
4,104
125
codeparrot/github-code
84219953dfb8908d27029dbf1d8f96fa43c2c115cfe3f7dbf196d110e42b2bbc
using Microsoft.AspNetCore.Antiforgery; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Newtonsoft.Json....
C#
tracktor.app/Controllers/AccountController.cs
rohatsu/tracktor
apache-2.0
15,547
395
codeparrot/github-code
b4b0506e1d309aa2f67ba8e10d4bcc4825ff72a7d1901a5311aeb8d17d68028e
using System; using System.Runtime.CompilerServices; namespace De.Osthus.Ambeth.Mapping { public class CompositIdentityClassKey { private readonly Object entity; private readonly Type type; private int hash; public CompositIdentityClassKey(Object entity, Type type) { ...
C#
ambeth/Ambeth.Mapping/ambeth/mapping/CompositIdentityClassKey.cs
Dennis-Koch/ambeth
apache-2.0
1,038
43
codeparrot/github-code
13f6068aa40cf89eb1771dc4fd9a33a1bf4745dab3dd25ac2ff0c1891feb8371
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
Java
src/codeu/chat/client/core/Context.java
crepric/codeu_mirrored_test_1
apache-2.0
1,510
51
codeparrot/github-code
0bf96fd67f7d5bc210bee4394ccdbebe4c68b7216f1c09ebe1603f4842a4a573
/* * Copyright 2015-2017 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
Java
src/test/java/uk/ac/ebi/eva/runner/JobRestartForceTest.java
cyenyxe/eva-pipeline
apache-2.0
2,993
65
codeparrot/github-code
4844add26b7660277cbc14c78315ae017575f380242b9d05f1e0d3cf4de9a4dc
<!DOCTYPE html> <html devsite=""> <head> <meta name="project_path" value="/dotnet/_project.yaml"> <meta name="book_path" value="/dotnet/_book.yaml"> </head> <body> {% verbatim %} <div> <article data-uid="Google.Cloud.Asset.V1.BigQueryDestination"> <h1 class="page-title">Class BigQ...
HTML
testdata/goldens/dotnet/Google.Cloud.Asset.V1.BigQueryDestination.html
googleapis/doc-templates
apache-2.0
11,394
229
codeparrot/github-code
39b8aece8af80864f5b76c8fdc6863029cdd07a198181da69e3baebe5b5475c3
package functionalProgramming.ad_hoc import functionalProgramming.ad_hoc import org.scalatest.{FunSuite, WordSpecLike} /** * Created by yujieshui on 2017/1/7. */ class GameOfKylesTest extends WordSpecLike { import GameOfKyles._ implicit val f: (Seq[Pin]) => Set[ad_hoc.GameOfKyles.Pin] = seq2set _ "enum" ...
Scala
src/test/scala/functionalProgramming/ad_hoc/GameOfKylesTest.scala
1178615156/hackerrank
apache-2.0
3,662
141
codeparrot/github-code
5a0916edacaebbdb88194527184897b92b0f20b52834979d7f5661145129419f
package io.github.varvelworld.var.ioc.core.annotation.meta.factory; import io.github.varvelworld.var.ioc.core.annotation.Resource; import io.github.varvelworld.var.ioc.core.meta.ParamResourceMeta; import io.github.varvelworld.var.ioc.core.meta.factory.ParamResourceMetaFactory; import java.lang.reflect.Parameter; /**...
Java
src/main/java/io/github/varvelworld/var/ioc/core/annotation/meta/factory/AnnotationParamResourceMetaFactoryImpl.java
varvelworld/var-ioc
apache-2.0
1,193
38
codeparrot/github-code
6a35614fc54fd0c27d2a4d384d9b4453dfb74186f19c5832307a7c42d8272ab7
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); yo...
Java
components/camel-juel/src/test/java/org/apache/camel/processor/juel/SimulatorTest.java
everttigchelaar/camel-svn
apache-2.0
3,124
90
codeparrot/github-code
eba86ea3076cb51545de45f23021319cf9360d341949625114d1d6c48205cacc
package com.stf.bj.app.game.players; import java.util.Random; import com.stf.bj.app.game.bj.Spot; import com.stf.bj.app.game.server.Event; import com.stf.bj.app.game.server.EventType; import com.stf.bj.app.settings.AppSettings; import com.stf.bj.app.strategy.FullStrategy; public class RealisticBot extends BasicBot {...
Java
core/src/com/stf/bj/app/game/players/RealisticBot.java
Boxxy/Blackjack
apache-2.0
3,337
151
codeparrot/github-code
30ed568bc09f8e8a86857dd4771aad0538298a83723c7e8b2925a276c070a1ff
package me.marcosassuncao.servsim.job; import me.marcosassuncao.servsim.profile.RangeList; import com.google.common.base.MoreObjects; /** * {@link Reservation} represents a resource reservation request * made by a customer to reserve a given number of resources * from a provider. * * @see WorkUnit * @see Def...
Java
src/main/java/me/marcosassuncao/servsim/job/Reservation.java
assuncaomarcos/servsim
apache-2.0
2,646
94
codeparrot/github-code
5bf521eaed68571126d34e847d9009a7ac142914f56520c9cdf6b2f34f7e003f
(function() { 'use strict'; angular .module('sentryApp') .controller('TimeFrameController', TimeFrameController); TimeFrameController.$inject = ['$scope', '$state', 'TimeFrame', 'ParseLinks', 'AlertService', 'paginationConstants', 'pagingParams']; function TimeFrameController ($scope,...
JavaScript
src/main/webapp/app/entities/time-frame/time-frame.controller.js
quanticc/sentry
apache-2.0
1,937
60
codeparrot/github-code
6413fe7e2066190daa0be28d8c754f9e5591dc255eda80b04882de00c2a6849d
/* * Copyright 2010-2020 Alfresco Software, Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Java
activiti-core/activiti-spring/src/test/java/org/activiti/spring/test/servicetask/ServiceTaskSpringDelegationTest.java
Activiti/Activiti
apache-2.0
4,086
87
codeparrot/github-code
0cab8abfdb57d0317cfb3aee8170c385b2be0d323b70e5bee83685b04d7d3647
/** * <copyright> * </copyright> * * $Id$ */ package de.hub.clickwatch.specificmodels.brn.sys_info_systeminfo.impl; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import o...
Java
analysis/de.hub.clickwatch.specificmodels.brn/src/de/hub/clickwatch/specificmodels/brn/sys_info_systeminfo/impl/Cpu_usageImpl.java
markus1978/clickwatch
apache-2.0
14,073
427
codeparrot/github-code
e5321785be978bdca6b175543f946381921a64ba89a2776d2c944fb299506ca7
#include "pmlc/dialect/pxa/analysis/affine_expr.h" namespace mlir { AffineValueExpr::AffineValueExpr(AffineExpr expr, ValueRange operands) : expr(expr), operands(operands.begin(), operands.end()) {} AffineValueExpr::AffineValueExpr(MLIRContext *ctx, int64_t v) { expr = getAffineConstantExpr(v, ctx); } AffineV...
C++
pmlc/dialect/pxa/analysis/affine_expr.cc
plaidml/plaidml
apache-2.0
3,202
98
codeparrot/github-code
0c55ad3fadaab9106c7d981fb8483bf6059c7938099bccaf0f5ba0b8052a7d80
/** * * Copyright 2016 David Strawn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Java
src/main/java/strawn/longleaf/relay/util/RelayConfigLoader.java
strontian/longleaf-relay
apache-2.0
2,074
71
codeparrot/github-code
f3e88201d2c1d6161929b2a8f18e5d71cdbaf4fba8d94bb815a43425185970ac
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Java
core/src/test/java/org/apache/oozie/executor/jpa/TestCoordActionGetForStartJPAExecutor.java
terrancesnyder/oozie-hadoop2
apache-2.0
4,358
101
codeparrot/github-code
66f124ba2bfe79d52b2312e78b39073ef4fdb2ed53fd89a8166ba38f5d68f5e8
// Modifications copyright (C) 2017, Baidu.com, Inc. // Copyright 2017 The Apache Software Foundation // 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. ...
C++
be/src/util/palo_metrics.cpp
lingbin/palo
apache-2.0
7,788
159
codeparrot/github-code
d1f314bbe334457debe3c4d07364ca7f4f26fb05d2a6bbf98de44624db58ac5d
// Copyright 2015 Christina Teflioudi // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
C
mips/algos/PcaTree.h
uma-pi1/LEMP
apache-2.0
15,727
440
codeparrot/github-code
96bba6fdacacb93b9584b31780f2c20c7a318a1a40bbad155da7da550146fff1
package leetcode.reverse_linked_list_ii; import common.ListNode; public class Solution { public ListNode reverseBetween(ListNode head, int m, int n) { if(head == null) return null; ListNode curRight = head; for(int len = 0; len < n - m; len++){ curRight = curRight.next; } ListNode p...
Java
java/leetcode/reverse_linked_list_ii/Solution.java
ckclark/leetcode
apache-2.0
1,378
55
codeparrot/github-code
a0ae63e612bc86e09d006b26c053550ed364a10fcf2083db746ef98a96fac774
/* * 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
giraph-examples/src/main/java/org/apache/giraph/examples/io/formats/LongLongLongLongVertexInputFormat.java
KidEinstein/giraph
apache-2.0
4,147
117
codeparrot/github-code
e97430bedd4a4350e459037a1bfadf4144e47f2646a135fdaf774e9c33d72d08
/* * Copyright 2013 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writ...
Java
google-api-client/src/test/java/com/google/api/client/googleapis/testing/json/GoogleJsonResponseExceptionFactoryTestingTest.java
googleapis/google-api-java-client
apache-2.0
1,619
42
codeparrot/github-code
213429cfa99361b9d6026107d535388d0c16c2082f13e431ea6f49057a2f6613
//============================================================================ // // Copyright (C) 2006-2022 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receive...
Java
components/components-googledrive/components-googledrive-definition/src/main/java/org/talend/components/google/drive/connection/GoogleDriveConnectionDefinition.java
Talend/components
apache-2.0
1,926
55
codeparrot/github-code
96df0411a5493f4af70874b3e625b2c141b6e08f376859df644147563e2672c7
<!DOCTYPE html> <html> <meta charset="UTF-8"> <head> <title>Topic 06 -- Abstracts with Biological Entities (English) - 75 Topics / Sub-Topic Model 13 - 15 Topics</title> <style> table { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; border-collapse: collapse; width: 100%; } td, th { border: 1px...
HTML
docs/CORD19_topics/cord19-2020-04-24-v9/text-ents-en-75-t13-15/Topic_06.html
roaminsight/roamresearch
apache-2.0
47,860
877
codeparrot/github-code
e8aef1bcae1f54cd459e65c6a014c4999309b971c03b9ac026bf4b22dc997299
import { Component } from '@angular/core'; import { Platform } from 'ionic-angular'; import { InAppBrowser } from '@ionic-native/in-app-browser'; @Component({ selector: 'page-apuntes', templateUrl: 'apuntes.html' }) export class ApuntesPage { constructor(public platform: Platform, private theInAppBrowser: In...
TypeScript
src/pages/apuntes/apuntes.ts
tomibarbieri/lafuente
apache-2.0
1,350
57
codeparrot/github-code
83ae5335fa111355cba30554a26f40f63890ce2bbb9b39542d4d3dfc41f5f6fa
/*price range*/ $('#sl2').slider(); var RGBChange = function() { $('#RGB').css('background', 'rgb('+r.getValue()+','+g.getValue()+','+b.getValue()+')') }; /*scroll to top*/ $(document).ready(function(){ $(function () { $.scrollUp({ scrollName: 'scrollUp', // Element ID scrollDistance: ...
JavaScript
Samples/.Net/.Netproperty4u/Property4U/Scripts/main.js
ReinID/ReinID
apache-2.0
2,179
61
codeparrot/github-code
b9b22640ef2dc6117f6e671f5b70f49b43c47b81651ce33bd09b9ca2a9391443
/* * Licensed to GraphHopper GmbH under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper GmbH licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use t...
Java
jsprit-core/src/test/java/com/graphhopper/jsprit/core/algorithm/SearchStrategyTest.java
balage1551/jsprit
apache-2.0
8,039
237
codeparrot/github-code
ec358d6a3d751d68c1478c34f832de5d3f5b6a5723377563bf40f1a9d39937fb
#!/Users/wuga/Documents/website/wuga/env/bin/python2.7 # # The Python Imaging Library # $Id$ # from __future__ import print_function import sys if sys.version_info[0] > 2: import tkinter else: import Tkinter as tkinter from PIL import Image, ImageTk # ------------------------------------------------------...
Python
env/bin/player.py
wuga214/Django-Wuga
apache-2.0
2,120
98
codeparrot/github-code
c13911f82fc9dc55be19acbedf51da6b2fb4581e2083a75253c8f982617556e4
/* * Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Java
simulator/src/main/java/com/hazelcast/simulator/provisioner/ProvisionerCli.java
Danny-Hazelcast/hazelcast-stabilizer
apache-2.0
6,122
129
codeparrot/github-code
1f27f9e13d78dc14423dfd28b1c6d761b7f360fca0d027e3b1078834fe80abf3
/* * Copyright (C) 2016 QAware 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 applicabl...
Java
chronix-kassiopeia-simple/src/main/java/de/qaware/chronix/timeseries/dt/DoubleList.java
0xhansdampf/chronix.kassiopeia
apache-2.0
19,873
626
codeparrot/github-code
b40253a3864b6e7ab23649d9612daee3bd6569ec58cb35c8d0a546efc89b3634
# Copyright 2018 Huawei Technologies Co.,LTD. # 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 # # Unl...
Python
cyborg/objects/physical_function.py
openstack/nomad
apache-2.0
5,396
138
codeparrot/github-code
1224f35dca9bc44a536645e31a914107813f7303ba900322af1a801fb0afbe53
/* Copyright 2020 Gravitational, 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 writing, soft...
GO
lib/events/playback.go
gravitational/teleport
apache-2.0
10,730
412
codeparrot/github-code
b0b96513f724337985a59b79067cd2d28f5e863744b4147782e2ac2466246af2
<?php /** * Contains all client objects for the ExchangeRateService * service. * * PHP version 5 * * Copyright 2016, 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 o...
PHP
src/Google/Api/Ads/Dfp/v201605/ExchangeRateService.php
gamejolt/googleads-php-lib
apache-2.0
81,385
3,264
codeparrot/github-code
38bded58c707c8fad77d7e359bd327323ee5c6783d524082abca703de16f0428
const loopback = require('loopback'); const boot = require('loopback-boot'); const request = require('request-promise'); const config = require('./config.json'); const log = require('log4js').getLogger('server'); const jwt = require('jwt-simple'); var app = module.exports = loopback(); var apiUrl = config.restApiRoot ...
JavaScript
server/server.js
SaaSManager/todo-example
apache-2.0
1,921
67
codeparrot/github-code
3c63bbe0607cb44f8bede9b156b18c9847f3c656f0696fc5e81a55a189ac507f
class TreeBuilderTenants < TreeBuilder has_kids_for Tenant, [:x_get_tree_tenant_kids] def initialize(name, sandbox, build, **params) @additional_tenants = params[:additional_tenants] @selectable = params[:selectable] @ansible_playbook = params[:ansible_playbook] @catalog_bundle = params[:catalog_bu...
Ruby
app/presenters/tree_builder_tenants.rb
ManageIQ/manageiq-ui-classic
apache-2.0
1,530
66
codeparrot/github-code
92de16af17cf7f82eb831e7bf775aab6bf681cc39430d2f69acac70278c3589b
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include <sys/types.h> #include <sys/event.h> #include <sys/time.h> #include <string.h> #include <unistd.h> #include <ckit/event.h> #include <ckit/debug.h> #include <ckit/time.h> int event_open(void) { return kqueue(); } void event_clos...
C
src/event_kqueue.c
erimatnor/libckit
apache-2.0
3,368
127
codeparrot/github-code
3648ee5f1dfbbaa1ad537933a102642b2b3f2be8bfbc23632d4ca6a5fc6a819f
'use strict'; angular.module('donetexampleApp') .service('ParseLinks', function () { this.parse = function (header) { if (header.length == 0) { throw new Error("input must not be of zero length"); } // Split parts by comma var parts = header....
JavaScript
DoNetExample.Gui/scripts/components/util/parse-links.service.js
CyberCastle/DoNetExample
apache-2.0
1,252
36
codeparrot/github-code
05abc78c5e816618abdd4fc80597ba4de02f1e710525eee2839cb26d1c8b609b
package com.mobisys.musicplayer.model; import android.os.Parcel; import android.os.Parcelable; /** * Created by Govinda P on 6/3/2016. */ public class MusicFile implements Parcelable { private String title; private String album; private String id; private String singer; private String path; ...
Java
app/src/main/java/com/mobisys/musicplayer/model/MusicFile.java
GovindaPaliwal/android-constraint-Layout
apache-2.0
2,408
113
codeparrot/github-code
17838143c175c37f057213c65b26d46e223e5b09974813ed9546929b2eafc9d4
<?php /********************************************************************************************************************************** * * Ajax Payment System * * Author: Webbu Design * **********************************************************************************************************************************...
PHP
wp-content/themes/pointfinder/admin/estatemanagement/includes/ajax/ajax-itemsystem.php
fedebalderas/esm_wordpress
apache-2.0
12,874
355
codeparrot/github-code
c4f8eef5e98bff84e7e2b9803cc3d0a2741164c7f51848af79ff0d152644602d
// // 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...
C#
NetworkCommsDotNet/Connection/UDP/UDPConnection.cs
MarcFletcher/NetworkComms.Net
apache-2.0
36,506
679
codeparrot/github-code
0726f41a37dcaa277045da987ed103ab2c0ea19b43aca7b59fae1123a86f4ee8
/* * 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-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/transform/AnalyticsMetadataTypeJsonUnmarshaller.java
jentfoo/aws-sdk-java
apache-2.0
2,836
75
codeparrot/github-code
f2ad652a6753f987d0715df811dee37a04b8432e7c5beef199140f1604777978
module Serf.Event where import Serf.Member import Control.Applicative import Control.Monad.IO.Class import System.Environment import System.Exit import System.IO import Text.Parsec type SerfError = String data SerfEvent = MemberJoin Member | MemberLeave Member | Memb...
Haskell
src/main/ansible/roles/serf/files/Serf/Event.hs
lstephen/box
apache-2.0
2,110
71
codeparrot/github-code
9e5c7417f2c5a853bf8b035b6c0caea3052936ed64d02ba878245dc2093f783a
/* * Copyright (C) 2017 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
mvplife/src/main/java/com/seongil/mvplife/fragment/BaseMvpFragment.java
allsoft777/MVP-with-Firebase
apache-2.0
4,046
119
codeparrot/github-code
e84c112186001a00ff9e6482451b5737ac1e5b38942e286eb40a1512de446315
import React from 'react' import { StyleSheet, View, processColor } from 'react-native' import { BubbleChart } from 'react-native-charts-wrapper' class BubbleChartScreen extends React.Component<any, any> { constructor(props) { super(props) const { modeInfo } = props const temp = props.value.weekL...
TypeScript
psnine/container/statistics/BubbleChart.tsx
Smallpath/Psnine
apache-2.0
2,574
102
codeparrot/github-code
df420cd7553f5bd38e33c2fb8ab37ec6a723e691986aa4df0201dcde03f240a9
# -*- coding: utf-8 -*- """Template shortcut & filters""" import os import datetime from jinja2 import Environment, FileSystemLoader from uwsgi_sloth.settings import ROOT from uwsgi_sloth import settings, __VERSION__ template_path = os.path.join(ROOT, 'templates') env = Environment(loader=FileSystemLoader(template_pa...
Python
uwsgi_sloth/template.py
piglei/uwsgi-sloth
apache-2.0
1,040
40
codeparrot/github-code
aae5cd81feff19999b0672771ddc7ce72ce633b4d0d36449a64fc587dd1015a0
/** * Copyright (C) 2015 meltmedia (christian.trimble@meltmedia.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...
Java
bundle/src/main/java/com/meltmedia/dropwizard/etcd/json/EtcdJsonBundle.java
meltmedia/dropwizard-etcd
apache-2.0
3,068
91
codeparrot/github-code
6049dc2d8b72d67e13672367ffc1a572a7644da75f714389674a4368c444c9b0
package org.openjava.upay.web.domain; import java.util.List; public class TablePage<T> { private long start; private int length; private long recordsTotal; private long recordsFiltered; private List<T> data; public TablePage() { } public long getStart() { return star...
Java
upay-server/src/main/java/org/openjava/upay/web/domain/TablePage.java
openjava2017/openjava-upay
apache-2.0
1,263
75
codeparrot/github-code
22496d399da24cea3809c71e8af7aa582440eeaf0a3def31e2428d5b37cf936c
package com.jy.controller.workflow.online.apply; import com.jy.common.ajax.AjaxRes; import com.jy.common.utils.DateUtils; import com.jy.common.utils.base.Const; import com.jy.common.utils.security.AccountShiroUtil; import com.jy.controller.base.BaseController; import com.jy.entity.attendance.WorkRecord; import com.jy....
Java
src/main/java/com/jy/controller/workflow/online/apply/PatchController.java
futureskywei/whale
apache-2.0
5,320
146
codeparrot/github-code
9efa97ac4b6e3fbb4660f615ce0e506a84584387c1250005390f340a8385b78d
/* * Copyright 2010-2011 Ning, Inc. * * Ning licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
scribe/src/test/java/com/ning/metrics/eventtracker/TestIntegration.java
pierre/eventtracker
apache-2.0
4,231
113
codeparrot/github-code
00e6ebab042c4a24acc45f9d617ea52a5fa6d7a8340ef77738b66ce6f9d47e33
// Copyright (c) 2008, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditi...
C++
boot/breakpad/client/windows/crash_generation/minidump_generator.cc
mital/kroll
apache-2.0
9,978
291
codeparrot/github-code
53743598635189f674296e86a12cd4e0d22a8f695a42bb5a20439e424d4caa55
package com.nosolojava.fsm.impl.runtime.executable.basic; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import com.nosolojava.fsm.runtime.Context; import com.nosolojava.fsm.runtime.executable.Elif; import com.nosolojava.fsm.runtime.executable.Else; import com.nosolojava.fsm.ru...
Java
scxml-java-implementation/src/main/java/com/nosolojava/fsm/impl/runtime/executable/basic/BasicIf.java
nosolojava/scxml-java
apache-2.0
2,082
80
codeparrot/github-code
dfcb96091b78f304127083f8c6be63b26c51f94bdb6669435261c47b0202534a
package debop4s.data.orm.hibernate.repository import com.mysema.query.jpa.hibernate._ import com.mysema.query.types.EntityPath import debop4s.data.orm.ReadOnlyConnection import debop4s.data.orm.model.HConnectPageImpl import org.hibernate.{LockOptions, Session, SessionFactory} import org.slf4j.LoggerFactory import org....
Scala
debop4s-data-orm/src/main/scala/debop4s/data/orm/hibernate/repository/HibernateQueryDslDao.scala
debop/debop4s
apache-2.0
3,136
99
codeparrot/github-code
929f9d17eeaff4806f7bf67c200a4bc611b2f2369a781157a31d0dea921fafd9
/* * 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 ma...
Java
src/test/java/jp/eisbahn/oauth2/server/spi/servlet/HttpServletRequestAdapterTest.java
morozumi-h/oauth2-server
apache-2.0
1,972
58
codeparrot/github-code
89a2e0f59eeded749a0e6848bd8a4d46ecaef03ea071bbe07e4016655510fa03
/* * Copyright 2013 Gunnar Kappei. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
Java
src/net/opengis/gml/MultiSurfaceType.java
moosbusch/xbLIDO
apache-2.0
10,068
181
codeparrot/github-code
abfa51188913c15d0098e53636065d528f202209e664ef67b5a01a07fb0646a6
/* * 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-redshift/src/main/java/com/amazonaws/services/redshift/model/transform/AuthenticationProfileNotFoundExceptionUnmarshaller.java
aws/aws-sdk-java
apache-2.0
1,678
44
codeparrot/github-code
7e220139a09b46c6307271166a6a7499a4b20036fc5ea50b2caa840273facdb1
package ru.job4j.pro.collections.list; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * NodeListTest class. * * @author Vladimir Ivanov * @version 0.1 * @since 30.08.2017 */ public class NodeListTest { /** * Test list is not cycled. */...
Java
part2/ch1/src/test/java/ru/job4j/pro/collections/list/NodeListTest.java
dimir2/vivanov
apache-2.0
2,090
83
codeparrot/github-code
7cc7e37a6b8b208ade0892145d271ac85aec9a107ce1118a14de2dc050045b5c
'use strict'; /** * @ngdoc function * @name lubriApp.controller:MembersCtrl * @description * # MembersCtrl * Controller of the lubriApp */ angular.module('lubriApp') .config(function($stateProvider) { $stateProvider.state('app.members', { abstract: true, url: '/members', templateUrl: 'vi...
JavaScript
client/app/scripts/controllers/members.js
g8te/lubri
apache-2.0
6,835
250
codeparrot/github-code
7d7ca5a369a00cd1c26ad14966cd8b589e56de2d4617101b5ae18252d3c4ac99
/* * @(#)TIFFHeader.java * * $Date: 2014-03-13 04:15:48 -0400 (Thu, 13 Mar 2014) $ * * Copyright (c) 2011 by Jeremy Wood. * All rights reserved. * * The copyright of this software is owned by Jeremy Wood. * You may not use, copy or modify this software, except in * accordance with the license agreement you...
Java
java_service/src/main/java/gr/iti/mklab/reveal/forensics/util/ThumbnailExtractor/image/jpeg/TIFFHeader.java
MKLab-ITI/image-forensics
apache-2.0
3,339
78
codeparrot/github-code
2b7fd4f469ef5c6f12ce5df2fd2cb6be6e159a39451e41a8f0f74a1b54a8b475
package eu.ailao.hub.dialog; import eu.ailao.hub.corefresol.answers.ClueMemorizer; import eu.ailao.hub.corefresol.concepts.ConceptMemorizer; import eu.ailao.hub.questions.Question; import java.util.ArrayList; /** * Created by Petr Marek on 24.02.2016. * Dialog class represents dialog. It contains id of dialog and ...
Java
src/main/java/eu/ailao/hub/dialog/Dialog.java
brmson/hub
apache-2.0
1,699
71
codeparrot/github-code
dc1ee71882845f7dd0d76a5e84ec61d9d70580bb358c381c508aaa6a30ca0858
// Copyright 2016 Yahoo Inc. // Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms. package com.yahoo.bard.webservice.data.metric; /** * LogicalMetricColumn. */ public class LogicalMetricColumn extends MetricColumn { private final LogicalMetric metric...
Java
fili-core/src/main/java/com/yahoo/bard/webservice/data/metric/LogicalMetricColumn.java
yahoo/fili
apache-2.0
1,271
51
codeparrot/github-code
916a853b3f51a3894297f8da2e5bcc482724d3a01c67e5ef1ac765202ca7496b
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Belkyra</title> <!-- Bootstrap Core CS...
HTML
services/belkyra.html
tjlam/tjlam.github.io
apache-2.0
10,771
194
codeparrot/github-code
dc00a5b5f55cda88701b3cd76ed42a134361a685372d00c1bda4e89d65c3f56b
package esidev import ( "net/http" "time" "github.com/gorilla/mux" ) var _ time.Time var _ = mux.NewRouter func GetIncursions(w http.ResponseWriter, r *http.Request) { var ( localV interface{} err error datasource string ) // shut up warnings localV = localV err = err j := `[ { "conste...
GO
dev/go/api_incursions.go
antihax/mock-esi
apache-2.0
1,390
71
codeparrot/github-code
deb4cd8ad8c61088a3d68189599ef0d90b6ed7c94e873e2e6f229189a8c60157
/* * Copyright 2010-2020 Alfresco Software, Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Java
activiti-core/activiti-engine/src/main/java/org/activiti/engine/impl/cmd/CreateAttachmentCmd.java
Activiti/Activiti
apache-2.0
5,884
149
codeparrot/github-code
f27c7f60208949866f94c21a5f77067564a076cb02ada6e2a3b4993a685a85dd
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * COPYRIGHT (C) 2007 * THE REGENTS OF THE UNIVERSITY OF MICHIGAN * ALL RIGHTS RESERVED * * Permission is granted to use, copy, create derivative works * and redistribute this software and such derivative works * for any purpose, so long as the na...
C
kerberos/kdc/src/krb5-1.16/src/plugins/preauth/pkinit/pkinit_matching.c
gerritjvv/cryptoplayground
apache-2.0
22,754
760
codeparrot/github-code
2f051f38934941bf0c18921f9b0ba14b644d4040eb60d6c291c1e12f41f01245
/* * 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
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/LocalWalModeChangeDuringRebalancingSelfTest.java
irudyak/ignite
apache-2.0
21,207
652
codeparrot/github-code
cbb73e1e16fa9d93b22ec262ff742e076092dbe13fe65154932da74eba1ac0c6
package de.hsmainz.pubapp.geocoder.controller; import com.google.gson.Gson; import de.hsmainz.pubapp.geocoder.model.ClientInputJson; import de.hsmainz.pubapp.geocoder.model.ErrorJson; import de.hsmainz.pubapp.geocoder.model.geojson.GeoJsonCollection; import org.apache.logging.log4j.LogManager; import org.apache.loggin...
Java
geocoder/src/main/java/de/hsmainz/pubapp/geocoder/controller/HttpAPIRequest.java
ArnoHeid/PubApp
apache-2.0
5,824
176
codeparrot/github-code
e7ac1fbcf8d222dbed9ccba9a7dbeb3308030f4d6e81fcbe4140ba776e9e73dc
package com.txtr.hibernatedelta.model; import static javax.xml.bind.annotation.XmlAccessType.FIELD; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.an...
Java
src/main/java/com/txtr/hibernatedelta/model/HibernateTable.java
storecast/hibernate-delta
apache-2.0
2,751
103
codeparrot/github-code
ff6ec6421224b0cf0a1bf637e44651d0274e724a635daac722435f5a575f268a
/* Copyright 2015 Ricardo Tubio-Pardavila 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...
JavaScript
src/operations/directives/Requests.js
satnet-project/satnet-ng
apache-2.0
17,236
500
codeparrot/github-code
4cd41277537f1beb397ff6372eb7571af0e1ec912d2c9e4b5ec50c82219ed7d4
package web; import graphUtil.CycleChainDecomposition; import graphUtil.EdgeChain; import ilog.concert.IloException; import java.util.HashMap; import java.util.List; import java.util.Map; import kepLib.KepInstance; import kepLib.KepProblemData; import kepModeler.ChainsForcedRemainOpenOptions; import kepModeler.KepMo...
Java
kidneyMatching/src/web/KidneyServerSolver.java
rma350/kidneyExchange
apache-2.0
8,249
237
codeparrot/github-code
70959cac911f746acea0d1ae367556a5c2661b0546ae40936b5276fbfe8579ff
package com.jaivox.ui.appmaker; import java.io.*; import java.util.*; import bitpix.list.*; public class Rule2Fsm { static String dir = "./"; basicTree tree; TreeMap <String, String> states; TreeMap <String, String> tags; static String name = "data/road1.tree"; static String yes = "yes"; String startState ...
Java
v2/com/jaivox/ui/appmaker/Rule2Fsm.java
jaivox/tools
apache-2.0
4,520
180
codeparrot/github-code
6d780f0d0626d2d21eccebf758c840632fa8abc1c95252413a3ecec3c1705d2f
/* * Copyright 2013 DigitasLBi Netherlands B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
C#
LBi.LostDoc.ConsoleApplication.Extensibility/Command.cs
LBiNetherlands/LBi.LostDoc
apache-2.0
2,048
58
codeparrot/github-code
aec4d380ec0b8627c64dfcf3982d9927e327dc72c910c7b1b0545aeb94b96622
--!A cross-platform build utility based on Lua -- -- 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 Apach...
Lua
xmake/plugins/project/vstudio/impl/vs201x_solution.lua
tboox/xmake
apache-2.0
4,143
127
codeparrot/github-code
1e78a056a3cdaa1261741372dba72609d23fbbc8d41f9025c1cdc565c9c62d1b
/* * Copyright 2013 JCertifLab. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Java
src/main/java/com/jcertif/android/fragments/SessionListFragment.java
JCERTIFLab/jcertif-android-2013
apache-2.0
12,340
419
codeparrot/github-code
9aeba453cbbe6a84aba573821bfe7ba5e425d19baad177cb40b77441e33f70d3
/** * Copyright 2014 Jordan Zimmerman * * 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
soabase-core/src/main/java/io/soabase/core/features/attributes/DynamicAttributes.java
soabase/soabase
apache-2.0
2,045
64
codeparrot/github-code
2226d1807268f6022709c2e6a98b68e3cae509a18408bcce94410e3c1ec95fc7
/* * 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 ...
TypeScript
flink-runtime-web/web-dashboard/src/app/share/common/dagre/svg-container.component.ts
StephanEwen/incubator-flink
apache-2.0
3,657
112
codeparrot/github-code
7ce5bf3adc221e2085f876613474ddebc38aff3054aa98191e8849d49375a424
/* * Copyright © 2009 HotPads (admin@hotpads.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 applicable...
Java
datarouter-instrumentation/src/main/java/io/datarouter/instrumentation/trace/Traceparent.java
hotpads/datarouter
apache-2.0
4,662
151
codeparrot/github-code
852184f666194d90cb21c6e1457ed25eacdf12ed1978610daa7b9e38aa3bc43e
package com.bzu.yhd.pocketcampus.bottomnav.user.view; import android.content.Context; import android.util.AttributeSet; import com.facebook.rebound.SimpleSpringListener; import com.facebook.rebound.Spring; import com.facebook.rebound.SpringSystem; import de.hdodenhof.circleimageview.CircleImageView; /** * Created ...
Java
app/src/main/java/com/bzu/yhd/pocketcampus/bottomnav/user/view/AnimateImageView.java
GolvenH/PocketCampus
apache-2.0
3,226
120
codeparrot/github-code
da871e2cff231cbc9a421e7401db1b93d4fbbb8ee57f07effdd9a6dcdec94f63
/* * 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 "lice...
Java
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/transform/DeleteAssociationRequestMarshaller.java
trasa/aws-sdk-java
apache-2.0
3,452
97
codeparrot/github-code