code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
/* * Copyright 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-config/src/main/java/com/amazonaws/services/config/AbstractAmazonConfigAsync.java
Java
apache-2.0
27,529
package br.com.rbg.pedidovenda.service; import java.io.Serializable; import javax.inject.Inject; import br.com.rbg.pedidovenda.model.Pedido; import br.com.rbg.pedidovenda.model.StatusPedido; import br.com.rbg.pedidovenda.repository.Pedidos; import br.com.rbg.pedidovenda.util.jpa.Transactional; public class EmissaoP...
renatobarata/PedidoVenda
src/main/java/br/com/rbg/pedidovenda/service/EmissaoPedidoService.java
Java
apache-2.0
1,003
/* * 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-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/transform/PutTargetsResultEntryJsonUnmarshaller.java
Java
apache-2.0
3,324
package ru.avelikorechin.chess.figures; import ru.avelikorechin.chess.Board; import ru.avelikorechin.chess.Cell; import ru.avelikorechin.chess.exceptions.ImpossibleMoveException; /** * Class describes King figure logic. * @author Alexander Velikorechin * @since 13.04.2017 */ public class King extends Figure { ...
Mofin52/java_education
chapter_002/src/main/java/ru/avelikorechin/chess/figures/King.java
Java
apache-2.0
2,090
package ru.bank; /** * Created by nik on 4/7/2017. */ public class User { /** * Name of user. */ private String name; /** * User`s passport. */ private String passport; /** * Constructor. * @param name - name. * @param passport - passport. ...
nik1202/EduProject
chapter_005/src/main/java/ru/bank/User.java
Java
apache-2.0
892
/* * */ package net.community.chest.jinterop.winreg; import net.community.chest.lang.EnumUtil; import org.jinterop.winreg.IJIWinReg; /** * <P>Copyright GPLv2</P> * * <P>Encapsulate registry entry type(s) as {@link Enum}-s</P> * @author Lyor G. * @since May 19, 2009 12:24:38 PM */ public enum RegEntryType { ...
lgoldstein/communitychest
chest/3rd-party/jinterop/core/src/main/java/net/community/chest/jinterop/winreg/RegEntryType.java
Java
apache-2.0
1,750
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
ecarm002/incubator-asterixdb
asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/aggregates/std/IntermediateSqlStddevAggregateDescriptor.java
Java
apache-2.0
2,649
/* * 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 applicable law...
mgumiero9/Tazo
auth/src/main/java/com/firebase/ui/auth/ui/AppCompatBase.java
Java
apache-2.0
1,307
// Copyright (C) 2021 The Android Open Source 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 ...
GerritCodeReview/plugins_replication
src/test/java/com/googlesource/gerrit/plugins/replication/DestinationConfigurationTest.java
Java
apache-2.0
3,328
/* * Copyright 2012-2013 inBloom, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
inbloom/secure-data-service
sli/modeling/xdm/src/test/java/org/slc/sli/modeling/xdm/DmNamespaceTest.java
Java
apache-2.0
1,510
/* * Copyright (C) 2016 Intel 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 law or...
android-art-intel/Nougat
art-extension/opttests/src/OptimizationTests/ShortMethodsInliningNonVirtualInvokes/InvokeSuperAObjectThrowNullSet_002/Test.java
Java
apache-2.0
1,106
package com.amplifino.nestor.transaction; import org.osgi.annotation.versioning.ProviderType; /** * An AutoClosable that wraps a UserTransaction * */ @ProviderType public interface TransactionContext extends AutoCloseable { /** * commits the transaction */ void commit(); /** * close() wi...
Amplifino/nestor
com.amplifino.nestor.transaction/src/com/amplifino/nestor/transaction/TransactionContext.java
Java
apache-2.0
416
package testlib.scope; public class ClassScopeChange { // public class is unchanged public static class A1 {} // public class becomes protected public static class A2 {} // public class becomes package public static class A3 {} // public class becomes private public static class ...
lukegb/clirr
core/src/testinput/testlib-v1/testlib/scope/ClassScopeChange.java
Java
apache-2.0
1,416
package io.vertx.codegen.testmodel; import io.vertx.codegen.annotations.VertxGen; import io.vertx.core.AsyncResult; import io.vertx.core.Handler; import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import java.util.List; import java.util.Map; import java.util.Set; /** * @author <a href="mailt...
vert-x3/vertx-codegen
src/tck/java/io/vertx/codegen/testmodel/CollectionTCK.java
Java
apache-2.0
7,319
package com.jh.app_food.dao.impl; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import javax.media.j3d.Texture; import org.json.JSONArray; import org.json.JSONObject; import com.jh.app_food.dao.UserDao; import com.jh.app_food.entity.User; imp...
jhvip/app_servers
app_food/src/com/jh/app_food/dao/impl/UserDaoImpl.java
Java
apache-2.0
3,855
/* * Copyright 2014 Vitalii Tymchyshyn * * 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 ...
tivv/wraop
src/test/java/im/tym/wraop/data/ConstantReturningAdvice.java
Java
apache-2.0
1,147
/* * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html...
IHTSDO/snow-owl
dependencies/org.eclipse.net4j.util/src/org/eclipse/net4j/util/event/ValueEvent.java
Java
apache-2.0
1,232
package org.hl7.fhir.instance.model; /* Copyright (c) 2011+, HL7, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above co...
eug48/hapi-fhir
hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/DeviceComponent.java
Java
apache-2.0
53,741
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2022 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
dbeaver/dbeaver
plugins/org.jkiss.dbeaver.ext.oracle/src/org/jkiss/dbeaver/ext/oracle/model/OracleDependencyGroup.java
Java
apache-2.0
2,791
package com.ctrip.platform.dal.dao.helper; public interface ClassScanFilter { boolean accept(Class<?> clazz); }
ctripcorp/dal
dal-client/src/main/java/com/ctrip/platform/dal/dao/helper/ClassScanFilter.java
Java
apache-2.0
119
package com.ibaguo.nlp.dictionary; import static com.ibaguo.nlp.utility.Predefine.logger; import java.io.*; import java.util.*; import com.ibaguo.nlp.MyNLP; import com.ibaguo.nlp.collection.AhoCorasick.AhoCorasickDoubleArrayTrie; import com.ibaguo.nlp.collection.trie.DoubleArrayTrie; import com.ibaguo.nlp.collecti...
changwu/mqa
src/com/ibaguo/nlp/dictionary/CustomDictionary.java
Java
apache-2.0
11,719
/** * Copyright (c) 2007-2011 J2Speed. 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 * * Unles...
alienisty/accessive
src/test/java/com/j2speed/accessor/TestObject.java
Java
apache-2.0
2,267
/** * * 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"); ...
vincentpoon/hbase
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CellArrayImmutableSegment.java
Java
apache-2.0
7,260
package band.wukong.mz.g.customer.bean; import band.wukong.mz.common.privilege.bean.User; import org.nutz.dao.entity.annotation.*; import java.util.Date; /** * As you see... * * @author wukong(wukonggg@139.com) */ @Table("t_customer") public class Customer { /** * 状态-删除 */ public static final S...
wukonggg/mz-g
src/main/java/band/wukong/mz/g/customer/bean/Customer.java
Java
apache-2.0
3,618
package org.sagebionetworks.repo.model.helper; import java.util.Date; import java.util.function.Consumer; import org.sagebionetworks.repo.model.dataaccess.Request; import org.sagebionetworks.repo.model.dbo.dao.dataaccess.RequestDAO; import org.springframework.beans.factory.annotation.Autowired; import org.springframe...
zimingd/Synapse-Repository-Services
lib/jdomodels/src/main/java/org/sagebionetworks/repo/model/helper/DataAccessRequestObjectHelper.java
Java
apache-2.0
851
/** * Copyright (c) 2010-2019 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.web.page.login; import java.util.ArrayList; import java.util.List; import java.util.stream.Collect...
bshp/midPoint
gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/login/PageRegistrationConfirmation.java
Java
apache-2.0
13,660
/* * 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-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/transform/TagMarshaller.java
Java
apache-2.0
2,110
/* * 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...
myelin/elasticsearch
modules/lang-painless/src/main/java/org/elasticsearch/painless/Def.java
Java
apache-2.0
51,614
/* * Copyright 2018 Samebug, 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or a...
samebug/samebug-idea-plugin
src/main/java/com/samebug/clients/swing/ui/base/panel/SamebugPanelUI.java
Java
apache-2.0
758
package com.netflix.astyanax.connectionpool.retry; /** * Interface for any retry logic * * @author elandau * */ public interface RetryPolicy { /** * Operation is starting */ void begin(); /** * Operation has completed successfully */ void success(); /** * Operation...
hector-client-org/hector-exp
astyanax-pooling/src/main/java/com/netflix/astyanax/connectionpool/retry/RetryPolicy.java
Java
apache-2.0
757
/** * Copyright (C) 2016 Luis Moral Guerrero <luis.moral@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
luis-moral/event-bus
event-bus/src/test/java/es/molabs/eventbus/test/event/SimpleEvent.java
Java
apache-2.0
944
package cc.eevee.turbo.core.view; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import java.util.ArrayLis...
joinAero/DroidTurbo
app/src/main/java/cc/eevee/turbo/core/view/SimpleRecyclerViewAdapter.java
Java
apache-2.0
2,647
import java.util.HashMap; public class TwoSum { public int[] twoSum(int[] numbers, int target) { int[] result = new int[]{-1, -1}; if (numbers == null || numbers.length == 0) { return result; } Map<Integer, Integer> table = new HashMap<Integer, Integer>(); for (...
rioshen/lintcode-solution
java/TwoSum.java
Java
apache-2.0
731
package pro.taskana.workbasket.rest.models; import com.fasterxml.jackson.annotation.JsonProperty; import java.beans.ConstructorProperties; import java.util.Collection; import pro.taskana.common.rest.models.CollectionRepresentationModel; public class DistributionTargetsCollectionRepresentationModel extends Collec...
Taskana/taskana
rest/taskana-rest-spring/src/main/java/pro/taskana/workbasket/rest/models/DistributionTargetsCollectionRepresentationModel.java
Java
apache-2.0
790
package org.gradle.test.performance.mediummonolithicjavaproject.p44; public class Production883 { private String property0; public String getProperty0() { return property0; } public void setProperty0(String value) { property0 = value; } private String property1; ...
oehme/analysing-gradle-performance
my-lib/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p44/Production883.java
Java
apache-2.0
1,889
package water.util; import java.lang.reflect.Array; import java.lang.reflect.Field; import java.util.regex.Pattern; import water.DKV; import water.H2O; import water.Iced; import water.Key; import water.Keyed; import water.Value; import water.Weaver; import water.api.FrameV3; import water.api.KeyV3; import water.api.S...
tarasane/h2o-3
h2o-core/src/main/java/water/util/PojoUtils.java
Java
apache-2.0
22,395
package dto.Summoner; /* * Copyright 2014 Taylor Caldwell * * 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 ...
Haakjvork/riot-api-java
src/dto/Summoner/MasteryPages.java
Java
apache-2.0
971
package it.finsiel.siged.mvc.presentation.action.amministrazione.firmadigitale; import it.finsiel.siged.exception.DataException; import it.finsiel.siged.mvc.business.FirmaDigitaleDelegate; import it.finsiel.siged.mvc.presentation.actionform.amministrazione.firmadigitale.AggiornaCRLForm; import it.finsiel.siged.mvc.vo....
grusso14/eprot
src/it/finsiel/siged/mvc/presentation/action/amministrazione/firmadigitale/AggiornaCRLAction.java
Java
apache-2.0
5,118
package no.ntnu.tdt4100.thedroids.spillprosjekt.object; import org.andengine.opengl.texture.region.ITiledTextureRegion; import org.andengine.opengl.vbo.VertexBufferObjectManager; import com.badlogic.gdx.math.Vector2; public class MovingCoin extends Coin { private Vector2 velocity = new Vector2(5.0f, 0.0f); publ...
oysteinsigholt/tdt4100-spillprosjekt
src/no/ntnu/tdt4100/thedroids/spillprosjekt/object/MovingCoin.java
Java
apache-2.0
761
/** * Copyright (C) 2016 Hyphenate 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 appli...
fml5362/BasketBallDemo
src/com/hyphenate/chatuidemo/ui/ContextMenuActivity.java
Java
apache-2.0
3,340
package me.graduation.application; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.userdetails.User; import java.util.Collection; /** * Created by _liwenhe on 2015/3/7. */ public class SaltUser extends User { private String id; private String salt; ...
febwindy/graduation-project
src/main/java/me/graduation/application/SaltUser.java
Java
apache-2.0
1,226
package eu.softisland.warsjava.view.webbrowser; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.util.Log; import eu.softisland.warsjava.R; public class WebBrowserActivity extends FragmentActivity implements BookmarksFragment.ChangeLinkListener {...
pawelByszewski/warsjava2013
begin/start/src/eu/softisland/warsjava/view/webbrowser/WebBrowserActivity.java
Java
apache-2.0
1,199
package hr.bpervan.mt.data; /** * Created by Branimir on 17.6.2015.. */ @Link public class ItemPredictionLink implements Comparable<ItemPredictionLink>{ public int itemId; public double prediction; public ItemPredictionLink(int itemId, double prediction) { this.itemId = itemId; this.pred...
bpervan/master-thesis-app
src/main/java/hr/bpervan/mt/data/ItemPredictionLink.java
Java
apache-2.0
1,258
/* * Artifactory is a binaries repository manager. * Copyright (C) 2012 JFrog Ltd. * * Artifactory is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your o...
alancnet/artifactory
base/api/src/main/java/org/artifactory/api/artifact/ArtifactInfo.java
Java
apache-2.0
1,950
/* * 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...
joel-costigliola/assertj-core
src/main/java/org/assertj/core/error/ShouldHaveSizeBetween.java
Java
apache-2.0
1,895
/* * 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 ...
arina-ielchiieva/calcite
core/src/main/java/org/apache/calcite/sql/pretty/SqlPrettyWriter.java
Java
apache-2.0
31,713
package org.springframework.security.oauth2.provider.code; import org.springframework.security.oauth2.common.exceptions.InvalidGrantException; import org.springframework.security.oauth2.common.util.RandomValueStringGenerator; import org.springframework.security.oauth2.provider.OAuth2Authentication; /** * Base implem...
spring-projects/spring-security-oauth
spring-security-oauth2/src/main/java/org/springframework/security/oauth2/provider/code/RandomValueAuthorizationCodeServices.java
Java
apache-2.0
1,409
/* Copyright 2021 The Kubernetes 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 to in writing, softwar...
kubernetes-client/java
kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaList.java
Java
apache-2.0
6,210
/** * Copyright 2011-2021 Asakusa Framework Team. * * 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...
asakusafw/asakusafw-compiler
compiler-project/description/src/main/java/com/asakusafw/lang/compiler/model/description/TypeDescription.java
Java
apache-2.0
1,400
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
neykov/incubator-brooklyn
software/nosql/src/main/java/brooklyn/entity/nosql/couchbase/CouchbaseNodeDriver.java
Java
apache-2.0
1,213
/** * Copyright 2007-2016, Kaazing Corporation. 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 require...
cmebarrow/gateway
transport/nio/src/test/java/org/kaazing/gateway/transport/udp/UdpAcceptorBM.java
Java
apache-2.0
10,292
package com.base.crawl.jandan.utils.test; import com.base.crawl.jandan.utils.SimpleHttpClient; public class SimpleHttpClientTest { /** * @param args */ public static void main(String[] args) { String[] urlList=new String[2]; // urlList[0]="http://blog.satikey.com"; // urlList[1]="http://blog.sa...
bruce-yang/javabase
src/com/base/crawl/jandan/utils/test/SimpleHttpClientTest.java
Java
apache-2.0
724
package fortunedog.mail.storage; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.Date; import javax.mail.MessagingException; import org.apache.commons.lang3.tim...
glorycloud/GloryMail
MailProxy/src/fortunedog/mail/storage/MailCache.java
Java
apache-2.0
3,144
package org.reldb.rel.v0.storage.catalog; import java.util.Vector; import org.reldb.rel.exceptions.ExceptionFatal; import org.reldb.rel.v0.generator.Generator; import org.reldb.rel.v0.storage.*; import org.reldb.rel.v0.storage.relvars.RelvarRealMetadata; import org.reldb.rel.v0.values.*; public class RelvarTypes ext...
DaveVoorhis/Rel
ServerV0000/src/org/reldb/rel/v0/storage/catalog/RelvarTypes.java
Java
apache-2.0
2,895
/* * Copyright (C) 2008 feilong * * 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...
venusdrogon/feilong-spring
feilong-spring-core/src/test/java/com/feilong/spring/expression/spelutil/StringTemplateFilePathTest.java
Java
apache-2.0
1,291
/** * Copyright (c) 2011-2013, kidzhou 周磊 (zhouleib1412@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
yangyining/JFinal-plus
src/main/java/com/janeluo/jfinalplus/handler/AddHeaderHandler.java
Java
apache-2.0
2,015
package edu.nyu.cards; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.collect.ImmutableList.toImmutableList; import static edu.nyu.cards.Cards.card; import static edu.nyu.cards.Suits.iterateSuitsHighLow; import static edu.nyu.cards.Suits.iterateSuitsLowHigh; import st...
pmbethe09/DTAC
java/edu/nyu/cards/Hand.java
Java
apache-2.0
8,244
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * ...
huihoo/olat
olat7.8/src/main/java/org/olat/presentation/framework/core/control/generic/closablewrapper/CloseableModalController.java
Java
apache-2.0
7,257
/* * 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
drivers/gae/src/test/java/org/jclouds/gae/ConvertToJcloudsResponseTest.java
Java
apache-2.0
4,067
/******************************************************************************* * Copyright 2014 Tob * * 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/lice...
tobiyas/AllTraits
DwarfSkinTrait/src/trait/DwarfSkinTrait.java
Java
apache-2.0
7,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 ...
Jackygq1982/hbase_src
hbase-common/src/main/java/org/apache/hadoop/hbase/io/CellOutputStream.java
Java
apache-2.0
2,246
/* * Copyright 2019 ZetaSQL 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 agree...
googleinterns/zetasql-fuzzing
javatests/com/google/zetasql/TypeFactoryTest.java
Java
apache-2.0
19,564
/* * 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-storagegateway/src/main/java/com/amazonaws/services/storagegateway/model/ShutdownGatewayResult.java
Java
apache-2.0
3,320
/* * 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-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/transform/EnvironmentDescriptionStaxUnmarshaller.java
Java
apache-2.0
7,161
package com.astudio.inspicsoc.wxapi; /* * 官网地站:http://www.ShareSDK.cn * 技术支持QQ: 4006852216 * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) * * Copyright (c) 2013年 ShareSDK.cn. All rights reserved. */ import android.content.Intent; import android.widget.Toast; i...
A-Studio0/InsPicSoc
src/com/astudio/inspicsoc/wxapi/WXEntryActivity.java
Java
apache-2.0
2,081
/* * 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 ...
renesugar/arrow
java/vector/src/main/java/org/apache/arrow/vector/ipc/ArrowFileReader.java
Java
apache-2.0
7,340
package de.cinovo.cloudconductor.agent.executors.helper; /* * #%L * Node Agent for cloudconductor framework * %% * Copyright (C) 2013 - 2014 Cinovo AG * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a cop...
cinovo/cloudconductor-agent-redhat
src/main/java/de/cinovo/cloudconductor/agent/executors/helper/StreamAnalyzer.java
Java
apache-2.0
1,369
/* * Copyright 2012 Cyril A. Karpenko * * 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...
nikelin/Redshape-AS
persistence/api/src/main/java/com/redshape/persistence/dao/query/expressions/IExpression.java
Java
apache-2.0
783
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * ...
huihoo/olat
OLAT-LMS/src/main/java/org/olat/presentation/course/nodes/ta/DropboxForm.java
Java
apache-2.0
4,769
package com.example.http; /** * Created by HP on 2017/1/19. */ public class Module { private String name; private String timestamp; }
remerber/MyHttp
http/src/main/java/com/example/http/Module.java
Java
apache-2.0
146
/** * */ package org.apache.hadoop.hdfs.server.namenodeFBT.blink.rule; import org.apache.hadoop.hdfs.server.namenodeFBT.FBTDirectory; import org.apache.hadoop.hdfs.server.namenodeFBT.LeafValue; import org.apache.hadoop.hdfs.server.namenodeFBT.VPointer; import org.apache.hadoop.hdfs.server.namenodeFBT.rule.Ta...
hanhlh/hadoop-0.20.2_FatBTree
src/hdfs/org/apache/hadoop/hdfs/server/namenodeFBT/blink/rule/FBLTInsertRootModifyRequest.java
Java
apache-2.0
2,138
/* * Copyright Debezium Authors. * * Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0 */ package io.debezium.jdbc; import java.util.Properties; import java.util.Set; import java.util.function.Consumer; import java.util.function.Predicate; import io.d...
rhauch/debezium
debezium-core/src/main/java/io/debezium/jdbc/JdbcConfiguration.java
Java
apache-2.0
9,413
package xworker.libdgx.engine.collision; import java.util.ArrayList; import java.util.List; import org.xmeta.ActionContext; import org.xmeta.Thing; import org.xmeta.util.UtilData; import com.badlogic.gdx.scenes.scene2d.Actor; import ognl.OgnlException; /** * 可以碰撞的物品。 * * @author Administrator ...
x-meta/xworker
xworker_libgdx/src/main/java/xworker/libdgx/engine/collision/CollideableActor.java
Java
apache-2.0
3,739
/* * Copyright (c) 2018 Ahome' Innovation Technologies. 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 * * Un...
ahome-it/lienzo-core
src/main/java/com/ait/lienzo/shared/core/types/ArrowEnd.java
Java
apache-2.0
1,857
/* * 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 ...
TheRingbearer/HAWKS
ode/bpel-api/src/main/java/org/apache/ode/bpel/common/FaultException.java
Java
apache-2.0
1,965
package com.naoto.yamaguchi.miita.model.base; import com.naoto.yamaguchi.miita.util.exception.MiitaException; /** * Model CallBack Listener. * <p> * Created by naoto on 16/09/22. */ public interface OnModelListener<T> { void onSuccess(T results); void onError(MiitaException e); void onComplete(); }...
naoto0822/miita-android
app/src/main/java/com/naoto/yamaguchi/miita/model/base/OnModelListener.java
Java
apache-2.0
321
package com.pphi.iron.dragon.board.factory; import static com.google.common.collect.Lists.newArrayList; import static com.google.common.collect.Sets.newHashSet; import static com.google.common.collect.Sets.newTreeSet; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertFalse; import sta...
draukadin/iron-dragon
core/src/test/java/com/pphi/iron/dragon/board/factory/MilePostFactoryTest.java
Java
apache-2.0
10,469
/** * 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...
chenkongshan/RocketMQ
rocketmq-broker/src/main/java/com/alibaba/rocketmq/broker/plugin/MessageStorePluginContext.java
Java
apache-2.0
2,236
/** * 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...
azuki-framework/azuki-web
src/main/java/org/azkfw/web/servlet/jsp/tag/LabelTag.java
Java
apache-2.0
2,971
package animalsniffer; import bytecode.Display; /** * Launch Display then runs code depending on JDK 7 API. */ public class Main extends Display { public static void main( String... args ) throws Exception { new Main().run(); callJava7API( args ); } private static void call...
MavenDemo/java-evolving-en
animalsniffer/src/main/java/animalsniffer/Main.java
Java
apache-2.0
507
package mil.army.usace.ehlschlaeger.rgik.unsorted; import java.util.Date; import java.util.Random; import mil.army.usace.ehlschlaeger.rgik.core.GISData; import mil.army.usace.ehlschlaeger.rgik.core.GISLattice; import mil.army.usace.ehlschlaeger.rgik.core.LatticeErrorDistributionModel; import mil.army.usace.ehlschlaege...
chuckre/DigitalPopulations
PopulationRealizer/Research GIS Kernel/src/mil/army/usace/ehlschlaeger/rgik/unsorted/UncertainGaussianErrorModel.java
Java
apache-2.0
3,852
/** * <copyright> * </copyright> * * $Id$ */ package es.itecban.deployment.model.environment.graph; import java.util.List; import org.eclipse.emf.ecore.EObject; import es.itecban.deployment.model.environment.graph.Dependency; import es.itecban.deployment.model.environment.graph.Node; /** * <!-...
iLabrys/iLabrysOSGi
es.itecban.deployment.model.environment/src/es/itecban/deployment/model/environment/graph/EnvironmentGraph.java
Java
apache-2.0
3,621
/** * 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, ...
geronimo-iia/restexpress
restexpress-core/src/main/java/org/restexpress/route/regex/RegexRouteBuilder.java
Java
apache-2.0
2,054
// Copyright 2015 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
gawkermedia/googleads-java-lib
examples/dfp_axis/src/main/java/dfp/axis/v201602/customtargetingservice/CreateCustomTargetingKeysAndValues.java
Java
apache-2.0
6,928
package eu.dnetlib.iis.wf.referenceextraction.community.input; import eu.dnetlib.iis.common.SlowTest; import eu.dnetlib.iis.common.utils.AvroAssertTestUtil; import eu.dnetlib.iis.common.utils.AvroTestUtils; import eu.dnetlib.iis.common.utils.JsonAvroTestUtils; import eu.dnetlib.iis.importer.schemas.Concept; import eu....
openaire/iis
iis-wf/iis-wf-referenceextraction/src/test/java/eu/dnetlib/iis/wf/referenceextraction/community/input/CommunityReferenceExtractionInputTransformerJobTest.java
Java
apache-2.0
2,927
package six.com.crawler.admin.service.impl; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.slf4j.Logger; import or...
lvjk/excrawler
src/main/java/six/com/crawler/admin/service/impl/ExtractPathServiceImpl.java
Java
apache-2.0
4,873
package uz.greenwhite.slidingmenu.support.v10.collection; public abstract class MyMapper<E, R> { public abstract R apply(E e); public static final <E> MyMapper<E, String> string() { return (MyMapper<E, String>) TO_STRING; } public static final <E> MyMapper<E, E> identity() { return (M...
axmadjon/AndroidSlidingMenu
app/src/main/java/uz/greenwhite/slidingmenu/support/v10/collection/MyMapper.java
Java
apache-2.0
749
/* * * Copyright 2016 alh Technology * * 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 ...
Abiy/distGatling
gatling-rest/src/test/java/com/alh/gatling/endpoint/v1/RestControllerIntTest.java
Java
apache-2.0
1,779
/* * Copyright 2017 Athanasios Raptodimos * * 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 ...
kalodiodev/kitapi
src/main/java/eu/kalodiodev/kitapi/controller/CategoryDialogController.java
Java
apache-2.0
1,802
package org.gramar.resource; import java.io.IOException; import java.io.Reader; import org.gramar.IFileStore; import org.gramar.exception.NoSuchResourceException; import org.gramar.util.GramarHelper; /** * Represents a request, targeting the FileStore, to create a file with * a given path and content. If the fil...
chrisGerken/gramar
core/gramar/src/main/java/org/gramar/resource/UpdateFile.java
Java
apache-2.0
1,317
package me.smartco.akstore.transaction.model; import me.smartco.akstore.common.model.IProductInfo; import java.io.Serializable; import java.math.BigDecimal; /** * Created by libin on 15-1-9. */ public class ProductInfo implements IProductInfo,Serializable{ private String productId; private String productNa...
redlion99/akstore
akstore-server/akstore-transaction/src/main/java/me/smartco/akstore/transaction/model/ProductInfo.java
Java
apache-2.0
1,312
package com.pgmacdesign.pgmactips.googleapis.vision; import com.google.gson.annotations.SerializedName; import java.util.List; /** * POJO (JSON response model) For use with the Google Vision API Calls * Created by pmacdowell on 2018-04-02. */ public class GoogleVisionResponseModel { @SerializedName("respons...
PGMacDesign/PGMacUtilities
library/src/main/java/com/pgmacdesign/pgmactips/googleapis/vision/GoogleVisionResponseModel.java
Java
apache-2.0
23,993
package com.leeo.hystrix; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import com.netflix.hystrix.HystrixCommand; import com.netflix.hystrix.HystrixCommandGroupKey; public class HelloWorldCommand extends HystrixCommand<String> { private final String name; public HelloWorldCommand...
Leeo1124/test
src/main/java/com/leeo/hystrix/HelloWorldCommand.java
Java
apache-2.0
1,919
/* Copyright 2013 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 applicable law or agreed t...
unic/neba
spring/src/test/java/io/neba/spring/mvc/AbstractArgumentResolverTest.java
Java
apache-2.0
2,739
package cz.muni.fi.hotel; import java.time.LocalDate; import java.time.Month; /** * @author kkatanik & snagyova */ public class GuestBuilder { private Long id; private String name; private LocalDate dateOfBirth; private String phoneNumber; public GuestBuilder id(Long id){ this.id = id;...
xnagyova/hotel_project
hotel_jdbc/src/test/java/cz/muni/fi/hotel/GuestBuilder.java
Java
apache-2.0
961
package redis.clients.redisson; import org.junit.Assert; import org.junit.Test; import redis.clients.redisson.api.RAtomicLongReactive; public class RedissonAtomicLongReactiveTest extends BaseReactiveTest { @Test public void testCompareAndSet() { RAtomicLongReactive al = redisson.getAtomicLong("test")...
qq1588518/JRediClients
src/test/java/redis/clients/redisson/RedissonAtomicLongReactiveTest.java
Java
apache-2.0
2,277
/* * 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-common/src/main/java/com/alibaba/dubbo/common/serialize/support/json/FastJsonObjectInput.java
Java
apache-2.0
4,301
package test.generics; import android.os.Bundle; import icepick.Bundler; import icepick.Injector.Helper; import icepick.Injector.Object; import java.util.Map; import java.util.HashMap; public class Test4$$Icepick<T extends Test4> extends Object<T> { private final static Map<String, Bundler<?>> BUNDLERS = new Has...
weiwenqiang/GitHub
Subentry/icepick-master/icepick-processor/test/test/generics/Test4$$Icepick.java
Java
apache-2.0
1,194
/* * 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...
pleacu/jbpm
jbpm-flow-builder/src/main/java/org/jbpm/compiler/xml/processes/ParameterHandler.java
Java
apache-2.0
3,278
/* * Copyright 2012-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
ihoneymon/spring-boot
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/prometheus/PrometheusProperties.java
Java
apache-2.0
1,813