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
cbfc0f6ca149320dfeb0e97a28b4e492a59df5e401c7122147fdb25244bd24ed
package io.school.service.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; import java.util.Map; import io.school.dao.RuleitemDao; import io.school.entity.RuleitemEntity; import io.school.service.RuleitemService; @Service("r...
Java
school-web/src/main/java/io/school/service/impl/RuleitemServiceImpl.java
oyhf521/school
apache-2.0
1,120
56
codeparrot/github-code
b618204cd8502dcc793dff29ab32b77f3a3ecce0b75e1d1765ed01a3c4058ef5
// _ _ _ ____ _ _____ // / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___ // / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \ // / ___ \ | | | (__ | | | || | ___) || |_| __/| ...
C#
ArchiSteamFarm/NLog/Targets/HistoryTarget.cs
JustArchi/ArchiSteamFarm
apache-2.0
2,847
86
codeparrot/github-code
c90504c05b140946c581d773475dcc1aaec637f6fd60a00df23c2d5dab710922
''' Created on Dec 23, 2012 @author: Peter This module contains a few functions for extracting the parameters out of a man page. ''' import subprocess import logging from arguments.valuedarguments import ValuedArguments TIMEOUT = 3 logger = logging.getLogger('man-fuzzer') def mineflags(executable): '''Return...
Python
manparser/__init__.py
GroundPound/ManFuzzer
apache-2.0
1,492
49
codeparrot/github-code
33239551ad70fe1969e9feaab8945b14b15daf7eecf025806111bd452d96bdea
/* Copyright (c) 2014, Effektif GmbH. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Java
effektif-workflow-impl/src/test/java/com/effektif/workflow/test/serialization/WorkflowObjectTest.java
jblankendaal/effektif
apache-2.0
1,299
43
codeparrot/github-code
0cf4567d6a11e05f40b2859612d7d832398be9d85e84ce16177f590cb9f658ae
#include "stdafx.h" #include "controlled_actor.h" #include "../../actor.h" #include "../../../xrEngine/CameraBase.h" #include "../../xr_level_controller.h" //#include "../../level.h" #include "ai_monster_utils.h" #include "../../inventory.h" #define SPEED_MIN 0.5f #define SPEED_MAX 4.f #define EPS_ANGLE 1 * PI / 180 #...
C++
code/engine/xrGame/ai/monsters/controlled_actor.cpp
Im-dex/xray-162
apache-2.0
2,987
110
codeparrot/github-code
2c3f3bd12c35cd867a312aa8343551eaf47efc7d8d2d26459c617ba909eaab69
/* Licensed to OffGrid Networks (OGN) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. OGN licenses this file to you under the Apache License, Version 2.0 (the "License")...
JavaScript
packages/nodekit-scripts-platform-macos/bin/nodekit-scripts/lib/configMunger.js
nodekit-io/nodekit-cli
apache-2.0
1,422
40
codeparrot/github-code
ad2e6ed46ce1f5c77b33044cd8334a083464d24a2851ba2d51a7718001456e29
#region Copyright //======================================================================================= // Microsoft Azure Customer Advisory Team // // This sample is supplemental to the technical guidance published on my personal // blog at http://blogs.msdn.com/b/paolos/. // // Author: Paolo Salvatori //=====...
C#
src/ServiceBusExplorer/Helpers/ThresholdDeviceEventDataGenerator.cs
lenardg/ServiceBusExplorer
apache-2.0
8,504
215
codeparrot/github-code
95f2d86abc8597a7b1378c661dee6b4a5bfbe01479fb55684a28703ecaf74d3d
package com.stt.portfolio.gui; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax....
Java
src/com/stt/portfolio/gui/TaxReportPane.java
skarna1/javaportfolio
apache-2.0
3,231
118
codeparrot/github-code
d24dbd4d95ab481d0bf520d47e82eb350e805b500678c97d421bf636906a748e
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using ITADPolsl.Web.Models; namespace ITADPolsl.Web.Controllers { public class SpeakersController : Controller { private Appli...
C#
ITADPolsl/ITADPolsl.Web/Controllers/SpeakersController.cs
GrupaNETPolSl/ITAD2014
apache-2.0
4,105
142
codeparrot/github-code
295ebe7d735373287310708cce2522f974b0a8ed2d6f9eb33985e7cbbf078e16
/* * Copyright 2017 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 applica...
Java
web/webunit/src/main/java/leap/webunit/client/OkTHttpClient.java
leapframework/framework
apache-2.0
7,809
272
codeparrot/github-code
4689bd9d9ccbd0fe777731d86576b2bc504ab4bf2c11be07533e7ba99285a4d2
package com.rbmhtechnology.vind.solr.cmt; import org.apache.lucene.util.LuceneTestCase; import org.apache.solr.cloud.SolrCloudTestCase; import org.junit.AfterClass; import org.junit.BeforeClass; /** * @author Thomas Kurz (thomas.kurz@redlink.co) * @since 03.04.17. */ @LuceneTestCase.Slow public class CollectionMan...
Java
backend/solr-ext/collection-managment-tool/src/test/java/com/rbmhtechnology/vind/solr/cmt/CollectionManagementTest.java
RBMHTechnology/vind
apache-2.0
848
35
codeparrot/github-code
bad3baac7f924cb5869f516300cce4d1bbaedfca7eba50975a12617def16beed
package com.piticlistudio.playednext.relationinterval.model.repository; import com.piticlistudio.playednext.BaseTest; import com.piticlistudio.playednext.relationinterval.model.entity.RelationInterval; import com.piticlistudio.playednext.relationinterval.model.repository.datasource.RealmRelationIntervalRepositoryImpl;...
Java
app/src/test/java/com/piticlistudio/playednext/relationinterval/model/repository/RelationIntervalRepositoryTest.java
Yorxxx/playednext
apache-2.0
1,435
44
codeparrot/github-code
a43aa49e96a7526dfb98703a1d07160eb22a384bd4e1dc46fbbe4452957daa54
package org.nercel.joker.web.config; import java.util.Properties; import org.apache.log4j.Logger; import org.nercel.joker.web.core.CP_InitializingInterceptor; import org.nercel.joker.web.core.CP_PropertyEditorRegistrar; import org.nercel.joker.web.core.CP_SimpleMappingExceptionResolver; import org.springframework.con...
Java
src/main/java/org/nercel/joker/web/config/MvcConfig.java
hellojoker1990/SpringMVC4-Hibernate
apache-2.0
12,899
252
codeparrot/github-code
736b6b3571a32ed9543ba275214289efcc1dbc910f8ee682aff3781fb81eed87
/* * Copyright (c) Meta Platforms, Inc. and 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 appl...
C
folly/python/AsyncioExecutor.h
facebook/folly
apache-2.0
2,626
94
codeparrot/github-code
b9ae7684d2d7600686a1837a52b60c438ea971d452d727f97b95708c9d587ce4
# Copyright 2018 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 applica...
Python
keras/engine/training_distributed_v1.py
keras-team/keras
apache-2.0
29,172
789
codeparrot/github-code
8411d366031b0aaac7aacbe23f902a468b1b7a340522e06f2d8af787b8b08c41
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Reflection; using System.Xml.Linq; namespace TFSAggregator { /// <summary> /// Static class used to get settings from the disk. /// This class will only get the settings once. To have it get the settin...
C#
TFSAggregatorSettings.cs
Vaccano/TFS-Aggregator
apache-2.0
6,996
155
codeparrot/github-code
c69cc50e2cab70db93423df730770c5a190bfbc8e23371eaad2c78f87e58711e
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
src/main/java/org/apache/sysml/runtime/controlprogram/parfor/opt/OptimizerConstrained.java
Wenpei/incubator-systemml
apache-2.0
14,964
444
codeparrot/github-code
39cd12926bb318fd90be0fccdbcec3e61a23be48c66783873577ea6e236a22ef
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
java-psi-impl/src/main/java/com/intellij/openapi/projectRoots/ex/JavaSdkUtil.java
consulo/consulo-java
apache-2.0
3,023
105
codeparrot/github-code
1544b0bed2115a3dbe06d9961e73610120d283b8fb2f4656e1af19b36bbee667
/* * Copyright (C) 2015, Zentri, Inc. All Rights Reserved. * * The Zentri BLE Android Libraries and Zentri BLE example applications are provided free of charge * by Zentri. The combined source code, and all derivatives, are licensed by Zentri SOLELY for use * with devices manufactured by Zentri, or devices approve...
Java
app/src/main/java/com/zentri/zentri_ble_command_demo/ZentriOSBLEService.java
zentri/ble_command_android_demo
apache-2.0
11,084
326
codeparrot/github-code
934deeefce6d389d803669a75da23b4ab001af7b5c1ad4580b82340670bdef3e
/* \file Matrix.h \brief The header file for the Matrix class. */ #pragma once // Persistent RNN Includes #include <prnn/detail/matrix/float_reference.h> #include <prnn/detail/matrix/float_iterator.h> #include <prnn/detail/matrix/dimension.h> #include <prnn/detail/matrix/precision.h> // Standard Library Incl...
C
include/prnn/detail/matrix/matrix.h
baidu-research/persistent-rnn
apache-2.0
2,695
128
codeparrot/github-code
1cc8a5bc456188b430bb15ab1ba6e7403514e8a3aff25319f27cfcaa4a87e859
// 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...
Scala
java/kudu-spark/src/test/scala/org/apache/kudu/spark/kudu/SparkSQLTest.scala
helifu/kudu
apache-2.0
16,895
535
codeparrot/github-code
2b720cba870b657d97b7d210af45ee5fd1ea0cafc852947ed44c339eb6b0ae0d
package net.kbrz.pokedroid.models.pokemon; import com.google.gson.annotations.SerializedName; import net.kbrz.pokedroid.models.PokeDroidModel; import net.kbrz.pokedroid.models.commons.Name; import net.kbrz.pokedroid.models.commons.NamedApiResource; import net.kbrz.pokedroid.models.commons.VerboseEffect; import java....
Java
app/src/main/java/net/kbrz/pokedroid/models/pokemon/Ability.java
kbrz/PokeDroid
apache-2.0
2,698
110
codeparrot/github-code
4f81c32bc59312ee96535282f4cd847d3cd3eb431ab2d6023f47318c7621bec2
package com.w00tmast3r.skquery.elements.conditions; import org.bukkit.event.Event; import com.w00tmast3r.skquery.annotations.Description; import com.w00tmast3r.skquery.annotations.Patterns; import ch.njol.skript.conditions.base.PropertyCondition; import ch.njol.skript.conditions.base.PropertyCondition.PropertyType; ...
Java
src/main/java/com/w00tmast3r/skquery/elements/conditions/CondIsDivisible.java
TheLimeGlass/skquery
apache-2.0
1,554
44
codeparrot/github-code
a6438ba23897e9f08318f02018e0c25145063c5c5392b2d4f03bdfe877ec5c99
/* First created by JCasGen Sat Mar 07 22:05:57 CET 2015 */ package de.julielab.jules.types.stemnet; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import org...
Java
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/stemnet/VariationLocation_Type.java
BlueBrain/bluima
apache-2.0
1,987
62
codeparrot/github-code
9a69ed1dc3b5886c041ff6e5c2d60dd3ebdf8d67ac5a6bc607bdcbdc532de8ba
using UnityEngine; using System.Collections; public class JumpjetJed : DeathReplacementCharacter { // Config public AttackWithCooldown attackManager; public float horizontalJumpSpeed = 5f; private float directionX = 0f; protected override void Awake () { base.Awake (); attackManager = GetComponentInChild...
C#
Assets/Scripts/_Characters/JumpjetJed.cs
p-dahlback/ld-35
apache-2.0
903
47
codeparrot/github-code
39d1de62d79707a9e52c5df407ce69ddc7d43614f48b4176ff82fcd2c5e3c2e2
# Copyright 2011 the Melange 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 wr...
Python
app/soc/mapreduce/publish_gci_tasks.py
rhyolight/nupic.son
apache-2.0
1,249
39
codeparrot/github-code
b073bdad4f9f4514c495f7257774b0003e2edabbb2de36fc05622deaf0b9f70c
<?php App::uses('AppModel', 'Model'); /** * Card Model * * @property Deck $Deck */ class Card extends AppModel { /** * Validation rules * * @var array */ public $validate = array( 'front' => array( 'notEmpty' => array( 'rule' => array('notEmpty'), //'message' => 'Your custom message here', //...
PHP
app/Model/Card.php
macsg/brainmemo
apache-2.0
1,511
65
codeparrot/github-code
c703379e41382ccf993a1d7bfa667ae8b7c14c01118e3ab6cc2092ab16824bf3
var config = require('./config'); var util = require('util'); var WebSocket = require('ws'); var WebSocketServer = require('ws').Server; var http = require('http'); var express = require('express'); var app = express(); app.use(express.static(__dirname + '/public')); var server = http.createServer(app); var clientport ...
JavaScript
app.js
openlab/WSMulti
apache-2.0
3,552
136
codeparrot/github-code
535489d1329f6dc100d284778c9afa08909a53ee6ffcace24ab69315232f7b49
package c34; public class Point { double x,y,z; public Point (double x,double y,double z) { this.x=x; this.y=y; this.z=z; } public void setX(double x) { this.x=x; } public void setY(double y) { this.y=y; } public void setZ(double z) { this.z=z; } public double distance(Point p) { return ...
Java
javaworkplace/SXT/src/c34/Point.java
wapalxj/Java
apache-2.0
569
38
codeparrot/github-code
8416c4ed25f0e97e94a6ef0f88dd86d800895f1b3b8353eda23ce244f9e81948
#ifndef ANTVRSDK_H #define ANTVRSDK_H #include<Windows.h> #include "AntvrDriver.h" #ifdef __cplusplus extern "C"{ #endif //__cplusplus enum ANTVR_RETURN { ANTVR_FAILED = 0, ANTVR_SUCCESS = 1, ANTVR_DEV_NOT_EXIST = 2, ANTVR_DEV_EXIST = 3, ANTVR_LOAD_LIBRARY_FAILED = 4, ANTVR_LO...
C
OSVR-ANTVR-Project/ANTVR-Corproration/ANTVRSDK/ANTVRSDK.h
L-Tobi/OSVR-ANTVR
apache-2.0
1,024
52
codeparrot/github-code
7fd34d5435172e4cb634a43fa34b71fd31cbe2402c969ffc3fbc0a2523e16ecb
package systems.comodal.mustache; import com.github.mustachejava.MustacheFactory; import java.io.File; import java.io.IOException; import java.io.UncheckedIOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; import systems.comodal.mustache.GenerateHashC...
Java
src/mustache/java/systems/comodal/mustache/GenerateBenchmarks.java
comodal/hash-overlay
apache-2.0
1,455
49
codeparrot/github-code
25583ce88891ba1eddc11623f52f63835b927fe90572f5f971e49c426b28d6d7
/* * Copyright (c) 2005-2009 Grameen Foundation USA * 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...
Java
application/src/main/java/org/mifos/framework/business/util/Name.java
mifos/1.4.x
apache-2.0
2,504
92
codeparrot/github-code
6c8f736d52ab01aabf1829980c751b08a08eb1046145c76992b5d86ec885e379
/* * Copyright (C) 2017 Anupam Das * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
Java
app/src/main/java/work/technie/popularmovies/adapter/EpisodesTVArrayAdapter.java
opticod/Opti-Movies
apache-2.0
5,323
153
codeparrot/github-code
6a9d6afd6ad295d8ee2b5d169de9a4a6c8772ca3f81bcfd158aeae396680f3bc
// 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
fe/src/test/java/org/apache/impala/analysis/AnalyzerTest.java
michaelhkw/incubator-impala
apache-2.0
29,741
632
codeparrot/github-code
9dc067aeae8012ad4d5a3ffdc0b99f2ed3ae16f13645b9f6d31edaa71fff1fef
package com.github.scalaspring.akka.config; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.core.env.ConfigurableEnvironment; import org.springframework.core.env.EnumerablePropertySource; import org.springframework.core.env.PropertySource; import org.spri...
Java
src/main/java/com/github/scalaspring/akka/config/AkkaConfigPropertySourceAdapter.java
scalaspring/akka-spring-boot
apache-2.0
5,231
124
codeparrot/github-code
a070ca6935a80daab5cfc96abf020bc2234b54ec216bd43bce8f9672ce2c1396
<?php namespace DCarbone\PHPFHIRGenerated\DSTU2\FHIRElement\FHIRBackboneElement\FHIRDocumentReference; /*! * This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using * class definitions from HL7 FHIR (https://www.hl7.org/fhir/) * * Class creation date: December 26th, 2019 15...
PHP
src/DCarbone/PHPFHIRGenerated/DSTU2/FHIRElement/FHIRBackboneElement/FHIRDocumentReference/FHIRDocumentReferenceContent.php
dcarbone/php-fhir-generated
apache-2.0
18,797
475
codeparrot/github-code
abe24587d318e19940569efcd77f837a3ec1210fb464783e2f3d524aa738a7c1
package com.mycompany.myapp.security.jwt; import static org.assertj.core.api.Assertions.assertThat; import com.mycompany.myapp.GeneratedByJHipster; import com.mycompany.myapp.security.AuthoritiesConstants; import io.jsonwebtoken.io.Decoders; import io.jsonwebtoken.security.Keys; import java.util.Collections; import o...
Java
sfox3/src/test/java/com/mycompany/myapp/security/jwt/JWTFilterTest.java
gmarziou/generator-jhipster
apache-2.0
5,648
115
codeparrot/github-code
17b158d4a7ac0a895daaf7af60a9801f5fe13a542ef9de93744d8bdcfe99af7a
package ikube.action.rule; import ikube.IConstants; import ikube.IntegrationTest; import ikube.action.index.IndexManager; import ikube.model.IndexContext; import ikube.toolkit.ApplicationContextManager; import ikube.toolkit.FILE; import org.junit.Before; import org.junit.Test; import java.io.File; import static org....
Java
code/war/src/test/java/ikube/action/rule/IsRemoteIndexCurrentIntegration.java
michaelcouck/ikube
apache-2.0
1,341
44
codeparrot/github-code
0ac45b4d56cb9b85703cda9c79b81ced26fe4f589f2cd7518cd8fc3df8fa9fa0
package nl.kaninefatendreef.si.server.controller.document; import nl.kaninefatendreef.si.server.model.SimplerInvoiceDocument; import org.springframework.hateoas.ResourceSupport; public class SimplerInvoicingDocumentResource extends ResourceSupport { public String toString(){ StringBuilder builder = ...
Java
si-receiver/src/main/java/nl/kaninefatendreef/si/server/controller/document/SimplerInvoicingDocumentResource.java
patrickvanamstel/SimplerInvoicing
apache-2.0
4,241
171
codeparrot/github-code
3d6142a8e3dd3c5e3f4c9d6b9b63120a1cfc9bcf9f96153ac485cc0217e1e0fe
/* Copyright (c) 2013 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #pragma once #include "util/lua.h" #include "kernel/expr.h" #include "kernel/expr_maps.h" namespace lean { class metavar_env; /** \brief Return a new p...
C
src/library/placeholder.h
codyroux/lean0.1
apache-2.0
1,114
40
codeparrot/github-code
ee26234c159cb79e71061114409e8b56868530962a9d9e4755130ce7548a9b76
package com.paulvarry.intra42.activities.user; import android.content.Intent; import android.net.Uri; import android.webkit.URLUtil; import androidx.annotation.Nullable; import com.paulvarry.intra42.adapters.ListAdapterApps; import com.paulvarry.intra42.api.ApiService; import com.paulvarry.intra42.api.model.Apps; impo...
Java
app/src/main/java/com/paulvarry/intra42/activities/user/UserAppsFragment.java
pvarry/intra42
apache-2.0
1,629
56
codeparrot/github-code
9e3a788942cb9334ffdcd9a617e79d77d3ac80902cf352678cecdef66bb55909
using NUnit.Framework; using ruibarbo.core.Search; using ruibarbo.core.Wpf; using ruibarbo.core.Wpf.Helpers; using ruibarbo.nunit; using ruibarbo.sampletest.AutomationLayer; namespace ruibarbo.sampletest.Features { [TestFixture] public class TooltipTest : TestBase { [Test] pub...
C#
ruibarbo.sampletest/Features/TooltipTest.cs
toroso/ruibarbo
apache-2.0
1,636
41
codeparrot/github-code
1c72d68873b940f7eb264c14fe27810d651dbf1f2561ad8d2c1f4f6b3059830b
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>Pyjamas FAQ</title> <style type="text/css"> <!-- .code { margin-left: 50px; margin-right: 50px; background-color: #f0f0f0; padding...
HTML
doc/FAQ.html
anandology/pyjamas
apache-2.0
39,456
862
codeparrot/github-code
0928f0038f9b222f0c0214303734ab53c61191ac1ce8fbc28a0df448aa481e91
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><title>R: rangeBetween</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="R.css"> </head><body> <table width="100%" summary="page for rangeBetween {SparkR}"><tr><td>rangeBet...
HTML
spark-2.0.2-bin-hadoop2.7/R/lib/SparkR/html/rangeBetween.html
TK-TarunW/ecosystem
apache-2.0
2,453
91
codeparrot/github-code
5fddcc256e452c3b5595033ac2f475b473f69c8b0259781b3ea6069d343f7039
package com.planet_ink.coffee_web.http; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.nio.ByteBuffer; import java.util.Arrays; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.ut...
Java
com/planet_ink/coffee_web/http/FileCache.java
bozimmerman/CoffeeMud
apache-2.0
14,074
401
codeparrot/github-code
704c3a20d28cda2f471d81c6acf90dd9b89bdfae4abd0a50bcb291d437313c9f
package com.s24.search.solr.response; import org.apache.solr.common.params.ModifiableSolrParams; import org.apache.solr.common.params.SolrParams; import org.apache.solr.request.SolrQueryRequest; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito...
Java
src/test/java/com/s24/search/solr/response/ThymeleafResponseWriterTest.java
shopping24/solr-thymeleaf
apache-2.0
1,303
50
codeparrot/github-code
ef59da328f19c4b71c01348fcc03f95ed336a42402d528a94dad745d53dd686b
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
src/test/examples/org/apache/http/examples/nio/client/AsyncClientConfiguration.java
AndroidStudioTranslate/Android-Studio-Translate-Tool
apache-2.0
12,859
278
codeparrot/github-code
2ca65f291dfce0b1bef48524627b606ae4caea820f98d6012f57a920b192b94f
package ru.stqa.selenium.legrc.runner.steps.actions; import ru.stqa.selenium.legrc.runner.RunContext; import ru.stqa.selenium.legrc.runner.Step; import ru.stqa.selenium.legrc.runner.StepOutcome; import ru.stqa.selenium.legrc.runner.steps.AbstractStep; import ru.stqa.selenium.legrc.runner.steps.VoidOutcome; import jav...
Java
src/main/java/ru/stqa/selenium/legrc/runner/steps/actions/UseXpathLibraryStep.java
barancev/selenium3-html-suite-runner
apache-2.0
869
33
codeparrot/github-code
9c34e9ae5abefa9f5267aa452ba09e9f7376d017fb1240c0f866408d35f01ffc
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. // You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. // Unless requi...
C#
NakedObjects/NakedObjects.Reflector/FacetFactory/DomainObjectFacetFactoryProcessor.cs
NakedObjectsGroup/NakedObjectsFramework
apache-2.0
2,448
33
codeparrot/github-code
43b976ab5f57f8fcd589459ce885a5ff53de95dcff329b979ebd8bbce75efcd9
package main import ( "database/sql/driver" "fmt" "io" "math/rand" "net/http" "os" "path/filepath" "regexp" "time" ) var ( reName = regexp.MustCompile(`^[A-Za-z.]+$`) reNum = regexp.MustCompile(`^[0-9]+$`) ) type withAuth struct { H http.Handler } func (this withAuth) ServeHTTP(rw http.ResponseWriter, ...
GO
handlers.go
robert-zaremba/oneshot
apache-2.0
3,706
145
codeparrot/github-code
be41c1508a26a95ba1866eee1180355fac66d5e8247c0914996f5afb3a1e0f6c
/* * Copyright 2017 HM Revenue & Customs * * 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...
Scala
test/uk/gov/hmrc/apigateway/service/RoutingServiceSpec.scala
hmrc/api-gateway
apache-2.0
4,864
119
codeparrot/github-code
e5768898b1a2f274b878654d77ac0fc13f4cd793510c2b70e75cf70e91152e1d
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.admin; import com.yahoo.config.model.producer.AbstractConfigProducer; import com.yahoo.vespa.model.AbstractService; import com.yahoo.vespa.model.PortAllocBridge; /** * Represents a ...
Java
config-model/src/main/java/com/yahoo/vespa/model/admin/Configserver.java
vespa-engine/vespa
apache-2.0
2,353
85
codeparrot/github-code
b6aa01ad63aa01af5a72d34aa80ac323f3e08715dea7df219982a5d7fcac291a
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
platform/lang-impl/src/com/intellij/execution/impl/ConfigurationSettingsEditorWrapper.java
youdonghai/intellij-community
apache-2.0
6,178
169
codeparrot/github-code
7eb8722dd31e36bff64cff4a8fe904e5b50f33a99956fa4e876e6ea8181b1dfc
/* * Copyright 2011 - 2013 NTB University of Applied Sciences in Technology * Buchs, Switzerland, http://www.ntb.ch/inf * * 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://ww...
Java
junitHostTest/org/deepjava/comp/hosttest/cfg/CFG00.java
deepjava/compiler
apache-2.0
1,686
52
codeparrot/github-code
86d3d882db7a4f0df20edda80776da825c81edb061ea9a97615762579e1fa7cb
// Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at // // http://www.apache.org/licenses/LICENSE-2....
C#
src/Burrows/Subscriptions/TransientSubscriptionReference.cs
eswann/Burrows
apache-2.0
1,161
36
codeparrot/github-code
37c489ebf441f4841ccd9653da94fa831946a1ae897124b5903f8d1b795b7cc9
/* * Copyright (c) 2014 Haixing Hu * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Java
src/main/java/com/github/haixing_hu/net/UrlPatternBinarySerializer.java
Haixing-Hu/commons
apache-2.0
2,394
76
codeparrot/github-code
92700e641f6d7dfcbb711f093b94797fcb741148dc24a0a8040d2c437853cb0d
// Copyright (C) 2014 Federico Recio /** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
Java
src/test/java/io/federecio/dropwizard/swagger/SimpleServerWithApplicationContextPathSetTest.java
jennifergarcia/dropwizard-swagger
apache-2.0
1,232
33
codeparrot/github-code
cd336f7d1ada2bc35b7fb90827ddc86ec67661b7bd7a9cf2cc53d2db89328aa8
/* * 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
occurrence-ws/src/main/java/org/gbif/occurrence/download/service/workflow/DownloadWorkflowParametersBuilder.java
gbif/occurrence
apache-2.0
3,223
86
codeparrot/github-code
06607d28391ccdf066835404fea9cb30bb8d9aa11d491a5d33027e1d76d4efd5
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
Java
core/src/com/cloud/agent/api/CleanupNetworkRulesCmd.java
mufaddalq/cloudstack-datera-driver
apache-2.0
1,269
48
codeparrot/github-code
b1f8a1c89e952538ee220b09117a446030e10e3a0b1ea2bec40ec4da2cf4f103
// +build linux /* aufs driver directory structure . ├── layers // Metadata of layers │ ├── 1 │ ├── 2 │ └── 3 ├── diff // Content of the layer │ ├── 1 // Contains layers that need to be mounted for the id │ ├── 2 │ └── 3 └── mnt // Mount points for the rw layers to be mounted ...
GO
daemon/graphdriver/aufsext/aufsext.go
solanolabs/docker
apache-2.0
13,298
553
codeparrot/github-code
db229f5ef12ee46154aeb9dbc3d8648046597870916c0e7bcf1320801253f9e6
using Brook.ZhiHuRiBao.Authorization; using Brook.ZhiHuRiBao.Common; using Brook.ZhiHuRiBao.Pages; using Brook.ZhiHuRiBao.Utils; using LLQ; using System; using System.Collections.Generic; using System.Diagnostics; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.UI.Core; using W...
C#
UWP_ZhiHuRiBao/App.xaml.cs
brookshi/UWP_ZhiHuRiBao
apache-2.0
3,529
119
codeparrot/github-code
d3fbfb1d0e04d8ce2c287d2f6a2031eab52ec41c2f98e688f821ac63c89ef943
/* Video For Windows Steering structure * * Copyright 2005 Maarten Lankhorst * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your opti...
C
wine-1.7.7/dlls/qcap/vfwcapture.c
howard5888/wine
apache-2.0
22,690
832
codeparrot/github-code
917869fa7cc2be8a942bbb3ba3a71c97c4d4e3f1f9927bcf74ce9003db0db285
package com.muaavin.webservices.rest; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.w...
Java
src/com/muaavin/webservices/rest/GetPosts_QueryClass.java
codernaut/Muaavin-Web
apache-2.0
13,227
264
codeparrot/github-code
d6473b076a91dfaf914da2fc39b27cd8431cd7556cc67e7cea534cf94e37b58c
/* * Copyright 2019 Ceridwen Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
Java
lcfserver-codegen/src/main/java/com/ceridwen/lcf/server/codegen/Generator.java
ceridwen-com/lcfserver
apache-2.0
4,551
117
codeparrot/github-code
505f4b9e9dfe9c58976ec91e8e6a1f65843662d2fb7df1523ea8bbdbd8c5dc09
/* * 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 u...
Java
python/src/test/java/org/apache/zeppelin/python/PythonInterpreterTest.java
jlagarden/zeppelin
apache-2.0
6,522
234
codeparrot/github-code
6ae74a3093b61e052e219cee2997a0d0eed4841e0ecdf8aaabf12e67ab969990
using System; using System.Diagnostics; using System.Resources; using System.Windows; using System.Windows.Markup; using System.Windows.Navigation; using GalaSoft.MvvmLight.Threading; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using $safeprojectname$.Resources; using $safeprojectname$.ViewM...
C#
Templates/CSharp/ProjectTemplates/Mvvm.WP8/App.xaml.cs
wiyonoaten/MvvmLight2Mvx
apache-2.0
9,425
228
codeparrot/github-code
939dc5d07ca3c111cd664629b6d8578cadae06c5869412fc83b92cf6aa214f6e
#!/usr/bin/env python2 from collections import namedtuple import itertools import re import sys Node = namedtuple("Node", ["word", "tag", "parent", "rel", "path"]) BE_FORMS="is|are|was|were|has|have|had|does|do|did|be" WH_RES = [ r"^what (\w+) (is|are)", r"^what (is|are) the (\w+) of", r"^what (\w+) of"...
Python
extra/vqa/parse.py
jacobandreas/nmn2
apache-2.0
4,979
152
codeparrot/github-code
a2673185e66070d15bada69285bc4e7b8423a05c43e3de405f4ab7e9f88d321d
package org.folio.rest.tools.utils; import static org.junit.Assert.assertEquals; import org.folio.rest.tools.client.BuildCQL; import org.folio.rest.tools.client.Response; import org.folio.util.PercentCodec; import org.junit.Test; import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; /** * @auth...
Java
domain-models-runtime/src/test/java/org/folio/rest/tools/utils/BuildCQLTest.java
folio-org/raml-module-builder
apache-2.0
2,127
57
codeparrot/github-code
15fc8303b7ee47a44d88d6d26b8ccb653091fe302df39874ca863edafef4dfb2
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui"> <title>Streamdata.io Stock-Market</title> <link rel="shortcut icon" href="favicon.i...
HTML
stockmarket-jquery/index.html
CCorazza/streamdataio-js
apache-2.0
10,098
195
codeparrot/github-code
e9120a1dc516987b2ffb3f2d9b00550ef2c68fbb484b907c25afaf08537491c7
using System; using System.Collections.Generic; using System.Linq; using MonoMac.Foundation; using MonoMac.AppKit; using MonoMac.QTKit; using MonoMac.CoreVideo; using MonoMac.CoreImage; namespace StillMotion { public partial class StillMotionDocument : NSDocument { QTMovie movie; QTCaptureSession captureSession...
C#
samples/StillMotion/StillMotion.cs
kangaroo/monomac
apache-2.0
3,977
148
codeparrot/github-code
77c90608f9a175245912a7925cec4c21579984f55a4177f29d657b8917e794f8
// Main script in goto.my // // High-level idea: // Keep a mapping of key->value, where if the user types in key, we go to // value. // // If no value can possibly be matched for the given key, default to searching // (useful for defaulting to a second search engine, or as a shortcut for // internal DNS, if ...
JavaScript
goto.my/goto.js
dyreshark/goto.my
apache-2.0
6,830
257
codeparrot/github-code
f725b8602534ea12bed2625b6c1f2756a97608ca0187929e2017d96962a010c0
package br.com.cams7.teste.service; import static com.googlecode.objectify.ObjectifyService.ofy; import java.io.Serializable; import java.util.List; import org.springframework.stereotype.Repository; import com.googlecode.objectify.Key; import br.com.cams7.teste.model.Mercadoria; /** * Implementa o contrato de persis...
Java
src/main/java/br/com/cams7/teste/service/MercadoriaDAOObjectify.java
cams7/prime-springmvc-gae
apache-2.0
1,715
61
codeparrot/github-code
5fb205ae31d48f3de2e20ee690d36f6df1fe22cdf56a38f1edc1db9190bd5f33
package replicant.spy; import java.util.HashMap; import org.testng.annotations.Test; import replicant.AbstractReplicantTest; import replicant.ChannelAddress; import static org.testng.Assert.*; public class SubscriptionUpdateCompletedEventTest extends AbstractReplicantTest { @Test public void basicOperation() ...
Java
client/src/test/java/replicant/spy/SubscriptionUpdateCompletedEventTest.java
realityforge/replicant
apache-2.0
1,207
37
codeparrot/github-code
f9cd478def974f1c51408824bdc458031cbe378f5bb6c485e8bba6a376d95152
package folioxml.lucene; import folioxml.core.InvalidMarkupException; import folioxml.core.TokenUtils; import folioxml.lucene.analysis.AnalyzerPicker; import folioxml.lucene.analysis.ListAnalyzer; import folioxml.lucene.analysis.LowercaseKeywordAnalyzer; import folioxml.xml.Node; import folioxml.xml.XmlRecord; import ...
Java
contrib/folioxml-lucene/src/folioxml/lucene/InfobaseFieldOptsSet.java
imazen/folioxml
apache-2.0
2,893
77
codeparrot/github-code
42580de682b9e53db778f9adc7f42320d62ffd8c40520d3b1aa7fd9695034d31
/** * Created by Maurício Hanika on 09.08.13. * Copyright (c) 2013 Maurício Hanika. All rights reserved. */ #import "KSHTableViewController.h" @class KSHDataAccessLayer; @class KSHAccount; @class KSHAddExpenseViewController; @class KSHAccountsViewController; @protocol KSHAccountsControllerDelegate <NSObject> @optio...
C
Kash/Classes/View Controllers/Accounts/KSHAccountsViewController.h
mAu888/Kash
apache-2.0
829
30
codeparrot/github-code
3df224b62a132c270f30454366b52cb58c06f4b504e468754d3aa911b2f342b5
package org.moe.bindings.c; import apple.uikit.UIImage; import org.moe.natj.c.CRuntime; import org.moe.natj.c.ann.CFunction; import org.moe.natj.c.ann.CVariable; import org.moe.natj.general.NatJ; import org.moe.natj.general.ann.Generated; import org.moe.natj.general.ann.Mapped; import org.moe.natj.general.ann.MappedR...
Java
ios/src/main/java/org/moe/bindings/c/Globals.java
devjn/GithubSearch
apache-2.0
1,157
48
codeparrot/github-code
3f20a7808141913553f45c0383a3dabaf87d975a0610cdfe01048cb43ac02b15
import { Direction } from "@/services/trades" import { DetectIntentResponse } from "dialogflow" import { ajax, AjaxResponse } from "rxjs/ajax" import { bind } from "@react-rxjs/core" import { createSignal } from "@react-rxjs/utils" import { catchError, distinctUntilChanged, map, mapTo, pluck, switchMap, } f...
TypeScript
src/client/src/Launcher/services/nlpService.ts
AdaptiveConsulting/ReactiveTraderCloud
apache-2.0
4,179
173
codeparrot/github-code
50fecf744682f720596ddcf9a36be9af7d79305de326f9f69cf4c1ecfcd3b9b2
$(function() { var model = { currentCat : null, cats : [{ name: 'Soft Kitty', img: 'images/cat1.jpg', counter: 0 },{ name: 'Mr. Mantequilla', img: 'images/cat2.jpg', counter: 0 },{ name: 'Sleppy Kitty', img: 'images/cat3.jpg', counter: 0 }] }; var octopus = { init:...
JavaScript
blogapp/static/js/app.js
ReactSmart/Blog-App
apache-2.0
2,853
121
codeparrot/github-code
53a0674d37f8fa4f745bc5c0e5059aa3bda8390732756fe85606df5ea6a1c523
package jcrawler.support.http; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Map; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.ResponseHandler; import org.apa...
Java
jcrawler-core/src/main/java/jcrawler/support/http/HttpOperator.java
warhin/jcrawler
apache-2.0
3,706
103
codeparrot/github-code
b539a8a80d6126093b5cb7a67262d22090ab1f2d36fcd9a0c7f3b3d01676d929
package com.yx.platform.core.util; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; /** * 日期操作辅助类 * */ public final class DateUtil { private DateUtil() { } /** 日期格式 **/ public interface DATE_PATTERN ...
Java
yx-platform-common/src/main/java/com/yx/platform/core/util/DateUtil.java
youxiaxiaomage/yx-platform
apache-2.0
5,927
241
codeparrot/github-code
be4eeb437d903cc3dfb7f19ee3edbfa2a57d4db002a2d03e7df76b7f8830d2f9
package org.estatio.module.bankmandate.canonical.v1; import org.apache.isis.applib.annotation.DomainService; import org.apache.isis.applib.annotation.NatureOfService; import org.apache.isis.applib.services.dto.DtoMappingHelper; import org.estatio.canonical.bankmandate.v1.BankMandateDto; import org.estatio.canonical.b...
Java
estatioapp/app/src/main/java/org/estatio/module/bankmandate/canonical/v1/BankMandateDtoFactory.java
estatio/estatio
apache-2.0
3,259
89
codeparrot/github-code
ba6e162aef01c57137d0304dfb5f9cc95d68968fae04c0d0c7311f209249a41a
using System.Diagnostics.Contracts; using System.Threading; using System.Threading.Tasks; namespace System.Reactive { internal sealed class AsyncNotificationProjection<TValue> : IAsyncNotification<TValue> { public TValue Value { get { return value; } } pu...
C#
Main/Source/Rxx.Experimental-Net451/System/Reactive/AsyncNotificationProjection{TValue}.cs
RxDave/Rxx
apache-2.0
1,443
66
codeparrot/github-code
73799a4da99e9ed2ca177a572c1dff7bb0c5ead27200c4b7e467fb0f764af27b
package idv.chatea.gldemo; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.opengl.GLES20; import android.opengl.GLSurfaceView; import android.opengl.Matrix; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import javax.microedition.khronos.egl.EGLConfig;...
Java
app/src/main/java/idv/chatea/gldemo/GLES2_Multiple_Texture_Activity.java
chatea/GLESDemo
apache-2.0
2,460
72
codeparrot/github-code
d9bd753d06dd2a836c2900ce953cba51fd343c39927db22f7490e9902402d406
/* * Copyright 2014 Mikhail Shiryaev * * 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#
ScadaWeb/ScadaWeb/Main.aspx.cs
southasia/scada
apache-2.0
6,303
163
codeparrot/github-code
5b5a89d30a7e46d8c96c0444f7933241f9d91330ef81bdce19be71d68040417b
/** * Copyright 2013 IBM Corp. * * 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 wr...
JavaScript
nodes/io/lib/mqtt.js
1248/node-red
apache-2.0
7,952
228
codeparrot/github-code
6df20504ad5e9a25cd96c9a5cecfa3c4b5c5796e3b03660adb94bfeb36ec7c70
/* +---------------------------------------------------------------------------+ | PHP Driver for MongoDB | +---------------------------------------------------------------------------+ | Copyright 2013-2014 MongoDB, Inc. ...
C
src/MongoDB/Cursor.c
christkv/phongo
apache-2.0
11,988
363
codeparrot/github-code
0e892552ed6801ffa3a2bae57933b7fb03b10df05fd1f62664f0c4faba53e64c
define(function(require){ var _ = require('underscore'); var counter = 1000; function APIdecorator(constructor){ constructor.prototype.save = save; } return APIdecorator; function save(obj){ var script = this.script; if (!_.isPlainObject(obj)){ throw new E...
JavaScript
src/js/APIs/PIAPIdecorator.js
minnojs/minno-quest
apache-2.0
844
37
codeparrot/github-code
f676cf6c8a5e3478a6f5c33fbe682510a666aab84a76a2b4847673f00dd81221
// @flow import { Component } from 'react'; import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet'; import { getSessionStatusToShow } from '../functions'; /** * NOTE: Web currently renders multiple indicators if multiple recording * sessions are running. This is however may not be a good UX as it's no...
JavaScript
react/features/recording/components/AbstractRecordingLabel.js
jitsi/jitsi-meet
apache-2.0
4,757
184
codeparrot/github-code
d06f023c4764f74e5823c0b4a9a791334c06ade2aca7e03d47a177e40831055d
/* * Copyright 2014 Samsung Developer Relations Team (MSCSEA) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
Java
src/co/mscsea/chordchat/fragment/UserListFragment.java
samsungdevs/chordchat
apache-2.0
1,680
56
codeparrot/github-code
129b832bc0b86946708ba4bfc4ff8237b99e097b30e92da05c32887a5cc1c91d
// Compiler implementation of the D programming language // Copyright (c) 1999-2013 by Digital Mars // All Rights Reserved // written by Walter Bright // http://www.digitalmars.com // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // https://github.com/D-Programming-L...
C
lang/d-lang/dmd2/src/dmd/backend/dwarf.c
wpm-org/wpm
apache-2.0
96,341
2,916
codeparrot/github-code
347ae5c250140a775739e71b673f8464eb84d0be53f3bb8665cd2cbdd260fcc2
/* * Copyright 2002-2019 Barcelona Supercomputing Center (www.bsc.es) * * 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...
Java
compss/runtime/commons/src/main/java/es/bsc/compss/types/implementations/MethodImplementation.java
mF2C/COMPSs
apache-2.0
3,893
131
codeparrot/github-code
210bc478ad79d7d10746f7ec3f0b43a116b406444b4ec201e17ed639573da47c
/** Copyright 2014 Jaume Jané Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
Java
src/main/java/cat/tv3/eng/rec/recomana/lupa/StormLupaClusteredTopology.java
jaumejane90/Lupa
apache-2.0
4,361
101
codeparrot/github-code
d6d918ed9a63bafbbc87e80d78d284c05fcb6d8b188493e73a81eed41e3b8846
package org.seasar.doma.internal.jdbc.sql.node; import static org.seasar.doma.internal.util.AssertionUtil.assertNotNull; import org.seasar.doma.DomaNullPointerException; import org.seasar.doma.jdbc.JdbcUnsupportedOperationException; import org.seasar.doma.jdbc.SqlNode; import org.seasar.doma.jdbc.SqlNodeVisitor; pub...
Java
doma-core/src/main/java/org/seasar/doma/internal/jdbc/sql/node/EolNode.java
domaframework/doma
apache-2.0
873
36
codeparrot/github-code
3692f4f5ac63242a50ed79ae546dab8f39f0eb010cc1e2b0e2be14a889d7928e
/** * Copyright 2015 S-CASE Consortium * * 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
eu.scasefp7.eclipse.core.ui/src/eu/scasefp7/eclipse/core/ui/ScaseUiConstants.java
s-case/s-case-core
apache-2.0
6,796
149
codeparrot/github-code
57b161d4a4946419ca317651067270a6f2222472656cf36527b2668d287618ea
package com.itheima.mobilesafe.utils.login; import android.app.Activity; import android.content.Intent; import com.facebook.accountkit.AccessToken; import com.facebook.accountkit.AccountKit; import com.facebook.accountkit.ui.AccountKitActivity; import com.facebook.accountkit.ui.AccountKitConfiguration; import com.fac...
Java
app/src/main/java/com/itheima/mobilesafe/utils/login/AccountKitUtils.java
Catherine22/MobileManager
apache-2.0
1,719
52
codeparrot/github-code
636c36cbc06c24a9c9baf8d03ececd8e511ba174a5f1ad8c3b4ab70190e7e542
package org.test.loader.util; import java.io.FilterReader; import java.io.IOException; import java.io.Reader; public class CharFilterReader extends FilterReader { public CharFilterReader(Reader in) { super(in); } @Override public int read() throws IOException { int c = super.read(); ...
Java
src/main/java/org/test/loader/util/CharFilterReader.java
mazurkin/open_corpora_lemmatizer
apache-2.0
844
42
codeparrot/github-code
863549103e98c4db77dfc0c3983e7972a1001260394838c764cc6c8842fa9613
/* * Copyright 2018 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 applica...
Java
media-widget/src/main/java/androidx/media/widget/VideoTextureView.java
aosp-mirror/platform_frameworks_support
apache-2.0
6,779
199
codeparrot/github-code
69d20ea3bab9d256e906d632b13197fb70be8b6936426080fb40b685cd853ec1
/* * 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
features/generic-dao-producer/generic-dao/src/main/java/dao/Queries.java
Tibor17/javaee-samples
apache-2.0
6,321
147
codeparrot/github-code
cb8274c0462d09c44c5a740736f90f1c5605d2528a262d993b15d259cf058157
# Copyright 2012-2013 OpenStack Foundation # # 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...
Python
openstackclient/volume/v1/volume.py
openstack/python-openstackclient
apache-2.0
22,100
658
codeparrot/github-code
c4f8c3d86544cb884638e3a19d3c3feb0e5d0b9f9ffff4c2c1deedbd63d4798b
// Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in complia...
GO
table/table.go
qiuyesuifeng/tidb
apache-2.0
11,596
283
codeparrot/github-code