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
d632f973f5b5d8066c364544abb524557be4f8133a65a2908bf1cd69df671da7
# # Copyright 2013 Nicolas Lamirault <nicolas.lamirault@gmail.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 ...
Python
freeboxclient/simple.py
nlamirault/python-freeboxclient
apache-2.0
1,473
47
codeparrot/github-code
4eb9b9dbe3acb28b5ec29f0038b90fcda24da2ff9dc27a1e5244b2423e289788
package io.igu.cityindex.lightstreamer import com.lightstreamer.ls_client.{HandyTableListener, UpdateInfo} import io.igu.cityindex.lightstreamer.HandyTableListenerBuilder.OnUpdate case class HandyTableListenerBuilder(onUpdateFun: Option[OnUpdate] = None) extends HandyTableListener { def onUpdate(t: OnUpdate): Hand...
Scala
src/main/scala/io/igu/cityindex/lightstreamer/HandyTableListenerBuilder.scala
deadcore/city-index-scala-api
apache-2.0
1,063
36
codeparrot/github-code
54507959d0e0bfe019762e883420fae296442c52fbaf295926cb37c12c824caa
// Copyright 2016 ETH Zurich // // 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 wri...
GO
go/border/rpkt/path.go
dmpiergiacomo/scion
apache-2.0
15,306
461
codeparrot/github-code
f016f7eac164ae25817bba6e48f6e2c2ac10a8bd9668a69a72e170672238950b
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
Java
Source/Plugins/Core/com.equella.core/src/com/tle/web/connectors/manage/FilterByCourseSection.java
equella/Equella
apache-2.0
7,616
208
codeparrot/github-code
5ea3cc83822494f2dbf338df62a7ff64ab7ee4d0f0f0723f3fe2e0312ab2b526
using System; using System.Text; using System.Web; using System.Web.Http.Description; namespace agile9.outlook.context.db.Areas.HelpPage { public static class ApiDescriptionExtensions { /// <summary> /// Generates an URI-friendly ID for the <see cref="ApiDescription"/>. E.g. "Get-Values-id_name...
C#
agile9.outlook.context.db/Areas/HelpPage/ApiDescriptionExtensions.cs
matejv1/agile9.outlook.context.db
apache-2.0
1,497
39
codeparrot/github-code
a4ff5dc4762655516dfc278d3a78727351c71a9ab159b263fe9bcc3d033a242b
# # Copyright 2015 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
Perl
snmp_standard/mode/ntp.pm
s-duret/centreon-plugins
apache-2.0
6,002
169
codeparrot/github-code
1256d82b0e9f02c6b978ed6854f376c81ac69d37d40710821de67fc4e7478fd5
// Copyright 2004, 2005 The Apache Software 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 applic...
Java
contrib/src/java/org/apache/tapestry/contrib/tree/components/table/TreeTableNodeViewDelegator.java
apache/tapestry4
apache-2.0
1,549
46
codeparrot/github-code
817abd3941a5ba5cf842e4c57e4bf4937d571f906f0295776a7d39ee8d2a36c0
using System; using System.Linq; using System.Globalization; using System.ComponentModel; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Runtime.CompilerServices; namespace Aardvark.Base { //# var signedtypes = Meta.SignedTypes; //# var numtypes = Meta.StandardNumericTy...
C#
src/Aardvark.Base/Math/Base/Complex_template.cs
vrvis/aardvark.base
apache-2.0
34,802
1,012
codeparrot/github-code
4bb5f5eb4efd00ca8d1014add7de2b4252b19d0254a19ac67ae72a1c6aa770b1
/* * 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
araqne-httpd/src/main/java/org/araqne/httpd/MimeTypes.java
araqne/webfx
apache-2.0
6,964
220
codeparrot/github-code
9f76de7587738639f005b18ebd5e0af1a36318957691531d4eae46d4de8b69a7
// Copyright 2015 clair authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
GO
database/pgsql/pgsql.go
Quentin-M/clair
apache-2.0
9,196
324
codeparrot/github-code
2be3ed1acef089f2de2efe971db3270e7ea9feb8d442116869b7638636814914
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package project.addmoto.charts; import com.googlecode.charts4j.AxisLabels; import com.googlecode.charts4j.AxisLabelsFactory; ...
Java
ProjectADDMoto/src/project/addmoto/charts/SampleChart.java
kddelosreyes/ADDMOTO
apache-2.0
4,209
93
codeparrot/github-code
4c862b992a9df3ff3f535bb21f421a50dcdc1328a883e086143052b33d59d299
/** * 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
ql/src/java/org/apache/hadoop/hive/ql/exec/PTFRollingPartition.java
vergilchiu/hive
apache-2.0
5,602
191
codeparrot/github-code
b1c0407e189ee103b08e6c1f7aba48edb5475179f0300d9f3c2a1111de36b083
import argparse import logging import netaddr import os from oslo_utils import encodeutils from oslo_utils import importutils import six from . import exceptions from ..i18n import _ ON_STATE = "ON" OFF_STATE = "OFF" def env(*vars, **kwargs): for v in vars: value = os.environ.get(v) if value: ...
Python
eclcli/network/networkclient/common/utils.py
anythingrandom/eclcli
apache-2.0
10,377
375
codeparrot/github-code
b1e4ced1b9bff1561d7690b1270a271a2015d929c89a79ac3309b8d78c21be88
/* * Copyright 2014 by Cloudsoft Corporation 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 ...
Java
docker/src/main/java/brooklyn/entity/container/docker/DockerInfrastructureImpl.java
duncangrant/clocker
apache-2.0
15,734
363
codeparrot/github-code
bf1098fa9530b8198f8e8c92307d0292eb19acfc78a5956287d65550b30c0975
/** * Copyright (C) 2016 - 2030 youtongluan. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
Java
src/main/java/org/yx/rpc/client/Req.java
youtongluan/sumk
apache-2.0
5,779
242
codeparrot/github-code
543a41b51871add61f981e68a491e6f0e8ce3a701de17dc4ea8941bd82bf3500
#!/usr/bin/perl package GATK4::VariantFilterHard; use strict; use warnings; use File::Basename; use List::Util qw[min]; use CQS::PBS; use CQS::ConfigUtils; use CQS::SystemUtils; use CQS::FileUtils; use CQS::NGSCommon; use CQS::StringUtils; use GATK4::GATK4Task; use GATK4::VariantFilterUtils; our @ISA = qw(GATK4::GATK...
Perl
lib/GATK4/VariantFilterHard.pm
shengqh/ngsperl
apache-2.0
4,826
155
codeparrot/github-code
fcc07c1af78683d8bb50352b4a28fdb3c9f15bdde38e34885223f01ed3b1ff80
/* JAI-Ext - OpenSource Java Advanced Image Extensions Library * http://www.geo-solutions.it/ * Copyright 2018 GeoSolutions * 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...
Java
jt-scale2/src/main/java/it/geosolutions/jaiext/scale/Scale2GeneralOpImage.java
geosolutions-it/jai-ext
apache-2.0
42,014
999
codeparrot/github-code
80f1ad2a261c2d9ae3ae775daba943e68a29d8a86c068d728ce703a5f45f5656
<?php namespace EasyRdf; /** * EasyRdf * * LICENSE * * Copyright (c) 2009-2013 Nicholas J Humfrey. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must...
PHP
test/EasyRdf/UtilsTest.php
bsampaio/PHP-SemanticWeb-20142
apache-2.0
11,805
394
codeparrot/github-code
037c617246801d855fb7ac85cf14cdb6d16725e08d4719683682a81237c384c9
package net.soundvibe.reacto.vertx.events; import io.reactivex.Flowable; import io.reactivex.exceptions.MissingBackpressureException; import io.reactivex.processors.*; import io.reactivex.schedulers.Schedulers; import io.vertx.core.Vertx; import io.vertx.core.buffer.Buffer; import io.vertx.core.http.*; import io.vertx...
Java
src/main/java/net/soundvibe/reacto/vertx/events/VertxWebSocketCommandHandler.java
soundvibe/reacto-vertx
apache-2.0
8,275
208
codeparrot/github-code
2aa9f32a9d6f7bf896ebe042d979adc4d953378c36dee33da72b2b040b83379c
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
TypeScript
src/app/shared/glyph-image/glyph-image.module.ts
googleartsculture/workbench
apache-2.0
993
33
codeparrot/github-code
1073187490ca088713c738cf4723624069e53f931c8ed94f14c8fabcd0474170
/* Copyright (C) 2010-2015 The Open University Copyright (C) 2019 Simon Butler Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ...
Java
src/main/java/uk/ac/open/crc/intt/OpcodeDictionary.java
sjbutler/intt
apache-2.0
2,731
101
codeparrot/github-code
b8a73f6e8ede0bc250b6e69fdb4093d296a1b028fe24d84eb5aabfc18d7f03e4
# coding: utf-8 __author__ = 'linlin' import os import logging import re import pdb logger = logging.getLogger(__name__) ################################################################ root_dir = '/home/linlin/time/0903_classify_false_start/1003_raw_features/' separator = '\t\t' #####################################...
Python
src/crf-paper-script/preprocessor6_ssr_rep_increase_5_scale.py
linkinwong/word2vec
apache-2.0
8,405
251
codeparrot/github-code
8091f45d9507cca5489281d7a7489fdfbb4f2b29b5f1dc6ca206b20b912154ba
package com.clicky.profepa; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import com.clicky.profepa.data.PROFEPAPreferences; import com.parse.ParseUser; /** * * Created by Clicky on 3/22/15. * */ public class InitActivity extends ActionBarActivity { ...
Java
Apps/PROFEPA/app/src/main/java/com/clicky/profepa/InitActivity.java
fabmost/RetoForestal
apache-2.0
946
37
codeparrot/github-code
cb6de048a1938eb2da176d3e4364f6267f2d48f4832de8e44625933ccf0eead1
package io.github.leonhover.videorecorder.opengl; import android.opengl.GLES20; import android.util.Log; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuffer; /** * Created by wangzongliang on 17-3-29. */ public class GLUtil { private static final String TAG = "GLUtil"; pub...
Java
videorecorder/src/main/java/io/github/leonhover/videorecorder/opengl/GLUtil.java
LeonHover/MediaCodecRecorder
apache-2.0
3,067
95
codeparrot/github-code
e3c49f175f74add775eee85c945c756e62056cbafc2b311b79c2db73d62396a3
/* Copyright 2001 The Apache Software 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 l...
Java
sources/org/apache/batik/bridge/SVGVKernElementBridge.java
Uni-Sol/batik
apache-2.0
1,085
41
codeparrot/github-code
c8292e0d39a458e47424d749ccc2bb20bfadc1a184131bb24d37bb3aa4808f73
/** Custom module for you to write your own javascript functions **/ var NSA = function () { // private functions & variables focused = "txtNumFormulaString"; var myFunc = function (text) { alert(text); }; /* * INSERT STUFF */ var addChapter = function (ch...
JavaScript
js/NSA.js
SoftArchSOAC/Numerical-Solver-Admin
apache-2.0
47,335
1,089
codeparrot/github-code
9430cdcf3f186aa49e320f385c47ea6361ae226c25c954efe4b8ff9d07e774df
package com.box.l10n.mojito.service.assetintegritychecker.integritychecker; import java.util.HashSet; import java.util.Set; import static org.junit.Assert.assertEquals; import org.junit.Test; /** * Checker for composite format (Windows C# like) * * @author jaurambault */ public class CompositeFormatIntegrityCheck...
Java
webapp/src/test/java/com/box/l10n/mojito/service/assetintegritychecker/integritychecker/CompositeFormatIntegrityCheckerTest.java
box/mojito
apache-2.0
4,106
137
codeparrot/github-code
ef7a065682202fc0b9cc34184f42e25eeff2e2df45a009062dcb3c67a6dc7cb3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>VisibilityClient xref</title> <link type="text...
HTML
packages/hbase-0.98.7-hadoop2/docs/xref/org/apache/hadoop/hbase/security/visibility/VisibilityClient.html
gsoundar/mambo-ec2-deploy
apache-2.0
28,383
222
codeparrot/github-code
b64b37de73f1c2637bf124713afe711cb691b7a1f2aeac0903bede274f75a0e7
/* * Copyright (c) 2010-2013 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.util.logging; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import c...
Java
infra/util/src/main/java/com/evolveum/midpoint/util/logging/LoggingUtils.java
bshp/midPoint
apache-2.0
4,552
122
codeparrot/github-code
7d8b6356b5a43bae18340a67717168b75841affd3b238002df363d78febeaf91
/* * Copyright 2015 OpenMarket 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 law or agreed ...
Java
matrix-sdk/src/main/java/org/matrix/androidsdk/data/MXFileStore.java
Nehasing/Nehachat
apache-2.0
44,971
1,322
codeparrot/github-code
39cda5d35cb72911a46bec2dd85e7b6aaab6fa43841de6639a0207a430333293
/* * 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-iot/src/main/java/com/amazonaws/services/iot/model/transform/ActionMarshaller.java
jentfoo/aws-sdk-java
apache-2.0
6,544
101
codeparrot/github-code
283ad04a074796a82bdd14bf9ed99c55f58d84a962ba1eb54f5090232b3624a6
# Copyright 2015 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
Ruby
google-api-client/generated/google/apis/cloudbuild_v1alpha2/representations.rb
googleapis/google-api-ruby-client
apache-2.0
23,633
621
codeparrot/github-code
fa9c4f76ccf152c0b3b623bd1595c22d419a59c8d957f6739fa117ce6efc4dca
<?php /** * YiiDebug class file. * * @author Sergey Malyshev <malyshev.php@gmail.com> */ /** * YiiDebug class. * * @author Sergey Malyshev <malyshev.php@gmail.com> * @version $Id$ * @package YiiDebugToolbar * @since 1.1.7 */ class YiiDebug extends CComponent { /** * Displays...
PHP
protected/extensions/yii-debug-toolbar/YiiDebug.php
m1k3777/vic
apache-2.0
1,435
59
codeparrot/github-code
9bde436b7d319e9327ddccb6a62b0cf0aa56ea9bacf1d4820a25434d00a4edd5
-- ----------------------------------------------------------------------------- -- -- NAME: create_unison.pblastfeature.sql -- PURPOSE: sql statements and PL/pgSQL commands for creating a -- blast feature table and associated procedures -- -- $Id: create_pblastfeature.sql,v 1.3 2003/04/23 17:19:41 cavs Exp $ ...
SQL
misc/sql-scraps/create_pblastfeature.sql
unison/unison
apache-2.0
6,001
140
codeparrot/github-code
44bc5dba5a706fc7d3adbeee480df7d512b9fc13904f2594760f4c213c5e721b
/* * 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...
JavaScript
dependencies/org.wso2.carbon.ui/src/main/resources/web/ajax/js/scriptaculous/builder.js
asankasanjaya/stratos
apache-2.0
5,192
146
codeparrot/github-code
ed4e158df4c72df7be68d21020051e099ae4d160c89895923280c0bd8fd420ad
using Core.BaseTypes; using Core.Enums; namespace Core.Cells { public abstract class GoldCellBase : Cell { protected GoldCellBase(int coins, int col, int row) : base(col, row) { GoldCoins = coins; } protected override bool PirateComes(Pirate pirate) { KillFoesFor(pi...
C#
Core/Cells/GoldCellBase.cs
VioletTape/Jackal
apache-2.0
1,222
45
codeparrot/github-code
9b0d23d84de617addea3ca47a672d0d808647b75498f1a3662f72aa8e5da1673
/****************************************************************************** * 版权所有 刘大磊 2013-07-01 * * 作者:刘大磊 * * 电话:13336390671 * * email:ldlqdsd@126.com * ****...
Java
system/src/main/java/com/delmar/sys/service/impl/ModuleMenuServiceImpl.java
ldlqdsdcn/wms
apache-2.0
1,155
37
codeparrot/github-code
e8cdce664de401d06da42d3f21a3bcb834f8f0aed9565320759cdbdc91a28a1f
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
src/main/java/org/apache/jetspeed/portlets/prm/application/ApplicationDetailsApplication.java
Konque/J2-Admin
apache-2.0
1,554
41
codeparrot/github-code
9f501ae09daea1c0047cf659db72f8c19889fc0c530c3a07675087deacd8f99f
package br.edu.ufcg.embedded.projectmanager.business; import java.util.HashMap; import java.util.List; import java.util.Map; import br.edu.ufcg.embedded.projectmanager.domain.Project; import br.edu.ufcg.embedded.projectmanager.domain.User; import br.edu.ufcg.embedded.projectmanager.exception.EventException; import br...
Java
src/main/java/br/edu/ufcg/embedded/projectmanager/business/Bus.java
rodrigovilar/project-manager
apache-2.0
1,194
40
codeparrot/github-code
022c6218a286d526594f700e275c9a3959b3045a49d1c26f6731c053b317ea3c
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed...
JavaScript
samples/quickstart.js
googleapis/nodejs-nodejs-dataproc-metastore
apache-2.0
1,645
52
codeparrot/github-code
90dfa2d00e0a7bbcb6700be82d527f4de96d6d0be37b0d96fef1c1219423b488
// Copyright 2015 Pierre Talbot (IRCAM) // 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...
Rust
src/libama/quasiquote.rs
ptal/ama
apache-2.0
4,722
172
codeparrot/github-code
cc4d6b980739da976daa969b6db23cae380d00a5df31fc8b2803ac538a335c11
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>TopCoder SRM 712 - 300: LR</title> <link type="image/x-icon" rel="shortcut icon" href="http://www.topcoder.com/i/favicon.ico"/> <style type="text/css"> /* font */ body { font-family: Helvetica, Arial, Verdana, san...
HTML
SRM 712/LR.html
wittyResry/topcoder
apache-2.0
22,690
658
codeparrot/github-code
b1b8e436550c8cb6ebcf6392dd692eadd1fc8b0cd28525dfb9cddea943fe3bfa
/* * Copyright 2006-2010 Virtual Laboratory for e-Science (www.vl-e.nl) * Copyright 2012-2013 Netherlands eScience Center. * * 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 the following...
Java
source/nl.esciencecenter.vlet.gui.vbrowser/src/nl/esciencecenter/vlet/gui/actions/ActionCommand.java
NLeSC/vbrowser
apache-2.0
7,462
282
codeparrot/github-code
fdfdfb79f3e38ddf04009835fe2cae5cdb5d50c7bb643bd686a969fb7ef17be6
/* * Copyright (c) Members of the EGEE Collaboration. 2006-2010. * See http://www.eu-egee.org/partners/ for details on the copyright holders. * * 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 Licens...
C
src/hessian/boolean.c
dvandok/argus-pep-api-c
apache-2.0
4,267
140
codeparrot/github-code
53f97acf293c2fdb4984b5f0549274ea548459c39f10b31cea1ddf850713022e
package popularioty.api.rest.controller.cors; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.Bean; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework....
Java
src/main/java/popularioty/api/rest/controller/cors/CORSController.java
nopbyte/popularioty-public-api
apache-2.0
2,077
51
codeparrot/github-code
a4f0cebb6dfcc3a1d853d29c11a76bd8fab0111d2dc2d0776810f418f12db8e4
package com.example.administrator.taoyuan.activity_home; import android.app.Fragment; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; impor...
Java
app/src/main/java/com/example/administrator/taoyuan/activity_home/BaoxiuActivity1.java
1111Jin/TaoYuan_group8
apache-2.0
2,620
79
codeparrot/github-code
7ec64b86eb77307c0e8eec7ca2f9c42108e23a031e38ea235633de8ad47ee2bd
/* * Portions Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Java
starlark/src/main/java/net/starlark/java/syntax/LoadStatement.java
JoelMarcey/buck
apache-2.0
2,887
102
codeparrot/github-code
ed62df743943d4849b32f78a449803f6cad8bc3daf4045de223b39dfc357a851
package com.daemon.pas.ui.activity; import android.app.Activity; import android.graphics.Bitmap; import android.view.View; import android.widget.Button; import android.widget.ImageView; import android.widget.ProgressBar; import com.daemon.mvp.view.AppView; import com.daemon.pas.R; import com.daemon.pas.utils.ImageLoa...
Java
app/src/main/java/com/daemon/pas/ui/activity/ImageDetailView.java
Daemon1993/Pas
apache-2.0
3,095
109
codeparrot/github-code
b703c15947bc5e6364dd7b7e3672029659f0e57bb5090204cefdf663c1b140a0
/*- * Copyright 2016 Vsevolod Stakhov * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
C
src/libserver/rspamd_control.h
moisseev/rspamd
apache-2.0
6,140
298
codeparrot/github-code
47f7fbaca628310a0c04476fe811dfa25214ac98fb0219d0158bef5c2bd64a0c
package org.asciidoc.intellij.actions.intentions; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.project.Project; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiFile; import com.intellij.psi.PsiNamedElement; import com.intellij.util.IncorrectOperationException; import org.asciid...
Java
src/main/java/org/asciidoc/intellij/actions/intentions/AsciiDocInlineIntention.java
asciidoctor/asciidoctor-intellij-plugin
apache-2.0
1,416
46
codeparrot/github-code
9ba4a74db05bf364e27ba58ea1bcc8e1bc455ebda9c2fcb5016bb77b86119939
/* * Copyright (c) 2015 CoNWeT Lab., Universidad Politécnica de Madrid * * 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...
JavaScript
test/task.spec.js
Wirecloud/grunt-wirecloud
apache-2.0
4,020
131
codeparrot/github-code
615f3bf162e060de50cf3ddbee741ebfc416d5d7817e3a9cdf586aa7921db35e
/* SPC5 HAL - Copyright (C) 2013 STMicroelectronics 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 applic...
C
os/hal/ports/SPC5/SPC5xx/EDMA_v1/spc5_edma.h
marcoveeneman/ChibiOS-Tiva
apache-2.0
29,686
1,006
codeparrot/github-code
5b37a4ac5513eefcea478d7a19378c2d56010c8f8762826cc8d49f1a2b28fc3d
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
Java
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/OrderedPhoneNumberMarshaller.java
aws/aws-sdk-java
apache-2.0
2,302
59
codeparrot/github-code
1039f21e257ddb1080d2d6db5ef69a501b70f302ae23d8d9a8fa06bce7333d3f
package io.gatekeeper.api.controller; import io.gatekeeper.api.AbstractController; import io.gatekeeper.api.NotFoundException; import io.gatekeeper.model.ProviderModel; import io.gatekeeper.node.ServiceContainer; import io.gatekeeper.node.service.BackendService; import io.gatekeeper.node.service.ProviderService; impor...
Java
src/main/java/io/gatekeeper/api/controller/GetProviderExtra.java
JackPrice/gatekeeper
apache-2.0
1,624
55
codeparrot/github-code
5609b6855178b609f73b0e1489fec4d165e755eaa237583ba592c3e85083fe2c
<?php namespace backend\controllers; use Yii; use backend\models\Menu; use backend\models\MenuSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use yii\helpers\ArrayHelper; /** * MenuController implements the CRUD actions for Menu model. */ class MenuController extends ...
PHP
backend/controllers/MenuController.php
songhongyu/idaiyan
apache-2.0
4,070
167
codeparrot/github-code
52789004dd99fa5e5318826ce7cd5a0a8c8a43c4be4a74feaee01af499dd209f
<style> .margin-top{ margin-top: 10px; } #search-advanced{ border-top: 1px solid #aaaaaa; margin-top: 2px; } </style> <script> $(document).ready(function(){ //------------------print <?if($var->print!=1):?> //------------------search-advanced-date $('form#form-search-find :checkbox[name=dof]...
PHP
view/member.q.php
ariax/phpcms
apache-2.0
9,848
265
codeparrot/github-code
c1c61e9dbe2c794543c8d53c484fa1ca157b68a9d658aa7f4aae98ed3c0769f4
package com.joescii package typeprog { sealed trait BoolType { type Not <: BoolType type Or[That <: BoolType] <: BoolType type And[That <: BoolType] = this.type#Not#Or[That#Not]#Not type Imp[That <: BoolType] = this.type#Not#Or[That] } sealed trait TrueType extends BoolType { override type No...
Scala
src/main/scala/com.joescii.typeprog/BoolType.scala
joescii/type-prog-impress
apache-2.0
829
30
codeparrot/github-code
32858623a9d324479b9db4254ea48059498d43169ed65acde0dc7588b86e4f8a
package me.jessyan.mvparms.demo.mvp.model.entity.zhihu; import java.io.Serializable; import java.util.Arrays; import java.util.List; /** * Created by Werb on 2016/8/19. * Werb is Wanbo. * Contact Me : werbhelius@gmail.com */ public class News implements Serializable { private String body; private String ...
Java
app/src/main/java/me/jessyan/mvparms/demo/mvp/model/entity/zhihu/News.java
coca-cola33/CloudFilm
apache-2.0
3,021
135
codeparrot/github-code
e60c6376dd28b5a9eb48fba66f7acf48a4965e76674e08b368eea1a4a56e6eae
/* Copyright 2017 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
C
src/lullaby/systems/render/detail/gpu_profiler.h
Jon-Biz/lullaby
apache-2.0
3,353
104
codeparrot/github-code
461d55ba31cb0f5e9e0f66a82874341c996df61875b6b95754aa8ac58cb20548
var hierarchy = [ [ "_datetime", "a00085.html", null ], [ "_longHorMetric", "a00086.html", null ], [ "_uint24", "a00255.html", null ], [ "ADAPT_CLASS_STRUCT", "a00256.html", null ], [ "ADAPT_RESULTS", "a00257.html", null ], [ "ADAPT_TEMPLATES_STRUCT", "a00258.html", null ], [ "ADAPTED_CONFIG...
JavaScript
3.x/hierarchy.js
stweil/tesseract-ocr.github.io
apache-2.0
64,663
966
codeparrot/github-code
d4cab3d96bf31d9e10e8d6dd55838de859b3617709687d433513c9e6fa3d6fda
// Closes the sidebar menu $("#menu-close").click(function(e) { e.preventDefault(); $("#sidebar-wrapper").toggleClass("active"); }); // Opens the sidebar menu $("#menu-toggle").click(function(e) { e.preventDefault(); $("#sidebar-wrapper").toggleClass("active"); }); // Scrolls to the selected menu it...
JavaScript
js/index.js
jziesing/sdfreshcatch
apache-2.0
1,260
45
codeparrot/github-code
4f0c8b04af404d25e59a81def98e9f134857f0c3e753413e2952e8da78023c69
/* * Copyright 1999-2019 Seata.io Group. * * 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...
Java
discovery/seata-discovery-eureka/src/main/java/io/seata/discovery/registry/eureka/EurekaRegistryServiceImpl.java
seata/seata
apache-2.0
10,421
257
codeparrot/github-code
bb14350e237c7dd41c8f0a18a6f2dc35c63f5492b06ea3c0ae11e8082b7f0576
/* Copyright 2013 Heart Solutions Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
Java
src/com/udfv/core/UDF_ElementBase.java
i10a/udfv
apache-2.0
30,295
1,379
codeparrot/github-code
73f1d0dd65adf8b3851e4d944d9043c47d101777dbbfacc7a95bda533239d02a
/* * * Copyright (c) 2016-2017 Nest Labs, 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...
C++
src/test-apps/TestSystemTimer.cpp
openweave/openweave-core
apache-2.0
6,830
264
codeparrot/github-code
b469ffcb4d6dddd97c4555fc43d0addc65e91a5bdffa150edb257c84e5f7123f
package bar.foo; import static aaa.XAAA.aaa; import static com.google.common.collect.Multimaps.forMap; import static foo.bar.XFOO.foo; import static org.easymock.EasyMock.createControl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import org.easymock.IMocksControl; import com.google....
Java
testProject/src/main/java/bar/foo/XBAR.java
krasa/EclipseCodeFormatter
apache-2.0
656
33
codeparrot/github-code
dd0a036d8508f4a4c560029eb4816d2c32b6d3fcf5e8a416f28184e5c2258615
package resources import "github.com/awslabs/goformation/cloudformation/policies" // AWSDynamoDBTable_TimeToLiveSpecification AWS CloudFormation Resource (AWS::DynamoDB::Table.TimeToLiveSpecification) // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-timetolivespecification...
GO
cloudformation/resources/aws-dynamodb-table_timetolivespecification.go
PaulMaddox/goformation
apache-2.0
2,934
63
codeparrot/github-code
3ccaa707daced86c610c2d3760edf1c11fc6ab9b98e979da569eed4b1dad8bae
<?php namespace DCarbone\PHPFHIRGenerated\STU3\FHIRElement; /*! * 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:43+0000 * * PHPFHIR Copyright: * * C...
PHP
src/DCarbone/PHPFHIRGenerated/STU3/FHIRElement/FHIRRequestPriority.php
dcarbone/php-fhir-generated
apache-2.0
11,879
325
codeparrot/github-code
00fbfa81f0c645146075edbb9eb579b6008976563243074bd39966fde23acfce
/* * Copyright (c) 2014 Spotify AB * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, ...
C++
src/test/cpp/JavaClassTest.cpp
spotify/JniHelpers
apache-2.0
8,685
220
codeparrot/github-code
6f7fcbf2d69db36d368a759409f933b7cd7836938af9e91664467ab0b2dc1981
/** * Copyright (C) 2004-2014 the original author or authors. See the notice.md file distributed with * this work for additional information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may...
Java
bootstrap/src/main/java/virtuozo/interfaces/Toolbar.java
virtuozo/spa-framework
apache-2.0
1,202
37
codeparrot/github-code
ea1f8b747de4b7d252bed461a04715e9ee7f92734c323f92380d691a84d10a20
/* * -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- * March 2010: TightVNC 1.3.10 source modified as standalone x86/x64 DLL. * -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- * Tested On x86 Windows: - NT4, 2000, XP, 2003, Vista, 2008, 7 * Tested On x64 Windows...
C++
winvnc/vncdll.cpp
artkond/Invoke-Vnc
apache-2.0
11,076
389
codeparrot/github-code
6458e05c062ec00376448586a9a67c5de16cad5f6b4023e9a6dc4dcd1fbdb1d4
/* * Copyright 2015 byteslounge.com (Gonçalo Marques). * * 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...
Java
cdi-properties-test/cdi-properties-test-common/src/main/java/com/byteslounge/cdi/test/it/common/AbstractWarDefaultPropertyMethod.java
gonmarques/cdi-properties
apache-2.0
2,042
48
codeparrot/github-code
ff1549ef1ca17176b70b8cdcb81e507a6ff35449ee5718239e4ebec148408346
// Copyright (c) 2018 Cisco and/or its affiliates. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at: // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
GO
db/cryptodata/wrapper_bytes.go
lukasmacko/cn-infra
apache-2.0
6,626
200
codeparrot/github-code
a3772d740e6960b47b2e9a646aa853733960cff1b698a90bd21b679be8da5b36
<!doctype html> <html class="theme-next mist use-motion"> <head> <meta charset="UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> <meta http-equiv="Cache-Control" content="no-transform" /> <meta h...
HTML
tags/web/index.html
alisa0318/alisa0318.github.io
apache-2.0
13,990
617
codeparrot/github-code
118a3f682b3e7502c02e922a1e927933dfe9425f658c1318bf33e6f2bfe6260b
/* * wpa_supplicant - P2P * Copyright (c) 2009-2010, Atheros Communications * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef P2P_SUPPLICANT_H #define P2P_SUPPLICANT_H enum p2p_wps_method; struct p2p_go_neg_results; enum p2p_send_action_result; st...
C
hostapd-OpenWrt/wpa_supplicant/p2p_supplicant.h
wangybgit/Chameleon
apache-2.0
12,115
322
codeparrot/github-code
822a303ecf265ebd5d7412eb27bdf98f8c0636ed586afd2ad72e12a8bd4d21ca
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.math.interpolation.data; import java.io.Serializable; import java.util.Arrays; import org.apache.commons.lang.Validate; /** * */ public class In...
Java
projects/OG-Analytics/src/main/java/com/opengamma/analytics/math/interpolation/data/Interpolator2DDataBundle.java
ChinaQuants/OG-Platform
apache-2.0
1,800
77
codeparrot/github-code
92ec483621967e72294692071d8eab26cf2931e6ae2caff74a95994a39a4514c
package com.github.nikitin_da.sticky_dictionary.controller; import android.support.annotation.NonNull; import android.text.TextUtils; import android.view.View; import android.widget.Button; import android.widget.EditText; import com.github.nikitin_da.sticky_dictionary.R; import butterknife.InjectView; import butterk...
Java
app/src/main/java/com/github/nikitin_da/sticky_dictionary/controller/GroupEditFieldsController.java
nikitin-da/sticky-dictionary
apache-2.0
1,139
41
codeparrot/github-code
5cff52205f0400a2337cc89eefaa2ced07758f2c098f9b4218ba6ce2f9491c87
package sk.tuke.gamedev.iddqd.tukequest.util; import com.badlogic.gdx.ApplicationLogger; import java.util.function.Consumer; /** * Created by Steve on 02.04.2017. */ public class Log implements ApplicationLogger { public static boolean trace; public static boolean debug = true; public static void t(O...
Java
core/src/sk/tuke/gamedev/iddqd/tukequest/util/Log.java
scscgit/TukeQuest
apache-2.0
2,560
90
codeparrot/github-code
da22735f56e4b85fa780671851b2f5934705a9002a2fedc4f9b99abc183cee2a
/** * * Copyright 2009 (C) The original author or authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
url-handlers/src/main/java/org/papoose/core/ServiceBasedURLStreamHandler.java
papoose/papoose-core
apache-2.0
3,074
111
codeparrot/github-code
13dff620dc0e26f10a3928f83a598a84c3ab4400c6b45fa8c27348c985f590b1
package piano; import java.util.ArrayList; import javax.sound.midi.MidiUnavailableException; import midi.*; import music.NoteEvent; import music.Pitch; public class PianoMachine { private Midi midi; Instrument instr = Instrument.PIANO; private int pitch; private ArrayList<NoteEvent> track = new ArrayList<Note...
Java
MidiProject/src/piano/PianoMachine.java
emrickgarrett/CSE211Project2
apache-2.0
4,081
154
codeparrot/github-code
b83d1bcc12aee79128e742cabe5177145c2a681aa1b1684fae5208d5e3122329
#include <bits/stdc++.h> template<typename T> T gcd(T a, T b) { if(!b) return a; return gcd(b, a % b); } template<typename T> T lcm(T a, T b) { return a * b / gcd(a, b); } template<typename T> void chmin(T& a, T b) { a = (a > b) ? b : a; } template<typename T> void chmax(T& a, T b) { a = (a < b) ? b : a; ...
C++
SPOJ/Vestibular.cpp
aajjbb/contest-files
apache-2.0
624
35
codeparrot/github-code
9e29c672a55f7fd4cb4ceb5cbcc898af07cef0f522210f8fa2e12ef030f324cc
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2016 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define([ "jquery.sap.global", "./library", "sap/ui/core/Control", "sap/ui/core/delegate/ScrollEnablement", "./WizardStep",...
JavaScript
resources/sap/m/Wizard-dbg.js
SuicidePreventionSquad/SeniorProject
apache-2.0
27,734
905
codeparrot/github-code
9f47bae936f3de811f2b257d32a3300f7e6adabf48cc119e832d7696f8347f3a
/* * Copyright 2016 Hewlett Packard Enterprise Development LP * * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
C++
src/workload/MessageDistributor.cc
hkustliqi/SuperSim
apache-2.0
1,303
41
codeparrot/github-code
ef11f13756581963f603508ad693826593130443d35e1d169738c53706d8a558
/** * JBoss, Home of Professional Open Source. * Copyright 2014-2018 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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...
Java
rest/src/main/java/org/jboss/pnc/rest/provider/ArtifactProvider.java
jdcasey/pnc
apache-2.0
10,491
228
codeparrot/github-code
85ff3241c534873bab48243f1db67942fc9ea895500869c079660bb983418bb2
<!DOCTYPE html> <html lang="en"> <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>Homepage</title> <!-- django Will load the file ...
HTML
trafficdata/templates/trafficdata/index.html
saurabhkumar1989/traffic_data_backend
apache-2.0
8,236
236
codeparrot/github-code
89948b09b3c32606f428c951c0f47472fa37f6c3cf10faca8895181a68518937
package kr.ac.kaist.se.tardis.web.controller; import static org.hamcrest.Matchers.containsString; import static org.hamcrest.Matchers.empty; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.not; import static org.junit.Assert.assertThat; import static org.springframework.test.web.serv...
Java
SAM/web/src/test/java/kr/ac/kaist/se/tardis/web/controller/OverviewControllerIntegrationTest.java
rbraeunlich/Project-TARDIS
apache-2.0
3,040
91
codeparrot/github-code
921f3fd54f1b8226b0359ac3c92b569cadc607e385dbc3e4c0aa400a9e46279a
package services import akka.actor.Scheduler import akka.pattern.after import akka.stream.scaladsl.SourceQueueWithComplete import org.slf4j.{Logger, LoggerFactory} import services.OfferHandler.log import scala.concurrent.duration._ import scala.concurrent.{ExecutionContext, Future} import scala.language.postfixOps im...
Scala
server/src/main/scala/services/OfferHandler.scala
UKHomeOffice/drt-scalajs-spa-exploration
apache-2.0
1,681
43
codeparrot/github-code
9406ab9b4b5d4cc1dcc507766b0c673be35a1cf50cb0b4578ce9fec6759e05ba
/* * 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-iotwireless/src/main/java/com/amazonaws/services/iotwireless/model/transform/DownlinkQueueMessageMarshaller.java
aws/aws-sdk-java
apache-2.0
2,970
65
codeparrot/github-code
1310dff36967a02d061d74221c99d8e9dda81778265f4cd8f5526a7ddca10ca3
/** * 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
streams/src/main/java/org/apache/kafka/streams/processor/TopologyBuilder.java
jack6215/kafka
apache-2.0
21,610
472
codeparrot/github-code
feff5e516a24f8bdec92d29a43c6c1aef256c82ef1e659df1780f8099e39e154
var moment = require('alloy/moment'); exports.buttonTab1 = $.buttonTab; exports.buttonTab2 = $.invisibleTabA; exports.buttonTab3 = $.invisibleTabB; /* * Create collection and coresponding models with result of FB graph API call * replace var evs with collection * what adaptor should be used? */ var fb = Alloy.Gl...
JavaScript
app/controllers/events.js
illstr8or/MyTBKApp
apache-2.0
2,680
96
codeparrot/github-code
a3376403bd54570e10ffe92d6c4fbde3c95d471d14c7e723f4f06db9fe4b8422
/* * Copyright (C) 2015, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The PSYCO: A Predicate-based Symbolic Compositional Reasoning environment * platform is licensed under the Apache License, Version 2.0 (the "L...
Java
src/main/java/gov/nasa/jpf/constraints/expressions/LogicalOperator.java
psycopaths/jconstraints
apache-2.0
1,834
54
codeparrot/github-code
c41fa21d633f1a1b9fbe6661377277a5452d40fd0eae0f7637ec51eaf40b5b8b
package org.apereo.cas.configuration.model.support.ehcache; import org.apereo.cas.configuration.model.core.util.EncryptionRandomizedSigningJwtCryptographyProperties; import org.apereo.cas.configuration.support.RequiredProperty; import org.apereo.cas.configuration.support.RequiresModule; import com.fasterxml.jackson.a...
Java
api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/ehcache/Ehcache3Properties.java
apereo/cas
apache-2.0
2,702
92
codeparrot/github-code
13d1defa54fd78a7729ff0031aefcbdbf4b31ec4fda38534906130d5c303c2f7
# # Copyright 2012 Sonya Huang # # 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...
Python
py/wiod/parsers/eia.py
sonya/eea
apache-2.0
2,800
76
codeparrot/github-code
9d3d7bb996035dca4c21e3e039d875703cbcbe37d9ca9430d5157b4fc5e4cc9d
/* * Copyright 2003,2004 The Apache Software 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 re...
C++
src/xercesc/internal/XTemplateSerializer.hpp
rherardi/xerces-c-src_2_7_0
apache-2.0
19,144
365
codeparrot/github-code
8365261652af71ad6f9ea616415e6001acd6cae053c5510000bed7cf533f47a2
package com.tinkerpop.blueprints.impls.orient; import com.tinkerpop.blueprints.Graph; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** * Test suite for OrientDB graph implementation that store edges using custom classes derived by * labels. * * @author Luca Garulli (l.garulli--(at)--orientdb....
Java
graphdb/src/test/java/com/tinkerpop/blueprints/impls/orient/OrientGraphCustomEdgesTestIT.java
orientechnologies/orientdb
apache-2.0
1,382
33
codeparrot/github-code
19ea77666e45f1fa6b6942c3e90ec07f5dd199972e14015100ec3afe77779105
/* * Copyright 2010-2014 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 ...
Java
covito-kit-web/src/main/java/org/covito/kit/web/springmvc/controller/BaseController.java
kiwilew/covito-kit
apache-2.0
3,626
155
codeparrot/github-code
9f9dbca55a80116f6991342f165e3edca678a07546783dfde2a2d09683b978fc
using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using System.Threading.Tasks; using Ku.Core.CMS.Domain.Dto.Communication; using Ku.Core.CMS.Domain.Entity.Communication; using Ku.Core.CMS.IService.Communication; using Ku.Core.CMS.Web.Base; using Ku.Core.CMS.Web.Security; namespace Ku.Core.CMS.Web.Back...
C#
source/Ku.Core.CMS.Web.Backend/Pages/Communication/Sms/AccountList.cshtml.cs
kulend/Vino.Core.CMS
apache-2.0
1,670
62
codeparrot/github-code
2b099bc151fa8b7a61e32d5f14fcc9dee90b795abcd5b07abb785384bf486e98
/* * Copyright 2010-2014 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 "l...
C#
sdk/src/Services/CloudFront/Generated/Model/Internal/MarshallTransformations/InvalidationListUnmarshaller.cs
mwilliamson-firefly/aws-sdk-net
apache-2.0
4,514
116
codeparrot/github-code
b26fe8e22bc823c8dbe8ca691f5815a4a3a3473dd8835d55d714a4e676844acb
/* * #%L * JBossOSGi SPI * %% * Copyright (C) 2010 - 2012 JBoss by Red Hat * %% * This program 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 o...
Java
src/test/java/org/jboss/test/osgi/metadata/ManifestBuilderTestCase.java
jbosgi/jbosgi-metadata
apache-2.0
4,017
90
codeparrot/github-code
eae590290f310095a7b81f63ab1a771989a11c853438cb0190cceb9f1e602bc8
/* * Copyright 2000-2014 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
nuget-server/src/jetbrains/buildServer/nuget/server/feed/server/javaFeed/cache/ResponseCacheEntry.java
stormleoxia/teamcity-nuget-support
apache-2.0
1,953
56
codeparrot/github-code
1b0a13f30fb9181600cbe9fd8a7652370a69abcd4e6a45a93b5196010f1a567b
package io.airlift.airline; import com.google.common.base.Joiner; import io.airlift.airline.Cli.CliBuilder; import org.testng.annotations.Test; import javax.inject.Inject; import java.util.ArrayList; import java.util.List; import static com.google.common.base.MoreObjects.firstNonNull; import static com.google.commo...
Java
src/test/java/io/airlift/airline/TestGalaxyCommandLineParser.java
electrum/airline
apache-2.0
13,748
420
codeparrot/github-code