code stringlengths 572 46.5k | repo_name stringlengths 7 62 | path stringlengths 6 247 | language stringclasses 7
values | license stringclasses 15
values | size int64 572 46.5k |
|---|---|---|---|---|---|
/*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | kubernetes/autoscaler | vertical-pod-autoscaler/pkg/recommender/logic/estimator_test.go | GO | apache-2.0 | 6,165 |
/*
Copyright (c) 2012 Emitrom LLC. All rights reserved.
For licensing questions, please contact us at licensing@emitrom.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
ht... | manstis/rht-lienzo-core | src/main/java/com/emitrom/lienzo/client/core/animation/AnimationCallback.java | Java | apache-2.0 | 1,322 |
// 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... | argv0/cloudstack | server/src/com/cloud/network/guru/StorageNetworkGuru.java | Java | apache-2.0 | 6,858 |
/*-
* -\-\-
* FastForward Riemann Module
* --
* Copyright (C) 2016 - 2018 Spotify AB
* --
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | spotify/ffwd-java | modules/riemann/src/main/java/com/spotify/ffwd/riemann/RiemannInputPlugin.java | Java | apache-2.0 | 3,368 |
/*
* Copyright 2014 Martin Winandy
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | yarish/tinylog | slf4j-binding/src/main/java/org/slf4j/impl/TinylogLogger.java | Java | apache-2.0 | 9,430 |
/*
* 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 ... | yanzhijun/jclouds-aliyun | common/openstack/src/test/java/org/jclouds/openstack/internal/OpenStackAuthClientTest.java | Java | apache-2.0 | 3,615 |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | chiaming0914/awe-cpp-sdk | aws-cpp-sdk-clouddirectory/source/model/CreateFacetRequest.cpp | C++ | apache-2.0 | 2,118 |
package org.gradle.test;
import org.codehaus.groovy.ast.ASTNode;
import org.codehaus.groovy.ast.ClassNode;
import org.codehaus.groovy.ast.ModuleNode;
import org.codehaus.groovy.ast.FieldNode;
import org.codehaus.groovy.ast.expr.ConstantExpression;
import org.codehaus.groovy.control.CompilePhase;
import org.codehaus.g... | gstevey/gradle | subprojects/docs/src/samples/groovy/multiproject/groovycDetector/src/main/java/org/gradle/test/DetectorTransform.java | Java | apache-2.0 | 2,021 |
/*
* Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @author tags. 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
*... | wildfly-security-incubator/keycloak | testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/client/ClientTest.java | Java | apache-2.0 | 4,180 |
/*
* Copyright 2018, OpenCensus Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | bogdandrutu/opencensus-java | impl_core/src/main/java/io/opencensus/implcore/metrics/DoubleGaugeImpl.java | Java | apache-2.0 | 7,289 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may ... | jmartisk/hibernate-validator | engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorContextImpl.java | Java | apache-2.0 | 4,234 |
package styles
import (
"github.com/drud/ddev/pkg/globalconfig"
"github.com/jedib0t/go-pretty/v6/table"
)
var DefaultTableStyle = "StyleLight"
// For descriptions of the various styles, see
// https://github.com/jedib0t/go-pretty/blob/main/table/style.go
// Get a style by name, returning the default if not found
... | rfay/ddev | pkg/styles/tables.go | GO | apache-2.0 | 1,232 |
/* Copyright 2007-2015 QReal Research Group
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | qreal/qreal | plugins/robots/generators/generatorBase/src/generatorFactoryBase.cpp | C++ | apache-2.0 | 17,854 |
// Copyright 2014 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 "mojo/edk/embedder/embedder.h"
#include <stdint.h>
#include "base/bind.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/m... | danakj/chromium | mojo/edk/embedder/embedder.cc | C++ | bsd-3-clause | 5,774 |
// Copyright 2015 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/animation/animation_host.h"
#include "cc/test/fake_layer_tree_host.h"
#include "cc/test/fake_layer_tree_host_client.h"
#include "cc/test/test... | nwjs/chromium.src | cc/trees/layer_tree_host_unittest_record_gpu_histogram.cc | C++ | bsd-3-clause | 2,515 |
// Copyright (c) 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 "content/browser/dom_storage/dom_storage_context_impl.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/file_path.h"
#... | Crystalnix/BitPop | content/browser/dom_storage/dom_storage_context_impl.cc | C++ | bsd-3-clause | 4,109 |
// Copyright 2014 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 "content/browser/device_sensors/data_fetcher_shared_memory_base.h"
#include "base/bind.h"
#include "base/logging.h"
#include "base/stl_util.h"
#... | hefen1/chromium | content/browser/device_sensors/data_fetcher_shared_memory_base.cc | C++ | bsd-3-clause | 7,338 |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | JBYoshi/SpongeCommon | src/main/java/org/spongepowered/common/data/manipulator/mutable/SpongeMobSpawnerData.java | Java | mit | 12,130 |
/*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | boniatillo-com/PhaserEditor | source/thirdparty/jsdt/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/ui/fix/CommentFormatFix.java | Java | epl-1.0 | 7,349 |
/**
* @file google_p2p.c
*
* purple
*
* Purple is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of... | N8Fear/purple-facebook | .pidgin/libpurple/protocols/jabber/google/google_p2p.c | C | gpl-2.0 | 15,117 |
/**
* OpenCPS is the open source Core Public Services software
* Copyright (C) 2016-present OpenCPS community
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the... | hltn/opencps | portlets/opencps-portlet/docroot/WEB-INF/src/org/opencps/usermgt/search/ResourceActionSearch.java | Java | agpl-3.0 | 3,012 |
/**
* Copyright (C) 2001-2015 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published b... | brtonnies/rapidminer-studio | src/main/java/com/rapidminer/gui/viewer/PerformanceVectorViewer.java | Java | agpl-3.0 | 5,314 |
package rocks.inspectit.ui.rcp.wizard;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.J... | mariusoe/inspectIT | inspectit.ui.rcp/src/main/java/rocks/inspectit/ui/rcp/wizard/CopyBufferToStorageWizard.java | Java | agpl-3.0 | 10,502 |
/* 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... | zwets/flowable-engine | modules/flowable-cmmn-json-converter/src/main/java/org/flowable/cmmn/editor/json/converter/CaseTaskJsonConverter.java | Java | apache-2.0 | 3,270 |
package stack
import (
"fmt"
"github.com/docker/cli/cli"
"github.com/docker/cli/cli/command"
"github.com/docker/cli/cli/compose/convert"
"github.com/docker/docker/api/types/swarm"
"github.com/docker/docker/api/types/versions"
"github.com/pkg/errors"
"github.com/spf13/cobra"
"golang.org/x/net/context"
)
cons... | allencloud/cli | cli/command/stack/deploy.go | GO | apache-2.0 | 4,308 |
#!/usr/bin/env python
"""
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"); ... | DanaEarl/apollo | examples/stomp/python/stompest/async/publisher.py | Python | apache-2.0 | 1,831 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/servicecatalog/model/DescribeCopyProductStatusResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.... | aws/aws-sdk-cpp | aws-cpp-sdk-servicecatalog/source/model/DescribeCopyProductStatusResult.cpp | C++ | apache-2.0 | 1,462 |
/*
* 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... | sdgdsffdsfff/presto | presto-main/src/main/java/com/facebook/presto/connector/system/NodesSystemTable.java | Java | apache-2.0 | 3,467 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ec2/model/DisassociateEnclaveCertificateIamRoleResponse.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils... | awslabs/aws-sdk-cpp | aws-cpp-sdk-ec2/source/model/DisassociateEnclaveCertificateIamRoleResponse.cpp | C++ | apache-2.0 | 2,040 |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | kstv/ExoPlayer | library/src/main/java/com/google/android/exoplayer/FrameworkSampleSource.java | Java | apache-2.0 | 10,809 |
/*
Copyright 2020 The Knative Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... | knative-sandbox/eventing-rabbitmq | vendor/knative.dev/eventing/test/rekt/features/broker/readyness.go | GO | apache-2.0 | 3,017 |
/*
* 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 ... | mylog00/flink | flink-mesos/src/main/java/org/apache/flink/mesos/runtime/clusterframework/MesosTaskManagerRunner.java | Java | apache-2.0 | 4,508 |
/*
* Copyright 2021 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 applica... | gradle/gradle | subprojects/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/ProviderCompatibleBaseExecSpec.java | Java | apache-2.0 | 4,976 |
/**
* 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... | CandleCandle/camel | components/camel-braintree/src/main/java/org/apache/camel/component/braintree/BraintreeEndpoint.java | Java | apache-2.0 | 4,092 |
/*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | mfanjie/kubernetes | pkg/registry/rbac/role/etcd/etcd.go | GO | apache-2.0 | 2,340 |
/*
* 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... | wwjiang007/alluxio | core/server/worker/src/main/java/alluxio/worker/grpc/UfsFileWriteHandler.java | Java | apache-2.0 | 7,146 |
/*
* 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 ... | RyanSkraba/beam | runners/jet/src/main/java/org/apache/beam/runners/jet/metrics/JetMetricResults.java | Java | apache-2.0 | 7,427 |
/*
* 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 ... | meggermo/jackrabbit-oak | oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/index/property/AsyncPropertyIndexTest.java | Java | apache-2.0 | 5,980 |
/**
* 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... | nandakumar131/hadoop | hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/viewfs/TestViewFileSystemOverloadSchemeHdfsFileSystemContract.java | Java | apache-2.0 | 4,838 |
/*
* Copyright 2000-2013 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... | IllusionRom-deprecated/android_platform_tools_idea | plugins/tasks/tasks-core/src/com/intellij/tasks/trello/TrelloRepositoryType.java | Java | apache-2.0 | 2,161 |
/*
Copyright 2018 The Vitess Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... | davygeek/vitess | go/vt/topo/errors.go | GO | apache-2.0 | 2,134 |
package jadx.core.dex.visitors.typeinference;
import java.util.Collections;
import java.util.List;
import jadx.core.dex.instructions.args.ArgType;
import jadx.core.dex.instructions.args.SSAVar;
public class TypeSearchVarInfo {
private final SSAVar var;
private boolean typeResolved;
private ArgType currentType;
p... | skylot/jadx | jadx-core/src/main/java/jadx/core/dex/visitors/typeinference/TypeSearchVarInfo.java | Java | apache-2.0 | 2,219 |
/*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package performance
import (
"io"
"sync"
"github.com/hyperledger/fabric/common/flogging"
cb "github.com/hyperledger/fabric/protos/common"
ab "github.com/hyperledger/fabric/protos/orderer"
"github.com/op/go-logging"
"golang.org... | lukehuangch/fabric | orderer/common/performance/server.go | GO | apache-2.0 | 5,891 |
package com.camunda.consulting.handleListObjects;
import org.camunda.bpm.engine.test.ProcessEngineRule;
import org.camunda.bpm.engine.test.Deployment;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import static org.camunda.bpm.engine.test.assertions.ProcessEngineTests.*;
/**
* Test case sta... | camunda/camunda-consulting | snippets/handle-list-objects/src/test/java/com/camunda/consulting/handleListObjects/InMemoryH2Test.java | Java | apache-2.0 | 1,086 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/apigateway/model/CreateUsagePlanKeyResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include... | aws/aws-sdk-cpp | aws-cpp-sdk-apigateway/source/model/CreateUsagePlanKeyResult.cpp | C++ | apache-2.0 | 1,230 |
/*
* Copyright 2000-2015 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... | diorcety/intellij-community | platform/core-impl/src/com/intellij/psi/impl/source/tree/FileElement.java | Java | apache-2.0 | 2,862 |
package origin
import (
"net"
"time"
"github.com/golang/glog"
"k8s.io/apimachinery/pkg/runtime/schema"
utilwait "k8s.io/apimachinery/pkg/util/wait"
kapi "k8s.io/kubernetes/pkg/api"
kclientsetexternal "k8s.io/kubernetes/pkg/client/clientset_generated/clientset"
kexternalinformers "k8s.io/kubernetes/pkg/client... | wanghaoran1988/origin | pkg/cmd/server/origin/run_components.go | GO | apache-2.0 | 6,061 |
// 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.openapi.vcs.checkout;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.ui.Messages;
import com.intellij.openapi.vcs.VcsBundle;
import... | jk1/intellij-community | platform/vcs-impl/src/com/intellij/openapi/vcs/checkout/PlatformProjectCheckoutListener.java | Java | apache-2.0 | 1,293 |
// Copyright 2010-2015, Google Inc.
// All rights reserved.
//
// Redistribution and use 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 list of condit... | takahashikenichi/mozc | src/win32/tip/tip_input_mode_manager_test.cc | C++ | bsd-3-clause | 12,165 |
# Copyright 2016 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.
from __future__ import absolute_import
import os
import platform
import sys
import py_utils
def GetOSAndArchForCurrentDesktopPlatform():
os_name = GetOSN... | catapult-project/catapult | common/py_utils/py_utils/dependency_util.py | Python | bsd-3-clause | 1,383 |
// Copyright (c) 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 "chrome/browser/android/intercept_download_resource_throttle.h"
#include "base/feature_list.h"
#include "base/metrics/histogram_macros.h"
#i... | ds-hwang/chromium-crosswalk | chrome/browser/android/intercept_download_resource_throttle.cc | C++ | bsd-3-clause | 4,107 |
#ifndef MESSAGE_PART_H
#define MESSAGE_PART_H
#include "message-size.h"
/* Note that these flags are used directly by message-parser-serialize, so
existing flags can't be changed without breaking backwards compatibility */
enum message_part_flags {
MESSAGE_PART_FLAG_MULTIPART = 0x01,
MESSAGE_PART_FLAG_MULTIPART... | dscho/dovecot | src/lib-mail/message-part.h | C | mit | 1,464 |
/*
* Copyright (C) 2012 Tobias Brunner
* Hochschule fuer Technik Rapperswil
*
* This program 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) any la... | maire/strongswan | src/frontends/android/src/org/strongswan/android/ui/TrustedCertificateListFragment.java | Java | gpl-2.0 | 5,738 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | abbeyj/sonarqube | sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/FileIndexer.java | Java | lgpl-3.0 | 8,350 |
/*
* 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 ... | WangTaoTheTonic/flink | flink-libraries/flink-gelly/src/test/java/org/apache/flink/graph/generator/CompleteGraphTest.java | Java | apache-2.0 | 2,893 |
/*
* Copyright 2018 StreamSets 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... | kunickiaj/datacollector | sdc-hbase-0_98/src/main/java/com/streamsets/pipeline/hbase/impl/HBaseProcessor0_98.java | Java | apache-2.0 | 2,662 |
package org.hyperledger.indy.sdk.demo;
import org.hyperledger.indy.sdk.IndyIntegrationTest;
import org.hyperledger.indy.sdk.did.Did;
import org.hyperledger.indy.sdk.ledger.Ledger;
import org.hyperledger.indy.sdk.pool.Pool;
import org.hyperledger.indy.sdk.pool.PoolJSONParameters;
import org.hyperledger.indy.sdk.did.Did... | Artemkaaas/indy-sdk | wrappers/java/src/test/java/org/hyperledger/indy/sdk/demo/LedgerDemoTest.java | Java | apache-2.0 | 3,403 |
/*
* 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 ... | darionyaphet/flink | flink-table/flink-table-runtime-blink/src/test/java/org/apache/flink/table/runtime/operators/join/interval/RowTimeIntervalJoinTest.java | Java | apache-2.0 | 17,299 |
/* Copyright 2007-2015 QReal Research Group
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | qreal/qreal | plugins/robots/generators/ev3/ev3GeneratorBase/src/ev3GeneratorFactory.cpp | C++ | apache-2.0 | 6,610 |
package io.dropwizard.setup;
import io.dropwizard.jersey.errors.EarlyEofExceptionMapper;
import io.dropwizard.jersey.errors.EofExceptionWriterInterceptor;
import io.dropwizard.jersey.errors.IllegalStateExceptionMapper;
import io.dropwizard.jersey.errors.LoggingExceptionMapper;
import io.dropwizard.jersey.jackson.JsonP... | dropwizard/dropwizard | dropwizard-core/src/main/java/io/dropwizard/setup/ExceptionMapperBinder.java | Java | apache-2.0 | 1,686 |
/*
* 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 ... | sankarh/hive | ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/metastore/events/CreateDatabaseEvent.java | Java | apache-2.0 | 3,371 |
/*
* 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 ... | jinglining/flink | flink-connectors/flink-connector-hive/src/test/java/org/apache/flink/table/catalog/hive/HiveTestUtils.java | Java | apache-2.0 | 9,238 |
/**
* 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... | amirsojoodi/tez | tez-dag/src/main/java/org/apache/tez/dag/app/dag/RootInputInitializerManager.java | Java | apache-2.0 | 21,035 |
/*
* Copyright 2014 Avanza Bank AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | jensim/astrix | astrix-service-registry/src/test/java/com/avanza/astrix/service/registry/client/ServiceRegistryLeaseManagerTest.java | Java | apache-2.0 | 5,423 |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | facebook/buck | test/com/facebook/buck/core/rules/knowntypes/HybridKnownRuleTypesTest.java | Java | apache-2.0 | 6,398 |
/*
* 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... | propene/presto | presto-main/src/test/java/com/facebook/presto/execution/TestPrepareTask.java | Java | apache-2.0 | 4,563 |
/**
* Copyright 2005-2015 Red Hat, Inc.
*
* Red Hat 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.apache.org/licenses/LICENSE-2.0
*
* Unless r... | zmhassan/fabric8 | components/swagger-annotator/src/main/java/io/fabric8/swagger/annotator/SwaggerAnnotator.java | Java | apache-2.0 | 2,257 |
// Copyright 2015 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 "components/mus/ws/focus_controller.h"
#include <stddef.h>
#include <stdint.h>
#include "base/macros.h"
#include "components/mus/ws/focus_contr... | axinging/chromium-crosswalk | components/mus/ws/focus_controller_unittest.cc | C++ | bsd-3-clause | 11,381 |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | alexbevi/scummvm | engines/bladerunner/script/ai/holloway.cpp | C++ | gpl-2.0 | 10,039 |
/*
* Copyright (c) 2008-2021, 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 ... | emre-aydin/hazelcast | hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/list/ListGetMessageTask.java | Java | apache-2.0 | 2,749 |
/**
* 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... | apache/climate | ocw-ui/frontend/test/spec/services/selecteddatasetinformation.js | JavaScript | apache-2.0 | 3,527 |
/*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | humblec/glusterblock-provisioner | vendor/k8s.io/kubernetes/cmd/kubernetes-discovery/pkg/apiserver/apiserver.go | GO | apache-2.0 | 11,922 |
/*
* Copyright (c) 2008-2021, 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 ... | emre-aydin/hazelcast | hazelcast/src/main/java/com/hazelcast/cp/internal/session/operation/HeartbeatSessionOp.java | Java | apache-2.0 | 2,660 |
/*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | d9magai/aws-sdk-cpp | aws-cpp-sdk-cloudfront/source/model/InvalidationBatch.cpp | C++ | apache-2.0 | 2,286 |
/* 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... | dbmalkovsky/flowable-engine | modules/flowable-idm-engine-configurator/src/main/java/org/flowable/idm/engine/configurator/IdmEngineConfigurator.java | Java | apache-2.0 | 2,743 |
/*
* Copyright 2010 The Apache Software Foundation
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the ... | JichengSong/hbase | src/main/java/org/apache/hadoop/hbase/rest/RootResource.java | Java | apache-2.0 | 3,352 |
/*
* 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... | facebook/presto | presto-hive-metastore/src/main/java/com/facebook/presto/hive/metastore/glue/converter/GlueInputConverter.java | Java | apache-2.0 | 6,939 |
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.testIntegration;
import com.intellij.ide.fileTemplates.FileTemplateDescriptor;
import com.intellij.lang.Language;
import com.intellij.open... | smmribeiro/intellij-community | platform/core-api/src/com/intellij/testIntegration/TestFramework.java | Java | apache-2.0 | 2,920 |
// Copyright 2016 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 "chrome/browser/ash/arc/video/gpu_arc_video_service_host.h"
#include <memory>
#include <string>
#include <utility>
#include "ash/components/arc... | chromium/chromium | chrome/browser/ash/arc/video/gpu_arc_video_service_host.cc | C++ | bsd-3-clause | 12,609 |
/* */
"format register";
import {Container} from 'aurelia-dependency-injection';
import {Pipeline} from './pipeline';
import {BuildNavigationPlanStep} from './navigation-plan';
import {ApplyModelBindersStep} from './model-binding';
import {LoadRouteStep} from './route-loading';
import {CommitChangesStep} from './navig... | sonnylazuardi/todomvc-aurelia | lib/github/aurelia/router@0.5.3/es6/pipeline-provider.js | JavaScript | mit | 1,143 |
/*
* 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 ... | milleruntime/accumulo | server/gc/src/test/java/org/apache/accumulo/gc/GarbageCollectWriteAheadLogsTest.java | Java | apache-2.0 | 13,113 |
/*
* Copyright 2012-2020 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... | michael-simons/spring-boot | spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/classpath/ModifiedClassPathExtension.java | Java | apache-2.0 | 5,785 |
/*
* 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... | stewartpark/presto | presto-spi/src/test/java/com/facebook/presto/spi/block/TestVariableWidthBlockBuilder.java | Java | apache-2.0 | 3,130 |
/*
* 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 ... | clarkyzl/flink | flink-clients/src/main/java/org/apache/flink/client/deployment/application/ApplicationDispatcherLeaderProcessFactoryFactory.java | Java | apache-2.0 | 3,677 |
// Copyright 2012 Google, Inc. All rights reserved.
// Copyright 2009-2011 Andreas Krennmair. All rights reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file in the root of the source
// tree.
package layers
import (
"code.google.com/p/gopacket"
"encodi... | scroot/gopacket | layers/icmp6.go | GO | bsd-3-clause | 4,174 |
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"syscall"
"unsafe"
)
var (
modkernel32 = syscall.NewLazyDLL("kernel32.dll")
procGetSystemInfo = modkernel32.NewProc("GetSystem... | Cofyc/go | src/cmd/dist/sys_windows.go | GO | bsd-3-clause | 1,265 |
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | YouDiSN/OpenJDK-Research | jdk9/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/DataPatchProcessor.java | Java | gpl-2.0 | 7,508 |
/*
* Copyright 2014 NAVER 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 ... | andyspan/pinpoint | profiler/src/main/java/com/navercorp/pinpoint/profiler/plugin/DefaultProfilerPluginSetupContext.java | Java | apache-2.0 | 2,414 |
package com.xeiam.xchange.examples.cavirtex.marketdata;
import java.io.IOException;
import com.xeiam.xchange.Exchange;
import com.xeiam.xchange.ExchangeFactory;
import com.xeiam.xchange.currency.Currencies;
import com.xeiam.xchange.currency.CurrencyPair;
import com.xeiam.xchange.dto.marketdata.Ticker;
import com.xeia... | codeck/XChange | xchange-examples/src/main/java/com/xeiam/xchange/examples/cavirtex/marketdata/CaVirtexTickerDemo.java | Java | mit | 2,253 |
/*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | ingvagabund/origin | vendor/k8s.io/kubernetes/cmd/kubeadm/app/cmd/reset.go | GO | apache-2.0 | 9,172 |
/*
* 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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.security.rest.action;
import org.e... | GlenRSmith/elasticsearch | x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/RestAuthenticateAction.java | Java | apache-2.0 | 2,959 |
// Copyright 2017 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 "chrome/browser/win/conflicts/module_database.h"
#include <memory>
#include "base/bind.h"
#include "base/task/post_task.h"
#include "base/time/... | ric2b/Vivaldi-browser | chromium/chrome/browser/win/conflicts/module_database_unittest.cc | C++ | bsd-3-clause | 10,962 |
// Copyright 2014 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 "components/language/core/common/language_util.h"
#include "testing/gtest/include/gtest/gtest.h"
typedef testing::Test LanguageUtilTest;
// Te... | chromium/chromium | components/language/core/common/language_util_unittest.cc | C++ | bsd-3-clause | 2,425 |
package com.earth2me.essentials.commands;
import static com.earth2me.essentials.I18n.tl;
import com.earth2me.essentials.User;
import org.bukkit.Server;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
public class Commandtpohere extends EssentialsCommand
{
public Commandtpohere()
{
super("tpoher... | walster001/Essentials | Essentials/src/com/earth2me/essentials/commands/Commandtpohere.java | Java | gpl-3.0 | 1,006 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | julien-sobczak/sonarqube | server/sonar-server/src/test/java/org/sonar/server/component/ws/SearchActionTest.java | Java | lgpl-3.0 | 5,396 |
package testclient
import (
"k8s.io/apimachinery/pkg/runtime/schema"
clientgotesting "k8s.io/client-go/testing"
"github.com/openshift/origin/pkg/client"
imageapi "github.com/openshift/origin/pkg/image/api"
)
// FakeImageStreamTags implements ImageStreamTagInterface. Meant to be
// embedded into a struct to get a... | thrasher-redhat/origin | pkg/client/testclient/fake_imagestreamtags.go | GO | apache-2.0 | 1,847 |
// Copyright 2013 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 "chrome/browser/ui/webui/signin/user_manager_screen_handler.h"
#include "base/bind.h"
#include "base/prefs/pref_service.h"
#include "base/string... | markYoungH/chromium.src | chrome/browser/ui/webui/signin/user_manager_screen_handler.cc | C++ | bsd-3-clause | 32,373 |
/*
* Syncany, www.syncany.org
* Copyright (C) 2011-2015 Philipp C. Heckel <philipp.heckel@gmail.com>
*
* This program 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 3 of the License, or
... | syncany/syncany-osx-notifier | core/syncany-lib/src/test/unit/java/org/syncany/tests/unit/crypto/CipherUtilTest.java | Java | gpl-3.0 | 12,311 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2014 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... | nicoben/pentaho-kettle | engine/test-src/org/pentaho/di/www/SlaveServerConfigTest.java | Java | apache-2.0 | 11,704 |
/**
* Copyright 2013 Twitter, 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... | sakshamgangwar/hbc | hbc-twitter4j/src/main/java/com/twitter/hbc/twitter4j/parser/JSONObjectParser.java | Java | apache-2.0 | 4,279 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.