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
package cgeo.geocaching.log; import static org.assertj.core.api.Java6Assertions.assertThat; import cgeo.geocaching.enumerations.CacheSize; import cgeo.geocaching.log.LogTemplateProvider.LogContext; import cgeo.geocaching.models.Geocache; import cgeo.geocaching.settings.Settings; import cgeo.geocaching.settings.TestSe...
Bananeweizen/cgeo
tests/src-android/cgeo/geocaching/log/LogTemplateProviderTest.java
Java
apache-2.0
3,772
/* * Copyright 2015 Frank. * * 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 w...
frank29259/java
Object/DataStProject/src/me/parinya/Image/main.java
Java
apache-2.0
6,614
package org.gradle.test.performance.mediummonolithicjavaproject.p53; public class Production1075 { private Production1066 property0; public Production1066 getProperty0() { return property0; } public void setProperty0(Production1066 value) { property0 = value; } priva...
oehme/analysing-gradle-performance
my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p53/Production1075.java
Java
apache-2.0
1,962
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
RobAltena/deeplearning4j
nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/imports/descriptors/tensorflow/TensorflowDescriptorParser.java
Java
apache-2.0
2,594
/* * 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...
gbif/parsers
src/main/java/org/gbif/common/parsers/date/TemporalAccessorUtils.java
Java
apache-2.0
9,566
package com.gooddies.texteditors.validation; /** * @author Dmitry */ public class LengthValidator extends AbstractValidator{ private int length; public LengthValidator(int maxLength, String message){ length=maxLength; setErrorMessage(message); } public int getLength()...
Otaka/mydifferentprojects
Gooddies/src/com/gooddies/texteditors/validation/LengthValidator.java
Java
apache-2.0
591
package de.bitgrip.ficum.node; import java.util.Calendar; import java.util.Date; import java.util.Iterator; import org.joda.time.DateTime; import org.joda.time.DateTimeZone; import org.joda.time.LocalDate; import org.joda.time.ReadableInstant; import org.joda.time.ReadablePartial; import org.joda.time.format.ISODateT...
hschott/ficum
ficum-node/src/main/java/de/bitgrip/ficum/node/QueryPrinterVisitor.java
Java
apache-2.0
4,290
/* * Copyright 2017 Spry Rocks, 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 appli...
SpryRocks/AndroidModules
android.modules.ui.mvvm/src/main/java/com/spryrocks/android/modules/ui/mvvm/DialogFragment.java
Java
apache-2.0
2,844
/* * Copyright 2016 Ted xiong-wei@hotmail.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...
aheadlcx/Inputer
app/src/main/java/com/android/ted/inputer/model/GlobalCache.java
Java
apache-2.0
1,745
/*___Generated_by_IDEA___*/ package com.ted.mvpdemo; /* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */ public final class Manifest { }
xiongwei-git/MVPModelDemo
gen/com/ted/mvpdemo/Manifest.java
Java
apache-2.0
185
package com.github.kislayverma.rulette.core.ruleinput.value; public interface IInputValueBuilder<T> { IInputValue<T> build(String value); }
kislayverma/Rulette
rulette-core/src/main/java/com/github/kislayverma/rulette/core/ruleinput/value/IInputValueBuilder.java
Java
apache-2.0
145
package org.glamey.scaffold.component.store.qiniu; import com.qiniu.common.QiniuException; import com.qiniu.http.Response; import com.qiniu.storage.UploadManager; import com.qiniu.util.Auth; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.util.Assert; import static org.apache.commo...
glameyzhou/scaffold
scaffold-component/src/main/java/org/glamey/scaffold/component/store/qiniu/QiNiuRestAPI.java
Java
apache-2.0
3,600
package org.wlf.filedownloader.file_download; import android.text.TextUtils; import org.wlf.filedownloader.DownloadConfiguration; import org.wlf.filedownloader.DownloadConfiguration.Builder; import org.wlf.filedownloader.DownloadFileInfo; import org.wlf.filedownloader.DownloadStatusConfiguration; import org.wlf.filed...
wlfcolin/file-downloader
FileDownloader/src/main/java/org/wlf/filedownloader/file_download/DownloadTaskManager.java
Java
apache-2.0
41,722
package com.unipad.singlebrain.number.dao; /** * Created by gongkan on 2016/7/18. */ public class QuickRandomNumService extends NumService { /** * 1、完全写满并正确的一行得 40 分。 * 2、完全写满但有一个错处(或漏空)的一行得 20 分。 * 3、完全写满但超过两个及以上错处(或漏空)的一行得 0 分。 * 4、空白行数不会扣分。 * 5、对于最后一行:如最后的一行没有完成(例:只有写上 29 个 数字),且所有数字...
qiuzichi/SingleMadBrain
app/src/main/java/com/unipad/singlebrain/number/dao/QuickRandomNumService.java
Java
apache-2.0
1,433
package com.benberi.cadesim.server.model.player; import com.benberi.cadesim.server.codec.packet.IncomingPacket; import com.benberi.cadesim.server.codec.packet.out.OutgoingPacket; import com.benberi.cadesim.server.config.Constants; import com.benberi.cadesim.server.model.cade.BlockadeTimeMachine; import com.benberi.cad...
BenBeri/Obsidio-Server
src/com/benberi/cadesim/server/model/player/PlayerPacketManager.java
Java
apache-2.0
8,754
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
googleapis/java-dialogflow-cx
google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/EntityTypesStub.java
Java
apache-2.0
2,929
/* * 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 ...
googleinterns/calcite
core/src/main/java/org/apache/calcite/rel/convert/ConverterRule.java
Java
apache-2.0
5,503
// Copyright 2017 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...
variac/bazel
src/test/java/com/google/devtools/build/lib/rules/objc/LegacyObjcBinaryTest.java
Java
apache-2.0
4,541
/** * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.weixin.dao; import com.thinkgem.jeesite.common.persistence.CrudDao; import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; import com.thinkgem.jeesite...
aatsi112/jtyd
src/main/java/com/thinkgem/jeesite/modules/weixin/dao/JtydWeiboUserDao.java
Java
apache-2.0
506
/** * */ package org.ananth.waroftitans.analyser; import java.util.List; import org.junit.Test; import edu.stanford.nlp.ling.CoreAnnotations; import edu.stanford.nlp.ling.CoreLabel; /** * @author Ananth * */ public class EntityClassifierTest { @Test public void testCommonLetters() { ...
vananth22/waroftitans
src/test/java/org/ananth/waroftitans/analyser/EntityClassifierTest.java
Java
apache-2.0
1,307
package com.mine.spring.tools; import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.FileSystemResource; import org.springframework.core.io.Resource; import org.springframework.core.io.support.PropertiesLoaderUtils; import org.springframework.util.FileCopyUtils; import org.springfram...
luoyedaren/show-me-the-code
showmecode/src/main/java/com/mine/spring/tools/ResourceTool.java
Java
apache-2.0
5,307
/* * 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 ...
arenadata/ambari
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UpgradeEntity.java
Java
apache-2.0
16,652
/******************************************************************************* * Copyright 2012 - Joakim Erdfelt * * 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 * * ...
joakime/android-sdkfido
sdkfido/src/main/java/net/erdfelt/android/sdkfido/project/maven/MavenMultiParentGen.java
Java
apache-2.0
2,633
package com.nowellpoint.listener.model; import org.bson.codecs.pojo.annotations.BsonCreator; import org.bson.codecs.pojo.annotations.BsonProperty; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Builder; @Builder @Getter @NoArgsConstructor public class Address { private String street; private ...
nowellpoint/nowellpoint-integration-platform-parent
nowellpoint-streaming-event-listener/src/main/java/com/nowellpoint/listener/model/Address.java
Java
apache-2.0
1,315
package com.ericsson.ei.subscriptions.bulk; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; import org.junit.runner.RunWith; @RunWith(Cucumber.class) @CucumberOptions(features = "src/functionaltests/resources/features/subscriptionBulk.feature", glue = { "com.ericsson.ei.subscriptions....
evasiba-ericsson/eiffel-intelligence
src/functionaltests/java/com/ericsson/ei/subscriptions/bulk/TestSubscriptionBulkRunner.java
Java
apache-2.0
471
package com.oneliang.test.plugin; import com.oneliang.frame.plugin.Plugin; import com.oneliang.frame.plugin.PluginAsyncHttpDownloader; import com.oneliang.frame.plugin.PluginBean; import com.oneliang.frame.plugin.PluginDownloader; import com.oneliang.frame.plugin.PluginFileBean; import com.oneliang.frame.plugin.Plugin...
oneliang/frame-common-java
src/test/java/com/oneliang/test/plugin/TestPlugin.java
Java
apache-2.0
3,146
package org.spanna.util; import java.nio.channels.FileChannel; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; /** * Class containing file utilities */ public class FileUtil { /** * This method copies one file to another location * ...
SpannaProject/SpannaAPI
src/main/java/org/spanna/util/FileUtil.java
Java
apache-2.0
1,338
package com.bsu.sed.controller; import com.bsu.sed.model.ContentKey; import com.bsu.sed.model.Role; import com.bsu.sed.model.SortOrder; import com.bsu.sed.model.Tiles; import com.bsu.sed.model.dto.ContentDto; import com.bsu.sed.model.persistent.Primary; import com.bsu.sed.service.ContentService; import com.bs...
GlebBondarchuk/SED
sed/sed-web/src/main/java/com/bsu/sed/controller/ContentController.java
Java
apache-2.0
5,244
/* * 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...
dump247/aws-sdk-java
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/transform/SignerStaxUnmarshaller.java
Java
apache-2.0
2,593
package com.olamic.androidtest; import com.olamic.androidtest.sound.RecordAudio; import android.media.AudioFormat; import android.os.Bundle; import android.app.Activity; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.TextView; publi...
MetaTame/AndroidTest
src/com/olamic/androidtest/ShotMeter.java
Java
apache-2.0
1,245
/* * Copyright 2000-2014 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...
vovagrechka/fucking-everything
phizdets/phizdets-idea/src/vgrechka/phizdetsidea/phizdets/sdk/PhizdetsEnvUtil.java
Java
apache-2.0
4,329
package org.gradle.test.performance.mediummonolithicjavaproject.p292; public class Production5858 { private String property0; public String getProperty0() { return property0; } public void setProperty0(String value) { property0 = value; } private String property1; ...
oehme/analysing-gradle-performance
my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p292/Production5858.java
Java
apache-2.0
1,891
package com.twu.biblioteca; import com.twu.biblioteca.menu.MenuDispatcher; public abstract class User { private String name; private String email; private String phone; private String libraryNumber; private String password; public User() { } public User(String name, String email, Str...
muralikrishna8/twu-biblioteca-muralikrishna
src/com/twu/biblioteca/User.java
Java
apache-2.0
924
/** * */ package com.gbicc.bll.sys.service; import java.util.List; import javax.servlet.http.HttpServletRequest; import com.gbicc.bll.PaginateInfo; import com.gbicc.bll.sys.bean.SysLog; /** * @author ytr * */ public interface SysLogService { /** * 操作日志查询 * @param objType:对象类型 * @param objId:对象类型 * @...
748251120/bainian_audit01
audit3/src/java/com/gbicc/bll/sys/service/SysLogService.java
Java
apache-2.0
1,618
/* * 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 ...
ManfredTremmel/gwt-commons-lang3
src/test/java/org/apache/commons/lang3/StringUtilsTest.java
Java
apache-2.0
158,820
/** * Jooby https://jooby.io * Apache License Version 2.0 https://jooby.io/LICENSE.txt * Copyright 2014 Edgar Espina */ package io.jooby.internal.netty; import io.netty.handler.codec.compression.ZlibCodecFactory; import io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler; import io.ne...
jooby-project/jooby
modules/jooby-netty/src/main/java/io/jooby/internal/netty/NettyWebSocketCompressor.java
Java
apache-2.0
1,002
/* * Copyright 2019 Wultra 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 agreed to in...
lime-company/lime-security-powerauth-webauth
powerauth-nextstep-model/src/main/java/io/getlime/security/powerauth/lib/nextstep/model/request/GetOrganizationListRequest.java
Java
apache-2.0
816
/* Copyright 2010 Radu Cernuta 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, softw...
TheProjecter/serene
src/serene/validation/handlers/content/impl/ValidatorEventHandlerPool.java
Java
apache-2.0
75,976
/* * Copyright (c) 2011 Original 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 a...
sharneng/gm4java
src/main/java/org/gm4java/engine/support/Constants.java
Java
apache-2.0
980
/* 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...
wellisonraul/ProjetoDoutorado
Activiti-master/modules/activiti-ui/activiti-app-rest/src/main/java/org/activiti/app/rest/editor/AbstractModelHistoryResource.java
Java
apache-2.0
2,738
package ua.edu.cdu.fotius.lisun.musicplayer.listeners; import android.app.DialogFragment; import android.util.Log; import android.view.View; public class OnDialogNegativeClick implements View.OnClickListener{ private DialogFragment mDialogFragment; public OnDialogNegativeClick(DialogFragment fragment) { ...
jydimir/Music-Player
app/src/main/java/ua/edu/cdu/fotius/lisun/musicplayer/listeners/OnDialogNegativeClick.java
Java
apache-2.0
450
package tscfg.example; public class JavaIssue62bCfg { public final JavaIssue62bCfg.Foo foo; public enum FruitType { apple, banana, pineapple; } public static class Foo { public final FruitType fruit; public final Foo.Other other; public final java.util.List<FruitType> someFruits; pu...
carueda/tscfg
src/test/java/tscfg/example/JavaIssue62bCfg.java
Java
apache-2.0
2,634
package org.edx.mobile.base; import android.content.DialogInterface; import android.content.Intent; import android.content.res.Configuration; import android.os.Build; import android.os.Bundle; import android.os.Handler; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.google.android....
edx/edx-app-android
OpenEdXMobile/src/main/java/org/edx/mobile/base/BaseFragmentActivity.java
Java
apache-2.0
14,000
package com.guojianyiliao.eryitianshi.MyUtils.view.activity; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget....
zmc969213509/eyts
app/src/main/java/com/guojianyiliao/eryitianshi/MyUtils/view/activity/MycollectActivity.java
Java
apache-2.0
7,023
package com.odoo.work; import android.app.ProgressDialog; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.Snackbar; import android.view.View; import android.widget.EditText; import com.odoo.config.AppConfig; import com.odoo.core.rpc.Odoo; import com.odoo.core...
odoo-mobile-intern/odoo-work
app/src/main/java/com/odoo/work/SignUpActivity.java
Java
apache-2.0
4,212
package org.firepick.firebom.part; /* ShapewaysPart.java Copyright (C) 2013 Karl Lew <karl@firepick.org>. 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 ht...
firepick1/FireBOM
src/main/java/org/firepick/firebom/part/ShapewaysPart.java
Java
apache-2.0
1,742
package de.solidsearch.bot.restservices; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.ste...
bonprix/solidsearch-bot
src/main/java/de/solidsearch/bot/restservices/ExternalLinkService.java
Java
apache-2.0
1,866
package com.box.boxjavalibv2.interfaces; import java.io.IOException; /** * Interface definition for a callback to be invoked when file transfer is happening. */ public interface IFileTransferListener { /** * Called when the file has been transferred. Refer to <a * href="http://developers.box.net/w/pa...
ElectroJunkie/box-java-sdk-v2-master
BoxJavaLibraryV2/src/com/box/boxjavalibv2/interfaces/IFileTransferListener.java
Java
apache-2.0
1,200
package com.mike.feed.domain.repository; import com.mike.feed.domain.Deleted; import com.mike.feed.domain.Feed; import com.mike.feed.domain.FeedChangedInfo; import com.mike.feed.domain.Written; import rx.Observable; /** * Created by MinhNguyen on 8/24/16. */ public interface FeedRepository { public Observable...
roscrazy/Android-RealtimeUpdate-CleanArchitecture
domain/src/main/java/com/mike/feed/domain/repository/FeedRepository.java
Java
apache-2.0
479
/** * Copyright 2014 Ricardo Padilha * * 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...
ricardopadilha/dsys-snio
src/main/java/net/dsys/snio/api/pool/SelectorPool.java
Java
apache-2.0
973
/* * 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...
brendandouglas/intellij
base/src/com/google/idea/blaze/base/sync/BlazeSyncTask.java
Java
apache-2.0
39,450
package org.gdl2.terminology; import lombok.Value; import org.gdl2.datatypes.CodePhrase; import java.util.List; @Value public final class Binding { private String id; private List<CodePhrase> codes; private String uri; }
gdl-lang/gdl2
src/main/java/org/gdl2/terminology/Binding.java
Java
apache-2.0
235
package de.paluch.midi.relay.relay; /** * @author <a href="mailto:mpaluch@paluch.biz">Mark Paluch</a> * @since 30.11.13 19:17 */ public interface RoutingRelayReceiver { void on(String note); void off(String note); }
mp911de/midi-relay
src/main/java/de/paluch/midi/relay/relay/RoutingRelayReceiver.java
Java
apache-2.0
230
/* * 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 ...
ecarm002/incubator-asterixdb
asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/library/java/base/JDuration.java
Java
apache-2.0
2,219
/* __ __ __ __ __ ___ * \ \ / / \ \ / / __/ * \ \/ / /\ \ \/ / / * \____/__/ \__\____/__/.ɪᴏ * ᶜᵒᵖʸʳᶦᵍʰᵗ ᵇʸ ᵛᵃᵛʳ ⁻ ˡᶦᶜᵉⁿˢᵉᵈ ᵘⁿᵈᵉʳ ᵗʰᵉ ᵃᵖᵃᶜʰᵉ ˡᶦᶜᵉⁿˢᵉ ᵛᵉʳˢᶦᵒⁿ ᵗʷᵒ ᵈᵒᵗ ᶻᵉʳᵒ */ package io.vavr.collect...
dx-pbuckley/vavr
vavr/src/main/java/io/vavr/collection/Map.java
Java
apache-2.0
27,982
package com.gaojun.appmarket.utils; import android.util.Log; public class LogUtils { /** 日志输出级别NONE */ public static final int LEVEL_NONE = 0; /** 日志输出级别E */ public static final int LEVEL_ERROR =1; /** 日志输出级别W */ public static final int LEVEL_WARN = 2; /** 日志输出级别I */ public static final int LEVEL_INFO = 3; /...
GaoJunLoveHL/AppMaker
market/src/main/java/com/gaojun/appmarket/utils/LogUtils.java
Java
apache-2.0
2,071
/** * Copyright 2015-2016 Red Hat, Inc, and individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
heiko-braun/wildfly-swarm
jaxrs/api/src/main/java/org/wildfly/swarm/jaxrs/FaviconHandler.java
Java
apache-2.0
1,717
package apple.scenekit; import java.io.*; import java.nio.*; import java.util.*; import com.google.j2objc.annotations.*; import com.google.j2objc.runtime.*; import com.google.j2objc.runtime.block.*; import apple.audiotoolbox.*; import apple.corefoundation.*; import apple.coregraphics.*; import apple.coreservices.*; i...
Sellegit/j2objc
runtime/src/main/java/apple/scenekit/SCNHitTestResult.java
Java
apache-2.0
1,491
/* * 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...
dushmis/buck
test/com/facebook/buck/cli/BuildCommandTest.java
Java
apache-2.0
4,447
/* * 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-cloudtasks/v2/1.29.2/com/google/api/services/cloudtasks/v2/CloudTasks.java
Java
apache-2.0
145,196
// Generated by ast.js /** * Copyright 2018 Shape Security, 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 require...
shapesecurity/shift-java
generated-sources/main/java/com/shapesecurity/shift/es2018/ast/ArrowExpression.java
Java
apache-2.0
1,953
package com.example.jianhua.criminalintent; import android.content.Context; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONTokener; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamRea...
IsnowGo/Memo
app/src/main/java/com/example/jianhua/criminalintent/CriminalIntentJSONSerializer.java
Java
apache-2.0
2,177
package edu.mayo.phenoportal.client.upload; import com.smartgwt.client.types.Alignment; import com.smartgwt.client.widgets.layout.HLayout; public class UploadContainer extends HLayout { protected static final String TAB_BACKGROUND_COLOR = "#f4f4fa"; private UploadPanel i_uploadPanel; public UploadConta...
SHARP-HTP/phenotype-portal
src/edu/mayo/phenoportal/client/upload/UploadContainer.java
Java
apache-2.0
1,534
/* * Copyright 2011 Chad Retz * * 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...
cretz/sbn-stat
test/org/cretz/sbnstat/scrape/PostLoaderTest.java
Java
apache-2.0
10,722
package org.gridkit.jvmtool.stacktrace.analytics; import org.gridkit.jvmtool.stacktrace.ThreadSnapshot; class PeriodCHMAggregatorFactory implements ThreadDumpAggregator, ThreadDumpAggregatorFactory { @Override public ThreadDumpAggregator newInstance() { return new PeriodCHMAggregatorFactory(); } ...
aragozin/jvm-tools
sjk-stacktrace/src/main/java/org/gridkit/jvmtool/stacktrace/analytics/PeriodCHMAggregatorFactory.java
Java
apache-2.0
976
package org.beigesoft.uml.service.graphic; import org.beigesoft.graphic.service.ISrvDraw; import org.beigesoft.graphic.model.ISettingsDraw; import org.beigesoft.graphic.pojo.Point2D; import org.beigesoft.graphic.service.UtilsGraphMath; import org.beigesoft.uml.app.model.SettingsGraphicUml; import org.beigesoft.uml.poj...
demidenko05/beige-uml
beige-uml-base/src/main/java/org/beigesoft/uml/service/graphic/SrvGraphicComment.java
Java
apache-2.0
5,626
package com.example.becomebeacon.beaconlocker; /** * Created by 함상혁입니다 on 2017-04-26. */ import android.app.Application; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import com.estimote.sdk....
BecomeBeacon/BeaconLocker
app/src/main/java/com/example/becomebeacon/beaconlocker/MyApplication.java
Java
apache-2.0
3,326
package org.hibernate.test.generatedkeys.select; import org.hibernate.test.DatabaseSpecificTestCase; import org.hibernate.Session; import org.hibernate.cfg.Configuration; import org.hibernate.dialect.Oracle9Dialect; import org.hibernate.dialect.Dialect; import org.hibernate.dialect.DataDirectOracle9Dialect; import jun...
renmeng8875/projects
Hibernate-source/源代码及重要说明/Hibernate相关资料/hibernate-3.2.0.ga/hibernate-3.2/test/org/hibernate/test/generatedkeys/select/SelectGeneratorTest.java
Java
apache-2.0
1,641
/** * This class is generated by jOOQ */ package com.incomb.server.model.tables; /** * This class is generated by jOOQ. */ @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PermissionTable extends org.jooq.impl.TableImpl<com.incomb.server.model.records.PermissionRecord> { private stati...
XMBomb/InComb
src/main/java/com/incomb/server/model/tables/PermissionTable.java
Java
apache-2.0
2,992
package com.sfl.pms.api.internal.client.rest.common; import javax.ws.rs.client.Client; /** * User: Ruben Dilanyan * Company: SFL LLC * Date: 7/19/15 * Time: 11:33 AM */ public class AbstractResourceClient { /* Properties */ private String apiPath; private Client client; /* Constructors */ ...
sflpro/ms_payment
api/api_internal/api_internal_client/src/main/java/com/sfl/pms/api/internal/client/rest/common/AbstractResourceClient.java
Java
apache-2.0
853
package j2html.tags.specialized; import j2html.tags.EmptyTag; import j2html.tags.attributes.ISpan; public final class ColTag extends EmptyTag<ColTag> implements ISpan<ColTag> { public ColTag() { super("col"); } }
tipsy/j2html
library/src/main/java/j2html/tags/specialized/ColTag.java
Java
apache-2.0
235
/** * View Models used by Spring MVC REST controllers. */ package univers.torri.fr.web.rest.vm;
PegazusFR/traveler-web-site
src/main/java/univers/torri/fr/web/rest/vm/package-info.java
Java
apache-2.0
98
/** * * 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 ...
robertcsakany/travistest
org.liveSense.karaf/assemblies/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/AbstractFeatureMojo.java
Java
apache-2.0
8,833
/* * 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-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/transform/UpdateUserPoolRequestMarshaller.java
Java
apache-2.0
7,815
/** * Licensed to Cloudera, Inc. under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Cloudera, Inc. licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use th...
hammer/flume
src/javatest/com/cloudera/flume/reporter/server/TestReportServer.java
Java
apache-2.0
4,266
/* * Copyright 2014-2015 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...
dbflute/dbflute-howto
src/main/java/org/docksidestage/howto/dbflute/cbean/cq/MemberAddressCQ.java
Java
apache-2.0
2,315
package cn.bubi.blockchain.adapter; import java.net.URI; import java.nio.ByteBuffer; import java.util.Timer; import java.util.TimerTask; import java.util.Vector; import java.util.concurrent.LinkedBlockingQueue; import org.java_websocket.WebSocket; import org.java_websocket.WebSocketImpl; import org.java_websocket.cli...
bubichain/blockchain
src/sdk/src/cn/bubi/blockchain/adapter/BlockChainAdapter.java
Java
apache-2.0
10,469
package me.isming.sticker.library; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.RectF; import android.support.a...
treason258/TreLibrary
StickerView/stickerviewLib/src/main/java/me/isming/sticker/library/StickerView.java
Java
apache-2.0
14,217
/* * <!-- * ~ Copyright 2015-2017 OpenCB * ~ * ~ 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...
j-coll/biodata
biodata-tools/src/main/java/org/opencb/biodata/tools/commons/ChunkFrequencyManager.java
Java
apache-2.0
20,675
package com.frame.huxh.mvpdemo.utils; import android.content.Context; import android.content.res.AssetManager; import android.os.Environment; import android.os.storage.StorageManager; import android.text.TextUtils; import android.util.Log; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import...
AnnyBaby/huxhFrame
mvpDemo/app/src/main/java/com/frame/huxh/mvpdemo/utils/FileUtils.java
Java
apache-2.0
19,925
package nl.mawoo.smokesignal.protocol.models; /** * {message} * * @author Bob van der Valk */ public class PeerRemote { private String ip; private int port; public PeerRemote(String ip, int port) { this.ip = ip; this.port = port; } public String getIp() { return ip; ...
bobvdvalk/smokesignal
src/main/java/nl/mawoo/smokesignal/protocol/models/PeerRemote.java
Java
apache-2.0
381
package com.sector91.wit.html; /*>>> import checkers.nullness.quals.Nullable;*/ public final class VideoEl extends ContainerEl<VideoEl> { VideoEl(/*@Nullable*/ Attr attrList, Node[] nodes) { super(attrList, nodes); } @Override public String name() { return "video"; } @Override VideoEl chain(Att...
ar-nelson/wit
src/main/java/com/sector91/wit/html/VideoEl.java
Java
apache-2.0
1,430
package org.ovirt.engine.core.common.businessentities; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) public @interface EditableOnVmStatusFie...
halober/ovirt-engine
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/EditableOnVmStatusField.java
Java
apache-2.0
382
/** * */ package weixin.popular.bean.shakearound.device.applystatus; import com.alibaba.fastjson.annotation.JSONField; /** * 微信摇一摇周边-设备管理-查询设备ID申请审核状态-响应参数-审核状态信息 * @author Moyq5 * @date 2016年7月26日 */ public class DeviceApplyStatusResultData { /** * 提交申请的时间戳 */ @JSONField(name = "apply_time") private L...
liyiorg/weixin-popular
src/main/java/weixin/popular/bean/shakearound/device/applystatus/DeviceApplyStatusResultData.java
Java
apache-2.0
2,809
/** * * Copyright 2013 Wei Xiao * * 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...
cliffroot/2ways-gdg
src/com/paradiseoctopus/happysquirrel/InfiniteScrollActivity.java
Java
apache-2.0
11,482
package ch.wellernet.hometv.master.api.model; import java.util.List; import org.restlet.util.WrapperList; public class ChannelList extends WrapperList<Channel> { public ChannelList() { super(); } public ChannelList(int initialCapacity) { super(initialCapacity); } ...
lweller/hometv
hometv-master/hometv-master-api/src/main/java/ch/wellernet/hometv/master/api/model/ChannelList.java
Java
apache-2.0
402
package com.lee.java.io; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.nio.channels.Pipe; import java.nio.c...
noobyang/AndroidStudy
java/src/main/java/com/lee/java/io/TestNIO.java
Java
apache-2.0
10,433
package org.bk.dieter.role; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.Getter; import lombok.Setter; import org.bk.dieter.user.Customer; import org.springframework.security.core.GrantedAuthority; import javax.persistence.*; import java.util.HashSet; import java.util.Set; /** * Created by Bart...
kserio/DieterBackend
DieterBackend/src/main/java/org/bk/dieter/role/Role.java
Java
apache-2.0
1,187
package org.jbpm.process.audit.strategy; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.transaction.Status; import javax.transaction.UserTransaction; import org.jbpm.process.audit.JPAWorkingMe...
hxf0801/jbpm
jbpm-audit/src/main/java/org/jbpm/process/audit/strategy/StandaloneJtaStrategy.java
Java
apache-2.0
4,334
package com.myunihome.myxapp.paas.uniconfig.zookeeper; import org.apache.zookeeper.WatchedEvent; import org.apache.zookeeper.Watcher.Event.EventType; import org.apache.zookeeper.Watcher.Event.KeeperState; /** * 配置监视事件 * * Date: 2015年10月1日 <br> * Copyright (c) 2015 guchuanlong@126.com <br> * @author gu...
guchuanlong/MyXApp
myxapp-sdk/src/main/java/com/myunihome/myxapp/paas/uniconfig/zookeeper/ConfigWatcherEvent.java
Java
apache-2.0
1,585
/* * Copyright 2000-2016 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...
consulo/consulo-apache-subversion
src/main/java/org/jetbrains/idea/svn/dialogs/browser/DeleteOptionsDialog.java
Java
apache-2.0
3,641
package com.thinkgem.jeesite.modules.stock.util; import com.sun.tools.javac.util.List; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; /** * Created by zhongyi on 2017/8/31 0031. */ public class Test { public static void main(String[] args) { Collections.sort(new...
zhongyiares/stockPolicy
src/main/java/com/thinkgem/jeesite/modules/stock/util/Test.java
Java
apache-2.0
522
/* * Copyright (C) 2016 eschao <esc.chao@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 applica...
eschao/android-PageFlip
Sample/src/main/java/com/eschao/android/widget/sample/pageflip/LoadBitmapTask.java
Java
apache-2.0
7,576
package com.github.bechtelcandoit.speedyesb.wizards; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.Path; import org.eclipse.jface.viewers.ISelection; import org.eclipse.jface.viewers.IStructu...
BechtelCanDoIt/SpeedyESB
SpeedyESB/src/com/github/bechtelcandoit/speedyesb/wizards/SpeedyESBWizardPage.java
Java
apache-2.0
5,367
/* * Copyright 2015-present Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
y-higuchi/onos
core/api/src/main/java/org/onosproject/net/group/GroupStore.java
Java
apache-2.0
5,531
package com.flozano.metrics; import java.time.Clock; import java.util.Optional; import java.util.function.Function; import com.flozano.metrics.client.MetricsClient; import com.flozano.metrics.client.NoOpMetricsClient; final class MetricsBuilderImpl implements MetricsBuilder { private static final Clock DEFAULT_CLO...
flozano/statsd-netty
metrics-core/src/main/java/com/flozano/metrics/MetricsBuilderImpl.java
Java
apache-2.0
1,653
/** * * 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"); ...
gustavoanatoly/hbase
hbase-server/src/main/java/org/apache/hadoop/hbase/coordination/ZkSplitLogWorkerCoordination.java
Java
apache-2.0
24,252
package water.fvec; import org.junit.BeforeClass; import org.junit.Test; import water.MRTask; import water.Scope; import water.TestUtil; import water.util.Log; import water.util.PrettyPrint; import static org.junit.Assert.assertTrue; /*** * This test is written to measure the speed with which NewChunks are written ...
h2oai/h2o-dev
h2o-core/src/test/java/water/fvec/NewChunkSpeedTest.java
Java
apache-2.0
11,872
// Copyright 2018 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/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201809/cm/BatchJobOpsServiceInterfacemutate.java
Java
apache-2.0
2,557
package GeoNames.disambiguation; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.net.HttpURLConnection; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Map.Entry; import java.io.BufferedReader; import java.io.FileRe...
munshinasir/ToponymDisambiguation
src/main/java/GeoNames/disambiguation/Basic.java
Java
apache-2.0
9,375