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 2013 Cloudera 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 i...
cloudera/cdk
cdk-data/cdk-data-hbase/src/main/java/com/cloudera/cdk/data/hbase/impl/CompositeBaseDao.java
Java
apache-2.0
7,508
package org.littleshoot.proxy; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.littleshoot.proxy.ProxyUtils.parseHost; import static org.littleshoot.proxy.ProxyUtils.parseHostAndPort; /** * Test for proxy utilities. */ public class ProxyUtilsTest { @Test public void t...
arielnetworks/LittleProxy
src/test/java/org/littleshoot/proxy/ProxyUtilsTest.java
Java
apache-2.0
1,223
/* (c) 2014 LinkedIn Corp. 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...
aglne/Cubert
src/main/java/com/linkedin/cubert/functions/Function.java
Java
apache-2.0
2,586
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
stevenhva/InfoLearn_OpenOLAT
src/main/java/org/olat/core/util/vfs/QuotaExceededException.java
Java
apache-2.0
1,195
/** * Copyright 2015 Red Hat, Inc., and individual 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...
feedhenry-templates/welcome-android
src/com/feedhenry/android/drawer/model/NavDrawerItem.java
Java
apache-2.0
1,586
package com.yodiwo.androidagent.plegma; /** * Created by ApiGenerator Tool (Java) on 28/08/2015 18:34:42. */ /** * Globally unique identifier of a Graph */ public class GraphKey { public com.yodiwo.androidagent.plegma.GraphDescriptorKey GraphDescriptorKey; public int GraphId; public GraphKey() { ...
yodiwo/plegma
Android/YodiwoNode/YAgent/src/main/java/com/yodiwo/androidagent/plegma/GraphKey.java
Java
apache-2.0
526
/* * 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-cloudhsm/src/main/java/com/amazonaws/services/cloudhsm/model/transform/GetConfigRequestMarshaller.java
Java
apache-2.0
3,932
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
lkubik/keycloak
federation/ldap/src/test/java/org/keycloak/federation/ldap/idm/model/LDAPDnTest.java
Java
apache-2.0
1,957
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
deeplearning4j/deeplearning4j
deeplearning4j/deeplearning4j-modelimport/src/test/java/org/deeplearning4j/nn/modelimport/keras/layers/recurrent/KerasLSTMTest.java
Java
apache-2.0
9,150
package org.geotools.data.simple; import org.geotools.data.collection.DelegateFeatureReader; import org.opengis.feature.simple.SimpleFeature; import org.opengis.feature.simple.SimpleFeatureType; /** * * * @source $URL$ */ public class DelegateSimpleFeatureReader extends DelegateFeatureReader<SimpleFeatur...
FUNCATE/TerraMobile
sldparser/src/main/geotools/data/simple/DelegateSimpleFeatureReader.java
Java
apache-2.0
548
/* * 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/bookkeeper
bookkeeper-server/src/test/java/org/apache/bookkeeper/discover/TestZkRegistrationManager.java
Java
apache-2.0
2,263
package org.nutz.lang.random; import java.util.Arrays; import java.util.Random; import java.util.UUID; import org.nutz.lang.Strings; /** * 对随机数操作的封装 * * @author zozoh(zozohtnt@gmail.com) */ public abstract class R { static Random r = new Random(); /** * 根据一个范围,生成一个随机的整数 * ...
joansmith/nutz
src/org/nutz/lang/random/R.java
Java
apache-2.0
7,778
/* Copyright 2018 Telstra Open Source * * 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...
jonvestal/open-kilda
src-gui/src/main/java/org/openkilda/store/common/constants/RequestParams.java
Java
apache-2.0
1,530
package org.lantern.state; import java.util.Date; import org.apache.commons.lang3.StringUtils; import org.codehaus.jackson.map.annotate.JsonView; import org.lantern.GoogleTalkState; import org.lantern.LanternConstants; import org.lantern.annotation.Keep; import org.lantern.event.Events; import org.lantern.event.Googl...
getlantern/lantern-java
src/main/java/org/lantern/state/Connectivity.java
Java
apache-2.0
4,381
/* * 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 ...
GJL/flink
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/runtime/stream/sql/FunctionITCase.java
Java
apache-2.0
16,663
/* * Copyright 2015 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...
kuangrewawa/onos
utils/misc/src/main/java/org/onlab/util/SlidingWindowCounter.java
Java
apache-2.0
3,997
package org.kie.remote.services.rest.query; import static org.kie.internal.query.QueryParameterIdentifiers.ACTUAL_OWNER_ID_LIST; import static org.kie.internal.query.QueryParameterIdentifiers.BUSINESS_ADMIN_ID_LIST; import static org.kie.internal.query.QueryParameterIdentifiers.CREATED_BY_LIST; import static org.kie.i...
hxf0801/droolsjbpm-integration
kie-remote/kie-remote-services/src/main/java/org/kie/remote/services/rest/query/RemoteServicesQueryCommandBuilder.java
Java
apache-2.0
13,443
/** * 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...
cbaenziger/oozie
core/src/main/java/org/apache/oozie/command/coord/CoordKillXCommand.java
Java
apache-2.0
8,240
/* * Copyright 2015 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 agreed to ...
nmirasch/kie-wb-common
kie-wb-common-widgets/kie-wb-common-ui/src/main/java/org/kie/workbench/common/widgets/client/popups/workbench/configuration/WorkbenchConfigurationPopup.java
Java
apache-2.0
12,269
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2013.12.05 at 10:55...
kohsah/akomantoso-lib
src/main/java/org/akomantoso/schema/v2/FragmentStructure.java
Java
apache-2.0
3,911
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
raharsha/android4
app/src/androidTest/java/com/example/android/popularmovies/app/FullTestSuite.java
Java
apache-2.0
1,038
/* * 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...
zuoyebushiwo/elasticsearch-1.5.0
src/main/java/org/elasticsearch/common/settings/ImmutableSettings.java
Java
apache-2.0
43,374
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2013 Dirk Beyer * 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...
TommesDee/cpachecker
src/org/sosy_lab/cpachecker/util/predicates/z3/Z3FormulaCreator.java
Java
apache-2.0
2,989
package simple_server; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.eclipse.jetty.servlet.DefaultServlet; final class LoginServlet2 extends DefaultServlet { private static fin...
ItamarBenjamin/codeine
src/simple_server/simple_server/LoginServlet2.java
Java
apache-2.0
1,187
/* * Copyright 2013 Cloudera 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...
cloudera/cdk
cdk-morphlines/cdk-morphlines-solr-core/src/main/java/com/cloudera/cdk/morphline/solr/TokenizeTextBuilder.java
Java
apache-2.0
6,509
package org.sagebionetworks.repo.model.dbo.file; import java.util.List; import org.sagebionetworks.repo.model.file.PartErrors; import org.sagebionetworks.repo.model.file.PartMD5; /** * DAO to for metadata persisted for a multi-part upload. * */ public interface MultipartUploadDAO { /** * Get ...
xschildw/Synapse-Repository-Services
lib/jdomodels/src/main/java/org/sagebionetworks/repo/model/dbo/file/MultipartUploadDAO.java
Java
apache-2.0
2,510
package test.factory; import static org.assertj.core.api.Assertions.assertThat; import org.testng.TestNG; import org.testng.annotations.Test; import test.SimpleBaseTest; public class FactoryFailureTest extends SimpleBaseTest { @Test public void factoryThrowingShouldNotRunTests() { TestNG tng = create(Factor...
krmahadevan/testng
testng-core/src/test/java/test/factory/FactoryFailureTest.java
Java
apache-2.0
1,061
/* Copyright 2008-2013 CNR-ISTI, http://isti.cnr.it Institute of Information Science and Technologies of the Italian National Research Council See the NOTICE file distributed with this work for additional information regarding copyright ownership Licensed under the Apache License, Version 2.0 (the "...
smulikHakipod/zb4osgi
zb4o-cc2480-datalink/src/test/java/com/itaca/ztool/api/af/AF_DATA_CONFIRMTest.java
Java
apache-2.0
1,499
/* * 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...
rometools/rome
rome-modules/src/main/java/com/rometools/modules/sle/ValueStrategy.java
Java
apache-2.0
801
/* * 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/beam
sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/WithTimestamps.java
Java
apache-2.0
6,706
/* * 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 ...
eva-xuyen/excalibur
framework/impl/src/test/java/org/apache/avalon/framework/component/test/DefaultComponentManagerTestCase.java
Java
apache-2.0
4,816
/* * 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/AbstractAmazonAutoScaling.java
Java
apache-2.0
14,240
package Box_Plot.solution1; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.util.Arrays; import java.util.Collection; import static org.testng.AssertJUnit.assertEquals; @RunWith(Parameterized.class) public class GraphicalControlTes...
Gott50/CleanCOdyssey
Katas/src/Box_Plot/solution1/GraphicalControlTest.java
Java
apache-2.0
2,647
/** * Package for paint. * * @author Andrey Lemdyanov (mailto:lemdyanov5@mail.ru) * @version $Id$ * @since 0.1 */ package ru.job4j.paint;
andreilemdyanov/junior
chapter_002/src/test/java/ru/job4j/paint/package-info.java
Java
apache-2.0
143
package io.spotnext.instrumentation; import java.io.File; import java.io.IOException; import java.lang.management.ManagementFactory; import org.apache.commons.io.FileUtils; /** * <p>DynamicInstrumentationProperties class.</p> * * @since 1.0 */ public final class DynamicInstrumentationProperties { /** *...
mojo2012/spot-framework
spot-instrumentation/src/main/java/io/spotnext/instrumentation/DynamicInstrumentationProperties.java
Java
apache-2.0
2,205
package com.jhipcon.domain; import javax.persistence.*; import javax.validation.constraints.NotNull; import java.io.Serializable; import java.time.Instant; import java.util.HashMap; import java.util.Map; /** * Persist AuditEvent managed by the Spring Boot actuator * @see org.springframework.boot.actuate.audit.Audit...
cfaddict/jhipster-course
jhipster-conference/gateway/src/main/java/com/jhipcon/domain/PersistentAuditEvent.java
Java
apache-2.0
1,829
/* * Copyright 2012 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...
zasadnyy/iosched
android/src/main/java/com/funkyandroid/droidcon/uk/iosched/io/model/EventSlots.java
Java
apache-2.0
1,066
/* * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
shivpun/spring-framework
spring-oxm/src/main/java/org/springframework/oxm/xmlbeans/XmlOptionsFactoryBean.java
Java
apache-2.0
2,150
package org.zstack.image; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.transaction.annotation.Transactional; import org.zstack.core.cascade.*; import org.zstack.core.cloudbus.CloudBus; import org.zstack.core.cloudbus.CloudBusListCallBack; import org.zstack.core.db.Da...
newbiet/zstack
image/src/main/java/org/zstack/image/ImageCascadeExtension.java
Java
apache-2.0
9,225
// 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 org.jetbrains.plugins.groovy.gant; import com.intellij.openapi.components.ServiceManager; import com.intellij.openapi.components.State; import com.intellij.openapi.compon...
leafclick/intellij-community
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/gant/GantSettings.java
Java
apache-2.0
1,300
/* * Copyright (C) 2008 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 ...
Primosbookkeeping/gxp
java/src/com/google/gxp/compiler/alerts/AlertPolicy.java
Java
apache-2.0
1,050
/* * 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 ...
deepakddixit/incubator-geode
geode-core/src/main/java/org/apache/geode/internal/statistics/platform/LinuxSystemStats.java
Java
apache-2.0
15,309
/* * Copyright 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 applicable law...
spockframework/spock
spock-core/src/main/java/org/spockframework/util/CollectionUtil.java
Java
apache-2.0
5,848
// Copyright (C) 2013-2015 DNAnexus, Inc. // // This file is part of dx-toolkit (DNAnexus platform client libraries). // // 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 // // htt...
andyshinn/dx-toolkit
src/java/src/main/java/com/dnanexus/DXRecord.java
Java
apache-2.0
8,063
package com.dickthedeployer.dick.web.model; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @Data @Builder @NoArgsConstructor @AllArgsConstructor public class InfoModel { String publicKey; String version; String commitShort; boolean versio...
dick-the-deployer/dick
dick-web/src/main/java/com/dickthedeployer/dick/web/model/InfoModel.java
Java
apache-2.0
333
/* * Anarres C Preprocessor * Copyright (c) 2007-2008, Shevek * * 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 ...
JogAmp/jcpp
src/main/java/com/jogamp/gluegen/jcpp/JavaFileSystem.java
Java
apache-2.0
2,198
package ru.aserdyuchenko.start; import ru.aserdyuchenko.todo_list.models.Figure; public interface UserFigure { abstract int key(); abstract void check(Figure figure, int newLocationBoardX, int newLocationBoardY, Chess chess); abstract String info(); }
anton415/Job4j
Intern/Part_2_OOP_Final_test/src/main/java/ru/aserdyuchenko/start/UserFigure.java
Java
apache-2.0
257
/* * 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...
gfyoung/elasticsearch
server/src/main/java/org/elasticsearch/transport/RemoteClusterService.java
Java
apache-2.0
24,676
/** * 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...
punkhorn/camel-upstream
components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyTextlineInOnlyTest.java
Java
apache-2.0
2,399
package com.shansown.androidtests.sync; import android.accounts.Account; import android.content.ContentResolver; import android.content.Context; import android.net.ConnectivityManager; import android.os.Bundle; import com.shansown.androidtests.provider.AppContract; import com.shansown.androidtests.util.AccountUtils; ...
ShansOwn/LollipopTest
app/src/main/java/com/shansown/androidtests/sync/SyncHelper.java
Java
apache-2.0
4,047
package me.farhan.androidnavdrawer; import java.util.List; import android.app.Activity; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; pu...
farhan-faruque/android-dev
AndroidNavDrawer/src/me/farhan/androidnavdrawer/CustomDrawerAdapter.java
Java
apache-2.0
2,058
/* // Licensed to DynamoBI Corporation (DynamoBI) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. DynamoBI licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may ...
LucidDB/luciddb
farrago/src/net/sf/farrago/namespace/ftrs/FtrsIndexJoinRule.java
Java
apache-2.0
9,806
/** * Package ru.job4j. * * @author Denis * @since 12.01.2017 */ package ru.job4j;
degauhta/dgagarsky
chapter_002/parentheses/src/test/java/ru/job4j/package-info.java
Java
apache-2.0
87
// Copyright 2018 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...
meteorcloudy/bazel
src/main/java/com/google/devtools/build/lib/rules/LabelBuildSettings.java
Java
apache-2.0
5,244
/** * Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
cocosli/pinot
pinot-controller/src/main/java/com/linkedin/pinot/controller/api/restlet/resources/PqlQueryResource.java
Java
apache-2.0
7,342
/** * Copyright 2005-2014 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version * 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
janstey/fabric8
fabric/fabric-maven/src/main/java/io/fabric8/maven/DependencyId.java
Java
apache-2.0
3,968
/* * Copyright 2015-2016 Red Hat, Inc, and individual 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
hal/hal.next
ballroom/src/main/java/org/jboss/hal/ballroom/Popover.java
Java
apache-2.0
4,213
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
RyanSkraba/beam
runners/google-cloud-dataflow-java/src/test/java/org/apache/beam/runners/dataflow/TestDataflowRunnerTest.java
Java
apache-2.0
27,726
/* * Copyright 2002-2004 The Apache Software Foundation. * * 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...
jgallimore/axis-with-mods
test/chains/TestChainFault.java
Java
apache-2.0
6,916
package com.zihexin.business_interface.bank.bankRequest; import java.io.*; import java.net.*; import javax.net.ssl.*; import java.util.Map; import java.util.Properties; import java.security.KeyManagementException; import java.security.NoSuchAlgorithmException; import java.security.cert.CertificateException; import j...
joshLV/uue
uue-CmbErpBlank/src/main/java/com/zihexin/business_interface/bank/bankRequest/HttpsRequest.java
Java
apache-2.0
4,318
/** * Generated with Acceleo */ package org.wso2.developerstudio.eclipse.gmf.esb.parts.impl; // Start of user code for imports import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent; import org.eclipse.emf.eef.runtime.api....
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.gmf.esb.edit/src-gen/org/wso2/developerstudio/eclipse/gmf/esb/parts/impl/TemplateEndpointParameterPropertiesEditionPartImpl.java
Java
apache-2.0
11,534
/* * Copyright 2013, The Sporting Exchange Limited * * 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...
betfair/cougar
cougar-test/cougar-test-utils/src/main/java/com/betfair/testing/utils/cougar/callmaker/AbstractCallMaker.java
Java
apache-2.0
1,091
package com.github.xsavikx.android.screencast.api.recording; import java.io.FilterOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; public class DataAtomOutputStream ...
0359xiaodong/AndroidScreencast
src/com/github/xsavikx/android/screencast/api/recording/DataAtomOutputStream.java
Java
apache-2.0
9,389
package io.dropwizard.jersey.jsr310; import org.junit.jupiter.api.Test; import java.time.Month; import java.time.YearMonth; import static org.assertj.core.api.Assertions.assertThat; class YearMonthParamTest { @Test void parsesDateTimes() throws Exception { final YearMonthParam param = new YearMonthP...
dropwizard/dropwizard
dropwizard-jersey/src/test/java/io/dropwizard/jersey/jsr310/YearMonthParamTest.java
Java
apache-2.0
442
package com.nbusy.app.data.composite; import com.google.common.collect.ImmutableSet; import com.nbusy.app.data.Chat; import com.nbusy.app.data.Message; import java.util.List; public class ChatAndMessages { public final Chat chat; public final ImmutableSet<Message> messages; public ChatAndMessages(Chat c...
soygul/nbusy-android
app/src/main/java/com/nbusy/app/data/composite/ChatAndMessages.java
Java
apache-2.0
809
/** * Copyright 2014 freiheit.com technologies gmbh * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
freiheit-com/sqlapi4j
core/src/main/java/com/freiheit/sqlapi4j/meta/TableAlias.java
Java
apache-2.0
3,331
/** * 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...
ict-carch/hadoop-plus
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/DatanodeID.java
Java
apache-2.0
6,086
package alien4cloud.topology; import javax.annotation.PostConstruct; import javax.annotation.Resource; import org.springframework.stereotype.Service; import alien4cloud.common.AbtractVersionService; import alien4cloud.csar.services.CsarService; import alien4cloud.dao.model.GetMultipleDataResult; import alien4cloud.e...
ahgittin/alien4cloud
alien4cloud-core/src/main/java/alien4cloud/topology/TopologyTemplateVersionService.java
Java
apache-2.0
3,104
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
Shabirmean/carbon-device-mgt-plugins
components/iot-plugins/arduino-plugin/org.wso2.carbon.device.mgt.iot.arduino.api/src/main/java/org/wso2/carbon/device/mgt/iot/arduino/service/impl/ArduinoServiceImpl.java
Java
apache-2.0
14,480
package org.carlspring.strongbox.forms.configuration; import org.carlspring.strongbox.booters.PropertiesBooter; import org.carlspring.strongbox.config.IntegrationTest; import org.carlspring.strongbox.providers.storage.FileSystemStorageProvider; import org.carlspring.strongbox.rest.common.RestAssuredBaseTest; import or...
sbespalov/strongbox
strongbox-web-core/src/test/java/org/carlspring/strongbox/forms/configuration/StorageFormTestIT.java
Java
apache-2.0
5,212
/* * 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/uima-uimafit
uimafit-core/src/main/java/org/apache/uima/fit/factory/TypeSystemDescriptionFactory.java
Java
apache-2.0
6,898
/* * 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 ...
gzsombor/ranger
security-admin/src/main/java/org/apache/ranger/view/VXMetricUserGroupCount.java
Java
apache-2.0
4,622
/* * 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 ...
druid-io/druid
server/src/test/java/org/apache/druid/client/indexing/NoopIndexingServiceClient.java
Java
apache-2.0
3,142
package com.linkedin.thirdeye.dashboard.resource; import com.linkedin.thirdeye.dashboard.ThirdEyeDashboardConfiguration; import com.linkedin.thirdeye.dashboard.resources.OnboardResource; import com.linkedin.thirdeye.datalayer.bao.DAOTestBase; import com.linkedin.thirdeye.datalayer.dto.AlertConfigDTO; import com.linked...
apucher/pinot
thirdeye/thirdeye-pinot/src/test/java/com/linkedin/thirdeye/dashboard/resource/OnboardResourceTest.java
Java
apache-2.0
4,840
// // Copyright 2018 SenX S.A.S. // // 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...
cityzendata/warp10-platform
token/src/main/java/io/warp10/quasar/filter/QuasarTokenFilter.java
Java
apache-2.0
7,540
package org.ovirt.engine.core.common.businessentities; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.validation.Valid; import org.ovirt.engine.core.common.businessentities.Di...
jbeecham/ovirt-engine
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VM.java
Java
apache-2.0
46,996
package mmlib4j; import ij.IJ; import ij.ImagePlus; import ij.WindowManager; import ij.gui.GenericDialog; import ij.plugin.filter.PlugInFilter; import ij.process.ByteProcessor; import ij.process.ColorProcessor; import ij.process.ImageProcessor; import java.util.HashMap; import mmlib4j.filtering.MorphologicalOperator...
renpas/mmlib4j-imagej
src/mmlib4j/Watershed_by_Marked.java
Java
apache-2.0
3,784
/** * This class is generated by jOOQ */ package edu.kit.ipd.crowdcontrol.objectservice.database.model.tables; import edu.kit.ipd.crowdcontrol.objectservice.database.model.Crowdcontrol; import edu.kit.ipd.crowdcontrol.objectservice.database.model.Keys; import edu.kit.ipd.crowdcontrol.objectservice.database.model.ta...
coolcrowd/ObjectService
src/main/java/edu/kit/ipd/crowdcontrol/objectservice/database/model/tables/TemplateTag.java
Java
apache-2.0
3,416
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may...
maciej-zygmunt/unitime
JavaSource/org/unitime/timetable/onlinesectioning/model/XCourseId.java
Java
apache-2.0
6,164
package org.teachingkidsprogramming.recipes.completed.section02methods.KataQuestions; import org.teachingextensions.logo.Tortoise; import org.teachingextensions.logo.utils.ColorUtils.PenColors; //------------Kata Question---------------// // How would you make a pointy roof // and how would make a slanted roof ...
TeachingKidsProgramming/TeachingKidsProgramming.Source.Java
src/main/java/org/teachingkidsprogramming/recipes/completed/section02methods/KataQuestions/HousesToAColorfulPointyAndASlantedRoof_ANSWER_05.java
Java
apache-2.0
1,521
/* * 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 ...
niketanpansare/systemml
src/test/java/org/apache/sysml/test/integration/functions/unary/matrix/NegationTest.java
Java
apache-2.0
4,546
package org.nailedtothex.jberetweb.entity; import javax.persistence.Column; import javax.persistence.Id; import java.io.Serializable; public class PartitionExecutionPK implements Serializable { private Integer partitionexecutionid; private Long stepexecutionid; @Column(name = "partitionexecutionid") ...
The-Alchemist/jberetweb
src/main/java/org/nailedtothex/jberetweb/entity/PartitionExecutionPK.java
Java
apache-2.0
1,595
/* * Copyright (c) 2016, Stein Eldar Johnsen * * 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...
morimekta/thrift-j2
providence-config/src/test/java/net/morimekta/providence/config/impl/ProvidenceConfigSupplierTest.java
Java
apache-2.0
12,939
package com.whamu2.android.macropus.listener; import io.reactivex.disposables.Disposable; /** * @author Suming * @date 2017/10/31 11:57 * @Description HttpResponseCallback : 网络请求回掉 */ public interface HttpResponseCallback<T> { /** * 加入请求队列 * * @params d * @date 2017/10/31 11:58 */ ...
whamu2/android-learning
climate/macropus/src/main/java/com/whamu2/android/macropus/listener/HttpResponseCallback.java
Java
apache-2.0
847
/* * JBoss, Home of Professional Open Source * Copyright 2015, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
antoinesd/weld-core
probe/core/src/main/java/org/jboss/weld/probe/IOUtils.java
Java
apache-2.0
3,119
/* * 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")...
apache/uima-sandbox
uimaj-ep-cev/src/main/java/org/apache/uima/cev/views/CEVAnnotationTreeViewDragListener.java
Java
apache-2.0
2,281
/* * 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-data/src/main/java/com/addthis/hydra/data/query/op/OpHoltWinters.java
Java
apache-2.0
6,019
package com.yeungeek.modulartraning; 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 And...
yeungeek/AndroidRoad
component/ModularTraning/app/src/androidTest/java/com/yeungeek/modulartraning/ExampleInstrumentedTest.java
Java
apache-2.0
738
/******************************************************************************* * Copyright (c) 2011, Daniel Murphy * 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 ...
ShuoShen/526-JBox2D
jbox2d-library/src/main/java/org/jbox2d/dynamics/contacts/Contact.java
Java
bsd-2-clause
8,064
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package kobdig.market; import java.io.PrintStream; import java.util.Collections; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Random; import java.util.Vector; /** * ...
tettaman/kobdig
src/main/java/kobdig/market/Simulation.java
Java
bsd-2-clause
4,070
package com.vladsch.flexmark.tree.iteration; import org.jetbrains.annotations.NotNull; import java.util.function.Function; public class FixedIterationConditions<N> implements IterationConditions<N> { final private @NotNull Function<? super N, N> initializer; final private @NotNull Function<? super N, N> iter...
vsch/commonmark-java
flexmark-tree-iteration/src/main/java/com/vladsch/flexmark/tree/iteration/FixedIterationConditions.java
Java
bsd-2-clause
2,094
package com.appsfire.adapter.smartadserver; import java.util.Map; import android.app.Activity; import android.content.Context; import android.location.Location; import android.util.Log; import android.util.TypedValue; import android.view.ViewGroup; import com.appsfire.adUnitJAR.mediation.AFMedBannerViewCu...
appsfire/Appsfire-Android-SDK
AppsfireAndroidSDK-examples/appsfire_mediationapp/src/com/appsfire/adapter/smartadserver/AFSASBannerViewCustomEvent.java
Java
bsd-2-clause
5,557
package org.hisp.dhis.system.help; /* * 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 ...
vietnguyen/dhis2-core
dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/help/HelpContent.java
Java
bsd-3-clause
2,201
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.ecmascript.ast; import org.mozilla.javascript.ast.VariableInitializer; public class ASTVariableInitializer extends AbstractEcmascriptNode<VariableInitializer> implements DestructuringNode { pub...
StephaneMangin/V-V-TP3
src/main/java/net/sourceforge/pmd/lang/ecmascript/ast/ASTVariableInitializer.java
Java
bsd-3-clause
914
/* Generated By:JJTree: Do not edit this line. ASTMemberValue.java */ package net.sourceforge.pmd.ast; public class ASTMemberValue extends SimpleJavaNode { public ASTMemberValue(int id) { super(id); } public ASTMemberValue(JavaParser p, int id) { super(p, id); } /** * Accep...
pscadiz/pmd-4.2.6-gds
src/net/sourceforge/pmd/ast/ASTMemberValue.java
Java
bsd-3-clause
465
package org.motechproject.mHealthDataInterface.utility; import com.google.gson.JsonElement; import com.google.gson.JsonSerializer; import com.google.gson.JsonDeserializer; import com.google.gson.JsonSerializationContext; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonPrimitive; import or...
hclvipin/mHealthDataInterface
src/main/java/org/motechproject/mHealthDataInterface/utility/JsonUtils.java
Java
bsd-3-clause
2,022
package com.oracle.xmlns.apps.cdm.foundation.resources.resourceservice.applicationmodule.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.annotati...
delkyd/Oracle-Cloud
PaaS_SaaS_Accelerator_RESTFulFacade/FusionProxy_ResourceService/src/com/oracle/xmlns/apps/cdm/foundation/resources/resourceservice/applicationmodule/types/ProcessResourceResponse.java
Java
bsd-3-clause
1,709
/* Generated By:JavaCC: Do not edit this line. SimpleCharStream.java Version 2.1 */ package org.cybergarage.x3d.parser.sense8; /** * An implementation of interface CharStream, where the stream is assumed to * contain only ASCII characters (without unicode processing). */ public final class SimpleCharStream { pub...
cybergarage/cybergarage-x3d
core/src/main/java/org/cybergarage/x3d/parser/sense8/SimpleCharStream.java
Java
bsd-3-clause
9,739
package in.joind.api; /* * Communication with joind.in API */ import android.accounts.Account; import android.accounts.AccountManager; import android.content.Context; import android.util.Log; import org.json.JSONException; import org.json.JSONObject; import java.io.BufferedInputStream; import java.io.BufferedOutp...
joindin/Joind.in-android-app
source/src/in/joind/api/JIRest.java
Java
bsd-3-clause
8,725
package com.oracle.ptsdemo.healthcare.wsclient.pharmacy.types; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for requestOrderStatusResponse complex type. *...
dushmis/Oracle-Cloud
PaaS-SaaS_HealthCareApp/DoctorPatientCRMExtension/HealthCare/HealthCareWSProxyClient/src/com/oracle/ptsdemo/healthcare/wsclient/pharmacy/types/RequestOrderStatusResponse.java
Java
bsd-3-clause
1,503