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) 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/internal/networking/nio/SelectorOptimizer.java
Java
apache-2.0
7,259
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
mehdi149/OF_COMPILER_0.1
gen-src/main/java/org/projectfloodlight/openflow/protocol/action/OFActionSetNwTos.java
Java
apache-2.0
1,867
package org.apache.lucene.index; /* * 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, Versio...
pkarmstr/NYBC
solr-4.2.1/lucene/core/src/test/org/apache/lucene/index/TestAddIndexes.java
Java
apache-2.0
38,814
// Copyright 2019 The Bazel 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 appl...
cushon/bazel
src/test/java/com/google/devtools/build/lib/query2/cquery/BuildOutputFormatterCallbackTest.java
Java
apache-2.0
9,947
package io.fabric8.workflow.build; import io.fabric8.io.fabric8.workflow.build.signal.BuildSignallerService; import org.jbpm.test.JBPMHelper; import org.kie.api.KieBase; import org.kie.api.KieServices; import org.kie.api.runtime.KieContainer; import org.kie.api.runtime.KieSession; import org.kie.api.runtime.manager.Ru...
jimmidyson/fabric8
components/fabric8-build-workflow/src/test/java/io/fabric8/workflow/build/MainWithPersistence.java
Java
apache-2.0
1,840
/* * Copyright 2014 Red Hat, Inc. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * * The Eclipse Public License is available at * http://www.eclipse.o...
vert-x3/vertx-web
vertx-template-engines/vertx-web-templ-pebble/src/test/java/io/vertx/ext/web/templ/PebbleTemplateNoCacheTest.java
Java
apache-2.0
2,511
package org.insightech.er.common.dialog; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.TabFolder; import org.eclipse.swt.widgets.TabItem; import org.insightech.er.ResourceString; import org.insightech.er.Resources;...
kozake/ermaster-k
org.insightech.er/src/org/insightech/er/common/dialog/ValidatableTabWrapper.java
Java
apache-2.0
1,603
package ru.aserdyuchenko.start; /* Исключения делятся на три типа: контролируемые исключения (checked) и неконтролируемые исключения (unchecked), к которым относятся ошибки (Errors) и исключения времени выполнения (RuntimeExceptions, потомок класса Exception). */ /** * Exemple exeption. * @author Anton Serdyuchenko ...
anton415/Job4j
Intern/Part_2_OOP_Control_questions/src/main/java/ru/aserdyuchenko/start/SecondQuestion.java
Java
apache-2.0
935
/* * 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 ...
leeyazhou/sharding-jdbc
sharding-proxy/sharding-proxy-frontend/sharding-proxy-frontend-mysql/src/main/java/org/apache/shardingsphere/shardingproxy/frontend/mysql/command/admin/quit/MySQLComQuitExecutor.java
Java
apache-2.0
1,436
/** * 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...
cloudera/hcatalog
webhcat/svr/src/main/java/org/apache/hcatalog/templeton/PartitionDesc.java
Java
apache-2.0
1,349
package test.thread.parallelization; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertFalse; import static org.testng.Assert.assertNull; import static org.testng.Assert.assertTrue; import static org.testng.Assert.fail; import static test.thread.parallelization.TestNgRunStateTracker.E...
krmahadevan/testng
testng-core/src/test/java/test/thread/parallelization/BaseParallelizationTest.java
Java
apache-2.0
46,945
package com.xiledsystems.AlternateJavaBridgelib.components.altbridge; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import org.json.JSONException; import com.xiledsystems.AlternateJavaBridgelib.components.alt...
roadlabs/alternate-java-bridge-library
src/com/xiledsystems/AlternateJavaBridgelib/components/altbridge/SpriteSheetHelper.java
Java
apache-2.0
6,123
/* * 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
core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerPollStrategyNotBeginTest.java
Java
apache-2.0
3,408
/* * 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/test/java/com/hazelcast/spi/impl/operationservice/impl/Invocation_NestedRemoteTest.java
Java
apache-2.0
8,595
// 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. package org.chromium.device.battery; import org.chromium.base.Log; import org.chromium.device.mojom.BatteryMonitor; import org.chromium.device.mojom.Batt...
mogoweb/365browser
app/src/main/java/org/chromium/device/battery/BatteryMonitorImpl.java
Java
apache-2.0
2,111
/* Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved. The MySQL Connector/J is licensed under the terms of the GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors. There are special exceptions to the terms and conditions of the GPLv2 as it is appl...
shubhanshu-gupta/Apache-Solr
example/solr/collection1/lib/mysql-connector-java-5.1.32/src/com/mysql/jdbc/ResultSetMetaData.java
Java
apache-2.0
22,984
/* * 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...
davidkarlsen/camel
components/camel-cdi/src/test/java/org/apache/camel/cdi/test/InjectedEndpointTest.java
Java
apache-2.0
2,505
package io.subutai.common.protocol; import java.util.HashSet; import java.util.Set; import org.apache.commons.lang3.StringUtils; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.Preconditions; import com.google.common.base.Strings; /** * P2P helper class */ public class P2PCon...
subutai-io/Subutai
management/server/subutai-common/src/main/java/io/subutai/common/protocol/P2PConnections.java
Java
apache-2.0
1,701
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.datastreams.rest; import org.elasticsearch.cl...
nknize/elasticsearch
x-pack/plugin/data-streams/src/main/java/org/elasticsearch/xpack/datastreams/rest/RestPromoteDataStreamAction.java
Java
apache-2.0
1,299
/** * * Copyright 2003-2007 Jive Software 2020-2022 Florian Schmaus. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
igniterealtime/Smack
smack-extensions/src/main/java/org/jivesoftware/smackx/xdata/provider/DataFormProvider.java
Java
apache-2.0
19,524
package com.sproutigy.commons.binary.impl; import com.sproutigy.commons.binary.Binary; import java.io.IOException; import java.io.InputStream; /** * @author LukeAheadNET */ public abstract class AbstractStreamableBinary extends Binary { public AbstractStreamableBinary() { } public AbstractStreamableB...
Sproutigy/Java-Commons-RawData
src/main/java/com/sproutigy/commons/binary/impl/AbstractStreamableBinary.java
Java
apache-2.0
1,186
/* * 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 ...
ServiceComb/java-chassis
clients/service-center-client/src/main/java/org/apache/servicecomb/service/center/client/model/MicroserviceResponse.java
Java
apache-2.0
1,078
/* * 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 or agree...
kylinmoddev/android_packages_apps_KylinModUpdater
src/com/beerbong/otaplatform/ui/component/FolderPreference.java
Java
apache-2.0
6,741
package io.searchbox.action; import com.google.common.collect.LinkedHashMultimap; import com.google.common.collect.Multimap; import com.google.gson.Gson; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import io.searchbox.annotations.JestId; import io.searchbox.client.JestResult; import io.search...
cogniteev/Jest
jest-common/src/main/java/io/searchbox/action/AbstractAction.java
Java
apache-2.0
10,395
/* * Copyright 2017 Rundeck, Inc. (http://rundeck.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 appli...
damageboy/rundeck
core/src/main/java/com/dtolabs/rundeck/core/execution/workflow/WorkflowStatusDataResult.java
Java
apache-2.0
811
/* * Copyright 2011 CodeGist.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
kuFEAR/crest
core/src/main/java/org/codegist/crest/config/DefaultParamConfigBuilder.java
Java
apache-2.0
6,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 ...
zohar-mizrahi/flink
flink-runtime/src/test/java/org/apache/flink/runtime/jobgraph/JobTaskVertexTest.java
Java
apache-2.0
5,982
/** * Copyright 2016 Netflix, Inc. * <p/> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
cs-ester-peixoto/docker-jenkins
hystrix-core/src/main/java/com/netflix/hystrix/metric/CachedValuesHistogram.java
Java
apache-2.0
5,382
package com.iauto.wlink.core.exception; @SuppressWarnings("serial") public class InvalidMessageRouterException extends MessageProcessException { private static final String ERROR_CODE = "INVALID_MESSAGE_ROUTER"; public InvalidMessageRouterException() { super( ERROR_CODE ); } }
xuxiaofei820825/wlink-server
wlink-core-integration-rabbitmq/src/main/java/com/iauto/wlink/core/exception/InvalidMessageRouterException.java
Java
apache-2.0
286
package com.beecavegames.poker.handlers; import com.beecavegames.GameResponse; import com.beecavegames.bjc.handlers.GameAction; import com.beecavegames.common.TableException; import com.beecavegames.dispatch.Param; import com.beecavegames.poker.PokerTable; import com.beecavegames.poker.PokerTablePlayer; import lombok...
sgmiller/hiveelements
gameelements/src/main/java/poker/handlers/ImBackHandler.java
Java
apache-2.0
1,094
/** * Copyright 2016 StreamSets Inc. * * Licensed under 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 Lice...
studanshu/datacollector
rabbitmq-lib/src/main/java/com/streamsets/pipeline/stage/destination/rabbitmq/Priority.java
Java
apache-2.0
1,434
/* * Copyright (C) 2015 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...
akshatknsl/keywhiz
server/src/main/java/keywhiz/service/daos/AclDAO.java
Java
apache-2.0
18,789
package org.springframework.security.oauth.consumer; import java.util.HashMap; import org.junit.Test; import org.springframework.security.oauth.common.signature.HMAC_SHA1SignatureMethod; import org.springframework.security.oauth.common.signature.SharedConsumerSecret; import org.springframework.security.oauth.consumer...
semantico/spring-security-oauth
spring-security-oauth/src/test/java/org/springframework/security/oauth/consumer/TestGoogleOAuth.java
Java
apache-2.0
2,243
/* * CalendarService.java, Jun 30, 2014, izein * * Copyright (c) 2014 1&1 Internet AG, Karlsruhe. All rights reserved. */ /** * */ package org.unitedinternet.cosmo.service; import java.util.List; import java.util.Map; import java.util.Set; import net.fortuna.ical4j.model.Calendar; import net.fortuna.ical4j.m...
Eisler/cosmo
cosmo-api/src/main/java/org/unitedinternet/cosmo/service/CalendarService.java
Java
apache-2.0
2,346
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
lizhanhui/data_druid
processing/src/main/java/io/druid/segment/ZeroLongColumnSelector.java
Java
apache-2.0
1,383
package com.siberiadante.utilsample.adapter.widget; import android.content.Context; import android.view.ViewGroup; import android.widget.TextView; import com.siberiadante.androidutil.adapter.recycleradapter.SDBaseViewHolder; import com.siberiadante.androidutil.adapter.recycleradapter.SDRecyclerViewAdapter; import com...
SibreiaDante/SiberiaDanteLib
utilsample/src/main/java/com/siberiadante/utilsample/adapter/widget/SDRVAdapter.java
Java
apache-2.0
1,168
package cgeo.geocaching.utils; import org.eclipse.jdt.annotation.NonNull; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.support.annotation.StringRes; import java.io.File; public class ShareUtils { private ShareUtils() { // utility class } ...
SammysHP/cgeo
main/src/cgeo/geocaching/utils/ShareUtils.java
Java
apache-2.0
965
/* * Copyright 2014 Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
sonu283304/onos
core/common/src/test/java/org/onosproject/store/trivial/SimpleHostStore.java
Java
apache-2.0
9,200
package net.stickycode.stereotype.primitive; import net.stickycode.exception.PermanentException; @SuppressWarnings("serial") public class DataVolumesMustBeNaturalNumbersException extends PermanentException { public DataVolumesMustBeNaturalNumbersException(String value) { super("Found '', but Data volumes m...
tectronics/stickycode
net.stickycode.stereotype/sticky-stereotype-primitive/src/main/java/net/stickycode/stereotype/primitive/DataVolumesMustBeNaturalNumbersException.java
Java
apache-2.0
427
/* * 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...
msebire/intellij-community
platform/util/src/com/intellij/util/lang/MemoryResource.java
Java
apache-2.0
2,445
/* * Copyright (C) 2015 Willi Ye * * 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...
spezi77/KernelAdiutor-Mod
app/src/main/java/com/grarak/kerneladiutor/fragments/BaseFragment.java
Java
apache-2.0
2,105
/* The following code was generated by JFlex 1.4.3 on 04/03/12 16:02 */ /** * 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 fil...
apache/jena
jena-iri/src/main/java/org/apache/jena/iri/impl/LexerXHost.java
Java
apache-2.0
19,596
/** * Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.market.curve.interpolator; import static com.opengamma.strata.collect.TestHelper.assertSerialization; import static org.testng.Assert.assertEquals; imp...
jmptrader/Strata
modules/market/src/test/java/com/opengamma/strata/market/curve/interpolator/NaturalSplineCurveInterpolatorTest.java
Java
apache-2.0
3,461
/* * 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 ...
shardingjdbc/sharding-jdbc
sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/cases/assertion/dml/DMLIntegrateTestCase.java
Java
apache-2.0
1,339
//======================================================================== // //File: $RCSfile: ShapeElement.java,v $ //Version: $Revision: 1.3 $ //Modified: $Date: 2013/01/10 22:43:53 $ // //Copyright 2005-2014 Mentor Graphics Corporation. All rights reserved. // //=====================================...
HebaKhaled/bposs
src/com.mentor.nucleus.bp.ui.canvas.test/src/com/mentor/nucleus/bp/ui/canvas/test/model/ShapeElement.java
Java
apache-2.0
1,777
/* * 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...
saketh7/Jmeter
src/core/org/apache/jmeter/samplers/gui/AbstractSamplerGui.java
Java
apache-2.0
2,423
package cn.edu.sdut.softlab.oopbasic.objref; /** * Created by subaochen on 17-2-26. */ public class Client1 { public static void main(String[] args) { Person zhangsan1 = new Person("zhangsan","123"); Person zhangsan2 = new Person("zhangsan","123"); Person zhangsan3 = zhangsan1; System.out.println("zhangsan1...
JamesLiAndroid/java-tutorial
guide/code/oopbasic/src/cn/edu/sdut/softlab/oopbasic/objref/Client1.java
Java
apache-2.0
450
/* * 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/avro
lang/java/avro/src/main/java/org/apache/avro/Conversions.java
Java
apache-2.0
10,400
package org.apache.tapestry5.internal.plastic; import org.apache.tapestry5.internal.plastic.asm.tree.AnnotationNode; import org.apache.tapestry5.plastic.MethodParameter; import java.util.List; class MethodParameterImpl extends PlasticMember implements MethodParameter { private final String type; private fin...
apache/tapestry-5
plastic/src/main/java/org/apache/tapestry5/internal/plastic/MethodParameterImpl.java
Java
apache-2.0
786
/* * Copyright (c) 2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
jamesanto/kite-test
src/main/java/org/zkybase/kite/AbstractGuard.java
Java
apache-2.0
1,275
/* * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.impl.resolver; import java.util.List ; import java.util.Map ; import java.uti...
wangsongpeng/jdk-src
src/main/java/com/sun/corba/se/impl/resolver/INSURLOperationImpl.java
Java
apache-2.0
12,101
/* * * 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...
prasi-in/geode
geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/service/ClusterMembersRGraphService.java
Java
apache-2.0
13,585
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/license...
liuyuanyuan/dbeaver
plugins/org.jkiss.dbeaver.ext.mysql/src/org/jkiss/dbeaver/ext/mysql/model/plan/MySQLPlanNode.java
Java
apache-2.0
971
package org.elasticsearch.examples.nativescript.script; import static org.elasticsearch.index.query.QueryBuilders.matchAllQuery; import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked; import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertNoFailures; import static org.h...
AndreiArion/elasticsearch-loghash-plugin
src/test/java/org/elasticsearch/examples/nativescript/script/RandomSortScriptTests.java
Java
apache-2.0
4,084
/* 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...
stefan-ziel/Activiti
modules/activiti-engine/src/main/java/org/activiti/engine/identity/GroupQuery.java
Java
apache-2.0
2,035
package com.github.tomakehurst.wiremock.standalone; import com.github.tomakehurst.wiremock.core.MappingsSaver; public interface MappingsSource extends MappingsLoader, MappingsSaver { }
planetakshay/wiremock
src/main/java/com/github/tomakehurst/wiremock/standalone/MappingsSource.java
Java
apache-2.0
187
/* * Licensed to ElasticSearch and Shay Banon 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...
andrewvc/elasticsearch
src/main/java/org/elasticsearch/monitor/fs/FsStats.java
Java
apache-2.0
9,609
/* --------------------------------------------------------------------------- Open Asset Import Library - Java Binding (jassimp) --------------------------------------------------------------------------- Copyright (c) 2006-2012, assimp team All rights reserved. Redistribution and use of this software in source and...
google/filament
third_party/libassimp/port/jassimp/jassimp/src/jassimp/Jassimp.java
Java
apache-2.0
12,142
/* * 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 ...
sandeep-n/incubator-systemml
src/main/java/org/apache/sysml/runtime/matrix/data/SparseBlockFactory.java
Java
apache-2.0
2,859
package org.carlspring.strongbox.providers.io; import org.carlspring.strongbox.storage.repository.Repository; @FunctionalInterface public interface LayoutFileSystemFactory { LayoutFileSystem create(Repository repository); }
sbespalov/strongbox
strongbox-storage/strongbox-storage-api/src/main/java/org/carlspring/strongbox/providers/io/LayoutFileSystemFactory.java
Java
apache-2.0
236
/* * 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 ...
pivotal-amurmann/geode
geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqSecurityAuthorizedUserDUnitTest.java
Java
apache-2.0
10,083
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
mythguided/hydra
hydra-task/src/main/java/com/addthis/hydra/task/output/AbstractOutputWriter.java
Java
apache-2.0
14,218
package fr.galaisen.groomreader; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { ...
Fifoxy/groom-android
app/src/androidTest/java/com/hufi/taxmanreader/ApplicationTest.java
Java
apache-2.0
354
/* * #%L * Wildfly Camel :: Testsuite * %% * Copyright (C) 2013 - 2016 RedHat * %% * 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 ...
tadayosi/wildfly-camel
itests/standalone/docker/src/test/java/org/wildfly/camel/test/nats/NatsIntegrationTest.java
Java
apache-2.0
4,235
/** * <copyright> * </copyright> * * $Id$ */ package org.wso2.developerstudio.eclipse.gmf.esb; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Cache Mediator</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.ws...
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.gmf.esb/src/org/wso2/developerstudio/eclipse/gmf/esb/CacheMediator.java
Java
apache-2.0
28,590
/* * 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...
mihbor/kafka
streams/src/test/java/org/apache/kafka/streams/kstream/TimeWindowsTest.java
Java
apache-2.0
6,907
/* * Copyright 2012-2016 bambooCORE, greenstep of copyright Chen Xin Nien * * 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 * * ...
quangnguyen9x/bamboobsc_quangnv
gsbsc-standard/src/com/netsteadfast/greenstep/bsc/dao/impl/DegreeFeedbackProjectDAOImpl.java
Java
apache-2.0
1,978
package countword; import backtype.storm.Config; import backtype.storm.LocalCluster; import backtype.storm.topology.TopologyBuilder; import backtype.storm.tuple.Fields; import countword.bolts.WordCounter; import countword.bolts.WordNormalizer; import countword.spouts.SignalsSpout; import countword.spouts.WordReader; ...
c3p0hz/microscope
microscope-storm/src/test/java/countword/TopologyMain.java
Java
apache-2.0
1,368
/** * Copyright (c) 2009 - 2013 AppWork UG(haftungsbeschränkt) <e-mail@appwork.org> * * This file is part of org.appwork.utils.swing.dialog.dimensor * * This software is licensed under the Artistic License 2.0, * see the LICENSE file or http://www.opensource.org/licenses/artistic-license-2.0.php * for d...
friedlwo/AppWoksUtils
src/org/appwork/utils/swing/dialog/dimensor/RememberLastDialogDimension.java
Java
artistic-2.0
1,600
// Copyright (c) 2003-present, Jodd Team (http://jodd.org) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice,...
tempbottle/jodd
jodd-lagarto-web/src/main/java/jodd/htmlstapler/HtmlStaplerFilter.java
Java
bsd-2-clause
7,417
package org.jbehave.core.failures; public final class PassingUponPendingStep implements PendingStepStrategy { @Override public void handleFailure(Throwable throwable) { // do nothing } }
skundrik/jbehave-core
jbehave-core/src/main/java/org/jbehave/core/failures/PassingUponPendingStep.java
Java
bsd-3-clause
198
package net.emaze.dysfunctional.consumers; import java.util.Iterator; import net.emaze.dysfunctional.contracts.dbc; import java.util.function.Function; /** * A unary function consuming an iterator and yielding last element contained in * it. * * @param <E> the iterator element type * @author rferranti */ public...
EdMcBane/emaze-dysfunctional
src/main/java/net/emaze/dysfunctional/consumers/LastElement.java
Java
bsd-3-clause
997
/** * Copyright 2015 Palantir Technologies * * Licensed under the BSD-3 License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/BSD-3-Clause * * Unless required by applicable law or agreed to in wri...
sh4nth/atlasdb-1
atlasdb-impl-shared/src/main/java/com/palantir/atlasdb/cleaner/CleanupFollower.java
Java
bsd-3-clause
3,440
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2014 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** follo...
lukedirtwalker/Envision
JavaImportTool/src/main/java/envision/java/importtool/Node.java
Java
bsd-3-clause
12,291
/******************************************************************************* * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
Caleydo/caleydo
org.caleydo.view.tourguide/src/main/java/org/caleydo/view/tourguide/spi/algorithm/IStratificationAlgorithm.java
Java
bsd-3-clause
1,118
package com.lunarworkshop.tinker; import java.io.IOException; import java.util.Arrays; import android.view.*; import android.app.*; import android.content.res.*; import android.graphics.*; import android.content.*; import android.util.*; import android.os.*; import android.util.Log; import org.libsdl.app.SDLActivit...
BSVino/ViewbackMonitor
android/src/com/lunarworkshop/tinker/TinkerActivity.java
Java
bsd-3-clause
10,404
package com.oracle.xmlns.apps.crmcommon.salesparties.salespartiesservice.types; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlTyp...
delkyd/Oracle-Cloud
PaaS_SaaS_Accelerator_RESTFulFacade/FusionProxy_SalesPartyService/src/com/oracle/xmlns/apps/crmcommon/salesparties/salespartiesservice/types/FindMySalesAccountMyVC.java
Java
bsd-3-clause
2,508
package com.compositesw.services.system.admin.execute; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for rowValueList complex type. * ...
cisco/PDTool
CISAdminApi8.0.0/src/com/compositesw/services/system/admin/execute/RowValueList.java
Java
bsd-3-clause
1,842
package com.jbooktrader.platform.preferences; import java.util.prefs.*; /** * @author Eugene Kononov */ public class PreferencesHolder { private static PreferencesHolder instance; private final Preferences prefs; public static synchronized PreferencesHolder getInstance() { if (instance == null)...
GabrielDancause/jbooktrader
source/com/jbooktrader/platform/preferences/PreferencesHolder.java
Java
bsd-3-clause
942
package org.hisp.dhis.user; /* * Copyright (c) 2004-2018, University of Oslo * 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...
vietnguyen/dhis2-core
dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserCredentialsStore.java
Java
bsd-3-clause
2,566
package com.compositesw.services.system.admin.resource; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import com.compositesw.ser...
dvbu-test/PDTool
CISAdminApi7.0.0/src/com/compositesw/services/system/admin/resource/ForeignKey.java
Java
bsd-3-clause
6,513
package com.oracle.pts.ws; import com.oracle.pts.custom.AttributeEntry; import com.oracle.pts.custom.CustomFieldHolder; import com.oracle.pts.custom.DataSet; import com.oracle.pts.custom.MetaInfo; import com.oracle.pts.custom.MetaInfoFactory; import com.oracle.pts.custom.OptyMetaInfoFactory; import com...
delkyd/Oracle-Cloud
PaaS-SaaS_DynamicWS/CFHandler/JAX_WS_handlers_Accelerator/JAX_WS_handlers_Accelerator/src/com/oracle/pts/ws/CRMProcessor.java
Java
bsd-3-clause
13,296
package com.ociweb.iot.grove.oled; import com.ociweb.iot.maker.image.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.ociweb.iot.maker.FogCommandChannel; import com.ociweb.pronghorn.iot.schema.I2CCommandSchema; import com.ociweb.pronghorn.pipe.DataOutputBlobWriter; /** * * @author Ray Lo *...
oci-pronghorn/PronghornIoT
foglight/src/main/java/com/ociweb/iot/grove/oled/BinaryOLED.java
Java
bsd-3-clause
6,182
/* * Copyright (c) 2009-2015, United States Government, as represented by the Secretary of Health and Human Services. * 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 ...
beiyuxinke/CONNECT
Product/Production/Common/CONNECTCoreLib/src/test/java/gov/hhs/fha/nhinc/callback/openSAML/CertificateManagerImplTest.java
Java
bsd-3-clause
4,809
package com.compositesw.services.system.admin.archive; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for performArchiveImportResponse complex type. * * <p>The following schema fragment specifies the...
dvbu-test/PDTool
CISAdminApi7.0.0/src/com/compositesw/services/system/admin/archive/PerformArchiveImportResponse.java
Java
bsd-3-clause
830
/** * Copyright (C) Zhang,Yuexiang (xfeep) * */ package nginx.clojure.anno; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target({ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR}) @Ret...
kjniemi/nginx-clojure
src/java/nginx/clojure/anno/Suspendable.java
Java
bsd-3-clause
387
/******************************************************************************* * This file is part of Pebble. * * Copyright (c) 2014 by Mitchell Bösecke * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. *******************************...
hectorlf/pebble
src/main/java/com/mitchellbosecke/pebble/tokenParser/IfTokenParser.java
Java
bsd-3-clause
3,455
/******************************************************************************* * This file is part of Pebble. * <p> * Copyright (c) 2014 by Mitchell Bösecke * <p> * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. ***********************...
hectorlf/pebble
src/main/java/com/mitchellbosecke/pebble/template/ScopeChain.java
Java
bsd-3-clause
6,958
package org.basex.query.func; import static org.basex.query.QueryError.*; import static org.basex.query.QueryText.*; import static org.basex.util.Token.*; import org.basex.query.*; import org.basex.query.ann.*; import org.basex.query.expr.*; import org.basex.query.expr.Expr.Flag; import org.basex.query.util.list.*; i...
drmacro/basex
basex-core/src/main/java/org/basex/query/func/Functions.java
Java
bsd-3-clause
12,393
package com.fsck.k9.message; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import android.app.Activity; import android.app.PendingIntent; import android.cont...
gilbertw1/k-9
k9mail/src/test/java/com/fsck/k9/message/PgpMessageBuilderTest.java
Java
bsd-3-clause
24,096
/** * SAHARA Rig Client * * Software abstraction of physical rig to provide rig session control * and rig device control. Automatically tests rig hardware and reports * the rig status to ensure rig goodness. * * @license See LICENSE in the top level directory for complete license terms. * * Copyright (c) 2009...
jeking3/rig-client
src/au/edu/uts/eng/remotelabs/rigclient/rig/internal/DirectoryCopier.java
Java
bsd-3-clause
5,944
package org.ripple.bouncycastle.asn1; /** * @deprecated use ASN1Boolean */ public class DERBoolean extends ASN1Boolean { /** * @deprecated use getInstance(boolean) method. * @param value */ public DERBoolean(boolean value) { super(value); } DERBoolean(byte[] value) ...
ripple/ripple-lib-java
ripple-bouncycastle/src/main/java/org/ripple/bouncycastle/asn1/DERBoolean.java
Java
isc
353
package org.alljoyn.ioe.controlpaneladapter; /****************************************************************************** * Copyright AllSeen Alliance. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provide...
octoblu/alljoyn
alljoyn/services/controlpanel/java/ControlPanelAdapter/src/org/alljoyn/ioe/controlpaneladapter/ControlPanelAdapter.java
Java
isc
106,823
package org.multibit.hd.ui.views.wizards.welcome.create_wallet; import com.google.common.base.Optional; import net.miginfocom.swing.MigLayout; import org.multibit.hd.brit.core.seed_phrase.SeedPhraseGenerator; import org.multibit.hd.ui.MultiBitUI; import org.multibit.hd.ui.events.view.ViewEvents; import org.multibit.hd...
bitcoin-solutions/multibit-hd
mbhd-swing/src/main/java/org/multibit/hd/ui/views/wizards/welcome/create_wallet/CreateWalletSeedPhrasePanelView.java
Java
mit
4,231
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * */ package com.microsoft.azure.management.network.v2018_04_01.implementation; import co...
navalev/azure-sdk-for-java
sdk/network/mgmt-v2018_04_01/src/main/java/com/microsoft/azure/management/network/v2018_04_01/implementation/UsagesImpl.java
Java
mit
1,596
/* * Licensed to the University Corporation for Advanced Internet Development, * Inc. (UCAID) under one or more contributor license agreements. See the * NOTICE file distributed with this work for additional information regarding * copyright ownership. The UCAID licenses this file to You under the Apache * Lic...
Safewhere/kombit-web-java
kombit-opensaml-2.5.1/src/org/opensaml/saml2/core/validator/AuthnContextClassRefSchemaValidator.java
Java
mit
1,953
/* * Copyright 2009 The Closure Compiler 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...
110035/kissy
tools/module-compiler/tests/com/google/javascript/jscomp/CommandLineRunnerTest.java
Java
mit
25,263
/** * Copyright MaDgIK Group 2010 - 2015. */ package madgik.exareme.master.streamClient; import madgik.exareme.master.client.AdpDBClientProperties; import madgik.exareme.master.engine.AdpDBManager; import madgik.exareme.master.streamClient.rmi.RmiOptiqueStreamAdpDBClient; import java.rmi.RemoteException; /** * @a...
XristosMallios/cache
exareme-master/src/main/java/madgik/exareme/master/streamClient/AdpStreamDBClientFactory.java
Java
mit
623
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.appservice.v2016_03_01; import java.util.Collect...
navalev/azure-sdk-for-java
sdk/appservice/mgmt-v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/InAvailabilityReasonType.java
Java
mit
1,444
package mcjty.rftools.items.dimlets; import java.util.HashMap; import java.util.Map; public class DimletCosts { static final Map<DimletKey,Integer> dimletBuiltinRfCreate = new HashMap<DimletKey, Integer>(); static final Map<DimletKey,Integer> dimletBuiltinRfMaintain = new HashMap<DimletKey, Integer>(); st...
Elecs-Mods/RFTools
src/main/java/mcjty/rftools/items/dimlets/DimletCosts.java
Java
mit
580