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 2015 Craig Thomas * * 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 ...
craigthomas/NLMT
src/main/java/nlmt/topicmodels/HierarchicalLDAModel.java
Java
apache-2.0
31,342
package com.ewolff.microservice.catalog; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.context.web.SpringBootServletInitializer; public class CatalogServletInitializer extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder con...
ewolff/war-demo
war-demo/war-demo-catalog/src/main/java/com/ewolff/microservice/catalog/CatalogServletInitializer.java
Java
apache-2.0
432
package org.openid4java.consumer; import java.util.Date; import java.util.logging.Logger; import com.google.appengine.api.memcache.Expiration; import com.google.appengine.api.memcache.MemcacheService; import com.google.appengine.api.memcache.MemcacheServiceFactory; public final class MemcachedNonceVerifier ...
WdWeaver/openid4java-gae-hacks
src/org/openid4java/consumer/MemcachedNonceVerifier.java
Java
apache-2.0
1,722
package org.alpha.entities; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.util.ArrayList; import java.util.List; import org.junit.Test; /** * Unit test for organization persistence. */ public class OrganizationPersistenceTest extends BasePersis...
VictorEDA/alpha
src/test/java/org/alpha/entities/OrganizationPersistenceTest.java
Java
apache-2.0
2,764
/* 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...
escardin/camunda-spin
core/src/main/java/org/camunda/spin/spi/DataFormat.java
Java
apache-2.0
1,014
package com.gooker.aidl; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.os.RemoteException; import android.util.Log; import com.gooker.aidl.domain.Book; import java.util.ArrayList; import java.util.List; public class BookService extends Service { private st...
tianshan20081/Inject
AIDL/src/main/java/com/gooker/aidl/BookService.java
Java
apache-2.0
1,329
/* * Copyright 2019 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 ...
vam-google/google-cloud-java
google-cloud-clients/google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/AssetServiceClientTest.java
Java
apache-2.0
2,129
/* * Copyright 2019 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 ...
vam-google/google-cloud-java
google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java
Java
apache-2.0
17,333
package com.weibo.lodil.mmap.api; /* * Copyright 2011 Peter Lawrey * * 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 * *...
tangfl/lodil
src/main/java/com/weibo/lodil/mmap/api/HugeListIterator.java
Java
apache-2.0
797
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
groboclown/p4ic4idea
idea-p4server/impl/src/main/java/net/groboclown/p4/server/impl/cache/store/PrimitiveMap.java
Java
apache-2.0
13,360
/** * */ package br.com.dlp.jazzomr.exam; import java.util.ArrayList; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; impo...
darciopacifico/omr
modulesOMR/branches/JazzOMRWS/modulesOMR/JazzOMRParser/parser/src/main/java/br/com/dlp/jazzomr/exam/ExamVO.java
Java
apache-2.0
2,121
package psidev.psi.mi.jami.enricher.impl; import junit.framework.Assert; import org.junit.Before; import org.junit.Test; import psidev.psi.mi.jami.bridges.fetcher.mock.FailingOrganismFetcher; import psidev.psi.mi.jami.bridges.fetcher.mock.MockOrganismFetcher; import psidev.psi.mi.jami.enricher.exception.EnricherExcept...
MICommunity/psi-jami
jami-enricher/src/test/java/psidev/psi/mi/jami/enricher/impl/FullOrganismUpdaterTest.java
Java
apache-2.0
25,999
/* * Copyright 2017 BTC Business Technology AG * * 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...
btc-ag/redg
redg-generator/src/main/java/com/btc/redg/generator/extractor/datatypeprovider/helpers/DataTypePrecisionHelper.java
Java
apache-2.0
1,650
/** * Copyright 2017 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 ...
Netflix/Raigad
raigad/src/main/java/com/netflix/raigad/identity/EurekaHostsSupplier.java
Java
apache-2.0
5,089
package org.codingmatters.poom.services.domain.property.query.validation; import org.codingmatters.poom.services.domain.property.query.parsers.PropertySortBaseVisitor; import org.codingmatters.poom.services.domain.property.query.parsers.PropertySortParser; import java.util.LinkedList; import java.util.List; import ja...
nelt/poom-services
poom-services-domain/src/main/java/org/codingmatters/poom/services/domain/property/query/validation/SortPropertyValidation.java
Java
apache-2.0
1,426
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
equella/Equella
Source/Plugins/Core/com.equella.core/src/com/tle/web/sections/standard/js/impl/PopulateFromJSONFunction.java
Java
apache-2.0
5,101
/* * Copyright DataStax, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
datastax/java-driver
core/src/main/java/com/datastax/oss/driver/internal/core/type/codec/extras/json/JsonCodec.java
Java
apache-2.0
6,666
/** * Copyright 2011 meltmedia * * 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 ...
ctrimble/xchain
core/src/main/java/org/xchain/framework/sax/util/NamespaceContext.java
Java
apache-2.0
2,888
/* 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...
clintmanning/new-empty
engine/src/test/java/org/camunda/bpm/engine/test/api/task/TaskQueryTest.java
Java
apache-2.0
38,821
package com.tripfinger.commons.prost.utils; public class Tuple<X, Y> { public X x; public Y y; public Tuple() {} public Tuple(X x, Y y) { this.x = x; this.y = y; } }
prebenl/prost
src/main/java/com/tripfinger/commons/prost/utils/Tuple.java
Java
apache-2.0
187
/******************************************************************************* * Copyright 2017 Vincenzo-Maria Cappelleri <vincenzo.cappelleri@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...
vic-ita/RAW
RAW/src/raw/dht/implementations/utils/DhtSigningUtils.java
Java
apache-2.0
11,514
/* * Copyright (c) 2015-2016, Pradeeban Kathiravelu 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://www.apache.org/licenses/LICENSE-2.0 * ...
sharmaashish/datacafe
modules/datacafe-server/src/main/java/edu/emory/bmi/datacafe/hazelcast/HzServer.java
Java
apache-2.0
6,177
package edu.uiowa.icts.protogen.springhibernate; /* * #%L * Protogen * %% * Copyright (C) 2009 - 2015 University of Iowa Institute for Clinical and Translational Science (ICTS) * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
ui-icts/protogen
src/main/java/edu/uiowa/icts/protogen/springhibernate/SpringHibernateModel.java
Java
apache-2.0
25,324
/* * JBoss, Home of Professional Open Source. * Copyright 2012, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
gregjones60/keycloak
testsuite/integration/src/test/java/org/keycloak/testsuite/oauth/AccessTokenTest.java
Java
apache-2.0
37,265
/* * 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...
gingerwizard/elasticsearch
server/src/main/java/org/elasticsearch/search/fetch/subphase/FetchFieldsContext.java
Java
apache-2.0
2,057
package se.lth.cs.docforia.io.text; /* * Copyright 2016 Marcus Klang * * 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...
marcusklang/docforia
src/main/java/se/lth/cs/docforia/io/text/TextRebuilder.java
Java
apache-2.0
1,089
package com.monitor.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import com.monitor.util.DBConnection; /** * * @author htzy * */ public class SensorType_functionDAOImplm implements SensorType_functionDAO{...
htzy/te
envirMonitor/src/com/monitor/dao/SensorType_functionDAOImplm.java
Java
apache-2.0
8,325
/* * Copyright 2010 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 ap...
sotty/drools
drools-core/src/main/java/org/drools/core/reteoo/QueryElementNode.java
Java
apache-2.0
32,583
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
stsiano/org.ops4j.pax.web
pax-web-itest/pax-web-itest-container/pax-web-itest-container-tomcat/src/test/java/org/ops4j/pax/web/itest/tomcat/WebAppIntegrationTest.java
Java
apache-2.0
1,048
package com.example.todolist; import java.util.regex.Pattern; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.text.util.Linkify; import android.util.Log; import android.widget.TextView; import android.widget.Toast; public class CompassActiv...
wzhnsc/pa4ads
pa4ads/ToDoList/src/com/example/todolist/CompassActivity.java
Java
apache-2.0
1,004
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package net.asynchronized.yxc.system; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; /** * ...
onkelrico/homematic-xml-client
src/main/java/net/asynchronized/yxc/system/NetUsb.java
Java
apache-2.0
2,161
package eu.dzim.shared.model.config; import com.fasterxml.jackson.annotation.JsonIgnore; public class KeyValue { private String key; private String value; private KeyValueType type; public KeyValue() { // sonar } public String getKey() { return key; } public void se...
bgmf/poc
shared/src/main/java/eu/dzim/shared/model/config/KeyValue.java
Java
apache-2.0
1,315
/** * Copyright 2011 meltmedia * * 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 ...
ctrimble/xchain
core/src/test/java/org/xchain/framework/jxpath/JXPathContextTest.java
Java
apache-2.0
2,845
/* * 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/GetCSVHeaderRequestProtocolMarshaller.java
Java
apache-2.0
2,690
/** * Copyright 2014 Dennis Rippinger * 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...
DennisRippinger/spade
spade/spade-calculator/src/test/java/info/interactivesystems/spade/crawler/yelp/YelpCrawlerTest.java
Java
apache-2.0
1,465
/* * Copyright 2000-2017 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...
JetBrains/teamcity-nuget-support
nuget-server/src/jetbrains/buildServer/nuget/server/tool/NuGetToolUsageStatisticsProvider.java
Java
apache-2.0
3,581
package com.gavin.ssm.common.base.util; public interface Constants { String ENV_DEV = "dev"; String ENV_PROD = "prod"; String SESSION_NAMESPACE = "Subject"; String FORMATTER_DATE = "yyyy-MM-dd"; String FORMATTER_TIME = "HH:mm:ss"; String FORMATTER_DATETIME = "yyyy-MM-dd HH:mm:ss"; Strin...
lugavin/ssm
ssm-common/ssm-common-base/src/main/java/com/gavin/ssm/common/base/util/Constants.java
Java
apache-2.0
796
/** * */ package net.i2geo.comped.webapp.action; import java.util.List; import net.i2geo.comped.model.AbstractTopic; import net.i2geo.comped.model.ConcreteTopic; import net.i2geo.comped.service.AbstractTopicManager; import net.i2geo.comped.service.ConcreteTopicManager; import net.i2geo.comped.service.Th...
i2geo/CompEd
comped/src/main/java/net/i2geo/comped/webapp/action/ConcreteTopicAction.java
Java
apache-2.0
8,337
package club.zhcs.thunder.handler; import org.nutz.lang.Strings; import org.nutz.lang.util.NutMap; import org.springframework.web.servlet.HandlerExceptionResolver; import org.springframework.web.servlet.ModelAndView; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * ...
Kerbores/spring-thunder
spring-thunder/src/main/java/club/zhcs/thunder/handler/ThunderExceptionHandler.java
Java
apache-2.0
981
package com.kyletung.customview.view.load; import android.content.Context; import android.content.res.TypedArray; import android.support.v4.view.NestedScrollingChildHelper; import android.support.v4.view.NestedScrollingParentHelper; import android.support.v4.view.ViewCompat; import android.util.AttributeSet; import an...
DongYuHui/custom-view
app/src/main/java/com/kyletung/customview/view/load/SwipeLoadLayout.java
Java
apache-2.0
22,784
/* * Copyright 2012-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
kcysk/eiscache-parent
eiscache-api/src/main/java/net/zdsoft/cache/core/InvocationContext.java
Java
apache-2.0
1,432
package gov.va.cpe.vpr.termeng; /** * This exception is thrown when an error occurs during terminology loading. * * @author Les Westberg */ public class TermLoadException extends Exception { private static final long serialVersionUID = -2763323716005332016L; /** * Default constructor...
KRMAssociatesInc/eHMP
ehmp/product/production/hmp-main/src/main/java/gov/va/cpe/vpr/termeng/TermLoadException.java
Java
apache-2.0
1,140
/* * Copyright 2015 Open mHealth * * 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...
openmhealth/schemas
test-data-validator/src/main/java/org/openmhealth/schema/service/SchemaClassServiceImpl.java
Java
apache-2.0
2,502
package com.ifightmonsters.yarra.entities; import java.util.List; /** * Data structure for representing a Status object that get returns back from the server * Contains information about whether or not the radio station is online, the url to connect to * stream music, the amount of listeners currently listening to...
GregSaintJean/YARRA
app/src/main/java/com/ifightmonsters/yarra/entities/Status.java
Java
apache-2.0
1,526
package org.tylproject.vaadin.addon.mongo; import com.mongodb.Mongo; import com.mongodb.MongoClient; import org.junit.Test; import org.springframework.data.mongodb.core.MongoOperations; import org.springframework.data.mongodb.core.MongoTemplate; import org.tylproject.data.mongo.Person; import org.tylproject.vaadin.add...
tyl/mongodbcontainer-addon
src/test/java/org/tylproject/vaadin/addon/mongo/MongoBuilderTest.java
Java
apache-2.0
1,521
package com.anypresence.masterpass_android_library.dto; import com.google.gson.annotations.SerializedName; /** * Created by diego.rotondale on 1/19/2015. * Copyright (c) 2015 AnyPresence, Inc. All rights reserved. */ public class Details extends PairDetails { @SerializedName("checkout_request_token") publi...
samsao/mastersofcode-android-consummer
libs/masterpass/src/main/java/com/anypresence/masterpass_android_library/dto/Details.java
Java
apache-2.0
416
/* * 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 ...
mcherkasov/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtAffinityAssignmentRequest.java
Java
apache-2.0
4,426
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.studio.jc.modules.sys.utils; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import com.google.common.collect.Lists; import com.google.common.coll...
CHENJUNCHENG123/chenjuncheng
src/main/java/com/studio/jc/modules/sys/utils/DictUtils.java
Java
apache-2.0
2,719
package com.example.qingqiclient.utils; import com.example.qingqiclient.entity.EI; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import java.util.ArrayList; import java.util.List; /** * Created by Administrator on 2017/10/17 0017. * 主要用于json数据的解析 * 这里我们使用了谷歌提供的GSON开源库 */ public class Js...
thingsareright/qingqiclientapp
app/src/main/java/com/example/qingqiclient/utils/JsonUtils.java
Java
apache-2.0
1,160
/** * 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...
DamianZhou/ThingsOfHadoop
Hadoop/OrcStructDemo/src/com/blm/orc/IntegerWriter.java
Java
apache-2.0
1,315
/* * Licensed to 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 file except in compl...
EvilMcJerkface/crate
server/src/main/java/io/crate/breaker/MultiSizeEstimator.java
Java
apache-2.0
1,956
package com.carporange.cloudmusic.adapter; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.CheckBox; import android.widget.CompoundButton; import android.widget.ImageView; import android.widget.TextView; ...
liuhui19991/CloudMusicLH
cloudmusic/src/main/java/com/carporange/cloudmusic/adapter/MyAdapter.java
Java
apache-2.0
5,083
package de.flapdoodle.mongomapper; import com.google.common.base.Optional; import com.mongodb.DBObject; public interface SchemaMigration { DBObject query(); Optional<DBObject> change(DBObject entry); }
flapdoodle-oss/de.flapdoodle.mongomapper
src/main/java/de/flapdoodle/mongomapper/SchemaMigration.java
Java
apache-2.0
215
package org.jiumao.common.AsynHttp; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.nio.charset.Charset; import org.apache.http.Header; import org.apache.http.HttpResponse; import org.apache.http.concurrent.FutureCallback; import org.jiumao.common.con...
jiumao-org/wechat-mall
mall-common/src/main/java/org/jiumao/common/AsynHttp/AbstractListener.java
Java
apache-2.0
1,634
package com.github.theborakompanioni.model; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.persistence.Id; import javax.persistence.ManyToMany; import javax.persistence.Version; import java.util.ArrayList; import java.util.List; @JsonIgn...
theborakompanioni/spring-boot-shiro-orient-ionic
spring-boot-shiro-orient-ionic-db/src/main/java/com/github/theborakompanioni/model/Role.java
Java
apache-2.0
1,419
package org.apache.zookeeper.book.mine.step1; import org.apache.zookeeper.*; import org.apache.zookeeper.data.Stat; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.util.Random; public class Master implements Watcher { private static final Logger LOG = LoggerFacto...
guozhouwei/zookeeper-book-example
src/main/java/org/apache/zookeeper/book/mine/step1/Master.java
Java
apache-2.0
5,078
package com.coolweather.android; import android.app.AlarmManager; import android.app.PendingIntent; import android.app.Service; import android.content.Intent; import android.content.SharedPreferences; import android.os.IBinder; import android.os.SystemClock; import android.preference.PreferenceManager; import android....
leeManong/coolweather
app/src/main/java/com/coolweather/android/AutoUpdateService.java
Java
apache-2.0
3,570
/* * Copyright 2014 Palantir Technologies, Inc. All rights reserved. */ package com.palantir.giraffe.command.interactive; import static com.google.common.base.Preconditions.checkNotNull; import java.nio.charset.StandardCharsets; import java.util.concurrent.Executor; import javax.annotation.CheckForNull; import c...
palantir/giraffe
core/src/main/java/com/palantir/giraffe/command/interactive/CommandOutputTrigger.java
Java
apache-2.0
2,503
/* * Copyright 2009 The Kuali Foundation. * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by app...
Ariah-Group/Finance
af_webapp/src/main/java/org/kuali/kfs/module/endow/document/service/impl/SubClassCodeServiceImpl.java
Java
apache-2.0
2,066
/** * 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 ...
datasynctools/sync-tools-prototype
db2dbseed/src/main/java/tools/datasync/db2db/sync/net/SeedOutWorkerFactory.java
Java
apache-2.0
1,796
package com.ktvme.sql; import java.util.LinkedHashMap; import java.util.Map; /** * <p>查询参数</p> * Created by zhezhiyong@163.com on 2017/7/10. */ public class Query extends LinkedHashMap<String, Object> { private static final long serialVersionUID = 1L; //当前页码 private int page; //每页条数 private int...
zheng-zy/zCore
src/main/java/com/ktvme/sql/Query.java
Java
apache-2.0
1,294
/* * Copyright 2002-2015 SCOOP 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 * * Unless required by applicable law...
copper-engine/copper-engine
projects/copper-cassandra/cassandra-storage/src/main/java/org/copperengine/core/persistent/hybrid/TimeoutManager.java
Java
apache-2.0
1,164
/******************************************************************************* * Copyright 2014 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:...
Gyeong-Sik/vsdn_monitoring
src/main/java/net/onrc/openvirtex/messages/actions/OVXActionOutput.java
Java
apache-2.0
22,396
package pl.domzal.junit.docker.rule.examples; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.assertThat; import java.util.concurrent.TimeoutException; import org.junit.Rule; import org.junit.Test; import org.junit.experimental.categories.Category; import org.slf4j.Logger; import org.slf4j....
tdomzal/junit-docker-rule
src/test/java/pl/domzal/junit/docker/rule/examples/ExampleWaitForLogMessageSequenceAtStartTest.java
Java
apache-2.0
1,418
/** * Copyright (C) 2006-2020 Talend Inc. - www.talend.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 appli...
chmyga/component-runtime
component-server-parent/component-server/src/test/java/org/talend/sdk/component/server/service/GlobServiceTest.java
Java
apache-2.0
1,446
/* * Copyright 1999-2018 Alibaba Group Holding 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 applica...
alibaba/nacos
cmdb/src/main/java/com/alibaba/nacos/cmdb/service/CmdbWriter.java
Java
apache-2.0
754
/* * Copyright 2000-2012 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...
goodwinnk/intellij-community
platform/platform-api/src/com/intellij/openapi/fileChooser/FileSystemTree.java
Java
apache-2.0
1,766
// Copyright 2010 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
googlegsa/secmgr
src/main/java/com/google/enterprise/secmgr/ldap/LDAPClient.java
Java
apache-2.0
54,047
package com.appleframework.jms.kafka; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "classpath:con...
xushaomin/apple-jms
apple-jms-kafka/src/test/java/com/appleframework/jms/kafka/KafkaMessageComsumerTest.java
Java
apache-2.0
521
/* * 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-groundstation/src/main/java/com/amazonaws/services/groundstation/model/transform/FrequencyBandwidthJsonUnmarshaller.java
Java
apache-2.0
3,013
/* * Copyright 2015 DECOIT GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
decoit/cbor-if-map-tnc-base
src/main/java/de/decoit/simu/cbor/ifmap/deserializer/identifier/IpAddressDeserializer.java
Java
apache-2.0
3,718
/** * 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...
kingargyle/turmeric-bot
camel-core/src/main/java/org/apache/camel/impl/EndpointRegistry.java
Java
apache-2.0
1,244
/* * To be run: * - without Cojac: java demo.HelloPolynomial1 * - with Interval wrapper: java -javaagent:cojac.jar="-Ri" demo.HelloPolynomial1 * - with Stochastic wrapper: java -javaagent:cojac.jar="-Rs" demo.HelloPolynomial1 * - with BigDecimal wrapper: java -javaagent:cojac.jar="-Rb 40" demo.H...
frederic-bapst/Cojac
src/examples/demo/HelloPolynomial1.java
Java
apache-2.0
1,019
package reusing; //: reusing/Bath.java // Constructor initialization with composition. import static net.mindview.util.Print.*; class Soap { private String s; Soap() { print("Soap()"); s = "Constructed"; } public String toString() { return s; } } public class Bath { private String //...
vowovrz/thinkinj
thinkinj/src/main/java/reusing/Bath.java
Java
apache-2.0
1,183
package com.myweather.android.gson; /** * Created by xiangzi on 2017/2/11. */ public class AQI { public AQICity city; public class AQICity{ public String aqi; public String pm25; } }
LiHongxiang1993/myweather
app/src/main/java/com/myweather/android/gson/AQI.java
Java
apache-2.0
215
/* Copyright 2008-2015 Genentech 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 t...
chemalot/chemalot
src/com/genentech/chemistry/openEye/RingSystemExtractor.java
Java
apache-2.0
6,638
package practice.soccernext; import java.io.IOException; import java.net.*; import java.util.Arrays; public class UdpHandler implements Handler { private MulticastSocket socket; public UdpHandler() throws IOException { socket = new MulticastSocket(); //socket.setBroadcast(true); } @...
nesterione/JavaTrainings
src/practice/soccernext/UdpHandler.java
Java
apache-2.0
794
/* * 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 ...
neykov/incubator-brooklyn
api/src/main/java/brooklyn/mementos/TreeNode.java
Java
apache-2.0
1,498
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2022 DBeaver Corp and others * * 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/LICE...
dbeaver/dbeaver
plugins/org.jkiss.dbeaver.ext.mysql/src/org/jkiss/dbeaver/ext/mysql/sql/MySQLDialectAdapterFactory.java
Java
apache-2.0
1,418
/* * Copyright 2015 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 i...
googleapis/java-bigtable-hbase
bigtable-client-core-parent/bigtable-hbase/src/test/java/com/google/cloud/bigtable/hbase/adapters/TestAppendAdapter.java
Java
apache-2.0
6,535
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.github.couchapptakeout; /** * * @author ryan */ public interface Uninstaller { }
ryanramage/couchapp-takeout
java/src/main/java/com/github/couchapptakeout/Uninstaller.java
Java
apache-2.0
199
package org.apache.fineract.ui.online.roles.roleslist; import android.content.Context; import org.apache.fineract.R; import org.apache.fineract.data.datamanager.DataManagerRoles; import org.apache.fineract.data.models.rolesandpermission.Role; import org.apache.fineract.injection.ApplicationContext; import org.apache....
therajanmaurya/android-client-2.0
app/src/main/java/org/apache/fineract/ui/online/roles/roleslist/RolesPresenter.java
Java
apache-2.0
2,647
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
twitter-forks/presto
presto-main/src/test/java/com/facebook/presto/operator/scalar/BenchmarkJsonToMapCast.java
Java
apache-2.0
8,435
package lt.inventi.wicket.component.breadcrumb.collapse; import static org.hamcrest.Matchers.contains; import static org.junit.Assert.assertThat; import java.util.Arrays; import java.util.List; import org.junit.Test; import lt.inventi.wicket.component.breadcrumb.BEquality; public class CollapseUtilsTest { BEqu...
inventiLT/inventi-wicket
inventi-wicket-breadcrumbs/src/test/java/lt/inventi/wicket/component/breadcrumb/collapse/CollapseUtilsTest.java
Java
apache-2.0
3,388
package model.hospital; import geo.google.datamodel.GeoAddress; import geo.google.datamodel.GeoCoordinate; import static com.google.common.base.Preconditions.checkArgument; public class Hospital { private String name; private GeoAddress geoAddress; public Hospital(final String name) { this(name,...
Abishor/Hospitalia
src/main/java/model/hospital/Hospital.java
Java
apache-2.0
791
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
equella/Equella
Source/Plugins/Core/com.equella.core/src/com/tle/web/sections/ajax/FullDOMResult.java
Java
apache-2.0
1,411
// Copyright 2012 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
google-code-export/google-api-dfp-java
examples/v201211/customfieldservice/SetLineItemCustomFieldValue.java
Java
apache-2.0
6,101
// Copyright Keith D Gregory // // 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...
sirinath/kdgcommons
src/main/java/net/sf/kdgcommons/collections/CollectionUtil.java
Java
apache-2.0
25,454
/* * 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-artifactregistry/v1beta1/1.31.0/com/google/api/services/artifactregistry/v1beta1/model/ImportAptArtifactsResponse.java
Java
apache-2.0
3,464
/* * 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 ...
StephanEwen/incubator-flink
flink-test-utils-parent/flink-connector-testing/src/main/java/org/apache/flink/connectors/test/common/utils/TestDataMatchers.java
Java
apache-2.0
10,834
package ru.stqa.pft.addressbook.tests; import org.testng.Assert; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.ContactData; import ru.stqa.pft.addressbook.model.Contacts; import ru.stqa.pft.addressbook.model.GroupData; import java.util.List; imp...
vyalovkrtek/java_training
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/DeleteContactTest.java
Java
apache-2.0
1,304
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * You may obtain a copy of the License at * * http://www.apache....
appium/java-client
src/test/java/io/appium/java_client/ios/SettingTest.java
Java
apache-2.0
4,777
package com.zsz.test; public class string { public static void main(String[] args) { String a="a1"; String b="a1"; System.out.println(a.equals(b)); } }
wuanlife/Jianbing_Web
perwaitC/src/com/zsz/test/string.java
Java
apache-2.0
156
package com.rc_long.tldService; import java.util.List; import com.rc_long.Entity.ModuleMenu; import com.rc_long.Entity.SysMenu; import com.rc_long.tldDao.TLDMenuDao; import com.rc_long.tldDao.TLDMenuDaoImpl; public class TLDMenuServiceImpl implements TLDMenuService { private TLDMenuDao tldMenuDao =new TLD...
a5295992/rc_long
src/com/rc_long/tldService/TLDMenuServiceImpl.java
Java
apache-2.0
1,077
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.11....
Stephen-Cameron-Data-Services/isis-chats
fixture/src/main/java/au/com/scds/chats/fixture/jaxb/generated/ReconnectCall.java
Java
apache-2.0
1,070
package com.alibaba.cobar.manager.web.screen; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.factory.InitializingBean; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.mvc.AbstractController; imp...
xloye/tddl5
tddl-manager/src/main/java/com/alibaba/cobar/manager/web/screen/AddAppPage.java
Java
apache-2.0
1,626
/*- * * Copyright 2016 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 * * * * Un...
huitseeker/DataVec
datavec-api/src/main/java/org/datavec/api/transform/condition/BooleanCondition.java
Java
apache-2.0
9,411
package pond.web; /** * Created by ed on 1/16/16. */ public class EndToEndException extends RuntimeException{ final public int http_status; final public String message; public EndToEndException(int code, String message){ this.http_status = code; this.message = message; } @Overri...
edwinyxc/pond
web/src/main/java/pond/web/EndToEndException.java
Java
apache-2.0
388
package org.nd4j.linalg.shape; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.nd4j.linalg.BaseNd4jTest; import org.nd4j.linalg.api.ndarray.INDArray; import org.nd4j.linalg.api.shape.Shape; import org.nd4j.linalg.factory.Nd4j; import org.nd4j.linalg.factory.Nd...
huitseeker/nd4j
nd4j-backends/nd4j-tests/src/test/java/org/nd4j/linalg/shape/ShapeTests.java
Java
apache-2.0
8,336
package com.taobao.tddl.repo.mysql.common; import java.io.InputStream; import java.io.Reader; import java.math.BigDecimal; import java.net.URL; import java.sql.Array; import java.sql.Blob; import java.sql.Clob; import java.sql.Date; import java.sql.NClob; import java.sql.Ref; import java.sql.ResultSet; import java.sql...
ninqing/tddl
tddl-repo-mysql/src/main/java/com/taobao/tddl/repo/mysql/common/ResultSetWrapper.java
Java
apache-2.0
27,451