repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
rene-anderes/edu
dbunitburner-maven-plugin/src/main/java/org/anderes/plugin/MojoJsonDataFileLoader.java
1126
package org.anderes.plugin; import java.io.IOException; import java.net.URL; import java.nio.file.Path; import java.nio.file.Paths; import org.anderes.edu.dbunitburner.JsonDataFileLoader; import org.dbunit.DatabaseUnitRuntimeException; import org.dbunit.dataset.DataSetException; import org.dbunit.dataset.De...
apache-2.0
dexter/elianto
src/main/java/it/cnr/isti/hpc/dexter/annotate/bean/EntityCandidates.java
2917
/** * Copyright 2014 Diego Ceccarelli * * 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 ...
apache-2.0
andreipetrov/Java
mantis-tests/src/test/java/lect8/stqa/pft/mantis/appmanager/RegistrationHelper.java
771
package lect8.stqa.pft.mantis.appmanager; import org.openqa.selenium.By; /** * Created by andre on 16.04.2016. */ public class RegistrationHelper extends HelperBase { public RegistrationHelper(ApplicationManager app) { super(app); wd = app.getDriver(); } public void start(String username, String ema...
apache-2.0
gitblit/iciql
src/main/java/com/iciql/QueryJoin.java
2180
/* * Copyright 2004-2011 H2 Group. * Copyright 2011 James Moger. * * 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...
apache-2.0
idealo/logback-redis
src/main/java/de/idealo/logback/appender/jediswriter/BufferedJedisRPusher.java
771
package de.idealo.logback.appender.jediswriter; import java.util.function.Function; import de.idealo.logback.appender.jedisclient.JedisClient; import ch.qos.logback.core.spi.DeferredProcessingAware; import redis.clients.jedis.Pipeline; public class BufferedJedisRPusher extends AbstractBufferedJedisWriter { Buf...
apache-2.0
Muhamedali/crazy_text
src/main/java/com/input/text/crazy/client/widget/textbox/command/MoveCursorStartForceCommand.java
996
package com.input.text.crazy.client.widget.textbox.command; import com.google.web.bindery.event.shared.Event; import com.input.text.crazy.client.widget.textbox.DrawTextBox; import com.input.text.crazy.client.widget.textbox.Text; import javax.annotation.Nullable; public class MoveCursorStartForceCommand extends Simpl...
apache-2.0
mread/buck
test/com/facebook/buck/cxx/CxxLibraryDescriptionTest.java
8948
/* * Copyright 2014-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
apache-2.0
nus-ncl/service-web
src/main/java/sg/ncl/testbed_interface/StatefulExperiment.java
1449
package sg.ncl.testbed_interface; import lombok.Getter; import lombok.Setter; import java.time.Instant; import java.time.ZoneId; import java.time.ZonedDateTime; import java.util.HashMap; import java.util.Map; /** * Created by dcszwang on 11/14/2017. */ @Getter @Setter public class StatefulExperiment { private ...
apache-2.0
FearTheDust/Worm_Part3
src-provided/worms/gui/ErrorScreen.java
1072
package worms.gui; import java.awt.Color; import java.awt.Graphics2D; import java.awt.event.KeyEvent; import java.util.StringTokenizer; public class ErrorScreen extends Screen { private final String message; public ErrorScreen(WormsGUI gui, String message) { super(gui); this.message = message; } @Override ...
apache-2.0
JobHive/saki-monkey
src/main/java/com/jobhive/sakimonkey/data/response/DedicatedIpPool.java
1110
package com.jobhive.sakimonkey.data.response; import java.util.Date; /** * * @author Hussachai * */ public class DedicatedIpPool { /** * this pool's name */ private String name; /** * the date and time that this pool was created as * a UTC timestamp in...
apache-2.0
arshvin/scripts
hdfs_log_cleaner/src/test/java/prived/medved/utils/SimpleDocsCandidatesFinderImplTest.java
7271
package prived.medved.utils; import org.apache.commons.io.FileUtils; import org.apache.commons.io.IOUtils; import org.apache.solr.client.solrj.SolrQuery; import org.apache.solr.client.solrj.SolrServerException; import org.apache.solr.client.solrj.embedded.JettyConfig; import org.apache.solr.client.solrj.embedded.Jetty...
apache-2.0
Sable/mclab-core
languages/Natlab/src/natlab/tame/tamerplus/utils/IntOk.java
758
package natlab.tame.tamerplus.utils; import java.util.ArrayList; public class IntOk { private Boolean isInt; private Boolean depends; private ArrayList<String> dependsOn; public IntOk(Boolean isint, Boolean depends, ArrayList<String> dependson){ this.isInt = isint; this.depends = depends; this.depends...
apache-2.0
OpenUniversity/ovirt-engine
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/host/NetworkDeviceHelperImpl.java
14248
package org.ovirt.engine.core.bll.network.host; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Set; import java.util.function.Function; import java.util.function.Predicate; import java.util.str...
apache-2.0
weiwenqiang/GitHub
SelectWidget/glide-master/library/src/main/java/com/bumptech/glide/request/target/DrawableThumbnailImageViewTarget.java
495
package com.bumptech.glide.request.target; import android.graphics.drawable.Drawable; import android.widget.ImageView; /** * Efficiently displays multiple Drawables loaded serially into a single {@link android.view.View}. */ public class DrawableThumbnailImageViewTarget extends ThumbnailImageViewTarget<Drawable> { ...
apache-2.0
ecarm002/incubator-asterixdb
asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/aggregates/serializable/std/SerializableIntermediateSqlSumAggregateDescriptor.java
2571
/* * 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-2.0
LeFullStack/FullStack
src/main/java/me/zbl/fullstack/consts/SessionConstants.java
294
package me.zbl.fullstack.consts; /** * 关于 Sesion 的全局常量 * * @author James */ public class SessionConstants { public static final String SESSION_CURRENT_USER = "session_current_user"; public static final String SESSION_ADMIN_CURRENT_USER = "session_current_admin_user"; }
apache-2.0
blackducksoftware/hub-detect
hub-detect/src/main/groovy/com/blackducksoftware/integration/hub/detect/workflow/file/DetectFileUtils.java
2017
/** * hub-detect * * Copyright (C) 2019 Black Duck Software, Inc. * http://www.blackducksoftware.com/ * * 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 copyrig...
apache-2.0
dbracewell/mango
src/main/java/com/davidbracewell/function/SerializableDoubleUnaryOperator.java
1178
/* * (c) 2005 David B. Bracewell * * 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, Ve...
apache-2.0
signed/intellij-community
python/testSrc/com/jetbrains/env/ut/PyUnitTestProcessRunner.java
2665
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
LiuJiJiJi/Spring-Boot-example
java8/src/main/java/www/liujijiji/cn/java8/OptionTest.java
1163
package www.liujijiji.cn.java8; import java.util.Optional; /** * @author liuji * @date 2018 - 09 - 26 21:15 */ public class OptionTest { public static void main(String args[]){ OptionTest java8Tester = new OptionTest(); Integer value1 = null; Integer value2 = new Integer(10); ...
apache-2.0
Gianotti/dashboard
src/main/java/eu/hansolo/tilesfx/Tile.java
194994
/* * Copyright (c) 2016 by Gerrit Grunwald * * 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...
apache-2.0
zhangkewei/sky-walking
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/base/dao/IBatchDAO.java
914
/* * Copyright 2017, OpenSkywalking Organization 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 re...
apache-2.0
googleinterns/step100-2020
capstone/src/test/java/com/google/sps/objects/OptionTest.java
2686
package com.google.sps.objects; import static org.junit.Assert.assertEquals; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.google.appengine.api.datastore.DatastoreService; import com.google.appengine.api.datastore.DatastoreServi...
apache-2.0
sheetanchor/mblog
mblog-wechat/src/main/java/mblog/wechat/service/CoreService.java
3482
package mblog.wechat.service; import java.util.Map; import javax.servlet.http.HttpServletRequest; import mblog.wechat.entity.autoReply.MessageResponse; import mblog.wechat.utill.MessageUtil; import mblog.wechat.utill.TulingApiProcess; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class CoreService...
apache-2.0
pedrovgs/Kuronometer
kuronometer-android-consumer/kurono-android-lib-module/src/main/java/kuronometerandroidconsumer/pedrovgs/github/com/kurono_android_lib_module/KuronometerModule.java
230
package kuronometerandroidconsumer.pedrovgs.github.com.kurono_android_lib_module; /** * Created by pedro on 1/5/17. */ public class KuronometerModule { public void foo() { } public String bar() { return ""; } }
apache-2.0
liufeiit/swan
LibRaistCommon/src/main/java/org/raist/common/permutation/Permutation.java
7352
/* * Copyright 2013 Lei CHEN (raistlic@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 applicable law...
apache-2.0
goru97/blueflood
blueflood-core/src/main/java/com/rackspacecloud/blueflood/io/Constants.java
2782
/* * Copyright 2013 Rackspace * * 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 ...
apache-2.0
blusechen/venus
venus-backend/src/main/java/com/meidusa/venus/backend/RequestInfo.java
1592
/** * */ package com.meidusa.venus.backend; public class RequestInfo { /** * */ private int clientId; /** * */ private String remoteIp; /** * */ private String protocolVersion; /** * */ private Protocol protocol; /** * */ private String accept; ...
apache-2.0
Jiemamy/dialect-postgresql
src/test/java/org/jiemamy/composer/exporter/SqlExporterPostgreSqlTest.java
4775
/* * Copyright 2007-2012 Jiemamy Project and the Others. * Created on 2008/07/12 * * This file is part of Jiemamy. * * 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-2.0
utgenome/utgb
utgb-core/src/main/java/org/utgenome/gwt/utgb/client/track/RangeSelectable.java
1673
/*-------------------------------------------------------------------------- * Copyright 2007 utgenome.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...
apache-2.0
wavelets/smile
Smile/test/smile/neighbor/BKTreeSpeedTest.java
3710
/****************************************************************************** * Confidential Proprietary * * (c) Copyright Haifeng Li 2011, All Rights Reserved * ******************************************************************************/...
apache-2.0
ashqal/MD360Player4Android
vrlib/src/main/java/com/asha/vrlib/common/MDUtil.java
607
package com.asha.vrlib.common; import android.content.ContentResolver; import android.content.Context; import android.content.res.Resources; import android.net.Uri; /** * Created by hzqiujiadi on 2016/11/1. * hzqiujiadi ashqalcn@gmail.com */ public class MDUtil { public static Uri getDrawableUri(Context conte...
apache-2.0
artsoftware-io/law-office-nuts
src/main/java/io/artsoftware/organization/text/UncheckedOrgName.java
1856
/*- * #%L * Law Office * %% * Copyright (C) 2017 Art Software * %% * 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 r...
apache-2.0
DanishRafique/Advanced_Android_Development
app/src/main/java/com/example/android/sunshine/app/sync/SunshineSyncAdapter.java
30006
package com.example.android.sunshine.app.sync; import android.accounts.Account; import android.accounts.AccountManager; import android.annotation.SuppressLint; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.AbstractThreadedSyncAdapter; import android.content.ContentPro...
apache-2.0
josdem/client
client-view/src/main/java/com/all/client/view/flows/ShowContactFeedInfoFlow.java
13149
/** * Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use...
apache-2.0
SnappyDataInc/snappy-store
gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/SortedIndexContainer.java
3054
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
apache-2.0
dhutchis/accumulo
server/tserver/src/main/java/org/apache/accumulo/tserver/InMemoryMap.java
27913
/* * 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 ...
apache-2.0
jiangqqlmj/Android-Universal-Image-Loader-Modify
library/src/main/java/com/nostra13/universalimageloader/utils/IoUtils.java
4529
/******************************************************************************* * Copyright 2011-2014 Sergey Tarasevich * * 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-2.0
ideastudios/utils
app/src/main/java/tech/oom/julian/media/recorder/StageListener.java
472
package tech.oom.julian.media.recorder; public class StageListener { public void onRecordData(short[] data, int length) { } public void onRecordVolume(int volume) { } public void onStartRecording(Client client) { } public void onStopRecording(Client client) { } public void onRe...
apache-2.0
jkiddo/jmdns
src/main/java/javax/jmdns/impl/DNSCache.java
9263
// Copyright 2003-2005 Arthur van Hoff Rick Blair // Licensed under Apache License version 2.0 // Original license LGPL package javax.jmdns.impl; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.concurrent.Concurr...
apache-2.0
mjsax/aeolus
batching/src/test/java/de/hub/cs/dbis/aeolus/batching/SingleBatchSizeHashMapTest.java
2857
/* * #! * % * Copyright (C) 2014 - 2016 Humboldt-Universität zu Berlin * % * 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 * * U...
apache-2.0
opennetworkinglab/spring-open
src/test/java/net/onrc/onos/api/flowmanager/FlowBatchOperationTest.java
6353
package net.onrc.onos.api.flowmanager; import static org.hamcrest.Matchers.hasItem; import static org.hamcrest.Matchers.hasSize; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertThat; import java.util.LinkedList; import java.util.List; im...
apache-2.0
opetrovski/development
oscm-rest-api-trigger-unittests/javasrc/org/oscm/rest/trigger/unittests/DefinitionBackendTest.java
14519
/******************************************************************************* * * Copyright FUJITSU LIMITED 2017 * ...
apache-2.0
EnMasseProject/enmasse
api-model/src/main/java/io/enmasse/admin/model/v1/StandardInfraConfig.java
2919
/* * Copyright 2018, EnMasse authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.enmasse.admin.model.v1; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonIgnore; import io.enmasse.common.model.CustomResourceWithAdditional...
apache-2.0
mcollovati/camel
components/camel-rss/src/generated/java/org/apache/camel/component/rss/RssEndpointConfigurer.java
10221
/* Generated by camel build tools - do NOT edit this file! */ package org.apache.camel.component.rss; import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.spi.ConfigurerStrategy; import org.apache.camel.spi.GeneratedPropertyConfigurer; import org.apache.camel.spi.PropertyConfigurerGette...
apache-2.0
googleapis/google-api-java-client-services
clients/google-api-services-webrisk/v1/1.31.0/com/google/api/services/webrisk/v1/model/GoogleLongrunningListOperationsResponse.java
3075
/* * 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...
apache-2.0
ceridwen-com/lcfserver
lcfserver-webservice/src/main/java/com/ceridwen/lcf/server/handlers/package-info.java
644
/* * Copyright 2019 Ceridwen 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 applicable law or agr...
apache-2.0
pdrados/cas
support/cas-server-support-saml-idp-metadata-jpa/src/main/java/org/apereo/cas/config/SamlIdPJpaIdPMetadataConfiguration.java
6728
package org.apereo.cas.config; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.configuration.model.support.jpa.JpaConfigurationContext; import org.apereo.cas.configuration.support.JpaBeans; import org.apereo.cas.jpa.JpaBeanFactory; import org.apereo.cas.support.saml.idp.metadata.J...
apache-2.0
Mackenzie-High/autumn
src/autumn/lang/compiler/CompiledProgram.java
5963
package autumn.lang.compiler; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import high.mackenzie.autumn.resources.Finished; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.net.URL; impo...
apache-2.0
otto-de/edison-microservice
edison-core/src/main/java/de/otto/edison/status/indicator/CompositeStatusDetailIndicator.java
1042
package de.otto.edison.status.indicator; import de.otto.edison.status.domain.StatusDetail; import java.util.Collection; import java.util.List; import static java.util.stream.Collectors.toList; /** * A StatusDetailIndicator that is a composite of multiple delegates. * * @author Guido Steinacker * @since 04.09.15...
apache-2.0
consulo/consulo-java
java-impl/src/main/java/com/siyeh/ig/memory/StaticCollectionInspection.java
2351
/* * Copyright 2003-2007 Dave Griffith, Bas Leijdekkers * * 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...
apache-2.0
t3t5u/common-android
src/main/java/com/github/t3t5u/common/android/InputStreamInvoker.java
2318
package com.github.t3t5u.common.android; import java.io.InputStream; import java.util.List; import java.util.Map; import android.content.Context; import com.github.t3t5u.common.http.InputStreamConfiguration; import com.github.t3t5u.common.http.InputStreamConfigurationBuilder; import com.github.t3t5u.common.http.Meth...
apache-2.0
nuxleus/closure-compiler
src/com/google/javascript/jscomp/ControlStructureCheck.java
2279
/* * Copyright 2008 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
apache-2.0
pankyopkey/pCloudy-sample-projects
Java/NewAppium_SampleProjects/Chapter2-TestNg+OnParallelDevice(Android)/src/com/pCloudy/testNG/Runner.java
4757
package com.pCloudy.testNG; import java.io.File; import java.io.IOException; import java.net.URL; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import org.apache.commons.io.FileUtils; import org.openqa.selenium.By; import org.openqa.selenium.OutputType; import org.openqa.seleni...
apache-2.0
wentam/DefCol
src/com/wentam/defcol/paletteList/PaletteListAdapter.java
4005
////////////////////////////////////////////////////////////////////////////// // Copyright 2012 Matthew Egeler // // 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...
apache-2.0
werkt/bazel
src/test/java/com/google/devtools/build/lib/starlark/StarlarkAnnotationContractTest.java
3679
// 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...
apache-2.0
Mageswaran1989/aja
src/main/scala/org/aja/dhira/src/main/scala/org/dhira/core/nnet/conf/distribution/GaussianDistribution.java
1309
/* * * * Copyright 2015 Skymind,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 * * ...
apache-2.0
nigel0913/EcustLock
src/com/nigel/ecustlock/MainActivity.java
6684
package com.nigel.ecustlock; import java.io.File; import com.nigel.service.LockService; import com.support.Cfg; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.util.Log; import android.view.Menu; import android.view.View; import android.view.View.OnCl...
apache-2.0
agateau/equiv
app/src/main/java/com/agateau/utils/NTemplate.java
1155
/* Copyright 2015 Aurélien Gâteau 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...
apache-2.0
XillioQA/xill-platform-3.4
xill-api/src/main/java/nl/xillio/xill/api/Issue.java
2506
/** * Copyright (C) 2014 Xillio (support@xillio.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 requir...
apache-2.0
rodionovsasha/ArmstrongNumbers
src/main/java/com/github/rodionovsasha/ArmstrongNumbersAll.java
3651
package com.github.rodionovsasha; import java.math.BigInteger; import java.util.Set; import java.util.TreeSet; import static java.math.BigInteger.ONE; import static java.math.BigInteger.TEN; import static java.math.BigInteger.ZERO; class ArmstrongNumbersAll { private static final int MAX_DIGITS_AMOUNT = 39; // m...
apache-2.0
jdcasey/EMB
api/src/main/java/org/commonjava/emb/conf/mgmt/LoadOnFinish.java
739
/* * Copyright 2010 Red Hat, 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 ...
apache-2.0
lmjacksoniii/hazelcast
hazelcast/src/main/java/com/hazelcast/internal/cluster/impl/Versions.java
881
/* * Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
apache-2.0
thomsonreuters/assertj-swagger
src/main/java/io/github/robwin/swagger/test/SwaggerAssertionConfig.java
3872
package io.github.robwin.swagger.test; import org.apache.commons.lang3.StringUtils; import java.util.*; public class SwaggerAssertionConfig { private static final String PREFIX = "assertj.swagger."; private static final String IGNORE_MISSING_PATHS = "pathsToIgnoreInExpected"; private static final String...
apache-2.0
rlabancz/casa-glass
src/ca/rldesigns/casa/android/glass/model/Place.java
1561
package ca.rldesigns.casa.android.glass.model; /** * This class represents a point of interest that has geographical coordinates (latitude and longitude) and a name that is displayed to the user. */ public class Place { private final int mIcon; private final double mLatitude; private final double mLongitude; pr...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/transform/CreateDataQualityJobDefinitionResultJsonUnmarshaller.java
3040
/* * 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...
apache-2.0
s3phir0th/SameGame
src/View/StatusBar.java
2338
package View; import java.awt.Color; import javax.swing.BorderFactory; import javax.swing.JLabel; import javax.swing.JPanel; import translator.TranslatableGUIElement; public class StatusBar extends JPanel { /** * StatusBar ist ein Panel welches Informationen zum aktuellen Spielstand anzeigt in Labeln * z.B.: ...
apache-2.0
abitofalchemy/sde_technical_interviews
TechnicalInterview/src/projecteuler/prob4.java
2683
package projecteuler; import common.questions.GenericQueue; public class prob4 { /** * A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Find the largest palindrome made from the product of two 3-digit numbers. * ...
apache-2.0
jcommand/jcommand
infrastructure/targetplatform/osgi.3rdParty/jafama/src/net/jafama/FastMath.java
110227
/* * Copyright 2012-2015 Jeff Hain * * 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 ...
apache-2.0
arturgaleno/Android2Java
src/test/java/com/android2java/sparsearraytest/Foo.java
704
package com.android2java.sparsearraytest; import java.lang.ref.WeakReference; import com.android2java.SparseLongObjArray; public class Foo { private static final SparseLongObjArray<WeakReference<String>> DESCRIPTION_POOL = new SparseLongObjArray<>(100000); private int id; public int getId() { return id; }...
apache-2.0
kisskys/incubator-asterixdb
asterixdb/asterix-app/src/main/java/org/apache/asterix/aql/translator/QueryTranslator.java
164187
/* * 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-2.0
xSAVIKx/openweathermap-java-api
api-query/src/main/java/org/openweathermap/api/query/uvi/history/ByGeographicCoordinates.java
1720
/* * Copyright 2021, Yurii Serhiichuk * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
apache-2.0
datanucleus/tests
jdo/rdbms/src/java/org/datanucleus/samples/rdbms/views/FNameView.java
1681
/********************************************************************** Copyright (c) 2015 Andy Jefferson and others. 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://...
apache-2.0
rd-shinetech/quicktest
03-Development/dto/src/main/java/co/shinetech/dto/User.java
1671
/** * */ package co.shinetech.dto; import java.util.Arrays; /** * @author Robin * */ @SuppressWarnings("serial") public class User implements Domain { private final long id; private String login; private char[] password; private Profile profile; public User(long id) { this.id = id; ...
apache-2.0
velvia/filo
schema/flatbuffers/gen-java/org/velvia/filo/vector/NaMask.java
2057
// automatically generated, do not modify package org.velvia.filo.vector; import java.nio.*; import java.lang.*; import java.util.*; import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class NaMask extends Table { public static NaMask getRootAsNaMask(ByteBuffer _bb) { return getRootAsNaMask(_...
apache-2.0
ckclark/leetcode
java/leetcode/best_time_to_buy_and_sell_stock_with_cooldown/Solution.java
555
package leetcode.best_time_to_buy_and_sell_stock_with_cooldown; public class Solution { public int maxProfit(int[] prices) { if(prices.length < 2) return 0; int sell = 0, sold = 0, buy = -prices[0]; for(int price : prices){ int next_sell = price + buy; i...
apache-2.0
PerfCake/PerfClipse
org.perfclipse.core/src/org/perfclipse/core/commands/AddHeaderCommand.java
1203
/* * Perfclispe * * * Copyright (c) 2013 Jakub Knetl * * 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...
apache-2.0
eddumelendez/spring-security
web/src/main/java/org/springframework/security/web/authentication/preauth/j2ee/J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource.java
4758
/* * Copyright 2002-2016 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...
apache-2.0
Haixing-Hu/commons
src/main/java/com/github/haixing_hu/util/buffer/FloatBufferBinarySerializer.java
2512
/* * Copyright (c) 2014 Haixing Hu * * 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 ...
apache-2.0
aerogear/aerogear-crypto-java
src/test/java/org/jboss/aerogear/crypto/AlgorithmTest.java
1176
/** * JBoss, Home of Professional Open Source * Copyright 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/licens...
apache-2.0
OpenVnmrJ/OpenVnmrJ
src/vnmrj/src/vnmr/lc/VPdaPlot.java
4784
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ package vnmr.lc; import vnmr.bo.*; import vnmr.ui.*; import vnmr.util.*; ...
apache-2.0
Hevelian/hevelian-olastic
olastic-core/src/main/java/com/hevelian/olastic/core/api/uri/queryoption/expression/member/impl/BaseMember.java
4792
package com.hevelian.olastic.core.api.uri.queryoption.expression.member.impl; import static com.hevelian.olastic.core.elastic.ElasticConstants.WILDCARD_CHAR; import static com.hevelian.olastic.core.elastic.utils.ElasticUtils.addKeywordIfNeeded; import static com.hevelian.olastic.core.utils.ProcessorUtils.throwNotI...
apache-2.0
syershov/omim
android/src/com/mapswithme/maps/MwmApplication.java
14642
package com.mapswithme.maps; import android.app.Application; import android.content.Context; import android.content.SharedPreferences; import android.content.pm.PackageManager.NameNotFoundException; import android.os.Environment; import android.os.Handler; import android.os.Message; import android.support.annotation.N...
apache-2.0
AaronChanSunny/DoubanMoview
app/src/main/java/com/aaron/doubanmovie/AppComponent.java
406
package com.aaron.doubanmovie; import android.content.Context; import javax.inject.Singleton; import dagger.Component; import me.aaron.dao.api.Api; import me.aaron.dao.api.DaoModule; /** * Created by Chenll on 2016/10/13. */ @Singleton @Component(modules = { AppModule.class, DaoModule.class }) pub...
apache-2.0
Edwin-Ran/es_source_read
src/main/java/org/elasticsearch/search/aggregations/bucket/nested/NestedAggregator.java
10708
/* * 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...
apache-2.0
TamirTian/DaDaSDK
src/main/java/top/inject/dada/model/out/DaDaCity.java
849
package top.inject.dada.model.out; public class DaDaCity { /** * 城市名称 */ private String cityCode; /** * 城市编码 */ private String cityName; public String getCityCode() { return cityCode; } public String getCityName() { return cityName; } public Da...
apache-2.0
akquinet/osgi-deployment-admin
maven-dp-plugin-it/src/test/java/de/akquinet/gomobile/deployment/tests/BadProcessorTest.java
1592
package de.akquinet.gomobile.deployment.tests; import java.io.File; import java.io.IOException; import org.apache.maven.it.VerificationException; import org.apache.maven.it.Verifier; import org.junit.Before; import org.junit.Test; public class BadProcessorTest { File testDir = new File("src/test/resources/bad-p...
apache-2.0
salviof/SuperBits_FrameWork
SB_FRAMEWORK/SBWebPaginasSemTagLib/src/main/java/com/super_bits/modulosSB/webPaginas/JSFManagedBeans/formularios/interfaces/ItfB_Pagina.java
8154
/* * Super-Bits.com CODE CNPJ 20.019.971/0001-90 */ package com.super_bits.modulosSB.webPaginas.JSFManagedBeans.formularios.interfaces; import com.super_bits.modulosSB.SBCore.modulos.Controller.Interfaces.ItfParametroRequisicao; import com.super_bits.modulosSB.SBCore.modulos.Controller.Interfaces.ItfParametroRequi...
apache-2.0
aleksandrTmk/TaskList
app/src/main/java/com/list/task/activity/BaseActivity.java
5681
package com.list.task.activity; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.list.task.model.UserItem; import com.list.task.util.Blog; import com.list.task.util.Constants; import com.list.ta...
apache-2.0
mvs5465/jpo-ode
jpo-ode-plugins/src/test/java/us/dot/its/jpo/ode/plugin/j2735/oss/OssObstacleDetectionTest.java
22584
package us.dot.its.jpo.ode.plugin.j2735.oss; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.util.Map; import org.junit.Before; import org.junit.Test; import us.dot.its.jpo.ode.j2735....
apache-2.0
tomkren/pikater
test/org/pikater/core/experiments/SearchOnly.java
2676
package org.pikater.core.experiments; import org.pikater.core.agents.experiment.computing.Agent_WekaRBFNetworkCA; import org.pikater.core.ontology.subtrees.batchdescription.*; import org.pikater.core.ontology.subtrees.batchdescription.evaluationmethod.CrossValidation; import org.pikater.core.ontology.subtrees.newopti...
apache-2.0
Panda-Programming-Language/Panda
panda-framework/src/test/java/org/panda_lang/panda/framework/language/interpreter/token/distributors/MatchableDistributorTest.java
1632
/* * Copyright (c) 2015-2019 Dzikoysk * * 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...
apache-2.0
project-zerus/cassandra
src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java
4661
/* * 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-2.0
krasserm/ipf
commons/ihe/xds/src/main/java/org/openehealth/ipf/commons/ihe/xds/iti62/Iti62ServerAuditStrategy.java
2254
/* * Copyright 2013 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...
apache-2.0
Bodo1981/appkit
sample-viewstate/src/main/java/com/christianbahl/appkit/sampleviewstate/fragment_recyclerview/FragmentActivityRecyclerView.java
651
package com.christianbahl.appkit.sampleviewstate.fragment_recyclerview; import android.content.Context; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v4.app.Fragment; import com.christianbahl.appkit.core.activity.CBActivityFragment; /** * @author Christian Bahl */ ...
apache-2.0
ptdunlap/cormac
webapp/src/main/java/org/bananaforscale/cormac/resource/DatabaseResource.java
5039
/* * Copyright 2015 bananaforscale.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
apache-2.0
lucjasniegota/java_pft
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/GroupCreationTests.java
3428
package ru.stqa.pft.addressbook.tests; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import com.thoughtworks.xstream.XStream; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import ru.stqa.pft.addressbook...
apache-2.0
AsuraTeam/asura
asura-sms/src/main/java/com/asrua/framework/sms/send/SmsSendWorker.java
3591
/** * @FileName: SmsSendWorker.java * @Package: com.asrua.framework.sms.send * @author sence * @created 10/10/2015 9:22 PM * <p/> * Copyright 2015 ziroom */ package com.asrua.framework.sms.send; import com.asrua.framework.sms.conf.AbstractSmsSenderConfig; import com.asrua.framework.sms.log.ISmsLogger; import co...
apache-2.0
playaround88/sizzler
src/main/java/com/ai/sizzler/scan/redis/RedisImporter.java
1747
package com.ai.sizzler.scan.redis; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.ai.sizzler.commons.JsonUtil; import com.ai.sizzler.scan.component.AbstractImporter; import redis.clients.jedis.Jedis; import redi...
apache-2.0
sflpro/ms_payment
services/services_core/src/main/java/com/sfl/pms/services/payment/customer/method/adyen/CustomerPaymentMethodAdyenInformationService.java
1638
package com.sfl.pms.services.payment.customer.method.adyen; import com.sfl.pms.services.payment.customer.method.AbstractCustomerPaymentMethodProviderInformationService; import com.sfl.pms.services.payment.customer.method.model.adyen.CustomerPaymentMethodAdyenInformation; import javax.annotation.Nonnull; /** * User:...
apache-2.0