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 |
|---|---|---|---|---|---|---|---|---|
328c0c511a65770a9cf82bc26cf16fc76dc2e90107461954832d070f5d980d85 | /*
* Copyright (c) 2019 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | C | src/vnet/ip/ip6_link.c | FDio/vpp | apache-2.0 | 20,548 | 838 | codeparrot/github-code |
e07cc0060e03c7adfc768a8d8c4cfd74d65e434bca88c697503f23920d58074a | /**
* © 2019 Refinitiv. 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 l... | Scala | server/cmwell-ws/app/Global.scala | e-orz/CM-Well | apache-2.0 | 3,783 | 113 | codeparrot/github-code |
0f1c2b5fd41c2f8b50bb11289221be23b25f8931cd0c820de8e051dfa6888aaf | /*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | C# | sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/DescribeDBSubnetGroupsResponseUnmarshaller.cs | rafd123/aws-sdk-net | apache-2.0 | 5,246 | 139 | codeparrot/github-code |
9824ebbbd106c1fe8f724061c55c77b1e25349d7e28c3957a9084e6e33731711 | package test
import org.specs2.mutable._
import play.api.test._
import play.api.test.Helpers._
import play.api.test.FakeApplication
import java.util.concurrent.{Executors, CountDownLatch}
import play.api.libs.iteratee
import scala.concurrent.ExecutionContext
import org.junit.runner._
import org.specs2.mutable._
imp... | Scala | samples/scala/shorturls/test/ApplicationSpec.scala | ReactiveCouchbase/ReactiveCouchbase-play | apache-2.0 | 1,365 | 54 | codeparrot/github-code |
55269c87305076a6974f35e609dfe3251065c000992676d9793e832193cfe253 | // PathVisio,
// a tool for data visualization and analysis using Biological Pathways
// Copyright 2006-2011 BiGCaT Bioinformatics
//
// 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 | tools/AtlasMapper/src/org/pathvisio/wikipathways/client/GeneTooltip.java | kozo2/pathvisio | apache-2.0 | 4,643 | 140 | codeparrot/github-code |
fa2391d038e61892a80f2b8a0bc72ac002173415f19560ac34496332c0c4a149 | /*
Copyright (c) 2005-2019 Intel Corporation
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++ | examples/graph/som/som.cpp | 01org/tbb | apache-2.0 | 7,281 | 214 | codeparrot/github-code |
2b23c8db8f3cd44e742589d24b69d93e5fbac319957a4169b1ab1b7b518b55e6 | package org.keycloak.services.util;
import org.apache.http.client.HttpClient;
import org.apache.http.conn.ClientConnectionManager;
import org.apache.http.conn.scheme.PlainSocketFactory;
import org.apache.http.conn.scheme.Scheme;
import org.apache.http.conn.scheme.SchemeRegistry;
import org.apache.http.conn.ssl.AllowAl... | Java | services/src/main/java/org/keycloak/services/util/HttpClientBuilder.java | gregjones60/keycloak | apache-2.0 | 11,630 | 314 | codeparrot/github-code |
d6de047a63259858ee68eae7e8c28739bcf2a1c1fff56bd6f40f3f0a6d7b2767 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
namespace Microsoft.ApiDesignGuidelin... | C# | src/Microsoft.CodeQuality.Analyzers/Core/ApiDesignGuidelines/UsePreferredTerms.Fixer.cs | bkoelman/roslyn-analyzers | apache-2.0 | 1,103 | 30 | codeparrot/github-code |
dcb7eec41f838ee31c3b01dc45ecd4f7825d1167047de64ebd0286d8d9c1c5cb | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Java | client/app/src/main/java/com/android/example/devsummit/archdemo/job/AutoCancelAsyncTask.java | talhakosen/RubyTestServer | apache-2.0 | 2,528 | 88 | codeparrot/github-code |
6d6ade024f5f8614cfc48717e87322bb09e56dfcd1d72b50c783b0ff6c9161f1 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace SqlSugar
{
public class SubOrderBy : ISubOperation
{
public bool HasWhere
{
get; set;
}
public string Name
{
get { ret... | C# | Src/Asp.NetCore2/SqlSeverTest/SqlSugar/ExpressionsToSql/Subquery/Items/SubOrderBy.cs | sunkaixuan/SqlSugar | apache-2.0 | 2,405 | 94 | codeparrot/github-code |
5f35bff7589219e83711b219c9d2d5dc56fdec5c0f3dc70c615e9513bf772a5d | /**
* 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... | JavaScript | superset-frontend/plugins/legacy-plugin-chart-parallel-coordinates/src/ParallelCoordinates.js | apache/incubator-superset | apache-2.0 | 3,621 | 130 | codeparrot/github-code |
180efb8ac97ee23a845a3de64fc20ea1c25a569ffce9826dcc1039c637e3fc06 | /** @file
The DHCP4 protocol implementation.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license ma... | C | third_party/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.h | google/google-ctf | apache-2.0 | 6,076 | 196 | codeparrot/github-code |
cb73d1bdd334f352aabcb69c9fdc0efabfc44081c2be5a2e5fb0c33f463830ff | package com.bt.pi.sss;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.File;
import org.apache.commons.io.FileUtils;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import com.bt.pi.sss.exception.PisssConfigException;
public class Start... | Java | src/test/java/com/bt/pi/sss/StartupCheckerTest.java | barnyard/pi-sss | apache-2.0 | 1,993 | 70 | codeparrot/github-code |
d49875a5a93f46d8336a81c262f1afaf64f4b652d6a9d4aaad09a7a969881b0a | /*
* Copyright (c) 2010-2012 Sonatype, Inc. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/lic... | Java | providers/netty/src/main/java/org/asynchttpclient/providers/netty/WebSocketUtil.java | typesafehub/async-http-client | apache-2.0 | 2,451 | 73 | codeparrot/github-code |
6a54899df44c8bffc651c85ddfb6d879c4005c60c308fca95063842ff62fa314 | /*
* Copyright 2015 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 a... | Java | kie-wb-common-screens/kie-wb-common-project-editor/kie-wb-common-project-editor-client/src/main/java/org/kie/workbench/common/screens/projecteditor/client/editor/extension/BuildOptionExtension.java | dgutierr/kie-wb-common | apache-2.0 | 942 | 31 | codeparrot/github-code |
5323f4908e63cb52e80d148da105f481d44eb40fc756bb033ca3f3d15eea061f | /*
* Autopsy Forensic Browser
*
* Copyright 2011-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
*
* http... | Java | Testing/src/org/sleuthkit/autopsy/testing/AutopsyTestCases.java | esaunders/autopsy | apache-2.0 | 22,685 | 473 | codeparrot/github-code |
ccd80dff9704e3106052a2fad5f8d834f3877a64ecd89572f39c867a977463a4 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="description" content="">
<meta name="author" content="">
<title>GSAN at McGil... | HTML | templates/faq.html | ravnoor/axon.gsaneuro | apache-2.0 | 27,742 | 426 | codeparrot/github-code |
14bef72f192132531646b6a72046cfa3e1b5d969c4f9d70502a9fb1e66996c0f | /* Copyright (c) <2003-2011> <Julio Jerez, Newton Game Dynamics>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpo... | C | PhysX-3.3/APEXSDK/shared/general/HACD/include/dgRefCounter.h | LiangYue1981816/CrossEngine | apache-2.0 | 1,542 | 73 | codeparrot/github-code |
06be380ab01c423d05ba35653a0da48250081d61d05370506b6d7a0d3e671ed5 | package com.sematext.lucene.query.extractor;
import java.util.List;
import java.util.Set;
import org.apache.lucene.search.Query;
/**
* GenericQueryExtractor. Used if no other extractors matches. Lower level (leaf) extractor.
* @author prog
*/
public class GenericQueryExtractor extends QueryExtractor<Query> {
/*... | Java | src/main/java/com/sematext/lucene/query/extractor/GenericQueryExtractor.java | lstrojny/solr-redis | apache-2.0 | 917 | 34 | codeparrot/github-code |
b2a15fea758eaf32168f95f63ddcc0b1a22441f37984c1db3b546340852baf26 | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.vcs.log.graph.impl.facade;
import com.intellij.util.containers.ContainerUtil;
import com.intellij.vcs.log.graph.*;
import com.intellij.vcs.log.graph.actions.... | Java | platform/vcs-log/graph/src/com/intellij/vcs/log/graph/impl/facade/VisibleGraphImpl.java | msebire/intellij-community | apache-2.0 | 11,206 | 314 | codeparrot/github-code |
41290ebc61f42179ff4a67d8f2bb7a457198d598b82b8d4df79b80a881f9b4c1 | package hex.coxph;
import hex.ModelMojoWriter;
import water.rapids.ast.prims.mungers.AstGroup;
import water.util.IcedHashMap;
import water.util.IcedInt;
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
public class CoxPHMojoWriter extends ModelMojoWriter<CoxPHModel, CoxPHModel.CoxPHParamet... | Java | h2o-algos/src/main/java/hex/coxph/CoxPHMojoWriter.java | h2oai/h2o-3 | apache-2.0 | 1,412 | 48 | codeparrot/github-code |
f24811ff6f02a6ffcee6b9e5a3e5941584e62a140da2c3f77839cac5cf5e546a | /*******************************************************************************
* Copyright 2015 See AUTHORS file.
* <p/>
* 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
* <p/>
* http:/... | Java | core/src/com/mygdx/game/blender/BlenderAssetManager.java | davebaol/GdxDemo3D | apache-2.0 | 10,880 | 334 | codeparrot/github-code |
7eeceae3df4136516a91360d579d3e89c5687e50424a3ae71d8cdbc8e57252b6 | /*
Copyright 2016 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 | federation/pkg/dnsprovider/providers/aws/route53/stubs/route53api.go | sitepod/kubernetes | apache-2.0 | 4,679 | 113 | codeparrot/github-code |
76de6b69404592099a47db08177239354fda1737fcb28122d4a9b5e56f131ab1 | /**
*
* 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"); ... | Java | src/main/java/com/alibaba/wasp/zookeeper/ZKTable.java | alibaba/wasp | apache-2.0 | 13,550 | 395 | codeparrot/github-code |
276ec5454b15ee6b0cb4f03c7d1fd84fad906e41bafc0b923fa947280122d514 | /*
FreeRTOS V9.0.0rc2 - Copyright (C) 2016 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
... | C | freertos/os/FreeRTOS/Demo/RX100_RX113-RSK_Renesas_e2studio/src/Full_Demo/main_full.c | kubostech/KubOS | apache-2.0 | 22,851 | 668 | codeparrot/github-code |
5fbd38284ac19bc2ccf8b05497706bb1c2a83a75aeaa18848f36d0ab37ba9651 | /**
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless requ... | Java | rice-framework/krad-sampleapp/web/src/it/java/org/kuali/rice/krad/demo/uif/library/containers/DemoContainersGroupBasicAft.java | ewestfal/rice-svn2git-test | apache-2.0 | 2,343 | 70 | codeparrot/github-code |
912c29173acc81ca61f50940fcf6ba418dd3d6d322d1ff72216db22c35aa11b2 | """Support for INSTEON dimmers via PowerLinc Modem."""
import logging
from homeassistant.helpers.entity import Entity
from .insteon_entity import InsteonEntity
_LOGGER = logging.getLogger(__name__)
async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):
"""Set up the INSTEON devi... | Python | homeassistant/components/insteon/sensor.py | postlund/home-assistant | apache-2.0 | 876 | 32 | codeparrot/github-code |
acaca857b5fbebee07bab2c5fefe99f7ddeca704c9fb9b4bbd836b0c4c34029a | package de.codecrafters.tableview.model;
import java.util.HashMap;
import java.util.Map;
/**
* A {@link TableColumnModel} implementation holding absolute column widths.
*
* @author ISchwarz
* @deprecated This class has been deprecated in version 2.4.1. Use the {@link TableColumnPxWidthModel} instead.
... | Java | tableview/src/main/java/de/codecrafters/tableview/model/TableColumnWidthModel.java | ISchwarz23/SortableTableView | apache-2.0 | 2,263 | 73 | codeparrot/github-code |
2281d5b6dc8a3a2c37a2727d497f65e057092c0615af37c6378f01aee2c31242 | package org.kie.eclipse.navigator.view.actions.project;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.kie.eclipse.navigator.view.actions.KieNavigatorAction;
import org.kie.eclipse.navigator.view.content.IContainerNode;
import org.kie.eclipse.server.IKie... | Java | drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/view/actions/project/DeleteProjectAction.java | bbrodt/droolsjbpm-tools | apache-2.0 | 1,277 | 39 | codeparrot/github-code |
cf725cbca1df8e767a54a58e7463ed1941aaa73d55a7ca5edfd229b7872aaf74 | /**
* 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 | hdfs-to-kafka-sync/src/test/java/com/datatorrent/apps/ApplicationTest.java | yogidevendra/app-templates | apache-2.0 | 4,103 | 147 | codeparrot/github-code |
e1ec30eee1df0f7abb9328c75f32b8b0bcb850678e3ca1475e0dece214a98eab | #----------------------------------------------------------------------
# Copyright (c) 2010 Raytheon BBN Technologies
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and/or hardware specification (the "Work") to
# deal in the Work without restriction, including witho... | Python | expedient/src/python/expedient/common/federation/geni/ch.py | dana-i2cat/felix | apache-2.0 | 15,839 | 359 | codeparrot/github-code |
5ca691d9b49d7492277b74a610b455a249f86365e2cf843a5851148b61659602 | package com.googlecode.totallylazy;
import java.io.IOException;
import static com.googlecode.totallylazy.LazyException.lazyException;
public class Appendables {
public static <A extends Appendable> A append(CharSequence charSequence, int start, int end, A appendable) {
try {
appendable.append... | Java | src/com/googlecode/totallylazy/Appendables.java | bodar/totallylazy | apache-2.0 | 993 | 35 | codeparrot/github-code |
15ad092ebfc55d6c68b455d851d8cd06a13eccb65e12068fa666ec03570230fa | /*
* 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/camel-core/src/test/java/org/apache/camel/processor/StreamCachingOnlyRouteTest.java | davidkarlsen/camel | apache-2.0 | 1,882 | 53 | codeparrot/github-code |
eb1133991a78546dd2a1ed4b2af2fd42b2bba0db284d148ef2ad0aa7124f7cf5 | package io.dropwizard.validation;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.Logger;
import ch.qos.logback.classic.LoggerContext;
import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.classic.spi.LoggingEvent;
import ch.qos.logback.core.AppenderBase;
import io.dropwizard.util.M... | Java | dropwizard-validation/src/test/java/io/dropwizard/validation/SelfValidationTest.java | phambryan/dropwizard | apache-2.0 | 13,855 | 388 | codeparrot/github-code |
cf6b173cfb3ff272cb83904d55828e33fca46156a8f68bf9186e8686371368a3 | //===--- SwiftCompletion.cpp ----------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | C++ | tools/SourceKit/lib/SwiftLang/SwiftCompletion.cpp | apple/swift | apache-2.0 | 50,493 | 1,299 | codeparrot/github-code |
41f9f5b7a4cad0bd8275a17ea202795d521730bfe60b0ee73b406498fa8d1aaf | # 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 agre... | Python | caniusepypy/command.py | nett55/caniusepypy | apache-2.0 | 1,565 | 51 | codeparrot/github-code |
b64ed40754d2a741e6bc000b18f46360d048aa7ffa75cb185843d55a5f1dc322 | /**
* Copyright (C) 2014-2018 LinkedIn Corp. (pinot-core@linkedin.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
*
* Unle... | Java | pinot-broker/src/test/java/com/linkedin/pinot/broker/routing/RandomRoutingTableTest.java | apucher/pinot | apache-2.0 | 4,072 | 98 | codeparrot/github-code |
b16fbccf59460555422f2df5c2f6e4f799f6e17f8cdcfc312deee66f01bd0cd3 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ram/RAM_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RE... | C | aws-cpp-sdk-ram/include/aws/ram/model/GetResourcePoliciesResult.h | jt70471/aws-sdk-cpp | apache-2.0 | 4,248 | 129 | codeparrot/github-code |
e6c44cb5edaccf3fd18b3ece0673bc8d035226854dd6ac37a4f9549235b2c027 | /**
* Copyright (c) 2016-present, RxJava Contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | Java | src/main/java/io/reactivex/internal/operators/observable/ObservableTakeLast.java | akarnokd/RxJava | apache-2.0 | 2,855 | 103 | codeparrot/github-code |
1e886da843946aac1c3bfcded2edfa396afbce69ae2a3ff079e188f2c1e8625b | /*
* 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 | jena-cmds/src/main/java/tdb2/cmdline/ModLocation.java | apache/jena | apache-2.0 | 1,829 | 56 | codeparrot/github-code |
409a972e92660b282562b322dabf69fdd141683801d4244972cd9068dca65af6 | /*
* 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-rds/src/main/java/com/amazonaws/services/rds/model/transform/ModifyEventSubscriptionRequestMarshaller.java | nterry/aws-sdk-java | apache-2.0 | 3,683 | 96 | codeparrot/github-code |
60231d8b9efb0cade7f9820e847a269b80209bd0a713e8550e6a9c478e2822b4 | /*
* 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 | common/src/test/java/io/druid/collections/OrderedMergeSequenceTest.java | taochaoqiang/druid | apache-2.0 | 11,037 | 355 | codeparrot/github-code |
86194fe8377b77c7fe9af2715b0d8b894455bc9eb69c41f3e2757cd56a8be94a | /*
* 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/test/java/io/druid/segment/realtime/appenderator/AppenderatorTester.java | zhihuij/druid | apache-2.0 | 8,440 | 296 | codeparrot/github-code |
ebfbd7a4ee568eeebe2a406945ecc49eb596fa36dc20ed705e75354ea84f6c2c | package org.eurekaclinical.common.comm.clients;
/*
* #%L
* Eureka Common
* %%
* Copyright (C) 2012 - 2013 Emory University
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | Java | src/main/java/org/eurekaclinical/common/comm/clients/AbstractWebResourceWrapper.java | arpost/eurekaclinical-common | apache-2.0 | 1,467 | 52 | codeparrot/github-code |
2cd1b9e8b981e348a8ee112b31f5253c7fa210f26b10c9f630235335f422d63c | /*
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Java | spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/jmx/EndpointMBeanTests.java | vakninr/spring-boot | apache-2.0 | 13,945 | 446 | codeparrot/github-code |
3ab89db15c1cf00fd1cd902a136d9023e24c670d4f85fe4b726febcabae55e3f | var Backbone = require('backbone'),
_ = require('underscore'),
KinView = require('backbone-kinview'),
Th = require('./theadTh.js'),
thModel = require('../models/th.js')
module.exports = KinView.extend({
tagName: 'tr',
exclusiveState: true,
Th: Th,
initialize: function() {
this.c... | JavaScript | benchmark/backbone-tableview/src/views/theadTr.js | hcvazquez/UFFOptimizer | apache-2.0 | 1,044 | 41 | codeparrot/github-code |
29fe370565c4703c3eb02ae7bbbfa7e092c4a7f1147556f86f2556a84a92e70b | /* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | C | B2G/gecko/media/webrtc/signaling/src/sipcc/core/sipstack/h/ccsip_messaging.h | sergecodd/FireFox-OS | apache-2.0 | 14,560 | 326 | codeparrot/github-code |
1ddc666568b5d1738b4d1eeb375bb6da7f3034fd2c22f68dc27507cc3a84ef95 | using System;
using System.Linq;
using System.Text;
using RestSharp.Authenticators.OAuth;
using RestSharp.Authenticators.OAuth.Extensions;
#if WINDOWS_PHONE
using System.Net;
#elif SILVERLIGHT
using System.Windows.Browser;
#else
using RestSharp.Contrib;
#endif
namespace RestSharp.Authenticators
{
/// <seealso h... | C# | RestSharp.WinRT/Authenticators/OAuth1Authenticator.cs | devinrader/RestSharpRTExperimental | apache-2.0 | 10,475 | 244 | codeparrot/github-code |
4ae2bce8d0f9363432c6f4536ab88633523abd6f344dd07768d7fffb90e2deba | // Copyright 2011 Avi Levi
// 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... | C# | ByContext/Exceptions/GetSectionException.cs | Avi-Levi/ByContext | apache-2.0 | 1,168 | 33 | codeparrot/github-code |
4c04c0e31ccb449f64882a3dbc0045ca8e3ba88bd4a106776d6c97eef9478ff2 | package io.apiman.plugins.urlwhitelist.beans;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.apache.commons.lang... | Java | url-whitelist-policy/src/main/java/io/apiman/plugins/urlwhitelist/beans/UrlWhitelistBean.java | apiman/apiman-plugins | apache-2.0 | 2,142 | 71 | codeparrot/github-code |
8f406343ea21d5a28f378ec7220098abad2689c53543391a3b17a6ae2d6fee1e | #pragma once
#include "envoy/http/codec.h"
#include "test/integration/http_protocol_integration.h"
#include "gtest/gtest.h"
namespace Envoy {
/*
Test verifying that we don't add any unexpecting headers when we are trying to upgrade connection
to a websocket connection
*/
class WebsocketWithCompressorIntegrationTes... | C | test/extensions/filters/http/compressor/compressor_integration_tests.h | envoyproxy/envoy | apache-2.0 | 1,978 | 56 | codeparrot/github-code |
652b0dcc7870037e65c9f0705eefc166269a1f30fc40b420fe460e91fedec9a4 | package adt.bson.mongo.client
import adt.bson.mongo.codecs.BsonAdtCodecRegistry
import com.mongodb.{MongoClient, MongoClientOptions, ServerAddress}
import scala.collection.JavaConversions.asScalaIterator
import scala.util.Try
/**
* Provides temporary collections that are automatically cleaned up by [[adt.bson.test.... | Scala | bson-adt-mongo3/src/test/scala/adt/bson/mongo/client/TestMongo.scala | jeffmay/bson-adt | apache-2.0 | 2,606 | 92 | codeparrot/github-code |
54132967192f7e8eb462ba225c50dd49560009399ebdbb73d477f85014e51d30 | Android SQLiteAssetHelper
=========================
An Android helper class to manage database creation and version management using an application's raw asset files.
This class provides developers with a simple way to ship their Android app with an existing SQLite database (which may be pre-populated with data) and ... | Markdown | README.markdown | d3kod/android-sqlite-asset-helper | apache-2.0 | 5,601 | 83 | codeparrot/github-code |
c21d9fb21ff907191d48cc36c18fd2c9ab2396cc4bc6b2dbc94d27b0a0d9a027 | /* -------------------------------------------------------------------------- */
/* Copyright 2002-2015, OpenNebula Project (OpenNebula.org), C12G Labs */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | C++ | src/vmm/VirtualMachineManager.cc | tuxmea/one | apache-2.0 | 53,888 | 2,581 | codeparrot/github-code |
04dc22bda4c972727ff9c2053ea7a61d5172a38228e296362cfa467fc34a2b2d | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | ql/src/java/org/apache/hadoop/hive/ql/optimizer/MapJoinProcessor.java | sankarh/hive | apache-2.0 | 54,408 | 1,424 | codeparrot/github-code |
b85d31354184e86c44af18638498351279d3f9dc7d6df584ee1a0cf5dc968a53 | /*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
... | Java | src/main/java/tech/gusavila92/apache/http/impl/io/SessionInputBufferImpl.java | gusavila92/java-android-websocket-client | apache-2.0 | 14,638 | 411 | codeparrot/github-code |
60dd1539886804b73e9a9c877594104278e32c27d635b48c059f08cc88b7183d | /*
* 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 | clients/src/main/java/org/apache/kafka/common/security/oauthbearer/secured/JaasOptionsUtils.java | TiVo/kafka | apache-2.0 | 4,332 | 109 | codeparrot/github-code |
88cce0692011571566c02718fa36a6f3b590c1a01024f63ef1980da2e1502d54 | /**
* Copyright (C) 2014-2018 LinkedIn Corp. (pinot-core@linkedin.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
*
* Unle... | Java | pinot-controller/src/test/java/com/linkedin/pinot/controller/api/resources/PinotSegmentRestletResourceTest.java | fx19880617/pinot-1 | apache-2.0 | 4,933 | 123 | codeparrot/github-code |
7118da94f0255f49c40f00a520703a61599743352bcec22722d53c4811323ee9 | /*
* 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 | spark-2.x/src/main/java/org/apache/spark/examples/mllib/JavaLBFGSExample.java | lhfei/spark-in-action | apache-2.0 | 3,809 | 102 | codeparrot/github-code |
df9b8dd59d854f829e554f0a408472a83f37b2a9413c62b5e3f42fbf895c878f | /*
* 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 | python/src/com/jetbrains/python/debugger/PyCythonExtensionWarning.java | jk1/intellij-community | apache-2.0 | 8,599 | 193 | codeparrot/github-code |
942d13244a7886a1100d0c68519a00f84601f149917628c8e74019194fc3b66f | /*
* Copyright 2018-present Facebook, 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... | Java | src/com/facebook/buck/remoteexecution/util/MultiThreadedBlobUploader.java | rmaz/buck | apache-2.0 | 8,541 | 227 | codeparrot/github-code |
ba00578d464eed16a3d3be9520be6966c7da4d72d26eb1b89b39f688b9e067ba | import { CliTrackerController } from 'azk/cli/cli_tracker_controller';
import { Helpers } from 'azk/cli/helpers';
import { _, log, t, lazy_require } from 'azk';
import { subscribe } from 'azk/utils/postal';
import { async } from 'azk/utils/promises';
import { AzkError } from 'azk/utils/errors';
var lazy = lazy_require... | JavaScript | src/cmds/scale.js | agendor/azk | apache-2.0 | 4,742 | 158 | codeparrot/github-code |
0a0f9fefd1ebb511d4cc671562eaf8c75bc3a97ca7fd6dc5763346879b79ad8b | // 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 | api/src/org/apache/cloudstack/api/response/ProjectResponse.java | jcshen007/cloudstack | apache-2.0 | 13,972 | 427 | codeparrot/github-code |
53df38921d5860ce15b5efe93cba5abb46eac449ed8b02594de2c89b20bb0519 | /*
* Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.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
... | Java | core/src/main/java/com/orientechnologies/orient/core/command/OCommandExecutorAbstract.java | MaDaPHaKa/Orient-object | apache-2.0 | 2,243 | 77 | codeparrot/github-code |
1b40c607cf1a370964c792855f24c3f99f16e99f27c2a7cd6d34e5c3b29195aa | // Router for Upwork API
//
// Licensed under the Upwork's API Terms of Use;
// you may not use this file except in compliance with the Terms.
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITION... | GO | api/routers/payments/payments.go | upwork/golang-upwork | apache-2.0 | 1,155 | 42 | codeparrot/github-code |
05559472d8a0f304524842fa159b5d6eeff1c0f0004c04f5f5aeeedd65e5d1da | /*
* Copyright 2015 Ricardo Delfin Garicia <ricardo.delfin.garcia@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... | C++ | twitcher_connection/src/TwitterMentions.cpp | rdelfin/utexas-bwi-twitter-coms | apache-2.0 | 2,938 | 99 | codeparrot/github-code |
4a44fd01ab87bada4614b758eefb19ec729396ba955c1803af659ec3e40ba1f2 | /* 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-rest/src/main/java/org/flowable/rest/service/api/runtime/process/EventSubscriptionCollectionResource.java | lsmall/flowable-engine | apache-2.0 | 6,670 | 119 | codeparrot/github-code |
43b9bff10c354e59645605d5448ae9a26d186805715b5e156f5d6c2e6284450f | /*
* Copyright 2021 The Error Prone 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 ... | Java | core/src/main/java/com/google/errorprone/bugpatterns/AnnotationMirrorToString.java | google/error-prone | apache-2.0 | 2,495 | 70 | codeparrot/github-code |
513812492ff5811a9ec6da3c7ac794556647bc050cacc5733d42edc1404da626 | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | C++ | arangod/Aql/SortBlock.cpp | hkernbach/arangodb | apache-2.0 | 8,270 | 260 | codeparrot/github-code |
cbeb4935670a45f402f33ce43f177e9ec167b2f029b688d4424a37a55547f942 | /*
* Copyright (C) 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 app... | Java | src/com/android/settings/location/LocationMode.java | Ant-Droid/android_packages_apps_Settings_OLD | apache-2.0 | 4,967 | 143 | codeparrot/github-code |
1b57c6240cdd3f9a4fc1f4f2ea8408d76b4343db550b861afa7871bd69133bcb | /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
const PREF_NEWTAB_ENABLED = "browser.newtabpage.enabled";
Services.prefs.setBoolPref(PREF_NEWTAB_ENABLED, true);
let tmp = {};
Cu.import("resource:///modules/NewTabUtils.jsm", tmp);
Cc["@mozilla.org/moz/jssubs... | JavaScript | B2G/gecko/browser/base/content/test/newtab/head.js | wilebeast/FireFox-OS | apache-2.0 | 9,798 | 373 | codeparrot/github-code |
f9662191e287903ef03c9bd99ba14ba595990b565afe2140401841926857bb85 | /*
* Copyright 2000-2012 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/java-psi-impl/src/com/intellij/core/JavaCoreProjectEnvironment.java | IllusionRom-deprecated/android_platform_tools_idea | apache-2.0 | 4,171 | 97 | codeparrot/github-code |
7dfe9ea9410c83c697a461bfe91519dddf4f849534d06ec7012800d7d7b94699 | \hypertarget{classodf_1_1odf2xhtml_1_1StyleToCSS}{\section{odf.\+odf2xhtml.\+Style\+To\+C\+S\+S Class Reference}
\label{classodf_1_1odf2xhtml_1_1StyleToCSS}\index{odf.\+odf2xhtml.\+Style\+To\+C\+S\+S@{odf.\+odf2xhtml.\+Style\+To\+C\+S\+S}}
}
The purpose of the \hyperlink{classodf_1_1odf2xhtml_1_1StyleToCSS}{Style\+To... | TeX | doc/latex/classodf_1_1odf2xhtml_1_1StyleToCSS.tex | bossvn/odfpy | apache-2.0 | 20,904 | 416 | codeparrot/github-code |
f677ec5869fdc7077d93fde39d48926c94270eb05bd8bd2af5ec8fd614010052 | package io.dropwizard.client.ssl;
import io.dropwizard.Application;
import io.dropwizard.Configuration;
import io.dropwizard.client.DropwizardSSLConnectionSocketFactory;
import io.dropwizard.client.JerseyClientBuilder;
import io.dropwizard.client.JerseyClientConfiguration;
import io.dropwizard.setup.Environment;
impor... | Java | dropwizard-client/src/test/java/io/dropwizard/client/ssl/DropwizardSSLConnectionSocketFactoryTest.java | dotCipher/dropwizard | apache-2.0 | 12,117 | 209 | codeparrot/github-code |
43877c37dab4fda2af8988c6998db48c7a9c219d5f1488586fadfb7dc2778072 | /*
* Copyright 2015 herd contributors
*
* 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 ... | Java | herd-code/herd-rest/src/test/java/org/finra/herd/rest/ExpectedPartitionValueRestControllerTest.java | FINRAOS/herd | apache-2.0 | 8,722 | 161 | codeparrot/github-code |
6ae6703a612c5095357aaf8680374bbc19c24df9e7aa853dd2aa0b1f451679b1 | #!/usr/bin/env python
import sys
import time
import signal
import optparse
try:
import whisper
except ImportError:
raise SystemExit('[ERROR] Please make sure whisper is installed properly')
# Ignore SIGPIPE
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
now = int(time.time())
option_parser = optparse.OptionPars... | Python | bin/whisper-update.py | deniszh/whisper | apache-2.0 | 1,129 | 47 | codeparrot/github-code |
3e685d93a3dd23bc3fe33ecd38348a5c13dea8c48a6389a32631111e8d60801a | /*
* Copyright (C) 2015 Jasper Huzen
*
* 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 | src/main/java/org/xbib/elasticsearch/jdbc/strategy/standard/RebuildSource.java | feaster83/elasticsearch-jdbc-river-rebuild-strategy | apache-2.0 | 1,216 | 41 | codeparrot/github-code |
b96f6ac80c5fdbb5d7038707ee7887476506d89a13795708ee8ce06a1b257e41 | /*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed... | C | ffmpeg/src/main/jni/ffmpeg/libavfilter/af_rubberband.c | yangchaojiang/yjPlay | apache-2.0 | 11,123 | 272 | codeparrot/github-code |
d75721ab35e39949caac546acc7de5f222f3a8708f77a426083f2d655faf5467 | /**
* Copyright 2016 Jordan Zimmerman
*
* 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 | halva-processor/src/main/java/io/soabase/halva/processor/implicit/ContextItem.java | Randgalt/halva | apache-2.0 | 1,622 | 58 | codeparrot/github-code |
88c4cf911a8fa039e8f9d79cabbdd7ceae4523b3d22a82bc9c38272e63439b3e | package com.amqtech.opensource.appintroexample.util;
/**
* Created by andrew on 11/17/16.
*/
import android.content.Context;
import android.graphics.Typeface;
import androidx.fragment.app.Fragment;import androidx.viewpager.widget.PagerAdapter;
import androidx.viewpager.widget.ViewPager;
import android.util.Attribut... | Java | example/src/main/java/com/amqtech/opensource/appintroexample/util/TabLayout.java | PaoloRotolo/AppIntro | apache-2.0 | 11,277 | 312 | codeparrot/github-code |
720ea402bd9d23c405e6959f0aafed17280c0a9b787252dadfc9d346ac5534e3 | /*
* Copyright 2022 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... | Java | api/api-template-config-v7/src/main/java/com/thoughtworks/go/apiv7/admin/templateconfig/representers/TemplateSummaryRepresenter.java | Skarlso/gocd | apache-2.0 | 1,842 | 35 | codeparrot/github-code |
faca2f5ae068c7059af613d2105b5bb46d50d2688626fe9a0c7badae24ef0450 | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.execution.testframework.sm.runner;
import com.intellij.execution.testframework.ui.AbstractTestTreeBuilder;
import com.intellij.ide.util.treeView.AbstractTree... | Java | platform/smRunner/src/com/intellij/execution/testframework/sm/runner/SMTRunnerTreeBuilder.java | jk1/intellij-community | apache-2.0 | 1,836 | 59 | codeparrot/github-code |
56b6e66b5f4ade0bc166f4006be87945e3ef5a00175aead099085538a8f0f323 | /**
* 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 | pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ResendRequestTest.java | ArvinDevel/incubator-pulsar | apache-2.0 | 32,179 | 727 | codeparrot/github-code |
bd13167f615aedb0c48aba81a497f5895aa336110fb319f3cad2be5c237208e6 | package com.acmeair.morphia.services;
import com.acmeair.entities.Customer;
import com.acmeair.entities.Customer.MemberShipStatus;
import com.acmeair.entities.Customer.PhoneType;
import com.acmeair.entities.CustomerSession;
import com.acmeair.morphia.entities.CustomerAddressImpl;
import com.acmeair.morphia.entities.Cu... | Java | acmeair-customer-service/src/main/java/com/acmeair/morphia/services/CustomerServiceImpl.java | WillemJiang/acmeair | apache-2.0 | 2,730 | 90 | codeparrot/github-code |
436076ee59abf48ee91add4b3398b085ba56e42b45a9a14223ab94824722b0be | /* NSDecimal.h
Copyright (c) 1995-2013, Apple Inc. All rights reserved.
*/
#include <limits.h>
#import <Foundation/NSObjCRuntime.h>
@class NSDictionary;
/*************** Type definitions ***********/
// Rounding policies :
// Original
// value 1.2 1.21 1.25 1.35 1.27
// Plain 1.2 1.2 1.3 1.4 1.3
... | C | Headers/iPhoneOS7.1.sdk/Library/Foundation/NSDecimal.h | liufan321/iOSLearning | apache-2.0 | 3,775 | 87 | codeparrot/github-code |
09fcd0f12bc8cade925ef493469755675764f932ff8e4c80ed8545fe16bfdc27 | /* global element, by */
'use strict';
var common = require('../../common/common');
var navigation = require('../../common/navigation');
var topologyEditorCommon = require('../../topology/topology_editor_common');
var componentData = require('../../topology/component_data');
var cloudsCommon = require('../../admin/cl... | JavaScript | alien4cloud-ui/yo/test/e2e/scenarios/application_topology/application_topology_editor_capabilities.js | igorng/alien4cloud | apache-2.0 | 3,003 | 70 | codeparrot/github-code |
c2877b2ed60f4469814c05012180d4d72aee25ff4cf6a6cff57eaef28f3391f2 | /*
* Copyright 2003-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 | subprojects/groovy-json/src/main/java/groovy/json/JsonSlurperClassic.java | komalsukhani/debian-groovy2 | apache-2.0 | 16,197 | 444 | codeparrot/github-code |
683ee3b7abe62a83d8753ea979b000d5c41004dd7f1fb88fa34033ff95fa5575 | /*
* Copyright (c) 2008-2017, Hazelcast, 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 ... | Java | hazelcast/src/test/java/com/hazelcast/util/executor/LoggingScheduledExecutorTest.java | dbrimley/hazelcast | apache-2.0 | 10,298 | 315 | codeparrot/github-code |
c4d6b243c710f936a503f8d1832a9b93c53018b74f32aecd0b8cc9daff697763 | /*
* 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.apach... | Java | modules/andes-core/broker/src/main/java/org/wso2/andes/kernel/AndesRecoveryTask.java | Niranjan-K/andes | apache-2.0 | 6,419 | 152 | codeparrot/github-code |
ae8f8cb39936efb116318693d1734bcc268d027a427d49482c043eeb5729411b | /*
* 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 | log4j-1.2-api/src/main/java/org/apache/log4j/Logger.java | OuZhencong/log4j2 | apache-2.0 | 2,391 | 69 | codeparrot/github-code |
0d7a994c04ff4301c603a1df6e3d02ece1c09914ca795bf8b02853397c545ac4 | /*
* Copyright 2010 Proofpoint, 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 agree... | Java | discovery/src/main/java/com/proofpoint/discovery/client/ServiceInventory.java | gwittel/platform | apache-2.0 | 10,270 | 249 | codeparrot/github-code |
9ffc5b1ec16356cc1e7f5ab190ab9333911ec91d8031ce55144501d8d5b4d20a | /*
* 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
* distributed u... | Java | translator/src/main/java/com/google/devtools/j2objc/types/GeneratedTypeElement.java | bandcampdotcom/j2objc | apache-2.0 | 8,276 | 255 | codeparrot/github-code |
283c5a7065c0bc5d2ea04e74f48c0dcf5c1d1d9ea5400fd8c9fb7ba7ce06bfe6 | /*
* Copyright (C) 2014-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 | jretty-util/src/test/java/org/jretty/util/support/NestedExceptionDelegateTest.java | jretty-org/jretty-util | apache-2.0 | 5,043 | 152 | codeparrot/github-code |
37325053a2fa84cd9f65b6063ec605d2dd6c5f5fce73712c856ab6121a2ef57c | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | C | magick/identify.c | AlexiaChen/ImageMagick_Cmake | apache-2.0 | 52,925 | 1,383 | codeparrot/github-code |
97134b6b92e58afc2b6e7aa6e489fac69d2b0cfc8e24c7c1f74d37c2beb4e353 | # EMACS settings: -*- tab-width: 2; indent-tabs-mode: t -*-
# vim: tabstop=2:shiftwidth=2:noexpandtab
# kate: tab-width 2; replace-tabs off; indent-width 2;
#
# ==============================================================================
# Authors: Patrick Lehmann
#
# Python Class: TODO
#
# Description:
# -... | Python | py/Base/Exceptions.py | hoangt/PoC | apache-2.0 | 2,252 | 75 | codeparrot/github-code |
993d97c3e06cdf336a2b52cb75e670e19cbc1a57f24b20a2180f9ade97b53886 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package at.ac.tuwien.dsg.quelle.sesConfigurationsRecommendationService.ui;
import at.ac.tuwien.dsg.quelle.extensions.neo4jPersistenceA... | Java | QUELLE/ConfigurationsRecommendationService/src/main/java/at/ac/tuwien/dsg/quelle/sesConfigurationsRecommendationService/ui/UIController.java | tuwiendsg/MELA | apache-2.0 | 3,746 | 114 | codeparrot/github-code |
e6d0a6c4f62d2af156755bf54973c812779d8277f3fe5d363f0189d444a7a936 | /* -------------------------------------------------------------------------- */
/* Copyright 2002-2013, OpenNebula Project (OpenNebula.org), C12G Labs */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | C++ | src/common/Attribute.cc | gargamelcat/ONE4 | apache-2.0 | 8,881 | 379 | codeparrot/github-code |
aea1fef2ef922b74b4f0b934679945455c6c6a9ae3b66f4d8440c52b7a2840dd | /*
Copyright 2017 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | GO | go/vt/mysqlctl/metadata_tables.go | pivanof/vitess | apache-2.0 | 3,530 | 106 | codeparrot/github-code |
ed51b74d93188f211f0a303eff0b6512e3023e10f735507cfbf0f483041116b4 | /*
* This file is part of the Soletta™ Project
*
* Copyright (C) 2015 Intel Corporation. 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.apach... | C | src/lib/flow/sol-flow-resolver.c | brunobottazzini/soletta | apache-2.0 | 3,942 | 133 | codeparrot/github-code |
61c91e19d09210cee0831f486fc0e2b26bec3358319ba211c7c490f0702d8dfc | // $Id: Dom4jProxyFactory.java 9210 2006-02-03 22:15:19Z steveebersole $
package org.hibernate.proxy.dom4j;
import org.hibernate.HibernateException;
import org.hibernate.proxy.dom4j.Dom4jLazyInitializer;
import org.hibernate.proxy.dom4j.Dom4jProxy;
import org.hibernate.proxy.ProxyFactory;
import org.hibernate.proxy.Hi... | Java | Hibernate-source/源代码及重要说明/Hibernate相关资料/hibernate-3.2.0.ga/hibernate-3.2/src/org/hibernate/proxy/dom4j/Dom4jProxyFactory.java | renmeng8875/projects | apache-2.0 | 1,272 | 45 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.