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 |
|---|---|---|---|---|---|
package com.gwac.action;
import java.util.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.struts2.convention.annotation.Result;
import com.gwac.model.Telescope;
import com.gwac.service.TelescopeService;
import com.opensymphony.xwork2.ActionSupport;
import org... | archord/svom | src/main/java/com/gwac/action/GetTelescopeAllList.java | Java | apache-2.0 | 1,512 |
/*
Copyright 2014 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | sakshamsharma/kubernetes | pkg/controller/controller_utils.go | GO | apache-2.0 | 40,792 |
/*
* Copyright 2015-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... | ilya-klyuchnikov/buck | test/com/facebook/buck/artifact_cache/DummyArtifactCache.java | Java | apache-2.0 | 2,402 |
/*
* 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... | ryanemerson/activemq-artemis | artemis-server/src/test/java/org/apache/activemq/artemis/core/settings/AddressSettingsTest.java | Java | apache-2.0 | 8,299 |
/*
* Copyright 2018, EnMasse authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.enmasse.osb.api.catalog;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databi... | EnMasseProject/enmasse | service-broker/src/main/java/io/enmasse/osb/api/catalog/ServiceBindingSchema.java | Java | apache-2.0 | 1,447 |
/*
Copyright 2018 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | clairew/kubernetes | pkg/scheduler/internal/cache/debugger/dumper.go | GO | apache-2.0 | 2,515 |
/*
* Copyright 2021 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... | marques-work/gocd | config/config-api/src/main/java/com/thoughtworks/go/domain/materials/MaterialConfig.java | Java | apache-2.0 | 2,089 |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | romankagan/DDBWorkbench | platform/lang-impl/src/com/intellij/application/options/colors/ScopeColorsPageFactory.java | Java | apache-2.0 | 3,641 |
/*
* 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... | JoyIfBam5/aws-sdk-cpp | aws-cpp-sdk-glacier/source/model/GetJobOutputResult.cpp | C++ | apache-2.0 | 3,187 |
package esride.opendatabridge.reader.request;
import esride.opendatabridge.reader.MetadataObject;
import java.util.List;
/**
* Created by IntelliJ IDEA.
* User: sma
* Date: 10.04.13
* Time: 15:47
* To change this template use File | Settings | File Templates.
*/
public class CatalogResponseObj {
private i... | Esri/OpenDataBridge | api/catalog-reader/src/main/java/esride/opendatabridge/reader/request/CatalogResponseObj.java | Java | apache-2.0 | 1,163 |
/*
* Copyright 2019 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 ... | google/closure-templates | java/src/com/google/template/soy/invocationbuilders/javatypes/CodeGenUtils.java | Java | apache-2.0 | 3,351 |
/*
* Copyright Terracotta, 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 ... | rishabhmonga/ehcache3 | impl/src/test/java/org/ehcache/impl/internal/spi/loaderwriter/DefaultCacheLoaderWriterProviderTest.java | Java | apache-2.0 | 7,457 |
/*
* 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... | spring-io/initializr | initializr-generator-test/src/test/java/io/spring/initializr/generator/test/project/JvmModuleAssertTests.java | Java | apache-2.0 | 5,747 |
/*
* 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... | cedral/aws-sdk-cpp | aws-cpp-sdk-ssm/source/model/DescribeEffectiveInstanceAssociationsRequest.cpp | C++ | apache-2.0 | 1,754 |
/*
* Copyright (c) 2008-2020, 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 ... | mdogan/hazelcast | hazelcast/src/main/java/com/hazelcast/collection/impl/txncollection/operations/CollectionReserveAddOperation.java | Java | apache-2.0 | 2,456 |
/*
* Copyright 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | spring-cloud-stream-app-starters/tensorflow | spring-cloud-starter-stream-processor-twitter-sentiment/src/main/java/org/springframework/cloud/stream/app/twitter/sentiment/processor/TwitterSentimentTensorflowInputConverter.java | Java | apache-2.0 | 4,442 |
/*
* 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... | kietly/presto | presto-main/src/main/java/com/facebook/presto/connector/ConnectorManager.java | Java | apache-2.0 | 14,759 |
/*
* 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 ... | lbendig/gobblin | gobblin-core-base/src/test/java/gobblin/crypto/EncryptionConfigParserTest.java | Java | apache-2.0 | 7,671 |
# Copyright 2019 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | cxxgtxy/tensorflow | tensorflow/python/keras/saving/saved_model/layer_serialization.py | Python | apache-2.0 | 7,063 |
package net.mgsx.game.core.helpers.systems;
import com.badlogic.ashley.core.Engine;
import com.badlogic.ashley.core.EntitySystem;
abstract public class TransactionSystem extends EntitySystem
{
protected abstract static class AfterSystem extends EntitySystem{
private TransactionSystem transactionSystem;
public ... | mgsx-dev/box2d-editor | core/src/net/mgsx/game/core/helpers/systems/TransactionSystem.java | Java | apache-2.0 | 1,508 |
package org.mindinformatics.gwt.domeo.plugins.resource.pubmed.model;
import java.util.ArrayList;
import java.util.List;
import org.mindinformatics.gwt.domeo.model.MAnnotationReference;
import org.mindinformatics.gwt.domeo.plugins.resource.document.model.MDocumentResource;
import org.mindinformatics.gwt.framework.comp... | domeo/DomeoClient | src/org/mindinformatics/gwt/domeo/plugins/resource/pubmed/model/MPubMedDocument.java | Java | apache-2.0 | 2,462 |
/* Copyright 2016 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 ... | saicheems/discovery-artifact-manager | toolkit/src/test/java/com/google/api/codegen/PhpGapicCodePathMapperTest.java | Java | apache-2.0 | 2,602 |
package edu.washington.escience.myria.mrbenchmarks;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.LinkedBlockingQueue;
import com.google.common.collect.ImmutableList;
import edu.washington.escience.myria.Schema;
import edu.washington.escience.myria.Type;
import edu.washington.escience.m... | bsalimi/myria | speedtest/edu/washington/escience/myria/mrbenchmarks/AggregateQueryMonetDBSingleWorker.java | Java | bsd-3-clause | 2,136 |
from django import forms
from django.utils.importlib import import_module
from panoptes.analysis.panels import BasePanel
from panoptes.analysis.panels.charting.charts.base import ChartRegistry
# Import all chart types so that they can register themselves
from panoptes.analysis.panels.charting.charts import bar
de... | cilcoberlin/panoptes | panoptes/analysis/panels/charting/__init__.py | Python | bsd-3-clause | 1,496 |
package authoring.view.levelview;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import javafx.embed.swing.SwingFXUtils;
import javafx.geometry.Insets;
import javafx.scene.control.ScrollPane;
import javafx.scene.image.Image;
import javafx.scene.lay... | goose2460/game_author_cs308 | src/authoring/view/levelview/SingleLevelView.java | Java | mit | 5,338 |
/*
* Copyright (c) 2012-2018 Red Hat, Inc.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat, Inc. - initial API a... | codenvy/che | infrastructures/infrastructure-metrics/src/test/java/org/eclipse/che/workspace/infrastructure/metrics/CurrentLogwatchersMeterBinderTest.java | Java | epl-1.0 | 2,770 |
/**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | hexbinary/landing | src/test/java/org/oscarehr/common/dao/StudyDataDaoTest.java | Java | gpl-2.0 | 5,386 |
package de.persosim.simulator;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.io.File;
import org.junit.Before;
import org.junit.Test;
import de.persosim.simulator.perso.Personalization;
import de.persosim.simulator.perso.PersonalizationFactory;
import de.pers... | halemmerich/de.persosim.simulator | de.persosim.simulator.test/src/de/persosim/simulator/CommandParserTest.java | Java | gpl-3.0 | 3,167 |
/*
ImpressiveCode Depress Framework
Copyright (C) 2013 ImpressiveCode contributors
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
(at your option) any later vers... | majchmar/ic-depress | org.depress.knime.nodes/src/org/impressivecode/depress/mr/intellijmetrics/IntellijMetricsTransformer.java | Java | gpl-3.0 | 3,689 |
// 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 "bindings/core/v8/ActiveScriptWrappable.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/ScriptWrappableVisitor.h"
#i... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.cpp | C++ | gpl-3.0 | 1,424 |
/*
* eID Trust Service Project.
* Copyright (C) 2009-2010 FedICT.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version
* 3.0 as published by the Free Software Foundation.
*
* This software is distributed in the hope that it will b... | tectronics/eid-trust-service | eid-trust-service-model/src/main/java/be/fedict/trust/service/bean/TrustDomainServiceBean.java | Java | gpl-3.0 | 16,587 |
/*
* 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/accumulo | test/src/main/java/org/apache/accumulo/test/ExistingMacIT.java | Java | apache-2.0 | 7,759 |
/*
* Copyright 2019 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... | kierarad/gocd | plugin-infra/go-plugin-activator/src/test/java/com/thoughtworks/go/plugin/activation/GoExtensionWithInheritedPublicLoadUnloadAnnotationMethod.java | Java | apache-2.0 | 2,420 |
package org.apereo.cas.support.saml;
import org.apereo.cas.config.CasCoreAuthenticationConfiguration;
import org.apereo.cas.config.CasCoreAuthenticationHandlersConfiguration;
import org.apereo.cas.config.CasCoreAuthenticationMetadataConfiguration;
import org.apereo.cas.config.CasCoreAuthenticationPolicyConfiguration;
... | robertoschwald/cas | support/cas-server-support-saml-idp-metadata-jpa/src/test/java/org/apereo/cas/support/saml/BaseJpaSamlMetadataTests.java | Java | apache-2.0 | 5,598 |
/*
Copyright 2011-2016 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | AmesianX/binnavi | src/main/java/com/google/security/zynamics/binnavi/debug/debugger/synchronizers/ProcessStartSynchronizer.java | Java | apache-2.0 | 2,823 |
/*
* 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... | pvorb/spring-boot | spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpointTests.java | Java | apache-2.0 | 10,871 |
/*
* Copyright (C) 2014 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 ... | iliat/dataflow-java | src/main/java/com/google/cloud/genomics/dataflow/readers/GenomicsApiReader.java | Java | apache-2.0 | 2,915 |
package com.rackspacecloud.blueflood.utils;
import com.rackspacecloud.blueflood.io.DiscoveryIO;
import com.rackspacecloud.blueflood.io.MetricToken;
import com.rackspacecloud.blueflood.io.SearchResult;
import com.rackspacecloud.blueflood.types.IMetric;
import java.util.List;
/**
* Used by {@link ModuleLoaderTest}
*... | goru97/blueflood | blueflood-core/src/test/java/com/rackspacecloud/blueflood/utils/DummyDiscoveryIO3.java | Java | apache-2.0 | 963 |
/*
* 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 ... | cooldoger/cassandra | test/unit/org/apache/cassandra/net/OutboundConnectionSettingsTest.java | Java | apache-2.0 | 4,997 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/sns/model/ListSubscriptionsByTopicResult.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <a... | awslabs/aws-sdk-cpp | aws-cpp-sdk-sns/source/model/ListSubscriptionsByTopicResult.cpp | C++ | apache-2.0 | 2,103 |
package lego
import (
"errors"
"net/url"
"github.com/xenolf/lego/acme/api"
"github.com/xenolf/lego/certificate"
"github.com/xenolf/lego/challenge/resolver"
"github.com/xenolf/lego/registration"
)
// Client is the user-friendly way to ACME
type Client struct {
Certificate *certificate.Certifier
Challenge ... | EngineerBetter/concourse-up | vendor/github.com/xenolf/lego/lego/client.go | GO | apache-2.0 | 2,136 |
package org.apache.rya.joinselect.mr;
/*
* 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 Licens... | meiercaleb/incubator-rya | extras/rya.prospector/src/main/java/org/apache/rya/joinselect/mr/JoinSelectProspectOutput.java | Java | apache-2.0 | 5,065 |
/*
* Copyright 2010-2012 VMware and 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... | witekcc/spring-loaded | springloaded/src/test/java/org/springsource/loaded/test/FieldReloadingTests.java | Java | apache-2.0 | 43,733 |
package org.apereo.cas.config;
import lombok.extern.slf4j.Slf4j;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.support.saml.services.SamlRegisteredService;
import org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegister... | prigaux/cas | support/cas-server-support-saml-sp-integrations/src/main/java/org/apereo/cas/config/CasSamlSPInCommonConfiguration.java | Java | apache-2.0 | 2,070 |
/*
Copyright 2015 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | hortonworks/kubernetes-yarn | pkg/kubelet/config/apiserver.go | GO | apache-2.0 | 2,165 |
package cli
import (
"github.com/openshift/origin/pkg/client"
"github.com/openshift/origin/pkg/cmd/experimental/syncgroups/interfaces"
)
// SyncBuilder describes an object that can build all the schema-specific parts of an LDAPGroupSyncer
type SyncBuilder interface {
GetGroupLister() (interfaces.LDAPGroupLister, e... | ibotty/origin | pkg/cmd/experimental/syncgroups/cli/interfaces.go | GO | apache-2.0 | 1,153 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | smgoller/geode | geode-gfsh/src/distributedTest/java/org/apache/geode/management/internal/cli/commands/IndexCommandsShareConfigurationDUnitTest.java | Java | apache-2.0 | 5,703 |
/*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... | papicella/snappy-store | tests/sql/src/main/java/sql/view/ViewTest.java | Java | apache-2.0 | 5,653 |
package org.mindtrails.service;
import org.mindtrails.domain.Participant;
import org.mindtrails.persistence.ParticipantRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import java.secur... | rango1900/MindTrails | core/src/main/java/org/mindtrails/service/ParticipantServiceImpl.java | Java | mit | 1,561 |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {NgModule} from '@angular/core';
import {MatCommonModule} from '@angular/material-experimental/mdc-core';
impo... | DevVersion/material2 | src/material-experimental/mdc-table/module.ts | TypeScript | mit | 1,303 |
// Boost.Geometry
// Copyright (c) 2020-2021, Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
// Licensed under the Boost Software License version 1.0.
// http://www.boost.org/users/license.html
#ifndef BOOST_GEOMETRY_STRATEGIES_INDEX_CARTESIAN_HPP
#define BOOST_... | davehorton/drachtio-server | deps/boost_1_77_0/boost/geometry/strategies/index/cartesian.hpp | C++ | mit | 967 |
/* Definitions of target machine for GNU compiler, Synopsys DesignWare ARC cpu.
Copyright (C) 2000-2014 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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 Foundat... | mageec/mageec-gcc | gcc/config/arc/arc-protos.h | C | gpl-2.0 | 5,123 |
/*
kalign2_profile_alignment.h
Released under GPL - see the 'COPYING' file
Copyright (C) 2006 Timo Lassmann <timolassmann@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; eith... | ggrekhov/ugene | src/plugins_3rdparty/kalign/src/kalign2/kalign2_profile_alignment.h | C | gpl-2.0 | 1,419 |
/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the GNU Affero
* General Public License. All contributions in this program are covered
* by the Geomajas Contr... | olivermay/geomajas | plugin/geomajas-layer-hibernate/hibernate/src/test/java/org/geomajas/layer/hibernate/pojo/HibernateTestOneToMany.java | Java | agpl-3.0 | 5,324 |
/*
* Copyright 2012-2015 WSO2, Inc. (http://wso2.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | sohaniwso2/devstudio-tooling-esb | plugins/org.wso2.developerstudio.eclipse.gmf.esb.persistence/src/org/wso2/developerstudio/eclipse/gmf/esb/internal/persistence/LoadBalanceEndPointTransformer.java | Java | apache-2.0 | 12,081 |
// 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.
package org.chromium.content.browser;
import android.content.Intent;
import org.chromium.base.library_loader.LibraryProcessType;
/**
* Allows specifyi... | axinging/chromium-crosswalk | content/public/android/java/src/org/chromium/content/browser/ChildProcessCreationParams.java | Java | bsd-3-clause | 2,214 |
// 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/ui/search/search_model.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/search/search.h"
#include... | leighpauls/k2cro4 | chrome/browser/ui/search/search_model.cc | C++ | bsd-3-clause | 1,486 |
// 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 "blimp/net/browser_connection_handler.h"
#include "base/logging.h"
#include "base/macros.h"
#include "blimp/net/blimp_connection.h"
#include "bl... | axinging/chromium-crosswalk | blimp/net/browser_connection_handler.cc | C++ | bsd-3-clause | 2,379 |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.appservice;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.api... | anudeepsharma/azure-sdk-for-java | azure-mgmt-appservice/src/main/java/com/microsoft/azure/management/appservice/DeploymentSlots.java | Java | mit | 1,660 |
package com.github.bordertech.wcomponents.examples.theme;
import com.github.bordertech.wcomponents.Action;
import com.github.bordertech.wcomponents.ActionEvent;
import com.github.bordertech.wcomponents.HeadingLevel;
import com.github.bordertech.wcomponents.Request;
import com.github.bordertech.wcomponents.Size;
import... | marksreeves/wcomponents | wcomponents-examples/src/main/java/com/github/bordertech/wcomponents/examples/theme/WRadioButtonSelectExample.java | Java | gpl-3.0 | 18,810 |
/*
* 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 ... | shakamunyi/drill | exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/QueryResources.java | Java | apache-2.0 | 4,324 |
/*
* 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... | hgschmie/presto | presto-kudu/src/main/java/io/prestosql/plugin/kudu/KuduBucketedSplitSource.java | Java | apache-2.0 | 1,934 |
/*
* 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-spring-tests/src/test/java/com/hazelcast/spring/cache/JCachePartitionLostListener.java | Java | apache-2.0 | 2,112 |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | superbderrick/ExoPlayer | library/core/src/main/java/com/google/android/exoplayer2/source/MergingMediaSource.java | Java | apache-2.0 | 6,107 |
package org.zstack.appliancevm;
import org.springframework.beans.factory.annotation.Autowired;
import org.zstack.core.componentloader.PluginRegistry;
import org.zstack.core.db.DatabaseFacade;
import org.zstack.header.Component;
import org.zstack.header.exception.CloudRuntimeException;
import org.zstack.header.vm.*;
im... | winger007/zstack | plugin/applianceVm/src/main/java/org/zstack/appliancevm/ApplianceVmFactory.java | Java | apache-2.0 | 2,507 |
/*
* 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 ... | vineetgarg02/hive | ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFAddMonths.java | Java | apache-2.0 | 7,584 |
/*
* Copyright (c) 2005-2011 Grameen Foundation USA
* 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
*
* Unl... | madhav123/gkmaster | accounting/src/main/java/org/mifos/platform/accounting/ui/controller/AccountingDataController.java | Java | apache-2.0 | 5,480 |
package org.droidplanner.android.utils.file.IO;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Map;
import org.droidplanner.android.utils.file.DirectoryPath;
import org.droidplanner.core.parameters.ParameterMetadata;
import org.xmlpull.v1.... | arthurbenemann/droidplanner | Android/src/org/droidplanner/android/utils/file/IO/ParameterMetadataMapReader.java | Java | gpl-3.0 | 3,825 |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | asedunov/intellij-community | plugins/gradle/src/org/jetbrains/plugins/gradle/settings/GradleExecutionWorkspace.java | Java | apache-2.0 | 2,764 |
package imagestream
import (
"fmt"
"strings"
"github.com/golang/glog"
kapi "k8s.io/kubernetes/pkg/api"
kerrors "k8s.io/kubernetes/pkg/api/errors"
"k8s.io/kubernetes/pkg/api/unversioned"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/fields"
"k8s.io/kubernetes/pkg/labels"
"k8s.io/kubernetes/pkg/reg... | danwinship/origin | pkg/image/registry/imagestream/strategy.go | GO | apache-2.0 | 19,067 |
package org.knowm.xchange.examples.kraken.marketdata;
import java.io.IOException;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.ExchangeFactory;
import org.knowm.xchange.currency.Currency;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.dto.marketdata.Ticker;
import org.knowm.xch... | chrisrico/XChange | xchange-examples/src/main/java/org/knowm/xchange/examples/kraken/marketdata/KrakenTickerDemo.java | Java | mit | 2,406 |
/*
Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with cer... | greenlion/mysql-server | storage/ndb/include/kernel/AttributeList.hpp | C++ | gpl-2.0 | 1,709 |
/*
Copyright (C) 2007 National Institute For Space Research (INPE) - Brazil.
This file is part of TerraMA2 - a free and open source computational
platform for analysis, monitoring, and alert of geo-environmental extremes.
TerraMA2 is free software: you can redistribute it and/or modify
it under the terms of the ... | raphaelrpl/terrama2 | src/terrama2/core/data-access/DcpSeries.cpp | C++ | lgpl-3.0 | 1,912 |
/*
* 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 ... | lukecwik/incubator-beam | runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/RequiresStableInputParDoOverrides.java | Java | apache-2.0 | 4,890 |
/* Remote target communications for serial-line targets in custom GDB protocol
Copyright 1999 Free Software Foundation, Inc.
This file is part of GDB.
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 Softw... | dplbsd/soc2013 | head/contrib/gdb/gdb/remote.h | C | bsd-2-clause | 2,378 |
package org.spongycastle.crypto.generators;
import java.math.BigInteger;
import org.spongycastle.crypto.AsymmetricCipherKeyPair;
import org.spongycastle.crypto.AsymmetricCipherKeyPairGenerator;
import org.spongycastle.crypto.KeyGenerationParameters;
import org.spongycastle.crypto.params.DHParameters;
import org.spong... | open-keychain/spongycastle | core/src/main/java/org/spongycastle/crypto/generators/ElGamalKeyPairGenerator.java | Java | mit | 1,567 |
/*
* Copyright 2016-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... | daedric/buck | test/com/facebook/buck/rules/coercer/OptionalTypeCoercerTest.java | Java | apache-2.0 | 2,551 |
/*
* Copyright 2000-2014 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/lang-impl/src/com/intellij/openapi/fileEditor/impl/UniqueVFilePathBuilderImpl.java | Java | apache-2.0 | 3,753 |
/*
* 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... | kjniemi/activemq-artemis | tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/server/LVQRecoveryTest.java | Java | apache-2.0 | 8,417 |
/*
* 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 ... | tomatoKiller/Hadoop_Source_Learn | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/metrics/NodeManagerMetrics.java | Java | apache-2.0 | 3,245 |
/*
Copyright 2015 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... | combk8s/kubernetes | contrib/mesos/pkg/executor/executor_test.go | GO | apache-2.0 | 17,501 |
// Copyright (c) 2014 Couchbase, Inc.
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
// except in compliance with the License. You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in w... | avsej/bleve | analysis/byte_array_converters/ignore/ignore_byte_array_converter.go | GO | apache-2.0 | 1,190 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | GlenRSmith/elasticsearch | client/rest-high-level/src/main/java/org/elasticsearch/client/EnrichRequestConverters.java | Java | apache-2.0 | 3,022 |
/*
Copyright 2014 The Kubernetes Authors All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... | marsmensch/atomic-enterprise | Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/client/testclient/fake_securitycontextconstraints.go | GO | apache-2.0 | 2,869 |
/*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | thomasdarimont/spring-security | acl/src/main/java/org/springframework/security/acls/AclPermissionEvaluator.java | Java | apache-2.0 | 6,124 |
/*
* 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... | DDoS/SpongeCommon | src/main/java/org/spongepowered/common/mixin/core/block/MixinBlockSapling.java | Java | mit | 4,800 |
// Copyright 2015 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 applicabl... | jnewland/kops | vendor/google.golang.org/cloud/bigquery/table.go | GO | apache-2.0 | 9,683 |
package org.zstack.storage.ceph.primary;
import org.zstack.header.message.APIEvent;
import org.zstack.header.rest.RestResponse;
import org.zstack.header.storage.primary.PrimaryStorageState;
import org.zstack.header.storage.primary.PrimaryStorageStatus;
import java.sql.Timestamp;
import java.util.Collections;
/**
* ... | winger007/zstack | plugin/ceph/src/main/java/org/zstack/storage/ceph/primary/APIUpdateCephPrimaryStorageMonEvent.java | Java | apache-2.0 | 1,947 |
// Copyright 2000-2019 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.externalSystem.model.project;
import org.jetbrains.annotations.NotNull;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;... | siosio/intellij-community | platform/external-system-api/src/com/intellij/openapi/externalSystem/model/project/ExternalProjectBuildClasspathPojo.java | Java | apache-2.0 | 2,664 |
//
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requi... | selvabrillio/FDTest1 | test/hdinsight/unit-list-command.js | JavaScript | apache-2.0 | 3,215 |
/* Copyright (C) 2007-2016 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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, or (at your option) any later
version.
GCC is distribute... | selmentdev/selment-toolchain | source/gcc-latest/libgcc/config/libbid/_ne_td.c | C | gpl-3.0 | 1,224 |
/*
Copyright 2018 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | Stackdriver/heapster | vendor/k8s.io/kubernetes/test/e2e/upgrades/storage/volume_mode.go | GO | apache-2.0 | 4,511 |
/*
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, ... | Stackdriver/heapster | vendor/k8s.io/kubernetes/pkg/volume/portworx/portworx_util.go | GO | apache-2.0 | 12,365 |
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com... | kaoree/fresco | imagepipeline/src/main/java/com/facebook/imagepipeline/producers/LocalFileFetchProducer.java | Java | bsd-3-clause | 1,404 |
// Copyright 2016 Canonical Ltd.
// Copyright 2016 Cloudbase Solutions
// Licensed under the AGPLv3, see LICENCE file for details.
package params
import (
"time"
)
// RetryStrategy holds the necessary information to configure retries.
type RetryStrategy struct {
ShouldRetry bool `json:"should-retry"`
... | mjs/juju | apiserver/params/retrystrategy.go | GO | agpl-3.0 | 942 |
package remote
import (
"fmt"
"github.com/hashicorp/terraform/state"
)
// Client is the interface that must be implemented for a remote state
// driver. It supports dumb put/get/delete, and the higher level structs
// handle persisting the state properly here.
type Client interface {
Get() (*Payload, error)
Put(... | xiaozhu36/terraform-provider | vendor/github.com/hashicorp/terraform/state/remote/remote.go | GO | apache-2.0 | 1,319 |
/* EntityReferenceImpl.java --
Copyright (C) 2005,2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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, or (... | shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/libjava/classpath/gnu/xml/stream/EntityReferenceImpl.java | Java | bsd-3-clause | 3,032 |
# -*- coding: utf-8 -*-
"""Unit tests for website.app."""
from nose.tools import * # noqa (PEP8 asserts)
from flask import Flask
from tests.base import assert_before
import framework
from website.app import attach_handlers
from website import settings
def test_attach_handlers():
app = Flask(__name__)
atta... | ticklemepierce/osf.io | tests/test_app.py | Python | apache-2.0 | 992 |
/*
* 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... | MichaelNedzelsky/intellij-community | platform/diff-impl/src/com/intellij/diff/tools/fragmented/UnifiedEditorRangeHighlighter.java | Java | apache-2.0 | 6,107 |
/*
Copyright 2015 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, ... | hodovska/cluster-capacity | vendor/k8s.io/kubernetes/pkg/registry/extensions/daemonset/etcd/etcd.go | GO | apache-2.0 | 3,724 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.