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
c684e0936006e40a4022c89d8a3ae1ad6340f142cf73901e4854ddb2a45d1357
<?php print _partial('header_collaborative_projects'); ?> <header id="header"> <div id="header-inner"> <?php if ($logo): ?> <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo"> <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" /> </a> ...
PHP
resources/htmlTemplate/sites/all/themes/cpstandard/templates/page--front.tpl.php
sschuberth/spdx-tools
apache-2.0
4,000
137
codeparrot/github-code
5bd25e56258e6c481903d5ac836996038a73d0480392c8e0a10f156df91f5a86
///////////////////////////////////////////////////////////////////////////// /// ArbitraryFormatSerializer /// Library for serializing data in arbitrary formats. /// /// implement_save_load_serialize.h /// /// This file contains implement_save_load mixin class that provides save() and load() by the means of the sav...
C
arbitrary_format/implement_save_load_serialize.h
Zbyl/ArbitraryFormatSerializer
apache-2.0
9,312
225
codeparrot/github-code
333dc51a0848d6d6d64dab9448318f5dd122db0a51c8ffb2079d0821ec28a2ef
# ----------------------------------------------------------------------------- # # Package : gopkg.in/natefinch/lumberjack.v2 # Version : v2.0.0-20150622162204-20b71e5b60d7 # Source repo : https://github.com/natefinch/lumberjack # Tested on : RHEL 8.3 # Script License: Apache License, Version 2 or later # Maintainer :...
Shell
g/gopkg.in__natefinch__lumberjack.v2/gopkg.in__natefinch__lumberjack.v2_rhel_8.3.sh
ppc64le/build-scripts
apache-2.0
5,139
125
codeparrot/github-code
b772028789f9b33acbdb5cbd50ec46cb56a5844c1f007d4103b6ce8e20499860
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C++
aws-cpp-sdk-elasticache/source/model/Snapshot.cpp
cedral/aws-sdk-cpp
apache-2.0
19,732
519
codeparrot/github-code
6860e8b3393fdd31c8e7c88ad52cb2f92cd792860734e61fd0ebd46071659138
/* * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Java
src/main/java/com/google/schemaorg/core/MotorcycleDealer.java
google/schemaorg-java
apache-2.0
23,054
757
codeparrot/github-code
465c027a19a603034e2695b92ac0e893f528cf2d134df3ced2fb62a574709eff
// Copyright (C) 2016 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 applicable ...
Java
java/com/google/gerrit/server/restapi/change/Rebuild.java
WANdisco/gerrit
apache-2.0
4,432
110
codeparrot/github-code
8e7cea82a98ec64fb2b98becbd2382614e75b6e6a6f755294b56d3a0b9e58508
/********** tell emacs we use -*- c++ -*- style comments ******************* Copyright (c) 2002-2005, Trey Smith. 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:/...
C
src/common/sla.h
trey0/zmdp
apache-2.0
31,401
1,182
codeparrot/github-code
42948d692d65d2b4046064b83d3cfe95127a149441ec78649f833e29c07380ad
package org.epnoi.harvester.routes.oaipmh; import es.cbadenes.lab.test.IntegrationTest; import org.epnoi.harvester.Config; import org.epnoi.model.modules.EventBus; import org.epnoi.storage.UDM; import org.junit.Test; import org.junit.experimental.categories.Category; import org.junit.runner.RunWith; import org.slf4j.L...
Java
harvester/src/test/java/org/epnoi/harvester/routes/oaipmh/OAIPMHTest.java
oeg-upm/epnoi
apache-2.0
1,916
51
codeparrot/github-code
128de0d0893f8de65872f6e512b98d25b6cb957f3a57cd1f7258531737432c04
# =============================================================================== # Copyright 2014 Jake Ross # # 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...
Python
pychron/hardware/environmental_probe.py
UManPychron/pychron
apache-2.0
1,717
53
codeparrot/github-code
63f590cc01bbb5734b62f7e6911681e9ff1bbfb723fde72cf071da9a92747fa8
/* * Copyright 2002-2012 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
common_helper/src/main/java/com/xiongyingqi/util/xml/SimpleNamespaceContext.java
blademainer/common_utils
apache-2.0
5,171
152
codeparrot/github-code
37154488e35398397e64bd7ef69593f0cbdd06031e93bc6330a541e2dd0d18b3
package com.app.apt.processor; import com.app.annotation.apt.ApiFactory; import com.app.apt.AnnotationProcessor; import com.app.apt.inter.IProcessor; import com.app.apt.util.Utils; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.CodeBlock; import com.squareup.javapoet.JavaFile; import com.squareup...
Java
MVP/RxJava2ToMVP/T-MVP-master/apt/src/main/java/com/app/apt/processor/ApiFactoryProcessor.java
weiwenqiang/GitHub
apache-2.0
6,239
120
codeparrot/github-code
a7d9f858db897c0a4a62d6e30c2c5ad67df677d1a9923efdbe3e3daa42b75185
/* * Copyright 2010 Michael Fortin <mike@brzy.org> * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
Scala
src/test/scala/org/brzy/webapp/BrzyServletSpec.scala
m410/brzy
apache-2.0
2,276
60
codeparrot/github-code
57406e10abc8a5b792b17d09e6a425f46ad7727ac9b320e9507d877e34b8c80c
package com.example.coolweather.util; import android.text.TextUtils; import com.example.coolweather.db.City; import com.example.coolweather.db.County; import com.example.coolweather.db.Province; import com.example.coolweather.gson.Weather; import com.google.gson.Gson; import org.json.JSONArray; import org.json.JSONE...
Java
app/src/main/java/com/example/coolweather/util/Utility.java
wjwin/coolweather
apache-2.0
3,289
101
codeparrot/github-code
4a44f6e2d317ffc521444bf6912a5d3747b5a73cfaf9db420e0e6cea2b3d8fac
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>FST - Julia Camargo</title> <meta name="description" content="Keep track of the statistics from Julia Camarg...
HTML
surfers/wqs/jcama.html
chicofilho/fst
apache-2.0
12,158
297
codeparrot/github-code
3697aa8f4a1bd739d2286e9fa52d0dd358e45bd3f8ba7efd62ad2a4988ced7f5
package net.kalinovcic.ld32; import static org.lwjgl.opengl.GL11.*; public class Enemy extends Sprite { public GameStage game; public char origc; public String word; public float speed; public float vely; public boolean removeMe = false; public boolean alive = true; public int he...
Java
src/net/kalinovcic/ld32/Enemy.java
Kalinovcic/LD32
apache-2.0
3,462
123
codeparrot/github-code
d70ce895e6189316fbe1eb8d35bfe0a6a641c8c854bf9fac1bcc60838faa3a50
var robotsParser = require("robots-parser"), urlMod = require("url"); /** * This is a parse that analyzes URL with path /robots.txt. * * @return {Function} Returns the handler. */ module.exports = function (opts) { if (!opts) { opts = {}; } if (!opts.urlFilter) { opts.urlFilter = function () { ...
JavaScript
lib/handlers/robotsParser.js
brendonboshell/supercrawler
apache-2.0
868
40
codeparrot/github-code
ef38c6142e7cb715a8404e0ab4e6bfa45f60903f7c23adc9121cf47f7a39fafc
/* * Sonar, open source software quality management tool. * Copyright (C) 2009 SonarSource * mailto:contact AT sonarsource DOT com * * Sonar 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...
Java
SonarQube/Plugins/sonar-jira-master/src/test/java/org/sonar/plugins/jira/metrics/JiraWidgetTest.java
aifraenkel/caltec-tools
apache-2.0
1,382
42
codeparrot/github-code
5f95059a30842020ca279acf8d4704272f3f19dc828cd769b4bb408c05cd100d
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
app/src/main/java/com/afwsamples/testdpc/policy/systemupdatepolicy/SystemUpdatePolicyFragment.java
googlesamples/android-testdpc
apache-2.0
15,547
376
codeparrot/github-code
a8de5cda136c55c3e3230e7d906120b96e330246c09718c9bfbb6842b8b38170
/* * 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 mx.edu.uam.practica3.controles; import mx.edu.uam.practica3.electroDomesticos.Television; /** * * @author invited */ publi...
Java
Practica3/luzmx/JavaApp/src/mx/edu/uam/practica3/controles/ControlTelevision.java
JavaUAM2016/PracticasOCA
apache-2.0
3,137
95
codeparrot/github-code
4a0625db7d7c1a2ec8ef8f189129807066d73c171e7b96e8fa82a6108a60fdcb
package org.lnu.is.converter.specoffer.type; import static org.junit.Assert.assertEquals; import java.util.Arrays; import java.util.List; import org.junit.Test; import org.lnu.is.domain.specoffer.SpecOfferType; import org.lnu.is.domain.timeperiod.TimePeriod; import org.lnu.is.resource.specoffer.type.SpecOfferTypeRes...
Java
is-lnu-converter/src/test/java/org/lnu/is/converter/specoffer/type/SpecOfferTypeConverterTest.java
ifnul/ums-backend
apache-2.0
3,632
147
codeparrot/github-code
9360d2342e275cdb4fc36eb031a4056563b453af0115361c7e0badd563263c29
package org.drip.service.template; /* * -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /*! * Copyright (C) 2017 Lakshmi Krishnamurthy * Copyright (C) 2016 Lakshmi Krishnamurthy * Copyright (C) 2015 Lakshmi Krishnamurthy * * This file is part of DRIP, a free-software/open-sourc...
Java
src/main/java/org/drip/service/template/OTCInstrumentBuilder.java
lakshmiDRIP/DRIP
apache-2.0
33,137
939
codeparrot/github-code
f4c588808a3ff8b342c304190010ab786abe678f78fa9200fa841d89b98eebb5
"""Voluptuous schemas for the KNX integration.""" import voluptuous as vol from xknx.devices.climate import SetpointShiftMode from homeassistant.const import ( CONF_ADDRESS, CONF_DEVICE_CLASS, CONF_ENTITY_ID, CONF_HOST, CONF_NAME, CONF_PORT, CONF_TYPE, ) import homeassistant.helpers.config_...
Python
homeassistant/components/knx/schema.py
tchellomello/home-assistant
apache-2.0
14,928
386
codeparrot/github-code
b2c1ec48ed92837ef62c932b82953849881d920ac8b10af8391a8446c91e94a8
# # Copyright 2015 Fasih # # 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...
Python
dn.py
faskiri/barry2gugl
apache-2.0
3,915
148
codeparrot/github-code
0fd75552f5a1b6c90ca2b1bcd04efa8c82a7069245c9632873e41889d944f17d
package jose4j.asym; import org.jose4j.jws.JsonWebSignature; import org.jose4j.lang.JoseException; import java.security.PublicKey; public class Jose4jVerifier { public static void main(String[] args) { String token = new Jose4jProvider().create(); try { new Jose4jVerifier().verify(token); } catc...
Java
java/src/main/java/jose4j/asym/Jose4jVerifier.java
nitram509/decentral-authentication-playground
apache-2.0
847
35
codeparrot/github-code
c142eb3fa30120500ed16b124562856d0c3b82689f6cd518873237f918012863
/* Generic definitions */ /* Assertions (useful to generate conditional code) */ /* Current type and class (and size, if applicable) */ /* Value methods */ /* Interfaces (keys) */ /* Interfaces (values) */ /* Abstract implementations (keys) */ /* Abstract implementations (values) */ /* Static containers (keys) */ /* St...
Java
src/main/java/vigna/fastutil/ints/AbstractIntList.java
tommyettinger/doughyo
apache-2.0
19,931
656
codeparrot/github-code
ec3dd8bc3a587ff239868516705903f6dc94d2e7d122fdb77136ebacbbde748e
/* * This file is part of WebScarab, an Open Web Application Security * Project utility. For details, please see http://www.owasp.org/ * * Copyright (c) 2002 - 2004 Rogan Dawes * * Please note that this file was originally released under the * GNU General Public License as published by the Free Software Founda...
Java
src/ch/csnc/extension/httpclient/SSLContextManager.java
NVolcz/zaproxy
apache-2.0
16,043
514
codeparrot/github-code
d4a423fe6089a3b0a9dcefeb1f6b61c0e91e56b3704ea8d81cd7e67527d30ddf
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package kodemat.touch.visu.editor.nifty.panels; import com.jme3.app.Application; import de.lessvoid.nifty.Nifty; import de.lessvoid.nifty.builder.EffectBuilder; import de.lessvoid.nifty.builder.ElementBuilder; ...
Java
KoDeMat_TouchScreen/src/kodemat/touch/visu/editor/nifty/panels/ViewCube.java
akiskip/KoDeMat-Collaboration-Platform-Application
apache-2.0
12,097
318
codeparrot/github-code
db6f0cb82e0b1c2daba00b4ea3b7a1abcfbb99676ea46bcdc8d4dd5b605e907f
maintainer "Ryan J. Geyer" maintainer_email "me@ryangeyer.com" license "All rights reserved" description "Overrides the primary and secondary backup recipes to properly provide mongo data consitency" long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version "0.0.1" r...
Ruby
cookbooks/block_device/metadata.rb
cityindex-attic/cookbooks
apache-2.0
3,924
78
codeparrot/github-code
1654ae82f3c0fae901487e8f9262c727b071fae39efb94f32c8853c303719129
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2013 Couchbase, 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 * * ht...
C
src/http_parse.c
trondn/libcouchbase
apache-2.0
7,407
234
codeparrot/github-code
66a3dbd2c4537ede85cbbdea40351871256ceae10489d49de4c4222de1202576
package org.b3mn.poem.handler; import java.util.Collection; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.b3mn.poem.Identity; import org.b3mn.poem.Persistance; import org.b3mn.poem.business.Model; import org.b3mn.poem.util.AccessRight; ...
Java
poem-jvm/src/java/org/b3mn/poem/handler/RatingHandler.java
grasscrm/gdesigner
apache-2.0
2,930
83
codeparrot/github-code
9812e4d1c419fc4c2e3e4c2d6d753df19b2c23fc2d84940c6caa1fe519e1c210
package com.progbook.resource; import com.fasterxml.jackson.core.JsonProcessingException; import com.ninja_squad.dbsetup.DbSetup; import com.ninja_squad.dbsetup.DbSetupTracker; import com.ninja_squad.dbsetup.destination.DataSourceDestination; import com.progbook.Application; import com.progbook.persistence.CommonDbOpe...
Java
src/test/java/com/progbook/resource/AnswerResourceTest.java
indraneelr/progbook
apache-2.0
4,695
111
codeparrot/github-code
24dc2035a4d98ee3d533cab4fe013ac7d04e3506cc2a02b6a5e9a730bbbed86e
#!/usr/bin/python import re userInput = raw_input("input equation\n") numCount = 0 operandCount = 0 entryBracketCount = 0 exitBracketCount = 0 charCount = 0 endOfLine = len(userInput) - 1 for i in range(len(userInput)): if (re.search('[\s*a-z\s*A-Z]+', userInput[i])): charCount = charCount + 1 print operandCoun...
Python
cis3250labs/parseTest.py
dominickhera/PosaRepo
apache-2.0
2,244
89
codeparrot/github-code
2360465374fb87734e73abb87e7546bfdb9be7a86575ab9135c6b9118d6d37a4
/* * Copyright 2019 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 i...
Java
src/main/java/com/google/jenkins/plugins/containersecurity/client/ClientUtil.java
GoogleCloudPlatform/jenkins-gcr-plugin
apache-2.0
5,295
123
codeparrot/github-code
43459a08e24b8d7a88891e25c3ab4c1c19afab9950774fb87dfe2a8dcfd603b6
import React, {useContext} from 'react'; import {StyleSheet, ScrollView, Text, View, Platform, TouchableHighlight} from 'react-native'; import {NavigationContext} from 'navigation-react'; import {NavigationBar, RightBar, BarButton, SharedElement, useNavigated} from 'navigation-react-native'; export default ({colors, c...
JavaScript
NavigationReactNativeWeb/sample/zoom/Detail.js
grahammendick/navigation
apache-2.0
2,749
89
codeparrot/github-code
c077540fd0db0a33d89d2b14f7fbedd8963cba5e10b5e4ca50c6d11c78fbf45a
package org.ovirt.mobile.movirt.util; import java.util.ArrayList; import java.util.List; import io.reactivex.disposables.Disposable; public class Disposables { private final List<Disposable> disposables = new ArrayList<>(5); public Disposables add(Disposable disposable) { disposables.add(disposable...
Java
moVirt/src/main/java/org/ovirt/mobile/movirt/util/Disposables.java
matobet/moVirt
apache-2.0
828
34
codeparrot/github-code
85cc23e3849a065109efea1ef438e97a6ce9f8ebb42dc06ebe095935939c1c22
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
presto-main/src/main/java/com/facebook/presto/execution/buffer/ArbitraryOutputBuffer.java
EvilMcJerkface/presto
apache-2.0
20,308
548
codeparrot/github-code
af63207a3b853c8136260478e974777bbfcae3987f61fc8fc36dd395c107bbde
/* * #%L * ===================================================== * _____ _ ____ _ _ _ _ * |_ _|_ __ _ _ ___| |_ / __ \| | | | ___ | | | | * | | | '__| | | / __| __|/ / _` | |_| |/ __|| |_| | * | | | | | |_| \__ \ |_| | (_| | _ |\__ \| _ | * |_| |_| \__,_|___/...
Java
dataservice/src/main/java/de/hshannover/f4/trust/visitmeta/ifmap/PollResult.java
MReichenbach/visitmeta
apache-2.0
2,331
85
codeparrot/github-code
f42446ea598c04e75fa0a5281c829ba623f0648ed040250616c71459c3e23cc4
using IntelliTect.Coalesce.TypeDefinition; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Security.Claims; using IntelliTect.Coalesce.Utilities; using System.Reflection; using System.Globalization; namespace IntelliTect.Coalesce.Helpers...
C#
src/IntelliTect.Coalesce/Helpers/Search/SearchableValueProperty.cs
IntelliTect/Coalesce
apache-2.0
10,493
220
codeparrot/github-code
6c6684072de0203a9237c33f616d26de77c073c1e9be990f818e3f57363dd652
/* * Copyright (C) 2014 Stratio (http://stratio.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 app...
Java
src/main/java/com/stratio/qa/utils/CassandraQueryUtils.java
gbecares/bdt
apache-2.0
4,153
132
codeparrot/github-code
fae7d184763c81b5ec6db812d094481702261caf80c052e207449930c18a4cd4
@echo Off setlocal :: use MSBuild from .net framework by default set MsBuildExe="%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild" :: prefer vs2019, vs2017, vs2015 then vs2013 if exist "%PROGRAMFILES%\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\MSBuild.exe" ( set MsBuildExe="%PROGRAMFILES%\Mi...
Batchfile
BuildNugetPackages.cmd
projectkudu/KuduSync.NET
apache-2.0
2,586
36
codeparrot/github-code
3a85fff442e0ce892a5cc90d9fbe6c3001fac70455d11948ea6efe161110dbb5
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>在线考试</title> <meta name="keywords" content="在线考试" /> <meta name="description" content="在线考试" /> <link href="/static/css/reset.css" rel="stylesheet" type="text/css"> <link href="/static/css...
HTML
application/views/submit_examination_mark.html
ksyydream/ksls_2
apache-2.0
10,361
167
codeparrot/github-code
431b496cf483096389093faa0e4dec66c2df51b4169c43237740cecae216be3b
""" Support for KNX/IP climate devices. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/climate.knx/ """ import voluptuous as vol import homeassistant.helpers.config_validation as cv from homeassistant.components.climate import ( PLATFORM_SCHEMA, SUP...
Python
homeassistant/components/knx/climate.py
PetePriority/home-assistant
apache-2.0
11,010
283
codeparrot/github-code
09664dc97ed0fdc7e1182f8efa5423425344a0eb541454013ed3c6972c8683a9
/* * Copyright (c) 2010-2017 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.web.boot; import com.evolveum.midpoint.model.api.authentication.MidPointLdapAuthenticationProvider...
Java
gui/admin-gui/src/main/java/com/evolveum/midpoint/web/boot/LdapSecurityConfig.java
bshp/midPoint
apache-2.0
3,067
88
codeparrot/github-code
7c60d50b35f13ba818af64b999c7187afcdc8538256bcbeb4c229254030585f4
package org.apereo.cas.support.events.redis; import org.apereo.cas.redis.core.CasRedisTemplate; import org.apereo.cas.support.events.CasEventRepositoryFilter; import org.apereo.cas.support.events.dao.AbstractCasEventRepository; import org.apereo.cas.support.events.dao.CasEvent; import lombok.Getter; import lombok.ToS...
Java
support/cas-server-support-events-redis/src/main/java/org/apereo/cas/support/events/redis/RedisCasEventRepository.java
apereo/cas
apache-2.0
4,922
132
codeparrot/github-code
4bc2eb19586a08ce9a7cdd14d589ece122c6f45dab6f85cb2f7bbf2c4a7b860c
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>MinSize - ScalaTest 2.2.6 - org.scalatest.prop.Configuration.MinSize</title> <meta name="description" content="MinSize - ScalaTest 2.2...
HTML
public/scaladoc/2.2.6/org/scalatest/prop/Configuration$MinSize.html
scalatest/scalatest-website
apache-2.0
24,018
437
codeparrot/github-code
2694eb83100cf91346ab9a6e53f4d66aa153ae57b6356c29bb6326c3bf4902c2
package org.javarosa.core.model.instance.utils; import org.javarosa.core.model.instance.FormInstance; import org.javarosa.core.model.instance.TreeElement; import org.javarosa.xml.ElementParser; import org.javarosa.xml.TreeElementParser; import org.javarosa.xml.util.InvalidStructureException; import org.javarosa.xml.ut...
Java
javarosa/core/src/main/java/org/javarosa/core/model/instance/utils/FormLoadingUtils.java
dimagi/javarosa
apache-2.0
1,407
42
codeparrot/github-code
8e267922ea43ef6de2faa39e0acf0a6da1bff7a577d3c972b85ec9416a190a3c
/* * Copyright 2011 Matthias Fuchs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
C++
python/stromx/cvsupport/Image.cpp
sparsebase/stromx
apache-2.0
2,869
67
codeparrot/github-code
7917f634a2066ef481c9d161a43189ef5d1f512a520e51bf55a1143d0ebb75d5
/* * sshIt: simple, powerful, open-source SSH client for Android * Copyright 2014 Alpha 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/LICE...
Java
src/org/alphallc/sshit/util/Encryptor.java
alphallc/connectbot
apache-2.0
6,172
206
codeparrot/github-code
e20d8b86a4c2abfd2223b13645d6fe01bd5c85824661c68dbf0f5a7f522d69f0
package com.github.zhongl.benchmarker; import org.junit.Test; import java.util.concurrent.CountDownLatch; /** @author <a href="mailto:zhong.lunfu@gmail.com">zhongl<a> */ public class RandomOptionalFactoryTest { private final StatisticsCollector collector = new StatisticsCollector(); private final CountDownL...
Java
benchmarker/src/test/java/com/github/zhongl/benchmarker/RandomOptionalFactoryTest.java
zhongl/lab
apache-2.0
1,903
66
codeparrot/github-code
f8323b7c10381abce02cc4b71db981d86066538efc68eeb402d78910f9c5f02c
""" WSGI config for comic project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION`` se...
Python
django/comic/wsgi.py
cpatrick/comic-django
apache-2.0
1,360
37
codeparrot/github-code
97bd5ba63a95db01c869e49a5adb0faf8e3a422ba088c16e6911e728ab1af189
package QueueHandlers; import org.junit.Test; import javax.jms.JMSException; import java.io.IOException; import java.io.ObjectStreamException; import java.io.Serializable; import java.util.ArrayList; import static org.junit.Assert.*; /** * Created by Andras on 27/07/2016. */ public class JMSPubli...
Java
DataCollector/src/test/QueueHandlers/JMSPublisherTest.java
andrasigneczi/TravelOptimizer
apache-2.0
1,980
86
codeparrot/github-code
558d4d95043c8d3a9402bbe97bf7ddff70e01d5e5ee084aece721aacc562a6e1
/* * * * 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 "L...
Java
eagle-security/eagle-security-maprfs-auditlog/src/main/java/org/apache/eagle/security/auditlog/MapRFSAuditLogProcessorMain.java
rlugojr/incubator-eagle
apache-2.0
6,554
115
codeparrot/github-code
d672920f54afec88b24522b6425cb3bdb1980a31fbd883c69619bc24a262a593
const log = require('../logger').gateway; const policies = require('../policies'); const EgContextBase = require('./context'); const express = require('express'); const vhost = require('vhost'); const ConfigurationError = require('../errors').ConfigurationError; /* * A pipeline consists of an apiEndpoint and a set of...
JavaScript
lib/gateway/pipelines.js
srcnix/express-gateway
apache-2.0
7,806
250
codeparrot/github-code
34223cc9db07eb1de29554a7f3e57674ab539771b9032682f68458e465667f45
/* * Copyright 2019 ABSA Group 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 agr...
Scala
persistence/src/main/scala/za/co/absa/spline/persistence/ArangoManager.scala
AbsaOSS/spline
apache-2.0
10,763
285
codeparrot/github-code
34542d3269d4bf53787b8312519874e623af109269356a05de7fac37388aa219
package lt.inventi.apollo.wicket.theme.settings; import lt.inventi.apollo.wicket.theme.ActiveSessionThemeProvider; import lt.inventi.apollo.wicket.theme.ActiveThemeProvider; import lt.inventi.apollo.wicket.theme.DefaultThemeRepository; import lt.inventi.apollo.wicket.theme.ITheme; import lt.inventi.apollo.wicket.theme...
Java
inventi-wicket-resources/src/main/java/lt/inventi/apollo/wicket/theme/settings/ThemeSettings.java
inventiLT/inventi-wicket
apache-2.0
1,007
34
codeparrot/github-code
5dd4dcf66c45d4d351f6b7470854d435a010dccacaf37af5691d768c92ba6565
namespace HanRuEdu.LDAL { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; [MetadataType(typeof(EDU_ZXJX_11_A01_LWSJ_metadata))] public partial class EDU_ZXJX_11_A01_LWSJ { public EDU_ZXJX_11_A01_LWSJ() { LWMC = ""; ...
C#
export/model/HANRU/ZXJX/EDU_ZXJX_11_A01_LWSJ_MODEL.cs
shinkxw/DataAnalysisSystem
apache-2.0
1,997
72
codeparrot/github-code
a14d679f50daf518e1a09c897fec1d8475be5a5c2fd6b9c7878f6c29e1cc63da
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MI...
Rust
src/librustc/middle/typeck/infer/unify.rs
quornian/rust
apache-2.0
14,424
418
codeparrot/github-code
d8d785a2419b1584d25395ee330e6a8d3df5437c37a89ece16887fea4c7de16a
// ----------------------------------------------------------------------------------------- // <copyright file="hashing.h" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with t...
C
Microsoft.WindowsAzure.Storage/includes/wascore/hashing.h
JasonYang-MSFT/azure-storage-cpp
apache-2.0
6,934
269
codeparrot/github-code
5718e0e9b62e0e2f8e12e0ac7bfae5ed6a36506699e42b5d8320d1a927a5d519
/* * Copyright 2021 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
Java
samples/snippets/src/main/java/com/example/contactcenterinsights/CreateIssueModel.java
googleapis/java-contact-center-insights
apache-2.0
2,347
60
codeparrot/github-code
e881d5c989d777f3f55242b06a8544f4d8c5d510ded269a744db3b187e7e3624
/** * * Copyright (c) 2012 - 2014 Carnegie Mellon University * 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 unde...
Java
geolocator-3.0/src/Wordnet/SetUtil.java
weizh/geolocator-3.0
apache-2.0
3,264
152
codeparrot/github-code
3a3cb2beea874935540447720aa9d1ab53526d01331dfb5560659825ea5584f5
package com.tylerlubeck.maraudersmapmultiuser.Models; /** * Created by Tyler on 4/16/2015. */ public class MyLocation { String building_name; int floor_number; int x_coordinate; int y_coordinate; String image_url; public MyLocation() {} public MyLocation(String buildingName, int floorNu...
Java
app/src/main/java/com/tylerlubeck/maraudersmapmultiuser/Models/MyLocation.java
TeamSirius/MaraudersMapMultiUser
apache-2.0
1,160
51
codeparrot/github-code
28055f498a69c72c5ddca8a50c2f800f76125f9a5efdc3c6439930fffdde20ee
#region S# License /****************************************************************************************** NOTICE!!! This program and source code is owned and licensed by StockSharp, LLC, www.stocksharp.com Viewing or use of this code requires your acceptance of the license agreement found at https://github.com/St...
C#
Algo/Storages/Binary/TickBinarySerializer.cs
risty/StockSharp
apache-2.0
10,156
350
codeparrot/github-code
5bc4a2c9f02f76d40c5c360e141d29204ee600b98eaa6f9623e39f7692663bcc
(function(root, undef) { /////////////////////////////////////////////////////////////////////////////////////////////// // pg.js, part of rdflib-pg-extension.js made by Stample // see https://github.com/stample/rdflib.js ///////////////////////////////////////////////////////////////////////////////////////////////...
JavaScript
js/lib/rdflib/rdflib-stample-pg-extension-0.1.1.js
read-write-web/react-foaf
apache-2.0
38,343
1,032
codeparrot/github-code
dc135041c41941b683f3adbd8672622c6b76aedba023ab7c6199b34cca942695
package com.hubspot.singularity.resources; import static com.hubspot.singularity.WebExceptions.checkBadRequest; import java.util.List; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs.core.MediaType; import ...
Java
SingularityService/src/main/java/com/hubspot/singularity/resources/HistoryResource.java
acbellini/Singularity
apache-2.0
8,756
200
codeparrot/github-code
40813e2a76a6037c97666887177175e8d6c238db552bb5f9bf81a39cb6800fb9
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
Java
gravitee-am-gateway/gravitee-am-gateway-handler/gravitee-am-gateway-handler-common/src/main/java/io/gravitee/am/gateway/handler/common/vertx/web/handler/AuthenticationFlowContextHandler.java
gravitee-io/graviteeio-access-management
apache-2.0
3,713
75
codeparrot/github-code
6ebb083be9f117e9e4147d9b7e5975657ae36b36a6593b01de957112efd5d1f9
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
modules/ml/src/main/java/org/apache/ignite/ml/tree/randomforest/RandomForestClassifierTrainer.java
amirakhmedov/ignite
apache-2.0
4,400
114
codeparrot/github-code
1b7617abca6d126bccd0b732786f31fb15efde630207b62cf41ba03430f3d11a
/** * Copyright The Apache Software Foundation * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with this * work for additional information regarding copyright ownership. The ASF * licenses this file to you under the Apache Li...
Java
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionMergeTransaction.java
intel-hadoop/hbase-rhino
apache-2.0
18,314
473
codeparrot/github-code
3a8a0ee69defa94290c903f4fd293b838e5dfb221fe643c7f11784c17a52d61c
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Immutable; using System.IO; using System.Linq; using System.Reflection.Metadata; using System.Reflection.PortableExecu...
C#
src/Compilers/CSharp/Test/Emit/Attributes/InternalsVisibleToAndStrongNameTests.cs
ManishJayaswal/roslyn
apache-2.0
85,612
1,919
codeparrot/github-code
b092d3fc2b9b0952289b696b9a908850d24d22d48415ebb396045e74f00b2dd9
/** * Copyright (c) 2016 Source Auditor 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 appli...
Java
src/org/spdx/compare/SpdxSnippetComparer.java
spdx/tools
apache-2.0
9,956
293
codeparrot/github-code
539b89be1c2e53389aca502d33c6707dd7e0e2c347ce12b5e7a90990dbc3aab9
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GTimeZone</title> <meta name="generator" content="DocBook XSL Stylesheets V1.77.1"> <link rel="home" href="index.html" title="GLib Reference Manual"> <link rel="up" hr...
HTML
host/gui/GTK+/share/gtk-doc/html/glib/glib-GTimeZone.html
jonnyniv/boost_converter
apache-2.0
31,627
548
codeparrot/github-code
585482b33b7bf17b00af8aea5432ef044751e54a760c4c14a161803236f7198e
/* * 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
core/trino-main/src/main/java/io/trino/execution/AddColumnTask.java
Praveen2112/presto
apache-2.0
5,732
133
codeparrot/github-code
96935f0da722433bac4fd764f923f3f77e433a1138a0e76397cd30e97f577a64
import httplib from pyamf import AMF0, AMF3 from pyamf import remoting from pyamf.remoting.client import RemotingService height = 1080 def build_amf_request(const, playerID, videoPlayer, publisherID): env = remoting.Envelope(amfVersion=3) env.bodies.append( ( "/1", remotin...
Python
.kodi/addons/plugin.video.kidsplace/brightcovePlayer.py
aplicatii-romanesti/allinclusive-kodi-pi
apache-2.0
1,587
45
codeparrot/github-code
0b2f396c9d4527ab3fccceee99c5036142a00d2bbfa334b8e396835df4d30135
package org.pac4j.cas.authorization; import org.pac4j.cas.client.CasClient; import org.pac4j.core.authorization.generator.AuthorizationGenerator; import org.pac4j.core.context.WebContext; import org.pac4j.core.context.session.SessionStore; import org.pac4j.core.profile.UserProfile; import java.util.Optional; /** * ...
Java
pac4j-cas/src/main/java/org/pac4j/cas/authorization/DefaultCasAuthorizationGenerator.java
pac4j/pac4j
apache-2.0
1,548
40
codeparrot/github-code
8f576b0427355cbc3813516e88ba51980ddc20adcd7100afa634521e08e115d3
/* * 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
flink-libraries/flink-gelly/src/test/java/org/apache/flink/graph/library/metric/ChecksumHashCodeTest.java
zohar-mizrahi/flink
apache-2.0
1,616
51
codeparrot/github-code
b3a48d5ea19163e2374016f29dfca79676144e56a80981ad7983c0cf978e670d
/** * This file is part of the Uniscala Couch project. * Copyright (C) 2012 Sustainable Software Pty Ltd. * This is open source software, licensed under the Apache License * version 2.0 license - please see the LICENSE file included in * the distribution. * * Authors: * Sam Stainsby (sam@sustainablesoftware.com...
Scala
src/main/scala/net/uniscala/couch/CouchUpdate.scala
stainsby/uniscala-couch
apache-2.0
2,220
89
codeparrot/github-code
0b30840627815b1b0db5aed9fb37116c3a859b136767647c47452117ce1de0e0
package org.mokolo.meet; import java.text.SimpleDateFormat; import java.util.Collection; import java.util.HashMap; import java.util.Map; import java.util.TimeZone; import lombok.Getter; import lombok.Setter; /** * Single sample from meter * */ public class Sample { @Getter @Setter private Long timestamp; @Get...
Java
src/main/java/org/mokolo/meet/Sample.java
fredvos/meet
apache-2.0
2,296
68
codeparrot/github-code
e367f41a04ad9ee1400bc51cb94c99ac3e7d126a26b1fd77a7d66cfbdd4237d0
/** * @license 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 a...
JavaScript
lighthouse-core/audits/accessibility/color-contrast.js
mixed/lighthouse
apache-2.0
1,473
34
codeparrot/github-code
140f3e77d445d1d88a3af501244064ac4755f238b668f79558867087bcbebd5f
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
app/src/main/java/com/baksoy/sunshine/data/WeatherProvider.java
baksoy/Sunshine2
apache-2.0
14,334
354
codeparrot/github-code
6afc2c939ef2338f3aa5b521840133b1f2e03b62451b2b999b6a228888773736
package pro.taskana.rest; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.jupiter.api.Assertions.assertThrows; import java.io.IOException; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api...
Java
rest/taskana-rest-spring/src/test/java/pro/taskana/rest/ClassificationControllerIntTest.java
BVier/Taskana
apache-2.0
12,240
304
codeparrot/github-code
94f1d476b6efc2d7a8fc512e6ac3e8278445608deea82b32f4254e43f343f328
package net.happybrackets.develop; import net.beadsproject.beads.data.Sample; import net.beadsproject.beads.data.SampleManager; import net.beadsproject.beads.ugens.*; import net.happybrackets.core.HBAction; import net.happybrackets.device.HB; import net.happybrackets.device.sensors.*; import net.happybrackets.device.s...
Java
HappyBrackets/src/test/java/net/happybrackets/develop/CassetteTapeMachine.java
orsjb/HappyBrackets
apache-2.0
7,101
193
codeparrot/github-code
5bfc74da884892ad828186ea9fa69f929982154d3e49505e73fd96efd8b4111a
/* * 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
java/jcl/src/java/org/apache/harmony/security/provider/crypto/DSAKeyFactoryImpl.java
webos21/xi
apache-2.0
6,772
227
codeparrot/github-code
9b75bf82010bfe29486c95f570ed497b8caac21efb5741b37563b120a2d85c15
package com.googlecode.blaisemath.primitive; /*- * #%L * blaise-common * -- * Copyright (C) 2014 - 2021 Elisha Peterson * -- * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
Java
blaise-common/src/main/java/com/googlecode/blaisemath/primitive/Markers.java
triathematician/blaisemath
apache-2.0
17,804
464
codeparrot/github-code
5ae171dcfe0f26bc818eedc1ef3d237ca7fa634f38e7bb058f8812ef48d91f6a
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>AndIncludeWord - ScalaTest 2.1.7 - org.scalatest.matchers.MatcherFactory4.AndIncludeWord</title> <meta name="description" content="And...
HTML
public/scaladoc/2.1.7/org/scalatest/matchers/MatcherFactory4$AndIncludeWord.html
scalatest/scalatest-website
apache-2.0
28,911
512
codeparrot/github-code
cf027b783b0f84f7cee11201eadb13607fb8bdedcb2c4320ae839c2515c530c4
/* * Copyright (C) 2013-2015 RoboVM AB * * 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
Tabster/src/main/java/org/robovm/samples/tabster/viewcontrollers/FourViewController.java
samskivert/robovm-samples
apache-2.0
2,319
66
codeparrot/github-code
edbcf0b6a79dfd4c8cfac633de04cdcc5d58245d518d493770e9b1a99f4df6c7
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <TITLE>Key store (CrypTool internal)</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252"> <link rel="stylesheet" type="text/css" href="CrypTool_Help.css"> </HEAD> <!-- multiple keywords for CrypTool HTML help index --> ...
HTML
trunk/CrypTool/hlp_en/keystore.html
flomar/CrypTool-VS2015
apache-2.0
2,944
69
codeparrot/github-code
e94551c9794370c97b4fe5650e6193b286d8303006dab0f805c077b92d3a8daa
<!DOCTYPE html > <html> <head> <title>PrivateMethod - ScalaTest 3.0.4 - org.scalatest.PrivateMethodTester.PrivateMethod</title> <meta name="description" content="PrivateMethod - ScalaTest 3.0.4 - org.scalatest.PrivateMethodTester.PrivateMethod" /> <meta name="keywords" content="Pri...
HTML
public/scaladoc/3.0.4/org/scalatest/PrivateMethodTester$PrivateMethod$.html
scalatest/scalatest-website
apache-2.0
28,261
524
codeparrot/github-code
0a6c4ddb690a72ff5bcd6628b644cdeec289853fee20c1d14bedcb924a696c78
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { Headline } from '@folio/stripes/components'; import css from './ProxyViewList.css'; const ProxyViewList = ({ records, name, label, itemComponent, stripes }) => { const ComponentToRender = itemCompon...
JavaScript
src/components/ProxyGroup/ProxyViewList/ProxyViewList.js
folio-org/ui-users
apache-2.0
1,222
33
codeparrot/github-code
e39042a71c540518cab99a237285d503a8ad35f2a04fcd63806f261b2aa3aaab
/* * Copyright 2016 The BigDL 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 agr...
Scala
spark/dl/src/test/scala/com/intel/analytics/bigdl/integration/torch/MSECriterionSpec.scala
zhangxiaoli73/BigDL
apache-2.0
2,536
72
codeparrot/github-code
da86f2d2d6863e756a5baf8b0deb1d5007a6dc436b2446065ca7ff18dc8c0927
import { useEffect, useState, useMemo } from "react" import useCommons from "../../../lib/hooks/useCommons" import { Link } from "react-router-dom" import StaticTags from "../StaticTags" import useL7Policy from "../../../lib/hooks/useL7Policy" import CopyPastePopover from "../shared/CopyPastePopover" import useListener...
JavaScript
plugins/lbaas2/app/javascript/app/components/l7policies/L7PolicyListItem.js
sapcc/elektra
apache-2.0
8,173
290
codeparrot/github-code
e0efa45a224e0afe3527f596d87f623c089044f58b0b790f392f1ed22c4130de
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
Java
gravitee-am-management-api/gravitee-am-management-api-rest/src/main/java/io/gravitee/am/management/handlers/management/api/authentication/handler/CustomAuthenticationSuccessHandler.java
gravitee-io/graviteeio-access-management
apache-2.0
2,923
66
codeparrot/github-code
1201d9aba144756d2e347c2c6c172cbde6dc762832aadc83c0e9f17f1568c203
/* @internal */ namespace ts.codefix { const fixId = "inferFromUsage"; const errorCodes = [ // Variable declarations Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code, // Variable uses Diagnostics.Variable_0_implicitl...
TypeScript
src/services/codefixes/inferFromUsage.ts
kpreisser/TypeScript
apache-2.0
60,313
1,159
codeparrot/github-code
04a64f3130cf544feeaad594e089c498135d1bb187982fe3c3d80f4bab4b201f
/* * 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-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/RemoveTagsResult.java
jentfoo/aws-sdk-java
apache-2.0
2,404
76
codeparrot/github-code
21e3ca6f02fe80b2a76574a197af46640383fc93831712465538001bd4fba107
'use strict'; import gulp from 'gulp'; import webpack from 'webpack'; import path from 'path'; import sync from 'run-sequence'; import rename from 'gulp-rename'; import template from 'gulp-template'; import fs from 'fs'; import yargs from 'yargs'; import lodash from 'lodash'; import gutil ...
JavaScript
gulpfile.babel.js
mazurevich/test
apache-2.0
3,235
127
codeparrot/github-code
73c68e10de0bd554847dc6f2e68487666e19fca3b6ef8b363a9f2e9a05d0ee44
/* This file is part of Intake24. Copyright 2015, 2016 Newcastle University. 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...
Scala
ApiPlayServer/app/filters/DebugFilter.scala
digitalinteraction/intake24
apache-2.0
1,357
44
codeparrot/github-code
88023237d9923eeef6a9c1b9ff136f42da35d282dc5bbbe915f3eebf294c3846
package cn.wh.bean; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="person") public class Per...
Java
EJB/EntityBean/src/cn/wh/bean/Person.java
bingoogolapple/J2EENote
apache-2.0
1,405
64
codeparrot/github-code
6f27685333e5ddf7e940a8f70c379869e55597e9d3c848072d3cc6b81b08dfbe
package com.microexample.geolocation; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.*; import com.amazonaws.auth.AWSCredentialsProvider; import com.amazonaws.auth.EnvironmentVariableCredentialsProvi...
Java
geolocation/src/main/java/com/microexample/geolocation/GeolocationApplication.java
vahpetr/microapp
apache-2.0
2,396
77
codeparrot/github-code
47c224eeb7ae0740a74486fa498d911354b8da096595b1ac5a8aef7d07728129
from __future__ import absolute_import, unicode_literals import django from django.db import models from django.utils.translation import ugettext_lazy as _ from .managers import QueueManager, MessageManager class Queue(models.Model): name = models.CharField(_('name'), max_length=200, unique=True) objects ...
Python
src/main/python/karellen/kombu/transport/django/models.py
arcivanov/karellen-kombu-ext
apache-2.0
1,161
39
codeparrot/github-code
914751ab2f5ce4cab89abba32f985f09d968b89d8733cdc538d6af1793bc45b6
var GPSClient = {}; GPSClient.send = function(exeurl, latitude,longitude,actionname,username) { var client = Titanium.Network.createHTTPClient({timeout : 100000}); var paramater = '&intaliouser=' + username + '&parameter=latitude:' + longitude + ','; //var paramater = '&username=' + username + '&parameter=latitude:...
JavaScript
Resources/gps.js
DaisukeSugai/salesreport
apache-2.0
1,761
50
codeparrot/github-code
f70ab1228544d2905816acdf469c1b920a5784c258a6a449e905df19c292d137
/** */ package org.afplib.afplib.impl; import java.util.Collection; import org.afplib.afplib.AfplibPackage; import org.afplib.afplib.BRG; import org.afplib.base.Triplet; import org.afplib.base.impl.SFImpl; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; ...
Java
org.afplib/src/main/java/org/afplib/afplib/impl/BRGImpl.java
yan74/afplib
apache-2.0
5,195
225
codeparrot/github-code
cac19c01e46264542f476fa60fe1241a9df88d26dafb16ee25d86043e4d073ec
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C
aws-cpp-sdk-redshift/include/aws/redshift/model/BatchModifyClusterSnapshotsResult.h
cedral/aws-sdk-cpp
apache-2.0
5,092
152
codeparrot/github-code