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
/** * 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 ...
dorzey/assertj-core
src/test/java/org/assertj/core/internal/shorts/Shorts_assertLessThanOrEqualTo_Test.java
Java
apache-2.0
3,358
/* * Copyright (c) 2008-2011 Ivan Khalopik. * * 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...
sody/greatage
labs/greatage-common/src/main/java/org/greatage/util/PathUtils.java
Java
apache-2.0
8,144
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/jsf/tags/sakai-10.1/jsf-widgets/src/java/org/sakaiproject/jsf/tag/PanelEditTag.java $ * $Id: PanelEditTag.java 105077 2012-02-24 22:54:29Z ottenhoff@longsight.com $ ***************************...
harfalm/Sakai-10.1
jsf/jsf-widgets/src/java/org/sakaiproject/jsf/tag/PanelEditTag.java
Java
apache-2.0
1,436
/* * Copyright 2014-2019 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 "licen...
jentfoo/aws-sdk-java
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/FlushStageAuthorizersCacheRequest.java
Java
apache-2.0
5,089
package de.mhu.com.morse.channel.sql; import java.io.InputStream; import java.io.OutputStream; import java.lang.reflect.Method; import java.util.Date; import java.util.Hashtable; import java.util.Iterator; import de.mhu.lib.log.AL; import de.mhu.com.morse.channel.AbstractSelectResult; import de.mhu.com.mor...
mhus/mhus-inka
de.mhus.app.inka.morse.server/src/de/mhu/com/morse/channel/sql/FindResult.java
Java
apache-2.0
3,731
package org.reclipse.structure.specification.ui.utils; import org.reclipse.math.functions.FunctionParameter; import org.reclipse.math.functions.MathematicalFunction; import org.reclipse.structure.specification.PSFunctionParameter; import org.reclipse.structure.specification.PSFuzzyConstraint; import org.reclip...
CloudScale-Project/StaticSpotter
plugins/org.reclipse.structure.specification.ui/src/org/reclipse/structure/specification/ui/utils/MathFunctionHelper.java
Java
apache-2.0
2,329
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.turn.ttorrent.protocol; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * * @author shevek */ @Retention(RetentionPolicy.RUNTIME) public @interface SuppressWarning...
indeedeng/ttorrent
ttorrent-protocol/src/main/java/com/turn/ttorrent/protocol/SuppressWarnings.java
Java
apache-2.0
354
package com.bcnx.ui.acquirer.action; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JComboBox; import javax.swing.JOptionPane; import javax.swing.JTextField; import org.springframework.context.ApplicationContext; import com.bcnx.application.context.BcnxApplica...
i0712326/bcnx
BCNXST/src/com/bcnx/ui/acquirer/action/BalMsgSaveAction.java
Java
apache-2.0
3,913
package io.github.lijunguan.imgselector.base; import android.content.Context; import android.support.v4.app.Fragment; import java.lang.ref.WeakReference; import io.github.lijunguan.imgselector.album.AlbumActivity; /** * Created by lijunguan on 2016/4/8 * email: lijunguan199210@gmail.com * blog : https://lijungua...
lijunguan/AlbumSelector
imageseletor/src/main/java/io/github/lijunguan/imgselector/base/BaseFragment.java
Java
apache-2.0
927
/* * 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 ...
dierobotsdie/hadoop
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/ServiceManager.java
Java
apache-2.0
14,352
/******************************************************************************* * Copyright 2011 * 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....
dkpro/dkpro-lab
dkpro-lab-core/src/main/java/org/dkpro/lab/engine/reporting/ReportingEngine.java
Java
apache-2.0
2,495
/* * Copyright 2016 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 a...
bazelbuild/intellij
base/src/com/google/idea/blaze/base/ideinfo/CToolchainIdeInfo.java
Java
apache-2.0
6,032
/* * Copyright 2014-2022 Web Firm Framework * * 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 o...
webfirmframework/wff
wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/DocType.java
Java
apache-2.0
16,444
/** * Exercise 4 */ package com.ciaoshen.thinkinjava.chapter11; import java.util.*; public class Exercise4 { public static interface Generator<T> { public T next(); } public static class FilmGenerator implements Generator<String> { private static final String[] FILMNAME={"肖申克的救赎", "这个杀手不太...
helloShen/thinkinginjava
chapter11/Exercise4.java
Java
apache-2.0
2,631
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. The ASF 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...
paulnguyen/cmpe279
eclipse/Roller/src/org/apache/roller/ui/authoring/struts/formbeans/YourWebsitesForm.java
Java
apache-2.0
1,439
/* * Copyright 2014-2020 Real Logic 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 * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
real-logic/Aeron
aeron-samples/src/main/java/io/aeron/samples/raw/WriteReceiveUdpPing.java
Java
apache-2.0
4,290
/* * Copyright 2012-2013 inBloom, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
inbloom/secure-data-service
sli/domain/src/test/java/org/slc/sli/validation/schema/ApiNeutralSchemaValidatorTest.java
Java
apache-2.0
4,440
/* * 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 ...
Nickname0806/Test_Q4
java/org/apache/catalina/loader/WebappLoader.java
Java
apache-2.0
20,467
package org.javaq.chartfaces.render.tool.impl; import java.util.List; import java.util.Map; import javax.faces.component.UIComponent; import org.javaq.chartfaces.api.IChartPart; import org.javaq.chartfaces.component.impl.UIChartBase; import org.javaq.chartfaces.constants.EnumPart; import org.javaq.chartfac...
hongyan99/chart-faces
chartfaces/src/main/java/org/javaq/chartfaces/render/tool/impl/HeaderTool.java
Java
apache-2.0
3,001
package org.springframework.cloud.service.common; import org.springframework.cloud.service.UriBasedServiceInfo; import org.springframework.cloud.service.ServiceInfo.ServiceLabel; /** * * @author Ramnivas Laddad * @author Scott Frederick * */ @ServiceLabel("redis") public class RedisServiceInfo extends UriBasedSe...
spring-cloud/spring-cloud-connectors
spring-cloud-core/src/main/java/org/springframework/cloud/service/common/RedisServiceInfo.java
Java
apache-2.0
656
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
hgschmie/presto
presto-main/src/test/java/io/prestosql/execution/TestSetSessionTask.java
Java
apache-2.0
7,701
/** * Copyright 2014 Fernando Rincon Martin <frm.rincon@gmail.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 requ...
frincon/openeos
modules/org.openeos.services.ui.vaadin/src/main/java/org/openeos/services/ui/vaadin/internal/abstractform/AbstractFormVaadinTabImpl.java
Java
apache-2.0
4,961
package org.gradle.test.performance.mediummonolithicjavaproject.p490; import org.junit.Test; import static org.junit.Assert.*; public class Test9813 { Production9813 objectUnderTest = new Production9813(); @Test public void testProperty0() { String value = "value"; objectUnderTest....
oehme/analysing-gradle-performance
my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p490/Test9813.java
Java
apache-2.0
2,111
/* * 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...
genome-vendor/libcommons-jexl2-java
src/test/java/org/apache/commons/jexl2/ForEachTest.java
Java
apache-2.0
5,595
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.service.executor; /** * A {@code Runlet} joins {@link AutoCloseable} with {@link Runnable} with the following semantics: * * <ul> * <li>The {@link #run()} method may be called any nu...
vespa-engine/vespa
service-monitor/src/main/java/com/yahoo/vespa/service/executor/Runlet.java
Java
apache-2.0
648
package org.infinispan.loaders.jpa; import org.infinispan.loaders.CacheLoaderException; /** * * @author <a href="mailto:rtsang@redhat.com">Ray Tsang</a> * */ public class JpaCacheLoaderException extends CacheLoaderException { private static final long serialVersionUID = -5941891649874210344L; public JpaCache...
danberindei/infinispan-cachestore-jpa
src/main/java/org/infinispan/loaders/jpa/JpaCacheLoaderException.java
Java
apache-2.0
596
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
joewalnes/idea-community
java/java-impl/src/com/intellij/psi/impl/java/stubs/JavaAnnotationElementType.java
Java
apache-2.0
3,405
/* * Copyright 2017, Yahoo! Inc. Licensed under the terms of the * Apache License 2.0. See LICENSE file at the project root for terms. */ package com.yahoo.memory; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertFalse; import static org.testng.Assert.assertNotNull; import static...
ApacheInfra/incubator-datasketches-memory
src/test/java/com/yahoo/memory/MemoryTest.java
Java
apache-2.0
14,448
package com.ityang.leetcode; public class Subject8 { public static void main(String[] args) { System.out.println(myAtoi("1")); } public static int myAtoi(String str) { double result = 0; int POrN = 1; int count = 0; char[] charArr = str.toCharArray(); for(char c:charArr){ ...
itYangJie/leetcode
src/com/ityang/leetcode/Subject8.java
Java
apache-2.0
987
package net.alexyu.model; import net.alexyu.common.pubsub.DataId; import net.alexyu.common.pubsub.SubscriptionKey; /** * Created by alex on 3/23/17. */ public class InterestRateId implements DataId<InterestRate>, SubscriptionKey<InterestRate> { public final String ccyId; public InterestRateId(String ccyId...
alexcwyu/real-time-risk
reporting-service/src/main/java/net/alexyu/model/InterestRateId.java
Java
apache-2.0
1,628
package pl.inpar.agocrm.domain; import java.util.Set; public class Person { String id; String name; Set<String> emails; Set<Integer> phones; }
drackows/ago-crm
src/main/java/pl/inpar/agocrm/domain/Person.java
Java
apache-2.0
153
package com.xjeffrose.xio.client.chicago; import com.xjeffrose.xio.client.asyncretry.AsyncRetryLoop; import com.xjeffrose.xio.client.asyncretry.AsyncRetryLoopFactory; import io.netty.bootstrap.Bootstrap; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelHa...
xjdr/xio
chicago-example/src/main/java/com/xjeffrose/xio/client/chicago/XioChicagoClient.java
Java
apache-2.0
6,556
package stdata.rules; import com.tinkerpop.blueprints.TransactionalGraph; import com.tinkerpop.blueprints.util.wrappers.event.EventGraph; import com.tinkerpop.blueprints.util.wrappers.event.listener.GraphChangedListener; import com.tinkerpop.frames.FramedGraph; public abstract class GraphChangedRule<G extends Transac...
jonasrmichel/spatiotemporal-data
src/stdata/rules/GraphChangedRule.java
Java
apache-2.0
908
/* * Copyright 2002-2019 Barcelona Supercomputing Center (www.bsc.es) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
mF2C/COMPSs
compss/runtime/adaptors/nio/commons/src/main/java/es/bsc/compss/nio/commands/CommandExecutorShutdownACK.java
Java
apache-2.0
1,667
package at.dafnik.ragemode.Shop.Pages; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.inventory.InventoryClickEvent; import at.dafnik.ragemode.Main.Main; import at.dafnik.ragemode.Main.Main.Status; import at.dafnik.ragemode.Sho...
Dafnik/RageMode
RageMode/src/at/dafnik/ragemode/Shop/Pages/AdvancedShopPageBasic.java
Java
apache-2.0
1,713
/* * Copyright 2017-2022 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 "licen...
aws/aws-sdk-java
aws-java-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptFilterJsonUnmarshaller.java
Java
apache-2.0
4,090
/* * Copyright 2020 Google LLC * * 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 applicable law or agreed to ...
GoogleCloudPlatform/retail-common-services
core/src/test/java/com/google/spez/core/SpannerSchemaTest.java
Java
apache-2.0
3,756
package com.blade.kit; import com.blade.mvc.http.Request; import lombok.experimental.UtilityClass; /** * Web kit * * @author biezhi * 2017/6/2 */ @UtilityClass public class WebKit { public static final String UNKNOWN_MAGIC = "unknown"; /** * Get the client IP address by request * * @para...
biezhi/blade
src/main/java/com/blade/kit/WebKit.java
Java
apache-2.0
1,330
package org.deephacks.westty.spi; import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.channel.MessageEvent; import org.jboss.netty.channel.SimpleChannelUpstreamHandler; import org.jboss.netty.handler.codec.http.HttpRequest; public abstract class HttpHandler extends SimpleChannelUpstreamHandle...
deephacks/westty
westty-spi/src/main/java/org/deephacks/westty/spi/HttpHandler.java
Java
apache-2.0
515
package ma.glasnost.orika.test.community; import ma.glasnost.orika.MapperFactory; import ma.glasnost.orika.NullFilter; import ma.glasnost.orika.impl.DefaultMapperFactory; import org.junit.Before; import org.junit.Test; import java.util.HashMap; import java.util.Map; import static org.junit.Assert.assertEquals; impor...
orika-mapper/orika
core/src/test/java/ma/glasnost/orika/test/community/Issue232Test.java
Java
apache-2.0
1,736
/* * citygml4j - The Open Source Java API for CityGML * https://github.com/citygml4j * * Copyright 2013-2022 Claus Nagel <claus.nagel@gmail.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 L...
citygml4j/citygml4j
src/main/java/org/citygml4j/model/gml/geometry/complexes/CompositeSolid.java
Java
apache-2.0
3,760
package net.qiujuer.sample; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import net.qiujuer.genius.Genius; import net.qiujuer.genius.app.UiModel; import net.qiujuer.genius.app.UiTool; import net.qiujuer.genius.command.Command; import net.qiujuer.genius.nettool.DnsResolve; imp...
scudc/Genius-Android
sample/src/main/java/net/qiujuer/sample/TestCaseActivity.java
Java
apache-2.0
10,180
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
tsib0/aw-reporting
aw-reporting-model/src/main/java/com/google/api/ads/adwords/awreporting/model/entities/ReportCampaign.java
Java
apache-2.0
18,840
/** * Copyright (c) 2015 by Open eGovPlatform (http://http://openegovplatform.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 ...
thongdv/OEPv2
portlets/oep-core-datamgt-portlet/docroot/WEB-INF/src/org/oep/core/util/Constaints.java
Java
apache-2.0
2,489
/******************************************************************************* * Copyright 2011 See LIBGDX_AUTHORS file. * * 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:...
mini2Dx/mini2Dx
libgdx-desktop-lwjgl2/src/main/java/com/badlogic/gdx/backends/lwjgl/audio/Mini2DxMp3.java
Java
apache-2.0
4,746
package com.zx.sms.common.util; import java.util.ArrayList; import java.util.List; import org.marre.sms.SmsMessage; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.zx.sms.BaseMessage; import com.zx.sms.LongSMSMessage; import com.zx.sms.codec.cmpp.wap.LongMessageFrame; import com.zx.sm...
Lihuanghe/CMPPGate
src/main/java/com/zx/sms/common/util/ChannelUtil.java
Java
apache-2.0
5,301
package de.dhbw.database; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import java.util.ArrayList; import java.util.List; public class DataBaseLinks implements DataBaseTable{ // table name private static final...
MAtzmueller/Kadconia
src/de/dhbw/database/DataBaseLinks.java
Java
apache-2.0
3,465
package datapagedquery; import org.apache.log4j.Logger; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.data.domain.Page; import org.springframework.dat...
thomasdarimont/spring-data-bugs
DATAJPA-617/src/test/java/datapagedquery/ApplicationTests.java
Java
apache-2.0
1,718
/* * Copyright 2017-2022 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 "licen...
aws/aws-sdk-java
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/transform/GetCrawlerResultJsonUnmarshaller.java
Java
apache-2.0
2,752
package ai.labs.parser.internal.matches; import ai.labs.parser.extensions.dictionaries.IDictionary; import lombok.Getter; import java.util.LinkedList; import java.util.List; /** * @author ginccc */ @Getter public class MatchingResult { private List<IDictionary.IFoundWord> result; private boolean corrected;...
labsai/EDDI
semanticparser-impl/src/main/java/ai/labs/parser/internal/matches/MatchingResult.java
Java
apache-2.0
625
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * You may obtain a copy of the License at * * http://www.apache....
rafael-chavez/java-client
src/main/java/io/appium/java_client/ios/IOSDriver.java
Java
apache-2.0
9,161
package com.github.dkellenb.formulaevaluator.term.function.doubletype; import java.util.List; import com.github.dkellenb.formulaevaluator.FormulaEvaluatorConfiguration; import com.github.dkellenb.formulaevaluator.definition.Function; import com.github.dkellenb.formulaevaluator.term.Term; import com.github.dkellenb.fo...
dkellenb/formula-evaluator
src/main/java/com/github/dkellenb/formulaevaluator/term/function/doubletype/DoubleTangentFunctionTerm.java
Java
apache-2.0
1,096
package com.huawei.esdk.fusionmanager.local.impl.autogen.common; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for QueryHypervisorsByDcRequest complex type. * * <p>The following schema fragment spec...
eSDK/esdk_cloud_fm_r3_native_java
source/FM/V1R3/esdk_fm_native_java/src/main/java/com/huawei/esdk/fusionmanager/local/impl/autogen/common/QueryHypervisorsByDcRequest.java
Java
apache-2.0
1,501
/* * Copyright 2014-2019 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 "licen...
jentfoo/aws-sdk-java
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/DescribeTrainingJobResult.java
Java
apache-2.0
119,508
/* * Copyright (c) "Neo4j" * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * 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...
neo4j/neo4j-java-driver
driver/src/test/java/org/neo4j/driver/internal/value/FloatValueTest.java
Java
apache-2.0
3,734
/* * Copyright 2016 Finn Bock * * 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...
bckfnn/taggersty
vertx/src/main/java/io/github/bckfnn/taggersty/vertx/HandlerOutput.java
Java
apache-2.0
1,613
/* * 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/axis2-java
modules/transport/http/test/org/apache/axis2/transport/http/HTTPClient4TransportSenderTest.java
Java
apache-2.0
1,861
/* 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...
paulstapleton/flowable-engine
modules/flowable-task-service/src/main/java/org/flowable/task/service/TaskServiceConfiguration.java
Java
apache-2.0
12,672
package com.scwang.smartrefresh.layout.api; import android.animation.ValueAnimator.AnimatorUpdateListener; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; /** * 刷新内容组件 * Created by SCWANG on 2017/5/26. */ public interface RefreshContent { void moveSpinner(int spinner)...
tinyvampirepudge/Android_Basis_Demo
Android_Basis_Demo/refresh-layout/src/main/java/com/scwang/smartrefresh/layout/api/RefreshContent.java
Java
apache-2.0
1,104
/* * Copyright 2010 Blue Lotus Software, LLC. * Copyright 2008-2010 John Yeary <jyeary@bluelotussoftware.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://ww...
bluelotussoftware/java-bootcamp
OCA/lesson03/src/main/java/arrays/ArrayTester.java
Java
apache-2.0
3,269
/** * 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...
JingchengDu/hbase
hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/RowResourceBase.java
Java
apache-2.0
25,576
/* * Copyright 2017-2022 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 "licen...
aws/aws-sdk-java
aws-java-sdk-finspacedata/src/main/java/com/amazonaws/services/finspacedata/model/transform/GetWorkingLocationRequestProtocolMarshaller.java
Java
apache-2.0
2,696
package sn.executor; /** * Created by Sumanth on 16/10/14. */ public class GenieHadoopTaskResponse { }
sumanthn/executor
src/main/java/sn/executor/GenieHadoopTaskResponse.java
Java
apache-2.0
108
/* * Copyright (C) 2013 The Calrissian Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
cjnolet/accumulo-recipes
store/event-store/src/main/java/org/calrissian/accumulorecipes/eventstore/iterator/EventIntersectingIterator.java
Java
apache-2.0
1,788
/* * 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...
twitter-forks/presto
presto-main/src/test/java/com/facebook/presto/sql/planner/iterative/rule/TestPlanRemoteProjections.java
Java
apache-2.0
15,432
/* * Copyright 2017-2022 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 "licen...
aws/aws-sdk-java
aws-java-sdk-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/transform/DeleteSuppressedDestinationRequestMarshaller.java
Java
apache-2.0
2,148
/* * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-projects/spring-framework
spring-context/src/test/java/example/profilescan/ProfileMetaAnnotatedComponent.java
Java
apache-2.0
830
package com.tasktoys.archelon.data.dao.jdbc; import com.tasktoys.archelon.data.dao.ActivityDao; import com.tasktoys.archelon.data.entity.Activity; import com.tasktoys.archelon.data.entity.Activity.ActivityType; import com.tasktoys.archelon.data.entity.Activity.Builder; import java.sql.Timestamp; import java.util.Array...
tAsktoys/Archelon
src/main/java/com/tasktoys/archelon/data/dao/jdbc/JdbcActivityDao.java
Java
apache-2.0
4,230
/** Copyright 2017 Andrea "Stock" Stocchero 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...
pepstock-org/Charba
src/org/pepstock/charba/client/defaults/chart/package-info.java
Java
apache-2.0
812
/* * Copyright 2019 LinkedIn Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
azkaban/azkaban
azkaban-common/src/main/java/azkaban/executor/ExecutionRampDao.java
Java
apache-2.0
27,150
package com.wwq.genesisfreelander.mvp.presenter.setting; import com.wwq.genesisfreelander.model.json.FindTalkEntity; import com.wwq.genesisfreelander.mvp.contract.setting.SetCommentContract; import com.wwq.genesisfreelander.mvp.model.setting.SetCommentModel; import rx.Subscriber; import rx.Subscription; /** * Creat...
weiwenqiang/GenesisFreelander
app/src/main/java/com/wwq/genesisfreelander/mvp/presenter/setting/SetCommentPresenter.java
Java
apache-2.0
1,493
/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2007 University of Texas at Austin and (C) 2005 // University of Pennsylvania and Copyright (C) 2002, 2003 University // of Massachusetts Amherst, Department of Computer Science. // // This software is licensed under the te...
lephong/iornn-depparse
tools/mstparser/src/main/java/mstparser/io/CONLLWriter.java
Java
apache-2.0
2,238
/* * Copyright 2014 Space Dynamics Laboratory - Utah State University Research 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/LICEN...
jbottel/openstorefront
server/openstorefront/openstorefront-core/model/src/main/java/edu/usu/sdl/openstorefront/core/entity/UserWatch.java
Java
apache-2.0
2,441
/* * 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-videointelligence/v1p1beta1/1.31.0/com/google/api/services/videointelligence/v1p1beta1/model/GoogleCloudVideointelligenceV1p2beta1LabelAnnotation.java
Java
apache-2.0
6,036
package com.box.l10n.mojito.service.tm; import com.box.l10n.mojito.entity.TMTextUnitVariant; import com.box.l10n.mojito.entity.TMTextUnitVariantComment; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.joda.time.DateTime; import java.util.ArrayList; import java.util.List; /** * Used to serial...
box/mojito
webapp/src/main/java/com/box/l10n/mojito/service/tm/ImportExportNote.java
Java
apache-2.0
2,582
package org.urbanbyte.cueserver.cli.actions; import org.urbanbyte.cueserver.CueServerClient; import org.urbanbyte.cueserver.cli.InputParser; import static com.google.common.base.Preconditions.checkNotNull; /** * Example for updating a cue. * <p> * author: Chris Reising */ public class DeleteCueAction implements ...
creising/CueServer-Client
cli/src/main/java/org/urbanbyte/cueserver/cli/actions/DeleteCueAction.java
Java
apache-2.0
1,098
package com.github.ruediste.rise.component.tree; import java.util.function.Supplier; /** * Represents a value in the view. * * <p> * In Rise, there is a controller and a view state. Whenever the view is * reloaded, the view state is updated based on the values of the * {@link Component}s, the request is proces...
ruediste/rise
framework/src/main/java/com/github/ruediste/rise/component/tree/IViewValue.java
Java
apache-2.0
806
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
yintaoxue/read-open-source-code
kettle4.3/src/org/pentaho/di/trans/steps/getslavesequence/GetSlaveSequenceData.java
Java
apache-2.0
1,522
package org.scribble.parser.ast; import org.antlr.runtime.tree.CommonTree; import org.scribble.ast.MessageSigNameDecl; import org.scribble.ast.AstFactoryImpl; import org.scribble.ast.name.qualified.MessageSigNameNode; import org.scribble.parser.ScribParser; import org.scribble.parser.ast.name.AntlrSimpleName; // FIXM...
scribble/scribble.github.io
src/main/jbake/assets/docs/scribble/modules/parser/src/main/java/org/scribble/parser/ast/AntlrMessageSigDecl.java
Java
apache-2.0
1,710
package com.urucas.deskflix.interfaces; /** * Created by Urucas on 8/20/14. */ public interface VolumeKeysCallback { public void onVolumeUp(); public void onVolumeDown(); }
Urucas/deskflix
android/Deskflix/app/src/main/java/com/urucas/deskflix/interfaces/VolumeKeysCallback.java
Java
apache-2.0
190
/******************************************************************************* * Copyright (c) 2006-2010 eBay 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 * ...
ebayopensource/turmeric-runtime
integration-tests/SOATests/src/test/java/org/ebayopensource/turmeric/runtime/tests/parser/json/JSONParserTest.java
Java
apache-2.0
24,860
package com.nucleus.opengl.shader; import com.nucleus.opengl.GLESWrapper.GLES20; import com.nucleus.opengl.GLESWrapper.GLES30; import com.nucleus.shader.ShaderVariable; /** * Data for an active named shader variable, ie variable declared and used in a compiled shader. * This can be attribute, uniform or block varia...
rsahlin/graphics-by-opengl
graphics-by-opengl-j2se/src/main/java/com/nucleus/opengl/shader/NamedShaderVariable.java
Java
apache-2.0
5,511
package ch.rasc.eds.starter.service; import static ch.ralscha.extdirectspring.annotation.ExtDirectMethodType.STORE_MODIFY; import static ch.ralscha.extdirectspring.annotation.ExtDirectMethodType.STORE_READ; import java.time.ZoneOffset; import java.time.ZonedDateTime; import java.util.ArrayList; import java.util.Date;...
ralscha/eds-starter6-mongodb
src/main/java/ch/rasc/eds/starter/service/UserService.java
Java
apache-2.0
10,491
package com.example.coolweather.gson; import com.google.gson.annotations.SerializedName; /** * Created by jack on 2017/8/18. */ public class Now { @SerializedName("tmp") public String temperature; @SerializedName("cond") public More more; public class More{ @Serialize...
jsjdsplj/coolweather
app/src/main/java/com/example/coolweather/gson/Now.java
Java
apache-2.0
388
package org.dashbuilder.dataprovider.backend.elasticsearch.rest.impl.jest.gson; import com.google.gson.*; import org.dashbuilder.dataprovider.backend.elasticsearch.rest.impl.jest.ElasticSearchJestClient; import org.dashbuilder.dataset.DataColumn; import org.dashbuilder.dataset.DataSetMetadata; import java.lang.reflec...
porcelli-forks/dashbuilder
dashbuilder-backend/dashbuilder-dataset-elasticsearch/src/main/java/org/dashbuilder/dataprovider/backend/elasticsearch/rest/impl/jest/gson/SearchQuerySerializer.java
Java
apache-2.0
3,103
/* * Copyright (C) 2013 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...
consulo/consulo-android
android/android/src/org/jetbrains/android/inspections/lint/IntellijRegistrationDetector.java
Java
apache-2.0
4,486
/* * Copyright 2013 S. Webber * * 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...
s-webber/projog
src/main/java/org/projog/core/predicate/PredicateFactory.java
Java
apache-2.0
3,137
/* * 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 ...
simplegeo/hadoop-pig
src/org/apache/pig/backend/hadoop/executionengine/HExecutionEngine.java
Java
apache-2.0
22,338
/* * Copyright 2016 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 in...
yschimke/rsocket-java
rsocket-transport-aeron/src/main/java/io/rsocket/aeron/internal/reactivestreams/AeronChannel.java
Java
apache-2.0
3,018
package com.yl.merchat.widget.web; import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import android.util.AttributeSet; import android.webkit.WebChromeClient; import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; import com.yl...
pengzhiming/AndroidApp
app/src/main/java/com/yl/merchat/widget/web/DWebView.java
Java
apache-2.0
4,792
package org.apache.lucene.search; /* * 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,...
terrancesnyder/solr-analytics
lucene/core/src/java/org/apache/lucene/search/TopDocsCollector.java
Java
apache-2.0
7,103
/******************************************************************************* * Copyright 2014 United States Government as represented by the * Administrator of the National Aeronautics and Space Administration. * All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you m...
nasa/OpenSPIFe
gov.nasa.ensemble.core.plan.resources/test/gov/nasa/ensemble/core/plan/resources/TestActivityEffect.java
Java
apache-2.0
6,538
package playground.spring.springBootWithInitializrFromIntellij; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class AppApplicationTest...
NovaOrdis/playground
spring/spring-boot-with-initializr-from-intellij/src/test/java/playground/spring/springBootWithInitializrFromIntellij/AppApplicationTests.java
Java
apache-2.0
377
package kenkron.burrowers; import java.util.ArrayList; import net.minecraft.block.Block; import net.minecraft.block.BlockAir; import net.minecraft.entity.EntityCreature; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.ai.EntityAIBase; import net.minecraft.item.ItemStack; import net.minecraft...
Kenkron/burrowers
main/java/kenkron/burrowers/EntityAIBurrow.java
Java
apache-2.0
10,123
package com.rocko.update; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Handler; import android.os.IBinder; import android.os...
zhengxiaopeng/AndroidUtils
old-library-with-sample/src/main/java/com/rocko/update/UpdateService.java
Java
apache-2.0
6,312
/* * Created on Apr 22, 2012 * * 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 writ...
yurloc/assertj-core
src/test/java/org/assertj/core/api/GenericInterface.java
Java
apache-2.0
751
/* * Copyright (c) 2009-2018, toby weston & tempus-fugit committers * * 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...
tobyweston/tempus-fugit
src/main/java/com/google/code/tempusfugit/temporal/RealClock.java
Java
apache-2.0
937
package com.github.mikkoi.maven.plugins.enforcer.rule.propertyusage.configuration; import org.apache.maven.plugin.logging.Log; import org.codehaus.plexus.util.DirectoryScanner; import org.codehaus.plexus.util.StringUtils; import javax.annotation.Nonnull; import java.io.File; import java.nio.file.Path; import java.nio...
mikkoi/maven-enforcer-property-usage
src/main/java/com/github/mikkoi/maven/plugins/enforcer/rule/propertyusage/configuration/FileSpecs.java
Java
apache-2.0
4,117
/* * 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...
mhurne/aws-sdk-java
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/ExpectedAttributeValue.java
Java
apache-2.0
150,773
package org.ssascaling; public class ModelFunctionConfigGenerator { private static double[] otherFunctionANN = { 6000, //15000 5, 0.15, 0.01 }; private static double[] throughputFunctionANN = { 6000, 5, 0.25, 0.01 }; /** * We assume the identical configuration first */ private static...
taochen/ssascaling
src/main/java/org/ssascaling/ModelFunctionConfigGenerator.java
Java
apache-2.0
977