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 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-iot/src/main/java/com/amazonaws/services/iot/model/ResourceIdentifier.java
Java
apache-2.0
12,379
package de.ghac.realtime; import java.util.Date; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; public class RealTime extends JavaPlugin{ public boolean announce = false; publi...
ghacproductions/SyncRealTime
src/de/ghac/realtime/RealTime.java
Java
apache-2.0
2,831
package com.teamname.tutortrader; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; /** * The activity that allows a user to create...
CMPUT301W16T07/TeamName
TutorTrader/app/src/main/java/com/teamname/tutortrader/CreateProfileActivity.java
Java
apache-2.0
4,420
package aproc.map; // Generated Mar 22, 2016 5:19:24 PM by Hibernate Tools 3.6.0 import java.math.BigDecimal; /** * UztrousId generated by hbm2java */ public class UztrousId implements java.io.Serializable { private BigDecimal uztrolId; private BigDecimal uztuserPidm; public UztrousId() { } ...
SafeLogin/DataBseAprocLog
src/aproc/map/UztrousId.java
Java
apache-2.0
1,747
/* * Copyright 2015 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
google/j2cl
transpiler/java/com/google/j2cl/transpiler/ast/DoWhileStatement.java
Java
apache-2.0
2,631
package com.study.mybatis.mapper; import com.study.mybatis.entity.StudentSelfCard; /** * Created on 2017-08-10 22:09 * * @author liuzhaoyuan */ public interface StudentSelfCardMapper { StudentSelfCard findStudentSelfCardByStudentId(Integer studentId); }
liuzyw/study-hello
spring-mybatis/src/main/java/com/study/mybatis/mapper/StudentSelfCardMapper.java
Java
apache-2.0
266
/* * Copyright (C) 2008 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...
rgoldberg/guava
guava/src/com/google/common/collect/ImmutableListMultimap.java
Java
apache-2.0
17,670
/* * JBoss, Home of Professional Open Source. * Copyright 2016, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
scottmarlow/wildfly-nosql
old/testsuite/nosql/src/test/java/org/jboss/as/test/compat/nosql/cassandra/compensations/CreditData.java
Java
apache-2.0
1,738
/* * 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-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/FacetAttributeType.java
Java
apache-2.0
1,737
/* * Copyright (c) 2016-present, RxJava Contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
ReactiveX/RxJava
src/test/java/io/reactivex/rxjava3/internal/subscribers/FutureSubscriberTest.java
Java
apache-2.0
8,541
package com.teemo.testimageloader.http; import android.util.Log; import java.io.IOException; import okhttp3.Interceptor; import okhttp3.Request; import okhttp3.Response; /** * 全局自动刷新Token的拦截器 * .addInterceptor(new TokenInterceptor()) * <p> * 作者:余天然 on 16/9/5 下午3:31 */ public class TokenInterceptor implements I...
teemo927/hello-world
TestImageLoader/app/src/main/java/com/teemo/testimageloader/http/TokenInterceptor.java
Java
apache-2.0
2,443
package com.muebles.controlador.util; import java.util.List; import javax.faces.application.FacesMessage; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import javax.faces.convert.Converter; import javax.faces.model.SelectItem; public class JsfUtil { public static SelectItem[]...
Auxias/muebles_guerrero
src/java/com/muebles/controlador/util/JsfUtil.java
Java
apache-2.0
2,112
package me.alivecode.algs4; import java.util.Iterator; import java.util.NoSuchElementException; import edu.princeton.cs.algs4.In; import edu.princeton.cs.algs4.StdOut; /** * The {@code Graph} class represents an undirected graph of vertices * named 0 through <em>V</em>-1. */ public class Graph { private stati...
kevinojt/algorithms4
src/main/java/me/alivecode/algs4/Graph.java
Java
apache-2.0
4,919
package com.scaffy.dao.hibernate; import java.util.List; import java.util.Map; import org.apache.lucene.search.Query; import org.hibernate.search.jpa.FullTextEntityManager; import org.hibernate.search.jpa.FullTextQuery; import org.hibernate.search.query.dsl.BooleanJunction; import org.hibernate.search.query.dsl.Query...
mcraken/spring-scaffy
src/main/java/com/scaffy/dao/hibernate/JPAHibernateSearchDao.java
Java
apache-2.0
2,630
package me.zhouzhuo810.zzapidoc.version.action; import me.zhouzhuo810.zzapidoc.common.action.BaseController; import me.zhouzhuo810.zzapidoc.common.result.BaseResult; import me.zhouzhuo810.zzapidoc.common.result.WebResult; import me.zhouzhuo810.zzapidoc.common.service.BaseService; import me.zhouzhuo810.zzapidoc.version...
zhouzhuo810/ZzApiDoc
src/main/java/me/zhouzhuo810/zzapidoc/version/action/VersionAction.java
Java
apache-2.0
3,746
package yg0r2.stringstuff; public class TMP { /** * @param args */ public static void main(String[] args) { System.out.println("alma".substring(0, 1)); System.out.println("3".toUpperCase()); System.out.println("alma".indexOf("x")); } }
tiborkovacs/my-stuffs
src/yg0r2/stringstuff/TMP.java
Java
apache-2.0
252
package org.nesty.core.server.rest.controller; import org.nesty.commons.annotations.Controller; import org.nesty.commons.annotations.RequestMapping; import org.nesty.commons.constant.http.RequestMethod; import org.nesty.core.server.NestyServerMonitor; import org.nesty.core.server.rest.URLResource; import java.util.Ha...
gugemichael/nesty
core/src/main/java/org/nesty/core/server/rest/controller/DefaultController.java
Java
apache-2.0
1,559
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.featureStatistics; import com.intellij.internal.statistic.collectors.fus.ProductivityUsageCollector; import com.intellij.internal.statistic.eventLog.FeatureU...
goodwinnk/intellij-community
platform/platform-impl/src/com/intellij/featureStatistics/FeatureUsageTrackerImpl.java
Java
apache-2.0
7,936
// Copyright © 2005-2018 Andy Goryachev <andy@goryachev.com> package goryachev.common.i18n; import goryachev.common.util.CKit; import goryachev.common.util.SB; import goryachev.common.util.TextTools; import java.nio.charset.Charset; /* * Class encapsulates localized prompts, loaded from .prompts file. * ...
andy-goryachev/FindFiles
src/goryachev/common/i18n/LocalizedPromptsFormat.java
Java
apache-2.0
2,673
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2014-2015 MIT, All rights reserved // Released under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 package com.google.appinventor.shared.rpc.user; import com.google.gwt.user.client.rpc.IsSerializable; import java.io.Serializable; ...
ewpatton/appinventor-sources
appinventor/appengine/src/com/google/appinventor/shared/rpc/user/Config.java
Java
apache-2.0
4,888
/* First created by JCasGen Mon May 11 11:00:52 EDT 2015 */ package org.apache.ctakes.typesystem.type.textsem; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; ...
harryhoch/DeepPhe
src/org/apache/ctakes/typesystem/type/textsem/SemanticArgument_Type.java
Java
apache-2.0
4,516
package com.foursquare.placepicker.sample; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.ImageView; import android.widget.Toast; import com.bumptech...
foursquare/snaptoplace-sdk-sample
app/src/main/java/com/foursquare/placepicker/sample/MainActivity.java
Java
apache-2.0
3,743
package com.jarvis.cache.serializer.kryo; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.io.Input; import com.esotericsoftware.kryo.io.Output; import com.esotericsoftware.kryo.pool.KryoPool; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.util.ArrayList;...
qiujiayu/AutoLoadCache
autoload-cache-serializer/autoload-cache-serializer-kryo/src/main/java/com/jarvis/cache/serializer/kryo/DefaultKryoContext.java
Java
apache-2.0
2,174
package org.docksidestage.hangar.simpleflute.dto; import org.docksidestage.hangar.simpleflute.dto.bs.BsPurchaseDto; /** * The entity of PURCHASE. * <p> * You can implement your original methods here. * This class remains when re-generating. * </p> * @author DBFlute(AutoGenerator) */ public class PurchaseDto ex...
dbflute-test/dbflute-test-active-hangar
src/main/java/org/docksidestage/hangar/simpleflute/dto/PurchaseDto.java
Java
apache-2.0
439
package club.baidu.hust.edu.cn.csapp.model; import java.util.List; /** * Created by jiadong on 2015/9/5. */ public class ArticleComments { private String _xsrf; private List<ArticleComment> comments; private int status; public int getStatus() { return status; } public String get_...
lin2020/csapp
app/src/main/java/club/baidu/hust/edu/cn/csapp/model/ArticleComments.java
Java
apache-2.0
438
package com.sector91.wit.sample.blog.data; import java.util.List; import org.joda.time.DateTime; import com.google.common.base.Joiner; import com.orientechnologies.common.exception.OException; import com.orientechnologies.orient.core.record.impl.ODocument; import com.orientechnologies.orient.core.sql.query.OSQLSynch...
ar-nelson/wit
samples/blog/src/main/java/com/sector91/wit/sample/blog/data/CommentStore.java
Java
apache-2.0
3,886
/*** * ASM: a very small and fast Java bytecode manipulation framework * Copyright (c) 2000-2007 INRIA, France Telecom * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistribution...
chrishumphreys/provocateur
provocateur-thirdparty/src/main/java/org/targettest/org/objectweb/asm/util/TraceAnnotationVisitor.java
Java
apache-2.0
8,853
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
ssilvert/uberfire-poc
src/main/java/org/jboss/uberfire/poc/client/local/viewframework/AddEntityWindow.java
Java
apache-2.0
1,555
package com.github.sormuras.beethoven.composer; import com.github.sormuras.beethoven.unit.ClassDeclaration; import com.github.sormuras.beethoven.unit.FieldDeclaration; import com.github.sormuras.beethoven.unit.MethodDeclaration; import java.util.Spliterator; import java.util.function.Function; import javax.lang.model....
sormuras/beethoven
com.github.sormuras.beethoven/main/java/com/github/sormuras/beethoven/composer/ToStringComposer.java
Java
apache-2.0
1,523
/* * Copyright 2017, OpenSkywalking Organization 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...
zhangkewei/sky-walking
apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/context/trace/SpanLayer.java
Java
apache-2.0
1,403
/* This file is part of Mino. * * See the NOTICE file distributed with this work for copyright information. * * 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.o...
jcbrinfo/mino
src/mino/structure/ClassInfo.java
Java
apache-2.0
3,378
/* * Copyright 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
A24Group/ssGWT-lib
src/org/ssgwt/client/ui/datepicker/DefaultCalendarView.java
Java
apache-2.0
8,233
package com.ashigeru.eclipse.util.launch.internal.ui.handlers; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionExcept...
ashigeru/eclipse
com.ashigeru.eclipse.util.launch/src/com/ashigeru/eclipse/util/launch/internal/ui/handlers/LaunchResourceHandler.java
Java
apache-2.0
2,293
package org.folio.rest.tools.parser; import java.util.ArrayList; import java.util.List; import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; /** * Based on the vertx json object implementation which is mapped based. * <p> * Allow setting / getting nested paths. */ public class JsonPathParse...
folio-org/raml-module-builder
domain-models-runtime/src/main/java/org/folio/rest/tools/parser/JsonPathParser.java
Java
apache-2.0
15,584
/* * Copyright 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 applicabl...
visionarts/power-jambda
power-jambda-events/src/main/java/com/visionarts/powerjambda/events/EventExecutorRegistry.java
Java
apache-2.0
2,135
package com.demon.doubanmovies.activity; import android.app.ProgressDialog; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.MenuItem; import android.view.View; import android.widget.TextView; import android.widget.Toast;...
demonyan/douban-movie
app/src/main/java/com/demon/doubanmovies/activity/SearchActivity.java
Java
apache-2.0
6,677
package org.exparity.data.html; import static org.junit.Assert.assertEquals; import java.util.List; import org.exparity.data.HTML; import org.exparity.data.types.Table; import org.exparity.io.classpath.JcpFile; import org.junit.Test; /** * @author Stewart Bissett */ public class HtmlTableTest { @Test pub...
eXparity/exparity-data
src/test/java/org/exparity/data/html/HtmlTableTest.java
Java
apache-2.0
5,079
package jp.toastkid.models; /** * Script Language names. * @author Toast kid * */ public enum Language { JAVASCRIPT, GROOVY, PYTHON, CLOJURE; }
toastkidjp/javafx_advent2015
src/main/java/jp/toastkid/models/Language.java
Java
apache-2.0
153
/* * 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...
sunchao/presto
presto-main/src/main/java/com/facebook/presto/operator/scalar/ArrayToJsonCast.java
Java
apache-2.0
3,747
/* * 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
utils/common/src/main/java/brooklyn/util/exceptions/FatalConfigurationRuntimeException.java
Java
apache-2.0
1,303
package org.apereo.cas.web.support; import org.apereo.cas.audit.spi.config.CasCoreAuditConfiguration; import org.apereo.cas.config.CasCoreAuthenticationConfiguration; import org.apereo.cas.config.CasCoreAuthenticationHandlersConfiguration; import org.apereo.cas.config.CasCoreAuthenticationMetadataConfiguration; import...
philliprower/cas
support/cas-server-support-throttle/src/test/java/org/apereo/cas/web/support/InMemoryThrottledSubmissionByIpAddressAndUsernameHandlerInterceptorAdapterTests.java
Java
apache-2.0
3,408
/* * Copyright (C) 2016 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 app...
kiall/ExoPlayer
library/ui/src/main/java/com/google/android/exoplayer2/ui/AspectRatioFrameLayout.java
Java
apache-2.0
5,442
package com.itheima.oschina.http; public interface AllUrl { String BaseUrl="192.168.1.102"; String me_fragment="http://"+BaseUrl+":8080/oschina/information/my_information.xml"; String attention_me="http://"+BaseUrl+":8080/oschina/list/active_list2/"; String synthesize_information = "http://"+BaseUrl+":8080/oschin...
muziyouyou/MyCustomPullToRefresh
开源中国客户端/src/com/itheima/oschina/http/AllUrl.java
Java
apache-2.0
343
/* * Copyright 2005 Davy Verstappen. * * 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...
dverstap/jsmiparser
jsmiparser-api/src/main/java/org/jsmiparser/smi/StatusAll.java
Java
apache-2.0
2,717
package com.lethalskillzz.baker.presentation.recipestep; import com.lethalskillzz.baker.presentation.base.MvpView; /** * Created by ibrahimabdulkadir on 21/06/2017. */ public interface RecipeStepMvpView extends MvpView { void showErrorMessage(); void refreshStepContainerFragment(String desc, String video...
lethalskillzz/Baker
app/src/main/java/com/lethalskillzz/baker/presentation/recipestep/RecipeStepMvpView.java
Java
apache-2.0
345
package com.salesmanager.shop.store.controller.language.facade; import com.salesmanager.core.business.exception.ServiceException; import com.salesmanager.core.business.services.reference.language.LanguageService; import com.salesmanager.core.model.reference.language.Language; import com.salesmanager.shop.store.ap...
shopizer-ecommerce/shopizer
sm-shop/src/main/java/com/salesmanager/shop/store/controller/language/facade/LanguageFacadeImpl.java
Java
apache-2.0
1,032
/* Copyright 2009 David Revell This file is part of SwiFTP. SwiFTP 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, or (at your option) any later version. SwiFTP is distributed i...
zuguorui/SweetAlbum
app/src/main/java/com/zu/sweetalbum/swiftp/server/CmdSTOR.java
Java
apache-2.0
1,051
package com.moilioncircle.mysql.ast; /** * Copyright leon * <p> * 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 requi...
leonchen83/mysql-parser
src/main/java/com/moilioncircle/mysql/ast/SubqueryPredicate.java
Java
apache-2.0
838
package com.adioss.bootstrap.web.controller; import java.security.Principal; import java.util.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework....
adioss/MyWebAppBootstrap
src/main/java/com/adioss/bootstrap/web/controller/AvatarController.java
Java
apache-2.0
4,446
package com.synedge.oss.client.config.policy; import lombok.AccessLevel; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; /** * @author Paul van Assen */ @Data @NoArgsConstructor(access = AccessLevel.PACKAGE) @AllArgsConstructor public class UrlSig...
synedge/synedge-java-client
src/main/java/com/synedge/oss/client/config/policy/UrlSigning.java
Java
apache-2.0
586
package de.twenty11.skysail.server.um.domain; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; public class PasswordsMatchValidator implements ConstraintValidator<PasswordsMatch, Registration> { @Override public void initialize(PasswordsMatch passwordParameter...
evandor/skysail-framework
skysail.server/src/de/twenty11/skysail/server/um/domain/PasswordsMatchValidator.java
Java
apache-2.0
651
/* * Copyright (C) 2018 Matthew Lee * * 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...
mthli/Slice
slice/src/main/java/io/github/mthli/slice/CustomRoundRectDrawable.java
Java
apache-2.0
5,429
/* * Copyright 2003 - 2014 The eFaps 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 law or ...
eFaps/eFaps-WebApp
src/main/java/org/efaps/ui/wicket/behaviors/dojo/EditorBehavior.java
Java
apache-2.0
5,457
package com.pedidos.controller.error; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(value = HttpStatus.UNAUTHORIZED) public class UnauthorizedUserActionException extends RuntimeException { private static final long serialVersionUID = 1L; ...
dtambussi/pedidos
pedidos-api/src/main/java/com/pedidos/controller/error/UnauthorizedUserActionException.java
Java
apache-2.0
565
package org.gradle.test.performance.mediummonolithicjavaproject.p179; import org.junit.Test; import static org.junit.Assert.*; public class Test3584 { Production3584 objectUnderTest = new Production3584(); @Test public void testProperty0() { String value = "value"; objectUnderTest....
oehme/analysing-gradle-performance
my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p179/Test3584.java
Java
apache-2.0
2,111
/* * Copyright 2017 TWO SIGMA OPEN SOURCE, 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 appl...
twosigma/beaker-notebook
kernel/base/src/main/java/com/twosigma/beakerx/widget/Text.java
Java
apache-2.0
1,406
/* * Copyright 2018-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 "lice...
jentfoo/aws-sdk-java
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/SelectObjectContentRequest.java
Java
apache-2.0
6,636
package be.cegeka.dws.domain.pet; import static be.cegeka.dws.domain.pet.Pet.PetBuilder.pet; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import org.skife.jdbi.v2.StatementContext; import org.skife.jdbi.v2.sqlobject.Bind; import org.skife.jdbi.v2.sqlobject.SqlQuery; import org.skif...
cegeka/dev-workflow-skeleton
dws/dws-domain/src/main/java/be/cegeka/dws/domain/pet/PetRepository.java
Java
apache-2.0
1,069
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package sistema; import beans.Usuario; import java.util.List; import org.hibernate.HibernateException; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.SessionFactory; import util.Hibernate...
xroca/planFormacionJava
spring/orm/hibernate/Clases Simples/EjemploDosSf/src/main/java/sistema/Principal.java
Java
apache-2.0
3,375
package jcu.app.seckill; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.CountDownLatch; /** * @author soyona * @Package sample.jcu.countdownlatch * @Description: * @date 2016/5/23 22:21 */ public class SecKillDemo { //并发线程数 pr...
soyona/condor
basic-sample-jcu/basic-sample-jcu-app/src/main/java/jcu/app/seckill/SecKillDemo.java
Java
apache-2.0
2,475
package com.java.javafx04; import javafx.application.Application; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.layout.VBox; import javafx.scene.text.Text; import javafx.stage.Stage; public class C04_JavaFX extends Application { public static void mai...
askuta/JAVA_BASES
programs/008_JavaFX/src/com/java/javafx04/C04_JavaFX.java
Java
apache-2.0
811
/** * Licensed to Cloudera, Inc. under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Cloudera, Inc. licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this...
riptano/alfredo
alfredo/src/main/java/com/cloudera/alfredo/server/AuthenticationToken.java
Java
apache-2.0
7,791
package org.powlab.jeye.tests.abstracts; public abstract class AbstractTestBase { public void test1() { System.out.println("TEST1"); } public abstract void test2(); }
powlab/jeye
src/test/java/org/powlab/jeye/tests/abstracts/AbstractTestBase.java
Java
apache-2.0
190
/* Generated By:JavaCC: Do not edit this line. JavaCharStream.java Version 5.0 */ /* JavaCCOptions:STATIC=false,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */ package com.qualixium.playnb.filetype.conf.jcclexer; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.io.UnsupportedEncodingE...
pedrohidalgo/pleasure
src/main/java/com/qualixium/playnb/filetype/conf/jcclexer/JavaCharStream.java
Java
apache-2.0
2,051
/** * 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 ...
dorzey/assertj-core
src/test/java/org/assertj/core/api/uri/UriAssert_hasNoParameter_String_String_Test.java
Java
apache-2.0
1,208
/* Copyright 2002-2014 CS Systèmes d'Information * Licensed to CS Systèmes d'Information (CS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * CS licenses this file to You under the Apache License, Versi...
treeform/orekit
src/main/java/org/orekit/orbits/Orbit.java
Java
apache-2.0
25,637
/* * 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-aiplatform
proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateModelDeploymentMonitoringJobOperationMetadata.java
Java
apache-2.0
28,529
/* * Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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 ...
opensingular/singular-core
lib/wicket-utils/src/main/java/org/opensingular/lib/wicket/util/behavior/FadeInOnceBehavior.java
Java
apache-2.0
1,729
package com.hxxc.user.app.ui.adapter; import android.content.Context; import android.os.Handler; import android.support.v7.widget.RecyclerView; import android.util.DisplayMetrics; import android.view.View; import android.view.ViewGroup; import android.view.WindowManager; import com.hxxc.user.app.Constants; import com...
LaiHouWen/ProjectAll
Android-baofu2.0/app/src/main/java/com/hxxc/user/app/ui/adapter/BaseAdapter2.java
Java
apache-2.0
11,278
/* * 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"...
boneman1231/org.apache.felix
trunk/ipojo/core/src/main/java/org/apache/felix/ipojo/parser/FieldMetadata.java
Java
apache-2.0
5,175
/* * Copyright 2011-2014 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 requir...
wemote/leo
core/src/main/java/com/wemote/leo/cqrs/annotation/Command.java
Java
apache-2.0
1,785
/* * Copyright 2011-2017 B2i Healthcare Pte Ltd, http://b2i.sg * * 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...
IHTSDO/snow-owl
core/com.b2international.snowowl.datastore/src/com/b2international/snowowl/datastore/review/ReviewMixin.java
Java
apache-2.0
1,512
package ru.stqa.pft.addressbook.tests; import org.hamcrest.CoreMatchers; import org.hamcrest.MatcherAssert; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.AddressData; import java.util.Arrays; import java.util.stream.Collectors; public class Con...
Numinessa/java_learning
Java/Dev/addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/ContactEmailTests.java
Java
apache-2.0
1,228
package com.example.inverse; import arez.annotations.ArezComponent; import arez.annotations.Inverse; import arez.annotations.Multiplicity; import arez.annotations.Reference; import arez.annotations.ReferenceId; import javax.annotation.Nullable; @ArezComponent abstract class BadReferenceMultiplicity6InverseModel { @...
realityforge/arez
processor/src/test/fixtures/bad_input/com/example/inverse/BadReferenceMultiplicity6InverseModel.java
Java
apache-2.0
650
/* * 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 ...
amoudi87/asterixdb
asterix-runtime/src/main/java/org/apache/asterix/runtime/operators/file/IDataParser.java
Java
apache-2.0
2,016
/* * 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 "l...
dump247/aws-sdk-java
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CreateAppRequest.java
Java
apache-2.0
40,474
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@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 ...
iBotPeaches/Apktool
brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java
Java
apache-2.0
16,719
/* * Copyright (c) 2013-2015, Arjuna Technologies Limited, Newcastle-upon-Tyne, England. All rights reserved. */ package com.arjuna.databroker.data.spi; import java.util.Collection; import java.util.Collections; import java.util.Map; import java.util.HashMap; import java.util.LinkedList; import com.arjuna.databroke...
RISBIC/DataBroker
data-common/src/main/java/com/arjuna/databroker/data/spi/AbstractDataFlowNodeInventory.java
Java
apache-2.0
2,234
/* * 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")...
mike10004/appengine-imaging
gaecompat-awt-imaging/src/imageio/com/google/code/appengine/imageio/plugins/jpeg/JPEGImageReadParam.java
Java
apache-2.0
2,878
package com.jrj.sharesdk; public interface CallbackListener { public abstract void onSuccess(); public abstract void onFailure(); public abstract void onCancel(); }
simplelifetian/GomeOnline
ShareSdkJrj/src/com/jrj/sharesdk/CallbackListener.java
Java
apache-2.0
169
package com.systemincloud.ext.vip.examples.opencl; import static org.bridj.Pointer.pointerToInts; import java.io.IOException; import org.bridj.Pointer; import com.nativelibs4java.opencl.CLBuffer; import com.nativelibs4java.opencl.CLContext; import com.nativelibs4java.opencl.CLEvent; import com.nativelibs4java.openc...
systemincloud/sic-examples-ext-vip
com.systemincloud.ext.vip.examples.opencl/src/main/java/com/systemincloud/ext/vip/examples/opencl/MovingAverage.java
Java
apache-2.0
2,783
package com.richodemus.dropwizard.jwt.helpers.model; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; public class LoginResponse { private final String username; @JsonCreator public LoginResponse(@JsonProperty("username") String username) { this.usernam...
RichoDemus/dropwizard-jwt
src/test/java/com/richodemus/dropwizard/jwt/helpers/model/LoginResponse.java
Java
apache-2.0
394
/** * Author: Bob Chen */ package com.jcommerce.core.service.impl; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.hibernate.Hibernate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; ...
jbosschina/jcommerce
sandbox/core/src/main/java/com/jcommerce/core/service/impl/UserManagerImpl.java
Java
apache-2.0
2,238
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics; import java.util.Arrays; import org.apache.commons.lang.Validate; import com.opengamma.financial.analytics.QuickSorter.ArrayQuickSorter;...
McLeodMoores/starling
projects/financial/src/main/java/com/opengamma/financial/analytics/LabelledObjectMatrix1D.java
Java
apache-2.0
5,819
/* * Copyright 2015 Network New Technologies 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...
NicholasAzar/light
rule/src/main/java/com/networknt/light/rule/rule/GetRuleMapRule.java
Java
apache-2.0
2,326
package net.tnktoys.ZipAddress.tools; import javafx.application.Application; import javafx.application.Platform; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.concurrent.Worker.State; import javafx.scene.Scene; import javafx.scene.web.WebEngine; import java...
tnov/sample
ZipAddress/ZipAddress/src/main/java/net/tnktoys/ZipAddress/tools/BlindBrowserMain.java
Java
apache-2.0
1,496
package edu.hbut.livestock.http.coding; import java.sql.Date; import edu.hbut.livestock.entity.Immunization; import edu.hbut.livestock.entity.ImmunizationId; /** * Ïû¶¾¼Ç¼ ±àÂë * * @author xiaowu * */ public class ImmunizationMarshall extends BaseGETMarshall<Immunization, ImmunizationId> { @Override pub...
xuzhuo2012/livestock
Livestock_android/Livestock_android/medical/edu/hbut/livestock/http/coding/ImmunizationMarshall.java
Java
apache-2.0
2,720
/* * Copyright 2013-present Facebook, 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...
tgummerer/buck
test/com/facebook/buck/event/listener/ChromeTraceBuildListenerTest.java
Java
apache-2.0
19,217
/* * Copyright 2013 Cloudera 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 ...
grchanan/kite
kite-data/kite-data-core/src/test/java/org/kitesdk/data/spi/filesystem/TestFileSystemWriters.java
Java
apache-2.0
2,244
/* * Copyright 2013 Romain Gilles * * 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 ...
javabits/yar
yar-guice/src/main/java/org/javabits/yar/guice/GuiceSupplier.java
Java
apache-2.0
1,320
// Start of user code Copyright /******************************************************************************* * Copyright (c) 2012 IBM Corporation and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclips...
EricssonResearch/scott-eu
lyo-services/webapp-twin-robot/src/main/java/se/ericsson/cf/scott/sandbox/twin/services/TwinsServiceProviderService.java
Java
apache-2.0
6,781
/** * Opensec OVAL - https://nakamura5akihito.github.io/ * Copyright (C) 2015 Akihito Nakamura * * 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/...
nakamura5akihito/opensec-oval
src/main/java/io/opensec/oval/model/common/OvalIdSyntaxException.java
Java
apache-2.0
2,050
/* * Copyright (c) 2001-2010, Inversoft, 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...
inversoft/savant-core
test-project/src/test/java/MyClassTest.java
Java
apache-2.0
1,019
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
equella/Equella
Source/Plugins/Core/com.equella.admin/src/com/tle/admin/common/gui/tree/TreeNodeChangeListener.java
Java
apache-2.0
1,017
package local.entwickler.photos; import java.io.Serializable; import lotus.domino.Document; import lotus.domino.NotesException; public class Image implements Serializable, Comparable<Image> { private static final long serialVersionUID = 1L; private String _subject; private String _description; private String _...
spanky762/EntwicklerCamp_2015
nsf.library/Code/Java/local/entwickler/photos/Image.java
Java
apache-2.0
4,857
/* * Copyright 2014 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 applica...
leapframework/framework
base/core/src/main/java/leap/core/AppHome.java
Java
apache-2.0
1,238
package org.javaee7.jpa.datasourcedefinition_annotation_pu.config; import javax.annotation.sql.DataSourceDefinition; import javax.ejb.Stateless; @DataSourceDefinition( name = "java:app/MyApp/MyDS", className = "org.h2.jdbcx.JdbcDataSource", url = "jdbc:h2:mem:test" ) @Stateless public class DataSourceDe...
ftomassetti/JavaIncrementalParser
src/test/resources/javaee7-samples/jpa/datasourcedefinition-annotation-pu/src/main/java/org/javaee7/jpa/datasourcedefinition_annotation_pu/config/DataSourceDefinitionConfig.java
Java
apache-2.0
339
package co.gdera.pchardwaremonitor; import android.app.Activity; import android.content.Intent; import android.os.Bundle; public class MainActivity extends Activity{ @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); new Thread(new Runnable() { ...
billypoke/AndroidOpenHardwareMonitor
src/co/gdera/pchardwaremonitor/MainActivity.java
Java
apache-2.0
810
/******************************************************************************* * Copyright 2013-2016 alladin-IT GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://ww...
alladin-IT/open-rmbt
RMBTStatisticServer/src/at/alladin/rmbt/statisticServer/StatisticServer.java
Java
apache-2.0
3,582
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
actions-on-google-labs/sherlock-mysteries-java
sherlock-data/src/main/java/com/google/mystery/data/model/Case.java
Java
apache-2.0
5,992