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 |
|---|---|---|---|---|---|---|---|---|
448664dc3806ac68dbe4dcabd94901cdebabea94096dc093c76497e3a39d8aa1 | package org.elasticsearch.search.aggregations.metrics.geobounds;
import com.bazaarvoice.elasticsearch.client.core.util.aggs.AggregationsManifest;
import org.elasticsearch.action.search.helpers.AbstractInternalAggregation;
import org.elasticsearch.common.geo.GeoPoint;
import org.elasticsearch.common.xcontent.ToXContent... | Java | es-rest-client-1.3/core/src/main/java/org/elasticsearch/search/aggregations/metrics/geobounds/GeoBoundsHelper.java | bazaarvoice/es-client-java | apache-2.0 | 2,024 | 48 | codeparrot/github-code |
83c90b93de47826bcc5e862e485746c27b1b0dcf52d7afabad7d5eb2038a4937 | /*
* 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-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java | haohui/flink | apache-2.0 | 48,600 | 1,294 | codeparrot/github-code |
1acfd54d019ecde63bde25f0f370a0b8645f1d87b109bd364289f0c6ac671df7 | package org.sagebionetworks.repo.manager.events;
import static org.junit.Assert.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.mockito.Mockito.when;
import java.util.Collections;
import java.util.List;
import org.junit.jupiter.api.Assertions;
import org.junit.... | Java | services/repository-managers/src/test/java/org/sagebionetworks/repo/manager/events/EventLogRecordProviderFactoryUnitTest.java | xschildw/Synapse-Repository-Services | apache-2.0 | 1,569 | 53 | codeparrot/github-code |
a4a86cb0396c6c2d453fb12ed79e42b3bdcc248acdc09ba1f54af817d4aeae87 | #ifndef __itkLinearHeadEddy3DCorrection_h
#define __itkLinearHeadEddy3DCorrection_h
#include <iostream>
#include "itkMatrix.h"
#include "itkTransform.h"
#include "itkExceptionObject.h"
#include "itkMacro.h"
#include "itkVersorRigid3DTransform.h"
#include "itkLinearEddyCurrentTransform.h"
namespace itk
{
template <
... | C | src/itkLinearHeadEddy3DCorrection.h | juanprietob/DTIPrep | apache-2.0 | 7,230 | 207 | codeparrot/github-code |
28e463982b3ca2edefba191585578c83552048b640641df64a5a7dd690f502f3 | /**
* 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... | C | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c | WIgor/hadoop | apache-2.0 | 61,747 | 2,147 | codeparrot/github-code |
625b46bd8bdaf2493933cf22527a3afb5ac571d9c3d416162067281d7a541d3e | /*
Copyright 2014 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | GO | pkg/cloudprovider/gce/gce.go | wattsteve/kubernetes-1 | apache-2.0 | 18,170 | 596 | codeparrot/github-code |
d105e0b321949e045a4a5b4fb661b9ffb8db9fd90f3dbc344dbd23163b47e594 | /*
* 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 | common/idrepo/rest-api/src/main/java/org/apache/syncope/common/rest/api/batch/BatchPayloadParser.java | apache/syncope | apache-2.0 | 8,471 | 213 | codeparrot/github-code |
f4234f1ef8b20b684153fa9a69d219288b571e4e70013435abff6bdd71377c5e | // Copyright (c) 2015-2016 The Khronos Group 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 ... | C++ | source/val/function.cpp | fuchsia-mirror/third_party-spirv-tools | apache-2.0 | 13,603 | 375 | codeparrot/github-code |
33a2c915426c1a67cf15e354deb762221d1a96a9b5b990aac581859775de6421 | {% extends "ct/portal.html" %}
{% load crispy_forms_tags %}
{% load ct_extras %}
{% comment %}
Show materials relevant for a given concept
{% endcomment %}
{% block title %}
{{ concept.title }}
{% endblock %}
{% block content %}
{% if titleform %}
<input type="checkbox" id="edittoggle"/>Edit.<BR>
<div class="con... | HTML | mysite/templates/ct/concept.html | derdmitry/socraticqs2 | apache-2.0 | 1,813 | 75 | codeparrot/github-code |
071fc615c94744ebf70ffc9a417bdf4975a0a59f9a016245194279cf23ec72dd | """Support for Pilight binary sensors."""
import datetime
import logging
import voluptuous as vol
from homeassistant.components import pilight
from homeassistant.components.binary_sensor import PLATFORM_SCHEMA, BinarySensorDevice
from homeassistant.const import (
CONF_DISARM_AFTER_TRIGGER,
CONF_NAME,
CONF... | Python | homeassistant/components/pilight/binary_sensor.py | leppa/home-assistant | apache-2.0 | 6,144 | 186 | codeparrot/github-code |
119b03b41decfedc89939f0255b828b3737e4e2843ab3bbebbbcd3ee45d21401 | /*-------------------------------------------------------------------------------------------------------------------*\
| Copyright (C) 2014-2017 PayPal |
| ... | Java | codegen/src/main/java/com/paypal/selion/elements/HtmlElementUtils.java | paypal/SeLion | apache-2.0 | 2,587 | 46 | codeparrot/github-code |
9886719dcaaf37be5f33aaa06f5a5b71ca6690ef0bd3aad1979d62eee1077609 | /* 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 | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParser.java | tkaefer/camunda-bpm-platform | apache-2.0 | 3,326 | 104 | codeparrot/github-code |
890ecd1c1f38825d7d2fd100ed0bcc87931401d43f7041cd9caa918b1dbfdcff | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | Java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/HostInstance.java | flofreud/aws-sdk-java | apache-2.0 | 5,478 | 194 | codeparrot/github-code |
989cbff6445b89bed9fd0ee0ff71e5bd6900c40d4b279deed33544ec35ae1671 | # Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, 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 ... | Python | st2common/st2common/models/utils/action_param_utils.py | nzlosh/st2 | apache-2.0 | 6,217 | 176 | codeparrot/github-code |
9da9e1eac0e8ac83a736a315bf880be30426eecfd4c50aa120340b274c7bcd53 | package com.planet_ink.coffee_mud.Races;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet... | Java | com/planet_ink/coffee_mud/Races/Undead.java | Tycheo/coffeemud | apache-2.0 | 10,042 | 267 | codeparrot/github-code |
6813fca51f42feecd1fa8d20b4b57cb465f5fe4cff27e86fe8a6777425d87caa | /* Copyright 2009-2015 Comcast Interactive Media, 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 applic... | Java | jrugged-examples/src/main/java/org/fishwife/jrugged/examples/InterceptResponseTweaker.java | bvand/jrugged | apache-2.0 | 1,061 | 36 | codeparrot/github-code |
6bc05c4d838e4e530a4efb38f1deb6054ce7eca63f809040f5f7cc2e066be0d3 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | Java | server/src/test/java/org/elasticsearch/index/query/SpanMultiTermQueryBuilderTests.java | jmluy/elasticsearch | apache-2.0 | 12,851 | 289 | codeparrot/github-code |
e2f7a5898cc5b2814dfaa7b4ea8bc7d8c7bcceb99a0296cc76c07a9ef89c8070 | /*
* Copyright 2014-2016 CyberVision, 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 o... | Java | server/common/dao/src/main/java/org/kaaproject/kaa/server/common/dao/exception/KaaOptimisticLockingFailureException.java | vtkhir/kaa | apache-2.0 | 1,084 | 33 | codeparrot/github-code |
40ad19ab2aa835c513575fc4ab5abf07ca7019b170c6e04fb872b2e3f28fd99c | //===----------------------------------------------------------------------===//
//
// Peloton
//
// connection_handler_task.cpp
//
// Identification: src/network/connection_handler_task.cpp
//
// Copyright (c) 2015-2017, Carnegie Mellon University Database Group
//
//===------------------------... | C++ | src/network/connection_handler_task.cpp | yingjunwu/peloton | apache-2.0 | 1,848 | 63 | codeparrot/github-code |
e5548dc96c91dd7afa5447c1057f21551fc5dcee106f93fa970c495d0bb54c5d | /*
* 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 ... | Scala | flink-runtime/src/test/scala/org/apache/flink/runtime/jobmanager/Tasks.scala | aljoscha/flink | apache-2.0 | 4,398 | 152 | codeparrot/github-code |
830358e8cc5c2d05aa6ac3a3e98919002b7264822082ca5b2fb3dc30f046ddd8 | package mil.nga.giat.geowave.core.store.query;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import mil.nga.giat.geowave.core.index.Persistable;
import mil.nga.giat.geowave.core.index.StringUtils;
/**
* Container object that encapsulates additional ... | Java | core/store/src/main/java/mil/nga/giat/geowave/core/store/query/QueryOptions.java | mses-bly/geowave | apache-2.0 | 2,018 | 93 | codeparrot/github-code |
c848de4cd8485fa4be65169bfd82657b115396734ba856fca5531ab12c5c1088 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | core/src/test/java/org/apache/any23/extractor/ExtractionAPITest.java | apache/any23 | apache-2.0 | 3,622 | 87 | codeparrot/github-code |
b4593870c6aaae2f5c3c661479a248535647b999cfe10e5ebf3601660471ea9c | /*
* Copyright 2006-2009 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 re... | Java | extender/src/main/java/org/springframework/osgi/extender/internal/dependencies/startup/MandatoryImporterDependencyFactory.java | kurtharriger/spring-osgi | apache-2.0 | 8,976 | 229 | codeparrot/github-code |
61cc6fa070ba993e3bdfaf6294a1e6b18fa3569ea11c85d211d09fb899fdde7d | /*
* 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-hive/src/test/java/io/prestosql/plugin/hive/metastore/glue/TestGlueHiveMetastoreConfig.java | treasure-data/presto | apache-2.0 | 3,857 | 89 | codeparrot/github-code |
50fab9306c4eab18b9aae6e35c0b1b7e107c1051b0040f12555a67454e684e9d | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2012 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
*
* ... | C++ | src/transcoder.cc | Bloutiouf/couchnode | apache-2.0 | 4,383 | 137 | codeparrot/github-code |
eb5e002465bcbca532af53c8282d6fc8f9da3a2d6feca5b6a6eadf0cbf3d9a68 | /*
* Copyright 2002-2019 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 | oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/method/annotation/OAuth2AuthorizedClientArgumentResolver.java | djechelon/spring-security | apache-2.0 | 9,825 | 199 | codeparrot/github-code |
544193a12881f26d6f9fa40a1da1089667e72aa6360d4b0ad4a14c8718ef7aa8 | package org.apereo.cas.services.web;
import org.apereo.cas.BaseThymeleafTests;
import org.apereo.cas.validation.CasProtocolViewFactory;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.bean... | Java | support/cas-server-support-thymeleaf/src/test/java/org/apereo/cas/services/web/CasThymeleafViewResolverConfigurerTests.java | fogbeam/cas_mirror | apache-2.0 | 3,541 | 94 | codeparrot/github-code |
ab4c9df1449be182615279fc5a6f7bc013780ec88ef1088536709ab9df27a40a | package org.orienteer.bpm.camunda.handler;
import com.orientechnologies.orient.core.db.document.ODatabaseDocument;
import com.orientechnologies.orient.core.hook.ORecordHook.RESULT;
import com.orientechnologies.orient.core.hook.ORecordHook.TYPE;
import com.orientechnologies.orient.core.record.impl.ODocument;
import or... | Java | orienteer-bpm/src/main/java/org/orienteer/bpm/camunda/handler/TenantEntityHandler.java | OrienteerBAP/Orienteer | apache-2.0 | 3,209 | 123 | codeparrot/github-code |
9f746dc8af7c59071ba78193ded871984c3ee78852326f779c93e453e1eef7ce | /*
* 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.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under t... | Java | jbpm-flow/src/main/java/org/jbpm/process/instance/command/UpdateProcessCommand.java | MetSystem/jbpm | apache-2.0 | 2,071 | 67 | codeparrot/github-code |
a72e75aaf45d7b64fb46468c53d0a069f1f8788d803cf99af756da75f497bfeb | package io.advantageous.qbit.vertx.http.rest;
import io.advantageous.boon.core.Sys;
import io.advantageous.qbit.annotation.RequestMapping;
import io.advantageous.qbit.annotation.RequestMethod;
import io.advantageous.qbit.http.HTTP;
import io.advantageous.qbit.server.EndpointServerBuilder;
import io.advantageous.qbit.s... | Java | qbit/vertx/src/test/java/io/advantageous/qbit/vertx/http/rest/RestTests.java | bsa01/qbit | apache-2.0 | 2,053 | 82 | codeparrot/github-code |
19b367ade0aef162b9f59920f2c3851e4e0907a83a91eec4311f413bb826639f | --[[
Expression 2 Parser for Garry's Mod
Andreas "Syranide" Svensson, me@syranide.com
]]
AddCSLuaFile()
--[[
The following is a description of the E2 language as a parsing
expression grammar. Note that the parser does all its semantic analysis
while parsing, forbidding certain things which this grammar allows.
... | Lua | lua/entities/gmod_wire_expression2/base/parser.lua | notcake/wire | apache-2.0 | 41,766 | 1,494 | codeparrot/github-code |
476c42e7d3f3cb7e559c445fd6f768c8b38eb8ef6d7f936101fa19df56d4f0c9 | /*
* Copyright 2014-2016 CyberVision, 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 o... | Java | server/node/src/main/java/org/kaaproject/kaa/server/control/service/sdk/compiler/JavaDynamicManager.java | sashadidukh/kaa | apache-2.0 | 2,268 | 76 | codeparrot/github-code |
0ea6e52ae30341a9a32c07307e10a3ed0db91628d2e9f9ed0da8a4da7cf9967c | package brooklyn.entity.zookeeper;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import brooklyn.entity.Entity;
import brooklyn.entity.basic.Attributes;
import brooklyn.entity.basic.EntityInternal;
import... | Java | software/messaging/src/main/java/brooklyn/entity/zookeeper/ZooKeeperEnsembleImpl.java | aledsage/legacy-brooklyn | apache-2.0 | 3,224 | 101 | codeparrot/github-code |
a11560f662065fd9a26446864866796217fa883744a61e1fa32a68c0fffd1cf2 | /*
* Copyright (C) 2004-2008 Jive Software. 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 require... | Java | xmppserver/src/main/java/org/jivesoftware/openfire/spi/PresenceManagerImpl.java | guusdk/Openfire | apache-2.0 | 25,319 | 604 | codeparrot/github-code |
8c6942ee0b0891e108b271e839da52ccba1e425b35c6633bc010d0458384a9d9 | /*
* Copyright 2007-2009 Niclas Hedhman.
* Copyright 2008 Alin Dreghiciu.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... | Java | core/runtime/src/main/java/org/qi4j/runtime/query/QueryBuilderFactoryImpl.java | joobn72/qi4j-sdk | apache-2.0 | 2,171 | 68 | codeparrot/github-code |
822e90f801a69f598cc88323ffa9d9213922c536e81e55528df2692ae6340e99 | /**
* 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 | hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/TestMiniJournalCluster.java | apache/hadoop | apache-2.0 | 5,612 | 152 | codeparrot/github-code |
3119e09c8b3df94df0865ef3058fffe6ac9af664336caf8159120d8a63308db7 | //
// MHFacebookImageViewer.h
// Version 2.0
//
// Copyright (c) 2013 Michael Henry Pantaleon (http://www.iamkel.net). All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Softwa... | C | MHFacebookImageViewer/MHFBImageViewController/MHFacebookImageViewer.h | liumingkong/android-source-lib | apache-2.0 | 3,226 | 67 | codeparrot/github-code |
3ffdac87daadf4e3211c5b081b65c1e1a1c839f8d9749dbf726fcaf03564bc8d | package test.retryAnalyzer;
import org.testng.Assert;
import org.testng.util.RetryAnalyzerCount;
import org.testng.ITestResult;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
/**
* retryAnalyzer parameter unit tests.
* @author tocman@gmail.com (Jeremie Lenfant-Engelmann)
... | Java | test/src/test/retryAnalyzer/RetryAnalyzerTest.java | ludovicc/testng-debian | apache-2.0 | 2,102 | 84 | codeparrot/github-code |
4d86d774741a9d43a19cc56de417b242401d5574d81139d1998b8f55f1e873c1 | /*
* ARX: Powerful Data Anonymization
* Copyright 2014 Karol Babioch <karol@babioch.de>
*
* 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/org/deidentifier/arx/io/ImportConfigurationExcel.java | COWYARD/arx | apache-2.0 | 7,625 | 242 | codeparrot/github-code |
acbbb9241a2f11e130422286ac686feb35e67445dd44f3d7fd1a75cdeed8589d | /**
* 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 | engine/src/main/java/com/datatorrent/stram/engine/StreamingContainer.java | sandeshh/apex-core | apache-2.0 | 69,610 | 1,668 | codeparrot/github-code |
6ca4d9d9eb2efabb50eec475531ebe3de0b4846aef8d78ec587f2779dbb76a26 | use std::env;
use std::fs;
use std::io::prelude::*;
use std::fs::File;
use std::path::Path;
extern crate toml;
#[macro_use]
extern crate serde_derive;
// error in rust compiler. Bugfix requested in Sept. 2017
// these are used, but the compiler is not seeing it for
// some reason
#[allow(unused_imports)]
#[macro_us... | Rust | vcx/libvcx/build.rs | srottem/indy-sdk | apache-2.0 | 5,859 | 168 | codeparrot/github-code |
06fee7b3c7b37c18aea81b63b8f74bb61d173c5bf4a84151c615ff6334ca64de | /**
* Copyright 2014 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | JavaScript | public/red/ui/menu.js | ilc-opensource/mcf | apache-2.0 | 4,964 | 168 | codeparrot/github-code |
9caf856ce69fcf2c4e7a0efd6fa407f3f2b9ece1aad87d4126badf567ae3c9a6 | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | Java | core/server/worker/src/test/java/alluxio/worker/block/BlockStoreLocationTest.java | EvilMcJerkface/alluxio | apache-2.0 | 5,543 | 137 | codeparrot/github-code |
983eccfbd7db97c50e8913af351484f14274667f0f109d920950398df3f5e024 | //===- TestLowerVectorTransfers.cpp - Test VectorTransfers lowering -------===//
//
// Copyright 2019 The MLIR 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.... | C++ | third_party/mlir/test/lib/Transforms/TestLowerVectorTransfers.cpp | ppwwyyxx/tensorflow | apache-2.0 | 1,544 | 45 | codeparrot/github-code |
87de2aeaec55ebae2fadf8875a02d50cf9e640f1130a994ee8eb364136ccf0a6 | /*
* #%L
* SparkCommerce Open Admin Platform
* %%
* Copyright (C) 2009 - 2013 Spark Commerce
* %%
* 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/lice... | Java | spark-open-admin-platform/src/main/java/org/sparkcommerce/openadmin/dto/PersistencePackage.java | akdasari/SparkAdmin | apache-2.0 | 11,469 | 303 | codeparrot/github-code |
54fd8bdf55d24a0336e4297d7df18bb4ac0779cc1ac90e291dd0e4a2ec256b22 | /*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may n... | Java | core/src/main/java/com/graphhopper/routing/weighting/ShortFastestWeighting.java | ratrun/graphhopper | apache-2.0 | 3,049 | 79 | codeparrot/github-code |
1ce066c6fa22e72ecb156a091e8e859c74095267efd76b5f64449035e6a62f31 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Class template unordered_set_base_hook</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../index... | HTML | boost_1_54_0/doc/html/boost/intrusive/unordered_set_base_hook.html | ryancoleman/autodock-vina | apache-2.0 | 16,829 | 128 | codeparrot/github-code |
50d8beeaea4772c164b32782f9ccac5153b0eecb681404df0803e01f3aa783a0 | /*
Copyright 2016 Goldman Sachs.
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,
sof... | Java | src/test/java/com/gs/fw/common/freyaxml/test/TottTest.java | motlin/gs-xsd2bean | apache-2.0 | 11,071 | 273 | codeparrot/github-code |
8dabab70975d38f33960b8ed9333738a5318ece18abcd348985ef3284a2d88c8 | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cc/layers/delegated_renderer_layer.h"
#include "cc/layers/delegated_renderer_layer_impl.h"
#include "cc/output/delegated_frame_data.h"
namespa... | C++ | src/cc/layers/delegated_renderer_layer.cc | plxaye/chromium | apache-2.0 | 3,611 | 104 | codeparrot/github-code |
79ebc697b873a19b9c463a740a49ba4deca2e7bb21195400a2979a635d1fd532 | package commands
import (
"errors"
"fmt"
"os"
"strings"
"github.com/codegangsta/cli"
"github.com/docker/machine/commands/mcndirs"
"github.com/docker/machine/libmachine"
"github.com/docker/machine/libmachine/crashreport"
"github.com/docker/machine/libmachine/host"
"github.com/docker/machine/libmachine/log"
... | GO | commands/commands.go | denverdino/machine | apache-2.0 | 11,950 | 456 | codeparrot/github-code |
46bc44b19693f1a2bfb34ff20ed33478f6c26da259a18345375d46df0553dfa4 | /**
* Copyright 2014-2016 CyberVision, 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 applicabl... | Java | server/node/src/main/java/org/kaaproject/kaa/server/admin/client/mvp/view/widget/ExtendedPasswordTextBox.java | Deepnekroz/kaa | apache-2.0 | 2,037 | 59 | codeparrot/github-code |
f5281556beb9a120cb08a9343c64ef1b5505af2afcb377dabf35f0fbdf559e3d | #pragma once
#include "envoy/server/filter_config.h"
#include "envoy/server/instance.h"
#include "envoy/server/listener_manager.h"
#include "envoy/server/worker.h"
#include "common/common/logger.h"
#include "server/init_manager_impl.h"
#include "api/lds.pb.h"
namespace Envoy {
namespace Server {
/**
* Prod imple... | C | source/server/listener_manager_impl.h | rlazarus/envoy | apache-2.0 | 11,157 | 257 | codeparrot/github-code |
48d1cf8a6416073de4ec3b4b719232c84634cb51c498489fab5f9b51f7a95a40 | package brooklyn.util.net;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.net.URLEncoder;
import javax.annotation.Nullable;
import brooklyn.util.text.Strings;
import com.google.common.base.Function;
import com.goo... | Java | utils/common/src/main/java/brooklyn/util/net/Urls.java | azharhashmi/brooklyn | apache-2.0 | 6,311 | 188 | codeparrot/github-code |
5567f218981e84897f6e8c758697f3453db04befa21d597552a95ffddd50ed93 | /*
* Copyright 2012 Amadeus s.a.s.
* 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... | JavaScript | src/aria/utils/validators/MinMaxLength.js | fbasso/ariatemplates | apache-2.0 | 2,361 | 61 | codeparrot/github-code |
9e1dd489e1f859f29a476852eeafb221e935cc9f2038f61c594e0e64435f6693 | # Copyright (c) 2013-2014 Peter V. Saveliev
#
# This file is part of pyroute2 project.
#
# Pyroute2 is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) ... | Makefile | Makefile | mtiny/pyroute2 | apache-2.0 | 4,203 | 156 | codeparrot/github-code |
177873a9ff014d1911938aa599914e88a376957b0068a2e9ae47e30f3809f2e1 | #include "cpp/htmlparser/fileutil.h"
#include <glob.h>
#include <cstring>
#include <fstream>
#include <iostream>
#include <sstream>
#include "cpp/htmlparser/defer.h"
#include "cpp/htmlparser/strings.h"
// TODO(caoboxiao)
// The Macro `GLOB_TILDE` is not defined in the WebAssembly environment because
// WebAssembly ... | C++ | validator/cpp/htmlparser/fileutil.cc | alanorozco/amphtml | apache-2.0 | 4,518 | 144 | codeparrot/github-code |
a707c4013d0e95ab5050f356c3df118955b57524a3f0f8f79e71fbfeafa6c526 | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | Java | aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/transform/InvalidS3BucketNameExceptionUnmarshaller.java | mhurne/aws-sdk-java | apache-2.0 | 1,559 | 43 | codeparrot/github-code |
91fb75b2d99eabb5f5bdd4190d9b11788311c7c1b86179e4fc884ff9e04148ff | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | JavaScript | webapps/ui/cockpit/client/scripts/repository/deployments/directives/cam-cockpit-deployment.js | camunda/camunda-bpm-platform | apache-2.0 | 1,583 | 53 | codeparrot/github-code |
314d2ffb820215418082558d2a065d51ced951a72a50bb687f8369bbc15c8c87 | /*=============================================================================
Library: CppMicroServices
Copyright (c) The CppMicroServices developers. See the COPYRIGHT
file at the top-level directory of this distribution and at
https://github.com/CppMicroServices/CppMicroServices/COPYRIGHT .
Licensed un... | C++ | doc/src/tutorial/frenchdictionary/Activator.cpp | saschazelzer/CppMicroServices | apache-2.0 | 3,708 | 117 | codeparrot/github-code |
88f2402334b9ac394e8260d994689be6995f1cc140e30db2c06bab99b18e5b5c | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Composition;
using System.Diagnostics.CodeAnalysis;
us... | C# | src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/LanguageServices/CSharpRemoveUnnecessaryImportsService.cs | wvdd007/roslyn | apache-2.0 | 4,477 | 97 | codeparrot/github-code |
0f670d86d0ade99ae24d5746026463dea2d2ce7bc51d97807c14cbd8beafa907 | // Copyright 2009 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... | Java | src/main/java/com/google/gwtorm/jdbc/JdbcExecutor.java | 1yvT0s/gerrit.gwtorm | apache-2.0 | 1,535 | 56 | codeparrot/github-code |
9980e5bf3f01828208b26f65d0105541bf4a2ae9fb3a9bbdab6c65909f080fea | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="Apache Forrest" name="Generator">
<meta name="Forrest-version" content="0.7">
<meta name="Forrest-skin-name" content="pe... | HTML | site/version_control.html | lritter/gnutch | apache-2.0 | 8,284 | 228 | codeparrot/github-code |
abe18539a1d1f3936337defb215637bf768e2539e67833bca1a131287a495288 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Scala | core/src/main/scala/org/apache/spark/network/nio/SecurityMessage.scala | Dax1n/spark-core | apache-2.0 | 5,777 | 161 | codeparrot/github-code |
bc15d4b07d5f68c1efa1196cc4d8bb1364fd51017b29980fe969233a7b3139f3 | package org.hl7.fhir.dstu3.model.valuesets;
import org.hl7.fhir.dstu3.exceptions.FHIRException;
public enum V3AcknowledgementDetailType {
/**
* Definition:An issue which has prevented, or will prevent (unless a management is provided for the issue by the sender), the successful processing of ... | Java | hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/valuesets/V3AcknowledgementDetailType.java | Cloudyle/hapi-fhir | apache-2.0 | 4,731 | 104 | codeparrot/github-code |
93189e4c7a0b557c761a615f0ad7cdf4389348a779057feb5b299390ec689b73 | // Copyright 2012 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-MIT or ... | Rust | src/test/compile-fail/borrowck-lend-flow-loop.rs | kmcallister/rust | apache-2.0 | 4,379 | 172 | codeparrot/github-code |
feba3cf7dccab82d7575c2fbb6306a6cc761010af3817af59f2f8d72031d5581 | /*
* Copyright 2012-2013 inBloom, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | JavaScript | TeamMnMGroupingWebApp/TeamMnMGroupingWebApp/obj/Release/Package/PackageTmp/Content/js/widgets/studentListItemWidget.js | inbloom/APP-student-grouping-tool | apache-2.0 | 13,170 | 367 | codeparrot/github-code |
2ea0bc3a817f6f9bde168282ccd031ef1565988ca7e5e50e82f76b9f3d1eb3dc | // bdlat_typecategory.t.cpp -*-C++-*-
// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example f... | C++ | groups/bdl/bdlat/bdlat_typecategory.t.cpp | idispatch/bde | apache-2.0 | 67,580 | 2,097 | codeparrot/github-code |
dad068697e29c8d39d25fd5cb7202b77a129d8506a0f332cdb26e348b594aa99 | /*
* Copyright 2014-2016 CyberVision, 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 o... | Java | server/common/dao/src/main/java/org/kaaproject/kaa/server/common/dao/model/sql/EventClassFamily.java | vtkhir/kaa | apache-2.0 | 8,677 | 292 | codeparrot/github-code |
66dec442295b2147e964782372bc2bd5815d72c676dffdc2b821616b17dd591c | #!/usr/bin/env python
# Copyright 2018 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 appli... | Python | experiment/fix_testgrid_config.py | kargakis/test-infra | apache-2.0 | 2,759 | 100 | codeparrot/github-code |
c349d6a60d2a9a34e2a5f5d83305145c552d3e4e103c4b90e332d6a3b9cf3887 | /**
* JBoss, Home of Professional Open Source.
* Copyright 2014-2022 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the... | Java | datastore/src/main/java/org/jboss/pnc/datastore/repositories/GenericSettingRepositoryImpl.java | project-ncl/pnc | apache-2.0 | 1,808 | 51 | codeparrot/github-code |
281a9ba8c65093387772463abcca030cad9246fd24330e96376b5d5f9fe04cc3 | """Sensor platform for Hass.io addons."""
from __future__ import annotations
from homeassistant.components.sensor import (
SensorEntity,
SensorEntityDescription,
SensorStateClass,
)
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import PERCENTAGE
from homeassistant.core impor... | Python | homeassistant/components/hassio/sensor.py | home-assistant/home-assistant | apache-2.0 | 3,165 | 110 | codeparrot/github-code |
64b6e49a0abd73ee4df54bec39874990edbd4fb12d42f339f352b3f34f448709 | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | java/idea-ui/src/com/intellij/ide/util/importProject/ModuleInsight.java | michaelgallacher/intellij-community | apache-2.0 | 17,892 | 480 | codeparrot/github-code |
871c887f15b63296d19a33e89c175a6421bc6345a563ba6bb7bbe258e417466e | /*
* 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... | JavaScript | examples/video/index.js | googlearchive/vrview | apache-2.0 | 3,245 | 115 | codeparrot/github-code |
88e09ced66fddf0164429f6af4490bfed781a2171e8217f61fd6f5db426aac68 | /*
* 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/test/java/io/prestosql/block/TestMapBlock.java | miniway/presto | apache-2.0 | 13,172 | 289 | codeparrot/github-code |
f41b1dc49696e43ed4be682961f4ee63d94771a4bec00fe14d7adc80318bed29 | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | platform/vcs-impl/src/com/intellij/openapi/vcs/ui/CommitMessage.java | hurricup/intellij-community | apache-2.0 | 7,547 | 196 | codeparrot/github-code |
98ee709df0c456e48c0d9cd42604f5d39b5b64ac80b36709cb80ca69a039d2b0 | /*
* $Id$
*
* 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
* "Lice... | Java | src/core/src/test/java/org/apache/struts2/dispatcher/HttpHeaderResultTest.java | TheTypoMaster/struts-2.3.24 | apache-2.0 | 4,836 | 134 | codeparrot/github-code |
8b885cd0a948d6d90b08eb2618a59d67084b837e24d54be4cb668a0b430ef9d8 | #[macro_use]
extern crate glium;
mod support;
use glium::Surface;
use glium::glutin;
use glium::index::PrimitiveType;
fn main() {
use glium::DisplayBuild;
// building the display, ie. the main object
let display = glutin::WindowBuilder::new()
.build_glium()
.unwrap();
// building th... | Rust | examples/triangle.rs | bvssvni/glium | apache-2.0 | 3,948 | 155 | codeparrot/github-code |
933fef47f213710cef13aab28dcfb241aab58377c33100282758e9234c120fa5 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | modules/core/src/test/java/org/apache/ignite/testsuites/IgnitePdsMvccTestSuite4.java | ilantukh/ignite | apache-2.0 | 3,571 | 72 | codeparrot/github-code |
2b60a306868bc5b24c7f1e66eed0b9ab2d3be3a154bf978af8b28a593d2d08ad | package liquibase.ext.ora.splittable;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import liquibase.change.ColumnConfig;
import liquibase.database.Database;
import liquibase.database.core.OracleDataba... | Java | src/main/java/liquibase/ext/ora/splittable/SplitTableGenerator.java | gillsuGeorge/liquibase-oracle | apache-2.0 | 15,116 | 319 | codeparrot/github-code |
39e9504cbd1cc55cfc22d93ee42918f0f568f91653973c86223ef7cf1aae2b1a | /*
Copyright 2014 The Kubernetes Authors All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... | GO | pkg/registry/etcd/etcd.go | fengshao0907/kubernetes | apache-2.0 | 5,975 | 181 | codeparrot/github-code |
587e06a99c242e4015d0f826356a8e5dff29a0698bab2bef4baff98a1c3f86e2 | # Copyright 2012 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | Python | nova/virt/disk/vfs/guestfs.py | tanglei528/nova | apache-2.0 | 8,034 | 227 | codeparrot/github-code |
67e8ebafd7d11d9a7ac56c2e1c53d951a96a8889d02b5cf06a11b62291357469 | // Modifications copyright (C) 2017, Baidu.com, Inc.
// Copyright 2017 The Apache Software Foundation
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. ... | Java | fe/test/com/baidu/palo/catalog/RangePartitionInfoTest.java | morningman/palo | apache-2.0 | 6,815 | 144 | codeparrot/github-code |
1d84d075ee977841c7e1eeb20b32471f00ad23dd7f6a6537918f8c4a843413bf | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | src/core/org/apache/jmeter/threads/gui/ThreadGroupGui.java | vherilier/jmeter | apache-2.0 | 8,847 | 249 | codeparrot/github-code |
affe8e1027b5f2e479a7cbe739b9093640b64b238d945ada9fcc31a380aa1734 | // (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP
import React, { Component, PropTypes } from 'react';
import classnames from 'classnames';
import CSSClassnames from '../../../utils/CSSClassnames';
import Intl from '../../../utils/Intl';
import Props from '../../../utils/Props';
const CLASS_ROOT = ... | JavaScript | src/js/components/icons/base/UserExpert.js | nickjvm/grommet | apache-2.0 | 1,900 | 55 | codeparrot/github-code |
8d53735619fe5c348139450b7c2f4b6ad841a6c70107607e8e628f7453af8724 | ({
/**
* verify client action exist in Parent only get called.
*/
testClientSideActionInParentOnly : {
test : [function(component) {
var clientAction = component.get("c.clientSideActionInParentOnly");
$A.enqueueAction(clientAction);
$A.test.addWait... | JavaScript | aura-components/src/test/components/actionsTest/inheritanceByExtensionParentCmp/inheritanceByExtensionParentCmpTest.js | badlogicmanpreet/aura | apache-2.0 | 1,983 | 56 | codeparrot/github-code |
b0e915c185c7043f04b20f25d029fdc653a9ad5e042de28260e99adb1694d64c | /*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | Java | server/src/main/java/io/druid/server/coordination/broker/DruidBroker.java | mrijke/druid | apache-2.0 | 2,766 | 93 | codeparrot/github-code |
f1ce1b96b636ca361d9668e157339d9b2dfa778d39570a5bf1719c7b05d6b9f0 | // 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 | vmware-base/src/com/cloud/hypervisor/vmware/mo/HostNetworkSystemMO.java | mufaddalq/cloudstack-datera-driver | apache-2.0 | 2,488 | 66 | codeparrot/github-code |
1f73a0d4195459901e117abd5abc3defb736545fbde91dc1ff0ba8b1c8fad45a | /*
* Copyright 2015 ThoughtWorks, 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 agr... | JavaScript | server/webapp/WEB-INF/rails.new/app/assets/javascripts/pipeline_configs/models/tasks.js | mdaliejaz/gocd | apache-2.0 | 9,151 | 296 | codeparrot/github-code |
df4842ae43f69bff88b919426e35b1ca6ef22cc589efb65c4d06264c8d07b177 |
package org.drip.spline.pchip;
/*
* -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*/
/*!
* Copyright (C) 2014 Lakshmi Krishnamurthy
* Copyright (C) 2013 Lakshmi Krishnamurthy
*
* This file is part of DRIP, a free-software/open-source library for fixed income analysts a... | Java | 2.3/src/org/drip/spline/pchip/LocalControlStretchBuilder.java | tectronics/splinelibrary | apache-2.0 | 19,642 | 456 | codeparrot/github-code |
dbd95f381d46b325a688ab128eeb98ff9d8cbe09e49fde1c7ef231559fbe7603 | /*
* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | Java | tensorflow/examples/android/src/org/tensorflow/demo/DetectorActivity.java | laosiaudi/tensorflow | apache-2.0 | 9,963 | 318 | codeparrot/github-code |
7f090a4228e2dc8c9ea65a4be7d25151a3d88225167f060602f8be326e14a884 | /*
* 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/java/org/apache/cassandra/tools/NodeProbe.java | leomrocha/cassandra | apache-2.0 | 34,793 | 1,071 | codeparrot/github-code |
3406ac741e9ef068d400b68c10a6325284a16f6d453516cf761e95a080552324 | /*
* Copyright (c) 2015, salesforce.com, inc.
* All rights reserved.
* Redistribution and use of this software in source and binary forms, with or
* without modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright notice, this... | Java | libs/SmartSync/src/com/salesforce/androidsdk/smartsync/util/MruSyncDownTarget.java | kchitalia/android-travis | apache-2.0 | 5,309 | 148 | codeparrot/github-code |
e5cafe143feabb45952a81e07224a1715b93683ea9f0ea3bfc54714a54ab1873 | //Copyright 2015 Erik De Rijcke
//
//Licensed under the Apache License,Version2.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,sof... | Java | compositor/src/test/java2do/org/westford/compositor/protocol/WlShellSurfaceTest.java | Zubnix/westmalle | apache-2.0 | 8,702 | 222 | codeparrot/github-code |
3c54484c014f4e7aa80af27d9c6e57989e493b504e0cc033bd0b1ad0e3224535 | /*
Copyright 2011-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 law or agreed t... | Java | src/main/java/com/google/security/zynamics/binnavi/Gui/Debug/DebuggerSelectionPanel/CDebuggerSelectionPanelSynchronizer.java | AmesianX/binnavi | apache-2.0 | 4,013 | 109 | codeparrot/github-code |
46c6807f44f1606a6cabae3515a143ccf116264d6525c64b5d9fd8e583271685 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2010 British Broadcasting Corporation and Kamaelia Contributors(1)
#
# (1) Kamaelia Contributors are listed in the AUTHORS file and at
# http://www.kamaelia.org/AUTHORS - please extend this file,
# not this notice.
#
# Licensed under the Apache License... | Python | Sketches/MH/KPI.py | sparkslabs/kamaelia | apache-2.0 | 3,026 | 85 | codeparrot/github-code |
b7402f5ac6cc1ecd724c67b7d6c21b1dc940bfe15639f2094abdc0a588af7e9b | /*
* $Id$
*
* 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
* "Lice... | Java | src/plugins/javatemplates/src/main/java/org/apache/struts2/views/java/simple/SubmitHandler.java | Ile2/struts2-showcase-demo | apache-2.0 | 4,106 | 99 | codeparrot/github-code |
5f2e4dbf666af924ac8000f8eeb76e0234cc33ad0de4986f4b7154afbe334ad6 | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | java/debugger/impl/src/com/intellij/debugger/engine/ThreadBlockedMonitor.java | apixandru/intellij-community | apache-2.0 | 5,770 | 148 | codeparrot/github-code |
cdc916473dd97703936d3480c52b9a502c2e84a5bbe0898aab33e0bc2c798e85 | package com.airbnb.aerosolve.core.util;
import com.airbnb.aerosolve.core.Example;
import com.airbnb.aerosolve.core.FeatureVector;
import com.airbnb.aerosolve.core.DictionaryEntry;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayList;
import java.util.List;
import... | Java | core/src/test/java/com/airbnb/aerosolve/core/util/StringDictionaryTest.java | airbnb/aerosolve | apache-2.0 | 2,304 | 76 | codeparrot/github-code |
e909002b90167229e5564a72a29a6563e29fabf4d11fdbde6c4432f282ae29ca | <!DOCTYPE html>
<html itemscope lang="en-us">
<head><meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="g... | HTML | static/events/2018-sao-paulo/speakers/mateus-prado/index.html | gomex/devopsdays-web | apache-2.0 | 19,962 | 300 | codeparrot/github-code |
c68f81f02dc604be184feb62972776466b3e7f20d0c649bffe74b622849d1ca9 | /*
* Copyright 2012-2014 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 | spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandRunner.java | 10045125/spring-boot | apache-2.0 | 8,858 | 307 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.