code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
/**
* Copyright (c) 2013-2020 Contributors to the Eclipse Foundation
*
* <p> See the NOTICE file distributed with this work for additional information regarding copyright
* ownership. All rights reserved. This program and the accompanying materials are made available
* under the terms of the Apache License, Versio... | locationtech/geowave | extensions/datastores/hbase/core/src/main/java/org/locationtech/geowave/datastore/hbase/filters/HBaseMergingFilter.java | Java | apache-2.0 | 2,868 |
/*
* 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 ... | mmaro/giraph | giraph-core/src/main/java/org/apache/giraph/comm/messages/MessageStoreFactory.java | Java | apache-2.0 | 1,556 |
package com.example.test;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
/**
*
* 数据库操作工具类
*/
public class DownlaodSqlTool {
private DownLoadHelper dbHelper;
public DownlaodSqlTo... | zhumingwei/filedownload-multithreaddownload | src/com/example/test/DownlaodSqlTool.java | Java | apache-2.0 | 2,211 |
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | djechelon/spring-security | oauth2/oauth2-core/src/test/java/org/springframework/security/oauth2/core/ClaimAccessorTests.java | Java | apache-2.0 | 4,707 |
package atributos;
import java.sql.Time;
import java.util.Date;
/**
*
* @author S015365
*/
public class Vendas {
private int idtabVendas;
private int clienteIdcliente;
private int tabusuarioIdUsuario;
private Date dataVenda;
private Time hora;
private int idOrdemServi... | PFC2Senai/PFC2ABatalhaFinal | src/atributos/Vendas.java | Java | apache-2.0 | 2,829 |
package eu.uqasar.web.dashboard.widget.projectqualitychart;
/*
* #%L
* U-QASAR
* %%
* Copyright (C) 2012 - 2015 U-QASAR Consortium
* %%
* 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
... | schlotze/u-qasar.platform | src/main/java/eu/uqasar/web/dashboard/widget/projectqualitychart/ProjectQualityChartWidget.java | Java | apache-2.0 | 10,625 |
/*
* 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 ... | astubbs/wicket.get-portals2 | wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page3.java | Java | apache-2.0 | 1,283 |
/**
* Copyright 2011-2019 Asakusa Framework Team.
*
* 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... | ashigeru/asakusafw | operator/core/src/main/java/com/asakusafw/operator/flowpart/FlowPartFactoryEmitter.java | Java | apache-2.0 | 17,198 |
/**
* Copyright (C) 2012 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | baldimir/jbpm-form-modeler | jbpm-form-modeler-core/jbpm-form-modeler-service/jbpm-form-modeler-request-dispatcher/src/main/java/org/jbpm/formModeler/service/bb/mvc/components/SessionAwareLocaleManager.java | Java | apache-2.0 | 1,685 |
package cd.go.contrib.elasticagents.docker;
import org.junit.Test;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.assertThat;
public class HostsTest {
@Test
public void shouldReturnEmptyListWhenHostConfigIsNotProvided() throws Exception {
assertThat(new Hosts(null), hasSize(0)... | ketan/docker-elastic-agents | src/test/java/cd/go/contrib/elasticagents/docker/HostsTest.java | Java | apache-2.0 | 1,741 |
/*
* Copyright 2015 Real Logic Ltd.
*
* 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 ... | ktoso/Agrona | src/main/java/uk/co/real_logic/agrona/collections/IntIntConsumer.java | Java | apache-2.0 | 967 |
package com.ubergeek42.cats;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android dev... | ubergeek42/weechat-android | cats/src/androidTest/java/com/ubergeek42/cats/ExampleInstrumentedTest.java | Java | apache-2.0 | 745 |
/*
* Copyright 2014 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 ... | google/error-prone | core/src/main/java/com/google/errorprone/bugpatterns/threadsafety/AbstractLockMethodChecker.java | Java | apache-2.0 | 4,452 |
/*
* Copyright (C) 2018 AlexMofer
*
* 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 ... | AlexMofer/ProjectX | app/src/main/java/am/project/x/business/others/floatingactionmode/PressView.java | Java | apache-2.0 | 4,878 |
package io.github.resilience4j.timelimiter;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import java.time.Duration;
import static org.assertj.core.api.BDDAssertions.then;
public class TimeLimiterConfigTest {
private static final Duration TIMEOUT = Duration.ofSeconds(5... | mehtabsinghmann/resilience4j | resilience4j-timelimiter/src/test/java/io/github/resilience4j/timelimiter/TimeLimiterConfigTest.java | Java | apache-2.0 | 1,709 |
/*
* 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 m... | cdegroot/river | qa/src/com/sun/jini/test/spec/lookupservice/service/Service02.java | Java | apache-2.0 | 1,543 |
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape 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/N... | syntelos/gwtcc | src/com/google/gwt/dev/js/rhino/ErrorReporter.java | Java | apache-2.0 | 4,063 |
package alexandria.israelferrer.com.libraryofalexandria;
import java.util.List;
public interface Model {
void getArtWorks(Callback<List<ArtWork>> result);
}
| rallat/libraryofalexandria | app/src/main/java/alexandria/israelferrer/com/libraryofalexandria/Model.java | Java | apache-2.0 | 164 |
/*
* Copyright (c) 2017 VMware Inc. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*
* 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/L... | uwieder/hiero | platform/src/main/java/org/hillview/management/ToggleMemoization.java | Java | apache-2.0 | 1,165 |
package com.alibaba.json.bvt.path;
import java.util.ArrayList;
import java.util.List;
import junit.framework.TestCase;
import org.junit.Assert;
import com.alibaba.fastjson.JSONPath;
public class JSONPath_field_access_filter_compare_string extends TestCase {
public void test_list_eq() throws Exception {
... | coraldane/fastjson | src/test/java/com/alibaba/json/bvt/path/JSONPath_field_access_filter_compare_string.java | Java | apache-2.0 | 5,526 |
/*
* 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 ... | Fabryprog/camel | components/camel-spring/src/test/java/org/apache/camel/component/properties/route2/SpringPropertyInjectRoute.java | Java | apache-2.0 | 1,252 |
package org.apereo.cas.authentication.metadata;
import org.apereo.cas.CipherExecutor;
import org.apereo.cas.authentication.AuthenticationBuilder;
import org.apereo.cas.authentication.AuthenticationMetaDataPopulator;
import org.apereo.cas.authentication.AuthenticationTransaction;
import org.apereo.cas.authentication.Cr... | tduehr/cas | core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/metadata/CacheCredentialsMetaDataPopulator.java | Java | apache-2.0 | 2,110 |
package gov.va.escreening.dto;
import java.io.Serializable;
public class VeteranAssessmentProgressDto implements Serializable {
private static final long serialVersionUID = 1L;
private Integer veteranAssessmentId;
private Integer surveySectionId;
private String surveySectionName;
priv... | VHAINNOVATIONS/Mental-Health-eScreening | escreening/src/main/java/gov/va/escreening/dto/VeteranAssessmentProgressDto.java | Java | apache-2.0 | 2,050 |
/*
* 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... | nterry/aws-sdk-java | aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/transform/SubscriptionCategoryNotFoundExceptionUnmarshaller.java | Java | apache-2.0 | 1,661 |
/**
* 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... | linkedin/pinot | pinot-common/src/main/java/org/apache/pinot/common/utils/FileUtils.java | Java | apache-2.0 | 3,839 |
/*
* Copyright 2011-2016 Amazon Technologies, 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://aws.amazon.com/apache2.0
*
* This file is distributed on an... | flofreud/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/CopyMonitor.java | Java | apache-2.0 | 6,149 |
package aQute.bnd.build;
import java.io.File;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import aQute.bnd.osgi.Analyzer;
import aQute.bnd.osgi.Clazz;
import aQute.bnd.osgi.Jar;
import aQute.bnd.osgi.Resource;
import aQute.lib.strings.Strings;
import aQute.service.reporter.Reporter... | magnet/bnd | biz.aQute.bndlib/src/aQute/bnd/build/Classpath.java | Java | apache-2.0 | 1,593 |
/*
* 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 ma... | apache/openwebbeans | webbeans-jsf/src/main/java/org/apache/webbeans/jsf/JSFUtil.java | Java | apache-2.0 | 4,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 m... | pfirmstone/JGDMS | qa/src/org/apache/river/test/impl/mahalo/PrepareAndCommitExceptionTest5.java | Java | apache-2.0 | 3,038 |
package com.xinfan.wxshop.business.pay.weixin;
import java.io.ByteArrayInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.security.KeyStore;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.SortedMap;
impor... | sodoa/shop2 | src/main/java/com/xinfan/wxshop/business/pay/weixin/WxHttpsUtils.java | Java | apache-2.0 | 5,567 |
package com.fanlehai.java.generics;
import java.util.*;
interface TimeStampedMix {
long getStamp();
}
class TimeStampedImp implements TimeStampedMix {
private final long timeStamp;
public TimeStampedImp() {
timeStamp = new Date().getTime();
}
public long getStamp() {
return timeStamp;
}
... | fanlehai/code-practice | java/src/main/java/com/fanlehai/java/generics/Mixins.java | Java | apache-2.0 | 1,681 |
/**
* 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 m... | RanjithKumar5550/RanMifos | fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/loanschedule/service/LoanScheduleWritePlatformServiceImpl.java | Java | apache-2.0 | 5,739 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package pkg_ventas;
import framework.componentes.Arbol;
import framework.componentes.Division;
import framework.componentes.Etiqueta;
import framework.componentes.Grid;
import framework.componentes.PanelTabla;... | diego10j/produquimic | produquimic/produquimic-war/src/java/pkg_ventas/pre_clientes.java | Java | apache-2.0 | 8,535 |
/*
* 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 ... | jasobrown/cassandra | test/unit/org/apache/cassandra/dht/RangeTest.java | Java | apache-2.0 | 27,872 |
/**
* Copyright (C) 2004-2011 Jive Software. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | BittyByte/Spark | plugins/roar/src/main/java/org/jivesoftware/spark/roar/RoarProperties.java | Java | apache-2.0 | 8,659 |
package com.tngtech.configbuilder.annotation.valueextractor;
import com.tngtech.configbuilder.util.ConfigBuilderFactory;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import static org.junit.Assert.assertEquals;... | bmatthias/config-builder | src/test/java/com/tngtech/configbuilder/annotation/valueextractor/SystemPropertyProcessorTest.java | Java | apache-2.0 | 1,046 |
package com.crossbow.volley.mock;
import com.android.volley.ParseError;
import com.android.volley.VolleyError;
import com.crossbow.volley.FileRequest;
import com.crossbow.volley.FileResponse;
import com.crossbow.volley.FileStack;
import java.io.IOException;
/**
*/
public class MockFileStack implements FileStack {
... | TwistedEquations/CrossBow | Libraries/CrossBow/tests/src/com/crossbow/volley/mock/MockFileStack.java | Java | apache-2.0 | 716 |
/**
*
* 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"); ... | juwi/hbase | hbase-common/src/main/java/org/apache/hadoop/hbase/filter/ByteArrayComparable.java | Java | apache-2.0 | 4,595 |
package org.orienteer.core.component.command.modal;
import java.io.IOException;
import java.io.InputStream;
import java.util.zip.GZIPInputStream;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.markup.html.form.AjaxButton;
import org.apache.wicket.extensions.ajax.markup.html.modal.Modal... | OrienteerDW/Orienteer | orienteer-core/src/main/java/org/orienteer/core/component/command/modal/ImportDialogPanel.java | Java | apache-2.0 | 2,298 |
/*
* This file is part of the swblocks-jbl library.
*
* 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 applicab... | LogicRunner/swblocks-jbl | src/main/java/org/swblocks/jbl/lifecycle/ComponentLifecycleManager.java | Java | apache-2.0 | 2,220 |
/*
* 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 ... | aljoscha/flink | flink-runtime/src/main/java/org/apache/flink/runtime/util/FatalExitExceptionHandler.java | Java | apache-2.0 | 1,843 |
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.psi.search;
import com.intellij.openapi.fileTypes.FileType;
import com.intellij.util.SystemProperties;
import com.intellij.util.indexing.*;
import com.intellij.util.indexing.sto... | jwren/intellij-community | platform/lang-impl/src/com/intellij/psi/search/FileTypeIndexImpl.java | Java | apache-2.0 | 2,024 |
package pl.matsuo.gitlab.data;
import java.util.Set;
import java.util.TreeSet;
/** Created by marek on 27.08.15. */
public class UserInfo {
Set<String> projects = new TreeSet<>();
public Set<String> getProjects() {
return projects;
}
public void setProjects(Set<String> projects) {
this.projects = p... | tunguski/kosher | src/main/java/pl/matsuo/gitlab/data/UserInfo.java | Java | apache-2.0 | 335 |
/*
* 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 ... | rmetzger/flink | flink-mesos/src/main/java/org/apache/flink/mesos/runtime/clusterframework/services/ZooKeeperMesosServices.java | Java | apache-2.0 | 4,055 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | libosu/elasticsearch | src/main/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantStringTermsAggregator.java | Java | apache-2.0 | 8,585 |
/**
* 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... | chirino/activemq | activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/JMSClientTransactionTest.java | Java | apache-2.0 | 12,897 |
/*
* Copyright (C) 2013 OTAPlatform
*
* 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... | kylinmoddev/android_packages_apps_KylinModUpdater | src/com/beerbong/otaplatform/manager/PreferencesManager.java | Java | apache-2.0 | 7,691 |
/*
* 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... | retomerz/intellij-community | plugins/ui-designer/src/com/intellij/uiDesigner/binding/FormClassIndex.java | Java | apache-2.0 | 4,765 |
/*
* 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/empire-db | empire-db/src/main/java/org/apache/empire/db/DBTableColumn.java | Java | apache-2.0 | 12,502 |
package persistence.lifecycle.states;
import persistence.graph.Node;
import persistence.lifecycle.NodeStateContext;
import util.CloneUtil;
/**
* not used
*
*/
public class TransientState extends NodeState {
public void initialize(NodeStateContext nodeStateContext) {
}
public void handlePersist(N... | OpenNTF/CustomPersistentLayers | JPADominoNew/Code/Java/persistence/lifecycle/states/TransientState.java | Java | apache-2.0 | 1,871 |
package com.xjeffrose.xio.core;
import io.netty.channel.Channel;
import java.util.UUID;
public interface ConnectionStateTracker {
void setOutboundChannel(Channel outboundChannel);
String toString(String prepend);
String toString(String prepend, String postpend);
void incrementWriteCount(Channel channel);
... | xunlai/xio | src/main/java/com/xjeffrose/xio/core/ConnectionStateTracker.java | Java | apache-2.0 | 487 |
/*
* 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 applica... | sduskis/cloud-bigtable-examples | java/dataflow-connector-examples/src/main/java/com/google/cloud/bigtable/dataflow/example/SourceRowCount.java | Java | apache-2.0 | 4,590 |
/*
Derby - Class org.apache.derby.impl.store.access.btree.BTreeLockingPolicy
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... | apache/derby | java/org.apache.derby.engine/org/apache/derby/impl/store/access/btree/BTreeLockingPolicy.java | Java | apache-2.0 | 15,233 |
/*
* 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 under t... | googleapis/google-api-java-client-services | clients/google-api-services-run/v1alpha1/1.29.2/com/google/api/services/run/v1alpha1/model/Addressable.java | Java | apache-2.0 | 2,442 |
package xyz.cloudkeeper.model.beans.element.module;
import xyz.cloudkeeper.model.bare.element.module.BareCompositeModule;
import xyz.cloudkeeper.model.bare.element.module.BareModuleVisitor;
import xyz.cloudkeeper.model.beans.CopyOption;
import javax.annotation.Nullable;
import javax.xml.bind.annotation.XmlRootElement... | fschopp/cloudkeeper | cloudkeeper-core/cloudkeeper-model/src/main/java/xyz/cloudkeeper/model/beans/element/module/MutableCompositeModule.java | Java | apache-2.0 | 1,423 |
/*
* 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 ... | ubikfsabbe/jmeter | src/core/org/apache/jmeter/gui/util/CheckBoxPanel.java | Java | apache-2.0 | 1,411 |
/**
* 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... | srijeyanthan/hops | hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestHost2NodesMap.java | Java | apache-2.0 | 3,547 |
/*
Derby - Class org.apache.derby.client.net.OpenSocketAction
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 un... | lpxz/grail-derby104 | java/client/org/apache/derby/client/net/OpenSocketAction.java | Java | apache-2.0 | 2,525 |
/*
* Copyright (C) 2015-2021 Philip Helger (www.helger.com)
* philip[at]helger[dot]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/LICEN... | phax/peppol-directory | phoss-directory-publisher/src/main/java/com/helger/pd/publisher/servlet/ExportDeliveryHttpHandler.java | Java | apache-2.0 | 7,828 |
/*
Derby - Class org.apache.derby.impl.sql.execute.NormalizeResultSet
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 t... | apache/derby | java/org.apache.derby.engine/org/apache/derby/impl/sql/execute/NormalizeResultSet.java | Java | apache-2.0 | 13,556 |
/*
* 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... | flofreud/aws-sdk-java | aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/transform/CreateOrUpdateTagsResultStaxUnmarshaller.java | Java | apache-2.0 | 2,360 |
package br.com.hhc.sample.fullstackspringhibernate.web.controller.views;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.Reques... | saisai/sample-java-spring-genericdao | webservice/src/main/java/br/com/hhc/sample/fullstackspringhibernate/web/controller/views/StudentsViewController.java | Java | apache-2.0 | 1,401 |
/*
* 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 ... | pax95/camel | core/camel-support/src/main/java/org/apache/camel/support/builder/ExpressionBuilder.java | Java | apache-2.0 | 63,866 |
/*
* Copyright (C) 2013 Square, 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 agre... | IllusionRom-deprecated/android_platform_external_okhttp | okhttp/src/main/java/com/squareup/okhttp/Request.java | Java | apache-2.0 | 7,340 |
/*
* Copyright 2013-2014 Urs Wolfer
*
* 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 ... | vogellacompany/gerrit-rest-java-client | src/main/java/com/urswolfer/gerrit/client/rest/http/changes/CommentsParser.java | Java | apache-2.0 | 1,472 |
/*
* Copyright 2016
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lice... | dkpro/dkpro-c4corpus | dkpro-c4corpus-deduplication/src/main/java/de/tudarmstadt/ukp/dkpro/c4corpus/deduplication/impl/ParallelDocumentDeDuplication.java | Java | apache-2.0 | 6,231 |
/*
* Copyright 2014-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... | shs96c/buck | test/com/facebook/buck/jvm/kotlin/FauxKotlinLibraryBuilder.java | Java | apache-2.0 | 2,913 |
package com.ifox.configuration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.spi.DocumentationType;... | lijun003/tw-homework | src/main/java/com/ifox/configuration/SwaggerConfig.java | Java | apache-2.0 | 785 |
// 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.jetbrains.python.testing.nosetestLegacy;
/**
* @deprecated This class is here only because it is used by some plugins. It will be removed soon
*/
... | jwren/intellij-community | python/src/com/jetbrains/python/testing/nosetestLegacy/PythonNoseTestConfigurationProducer.java | Java | apache-2.0 | 464 |
// This is a generated file. Not intended for manual editing.
package com.intellij.plugins.thrift.lang.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface ThriftServiceSuperName extends ThriftPsiCompositeElement {
@NotNull
ThriftCustomType getCusto... | fkorotkov/intellij-thrift | thrift/src/main/gen/com/intellij/plugins/thrift/lang/psi/ThriftServiceSuperName.java | Java | apache-2.0 | 332 |
package co.adun.mvnejb3jpa.persistence;
import java.util.logging.Level;
import java.util.logging.Logger;
public class EntityManagerHelper
{
private static final Logger logger = Logger.getLogger(EntityManagerHelper.class.getName());
public static void log(String message, Level level)
{
if (logger.isLoggable(leve... | mikheladun/mvn-ejb3-jpa | persistence/src/main/java/co/adun/mvnejb3jpa/persistence/EntityManagerHelper.java | Java | apache-2.0 | 515 |
package com.mossle.core.jersey;
import java.util.Map;
import javax.ws.rs.Path;
import com.mossle.core.spring.ApplicationContextHolder;
import org.glassfish.jersey.server.ResourceConfig;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
public class Sp... | firefoxeye/lemon | src/main/java/com/mossle/core/jersey/SpringApplication.java | Java | apache-2.0 | 906 |
/**
* Copyright 2011-2019 Asakusa Framework Team.
*
* 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... | akirakw/asakusafw | testing-project/asakusa-test-driver/src/main/java/com/asakusafw/testdriver/executor/DefaultDeleteTaskExecutor.java | Java | apache-2.0 | 1,798 |
/*
* Copyright 2020 Netflix, 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 ... | spinnaker/fiat | fiat-roles/src/main/java/com/netflix/spinnaker/fiat/providers/internal/ClouddriverAccountLoader.java | Java | apache-2.0 | 1,031 |
/*
* Copyright (C) 2009 Trustees of the University of Pennsylvania
*
* 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 ... | tectronics/penn-ppod | cdm/src/main/java/edu/upenn/cis/ppod/model/StandardMatrix.java | Java | apache-2.0 | 5,982 |
package test.methodinterceptors;
import org.testng.annotations.Listeners;
import org.testng.annotations.Test;
@Listeners({RemoveAMethodInterceptor.class})
public class LockUpInterceptorSampleTest {
@Test
public void one() {
log("one");
}
@Test
public void two() {
log("two");
}
@Test
public ... | krmahadevan/testng | testng-core/src/test/java/test/methodinterceptors/LockUpInterceptorSampleTest.java | Java | apache-2.0 | 451 |
/*
* 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
* distribu... | IntCode/Fuga-Framework | framework/src/main/java/com/bunjlabs/fuga/views/ViewException.java | Java | apache-2.0 | 920 |
/*
* Copyright 2012-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... | dsyang/buck | test/com/facebook/buck/rules/RuleKeyTest.java | Java | apache-2.0 | 33,750 |
/*
* 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... | dsyang/buck | src/com/facebook/buck/ide/intellij/IjProjectBuckConfig.java | Java | apache-2.0 | 7,460 |
package net.ros.common.grid;
import net.minecraft.block.Block;
import net.minecraft.init.Blocks;
import net.ros.common.init.ROSBlocks;
public enum WorkshopMachine
{
KEYPUNCH, WORKBENCH, CARDLIBRARY, PRINTER, STORAGE;
public static WorkshopMachine[] VALUES = new WorkshopMachine[]{KEYPUNCH, WORKBENCH, CARDLIBR... | mantal/Qbar | common/src/main/java/net/ros/common/grid/WorkshopMachine.java | Java | apache-2.0 | 883 |
/*
* Copyright (c) 2015 FUJI Goro (gfx).
*
* 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... | gfx/Android-Orma | library/src/test/java/com/github/gfx/android/orma/test/model/ModelWithBlob.java | Java | apache-2.0 | 832 |
/*
* 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 ... | floscher/commons-validator | src/main/java/org/apache/commons/validator/routines/checkdigit/ISBN10CheckDigit.java | Java | apache-2.0 | 4,259 |
/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2010-2011, Open Source Geospatial Foundation (OSGeo)
*
* This library 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 ... | FUNCATE/TerraMobile | sldparser/src/main/geotools/data/collection/ListFeatureCollection.java | Java | apache-2.0 | 9,301 |
package org.apache.lucene.codecs.cheapbastard;
/*
* 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 L... | pkarmstr/NYBC | solr-4.2.1/lucene/test-framework/src/java/org/apache/lucene/codecs/cheapbastard/CheapBastardDocValuesProducer.java | Java | apache-2.0 | 12,822 |
package eu.inloop.knight;
import android.app.Application;
import android.content.res.Resources;
import android.support.annotation.Nullable;
import org.junit.Test;
import javax.inject.Named;
import javax.inject.Singleton;
import javax.tools.JavaFileObject;
import dagger.Module;
import dagger.Provides;
import eu.inlo... | inloop/Knight | knight-compiler/src/test/java/eu/inloop/knight/ApplicationModuleTest.java | Java | apache-2.0 | 6,368 |
/*******************************************************************************
* Copyright 2012 Paweł Psztyć
*
* 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... | bredy/ChromeRestClient | RestClient/src/org/rest/client/ui/HistoryView.java | Java | apache-2.0 | 2,575 |
/*
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | kdvolder/spring-boot | spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/servlet/StaticResourceRequest.java | Java | apache-2.0 | 5,818 |
/**
* 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... | arenadata/ambari | ambari-server/src/test/java/org/apache/ambari/server/notifications/DispatchFactoryTest.java | Java | apache-2.0 | 3,475 |
/* 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... | robsoncardosoti/flowable-engine | modules/flowable-engine/src/main/java/org/flowable/engine/impl/AbstractVariableQueryImpl.java | Java | apache-2.0 | 9,252 |
/*
* Copyright 2017 FBK/CREATE-NET
*
* 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... | muka/raptor | raptor-api/raptor-common/src/main/java/org/createnet/raptor/common/query/TreeQueryBuilder.java | Java | apache-2.0 | 4,718 |
package com.okami.bean;
import java.io.File;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import java.util.Stack;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import com.okami.config.DBConfig;
import c... | 0kami/MonitorClient | src/main/java/com/okami/bean/GlobaVariableBean.java | Java | apache-2.0 | 3,866 |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | etirelli/drools-wb | drools-wb-services/drools-wb-verifier/drools-wb-verifier-api/src/main/java/org/drools/workbench/services/verifier/api/client/reporting/CheckType.java | Java | apache-2.0 | 1,448 |
package algorithm.dp;
import java.util.Scanner;
/**
* 页码统计:https://www.nowcoder.com/questionTerminal/3a003cb6a3174ef9835fa603e01d8b52
* date:2017/8/27 22:02
* author:黄平财
* mail:hpingcai@gmail.com
*/
public class PageCount {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);... | pingcai/Algorithm | src/algorithm/dp/PageCount.java | Java | apache-2.0 | 596 |
/*
* 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 ... | tgroh/incubator-beam | sdks/java/extensions/sql/src/test/java/org/apache/beam/sdk/extensions/sql/BeamSqlDslProjectTest.java | Java | apache-2.0 | 6,577 |
// @formatter:off
/*******************************************************************************
*
* This file is part of tensorics.
*
* Copyright (c) 2008-2011, CERN. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wit... | tensorics/tensorics-core | src/test/org/tensorics/core/lang/XCoordinate.java | Java | apache-2.0 | 2,318 |
/*
* Copyright 2011 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... | jhalterman/modelmapper | core/src/main/java/org/modelmapper/builder/ConverterExpression.java | Java | apache-2.0 | 1,442 |
/*
* Licensed to Aduna under one or more contributor license agreements.
* See the NOTICE.txt file distributed with this work for additional
* information regarding copyright ownership.
*
* Aduna licenses this file to you under the terms of the Aduna BSD
* License (the "License"); you may not use this file ... | ConstantB/ontop-spatial | obdalib-sesame/src/main/java/org/openrdf/query/algebra/Datatype.java | Java | apache-2.0 | 1,614 |
package org.xbib.web;
/**
*
*/
public interface Handler extends Attribute<String, Handler>, Constants {
void handle(Binding binding);
}
| xbib/malva | malva-api/src/main/java/org/xbib/web/Handler.java | Java | apache-2.0 | 144 |
/* 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... | filiphr/camunda-bpmn-model | src/main/java/org/camunda/bpm/model/bpmn/instance/BaseElement.java | Java | apache-2.0 | 1,079 |
/*
* Copyright (c) 2020 Nike, 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 ... | Nike-Inc/cerberus-management-service | cerberus-auth-connector-onelogin/src/main/java/com/nike/cerberus/auth/connector/onelogin/UserData.java | Java | apache-2.0 | 1,982 |