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
689f944f6c3982a531d2bb1572be3fce42c7acff6b3c4279cff31176671c47fd
<?php /** * The reasons for an OfflineConversionError. * @package Google_Api_Ads_AdWords_v201605 * @subpackage v201605 */ class OfflineConversionErrorReason { const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201605"; const XSI_TYPE = "OfflineConversionError.Reason"; /** * G...
PHP
Google/Api/Ads/AdWords/v201605/classes/OfflineConversionErrorReason.php
SonicGD/google-adwords-api-light
apache-2.0
738
37
codeparrot/github-code
56f8c160768aaabb27b132331a3cba9492fcfc788d9ad49ed45af5c8ea7c98da
/* * Copyright 2014-2020 Real Logic 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
C++
aeron-client/src/main/cpp/util/MemoryMappedFile.cpp
EvilMcJerkface/Aeron
apache-2.0
9,367
383
codeparrot/github-code
d782c967f294390393281968f6b859ced8615324ca431f87381d376b5ba34076
/* * Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.ap...
JavaScript
apps/publisher/themes/default/js/update_asset.js
srsharon/carbon-store
apache-2.0
3,312
97
codeparrot/github-code
9da43f5f93127642616ea5315d7e877e203de4b52adf2f841a8aee23461a6430
/** * Copyright 2015 Yahoo Inc. Licensed under the Apache License, Version 2.0 * See accompanying LICENSE file. */ package kafka.manager import java.util.Properties import java.util.concurrent.atomic.AtomicBoolean import com.typesafe.config.{Config, ConfigFactory} import kafka.manager.features.KMDeleteTopicFeature...
Scala
test/kafka/manager/TestKafkaManager.scala
Knewton/kafka-manager
apache-2.0
22,313
537
codeparrot/github-code
bf3b47b4ec5fa3fe5d672de38f76a410de53b9fa05f5f01290be757330833e9f
/* * The University of Wales, Cardiff Triana Project Software License (Based * on the Apache Software License Version 1.1) * * Copyright (c) 2007 University of Wales, Cardiff. All rights reserved. * * Redistribution and use of the software in source and binary forms, with * or without modification, are permitted...
Java
triana-gui/src/main/java/org/trianacode/gui/help/UrlHistory.java
CSCSI/Triana
apache-2.0
4,922
148
codeparrot/github-code
d165247afc63ef6a27119e9d0f4ea30e9ea735c36e89d3513fffd65b2b0113ff
/** Copyright (c) 2007-2013 Alysson Bessani, Eduardo Alchieri, Paulo Sousa, and the authors indicated in 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 License at http://www.apache.org/licen...
Java
src/bftsmart/demo/listvalue/BFTMapList.java
fmrsabino/library
apache-2.0
2,180
82
codeparrot/github-code
f8d497fc52774cd186f8f13eb2831150bb1bc42d92ca625db295668a9c6bc442
--- type: post100 title: JMS-Space Interoperability categories: XAP100 parent: messaging-support.html weight: 300 --- {{% ssummary%}} {{% /ssummary %}} JMS-space interoperability allows JMS applications to communicate with non-JMS applications using the space, without having to know or deal with the space API. XA...
Markdown
sites/xap-docs/content/xap100/jms-space-interoperability.markdown
croffler/documentation
apache-2.0
11,615
253
codeparrot/github-code
31b390650283ef5dea3099d93c4cccc8b143d050f8d57786be87f25d958a8452
'use strict'; var React = require('react'), coreViews = require('../../core/views'), mixins = require('../mixins'); var Map = React.createBackboneClass({ mixins: [ mixins.LayersMixin() ], componentDidMount: function() { this.mapView = new coreViews.MapView({ el: '#map'...
JavaScript
src/rf/js/src/home/components/map.js
kdeloach/raster-foundry
apache-2.0
888
41
codeparrot/github-code
a403491821df47cf52cd8acd0a436ee1f75d20505eb3c1ddb5f1e1e9ea7fac3d
/* * Copyright 2012-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 "licen...
Java
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/InputTransformer.java
dagnir/aws-sdk-java
apache-2.0
7,772
221
codeparrot/github-code
24531f1e73aea42edcc576313f2e3a9ae8f3011703002c90dcf3c60411c34b49
<?php /** * @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com) */ namespace Magento\Eav\Model\Entity\Attribute\Source; class Table extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource { /** * Default values for option cache * * @var array */ prote...
PHP
app/code/Magento/Eav/Model/Entity/Attribute/Source/Table.php
webadvancedservicescom/magento
apache-2.0
8,190
253
codeparrot/github-code
c381c66df2598cd19169e78aec0c8e72957a782690d3b556bbb935ed1428504c
/* 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
modules/flowable-engine/src/main/java/org/flowable/engine/impl/persistence/cache/EntityCacheImpl.java
motorina0/flowable-engine
apache-2.0
3,610
126
codeparrot/github-code
b8565db72eb57d68bd75313d6e70f8a9ca071eff1c769aac52b340d695307b04
/* *===================================================================== * This file is part of JSatTrak. * * Copyright 2007-2013 Shawn E. Gano * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o...
Java
src/name/gano/math/nonlinsolvers/TestDC.java
rrr6399/JSatTrakLib
apache-2.0
2,369
73
codeparrot/github-code
636b4ff9b308898ad46bf5397a88b72f0df1be71846591f2d5f32e60df30611e
package org.ovirt.engine.core.bll; import org.ovirt.engine.core.common.AuditLogType; import org.ovirt.engine.core.common.action.TagsOperationParameters; import org.ovirt.engine.core.common.businessentities.Tags; import org.ovirt.engine.core.common.errors.EngineMessage; import org.ovirt.engine.core.dal.dbbroker.DbFacad...
Java
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddTagCommand.java
OpenUniversity/ovirt-engine
apache-2.0
1,202
39
codeparrot/github-code
202bcd9a00bfdbc940f21fe8fd0e8be2d2a852034c61f964dd5063b2132bfac1
/* * Copyright 2015-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
src/main/java/io/pivotal/strepsirrhini/chaosloris/web/ScheduleCreateInput.java
strepsirrhini-army/chaos-loris
apache-2.0
1,325
50
codeparrot/github-code
2192d21d94b9b2aa4f51e0fe18435705526408c76e434408a4434066352d0aee
/* * 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-securityhub/source/model/ComplianceStatus.cpp
cedral/aws-sdk-cpp
apache-2.0
3,005
95
codeparrot/github-code
3aa109aa521a11d533d941051eda5e839bd0df452cc1b42249e6d508fee4ef07
// This file is part of MLDB. Copyright 2016 mldb.ai inc. All rights reserved. var mldb = require('mldb') var unittest = require('mldb/unittest') function expectEmpty(query) { var expected = []; var resp = mldb.query(query); mldb.log(resp); unittest.assertEqual(resp, expected); } function expectFou...
JavaScript
testing/MLDB-1678-rowname-optimizations.js
mldbai/mldb
apache-2.0
3,118
76
codeparrot/github-code
7eb97cdb2c2c9e459005b37d066293f4b2604e2d9987e76a0dc8628658d6a847
<?php /** * * @package Google_Api_Ads_AdWords_v201605 * @subpackage v201605 */ class BatchJobServiceMutateResponse { const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201605"; const XSI_TYPE = ""; /** * @access public * @var BatchJobReturnValue */ public $rval;...
PHP
Google/Api/Ads/AdWords/v201605/classes/BatchJobServiceMutateResponse.php
SonicGD/google-adwords-api-light
apache-2.0
797
44
codeparrot/github-code
28b1e5379778c4b559453c70b9f3d44143a6b11ea33cf05ce0bb6a7f00663bcf
import React, { PureComponent, ReactNode, ComponentType } from 'react'; import { captureException } from '@sentry/browser'; import { Alert } from '../Alert/Alert'; import { ErrorWithStack } from './ErrorWithStack'; export interface ErrorInfo { componentStack: string; } export interface ErrorBoundaryApi { error: E...
TypeScript
ui/src/packages/datav-core/src/ui/components/ErrorBoundary/ErrorBoundary.tsx
teamsaas/meq
apache-2.0
2,940
121
codeparrot/github-code
dbc8bc8f5ec996de55aa860d9cdb39cbb93bd596ab6a69aea2e1c0f51569253b
package redis.clients.jedis; import com.esotericsoftware.reflectasm.MethodAccess; import org.apache.log4j.Logger; import java.util.Map; public abstract class Command { private final static Logger LOG = Logger.getLogger(Command.class); private final static MethodAccess access = MethodAccess .get(ShardedJedis.cl...
Java
src/main/java/redis/clients/jedis/Command.java
kelongxhu/jedis-sentinel-pool
apache-2.0
3,425
115
codeparrot/github-code
9d8854ed1817b0d781dc159853af208f754bd0081bbb4d4ea18c92ab1f54298a
/*-------------------------------------------------------------------------+ | | | Copyright 2005-2011 The ConQAT Project | | | | Licensed u...
Java
org.conqat.engine.text/src/org/conqat/engine/text/identifier/IdentifierProcessorBase.java
vimaier/conqat
apache-2.0
2,775
63
codeparrot/github-code
28d3ac06cecb09769562d494abb49c8e2ce7967e7c894a044f630a0adc6e11ee
/* * * Autopsy Forensic Browser * * Copyright 2018 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> 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 * * ht...
Java
Core/src/org/sleuthkit/autopsy/commonfilesearch/InstanceCountNode.java
millmanorama/autopsy
apache-2.0
6,850
170
codeparrot/github-code
28c85c240fc52cd9273b239cdb2be902dea3b039e2307c2b0bc2facae079dff9
<meta charset="utf-8"> <meta name="viewport" content="width={% if restyled == "v2" %}device-width{% else %}1000{% endif %}, initial-scale=1"> {# Google Tag Manager #} <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.create...
HTML
templates/inc/head.html
hltj/kotlin-web-site-cn
apache-2.0
2,872
60
codeparrot/github-code
c42b6e93eb2673c826a11e7ae53e8f67e4103e0a71693931ceb41c4d2f8c6c0f
/* * Copyright (c) 2009-2013 by Farsight Security, 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...
C
nmsg/input_nmsg.c
hstern/nmsg
apache-2.0
15,168
599
codeparrot/github-code
6789b527183c506ad9e56fe10650c1117a0b942e026a5c05c10926d6d98baa3f
/* * Copyright 2015 Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
Java
apps/openstacknetworking/web/src/main/java/org/onosproject/openstacknetworking/web/OpenstackSubnetWebResource.java
sonu283304/onos
apache-2.0
2,056
67
codeparrot/github-code
daaa177842d0ef4cf16a617e903affe222f20447772383395d81e0111a9c72d5
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * Extends the Tank Auth Users model with minimal support for groups * * @author John.Wright */ class TA_Groups_Users extends Users { //may be issues if you use table name prefix in config... hasn't been tested //see...
PHP
application/models/tank_auth/TA_Groups_Users.php
Sundfjord/rockEnroll
apache-2.0
919
34
codeparrot/github-code
b388061eac73c83649a0117b2586923c2bc1b398ba1149e1e3d998387fb0c23d
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
platform/lang-impl/src/com/intellij/application/options/colors/FontOptions.java
youdonghai/intellij-community
apache-2.0
13,068
344
codeparrot/github-code
ddae542d3a86f916e074b351fd585e10a1020fb0d315e82b4b630f0257d344fd
package com.example.dagger2_hello_world; import android.content.Context; import android.support.annotation.NonNull; import javax.inject.Named; import dagger.Binds; import dagger.Module; import dagger.Provides; @Module public abstract class ApplicationModule { @Provides @NonNull static Application myApp...
Java
app/src/main/java/com/example/dagger2_hello_world/ApplicationModule.java
ron-k/Dagged2-Hello-World
apache-2.0
596
30
codeparrot/github-code
099410935637ced6a427b78066343af6840f71fd47e4c5e6bef68e87ded0dcfc
import React, { Component } from 'react'; import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'; import { connectStyle } from 'native-base-shoutem-theme'; import mapPropsToStyleNames from '../Utils/mapPropsToStyleNames'; class Content extends Component { render() { return ( <Key...
JavaScript
src/basic/Content.js
sampsasaarela/NativeBase
apache-2.0
1,015
34
codeparrot/github-code
d2123d63b56d33209245cdd842e83b37aa2eb3ca6ff179c58dd2eb7547d36d0d
/* ESP8266WiFiAP.h - esp8266 Wifi support. Based on WiFi.h from Arduino WiFi shield library. Copyright (c) 2011-2014 Arduino. All right reserved. Modified by Ivan Grokhotkov, December 2014 Reworked by Markus Sattler, December 2015 This library is free software; you can redistribute it and/or modify it under th...
C
examples/32_lora/components/libraries/WiFi/src/WiFiAP.h
Ebiroll/qemu_esp32
apache-2.0
1,959
62
codeparrot/github-code
7b618b733539a3a6f1156dc2edd558d021a7f61570f7bd72d7d1b2c0acc61a95
/** * Copyright 2014 Groupon.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Java
src/main/java/com/groupon/vertx/memcache/client/response/StoreCommandResponse.java
groupon/vertx-memcache
apache-2.0
1,563
58
codeparrot/github-code
4b2df055f603d0968ce7f71281f18da3820776268168977156bad0ef20f3f08a
package com.cocos2dj.module.btree; import java.util.HashMap; import com.badlogic.gdx.ai.btree.BehaviorTree; import com.badlogic.gdx.ai.btree.Task; import com.badlogic.gdx.ai.btree.branch.Parallel; import com.badlogic.gdx.ai.btree.branch.Parallel.Policy; import com.badlogic.gdx.ai.btree.branch.Selector; import com.bad...
Java
external/com/cocos2dj/module/btree/BhTree.java
mingwuyun/cocos2d-java
apache-2.0
2,870
131
codeparrot/github-code
bb9d2e18930d8cde1384efbdad94058f876c3a7af5be01e9ec06574c872320a8
package com.s24.search.solr.response; import java.util.ArrayList; import java.util.List; import org.apache.lucene.analysis.util.ResourceLoader; import org.apache.solr.SolrTestCaseJ4; import org.apache.solr.core.SolrResourceLoader; import org.junit.Test; import org.thymeleaf.TemplateEngine; import org.thymeleaf.templa...
Java
src/test/java/com/s24/search/solr/response/LuceneTemplateResolverIT.java
shopping24/solr-thymeleaf
apache-2.0
1,192
35
codeparrot/github-code
b138b0f0f11ebd8f1c3a3a1ab351ce92e70fc4305591e4635daef9a8a63c0960
/** * Copyright (C) 2016-2018 Harald Kuhn * * 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
bottery.connector.ms/src/main/java/rocks/bottery/connector/ms/model/OpenIdConfig.java
hkuhn42/bottery
apache-2.0
4,633
162
codeparrot/github-code
7f961bfe593587548e822e3185e217d6baf3cc69cb9781ff0c5bea6725e24841
package org.rabix.bindings.cwl.bean; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.rabix.bindings.cwl.json.CWLStepsDeserializer; import org.rabix.bindings.model.ValidationReport; import org.rabix.common.json.BeanPropertyView; import com.fasterxml.jackso...
Java
rabix-bindings-cwl/src/main/java/org/rabix/bindings/cwl/bean/CWLWorkflow.java
rabix/bunny
apache-2.0
3,152
117
codeparrot/github-code
2a8ba3f1fe53e67d16658016c6d021b3398b17b929be52e4bcc32cb973e71fe7
/* jquery±íµ¥ÑéÖ¤²å¼þ¡£last edit by rongrong 2011.03.29 */ var __check_form_last_error_info = []; var check_form = function (formname, opt) { var formobj; //Ö¸¶¨µ±Ç°±íµ¥ var e_error = ""; var focus_obj = ""; //µÚÒ»¸ö³öÏÖ´íÎó¶ÔÏñ var error = []; var _temp_ajax = new Array; //ajaxУÑéÇëÇóµÄ»º...
JavaScript
WebRoot/Js/ckform.js
DullSky/his
apache-2.0
12,288
382
codeparrot/github-code
18fae082f1d2a380c2fa827cd7d8cd7e9b6c3d74dbdf9bd0ccc55080d8f70c4b
/******************************************************************************* * Copyright 2017 Adobe Systems Incorporated * * 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:/...
Java
src/test/java/io/sightly/tck/html/HTMLExtractorTest.java
Adobe-Marketing-Cloud/htl-tck
apache-2.0
4,580
100
codeparrot/github-code
05c892fff008a664fc3e68416828a85dc5956e4bccf9ef2144c2f20c54bd40d9
<?php /* This php script extract all the file contained in $dir_txt and $dir_html to index them in the table pages of our database. To have an accurate research later, we attribute differents weigths to texts depending of the importance of their part. */ /* This function extract the text in the paragraph ...
PHP
Step2-Indexing/export_to_db.php
loic-carbonne/Man-fulltext-search
apache-2.0
2,736
76
codeparrot/github-code
4ee00fd2a897abb9c3070e1cfcf084e8729dc79157c6491f61736cadb8cb8e63
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
Java
asterix-installer/src/main/java/edu/uci/ics/asterix/installer/driver/InstallerUtil.java
parshimers/incubator-asterixdb
apache-2.0
3,396
77
codeparrot/github-code
3aa7b2e33c825325e02eaeb2951589424bb882a9bb97de194f4376235a3b75db
/** * Copyright 2012 52°North Initiative for Geospatial Open Source Software GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2...
Java
src/main/java/org/n52/geoar/newdata/InstalledPluginHolder.java
52North/geoar-app
apache-2.0
7,500
263
codeparrot/github-code
6f645f66f4002a526633f06f0b6b0d59e7c0c4152340e51dd31427c9b005e11b
<html> <head> <title>Installing the Ensembl Data</title> <meta name="order" content="3"> </head> <body> <h1>Installing the Ensembl Data</h1> <p> The Ensembl data is provided on the <a href="ftp://ftp.ensembl.org/pub/">Ensembl FTP site</a> in the form of tab-delimited text files for importing into MySQ...
HTML
docs/htdocs/info/docs/webcode/mirror/install/ensembl-data.html
andrewyatz/public-plugins
apache-2.0
5,700
92
codeparrot/github-code
bed258a1be285ebe121e47865e497008bbcd3b88ff510a48c027a521b3c2b86c
# -*- coding: utf-8 -*- # # 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 #...
Python
airflow/contrib/operators/gcp_compute_operator.py
sid88in/incubator-airflow
apache-2.0
7,129
184
codeparrot/github-code
3bbf6efc3c2e3597008ae6515061f1c1fccef68792c8cd9028523fc9fce226c9
#!/usr/bin/env python # -*- coding: utf-8 -*- ############################################################################### # Copyright Kitware 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 ...
Python
girder/__init__.py
Xarthisius/girder
apache-2.0
12,075
314
codeparrot/github-code
3c7739a9eb90bf7c08c03219e5531784d4a07d557f40defedd03f0ee3c5893e4
/* * Copyright 2020 Global Biodiversity Information Facility (GBIF) * * 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
metrics-es/src/main/java/org/gbif/metrics/es/Parameter.java
gbif/metrics
apache-2.0
1,522
62
codeparrot/github-code
3c72ce72319fd63d0d0b12362579d5ba1ab4e0b43e296c593142d1994b1588a9
/* * Copyright (c) 2011-2015, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.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...
Java
main/ip/benchmark/boofcv/abst/filter/convolve/BenchmarkConvolve.java
pacozaa/BoofCV
apache-2.0
7,931
251
codeparrot/github-code
efc74aabaef60d2fda46ddf964a37def43592e4314430f63519469c540d67cf8
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
Java
geode-core/src/main/java/org/apache/geode/internal/tcp/TCPConduit.java
pdxrunner/geode
apache-2.0
37,478
1,163
codeparrot/github-code
1616647b2642c9046f66a9c79402923bb9a3302f30f1985244f9abfbbc4fd6a9
package view; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.awt.event.KeyEvent; import java...
Java
src/main/java/view/FormPanel.java
TibiSecurity/progkorny
apache-2.0
12,564
454
codeparrot/github-code
7b9298fef7d006017ac4adc45e951342880e02b8db868b88aaceb626066ff4e4
package com.example.android.sunshine.app; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.view.MenuItemCompat; import android.support.v7.app.ActionBarActivity; import android.support.v7.widget.ShareActionProvider; import android.view.LayoutInfl...
Java
app/src/main/java/com/example/android/sunshine/app/DetailActivity.java
michaeloverman/Weather
apache-2.0
4,561
139
codeparrot/github-code
e06ffe0c32fd09f556583d1231a8635217fbd5ac835169c4ea0545bcb73d6310
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0...
C
DataCollector/mozilla/xulrunner-sdk/include/mozilla/dom/HTMLOutputElement.h
andrasigneczi/TravelOptimizer
apache-2.0
3,777
118
codeparrot/github-code
6126bb47ddd6db0c794ce67f5a052fa3d840f6bb54238a5912d2c08ac94b8c64
package com.youcan.core; import org.apache.log4j.LogManager; import org.apache.log4j.Logger; import com.youcan.core.l; public class l { protected l() { //do nothing System.out.println("l started."); } private static Logger log; public static final boolean init(String logName) { if ((log =...
Java
src-core/com/youcan/core/l.java
jiaozhujun/c3f
apache-2.0
1,306
67
codeparrot/github-code
e86d5ba7642e02b9529e466006c09eb7d326dd25f369201b84c0af0b05aed7a2
/* ** 2013 October 27 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. */ package...
Java
1.6.4-src/common/zeroquest/entity/helper/CustomJakanHelper.java
NovaViper/ZeroQuest
apache-2.0
1,197
41
codeparrot/github-code
af340e289f254e28ea44f842693d5b330bcd9d7ea175e477815b54a31792b998
/* * Copyright 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
C++
jni/TeapotRenderer.cpp
hak/AndroidPhysicallyBasedRendering
apache-2.0
13,459
425
codeparrot/github-code
bac237100b93bfe4dd09010f9e371e6e0e80cfebb298c87734e077c8c46695d5
// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 -fblocks -std=c++11 | FileCheck %s struct X { }; struct Y { }; // CHECK: @unmangled_variable = global // CHECK: @_ZN1N1iE = global // CHECK: @_ZZN1N1fEiiE1b = internal global // CHECK: @_ZZN1N1gEvE1a = internal global // CHECK: @_ZGVZN1N1gEvE1a = inter...
C++
android/external/clang/test/CodeGenCXX/mangle.cpp
indashnet/InDashNet.Open.UN2000
apache-2.0
22,969
913
codeparrot/github-code
b21afe62398aa33b52e7d960ac3e8924a6a4b16ed3af38708cbeaf79d3cbc55c
""" Copyright 2016 Andrea McIntosh 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...
Python
ToDoApp/polls/views.py
akmcinto/TodoApp
apache-2.0
1,788
52
codeparrot/github-code
a7e17f94ae841ee0346969258273ccecdea43b8b129bdd7dc85d2834c6add6aa
/* * Copyright 2020 Verizon Media * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
JavaScript
ui/src/pages/home.js
yahoo/athenz
apache-2.0
5,975
184
codeparrot/github-code
c403e4423ff92a6dfb196e3d44d6525e8093b1ff3472b91178c04a559737a8ec
/* * Copyright 2020 Yahoo 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 i...
Java
libs/java/auth_core/src/test/java/com/yahoo/athenz/auth/oauth/validator/OAuthJwtAccessTokenValidatorTest.java
yahoo/athenz
apache-2.0
4,643
95
codeparrot/github-code
2e005c8e5655f51c5d0f53c998f84ec8d153c3ce7e6f2698557b4b7f18cd1c68
/* * Copyright (c) 2013-2014, Arjuna Technologies Limited, Newcastle-upon-Tyne, England. All rights reserved. */ package com.arjuna.databroker.control.comms; import java.io.Serializable; import java.util.Map; public class PropertiesDTO implements Serializable { private static final long serialVersionUID = -482...
Java
control-common/src/main/java/com/arjuna/databroker/control/comms/PropertiesDTO.java
mtaylor/DataBroker
apache-2.0
727
34
codeparrot/github-code
0d31d44e3e9ab7c60f4e37997d31f6726eb34c3f070b1d3d949a1cac7c798b7c
{% macro period_form(form) -%} <div id="filterform"> <form method="get" style="float: left;"> Show results from start of {{form.monthStart()}} / {{form.yearStart()}} to end of {{form.monthEnd()}} / {{form.yearEnd()}} <input type="submit" value="Update"/> </form> <div style="float: right;">Sh...
HTML
pegasus/metrics/templates/forms.html
pegasus-isi/pegasus-metrics
apache-2.0
2,358
54
codeparrot/github-code
e07ce34f800566ff18c0196c2a0261d2bff28351717a2d630efe579ef2d4131e
package org.lnu.is.converter.person.paper; import org.lnu.is.annotations.Converter; import org.lnu.is.converter.AbstractConverter; import org.lnu.is.domain.honors.type.HonorType; import org.lnu.is.domain.paper.type.PaperType; import org.lnu.is.domain.person.Person; import org.lnu.is.domain.person.paper.PersonPaper; im...
Java
is-lnu-converter/src/main/java/org/lnu/is/converter/person/paper/PersonPaperResourceConverter.java
ifnul/ums-backend
apache-2.0
1,692
60
codeparrot/github-code
4de1393002fdd053a62340bcfbf1b471c39a87219b5419fec892a50adb4ecd4e
package voldemort.server.protocol.vold; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.nio.ByteBuffer; import org.apache.log4j.Logger; import voldemort.VoldemortException; import voldemort.common.VoldemortOpCode; import voldemort.common.nio.ByteBufferBackedIn...
Java
src/java/voldemort/server/protocol/vold/VoldemortNativeRequestHandler.java
cshaxu/voldemort
apache-2.0
8,979
227
codeparrot/github-code
76c6a002fd8c0b8dddff2fcac45103c6f7ce60733849c2e8fe996b1d608b579f
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Java
src/test/java/com/fuerve/villageelder/indexing/IndexManagerTest.java
fuerve/VillageElder
apache-2.0
8,850
217
codeparrot/github-code
1f4cd9fe50b7494a66345014db97478f4b244fc48ea0afcf467dcc066f481b7f
package com.jasonsoft.softwarevideoplayer; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory.Options; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.AsyncTask; import andr...
Java
src/com/jasonsoft/softwarevideoplayer/LoadThumbnailTask.java
jasonchuang/SoftwareVideoPlayer
apache-2.0
3,200
85
codeparrot/github-code
e217af84b2dea0795fef471a88472440c724147f8a083e4ec7cf103773a1ecf5
package org.opendaylight.opflex.genie.content.format.meta.mdl; import java.util.TreeMap; import org.opendaylight.opflex.genie.content.model.mclass.MClass; import org.opendaylight.opflex.genie.content.model.mprop.MProp; import org.opendaylight.opflex.genie.engine.file.WriteStats; import org.opendaylight.opflex.genie.e...
Java
src/main/java/org/opendaylight/opflex/genie/content/format/meta/mdl/FContDef.java
noironetworks/genie
apache-2.0
2,728
91
codeparrot/github-code
00f3a0fd0ae9e1781dba65c61ff7910763eee4ccd103cd3b0c404b7b54aa776b
package com.transmem.doc; import java.io.IOException; import java.io.File; import java.io.PrintWriter; import java.io.FileReader; import java.io.BufferedReader; import java.util.ArrayList; import java.util.logging.Logger; import java.sql.SQLException; /** * Bitext loader loads a bilingual parallel text from two sepa...
Java
src/com/transmem/doc/BitextLoader.java
tedwen/transmem
apache-2.0
4,846
150
codeparrot/github-code
a546ee68242b12405b205836981705aa01d4190488b6c2f379460720d0dc59d2
package com.indeed.proctor.common; import com.google.common.base.Preconditions; import com.google.common.base.Supplier; import com.indeed.util.core.DataLoadingTimerTask; import com.indeed.util.varexport.Export; import com.indeed.proctor.common.model.Audit; import com.indeed.proctor.common.model.TestMatrixArtifact; imp...
Java
proctor-common/src/main/java/com/indeed/proctor/common/AbstractProctorLoader.java
jdcheng/proctor-git
apache-2.0
4,349
114
codeparrot/github-code
4597bba4d83eab10880911cb38fdec1413e7bebadd80fdd035a2a67fb8637c38
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ /* */ #ifndef PARMLIST_H #define PARMLIST_H #define PL_INT 1 #define PL_...
C
src/ib/parmlist.h
OpenVnmrJ/OpenVnmrJ
apache-2.0
2,300
77
codeparrot/github-code
a397dc5ac33bc5b310dc6800c84d2d78644fffb4ecd495d65e78408211f9e4ab
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
Java
java/server/src/org/openqa/selenium/grid/server/BaseServerFlags.java
Ardesco/selenium
apache-2.0
3,196
76
codeparrot/github-code
8757be81489b20152d47e9dcc3c20d7da1be3eeda75fcd0f2e7b9bd375c7d49c
// Copyright (c) 2017 Ubisoft Entertainment // // 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...
C#
Sharpmake.Platforms/Sharpmake.CommonPlatforms/Windows/Win64Platform.cs
nidoizo/Sharpmake
apache-2.0
12,448
241
codeparrot/github-code
63b9e0c60ce03722c55a2fa50054c3863c312ab36886b658752bfe49e5e7478b
/* * Copyright 2015-2018 Igor Maznitsa. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Java
mind-map/mind-map-swing-panel/src/main/java/com/igormaznitsa/mindmap/plugins/processors/ExtraJumpPlugin.java
raydac/netbeans-mmd-plugin
apache-2.0
2,189
66
codeparrot/github-code
f8735cb37de06b87fe63c5ecf04e422ebad71bfa3d8d92655aecd1c28b47b7dd
/* * Copyright 2015 JBoss 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 i...
Java
gateway/platforms/servlet/src/test/java/io/apiman/gateway/platforms/servlet/auth/tls/CipherAndProtocolSelectionTest.java
kahboom/apiman
apache-2.0
16,375
406
codeparrot/github-code
742d2d67a93d8129c7223cb1d46ec723391d7da5b7896463d9c20e4b2f9d8eb2
package org.codehaus.groovy.grails.validation; import groovy.lang.Closure; import groovy.lang.GroovyShell; /** * Test cases for custom 'validator' constraint. * * @author Sergey Nebolsin (<a href="mailto:nebolsin@gmail.com"/>) */ public class ValidatorConstraintTests extends AbstractConstraintTests { ...
Java
grails-test-suite-uber/src/test/groovy/org/codehaus/groovy/grails/validation/ValidatorConstraintTests.java
jeffbrown/grailsnolib
apache-2.0
4,992
142
codeparrot/github-code
d0a57b8f54cf47ac895c9664624d507d38ae86493bd458e9f581ed8940eb201f
/* Copyright 2010-2013 SourceGear, LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
C
src/veracity/src/libraries/include/sg_exec_argvec_prototypes.h
glycerine/vj
apache-2.0
1,667
55
codeparrot/github-code
7482595dc93f0dcce94ff44310e9193162a1102816237d2109c553d7dac266d2
/* * Copyright 2014 Wouter Pinnoo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
Java
app/src/main/java/eu/pinnoo/garbagecalendar/data/Sector.java
wpinnoo/GarbageCalendar
apache-2.0
2,236
85
codeparrot/github-code
fc4ef9f663a3dbb22d2b401cab2d1822e1365f008f57ee5f4a33040ce7c71898
/* * Copyright 2019 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
kie-wb-common-dmn/kie-wb-common-dmn-api/src/test/java/org/kie/workbench/common/dmn/api/definition/model/LiteralExpressionTest.java
porcelli-forks/kie-wb-common
apache-2.0
3,360
88
codeparrot/github-code
bf8a6fe32b07cfd55bdea8e253cbe8a2aa03a20a801fd9e942fc2309fc2bcece
/* * 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
nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/util/DataTypeUtils.java
mattyb149/nifi
apache-2.0
80,351
2,070
codeparrot/github-code
e4e97c3ddda37406d3bcf69d4ac9c39fb853aec82d801140e0c1e5ce8ee22b7d
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> <head> <link href="http://gmpg.org/xfn/11" rel="profile"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <!-- Enable responsiveness on mobile devices--> <meta name="viewport" content="width=device-wid...
HTML
data-stores-memcached.html
octohost/www
apache-2.0
8,895
196
codeparrot/github-code
4053a11d2c20b0d4b49070f5e4876bb19e113be58e00050b6f6771bf428f2390
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CalculatorTest.cs" company="bbv Software Services AG"> // Copyright (c) 2014 - 2020 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not u...
C#
source/Testing.Sample/2 Fody EnableFakting Sample/CalculatorTest.cs
mmarkovic/CleanCode.Academy
apache-2.0
4,108
115
codeparrot/github-code
a035219b3143550b1a87fee30b151b9d3f79cccf44a277487971ab52feed8d23
package net.graphical.model.causality.graph.model.AdjImpl; import net.graphical.model.causality.graph.model.Edge; import net.graphical.model.causality.graph.model.EdgeType; import net.graphical.model.causality.graph.model.Node; import java.util.*; import java.util.stream.Collectors; /** * Created by sli on 10/27/1...
Java
causality/src/main/java/net/graphical/model/causality/graph/model/AdjImpl/GraphBase.java
lisongshan/causalGraphicalModel
apache-2.0
10,562
346
codeparrot/github-code
d54811b67aca50948876ee7b3347ad2649fb1c65e0dddb3c4570d57fb2144b89
import React from 'react'; import PropTypes from 'prop-types'; import createReactClass from 'create-react-class'; import _ from 'lodash'; import { api } from './Api'; import { formatJSON } from './utils'; export default createReactClass({ propTypes: { params: PropTypes.object, }, getInitialState() { r...
JavaScript
src/DataContainer.js
curious-containers/cc-ui
apache-2.0
1,124
55
codeparrot/github-code
74b0274b57047efe67cf43c6b33af4190c4913e7908257b1e32a107d246046ee
/* ************************************************************************ # # DivConq # # http://divconq.com/ # # Copyright: # Copyright 2014 eTimeline, LLC. All rights reserved. # # License: # See the license.txt file in the project's top-level directory for details. # # Authors: # * Andy ...
Java
divconq.core/src/main/java/divconq/log/Logger.java
gspandy/divconq
apache-2.0
16,322
492
codeparrot/github-code
37819a2daf6111c6f09bb8fa7c9fad59a7ee09a197f91f28322726848f7a8ac8
package consulo.hub.backend.repository; import consulo.hub.shared.auth.Roles; import consulo.hub.shared.auth.domain.UserAccount; import consulo.hub.shared.repository.PluginChannel; import consulo.hub.shared.repository.PluginNode; import org.springframework.beans.factory.annotation.Autowired; import org.springframework...
Java
backend/src/main/java/consulo/hub/backend/repository/PluginChannelRestController.java
consulo/hub.consulo.io
apache-2.0
6,497
174
codeparrot/github-code
e9af30c2c177794862f41b49911f3e4e1b810d73531e58db54bb847f75e5a45c
/** * Copyright 2011 Diego Ceccarelli * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
Java
src/main/java/it/cnr/isti/hpc/wikipedia/reader/WikipediaArticleReader.java
naveenmadhire/json-wikipedia
apache-2.0
5,043
183
codeparrot/github-code
310926fce2bb9d2fc3f8cbd742f24d72c62150823d7b356bba1830dc2b7fd022
package com.netsun.labuy.utils; import java.io.IOException; import okhttp3.Callback; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.RequestBody; import okhttp3.Response; /** * Created by Administrator on 2017/2/24. */ public class HttpUtils { public static void get(String url, Callback ca...
Java
app/src/main/java/com/netsun/labuy/utils/HttpUtils.java
yljnet/Labuy
apache-2.0
1,145
41
codeparrot/github-code
8ede9d6185883b3174e7132eae1b51b4d4b39d2e6a48a22a766b30ab8b7929bd
#!/usr/bin/python # -*- coding: utf-8 -*- """ crawler.py ~~~~~~~~~~~~~~ A brief description goes here. """ import csv import urllib2 import urllib import re import os import urlparse import threading import logging import logging.handlers import time import random import bs4 MINIMUM_PDF_SIZE = 4506 TASKS...
Python
crawler.py
luozhaoyu/deepdive
apache-2.0
6,748
212
codeparrot/github-code
ece25dc09cf7c7933bdae10a9c5b5a38a8d4fbe32a61ef33eb20c42f9b5d6b52
/* ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 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...
C
sw/firmware/ChibiOS/testhal/STM32/STM32F37x/PWM-ICU/main.c
netik/dc26_spqr_badge
apache-2.0
3,476
142
codeparrot/github-code
65ae91e38182ecf8b21c70a8eac1879152d16f64f69fc433f7ddd975e63986c3
package com.turalt.openmentor.security; import static org.easymock.EasyMock.*; import java.io.UnsupportedEncodingException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.Authentication...
Java
src/test/java/com/turalt/openmentor/security/SessionAuthenticationFilterTest.java
morungos/turalt-openmentor
apache-2.0
9,236
264
codeparrot/github-code
ce5ef5f84b0f7f84d9791fe8280fb3c965fde93050fe38e66926a27dcaa5da0e
# 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
Python
jax/interpreters/sharded_jit.py
google/jax
apache-2.0
22,527
537
codeparrot/github-code
8e502312bf0a6562b68448a29d4cdb112f9b46bb86a2d1bc19ed3e419284961d
package UI::ConfigFiles; # # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
Perl
traffic_ops/app/lib/UI/ConfigFiles.pm
amiryesh/incubator-trafficcontrol
apache-2.0
53,460
1,564
codeparrot/github-code
5b89f5174a466adba1c5fc71666f946fe9cd35c98ecb3cb3afcd1ebd5306497c
/* * 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/sections/jquery/libraries/JQueryDroppable.java
equella/Equella
apache-2.0
1,764
54
codeparrot/github-code
e75406d66a0e8c8bb24a75e7db66bb249f20fc54905ac1c7e1044d6b24c13ac7
package redmine4s.api.resource import org.apache.http.HttpResponse import org.apache.http.client.HttpClient import org.apache.http.client.methods.HttpGet import org.scalatest.{DiagrammedAssertions, FlatSpec} import org.scalatest.mockito.MockitoSugar import org.mockito.Matchers._ import org.mockito.Mockito._ import org...
Scala
src/test/scala/redmine4s/api/resource/CustomFieldResourceSpec.scala
tomingtoming/redmine4s
apache-2.0
1,388
32
codeparrot/github-code
018febcb0cfc3b1277f224dba40f994cfe503c7d6e7b2e1e3258dce678a1b5d0
/* * Copyright 2006-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
modules/citrus-core/src/main/java/com/consol/citrus/validation/json/JsonPathMessageConstructionInterceptor.java
hmmlopez/citrus
apache-2.0
4,178
116
codeparrot/github-code
fdf731e1b2d8f684566b602877fb8cb6c29b4f7a079ced6394290190b84b63a4
/* * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
config/src/main/java/org/springframework/security/config/http/UserDetailsServiceFactoryBean.java
spring-projects/spring-security
apache-2.0
5,210
142
codeparrot/github-code
3b0514d81c1bcd4234eff64741d90e49a1c566bf711f5fc75f27b2a36f7620a7
/* * Copyright 2011 Henri Kerola * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Java
src/main/java/org/vaadin/gwtgraphics/client/Image.java
tilioteo/vmaps
apache-2.0
4,289
181
codeparrot/github-code
19564b75e1694f55114c51ccd287dd3bdb29586e498822ab018411574772dc7d
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <base data-ice="baseUrl" href="../../../../"> <title data-ice="title">SubscriptionCondition | Service Framework API Document</title> <link type="text/css" rel="stylesheet" href="css/style.css"> <link type="text/css" rel="stylesheet" href="css/prettify-tomor...
HTML
docs/api/class/src/policy/conditions/SubscriptionCondition.js~SubscriptionCondition.html
reTHINK-project/dev-runtime-core
apache-2.0
29,325
545
codeparrot/github-code
1a9ed152aba554fde980015e7f18b5e8f5eb9d47aee2071459c2054938b6bb4f
package eu.newsreader.eventcoreference.output; import eu.newsreader.eventcoreference.input.CorefSaxParser; import eu.newsreader.eventcoreference.objects.CoRefSetAgata; import eu.newsreader.eventcoreference.objects.CorefTargetAgata; import eu.newsreader.eventcoreference.objects.Triple; import java.io.File; import java...
Java
src/main/java/eu/newsreader/eventcoreference/output/CorefSetToSem.java
newsreader/StreamEventCoreference
apache-2.0
27,687
523
codeparrot/github-code
2629fe01609d7e37dc42b80ce935ca494ffb5c078a9845fea7440791d39cfa34
/* * Copyright 2012 Denis Neuling * * 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
cctrl-api/src/main/java/com/cloudcontrolled/api/model/Version.java
denisneuling/cctrl.jar
apache-2.0
2,646
121
codeparrot/github-code
f1aae4bd610c7031fb30972d6f9c958ae0a58a23f66dd462a574946a09d46f83
/* Copyright 2014 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
GO
cmd/kube-controller-manager/app/options/options.go
lumjjb/kubernetes
apache-2.0
24,629
253
codeparrot/github-code
531fd91b4aece796ffb86015488cc5ddab15ce278f5481471e6a35ba15481b4f
// Copyright 2015 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
GO
retrieval/discovery/nerve.go
eliothedeman/prometheus
apache-2.0
3,984
146
codeparrot/github-code
2e1fa9939c1ae1f2011c568e08ff35f61a412e7455094d1f594a741d473382bb
# Brandon Michael # cis142 # checkForQuadrant.py # Goal: This program will keep asking for input values to check for the quadrant postion, # origin, x-axis and y axis postions # Notes: I used a while loop to make testing values easier and I used the input x,y # Display program instructions print("####################...
Python
old/check-quadrant.py
bwmichael/jccc-cis142-python
apache-2.0
3,124
68
codeparrot/github-code
6283fccccd88ee4aa08a97e3de1ce6e239863280c6b2fb07ae8a3d17b40a1fe3
/* * 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 n...
Java
examples/features/standard/ssl-enabled-dual-authentication/src/main/java/org/apache/activemq/artemis/jms/example/SSLDualAuthenticationExample.java
lburgazzoli/apache-activemq-artemis
apache-2.0
3,962
100
codeparrot/github-code
5e7c5fc67789e202c3dd36e3e2121d3e7eb6626e0606383bb53e3ea9eacd4c7d
(function() { 'use strict'; function HomeController($scope, $q, $timeout) { var self = this; self.time = 50; self.message = "Mensagem para mostrar"; var promiseTimeout; var deferredToast; self.mostrarToast = function() { esconderToast(); ...
JavaScript
app/scripts/controllers/HomeController.js
fabiosandias/hotmilhas-recru
apache-2.0
1,785
76
codeparrot/github-code