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) 2012 52°North Initiative for Geospatial Open Source Software 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...
52North/ArcGIS-Server-SOS-Extension
src/main/java/org/n52/sos/cache/ObservationOfferingCache.java
Java
apache-2.0
4,089
/** * Copyright 2010 - 2022 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
JetBrains/xodus
openAPI/src/main/java/jetbrains/exodus/io/DataReaderWriterProvider.java
Java
apache-2.0
5,499
package org.commcare.tasks; import android.content.Context; import android.text.TextUtils; import android.text.format.DateUtils; import android.util.Pair; import org.commcare.CommCareApplication; import org.commcare.models.AndroidSessionWrapper; import org.commcare.models.database.AndroidSandbox; import org...
dimagi/commcare-android
app/src/org/commcare/tasks/FormRecordLoaderTask.java
Java
apache-2.0
10,155
/* Copyright 2019 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-java/network-topology/network-storm-topology/src/main/java/org/openkilda/wfm/topology/network/controller/BfdGlobalToggleFsm.java
Java
apache-2.0
8,262
package org.nbone.core.util; /** * * @author thinking * @version 1.0 * @since 2019-07-20 * org.elasticsearch.common.unit.ByteSizeUnit */ public enum ByteSizeUnit { BYTES { @Override public long toBytes(long size) { return size; } @Override public long toK...
thinking-github/nbone
nbone/nbone-core/src/main/java/org/nbone/core/util/ByteSizeUnit.java
Java
apache-2.0
5,035
package org.zentaur.core.http; /* * Copyright 2012 The Zentaur Server 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-...
zentaur/core
src/main/java/org/zentaur/core/http/ResponseFactory.java
Java
apache-2.0
1,161
package pl.wavesoftware.examples.wildflyswarm.service.api; import pl.wavesoftware.examples.wildflyswarm.domain.User; import java.util.Collection; /** * @author Krzysztof Suszynski <krzysztof.suszynski@coi.gov.pl> * @since 04.03.16 */ public interface UserService { /** * Retrieves a collection of active u...
cardil/cdi-inheritance-wildfly-swarm
src/main/java/pl/wavesoftware/examples/wildflyswarm/service/api/UserService.java
Java
apache-2.0
427
/* * #%L * ===================================================== * _____ _ ____ _ _ _ _ * |_ _|_ __ _ _ ___| |_ / __ \| | | | ___ | | | | * | | | '__| | | / __| __|/ / _` | |_| |/ __|| |_| | * | | | | | |_| \__ \ |_| | (_| | _ |\__ \| _ | * |_| |_| \__,_|___/...
trustathsh/ifmapj
src/main/java/de/hshannover/f4/trust/ifmapj/messages/PollResultImpl.java
Java
apache-2.0
3,270
/* * 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 ...
googleapis/java-resourcemanager
proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/UpdateFolderRequest.java
Java
apache-2.0
34,397
package com.lyubenblagoev.postfixrest.service; import com.lyubenblagoev.postfixrest.entity.User; import com.lyubenblagoev.postfixrest.security.JwtTokenProvider; import com.lyubenblagoev.postfixrest.security.RefreshTokenProvider; import com.lyubenblagoev.postfixrest.security.UserPrincipal; import com.lyubenblagoev.post...
lyubenblagoev/postfix-rest-server
src/main/java/com/lyubenblagoev/postfixrest/service/AuthServiceImpl.java
Java
apache-2.0
1,809
package task03.pages; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.ui.ExpectedConditions; public class TicketSelectionPage extends Page { public TicketSelectionPage(PageManager pages) { super(pages); } @FindBy(xpath = ".//*...
RihnKornak/TestTasks
src/test/java/task03/pages/TicketSelectionPage.java
Java
apache-2.0
945
/* Copyright [2011] [Prasad Balan] 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 ...
ryanco/x12-parser
src/main/java/com/yarsquidy/x12/X12Parser.java
Java
apache-2.0
7,028
package com.chenantao.autolayout.utils; import android.view.ViewGroup; /** * Created by Chenantao_gg on 2016/1/20. */ public class AutoLayoutGenerate { public static <T extends ViewGroup> T generate(Class<T> clazz, Class[] argumentTypes, Object[] arguments) { // Enhancer enhancer = new Enhancer();...
Chenantao/PlayTogether
AutoLayout/src/main/java/com/chenantao/autolayout/utils/AutoLayoutGenerate.java
Java
apache-2.0
3,353
package com.petercipov.mobi.deployer; import com.petercipov.mobi.Instance; import com.petercipov.traces.api.Trace; import java.util.Optional; import rx.Observable; /** * * @author Peter Cipov */ public abstract class RxDeployment { protected Optional<String> name; public RxDeployment() { this.name = Option...
petercipov/mobi
deployer/src/main/java/com/petercipov/mobi/deployer/RxDeployment.java
Java
apache-2.0
7,654
/* * Copyright 2015 Torridity. * * 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...
Akeshihiro/dsworkbench
Core/src/main/java/de/tor/tribes/ui/models/RETSourceTableModel.java
Java
apache-2.0
2,442
package com.zk.web.interceptor; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; impor...
wqintel/zookeeper-web
src/main/java/com/zk/web/interceptor/CustomizedHandlerExceptionResolver.java
Java
apache-2.0
2,187
/** * 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, ...
geronimo-iia/dowsers
dowsers-core/src/main/java/org/intelligentsia/dowsers/core/serializers/jackson/ClassInformationDeserializer.java
Java
apache-2.0
2,180
package org.jboss.resteasy.reactive.server.vertx.test; import static org.junit.jupiter.api.Assertions.fail; import io.smallrye.common.annotation.Blocking; import io.smallrye.common.annotation.NonBlocking; import java.util.function.Supplier; import javax.enterprise.inject.spi.DeploymentException; import javax.ws.rs.Pa...
quarkusio/quarkus
independent-projects/resteasy-reactive/server/vertx/src/test/java/org/jboss/resteasy/reactive/server/vertx/test/BothBlockingAndNonBlockingOnClassTest.java
Java
apache-2.0
1,351
/* * * * * Copyright (C) 2015 Orange * * 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 a...
Orange-OpenSource/static-creds-broker
src/test/java/com/orange/servicebroker/staticcreds/stories/support_route_services/ConfigureServiceBrokerWithRouteServiceTest.java
Java
apache-2.0
6,730
/* * Copyright 2018 Sebastien Callier * * 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...
S-Callier/serialization
src/main/java/sebastien/callier/serialization/codec/extendable/object/field/primitives/ByteFieldCodec.java
Java
apache-2.0
2,341
package com.noeasy.money.exception; public class UserErrorMetadata extends BaseErrorMetadata { public static final UserErrorMetadata USER_EXIST = new UserErrorMetadata(101, "User exit"); public static final UserErrorMetadata NULL_USER_BEAN = new UserErrorMetadata(102, "Userbean is null"); protected...
DormitoryTeam/Dormitory
src/main/java/com/noeasy/money/exception/UserErrorMetadata.java
Java
apache-2.0
428
/******************************************************************************* * Copyright (c) 2015-2019 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-nn/src/main/java/org/deeplearning4j/nn/weights/embeddings/WeightInitEmbedding.java
Java
apache-2.0
3,970
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
droolsjbpm/drools
kie-dmn/kie-dmn-openapi/src/main/java/org/kie/dmn/openapi/impl/DMNTypeSchemas.java
Java
apache-2.0
5,225
/* * Copyright 2018 OPS4J Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
hwellmann/org.ops4j.kaiserkai
kaiserkai-itest/src/test/java/org/ops4j/kaiserkai/rest/LocalAuthSupplier.java
Java
apache-2.0
1,497
/* * 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 ...
googleapis/java-dialogflow-cx
proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AdvancedSettingsProto.java
Java
apache-2.0
4,476
/** * Copyright (C) 2010-2013 Alibaba Group Holding Limited * <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/> *...
tgou/RocketMQ
rocketmq-client/src/main/java/com/alibaba/rocketmq/client/impl/consumer/ProcessQueue.java
Java
apache-2.0
12,629
/* * 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...
webos21/xi
java/jcl/src/java/javax/crypto/spec/SecretKeySpec.java
Java
apache-2.0
5,286
/** * 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...
shot/hadoop-source-reading
src/test/org/apache/hadoop/hdfs/server/namenode/CreateEditsLog.java
Java
apache-2.0
7,159
/* * 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-datapipeline/src/main/java/com/amazonaws/services/datapipeline/model/transform/DeactivatePipelineResultJsonUnmarshaller.java
Java
apache-2.0
1,666
/** * Copyright 2015 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 ...
pstout/spectator
spectator-ext-placeholders/src/main/java/com/netflix/spectator/placeholders/PlaceholderId.java
Java
apache-2.0
2,369
/* * Copyright 2014 - 2016 Real Logic Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
tbrooks8/Aeron
aeron-driver/src/main/java/io/aeron/driver/SubscriptionLink.java
Java
apache-2.0
6,539
/* */ package com.webbuilder.interact; /* */ /* */ import com.webbuilder.controls.Query; /* */ import com.webbuilder.utils.CompressUtil; /* */ import com.webbuilder.utils.DateUtil; /* */ import com.webbuilder.utils.DbUtil; /* */ import com.webbuilder.utils.FileUtil; /* */ import ...
fuhongliang/partmanager
src/com/webbuilder/interact/Explorer.java
Java
apache-2.0
36,158
package org.fax4j.spi.email; import java.io.IOException; import javax.mail.Message; import javax.mail.Transport; import org.fax4j.FaxException; import org.fax4j.FaxJob; import org.fax4j.common.Logger; import org.fax4j.spi.AbstractFax4JClientSpi; import org.fax4j.util.Connection; import org.fax4j.util.ReflectionHelper;...
ZhernakovMikhail/fax4j
src/main/java/org/fax4j/spi/email/AbstractMailFaxClientSpi.java
Java
apache-2.0
15,447
package fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_1435 { }
lesaint/experimenting-annotation-processing
experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_1435.java
Java
apache-2.0
151
/* * Hibernate Validator, declare and validate application constraints * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.validator.test.internal.engine.messageinterpolation; import static org.hibernat...
shahramgdz/hibernate-validator
engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/EscapedInterpolationVariableTest.java
Java
apache-2.0
4,239
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
aljoscha/giraph
src/main/java/org/apache/giraph/benchmark/ShortestPathsBenchmark.java
Java
apache-2.0
5,455
// // ======================================================================== // Copyright (c) 1995-2015 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
xmpace/jetty-read
jetty-spdy/spdy-core/src/main/java/org/eclipse/jetty/spdy/parser/CredentialBodyParser.java
Java
apache-2.0
9,058
package com.ctrip.xpipe.redis.core.protocal; /** * @author wenchao.meng * * 2016年3月24日 下午6:27:48 */ public interface RedisProtocol { int REDIS_PORT_DEFAULT = 6379; int KEEPER_PORT_DEFAULT = 6380; int RUN_ID_LENGTH = 40; String CRLF = "\r\n"; String OK = "OK"; String KEEPER_ROLE_PREFIX = "keeperrole"; ...
ctripcorp/x-pipe
redis/redis-core/src/main/java/com/ctrip/xpipe/redis/core/protocal/RedisProtocol.java
Java
apache-2.0
432
package com.pi.xerosync.dbconnect; /** * User: thomas Date: 18/02/14 */ public interface XeroCredentials { String getXeroConsumerKey(); String getXeroConsumerSecret(); String getPrivateKeyPath(); }
tom-haines/patricia-xero-sync
patricia-xero-webapp/src/main/java/com/pi/xerosync/dbconnect/XeroCredentials.java
Java
apache-2.0
207
package main.java; public class SelectionSort9 { public static <T extends Comparable<T>> void sort(final T[] a) { for (int i = 0; i < a.length - 1; i++) { int min = i; for (int j = i + 1; j < a.length; j++) { if (a[j].compareTo(a[min]) < 0) { min = j; } } if (i != min) { final T tmp...
peteriliev/kata
SelectionSort/src/main/java/SelectionSort9.java
Java
apache-2.0
381
package com.sequenceiq.environment.api.v1.environment.model.response; import java.io.Serializable; import com.sequenceiq.environment.api.doc.environment.EnvironmentModelDescription; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @ApiModel("EnvironmentAuthenticationV1Response...
hortonworks/cloudbreak
environment-api/src/main/java/com/sequenceiq/environment/api/v1/environment/model/response/EnvironmentAuthenticationResponse.java
Java
apache-2.0
2,539
/* * This file is part of "lunisolar-magma". * * (C) Copyright 2014-2022 Lunisolar (http://lunisolar.eu/). * * 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.o...
lunisolar/magma
magma-func/src/main/java/eu/lunisolar/magma/func/predicate/LBiObjLongPredicate.java
Java
apache-2.0
60,660
/* * Copyright 2012-2018 Christophe Friederich * * 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...
devacfr/reflow-maven-skin
reflow-velocity-tools/src/main/java/org/devacfr/maven/skins/reflow/context/Context.java
Java
apache-2.0
9,918
/* * 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...
andytaylor/activemq-artemis
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/ssl/CoreClientOverOneWaySSLKerb5Test.java
Java
apache-2.0
8,618
package org.easyaccess.nist; import java.io.File; import java.util.HashMap; import java.util.Locale; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.os.Bundle; import a...
saurabh2590/NIST-Voting-Tablet
src/org/easyaccess/nist/HomeScreenActivity.java
Java
apache-2.0
13,985
// // ÀÌ ÆÄÀÏÀº JAXB(JavaTM Architecture for XML Binding) ÂüÁ¶ ±¸Çö 2.2.8-b130911.1802 ¹öÀüÀ» ÅëÇØ »ý¼ºµÇ¾ú½À´Ï´Ù. // <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>¸¦ ÂüÁ¶ÇϽʽÿÀ. // ÀÌ ÆÄÀÏÀ» ¼öÁ¤ÇÏ¸é ¼Ò½º ½ºÅ°¸¶¸¦ ÀçÄÄÆÄÀÏÇÒ ¶§ ¼öÁ¤ »çÇ×ÀÌ ¼Õ½ÇµË´Ï´Ù. // »ý¼º ³¯Â¥: 2015.07.30 ½Ã°£ 02:38:1...
gs1oliot/gs1source
DataAggregator/src/main/java/org/gs1/source/tsd/TSDAttributeValuePairListType.java
Java
apache-2.0
2,392
/** * 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...
yahoojapan/multiple-dimension-spread
src/hive/src/main/java/jp/co/yahoo/dataplatform/mds/hadoop/hive/io/vector/IDecimalPrimitiveSetter.java
Java
apache-2.0
1,217
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.fileTypes.impl; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.fileTypes.ExtensionFileNameMatcher; import com.intellij.op...
mdaniel/intellij-community
platform/platform-impl/src/com/intellij/openapi/fileTypes/impl/RemovedMappingTracker.java
Java
apache-2.0
8,518
/******************************************************************************* * Copyright [2016] [Quirino Brizi (quirino.brizi@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 Licen...
quirinobrizi/actio
webservices/modeler/src/main/java/org/actio/modeler/domain/repository/ModelRepository.java
Java
apache-2.0
1,108
/* * 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 ...
kl0u/flink
flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/declarative/allocator/TestSlotInfo.java
Java
apache-2.0
1,853
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package beans; import java.io.Serializable; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; /** * * @author Chema */ @Component public class Persona implem...
xroca/planFormacionJava
spring/Web/AnotacionesWebMaven/src/main/java/beans/Persona.java
Java
apache-2.0
909
/* * 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 ...
kojish/hdinsight-spark-livy-client
src/main/java/delsh/livy/SessionKind.java
Java
apache-2.0
1,484
package com.openthinks.libs.utilities.lookup; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Optional; import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; import com.openthinks.libs.utilities.Checker; impo...
daileyet/openlibs.utilities
src/main/java/com/openthinks/libs/utilities/lookup/LookupPool.java
Java
apache-2.0
11,805
package com.arges.sepan.argmusicplayer.Callbacks; import com.arges.sepan.argmusicplayer.Models.ArgAudio; //Interfaces public interface OnPreparedListener { void onPrepared(ArgAudio audio, int duration); }
mergehez/ArgPlayer
argmusicplayer/src/main/java/com/arges/sepan/argmusicplayer/Callbacks/OnPreparedListener.java
Java
apache-2.0
211
package io.monocycle.agent; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotatio...
monocycle/monocycle-agent
src/main/java/io/monocycle/agent/AgentApplication.java
Java
apache-2.0
847
/* * Copyright 2014 Waratek Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
waratek/spiracle
src/main/java/com/waratek/spiracle/sql/servlet/oracle/Get_string_no_quote.java
Java
apache-2.0
2,885
package fr.xebia.unittestwithdagger; import android.widget.TextView; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.Robolectric; import org.robolectric.RobolectricTestRunner; import org.robolectric.annotation.Config; import fr.xebia.unittestwithdagger.internal...
florent37/UnitTestWithDagger
app/src/test/java/fr/xebia/unittestwithdagger/UserActivityTest.java
Java
apache-2.0
1,254
/** * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later...
PolitAktiv/politaktiv-map2-portlet
docroot/WEB-INF/src/org/politaktiv/map/model/impl/LayerCacheModel.java
Java
apache-2.0
3,021
package org.poormanscastle.studies.compilers.grammar.grammar3_1.astparser.ast; import org.poormanscastle.studies.compilers.utils.grammartools.ast.CodePosition; /** * Created by georg on 15.01.16. */ public class OperatorExpression extends AbstractAstItem implements Expression { private final Expression leftOpe...
georgfedermann/compilers
straightline/src/main/java/org/poormanscastle/studies/compilers/grammar/grammar3_1/astparser/ast/OperatorExpression.java
Java
apache-2.0
1,401
package uk.ac.ebi.ddi.extservices.entrez.ncbiresult; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; /** * @author Yasset Perez-Riverol (ypriverol@gmail.com) * @date 18/05/2015 */ @JsonIgnoreProperties(ignoreUnknown = true) public class NCBITaxRe...
BD2K-DDI/ddi-annotation
src/main/java/uk/ac/ebi/ddi/extservices/entrez/ncbiresult/NCBITaxResult.java
Java
apache-2.0
974
package peng.zhang.mobilesafe01.servicer; import android.app.Service; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.location.Criteria; import android.location.Location; import android.location.LocationListener; import android.lo...
yongyu0102/MobileSafe
src/peng/zhang/mobilesafe01/servicer/GPSService.java
Java
apache-2.0
3,609
package com.ty.activity; import com.ty.app.R; import com.ty.service.AutoUpdateService; import com.ty.util.HttpCallbackListener; import com.ty.util.HttpUtil; import com.ty.util.Utility; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; impor...
tanqii/weather
src/com/ty/activity/WeatherActivity.java
Java
apache-2.0
5,476
/** 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/annotation/elements/package-info.java
Java
apache-2.0
881
/* Copyright 2016, 2020 Nationale-Nederlanden, 2020-2021 WeAreFrank! 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 require...
ibissource/iaf
core/src/main/java/nl/nn/adapterframework/pipes/WsdlGeneratorPipe.java
Java
apache-2.0
3,096
/* * #%L * Diana UI Core * %% * Copyright (C) 2014 Diana UI * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
dianaui/dianaui-universal
core/src/main/java/com/dianaui/universal/core/client/ui/html/Strong.java
Java
apache-2.0
1,186
/* * #%L * Diana UI Core * %% * Copyright (C) 2014 Diana UI * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
dianaui/dianaui-universal
core/src/main/java/com/dianaui/universal/core/client/ui/constants/FormGroupSize.java
Java
apache-2.0
1,385
/* * 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")...
leanddrot/isis-asistencia
fixture/src/main/java/fixture/simple/SimpleObjectsFixturesService.java
Java
apache-2.0
2,843
package org.qcri.rheem.basic.operators; import org.apache.commons.lang3.Validate; import org.qcri.rheem.core.api.Configuration; import org.qcri.rheem.core.function.DistinctPredicateDescriptor; import org.qcri.rheem.core.function.PredicateDescriptor; import org.qcri.rheem.core.optimizer.OptimizationContext; import org....
jonasrk/rheem
rheem-basic/src/main/java/org/qcri/rheem/basic/operators/DistinctOperator.java
Java
apache-2.0
5,747
/* * Copyright (C) 2008 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...
Phonemetra/TurboLauncher
app/src/main/java/com/phonemetra/turbo/launcher/BubbleTextView.java
Java
apache-2.0
13,912
/* * Licensed to Crate.IO GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not use this f...
aslanbekirov/crate
sql/src/test/java/io/crate/operation/merge/IteratorPageDownstreamTest.java
Java
apache-2.0
9,970
/* * 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-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/transform/DeleteEventsByEventTypeRequestProtocolMarshaller.java
Java
apache-2.0
2,836
/* * 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 ...
tteofili/jackrabbit-oak
oak-sling/src/main/java/org/apache/jackrabbit/oak/sling/Activator.java
Java
apache-2.0
3,841
/* * Copyright 1999-2101 Alibaba Group. * * 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 a...
xiepengchong/FactoryZxing
src/com/alibaba/fastjson/parser/JSONToken.java
Java
apache-2.0
3,656
package com.github.obourgain.elasticsearch.http.response.parser; import java.io.IOException; import java.util.HashMap; import java.util.List; import java.util.Map; import org.elasticsearch.common.xcontent.XContentParser; import com.github.obourgain.elasticsearch.http.response.entity.Indices; import com.github.obourgai...
obourgain/elasticsearch-http
src/main/java/com/github/obourgain/elasticsearch/http/response/parser/IndicesParser.java
Java
apache-2.0
1,496
/* * Copyright 2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
CarloMicieli/spring-mvc-movies
src/main/java/com/github/carlomicieli/nerdmovies/controllers/HomeController.java
Java
apache-2.0
1,759
package com.camillepradel.movierecommender.utils; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.sql.Connection; import java.sql.Date; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Statement; import jav...
Camille31/MovieRecommender
src/main/java/com/camillepradel/movierecommender/utils/CsvToMySql.java
Java
apache-2.0
17,630
/* * 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 ...
PurelyApplied/geode
geode-core/src/main/java/org/apache/geode/cache/query/internal/CompiledOperation.java
Java
apache-2.0
12,213
package com.turlir.abakgists.allgists.view.listing; import androidx.recyclerview.widget.RecyclerView; import android.view.View; abstract class ModelViewHolder<T> extends RecyclerView.ViewHolder { ModelViewHolder(View itemView) { super(itemView); } abstract void bind(T model); }
iljaosintsev/Apress-Gists
app/src/main/java/com/turlir/abakgists/allgists/view/listing/ModelViewHolder.java
Java
apache-2.0
305
package com.zuoqing.demo.entity; /** * http 请求返回的最外层对象 */ public class Result<T> { private Integer code; private String msg; private T data; public Integer getCode() { return code; } public void setCode(Integer code) { this.code = code; } public String getMsg() {...
zuoqing135du/SpringBoot
src/main/java/com/zuoqing/demo/entity/Result.java
Java
apache-2.0
569
/* * 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...
XiaoMi/galaxy-sdk-java
galaxy-thrift-api/src/main/java/libthrift091/TEnum.java
Java
apache-2.0
880
/* * Copyright to 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...
dreedyman/Rio
rio-tools/rio-cli/src/main/java/org/rioproject/tools/cli/OptionHandler.java
Java
apache-2.0
1,583
package com.eric.drools_demo; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public App...
54070356/sample
drools-demo/src/test/java/com/eric/drools_demo/AppTest.java
Java
apache-2.0
648
package com.cognitionis.nlp_files; import java.io.*; import java.util.regex.*; /** * * @author Héctor Llorens * @since 2011 */ public class TreebankFile extends NLPFile { public TreebankFile(String filename) { super(filename); } @Override public Boolean isWellFormatted() { i...
hllorens/cognitionis-nlp-libraries
nlp-files/src/main/java/com/cognitionis/nlp_files/TreebankFile.java
Java
apache-2.0
2,385
package com.kashukov.convert; /** * Convert short to any primitive data type */ public class Short { /** * Convert short to boolean * * @param input short * @return boolean */ public static boolean shortToBoolean(short input) { return input != 0; } /** * Convert...
kashukov/convert
src/main/java/com/kashukov/convert/Short.java
Java
apache-2.0
1,895
package be.dnsbelgium.rdap.sample.parser; import be.dnsbelgium.rdap.sample.dto.Contact; import be.dnsbelgium.rdap.sample.dto.DnsSecKey; import be.dnsbelgium.rdap.sample.dto.SimpleContact; public enum WhoisKeyBlock { MAIN(), DOMAIN(), REGISTRAR(), REGISTRANT(), ADMIN(Contact.class), TECH(Contact.class), ...
DNSBelgium/rdap-server-sample-gtld
src/main/java/be/dnsbelgium/rdap/sample/parser/WhoisKeyBlock.java
Java
apache-2.0
981
package com.github.hadoop.maven.plugin; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.OutputStream; import java.util.jar.Attributes; import java.util.jar.JarEntry; import java.util.jar.JarOutputS...
akkumar/maven-hadoop
src/main/java/com/github/hadoop/maven/plugin/JarWriter.java
Java
apache-2.0
2,529
/* * 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-transfer/src/main/java/com/amazonaws/services/transfer/model/HomeDirectoryType.java
Java
apache-2.0
1,790
package com.ilad.teamwork; import org.openqa.selenium.WebElement; import io.appium.java_client.android.AndroidDriver; public class TabsMenu extends AbstractTeamWork { public TabsMenu(AndroidDriver<WebElement> driver) { super(driver); } public AllProjectsPage goToProjects() { driver.findElementByXPath("//an...
Solomon1732/infinity-labs-repository
TeamWorkAndroid/src/main/java/com/ilad/teamwork/TabsMenu.java
Java
apache-2.0
414
// Copyright 2021 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
googleads/googleads-java-lib
modules/dfp_appengine/src/main/java/com/google/api/ads/admanager/jaxws/v202111/ActivityGroupServiceInterfacegetActivityGroupsByStatement.java
Java
apache-2.0
3,560
package org.ovirt.engine.ui.uicommonweb.models.vms; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.ovirt.engine.core.common.businessentities.DiskImage; import org.ovirt.engine.core.common.businessentities.DiskImageBase; impor...
Dhandapani/gluster-ovirt
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ImportVmModel.java
Java
apache-2.0
23,592
package com.pengrad.telegrambot.request; import com.pengrad.telegrambot.response.BaseResponse; /** * Mirco Ianese * 07 December 2021 */ public class UnbanChatSenderChat extends BaseRequest<UnbanChatSenderChat, BaseResponse> { public UnbanChatSenderChat(Object chatId, long sender_chat_id) { super(BaseR...
pengrad/java-telegram-bot-api
library/src/main/java/com/pengrad/telegrambot/request/UnbanChatSenderChat.java
Java
apache-2.0
415
/* * Copyright (c) 2017-2018. the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
lialun/EasyCache
easycache/src/main/java/li/allan/easycache/config/ConfigProperties.java
Java
apache-2.0
1,360
/* * 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-appsync/src/main/java/com/amazonaws/services/appsync/model/GetFunctionResult.java
Java
apache-2.0
4,022
/* * Copyright 2008-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 requir...
Selventa/model-builder
tools/groovy/src/src/main/groovy/lang/Lazy.java
Java
apache-2.0
4,644
/* * Copyright 2013-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
justinmuller/buck
test/com/facebook/buck/event/listener/ChromeTraceBuildListenerTest.java
Java
apache-2.0
20,351
/* * Copyright (C) 2016 CaMnter yuanyu.camnter@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 required by ap...
CaMnter/SaveVolley
savevolley-network-adapter/src/main/java/com/camnter/savevolley/network/adapter/core/SaveHttpEntityAdapter.java
Java
apache-2.0
925
/******************************************************************************* * Copyright 2007-2013 See 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:/...
x-meta/xworker
xworker_dataobject/src/main/java/xworker/dataObject/http/DataObjectHttpUtils.java
Java
apache-2.0
2,037
/* * 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...
ernestp/consulo
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/patch/PatchFileType.java
Java
apache-2.0
1,803
package io.ray.streaming.runtime.core.processor; import io.ray.streaming.message.Record; import io.ray.streaming.operator.SourceOperator; /** * The processor for the stream sources, containing a SourceOperator. * * @param <T> The type of source data. */ public class SourceProcessor<T> extends StreamProcessor<Reco...
pcmoritz/ray-1
streaming/java/streaming-runtime/src/main/java/io/ray/streaming/runtime/core/processor/SourceProcessor.java
Java
apache-2.0
663
/** * Copyright 2012-2015 Niall Gallagher * * 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 a...
npgall/cqengine
code/src/test/java/com/googlecode/cqengine/index/support/PartialSortedKeyStatisticsAttributeIndexTest.java
Java
apache-2.0
6,673