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
/****************************************************************************** * 版权所有 刘大磊 2013-07-01 * * 作者:刘大磊 * * 电话:13336390671 * * email:ldlqdsd@126.com * ***...
ldlqdsdcn/wms
core/src/main/java/com/delmar/core/service/CorePageService.java
Java
apache-2.0
729
package de.hsmainz.pubapp.geocoder.controller; import com.google.gson.Gson; import de.hsmainz.pubapp.geocoder.model.ClientInputJson; import de.hsmainz.pubapp.geocoder.model.ErrorJson; import de.hsmainz.pubapp.geocoder.model.geojson.GeoJsonCollection; import org.apache.logging.log4j.LogManager; import org.apache.loggin...
ArnoHeid/PubApp
geocoder/src/main/java/de/hsmainz/pubapp/geocoder/controller/HttpAPIRequest.java
Java
apache-2.0
5,824
package com.txtr.hibernatedelta.model; import static javax.xml.bind.annotation.XmlAccessType.FIELD; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.an...
storecast/hibernate-delta
src/main/java/com/txtr/hibernatedelta/model/HibernateTable.java
Java
apache-2.0
2,751
/** * */ package me.learn.personal.month5; import java.util.HashSet; import java.util.List; import java.util.Set; /** * Title : * * Date : Dec 23, 2020 * * @author bramanarayan * */ public class WordBreakable { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated m...
balajiboggaram/algorithms
src/me/learn/personal/month5/WordBreakable.java
Java
apache-2.0
724
package web; import graphUtil.CycleChainDecomposition; import graphUtil.EdgeChain; import ilog.concert.IloException; import java.util.HashMap; import java.util.List; import java.util.Map; import kepLib.KepInstance; import kepLib.KepProblemData; import kepModeler.ChainsForcedRemainOpenOptions; import kepModeler.KepMo...
rma350/kidneyExchange
kidneyMatching/src/web/KidneyServerSolver.java
Java
apache-2.0
8,249
package com.jaivox.ui.appmaker; import java.io.*; import java.util.*; import bitpix.list.*; public class Rule2Fsm { static String dir = "./"; basicTree tree; TreeMap <String, String> states; TreeMap <String, String> tags; static String name = "data/road1.tree"; static String yes = "yes"; String startState ...
jaivox/tools
v2/com/jaivox/ui/appmaker/Rule2Fsm.java
Java
apache-2.0
4,520
/* * Copyright (C) 2012 Jason Gedge <http://www.gedge.ca> * * This file is part of the OpGraph project. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License,...
ghedlund/opgraph
app/src/main/java/ca/phon/opgraph/app/commands/package-info.java
Java
apache-2.0
855
/* * Copyright 2013 JCertifLab. * * 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...
JCERTIFLab/jcertif-android-2013
src/main/java/com/jcertif/android/fragments/SessionListFragment.java
Java
apache-2.0
12,340
/** * Copyright 2014 Jordan Zimmerman * * 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...
soabase/soabase
soabase-core/src/main/java/io/soabase/core/features/attributes/DynamicAttributes.java
Java
apache-2.0
2,045
/* * Copyright © 2009 HotPads (admin@hotpads.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...
hotpads/datarouter
datarouter-instrumentation/src/main/java/io/datarouter/instrumentation/trace/Traceparent.java
Java
apache-2.0
4,663
package com.bzu.yhd.pocketcampus.bottomnav.user.view; import android.content.Context; import android.util.AttributeSet; import com.facebook.rebound.SimpleSpringListener; import com.facebook.rebound.Spring; import com.facebook.rebound.SpringSystem; import de.hdodenhof.circleimageview.CircleImageView; /** * Created ...
GolvenH/PocketCampus
app/src/main/java/com/bzu/yhd/pocketcampus/bottomnav/user/view/AnimateImageView.java
Java
apache-2.0
3,350
/* * 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 "lice...
trasa/aws-sdk-java
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/transform/DeleteAssociationRequestMarshaller.java
Java
apache-2.0
3,452
package com.qmx.wxmp.common.web; /** * 带UTF-8 charset 定义的MediaType. * * Jax-RS和Spring的MediaType没有UTF-8的版本, * Google的MediaType必须再调用toString()函数而不是常量,不能用于Restful方法的annotation。 * * @author free lance */ public class MediaTypes { public static final String APPLICATION_XML = "application/xml"; public static fin...
lingyi2017/wxmp
src/main/java/com/qmx/wxmp/common/web/MediaTypes.java
Java
apache-2.0
1,306
/* * 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 * "Lic...
PennState/directory-fortress-core-1
src/test/java/org/apache/directory/fortress/core/samples/CreateUserOrgHierarchySample.java
Java
apache-2.0
15,806
// // Copyright (c) 2014 Limit Point Systems, 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 ...
LimitPointSystems/SheafSystem
tools/viewer/user/HedgeHogFieldActorPropertiesPanel.java
Java
apache-2.0
4,423
package cn.oeaom.CoolWeather; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Typeface; import android.media.Image; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.design.widget.FloatingActionButton; import android.support.d...
applicationsky/MyCoolWeather
app/src/main/java/cn/oeaom/CoolWeather/WeatherActivity.java
Java
apache-2.0
12,783
package com.structurizr.view; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.structurizr.model.*; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.Set; import java.util.stream.Collectors; @JsonIgnoreProperties(ign...
JDriven/structurizr-java
structurizr-core/src/com/structurizr/view/View.java
Java
apache-2.0
5,965
/* * Copyright (c) 2016 The original author or authors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * * The Eclipse Public License is available at *...
ruslansennov/vertx-consul-client
src/main/java/io/vertx/ext/consul/Coordinate.java
Java
apache-2.0
4,253
/** * 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 m...
Legostaev/xmlsec-gost
src/test/java/org/apache/xml/security/test/dom/transforms/implementations/TransformBase64DecodeTest.java
Java
apache-2.0
5,574
/* * Copyright (C) 2010 ZXing 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 agr...
ShawnDongAi/AEASSISTANT
AEAssistant/src/com/zzn/aeassistant/zxing/decoding/FinishListener.java
Java
apache-2.0
1,311
/* * 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 ...
moparisthebest/beehive
beehive-netui-core/src/main/java/org/apache/beehive/netui/util/ParamHelper.java
Java
apache-2.0
5,988
package org.jboss.resteasy.spi; import org.jboss.resteasy.specimpl.MultivaluedMapImpl; import org.jboss.resteasy.specimpl.PathSegmentImpl; import org.jboss.resteasy.specimpl.ResteasyUriBuilder; import org.jboss.resteasy.util.Encode; import javax.ws.rs.core.MultivaluedMap; import javax.ws.rs.core.PathSegment; import j...
raphaelning/resteasy-client-android
jaxrs/resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/ResteasyUriInfo.java
Java
apache-2.0
10,699
package com.cabinetms.client; import java.util.List; import com.google.common.collect.Lists; public class TacticMediaCommand { private String command; // 指令 private String clientIp; // 终端IP地址 private String destination; // 终端队列地址 private Integer startDate;// 策略开始日期 private Integer endDate;// 策略结束日期 private Li...
wangning82/CabinetMS
src/main/java/com/cabinetms/client/TacticMediaCommand.java
Java
apache-2.0
1,292
package com.jason.showcase.lambdas; /** * Created by Qinjianf on 2016/7/19. */ public class Lambda { public void execute(Action action) { action.run("Hello Lambda!"); } public void test() { execute(System.out::println); } public static void main(String[] args) { new Lam...
fuyongde/jason
showcase/src/main/java/com/jason/showcase/lambdas/Lambda.java
Java
apache-2.0
342
/** * 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...
cbaenziger/oozie
sharelib/spark/src/main/java/org/apache/oozie/action/hadoop/SparkArgsExtractor.java
Java
apache-2.0
22,247
package com.common.dao; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.logging.Logger; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.PersistenceException; /** * La Clase BaseDAO implementa las operaciones...
ServicioReparaciones/ServicioReparaciones
ServicioReparaciones-ejb/src/main/java/com/common/dao/BaseDAO.java
Java
apache-2.0
2,856
/* * Copyright (C) 2017-2019 Dremio Corporation * * 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 l...
dremio/dremio-oss
sabot/kernel/src/main/java/com/dremio/exec/planner/sql/parser/SqlTruncateTable.java
Java
apache-2.0
3,280
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
bit-zyl/Alluxio-Nvdimm
core/server/src/test/java/alluxio/StorageTierAssocTest.java
Java
apache-2.0
3,480
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
parshimers/incubator-asterixdb
asterix-maven-plugins/lexer-generator-maven-plugin/src/main/java/edu/uci/ics/asterix/lexergenerator/rules/RuleAnythingUntil.java
Java
apache-2.0
2,007
package com.netwebx.hackerrank.rpc.client; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.net.InetSocketAddress; import java.net.Socket; /** * Created by apple on 2017/2/26. ...
WengJunFeng/hackerrank_java
src/main/java/com/netwebx/hackerrank/rpc/client/RpcImporter.java
Java
apache-2.0
2,053
package com.oath.cyclops.internal.stream.spliterators.push; import com.oath.cyclops.types.persistent.PersistentCollection; import java.util.Collection; import java.util.concurrent.TimeUnit; import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Supplier; /** * Created by j...
aol/cyclops
cyclops/src/main/java/com/oath/cyclops/internal/stream/spliterators/push/GroupedByTimeOperator.java
Java
apache-2.0
4,567
package net.tcp.socket; import java.io.DataOutputStream; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; /** * 必须先启动服务器 后连接 1、创建服务器 指定端口 ServerSocket(int port) 2、接收客户端连接 3、发送数据+接收数据 * */ public class Server { /** * @param args * @throws IOException */ public static void ...
zhangxx0/Java_Topic_prictice
src/net/tcp/socket/Server.java
Java
apache-2.0
1,059
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Fo...
HuangLS/neo4j
advanced/management/src/main/java/org/neo4j/management/impl/KernelProxy.java
Java
apache-2.0
8,016
package de.mhus.cha.cao.action; import java.io.File; import de.mhus.lib.cao.CaoElement; import de.mhus.lib.cao.CaoException; import de.mhus.lib.cao.CaoList; import de.mhus.lib.cao.CaoMonitor; import de.mhus.lib.cao.CaoOperation; import de.mhus.cap.core.Access; import de.mhus.cha.cao.ChaConnection; import de.mhus.cha....
mhus/mhus-inka
de.mhus.hair/hair3/de.mhus.cha.app/src/de/mhus/cha/cao/action/CopyToOperation.java
Java
apache-2.0
3,411
/* * 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 ...
ohadshacham/phoenix
phoenix-core/src/main/java/org/apache/phoenix/util/csv/CsvUpsertExecutor.java
Java
apache-2.0
10,075
/* * Copyright 2015 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. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
mrietveld/drools
drools-reteoo/src/main/java/org/drools/reteoo/common/ReteWorkingMemory.java
Java
apache-2.0
9,985
package jp.hashiwa.elasticsearch.authplugin; import org.apache.logging.log4j.Logger; import org.elasticsearch.client.node.NodeClient; import org.elasticsearch.common.bytes.BytesArray; import org.elasticsearch.common.bytes.BytesReference; import org.elasticsearch.common.logging.Loggers; import org.elasticsearch.rest.*;...
hashiwa000/Elasticsearch-Auth-Plugin
src/jp/hashiwa/elasticsearch/authplugin/AuthRestHandler.java
Java
apache-2.0
2,877
/* * Copyright (c) 2010 Yahoo! 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...
s4/core
src/main/java/io/s4/persist/ConMapPersister.java
Java
apache-2.0
5,403
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
googleapis/java-orchestration-airflow
proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java
Java
apache-2.0
23,250
package com.bagri.server.hazelcast.task.schema; import static com.bagri.core.Constants.pn_schema_password; import static com.bagri.server.hazelcast.serialize.TaskSerializationFactory.cli_UpdateSchemaTask; import static com.bagri.support.security.Encryptor.encrypt; import java.io.IOException; import java.util.P...
dsukhoroslov/bagri
bagri-server/bagri-server-hazelcast/src/main/java/com/bagri/server/hazelcast/task/schema/SchemaUpdater.java
Java
apache-2.0
2,552
package uk.co.bluegecko.core.swing.table.rendering; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.awt.Color; import java.awt.Font; import org.junit.Before; import ...
caveman-frak/java-core
core-swing/src/test/java/uk/co/bluegecko/core/swing/table/rendering/RenderingHintTest.java
Java
apache-2.0
4,586
/* * Copyright 2015-2016 DevCon5 GmbH, info@devcon5.ch * * 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...
devcon5io/common
cli/src/test/java/io/devcon5/cli/CLIExample.java
Java
apache-2.0
1,919
/* * Copyright 2015-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 app...
dbflute-session/lastaflute-test-catalog
src/main/java/org/docksidestage/app/web/product/ProductSearchForm.java
Java
apache-2.0
1,252
package com.flora.support; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.StringWriter; import java.io.Writer; import java.util.Map; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; import org.apache.velocity.context.Context; impor...
liqilun/flora
src/main/java/com/flora/support/VelocityTemplate.java
Java
apache-2.0
1,644
package org.apache.lucene.search; /** * Copyright 2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2....
lpxz/grail-lucene358684
src/java/org/apache/lucene/search/WildcardTermEnum.java
Java
apache-2.0
5,708
package com.github.ayltai.foscam.client; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import android.support.annotation.NonNull; import android.support.annotation.VisibleForTesting; import android.support.v4.util.Pair; import rx.Subscriber; import rx.Subscription; import rx.subjects.Publ...
ayltai/Foscam-CGI-Client
app/src/main/java/com/github/ayltai/foscam/client/RxBus.java
Java
apache-2.0
2,141
/* * 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-retail/v2/1.31.0/com/google/api/services/retail/v2/CloudRetailScopes.java
Java
apache-2.0
1,411
package com.github.andriell.collection; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * Created by Andrey on 13.02.2016 */ public class HashThreeTest { public static void main(String[] args) { HashThreeTest test = new HashThreeTest(); test.test1(); } @Test ...
andriell/craftyfox
src/test/java/com/github/andriell/collection/HashThreeTest.java
Java
apache-2.0
2,540
package com.ryanharter.auto.value.moshi.example; import com.google.auto.value.AutoValue; import com.squareup.moshi.JsonAdapter; import com.squareup.moshi.Moshi; import java.lang.reflect.Type; @AutoValue public abstract class GenericsExample<A, B, C> { public abstract A a(); public abstract B b(); public...
rharter/auto-value-moshi
example/src/main/java/com/ryanharter/auto/value/moshi/example/GenericsExample.java
Java
apache-2.0
870
package web.magic.jvm; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.lang.reflect.UndeclaredThrowableException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util....
liufeiit/WebMagic
WebMagic/src/test/java/web/magic/jvm/MBeanTyper.java
Java
apache-2.0
4,284
package eu.dowsing.kolla.widget.brick.facade; import javafx.scene.layout.Pane; import javafx.scene.paint.Color; import javafx.scene.shape.Circle; import javafx.scene.shape.CircleBuilder; import javafx.scene.shape.Rectangle; import javafx.scene.shape.RectangleBuilder; import com.leapmotion.leap.Hand; import eu.dowsin...
N0rp/Snabb
src/main/java/eu/dowsing/kolla/widget/brick/facade/BrickView.java
Java
apache-2.0
6,215
/* * Copyright (c) 2016, WSO2 Inc. (http://wso2.com) 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...
taniamahanama/product-msf4j
core/src/main/java/org/wso2/msf4j/ChunkResponder.java
Java
apache-2.0
1,625
/* * Copyright 2016-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...
mengmoya/onos
apps/l3vpn/nel3vpn/nemgr/src/main/java/org/onosproject/yang/gen/v1/ne/bgpcomm/rev20141225/nebgpcomm/bgpcomm/bgpvrfs/bgpvrf/bgpvrfafs/bgpvrfaf/package-info.java
Java
apache-2.0
796
/** * * 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"); ...
Jackygq1982/hbase_src
hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Java
apache-2.0
167,470
package io.dropwizard.jetty; import com.codahale.metrics.MetricRegistry; import com.codahale.metrics.jetty9.InstrumentedConnectionFactory; import com.fasterxml.jackson.databind.ObjectMapper; import io.dropwizard.configuration.ResourceConfigurationSourceProvider; import io.dropwizard.configuration.YamlConfigurationFact...
phambryan/dropwizard
dropwizard-jetty/src/test/java/io/dropwizard/jetty/HttpConnectorFactoryTest.java
Java
apache-2.0
12,103
package com.p.service; import java.util.Collection; import java.util.Optional; import java.util.Random; import java.util.UUID; import javax.annotation.Resource; import org.apache.log4j.Logger; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframewo...
david-romero/Pachanga
src/main/java/com/p/service/UsersService.java
Java
apache-2.0
5,489
package org.apache.solr.cloud; /* * 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 ...
halentest/solr
solr/core/src/test/org/apache/solr/cloud/ShardSplitTest.java
Java
apache-2.0
11,050
package org.zstack.header.identity; import org.zstack.header.message.APICreateMessage; import org.zstack.header.message.APIMessage; import org.zstack.header.message.APIParam; @NeedRoles(roles = {IdentityRoles.CREATE_POLICY_ROLE}) public class APICreatePolicyMsg extends APICreateMessage implements AccountMessag...
SoftwareKing/zstack
header/src/main/java/org/zstack/header/identity/APICreatePolicyMsg.java
Java
apache-2.0
1,059
// 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...
akira-baruah/bazel
src/main/java/com/google/devtools/build/lib/profiler/memory/AllocationTracker.java
Java
apache-2.0
14,364
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.service.base.client; import net.sf.mmm.service.api.RemoteInvocationCall; import net.sf.mmm.util.lang.api.function.Consumer; /** * This is a simple container for the data...
m-m-m/service
base/src/main/java/net/sf/mmm/service/base/client/RemoteInvocationCallData.java
Java
apache-2.0
2,216
/** * */ package jframe.core.plugin; import java.util.EventListener; /** * @author dzh * @date Sep 12, 2013 9:42:33 PM * @since 1.0 */ public interface PluginListener extends EventListener { void pluginChanged(PluginEvent event); }
dzh/jframe
jframe/jframe-core/src/main/java/jframe/core/plugin/PluginListener.java
Java
apache-2.0
244
/* * Created on May 17, 2004 * * Paros and its related class files. * * Paros is an HTTP/HTTPS proxy for assessing web application security. * Copyright (C) 2003-2004 Chinotec Technologies Company * * This program is free software; you can redistribute it and/or * modify it under the terms of the Clarified Art...
GillesMoris/OSS
src/org/parosproxy/paros/view/AbstractFrame.java
Java
apache-2.0
10,722
/** * Copyright 2020 LinkedIn Corp. 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 applica...
cgtz/ambry
ambry-mysql/src/integration-test/java/com/github/ambry/accountstats/AccountStatsMySqlStoreIntegrationTest.java
Java
apache-2.0
46,523
package info.novatec.testit.webtester.support.assertj; import static info.novatec.testit.webtester.support.assertj.WebTesterAssertions.assertThat; import static org.mockito.Mockito.doReturn; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.ru...
dbe-it/webtester-core
webtester-support-assertj/src/test/java/info/novatec/testit/webtester/support/assertj/RadioButtonAssertTest.java
Java
apache-2.0
1,213
package com.jt.test.sort; import java.util.Arrays; import java.util.Random; /** * since 2016/10/19. */ public class Select { public static void sort(Comparable[] data) { for (int i = 0; i < data.length; i++) { int min = i; for (int j = i+1; j < data.length; j++) { ...
jt120/algorithm
new-man/src/test/java/com/jt/test/sort/Select.java
Java
apache-2.0
1,378
/* * Copyright 2000-2008 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 agreed ...
jexp/idea2
plugins/groovy/test/org/jetbrains/plugins/groovy/lang/actions/updown/GroovyMoveStatementTest.java
Java
apache-2.0
4,349
package org.apereo.cas.web.report; import org.apereo.cas.web.report.util.ControllerUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.actuate.endpoint.mvc.AbstractNamedMvcEndpoint; import org.springframework.cloud.bus.BusProperties; import org.springframework.cloud.co...
gabedwrds/cas
support/cas-server-support-reports/src/main/java/org/apereo/cas/web/report/ConfigurationStateController.java
Java
apache-2.0
1,890
package com.canoo.ant.table; import com.canoo.ant.filter.AllEqualsFilter; import com.canoo.ant.filter.AllFilter; import com.canoo.ant.filter.ITableFilter; import org.apache.log4j.Logger; import java.io.File; import java.io.IOException; import java.util.*; public abstract class APropertyTable implements IPropertyTabl...
lukecampbell/webtest
src/main/java/com/canoo/ant/table/APropertyTable.java
Java
apache-2.0
8,495
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
looker-open-source/java-spanner
google-cloud-spanner/src/main/java/com/google/cloud/spanner/AbstractResultSet.java
Java
apache-2.0
50,481
/* * Copyright 2010 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...
JonathanWalsh/Granule-Closure-Compiler
test/com/google/javascript/jscomp/SpecializeModuleTest.java
Java
apache-2.0
16,009
package me.tatarka.timesync.lib; import android.content.Context; import java.util.Arrays; /** * A class for interacting with a {@link TimeSync}. You can get and set it's configuration, and * force it to sync immediately. Ta get an instance of the class for a given {@link TimeSync}, use * {@link TimeSync#get(andro...
evant/timesync
lib/src/main/java/me/tatarka/timesync/lib/TimeSyncProxy.java
Java
apache-2.0
2,035
/** * jetbrick-template * http://subchen.github.io/jetbrick-template/ * * Copyright 2010-2014 Guoqiang Chen. All rights reserved. * Email: subchen@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 ...
subchen/jetbrick-template-1x
src/main/java/jetbrick/template/resource/SourceCodeResource.java
Java
apache-2.0
1,866
package org.jboss.examples.ticketmonster.model; import static javax.persistence.CascadeType.ALL; import static javax.persistence.FetchType.EAGER; import static javax.persistence.GenerationType.IDENTITY; import java.io.Serializable; import java.util.HashSet; import java.util.Set; import javax.persistence.Column; impo...
jim-minter/ose3-demos
git/monster/src/main/java/org/jboss/examples/ticketmonster/model/Venue.java
Java
apache-2.0
4,603
/* * Copyright (C) 2011 The Guava 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 agre...
aiyanbo/guava
guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
Java
apache-2.0
4,293
/* * 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...
palecur/elasticsearch
core/src/test/java/org/elasticsearch/action/support/master/TransportMasterNodeActionTests.java
Java
apache-2.0
16,875
/* * 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...
hurricup/intellij-community
platform/platform-api/src/com/intellij/ui/components/JBScrollPane.java
Java
apache-2.0
33,437
package cn.xishan.oftenporter.porter.core.init; import cn.xishan.oftenporter.porter.core.advanced.IConfigData; import com.alibaba.fastjson.JSON; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * @author Created by https...
gzxishan/OftenPorter
Porter-Core/src/main/java/cn/xishan/oftenporter/porter/core/init/DealSharpProperties.java
Java
apache-2.0
8,870
package dk.dbc.kafka.dispatch.sources; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; import java.util.Optional; /** * Source for reading InputStreams line-by-line * @author Adam Tulinius */ public c...
DBCDK/kafka-dispatch
src/main/java/dk/dbc/kafka/dispatch/sources/InputStreamSource.java
Java
apache-2.0
818
package com.planet_ink.coffee_mud.Commands; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Libraries.interfaces.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com...
robjcaskey/Unofficial-Coffee-Mud-Upstream
com/planet_ink/coffee_mud/Commands/Go.java
Java
apache-2.0
16,256
/* * Copyright 2013-2020 consulo.io * * 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 ...
consulo/consulo
modules/base/platform-impl/src/main/java/com/intellij/ide/plugins/LabelPopup.java
Java
apache-2.0
2,225
package org.support.project.knowledge.vo.notification.webhook; public class WebhookLongIdJson { public long id; }
support-project/knowledge
src/main/java/org/support/project/knowledge/vo/notification/webhook/WebhookLongIdJson.java
Java
apache-2.0
119
package etri.sdn.controller.module.vxlanflowmapper; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.codehaus.jackson.map.ObjectMapper; public class Tester { public static void main(String[] args) { testV2PRequest(); testV2PResp...
uni2u/iNaaS
Torpedo/src/etri/sdn/controller/module/vxlanflowmapper/Tester.java
Java
apache-2.0
1,831
/* * 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 * distri...
tupilabs/nebular
src/test/java/fuzzy/internal/functions/TestMax.java
Java
apache-2.0
1,371
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html */ package org.hibernate.orm.type.descriptor.sql.internal; import java.time.temporal.Temp...
hibernate/hibernate-semantic-query
src/test/java/org/hibernate/orm/type/descriptor/sql/internal/JdbcLiteralFormatterTemporal.java
Java
apache-2.0
2,399
package com.etiennelawlor.loop.network.models.response; import android.os.Parcel; import android.os.Parcelable; import com.google.gson.annotations.SerializedName; /** * Created by etiennelawlor on 5/23/15. */ public class Tag implements Parcelable { // region Fields @SerializedName("uri") private Stri...
lawloretienne/Loop
app/src/main/java/com/etiennelawlor/loop/network/models/response/Tag.java
Java
apache-2.0
2,066
package rvc.ann; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * @author nurmuhammad */ @Retention(RUNTIME) @Target(METHOD) public @interface OPTIONS { String val...
nurmuhammad/rvc
src/main/java/rvc/ann/OPTIONS.java
Java
apache-2.0
399
package com.xiaojinzi.component.bean; import javax.lang.model.element.Element; /** * time : 2018/07/26 * * @author : xiaojinzi */ public class RouterDegradeAnnoBean { /** * 优先级 */ private int priority; /** * 是一个类实现了 RouterDegrade 接口 */ private Element rawType; public i...
xiaojinzi123/Component
ComponentCompiler/src/main/java/com/xiaojinzi/component/bean/RouterDegradeAnnoBean.java
Java
apache-2.0
632
/* * 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 ...
shaoxuan-wang/flink
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/Execution.java
Java
apache-2.0
59,232
package water; import java.io.*; import java.lang.reflect.Array; import java.net.*; import java.nio.*; import java.nio.channels.*; import java.util.ArrayList; import java.util.Random; import water.network.SocketChannelUtils; import water.util.Log; import water.util.StringUtils; import water.util.TwoDimTable; /** A B...
mathemage/h2o-3
h2o-core/src/main/java/water/AutoBuffer.java
Java
apache-2.0
74,621
/* * Copyright (c) 2010-2013 Evolveum * * 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...
sabriarabacioglu/engerek
model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensProjectionContext.java
Java
apache-2.0
42,728
/* * 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 ...
wangyum/beam
sdks/java/io/kafka/src/test/java/org/apache/beam/sdk/io/kafka/KafkaIOTest.java
Java
apache-2.0
49,154
/* * Copyright 2017 Exorath * * 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...
Exorath/CakeWarsGamePlugin
src/main/java/com/exorath/plugin/game/cakewars/rewards/KillsReward.java
Java
apache-2.0
1,398
/** * 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"); yo...
everttigchelaar/camel-svn
components/camel-irc/src/test/java/org/apache/camel/component/irc/IrcEndpointTest.java
Java
apache-2.0
3,292
package com.zxinsight.classifier.ruleengine.admin; import java.rmi.RemoteException; import java.util.Map; import javax.rules.admin.LocalRuleExecutionSetProvider; import javax.rules.admin.RuleAdministrator; import javax.rules.admin.RuleExecutionSet; import javax.rules.admin.RuleExecutionSetDeregistrationException; imp...
kevin-ww/commentClassifier
src/main/java/com/zxinsight/classifier/ruleengine/admin/RuleAdministratorImpl.java
Java
apache-2.0
1,738
package trendli.me.makhana.common.entities; import java.util.Arrays; import java.util.Collections; import java.util.List; public enum ActionType { MOVE( "Moving", "newTile" ), FABRICATING( "Fabricating" ); private final String verb; private final List< String > dataKeys; private ActionType( String v...
elliottmb/makhana
common/src/main/java/trendli/me/makhana/common/entities/ActionType.java
Java
apache-2.0
806
/* * Copyright 2014-2015 Nikos Grammatikos * * 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://raw.githubusercontent.com/nikosgram13/OglofusProtection/master/LICENSE * * ...
Oglofus/OglofusProtection
sponge/src/main/java/me/nikosgram/oglofus/protection/OglofusProtectionStaff.java
Java
apache-2.0
16,214
package commons; import org.makagiga.commons.ConfigFile; import org.makagiga.test.AbstractEnumTest; import org.makagiga.test.Test; import org.makagiga.test.TestMethod; import org.makagiga.test.Tester; @Test(className = ConfigFile.Format.class) public final class TestConfigFile_Format extends AbstractEnumTest<ConfigF...
stuffer2325/Makagiga
test/src/commons/TestConfigFile_Format.java
Java
apache-2.0
4,186
package org.apache.rave.portal.service.impl; import org.apache.rave.model.ExcercicesHasTrainingPlan; import org.apache.rave.model.Serie; import org.apache.rave.model.TrainingPlan; import org.apache.rave.portal.repository.ExcercicesHasTrainingPlanRepository; import org.apache.rave.portal.repository.SerieRepository; imp...
lletsica/my_test_repo
rave-components/rave-core/src/main/java/org/apache/rave/portal/service/impl/DefaultTrainingPlanService.java
Java
apache-2.0
2,990
/* =========================================================================== Copyright 2002-2010 Martin Dvorak 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.apach...
dvorka/mindraider
mr7/src/main/java/com/mindcognition/mindraider/ui/swing/trash/TrashJPanel.java
Java
apache-2.0
24,481
package com.fpliu.newton.ui.list; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.GridView; /** * @author 792793182@qq.com 2017-06-30. */ public interface IGrid<T, V extends GridView> extends ICommon<T> { V getGridView(); void setItemAdapte...
leleliu008/Android-List
library/src/main/java/com/fpliu/newton/ui/list/IGrid.java
Java
apache-2.0
688