repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
afs/lizard
lizard-base/src/main/java/lizard/api/TLZ/TLZ_Patch.java
13636
/** * Autogenerated by Thrift Compiler (0.10.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package lizard.api.TLZ; @SuppressWarnings("all") @javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.10.0)", date = "2018-06-17") public class TLZ_Patch implem...
apache-2.0
moosbusch/xbLIDO
src/net/opengis/gml/MultiSurfaceType.java
10068
/* * Copyright 2013 Gunnar Kappei. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/transform/AuthenticationProfileNotFoundExceptionUnmarshaller.java
1678
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
apache-2.0
dimir2/vivanov
part2/ch1/src/test/java/ru/job4j/pro/collections/list/NodeListTest.java
2090
package ru.job4j.pro.collections.list; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * NodeListTest class. * * @author Vladimir Ivanov * @version 0.1 * @since 30.08.2017 */ public class NodeListTest { /** * Test list is not cycled. */...
apache-2.0
zhubinqiang/myTMS
src/test/java/com/intel/media/mts/dao/impl/SoftwareDaoImplTest.java
598
package com.intel.media.mts.dao.impl; import org.junit.Assert; import org.junit.Test; import com.intel.media.mts.dao.DaoTestSupport; import com.intel.media.mts.model.Software; public class SoftwareDaoImplTest extends DaoTestSupport { @Test public void test(){ Software s = new Software(); String name = "Ubuntu...
apache-2.0
cuiqunhao/jeesite
src/main/java/com/thinkgem/jeesite/modules/purifier/dao/WareDao.java
411
package com.thinkgem.jeesite.modules.purifier.dao; import com.thinkgem.jeesite.common.persistence.CrudDao; import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; import com.thinkgem.jeesite.modules.purifier.entity.Ware; /** * 仓库管理dao * * @author addison * @since 2017年03月02日 */ @MyBatisDao public i...
apache-2.0
MKLab-ITI/image-forensics
java_service/src/main/java/gr/iti/mklab/reveal/forensics/util/ThumbnailExtractor/image/jpeg/TIFFHeader.java
3339
/* * @(#)TIFFHeader.java * * $Date: 2014-03-13 04:15:48 -0400 (Thu, 13 Mar 2014) $ * * Copyright (c) 2011 by Jeremy Wood. * All rights reserved. * * The copyright of this software is owned by Jeremy Wood. * You may not use, copy or modify this software, except in * accordance with the license agreement you...
apache-2.0
damico/amanaje
source-code/Amanaje/src/com/amanaje/activities/package-info.java
70
/** * */ /** * @author root * */ package com.amanaje.activities;
apache-2.0
brmson/hub
src/main/java/eu/ailao/hub/dialog/Dialog.java
1699
package eu.ailao.hub.dialog; import eu.ailao.hub.corefresol.answers.ClueMemorizer; import eu.ailao.hub.corefresol.concepts.ConceptMemorizer; import eu.ailao.hub.questions.Question; import java.util.ArrayList; /** * Created by Petr Marek on 24.02.2016. * Dialog class represents dialog. It contains id of dialog and ...
apache-2.0
yahoo/fili
fili-core/src/main/java/com/yahoo/bard/webservice/data/metric/LogicalMetricColumn.java
1271
// Copyright 2016 Yahoo Inc. // Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms. package com.yahoo.bard.webservice.data.metric; /** * LogicalMetricColumn. */ public class LogicalMetricColumn extends MetricColumn { private final LogicalMetric metric...
apache-2.0
imie-source/Ekologia
EkologiaGUI/src/coop/ekologia/presentation/controller/user/LoginDeconnectionServlet.java
1605
package coop.ekologia.presentation.controller.user; import java.io.IOException; import javax.inject.Inject; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRespo...
apache-2.0
Activiti/Activiti
activiti-core/activiti-engine/src/main/java/org/activiti/engine/impl/cmd/CreateAttachmentCmd.java
5884
/* * Copyright 2010-2020 Alfresco Software, Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
apache-2.0
domaframework/doma
doma-core/src/main/java/org/seasar/doma/internal/jdbc/dialect/StandardCountCalculatingTransformer.java
656
package org.seasar.doma.internal.jdbc.dialect; import org.seasar.doma.internal.jdbc.sql.SimpleSqlNodeVisitor; import org.seasar.doma.internal.jdbc.sql.node.AnonymousNode; import org.seasar.doma.jdbc.SqlNode; public class StandardCountCalculatingTransformer extends SimpleSqlNodeVisitor<SqlNode, Void> { protected bo...
apache-2.0
irudyak/ignite
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/LocalWalModeChangeDuringRebalancingSelfTest.java
21207
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
MarcinSzyszka/MobileSecondHand
AndroidStudio_Android/MobileSeconndHand/app/src/main/java/marcin_szyszka/mobileseconndhand/models/RegisterUserModel.java
260
package marcin_szyszka.mobileseconndhand.models; /** * Created by marcianno on 2016-03-02. */ public class RegisterUserModel { public String Email; public String Password; public String ConfirmPassword; public RegisterUserModel(){ } }
apache-2.0
Roma7-7-7/annoconf
src/main/java/org/annoconf/PropertyValueSource.java
173
package org.annoconf; /** * Created by roma on 3/19/17. */ public interface PropertyValueSource { boolean hasValue(String key); String getValue(String key); }
apache-2.0
ldlqdsdcn/wms
core/src/main/java/com/delmar/core/service/CorePageService.java
729
/****************************************************************************** * 版权所有 刘大磊 2013-07-01 * * 作者:刘大磊 * * 电话:13336390671 * * email:ldlqdsd@126.com * ***...
apache-2.0
ArnoHeid/PubApp
geocoder/src/main/java/de/hsmainz/pubapp/geocoder/controller/HttpAPIRequest.java
5824
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...
apache-2.0
storecast/hibernate-delta
src/main/java/com/txtr/hibernatedelta/model/HibernateTable.java
2751
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...
apache-2.0
balajiboggaram/algorithms
src/me/learn/personal/month5/WordBreakable.java
724
/** * */ 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...
apache-2.0
rma350/kidneyExchange
kidneyMatching/src/web/KidneyServerSolver.java
8249
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...
apache-2.0
jaivox/tools
v2/com/jaivox/ui/appmaker/Rule2Fsm.java
4520
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 ...
apache-2.0
ghedlund/opgraph
app/src/main/java/ca/phon/opgraph/app/commands/package-info.java
855
/* * 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,...
apache-2.0
JCERTIFLab/jcertif-android-2013
src/main/java/com/jcertif/android/fragments/SessionListFragment.java
12340
/* * 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...
apache-2.0
soabase/soabase
soabase-core/src/main/java/io/soabase/core/features/attributes/DynamicAttributes.java
2045
/** * 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...
apache-2.0
hotpads/datarouter
datarouter-instrumentation/src/main/java/io/datarouter/instrumentation/trace/Traceparent.java
4663
/* * 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...
apache-2.0
GolvenH/PocketCampus
app/src/main/java/com/bzu/yhd/pocketcampus/bottomnav/user/view/AnimateImageView.java
3350
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 ...
apache-2.0
trasa/aws-sdk-java
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/transform/DeleteAssociationRequestMarshaller.java
3452
/* * 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...
apache-2.0
lingyi2017/wxmp
src/main/java/com/qmx/wxmp/common/web/MediaTypes.java
1306
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...
apache-2.0
PennState/directory-fortress-core-1
src/test/java/org/apache/directory/fortress/core/samples/CreateUserOrgHierarchySample.java
15806
/* * 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...
apache-2.0
LimitPointSystems/SheafSystem
tools/viewer/user/HedgeHogFieldActorPropertiesPanel.java
4423
// // 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 ...
apache-2.0
applicationsky/MyCoolWeather
app/src/main/java/cn/oeaom/CoolWeather/WeatherActivity.java
12783
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...
apache-2.0
JDriven/structurizr-java
structurizr-core/src/com/structurizr/view/View.java
5965
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...
apache-2.0
ruslansennov/vertx-consul-client
src/main/java/io/vertx/ext/consul/Coordinate.java
4253
/* * 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 *...
apache-2.0
Legostaev/xmlsec-gost
src/test/java/org/apache/xml/security/test/dom/transforms/implementations/TransformBase64DecodeTest.java
5574
/** * 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...
apache-2.0
ShawnDongAi/AEASSISTANT
AEAssistant/src/com/zzn/aeassistant/zxing/decoding/FinishListener.java
1311
/* * 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...
apache-2.0
moparisthebest/beehive
beehive-netui-core/src/main/java/org/apache/beehive/netui/util/ParamHelper.java
5988
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
raphaelning/resteasy-client-android
jaxrs/resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/ResteasyUriInfo.java
10699
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...
apache-2.0
wangning82/CabinetMS
src/main/java/com/cabinetms/client/TacticMediaCommand.java
1292
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...
apache-2.0
fuyongde/jason
showcase/src/main/java/com/jason/showcase/lambdas/Lambda.java
342
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...
apache-2.0
cbaenziger/oozie
sharelib/spark/src/main/java/org/apache/oozie/action/hadoop/SparkArgsExtractor.java
22247
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache-2.0
ServicioReparaciones/ServicioReparaciones
ServicioReparaciones-ejb/src/main/java/com/common/dao/BaseDAO.java
2856
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...
apache-2.0
dremio/dremio-oss
sabot/kernel/src/main/java/com/dremio/exec/planner/sql/parser/SqlTruncateTable.java
3280
/* * 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...
apache-2.0
bit-zyl/Alluxio-Nvdimm
core/server/src/test/java/alluxio/StorageTierAssocTest.java
3480
/* * 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...
apache-2.0
parshimers/incubator-asterixdb
asterix-maven-plugins/lexer-generator-maven-plugin/src/main/java/edu/uci/ics/asterix/lexergenerator/rules/RuleAnythingUntil.java
2007
/* * 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...
apache-2.0
WengJunFeng/hackerrank_java
src/main/java/com/netwebx/hackerrank/rpc/client/RpcImporter.java
2053
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. ...
apache-2.0
aol/cyclops
cyclops/src/main/java/com/oath/cyclops/internal/stream/spliterators/push/GroupedByTimeOperator.java
4567
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...
apache-2.0
zhangxx0/Java_Topic_prictice
src/net/tcp/socket/Server.java
1059
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 ...
apache-2.0
HuangLS/neo4j
advanced/management/src/main/java/org/neo4j/management/impl/KernelProxy.java
8016
/* * 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...
apache-2.0
mhus/mhus-inka
de.mhus.hair/hair3/de.mhus.cha.app/src/de/mhus/cha/cao/action/CopyToOperation.java
3411
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....
apache-2.0
ohadshacham/phoenix
phoenix-core/src/main/java/org/apache/phoenix/util/csv/CsvUpsertExecutor.java
10075
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
mrietveld/drools
drools-reteoo/src/main/java/org/drools/reteoo/common/ReteWorkingMemory.java
9985
/* * 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...
apache-2.0
hashiwa000/Elasticsearch-Auth-Plugin
src/jp/hashiwa/elasticsearch/authplugin/AuthRestHandler.java
2877
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.*;...
apache-2.0
s4/core
src/main/java/io/s4/persist/ConMapPersister.java
5403
/* * 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...
apache-2.0
googleapis/java-orchestration-airflow
proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java
23250
/* * 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 ...
apache-2.0
dsukhoroslov/bagri
bagri-server/bagri-server-hazelcast/src/main/java/com/bagri/server/hazelcast/task/schema/SchemaUpdater.java
2552
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...
apache-2.0
caveman-frak/java-core
core-swing/src/test/java/uk/co/bluegecko/core/swing/table/rendering/RenderingHintTest.java
4586
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 ...
apache-2.0
devcon5io/common
cli/src/test/java/io/devcon5/cli/CLIExample.java
1919
/* * 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...
apache-2.0
dbflute-session/lastaflute-test-catalog
src/main/java/org/docksidestage/app/web/product/ProductSearchForm.java
1252
/* * 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...
apache-2.0
liqilun/flora
src/main/java/com/flora/support/VelocityTemplate.java
1644
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...
apache-2.0
lpxz/grail-lucene358684
src/java/org/apache/lucene/search/WildcardTermEnum.java
5708
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....
apache-2.0
ayltai/Foscam-CGI-Client
app/src/main/java/com/github/ayltai/foscam/client/RxBus.java
2141
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...
apache-2.0
googleapis/google-api-java-client-services
clients/google-api-services-retail/v2/1.31.0/com/google/api/services/retail/v2/CloudRetailScopes.java
1411
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
apache-2.0
andriell/craftyfox
src/test/java/com/github/andriell/collection/HashThreeTest.java
2540
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 ...
apache-2.0
rharter/auto-value-moshi
example/src/main/java/com/ryanharter/auto/value/moshi/example/GenericsExample.java
870
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...
apache-2.0
liufeiit/WebMagic
WebMagic/src/test/java/web/magic/jvm/MBeanTyper.java
4284
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....
apache-2.0
N0rp/Snabb
src/main/java/eu/dowsing/kolla/widget/brick/facade/BrickView.java
6215
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...
apache-2.0
taniamahanama/product-msf4j
core/src/main/java/org/wso2/msf4j/ChunkResponder.java
1625
/* * 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...
apache-2.0
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
796
/* * 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...
apache-2.0
Jackygq1982/hbase_src
hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
167470
/** * * 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"); ...
apache-2.0
phambryan/dropwizard
dropwizard-jetty/src/test/java/io/dropwizard/jetty/HttpConnectorFactoryTest.java
12103
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...
apache-2.0
david-romero/Pachanga
src/main/java/com/p/service/UsersService.java
5489
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...
apache-2.0
halentest/solr
solr/core/src/test/org/apache/solr/cloud/ShardSplitTest.java
11050
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 ...
apache-2.0
SoftwareKing/zstack
header/src/main/java/org/zstack/header/identity/APICreatePolicyMsg.java
1059
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...
apache-2.0
akira-baruah/bazel
src/main/java/com/google/devtools/build/lib/profiler/memory/AllocationTracker.java
14364
// 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...
apache-2.0
m-m-m/service
base/src/main/java/net/sf/mmm/service/base/client/RemoteInvocationCallData.java
2216
/* 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...
apache-2.0
dzh/jframe
jframe/jframe-core/src/main/java/jframe/core/plugin/PluginListener.java
244
/** * */ 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); }
apache-2.0
GillesMoris/OSS
src/org/parosproxy/paros/view/AbstractFrame.java
10722
/* * 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...
apache-2.0
cgtz/ambry
ambry-mysql/src/integration-test/java/com/github/ambry/accountstats/AccountStatsMySqlStoreIntegrationTest.java
46523
/** * 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...
apache-2.0
dbe-it/webtester-core
webtester-support-assertj/src/test/java/info/novatec/testit/webtester/support/assertj/RadioButtonAssertTest.java
1213
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...
apache-2.0
jt120/algorithm
new-man/src/test/java/com/jt/test/sort/Select.java
1378
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++) { ...
apache-2.0
jexp/idea2
plugins/groovy/test/org/jetbrains/plugins/groovy/lang/actions/updown/GroovyMoveStatementTest.java
4349
/* * 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 ...
apache-2.0
gabedwrds/cas
support/cas-server-support-reports/src/main/java/org/apereo/cas/web/report/ConfigurationStateController.java
1890
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...
apache-2.0
lukecampbell/webtest
src/main/java/com/canoo/ant/table/APropertyTable.java
8495
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...
apache-2.0
looker-open-source/java-spanner
google-cloud-spanner/src/main/java/com/google/cloud/spanner/AbstractResultSet.java
50481
/* * 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...
apache-2.0
JonathanWalsh/Granule-Closure-Compiler
test/com/google/javascript/jscomp/SpecializeModuleTest.java
16009
/* * 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...
apache-2.0
evant/timesync
lib/src/main/java/me/tatarka/timesync/lib/TimeSyncProxy.java
2035
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...
apache-2.0
subchen/jetbrick-template-1x
src/main/java/jetbrick/template/resource/SourceCodeResource.java
1866
/** * 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 ...
apache-2.0
jim-minter/ose3-demos
git/monster/src/main/java/org/jboss/examples/ticketmonster/model/Venue.java
4603
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...
apache-2.0
aiyanbo/guava
guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
4293
/* * 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...
apache-2.0
palecur/elasticsearch
core/src/test/java/org/elasticsearch/action/support/master/TransportMasterNodeActionTests.java
16875
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
apache-2.0
hurricup/intellij-community
platform/platform-api/src/com/intellij/ui/components/JBScrollPane.java
33437
/* * 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...
apache-2.0
gzxishan/OftenPorter
Porter-Core/src/main/java/cn/xishan/oftenporter/porter/core/init/DealSharpProperties.java
8870
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...
apache-2.0
DBCDK/kafka-dispatch
src/main/java/dk/dbc/kafka/dispatch/sources/InputStreamSource.java
818
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...
apache-2.0
robjcaskey/Unofficial-Coffee-Mud-Upstream
com/planet_ink/coffee_mud/Commands/Go.java
16256
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...
apache-2.0
consulo/consulo
modules/base/platform-impl/src/main/java/com/intellij/ide/plugins/LabelPopup.java
2225
/* * 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 ...
apache-2.0
support-project/knowledge
src/main/java/org/support/project/knowledge/vo/notification/webhook/WebhookLongIdJson.java
119
package org.support.project.knowledge.vo.notification.webhook; public class WebhookLongIdJson { public long id; }
apache-2.0
uni2u/iNaaS
Torpedo/src/etri/sdn/controller/module/vxlanflowmapper/Tester.java
1831
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...
apache-2.0
tupilabs/nebular
src/test/java/fuzzy/internal/functions/TestMax.java
1371
/* * 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...
apache-2.0
hibernate/hibernate-semantic-query
src/test/java/org/hibernate/orm/type/descriptor/sql/internal/JdbcLiteralFormatterTemporal.java
2399
/* * 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...
apache-2.0