code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
package zoara.sfs2x.extension.db; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.List; import zoara.sfs2x.extension.simulation.ActivePlayer; import zoara.sfs2x.extension.simulation.World; im...
xiehan/zoara-server
src/zoara/sfs2x/extension/db/ItemDBHandler.java
Java
apache-2.0
14,098
package org.nohope.serialization.streams; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.commons.io.IOUtils; import javax.annotation.Nonnull; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Serializable; /** * @author <a href="mailto:ketoth....
no-hope/java-toolkit
projects/serialization/src/main/java/org/nohope/serialization/streams/JsonProvider.java
Java
apache-2.0
1,218
/* * Copyright 2014 Authlete, 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 ...
authlete/authlete-java-sample-server
src/main/java/com/authlete/sample/server/api/auth/Authorizer.java
Java
apache-2.0
4,401
package net.erel.maven.plugins.mojo; import net.erel.maven.plugins.service.bugtracking.BugTrackingServiceFactory; import net.erel.maven.plugins.service.bugtracking.BugTrackingServiceFactoryDefault; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugins.annotations.Component; import org.apache.ma...
nherbaut/erel-maven-plugin
src/main/java/net/erel/maven/plugins/mojo/PGXAbstractMojo.java
Java
apache-2.0
3,677
/* * Copyright (C) 2013 Brian Muramatsu * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
btmura/rbb
src/com/btmura/android/reddit/app/Controller.java
Java
apache-2.0
1,071
/* * Copyright 2018 The GraphicsFuzz Project Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
google/graphicsfuzz
reducer/src/test/java/com/graphicsfuzz/reducer/reductionopportunities/ExprToConstantReductionOpportunitiesTest.java
Java
apache-2.0
8,404
/* * Copyright 2012-2022 The Feign 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 agreed...
OpenFeign/feign
core/src/main/java/feign/Request.java
Java
apache-2.0
13,410
package com.dianping.zebra.administrator.config; import com.dianping.zebra.util.StringUtils; import org.apache.zookeeper.*; import org.apache.zookeeper.data.Stat; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; /** * Created by taochen on 2018/10/28. */ public class ZookeeperSe...
dianping/zebra
zebra-admin-web/src/main/java/com/dianping/zebra/administrator/config/ZookeeperService.java
Java
apache-2.0
3,454
/* * 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 com.dinglicom.dispatch.domain; import com.dinglicom.frame.sys.domain.BaseMsgBean; import java.util.List; /** * 送奶工任务查询结果 *...
pzjack/webframe
src/main/java/com/dinglicom/dispatch/domain/DispathingTaskResp.java
Java
apache-2.0
1,015
/* * 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 ...
steschw/bpmn-simulator
animation/src/main/java/com/googlecode/bpmn_simulator/animation/ref/CastReference.java
Java
apache-2.0
1,599
package com.github.davidmoten.fsm.example.shop.catalog; import com.github.davidmoten.bean.annotation.GenerateImmutable; import com.github.davidmoten.fsm.runtime.Event; @GenerateImmutable public class Create implements Event<Catalog> { String catalogId; String name; }
davidmoten/state-machine
state-machine-example-shopping-definition/src/main/java/com/github/davidmoten/fsm/example/shop/catalog/Create.java
Java
apache-2.0
280
package activity.example.yuan.cn.exampletools.utils; import android.annotation.SuppressLint; import android.content.ContentUris; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.Build; import android.os.Environment; import android.provider.DocumentsCont...
adjack/ExampleTools
app/src/main/java/activity/example/yuan/cn/exampletools/utils/ContentUtil.java
Java
apache-2.0
5,378
package org.jrd3.editor; import org.joml.Vector3f; import org.jrd3.editor.gui.*; import org.jrd3.engine.playenv.interaction.CamView; import org.jrd3.engine.playenv.interaction.map.PathsMap; import org.jrd3.engine.playenv.interaction.map.Sector; import org.jrd3.engine.playenv.interaction.map.ViewMap; import org.jrd3.e...
Ray1184/JRD3_Project
JRD3_Tools/src/main/java/org/jrd3/editor/Editor.java
Java
apache-2.0
10,295
package com.dutproject.cinemaproject.controller; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.dutproject.cinemaproject.model.bean.Account; /** * ...
sontx/da-cnpm
CinemaProject/src/com/dutproject/cinemaproject/controller/LoginFormServlet.java
Java
apache-2.0
876
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
gbif/parsers
src/main/java/org/gbif/common/parsers/utils/ClassificationUtils.java
Java
apache-2.0
6,512
package poussecafe.attribute.entity; import java.util.Objects; import java.util.function.Consumer; import java.util.function.Supplier; import poussecafe.domain.Entity; import poussecafe.domain.EntityAttributes; public class SingleEntityAttributeBuilder<D extends EntityAttributes<?>, E extends Entity<?, D>, F extends ...
pousse-cafe/pousse-cafe
pousse-cafe-core/src/main/java/poussecafe/attribute/entity/SingleEntityAttributeBuilder.java
Java
apache-2.0
1,872
package org.openqa.grid.e2e.misc; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import org.apache.http.HttpHost; import org.apache.http.HttpRequest; import org.apache.http.HttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHtt...
akiellor/selenium
java/server/test/org/openqa/grid/e2e/misc/Grid1HeartbeatTests.java
Java
apache-2.0
2,868
/* * Copyright 2016 Ratha Long * * 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...
rlon008/testamation
testamation-core/src/main/java/nz/co/testamation/core/reader/SelectRows.java
Java
apache-2.0
1,651
/** * 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...
vergilchiu/hive
beeline/src/java/org/apache/hive/beeline/IncrementalRowsWithNormalization.java
Java
apache-2.0
2,991
/* * Copyright 2012-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
cedac-software/spring-security-mongodb
src/test/java/com/cedac/security/oauth2/provider/token/store/TokenStoreBaseTests.java
Java
apache-2.0
13,183
package org.apache.hadoop.tools.posum.common.util; import org.apache.commons.lang.WordUtils; import java.beans.IntrospectionException; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Meth...
an3m0na/hadoop
hadoop-tools/hadoop-posum/src/main/java/org/apache/hadoop/tools/posum/common/util/GeneralUtils.java
Java
apache-2.0
5,199
/* * 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-medialive/src/main/java/com/amazonaws/services/medialive/model/InputSource.java
Java
apache-2.0
6,848
package org.getopt.luke.decoders; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.TreeMap; import org.apache.lucene.document.Field; import org.apache.solr.schema.FieldType; import org.getopt.luke.ClassFinder; public class SolrDecoder implements Decoder { priva...
neilireson/luke
src/main/java/org/getopt/luke/decoders/SolrDecoder.java
Java
apache-2.0
2,243
/* * Copyright 2019 ThoughtWorks, 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 agr...
jyotisingh/gocd
server/src/test-integration/java/com/thoughtworks/go/server/dao/AccessTokenSqlMapDaoIntegrationTest.java
Java
apache-2.0
3,919
package org.togglz.core.repository.jdbc; import org.h2.jdbcx.JdbcConnectionPool; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mockito; import org.togglz.core.Feature; import org.togglz.core.repository.FeatureState; import org.togglz.core.repository.util.DefaultMapSeria...
togglz/togglz
core/src/test/java/org/togglz/core/repository/jdbc/JDBCStateRepositoryTest.java
Java
apache-2.0
9,068
/* * Copyright Terracotta, 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 ...
mathieucarbou/terracotta-platform
offheap-resource/src/test/java/org/terracotta/offheapresource/OffHeapResourceTest.java
Java
apache-2.0
2,468
package org.scribble.codegen.java.endpointapi.ioifaces; import java.util.Map; import org.scribble.codegen.java.endpointapi.StateChannelApiGenerator; import org.scribble.codegen.java.util.InterfaceBuilder; import org.scribble.main.ScribbleException; import org.scribble.model.endpoint.EState; import org.scribble.model....
scribble/scribble.github.io
src/main/jbake/assets/docs/scribble/modules/core/src/main/java/org/scribble/codegen/java/endpointapi/ioifaces/SelectInterfaceGenerator.java
Java
apache-2.0
874
/** * 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...
cloudera/avro
lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java
Java
apache-2.0
21,455
package com.easycodebox.common.enums.entity; import com.easycodebox.common.enums.DetailEnum; public enum ProjectEnv implements DetailEnum<String> { DEFAULT("DEFAULT", "私有环境"), //私人本地开发环境 DEV("DEV", "开发环境"), TEST("TEST", "测试环境"), PRE("PRE", "预发环境"), PROD("PROD", "生产环境"); private final String valu...
easycodebox/easycode
easycode-common/src/main/java/com/easycodebox/common/enums/entity/ProjectEnv.java
Java
apache-2.0
693
package com.example.locationget.service; import android.app.Service; import android.content.Intent; import android.content.SharedPreferences; import android.os.Handler; import android.os.IBinder; import android.preference.PreferenceManager; import android.support.annotation.IntDef; import com.baidu.location.BDLocatio...
changyuan95/LocationGet
app/src/main/java/com/example/locationget/service/LocateService.java
Java
apache-2.0
3,640
package com.fishercoder; import com.fishercoder.solutions._174; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.assertEquals; public class _174Test { private static _174.Solution1 solution1; private int[][] dungeon; @BeforeClass public static void setup() { solution1 ...
fishercoder1534/Leetcode
src/test/java/com/fishercoder/_174Test.java
Java
apache-2.0
643
package decorator_assignment; import java.util.ArrayList; import java.util.Scanner; import interfaces.Receipt; public class Client { @SuppressWarnings({ "unchecked", "null", "resource" }) public static void main(String[] args){ Scanner in=new Scanner(System.in); PurchasedItems items = null; Rec...
mleroy26/Cosc436_DecoratorAssignment
src/decorator_assignment/Client.java
Java
apache-2.0
1,602
/* * Copyright 2016 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 a...
googlearchive/science-journal
OpenScienceJournal/whistlepunk_library/src/mockclasses/java/com/google/android/apps/forscience/whistlepunk/api/scalarinput/TestSensorDiscoverer.java
Java
apache-2.0
5,781
/* * Copyright 2015 Clinical Personalized Pragmatic Predictions of Outcomes. * * 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...
Clinical3PO/Platform
dev/c3po-angularjs-visualization/rule/src/main/java/org/clinical3po/backendservices/rule/dependency/AddDependencyRule.java
Java
apache-2.0
4,898
/* * 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...
moosbusch/xbLIDO
src/org/w3/x2001/smil20/impl/RestartTimingTypeImpl.java
Java
apache-2.0
1,267
package org.easyarch.slardar.session.impl; import org.easyarch.slardar.cache.ProxyCache; import org.easyarch.slardar.cache.factory.ProxyCacheFactory; import org.easyarch.slardar.jdbc.exec.AbstractExecutor; import org.easyarch.slardar.jdbc.handler.BaseTypeResultSetHandler; import org.easyarch.slardar.jdbc.handler.BeanL...
rpgmakervx/slardar
src/main/java/org/easyarch/slardar/session/impl/MapperDBSession.java
Java
apache-2.0
2,969
/* * Copyright (c) 2015 Aysenur Bilgin */ /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package fcc; import fuzzylogic.generic.Resource; import fuzzylogic.generic.Tuple; import java.io.Serializable; import java.util.ArrayList; import java.util.Iterator; import j...
aysenurbilgin/cww_framework
src/fcc/FCCResource.java
Java
apache-2.0
13,282
package com.communote.server.core.user; import java.io.Serializable; import java.util.HashMap; import java.util.Locale; import com.communote.server.model.user.UserName; import com.communote.server.model.user.UserStatus; /** * Details of a user * * @author Communote GmbH - <a href="http://www.communote...
Communote/communote-server
communote/persistence/src/main/java/com/communote/server/core/user/UserProfileDetails.java
Java
apache-2.0
5,701
/* * 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 ...
yanzhijun/jclouds-aliyun
apis/ecs/src/main/java/org/jclouds/ecs/EcsApi.java
Java
apache-2.0
2,056
package com.terradue.warhol.client.cli; /* * Copyright 2011-2012 Terradue srl * * 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...
Terradue/warhol
client/cli/src/main/java/com/terradue/warhol/client/cli/Warhol.java
Java
apache-2.0
10,028
/* * Copyright 2000-2009 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...
jexp/idea2
java/compiler/impl/src/com/intellij/compiler/impl/CompileContextImpl.java
Java
apache-2.0
14,668
/* * Copyright 2006-2016 Edward Smith * * 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...
macvelli/RootFramework
src/root/lang/reflect/StaticPrimitiveField.java
Java
apache-2.0
3,554
package com.example.darsh.model; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import java.util.ArrayList; /** * Created by darshan on 9/6/16. */ public class MovieReviews { @Expose @SerializedName("page") private int page; @Expose @SerializedNam...
darsh2/PopularMovies
app/src/main/java/com/example/darsh/model/MovieReviews.java
Java
apache-2.0
1,226
/******************************************************************************* * Copyright 2015 InfinitiesSoft Solutions 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 * * ...
infinitiessoft/keystone4j
keystone4j-commons/src/main/java/com/infinities/keystone4j/ssl/Base64Verifier.java
Java
apache-2.0
3,815
/* * Copyright 2015 Entwine AG, Switzerland * * 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 o...
entwinemedia/functional
src/main/java/com/entwinemedia/fn/data/AbstractImmutableSetBuilder.java
Java
apache-2.0
983
/* * 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 ...
mafulafunk/wicket
wicket-core/src/main/java/org/apache/wicket/markup/html/include/Include.java
Java
apache-2.0
6,435
package com.shanlin.sltableview.fragment.bean; /** * Created by Shanlin on 2017/3/15. */ public class DateSelectorBean extends CellBaseBean { private int icon; private String content; private String date; public DateSelectorBean() { super(CellType.CELL_TYPE_DATE_SELECTOR); } public...
xiaoshanlin000/SLTableView
app/src/main/java/com/shanlin/sltableview/fragment/bean/DateSelectorBean.java
Java
apache-2.0
812
package ru.evgenyhodz; import java.util.Calendar; import java.util.Date; /** * Класс содержит основные методы расчетов страховых платежей. * С примерами расчетов можно ознакомиться на сайте: ipipip.ru * <p> * Class contains basic methods to calculate insurance payments to: * 1. Federal Compulsory Medical Insuran...
alittlemind/TaxesCalculator
src/main/java/ru/evgenyhodz/CalculateTax.java
Java
apache-2.0
12,092
/* * 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...
naver/ngrinder
ngrinder-controller/src/main/java/org/ngrinder/region/service/RegionService.java
Java
apache-2.0
6,162
/** * Copyright 2015 Peter Nerg * * 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...
pnerg/simple-pool
src/main/java/simplepool/PoolImpl.java
Java
apache-2.0
5,386
/* * Copyright 2015-2016 Eurocommercial Properties NV * * 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 ...
incodehq/contactapp
backend/app/src/main/java/org/incode/eurocommercial/contactapp/app/fixture/scenarios/DemoFixture.java
Java
apache-2.0
3,058
/* * 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 ...
firejack-open/Firejack-Platform
platform/src/main/java/net/firejack/platform/core/store/version/UIDStore.java
Java
apache-2.0
5,531
/* * Copyright (C) 2018 Satomichi Nishihara * * 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...
BURAI-team/burai
src/burai/atoms/viewer/operation/mouse/MouseEventEditorMenu.java
Java
apache-2.0
1,564
/** * . */ /** * @author Myk Kolisnyk * */ package com.github.mkolisnyk.aerial.core.templates;
mkolisnyk/aerial
aerial/src/main/java/com/github/mkolisnyk/aerial/core/templates/package-info.java
Java
apache-2.0
100
/* * 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/main/java/io/appium/java_client/ios/options/simulator/SupportsCalendarAccessAuthorizedOption.java
Java
apache-2.0
2,264
/* * Copyright 2016-2017 Testify Project. * * 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...
testify-project/testify
modules/junit4/junit4-core/src/test/java/org/testifyproject/junit4/VerifyInteractionTest.java
Java
apache-2.0
1,938
package io.quarkus.panache.common.deployment.visitors; import static io.quarkus.deployment.util.AsmUtil.getDescriptor; import static io.quarkus.deployment.util.AsmUtil.getLoadOpcode; import static io.quarkus.deployment.util.AsmUtil.getSignature; import static io.quarkus.deployment.util.AsmUtil.unboxIfRequired; import ...
quarkusio/quarkus
extensions/panache/panache-common/deployment/src/main/java/io/quarkus/panache/common/deployment/visitors/KotlinPanacheClassOperationGenerationVisitor.java
Java
apache-2.0
25,618
package net.catchpole.B9.math; import net.catchpole.B9.spacial.Location; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class LocationHistory implements Iterable<Location> { private List<Location> list = new ArrayList<Location>(); private final int capasity; public ...
slipperyseal/B9
src/main/java/net/catchpole/B9/math/LocationHistory.java
Java
apache-2.0
637
/** * 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...
RaghavendraSingh/lens
lens-client/src/main/java/org/apache/lens/client/jdbc/LensJdbcStatement.java
Java
apache-2.0
9,775
package org.daisy.dotify.hyphenator.impl; import java.io.IOException; import java.net.URL; import java.util.HashMap; import java.util.Map; import java.util.Properties; import java.util.logging.Logger; import org.daisy.dotify.api.hyphenator.HyphenatorConfigurationException; class CWHyphenatorCore { private static CW...
daisy/pipeline-issues
libs/dotify/dotify.hyphenator.impl/src/org/daisy/dotify/hyphenator/impl/CWHyphenatorCore.java
Java
apache-2.0
1,820
package org.hyperimage.client.image; import java.awt.Dimension; import java.awt.image.BufferedImage; import java.io.IOException; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.logging.Level; import java.util.logging.Logger; import org.imgscalr.Scalr; im...
DAASI/HyperImage3
HIImage/src/main/java/org/hyperimage/client/image/HiImageImplDigilib.java
Java
apache-2.0
2,276
package com.bbva.kltt.apirest.core.generator.velocity; import org.junit.Test; /** * ------------------------------------------------ * @author Francisco Manuel Benitez Chico * ------------------------------------------------ */ public class VelocityManagerTest { @Test public void fullTest() { V...
BBVA-CIB/APIRestGenerator
core/src/test/java/com/bbva/kltt/apirest/core/generator/velocity/VelocityManagerTest.java
Java
apache-2.0
357
/** * 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...
neoramon/camel
components-starter/camel-atom-starter/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java
Java
apache-2.0
1,887
/* * 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/dse/driver/internal/core/insights/schema/Insight.java
Java
apache-2.0
1,557
/** * 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...
pinterest/pinlater
src/main/java/com/pinterest/pinlater/example/PinLaterExampleWorker.java
Java
apache-2.0
8,243
/** * 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...
coderplay/redpoll
core/src/java/redpoll/clusterer/canopy/Canopy.java
Java
apache-2.0
6,785
package com.springinaction.springidol; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.springframework.beans.factory.annotation.Qualifier; @Target({ElementType.FIELD, ElementType.PAR...
alien6u/spring-in-action-learning
src/com/springinaction/springidol/StringedInstrument.java
Java
apache-2.0
462
/* * Copyright 2012-2018 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...
bclozel/initializr
initializr-generator/src/test/java/io/spring/initializr/generator/ProjectGeneratorTests.java
Java
apache-2.0
35,659
package com.somnusdear.coolweather.gson; import com.google.gson.annotations.SerializedName; /** * Created by Administrator on 2017/9/4. */ public class Basic { @SerializedName("city") public String cityName; @SerializedName("id") public String weatherId; public Update update; public class...
somnusdear/coolweather
app/src/main/java/com/somnusdear/coolweather/gson/Basic.java
Java
apache-2.0
402
package com.vagabondlab.costanalyzer; import java.sql.SQLException; import java.util.List; import org.joda.time.DateTime; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; import android.annotation.SuppressLint; import android.app.ProgressDialog; import android.content.Intent...
kuvic16/CostAnalyzer
src/com/vagabondlab/costanalyzer/MonthlyReportActivity.java
Java
apache-2.0
11,524
package uk.co.vurt.hakken.security.auth; /** * Test authenticator that does not rely on any external infrastructure * * User will always be authenticated, regardless of credentials passed. * */ public class AllowAlwaysAuthenticator implements Authenticator { public boolean authenticate(String username, String ...
gilesp/taskhelper
hakken-server/src/main/java/uk/co/vurt/hakken/security/auth/AllowAlwaysAuthenticator.java
Java
apache-2.0
407
/* * Copyright 2013 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 i...
Rimbit/rimbitj
core/src/main/java/com/rimbit/rimbit/crypto/TransactionSignature.java
Java
apache-2.0
7,938
/* * 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-accesscontextmanager
proto-google-identity-accesscontextmanager-v1/src/main/java/com/google/identity/accesscontextmanager/v1/UpdateAccessPolicyRequest.java
Java
apache-2.0
34,451
package com.clockwork.light; import com.clockwork.export.*; import com.clockwork.scene.Spatial; import com.clockwork.util.SortUtil; import java.io.IOException; import java.util.*; /** * LightList is used internally by Spatial}s to manage * lights that are attached to them. * */ public final class LightList impl...
PlanetWaves/clockworkengine
branches/3.0/engine/src/core/com/clockwork/light/LightList.java
Java
apache-2.0
8,354
// (c) 2104 Don Coleman // // 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 writin...
chendong0120/com.heytz.ble
src/android/heytzBle/HeytzUUIDHelper.java
Java
apache-2.0
1,718
/* * 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/sabot/op/join/hash/HashJoinProbe.java
Java
apache-2.0
2,680
package io.swagger.codegen.swaggeryaml; import io.swagger.codegen.AbstractOptionsTest; import io.swagger.codegen.CodegenConfig; import io.swagger.codegen.languages.SwaggerYamlGenerator; import io.swagger.codegen.options.SwaggerYamlOptionsProvider; import mockit.Expectations; import mockit.Tested; public class Swagge...
hasithalakmal/RIP
RIP_API/Swagger_REST_API/modules/swagger-codegen/src/test/java/io/swagger/codegen/swaggeryaml/SwaggerYamlOptionsTest.java
Java
apache-2.0
912
/* * 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...
dadarom/dubbo
dubbo-rpc/dubbo-rpc-rmi/src/test/java/com/alibaba/dubbo/rpc/protocol/rmi/Type.java
Java
apache-2.0
911
// ======================================================================== // Copyright (c) 2006-2009 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the terms of th...
mabrek/jetty
jetty-plus/src/main/java/org/eclipse/jetty/plus/webapp/PlusDecorator.java
Java
apache-2.0
5,551
/* * 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-robomaker/src/main/java/com/amazonaws/services/robomaker/model/transform/DescribeSimulationApplicationRequestProtocolMarshaller.java
Java
apache-2.0
2,864
/* * Copyright (C) 2008 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...
czmao/QRCard
qrcard_android/src/com/zxing/LocaleManager.java
Java
apache-2.0
7,109
package net.jp2p.builder.context; import java.io.IOException; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.net.URL; import java.util.ArrayList; import java.util.Collection; import java.util.Enumeration; import java.util.logging.Level; import java.util....
chaupal/jp2p
Workspace/net.jp2p.builder/src/net/jp2p/builder/context/Jp2pServiceManager.java
Java
apache-2.0
9,091
package controllers; import java.io.*; import java.util.LinkedList; import java.util.List; import javax.servlet.*; import javax.servlet.http.*; import models.User; public class UserEditController extends HttpServlet { private static String newTitle = "New user"; private static String editTitle = "Edit user";...
motivecodex/Java
Web Hibernate Simple Usersystem/src/main/java/controllers/UserEditController.java
Java
apache-2.0
4,380
/** * 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...
iVCE/RDFS
src/core/org/apache/hadoop/fs/FsShell.java
Java
apache-2.0
80,667
/* * 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 ...
GoogleCloudPlatform/dataflow-sample-applications
timeseries-streaming/timeseries-java-applications/Adapters/src/main/java/com/google/dataflow/sample/timeseriesflow/adaptors/domain/BlendedIndex.java
Java
apache-2.0
6,622
/* ### * IP: GHIDRA * * 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 writin...
NationalSecurityAgency/ghidra
Ghidra/Debug/Framework-Debugging/src/main/java/ghidra/dbg/util/PathPredicates.java
Java
apache-2.0
9,949
package jforgame.server.cross.core.client; import jforgame.common.thread.NamedThreadFactory; import jforgame.server.cross.core.callback.CallBackService; import jforgame.server.cross.core.callback.CallTimeoutException; import jforgame.server.cross.core.callback.G2FCallBack; import jforgame.server.cross.core.callback.Re...
kingston-csj/jforgame
jforgame-server/src/main/java/jforgame/server/cross/core/client/CrossTransportManager.java
Java
apache-2.0
4,598
package com.example.easeweather.gson; import com.google.gson.annotations.SerializedName; /** * Created by ZS_PC on 2017/10/12. */ public class Suggestion { @SerializedName("comf") public Comfort comfort; @SerializedName("cw") public CarWash carWash; public Sport sport; public class Comfort...
StartFlow/easeweather
app/src/main/java/com/example/easeweather/gson/Suggestion.java
Java
apache-2.0
571
package com.gps.sweeprobot; import android.app.Activity; import android.os.Bundle; import android.service.carrier.CarrierIdentifier; import android.support.annotation.IdRes; import android.support.annotation.Nullable; import android.view.View; import android.widget.Button; import android.widget.RadioButton; import and...
ZhouKanZ/SweepRobot
app/src/main/java/com/gps/sweeprobot/TestActivity.java
Java
apache-2.0
5,012
package au.gov.amsa.util; public class Pair<T, S> { private final T a; private final S b; public Pair(T a, S b) { this.a = a; this.b = b; } public static <T, S> Pair<T, S> create(T t, S s) { return new Pair<T, S>(t, s); } public T a() { return a; } ...
amsa-code/risky
risky-util/src/main/java/au/gov/amsa/util/Pair.java
Java
apache-2.0
757
/* * Copyright 2012-2017 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...
dagnir/aws-sdk-java
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/AgentsAlreadyRunningAssessmentException.java
Java
apache-2.0
5,478
/* * Copyright 2012-2017 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...
dagnir/aws-sdk-java
aws-java-sdk-lexmodelbuilding/src/main/java/com/amazonaws/services/lexmodelbuilding/model/transform/GetIntentResultJsonUnmarshaller.java
Java
apache-2.0
6,351
/* * Copyright 2000-2009 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...
jexp/idea2
java/java-impl/src/com/intellij/codeInsight/completion/StaticMembersWeigher.java
Java
apache-2.0
2,152
/* * 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 ...
google/intellij-protocol-buffer-editor
core/src/main/java/com/google/devtools/intellij/protoeditor/lang/annotation/OptionOccurrenceTracker.java
Java
apache-2.0
19,115
/* * Copyright 2017 StreamSets 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...
z123/datacollector
spark-executor-protolib/src/main/java/com/streamsets/datacollector/pipeline/executor/spark/ClusterManagerChooserValues.java
Java
apache-2.0
896
/** * Copyright 2014-present topoos * * 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...
topoos/topoos_sdk_android
src/topoos/APIAccess/Results/SocialRelationshipCounterResult.java
Java
apache-2.0
3,213
package compiler.ast; public class HexLiteral extends Node { private String value; public HexLiteral(String v) { this.value = v; } public String getType() { return "hex"; } public void print() { this.print(""); } public void print(String padding) { System.out.println...
baquiax/Compiler
cc4/compiler/ast/HexLiteral.java
Java
apache-2.0
375
/* * ==================================================================== * 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 ...
ok2c/httpclient
httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/FileResource.java
Java
apache-2.0
3,665
/** * 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-bindy/src/test/java/org/apache/camel/dataformat/bindy/model/complex/twoclassesandonelink/Client.java
Java
apache-2.0
1,953
package com.qding.community.common.weixin.vo.template.message; import java.io.Serializable; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.qding.community.common.weixin.vo.template.CommonTemplate; import com.qding.community.common.weixin.vo....
magenm/bsming
bsming/common/wx-lib/src/main/java/com/qding/community/common/weixin/vo/template/message/CSNotificationsChanges.java
Java
apache-2.0
1,868