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 org.docksidestage.hangar.dbflute.cbean.bs;
import org.dbflute.cbean.AbstractConditionBean;
import org.dbflute.cbean.ConditionBean;
import org.dbflute.cbean.ConditionQuery;
import org.dbflute.cbean.chelper.*;
import org.dbflute.cbean.coption.*;
import org.dbflute.cbean.dream.*;
import org.dbflute.cbean.sqlclaus... | dbflute-test/dbflute-test-active-hangar | src/main/java/org/docksidestage/hangar/dbflute/cbean/bs/BsWhiteDeprecatedSelectByPkuqCB.java | Java | apache-2.0 | 25,925 |
/*
* Copyright 2017 - 2021 Acosix 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | AFaust/simple-content-stores | src/test/java/de/acosix/alfresco/simplecontentstores/repo/integration/TransformingFacadeStoresTest.java | Java | apache-2.0 | 27,365 |
package net.kevxu.purdueassist.course.shared;
public class RequestNotFinishedException extends Exception {
private static final long serialVersionUID = -2042384911352208656L;
public RequestNotFinishedException() {
}
public RequestNotFinishedException(String message) {
super(message);
}
public RequestNotF... | kevinxucs/purdue-course-parser | src/net/kevxu/purdueassist/course/shared/RequestNotFinishedException.java | Java | apache-2.0 | 480 |
/*
* 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 | platform/platform-impl/src/com/intellij/ide/dnd/DnDEnabler.java | Java | apache-2.0 | 8,432 |
package ua.edu.cdu.fotius.lisun.musicplayer.cab_menu;
import android.app.Fragment;
import ua.edu.cdu.fotius.lisun.musicplayer.service.MediaPlaybackServiceWrapper;
import ua.edu.cdu.fotius.lisun.musicplayer.async_tasks.AlbumTracksQueryAsyncTask;
import ua.edu.cdu.fotius.lisun.musicplayer.async_tasks.BaseTracksQueryAsy... | jydimir/Music-Player | app/src/main/java/ua/edu/cdu/fotius/lisun/musicplayer/cab_menu/AlbumPlay.java | Java | apache-2.0 | 1,041 |
/*
* Copyright 2000-2015 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... | consulo/consulo | modules/base/editor-ui-ex/src/main/java/com/intellij/openapi/editor/highlighter/EditorHighlighterFactoryImpl.java | Java | apache-2.0 | 5,244 |
/*
* Copyright 2014 Lukas Benda <lbenda at lbenda.cz>
*
* 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... | lbenda/Coursing | client/src/main/java/cz/lbenda/coursing/client/gui/action/DogAddAction.java | Java | apache-2.0 | 1,656 |
package com.maximuspayne.aimcannon;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
public class Torpedo {
Block warhead;
BlockFace hdg;
int torpDepth;
int rudder=0;
int rudderSetting=0;
int turnProgress = -1;
int torpSetHeading=-1;
boolean doubleTurn=false;
int tubeNum=... | Maximuspayne/NavyCraft2-Lite | src/com/maximuspayne/aimcannon/Torpedo.java | Java | apache-2.0 | 508 |
/**
* 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... | zouzhberk/ambaridemo | demo-server/src/main/java/org/apache/ambari/server/state/State.java | Java | apache-2.0 | 6,782 |
/*
* 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 ... | Wenpei/incubator-systemml | src/main/java/org/apache/sysml/yarn/ropt/ResourceOptimizerCPMigration.java | Java | apache-2.0 | 10,018 |
package hr.fer.zemris.jcms.beans.cached;
import hr.fer.zemris.jcms.model.AssessmentScore;
import hr.fer.zemris.jcms.service.assessments.AssessmentStatus;
public class STEScore extends ScoreTableEntry {
private static final long serialVersionUID = 1L;
private Long assignerID;
private double score;
private doubl... | KarloKnezevic/Ferko | src/java/hr/fer/zemris/jcms/beans/cached/STEScore.java | Java | apache-2.0 | 3,510 |
package com.rabbitframework.security.web.filter.authz;
import com.rabbitframework.security.web.filter.authz.PermissionsAuthorizationFilter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import java.io.IOException;
/**
* 权限过虑器
*
... | xuegongzi/rabbitframework | rabbitframework-security-pom/rabbitframework-security/src/main/java/com/rabbitframework/security/web/filter/authz/UriPermissionsFilter.java | Java | apache-2.0 | 940 |
package com.catherine.singleton;
/**
* Created by Catherine on 2016/10/4.
* Soft-World Inc.
* catherine919@soft-world.com.tw
*/
/**
* 单例模式:保证整个应用中某个实例有且只有一个。
* <p>
* 懒汉模式(与其用懒汉模式不如直接用内部静态类{@link BillPughSingleton})
* <p>
* 在多线程的情况下,可能就会出现重复创建单例对象的问题。 特点是加载类时比较快,但运行时获取对象的速度比较慢,线程不安全
* 某个单例用的次数不是很多,但是这个单例提供的功能... | Catherine22/DesignPattern | src/com/catherine/singleton/LazyInitializingSingleton.java | Java | apache-2.0 | 1,087 |
package net.ocheyedan.ply.cmd.build;
import net.ocheyedan.ply.exec.Execution;
import net.ocheyedan.ply.props.Context;
import net.ocheyedan.ply.props.Filter;
import net.ocheyedan.ply.props.Props;
import net.ocheyedan.ply.props.Scope;
import java.util.ArrayList;
import java.util.List;
/**
* User: blangel
* Date: 1/1... | blangel/ply | src/main/java/net/ocheyedan/ply/cmd/build/ShellScript.java | Java | apache-2.0 | 2,393 |
package apple.gamecontroller;
import apple.NSObject;
import apple.foundation.NSArray;
import apple.foundation.NSCoder;
import apple.foundation.NSMethodSignature;
import apple.foundation.NSSet;
import apple.foundation.protocol.NSCopying;
import apple.foundation.protocol.NSSecureCoding;
import org.moe.natj.c.ann.Functio... | multi-os-engine/moe-core | moe.apple/moe.platform.ios/src/main/java/apple/gamecontroller/GCColor.java | Java | apache-2.0 | 5,487 |
package it.unipi.di.acube.smaph.learn.models.linkback.bindingRegressor;
import java.io.IOException;
import java.net.URL;
import java.util.HashSet;
import java.util.List;
import it.unipi.di.acube.batframework.data.Annotation;
import it.unipi.di.acube.smaph.learn.featurePacks.FeaturePack;
import it.unipi.di.acube.smaph... | marcocor/smaph | src/main/java/it/unipi/di/acube/smaph/learn/models/linkback/bindingRegressor/RankLibBindingRegressor.java | Java | apache-2.0 | 1,039 |
/* 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... | stephraleigh/flowable-engine | modules/flowable-engine/src/main/java/org/flowable/engine/impl/history/async/json/transformer/ActivityEndHistoryJsonTransformer.java | Java | apache-2.0 | 2,651 |
package io.airlift.stats;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.Ticker;
import org.weakref.jmx.Managed;
import java.util.concurrent.TimeUnit;
import static com.google.common.base.MoreObjects.toStringHelper;
import stat... | johngmyers/airlift | stats/src/main/java/io/airlift/stats/DecayCounter.java | Java | apache-2.0 | 5,261 |
package org.jivesoftware.openfire.plugin.kraken;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.ArrayList;
import org.apache.log4j.Logger;
import java.util.Collection;
import java.util.Iterator;
import org.dom4j.Element;
import org.dom4j.Attribute;
import org.jivesoft... | qyj415/openfire | work/plugins-dev/kraken/target/jspc/java/org/jivesoftware/openfire/plugin/kraken/kraken_002dsettings_jsp.java | Java | apache-2.0 | 19,985 |
package org.mtransit.android.commons;
import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.os.Build;
import android.view.Gravity;
import android.view.View;
import android.view.WindowManager;
import android.widget.PopupWindow;
import android.widget.TextView;
import ... | mtransitapps/commons-android | src/main/java/org/mtransit/android/commons/ToastUtils.java | Java | apache-2.0 | 6,095 |
/*
* Copyright 2015-2016 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | spring-cloud/spring-cloud-stream-app-starters | app-starters-test-support/src/main/java/org/springframework/cloud/stream/app/test/sftp/SftpTestSupport.java | Java | apache-2.0 | 2,783 |
package com.indeed.util.io;
import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import java.io.File;
import java.io.IOException;
/** @author kenh */
public class BufferedFileDataInputOutputStreamTest {
@Rule public TemporaryFolder tempDir = new Temporary... | indeedeng/util | io/src/test/java/com/indeed/util/io/BufferedFileDataInputOutputStreamTest.java | Java | apache-2.0 | 4,068 |
/*
* 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 org.pieShare.pieShareApp.model.message.api;
import org.pieShare.pieShareApp.model.pieFile.FileMeta;
/**
*
* @author Svetos... | vauvenal5/pieShare | pieShareApp/src/main/java/org/pieShare/pieShareApp/model/message/api/IMetaMessage.java | Java | apache-2.0 | 515 |
/*
* Copyright 2003 - 2015 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/eFapsApp-Payroll | src/main/efaps/ESJP/org/efaps/esjp/payroll/basis/BasisAttribute_Base.java | Java | apache-2.0 | 9,497 |
/* Copyright 2019 Telstra Open Source
*
* 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... | jonvestal/open-kilda | src-java/stats-topology/stats-storm-topology/src/main/java/org/openkilda/wfm/topology/stats/metrics/TableStatsMetricGenBolt.java | Java | apache-2.0 | 2,168 |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | sankha93/selenium | java/server/src/org/openqa/grid/selenium/GridLauncherV3.java | Java | apache-2.0 | 11,755 |
// 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... | DaanHoogland/cloudstack | server/src/test/java/com/cloud/vpc/MockConfigurationManagerImpl.java | Java | apache-2.0 | 23,400 |
/* First created by JCasGen Sun Nov 28 23:36:26 CET 2010 */
package org.apache.uima;
import org.apache.uima.jcas.JCas;
import org.apache.uima.jcas.JCasRegistry;
import org.apache.uima.jcas.cas.TOP_Type;
import org.apache.uima.jcas.cas.FSArray;
import org.apache.uima.jcas.tcas.Annotation;
/**
* Updated by JCasG... | nicolashernandez/dev-star | uima-star/uima-connectors/src/main/java/org/apache/uima/SentenceAnnotation.java | Java | apache-2.0 | 3,786 |
/*
* Copyright 2011-2015 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 require... | IHTSDO/snow-owl | snomed/com.b2international.snowowl.snomed.scg/src-gen/com/b2international/snowowl/dsl/parser/antlr/SCGAntlrTokenFileProvider.java | Java | apache-2.0 | 1,077 |
/*
* 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-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeCollectionRequest.java | Java | apache-2.0 | 3,496 |
package se.goransson.qatja;
/*
* Copyright (C) 2012 Andreas Goransson, David Cuartielles
*
* 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/LICENS... | Qatja/processing | src/se/goransson/qatja/Connection.java | Java | apache-2.0 | 1,157 |
/**
* Copyright 2016 Netflix, 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... | benjchristensen/RxJava | src/main/java/io/reactivex/internal/schedulers/ScheduledRunnable.java | Java | apache-2.0 | 3,768 |
/*
* 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-waf/src/main/java/com/amazonaws/services/waf/model/waf_regional/transform/CreateRegexPatternSetResultJsonUnmarshaller.java | Java | apache-2.0 | 3,186 |
package com.footprint.annotation;
import java.lang.annotation.*;
/**
* provide annotation for view field
*/
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ViewAnno {
/** the id for view */
public int id() default -1;
public String click() default "";
}
| BigFootprint/AndroidAnnotation | AndroidAnnotation/src/com/footprint/annotation/ViewAnno.java | Java | apache-2.0 | 312 |
/**
* 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 | testing-project/asakusa-test-data-generator/src/main/java/com/asakusafw/testdata/generator/TemplateGenerator.java | Java | apache-2.0 | 1,274 |
package nl.maastrichtuniversity.networklibrary.cyneo4j.internal;
import nl.maastrichtuniversity.networklibrary.cyneo4j.internal.configuration.AppConfiguration;
import nl.maastrichtuniversity.networklibrary.cyneo4j.internal.neo4j.Neo4jClient;
import nl.maastrichtuniversity.networklibrary.cyneo4j.internal.ui.CommandMenu... | naipath/cyNeo4j | src/main/java/nl/maastrichtuniversity/networklibrary/cyneo4j/internal/CyActivator.java | Java | apache-2.0 | 4,067 |
/*
* Copyright 2016 Fabio Collini.
*
* 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... | fabioCollini/LifeCycleBinder | lifecyclebinder-demo-fragments/src/main/java/it/codingjam/lifecyclebinder/demo/ActivityLogger.java | Java | apache-2.0 | 1,915 |
/*
* $Id: JGraphExampleGraph.java,v 1.7 2008/02/25 09:22:27 david Exp $
* Copyright (c) 2001-2005, Gaudenz Alder
*
* All rights reserved.
*
* This file is licensed under the JGraph software license, a copy of which
* will have been provided to you in the file LICENSE at the root of your
* installation direct... | rayrelay/devnote | devnote-example/src/main/java/com/jgraph/layout/JGraphExampleGraph.java | Java | apache-2.0 | 6,543 |
package org.thinkbigthings.tictactoe;
import org.thinkbigthings.tictactoe.player.HumanPlayer;
import org.thinkbigthings.tictactoe.player.PerfectPlayer;
import org.thinkbigthings.tictactoe.player.Player;
import org.thinkbigthings.tictactoe.player.RandomPlayer;
import java.io.BufferedReader;
import java.io.InputStream... | thinkbigthings/tic-tac-toe | src/main/java/org/thinkbigthings/tictactoe/Game.java | Java | apache-2.0 | 3,786 |
/*
* Copyright (C) 2011 Everit Kft. (http://www.everit.org)
*
* 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... | zsigmond-czine-everit/jdbc-dsf-ecm | component/src/main/java/org/everit/persistence/jdbc/dsf/ecm/internal/XADataSourceAttributePriority.java | Java | apache-2.0 | 1,160 |
/*
* Copyright 2009-2013 by The Regents of the University of California
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may obtain a copy of the License from
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | tectronics/hyracks | hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/constraints/PartitionConstraintHelper.java | Java | apache-2.0 | 2,175 |
package org.nlpcn.es4sql.domain;
import org.elasticsearch.search.sort.ScriptSortBuilder;
import org.nlpcn.es4sql.parse.SubQueryExpression;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* 将sql语句转换为select 对象
*
* @author ansj
*/
public class Select extends Query {
public stat... | NLPchina/elasticsearch-sql | src/main/java/org/nlpcn/es4sql/domain/Select.java | Java | apache-2.0 | 4,418 |
/*
* Copyright 2014-2016 See AUTHORS file.
*
* 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... | piotr-j/VisEditor | ui/src/test/java/com/kotcrab/vis/ui/test/manual/TestListView.java | Java | apache-2.0 | 4,142 |
/*
* 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 ... | GeLiXin/hadoop | hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/ozoneimpl/TestOzoneContainer.java | Java | apache-2.0 | 22,428 |
/*
* 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... | EvilMcJerkface/presto | presto-spark-launcher/src/main/java/com/facebook/presto/spark/launcher/PrestoSparkLauncherCommand.java | Java | apache-2.0 | 3,349 |
/**
* Copyright 2012 Shopzilla.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | shopzilla/hadoop-in-a-box | hadoop-repl/src/main/java/com/shopzilla/hadoop/repl/commands/Command.java | Java | apache-2.0 | 1,396 |
/*
* Copyright © 2014 Cask Data, 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 t... | StackVista/tephra | tephra-core/src/test/java/co/cask/tephra/TransactionServiceMainTest.java | Java | apache-2.0 | 2,209 |
/*
* 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-snowdevicemanagement/src/main/java/com/amazonaws/services/snowdevicemanagement/model/transform/ServiceQuotaExceededExceptionUnmarshaller.java | Java | apache-2.0 | 3,026 |
/*
* Copyright (c) 2012, Inversoft 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... | prime-framework/prime-mvc | src/main/java/org/primeframework/mvc/guice/Nullable.java | Java | apache-2.0 | 1,004 |
// 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 writing, softw... | GoogleCloudPlatform/gcp-token-broker | code/extensions/caching/cloud-datastore/src/main/java/com/google/cloud/broker/caching/remote/DatastoreCacheCleanup.java | Java | apache-2.0 | 1,307 |
/*
* 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/internal/Files.java | Java | apache-2.0 | 27,343 |
package redis.clients.collections.builder;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import redis.clients.collections.Ranking;
import redis.clients.collections.ScoresPoint;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.Tuple;
class ScorePointLong extends AbstractScoresPo... | otaviojava/redis-collections | src/main/java/redis/clients/collections/builder/ScorePointLong.java | Java | apache-2.0 | 1,303 |
package io.leopard.monitor.connection;
import io.leopard.burrow.lang.SynchronizedLRUMap;
import io.leopard.jdbc.JdbcConnectionListener;
import io.leopard.monitor.MonitorBeanFactory;
import java.sql.Connection;
import java.util.Map;
public class JdbcConnectionListenerImpl implements JdbcConnectionListener {
... | tanhaichao/leopard | leopard-monitor/src/main/java/io/leopard/monitor/connection/JdbcConnectionListenerImpl.java | Java | apache-2.0 | 2,010 |
/*
* 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... | arhimondr/presto | presto-main/src/main/java/com/facebook/presto/execution/TaskThresholdMemoryRevokingScheduler.java | Java | apache-2.0 | 6,067 |
package com.mob.thor.rpc.common.utils;
import java.util.Iterator;
import java.util.List;
import org.apache.log4j.Level;
import com.mob.thor.rpc.common.logger.Logger;
import com.mob.thor.rpc.common.logger.LoggerFactory;
public class LogUtil {
private static Logger Log = LoggerFactory.getLogger(LogUt... | MOBX/Thor | thor-rpc/src/main/java/com/mob/thor/rpc/common/utils/LogUtil.java | Java | apache-2.0 | 3,230 |
package fortunedog.mail.proxy.exchange;
public class ExchangeException extends Exception
{
/**
*
*/
private static final long serialVersionUID = 1L;
public ExchangeException()
{
super();
// TODO Auto-generated constructor stub
}
public ExchangeException(String message, Throwable cause... | glorycloud/GloryMail | MailProxy/src/fortunedog/mail/proxy/exchange/ExchangeException.java | Java | apache-2.0 | 634 |
/**
* 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 ... | jbertram/activemq-artemis-old | tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PagingTest.java | Java | apache-2.0 | 183,893 |
package cn.com.sparkle.firefly.stablestorage.io;
public interface PriorChangeable {
public void setIsHighPrior(boolean isHigh);
}
| qinannmj/FireFly | src/main/java/cn/com/sparkle/firefly/stablestorage/io/PriorChangeable.java | Java | apache-2.0 | 137 |
/*
* Copyright 2013-2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | spring-cloud/spring-cloud-aws | spring-cloud-aws-integration-test/src/test/java/org/springframework/cloud/aws/it/jdbc/DatabaseService.java | Java | apache-2.0 | 819 |
// Generated from GherkinTags.g4 by ANTLR 4.9
package com.pdsl.gherkin.filter;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link GherkinTagsParser}.
*
* @param <T> The return type of the visit operation. Use {@link Void}... | google/polymorphicDSL | src/main/java/com/pdsl/gherkin/filter/GherkinTagsVisitor.java | Java | apache-2.0 | 1,170 |
package com.github.springboot.support.springusetest.retrofit;
@RetrofitService
public interface MeetingService {
}
| lys091112/moonstar | practice/src/main/java/com/github/springboot/support/springusetest/retrofit/MeetingService.java | Java | apache-2.0 | 117 |
/*
* 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")... | dash-/apache-openaz | openaz-xacml-pdp/src/main/java/org/apache/openaz/xacml/pdp/policy/AllOf.java | Java | apache-2.0 | 4,863 |
package org.sumanta.main;
import org.sumanta.annotation.Embedded;
import org.sumanta.annotation.Property;
public class Employee {
@Property
public int id;
@Property
public String firstName;
@Property
public String lastName;
@Property
public int salary;
@Embedded
@Property
public Address ad;
public Emplo... | sumanta23/ExportToExcel | src/test/java/org/sumanta/main/Employee.java | Java | apache-2.0 | 1,103 |
/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 0.7pre6 */
package com.steadystate.css;
public class ParseException extends com.steadystate.css.parser.ParseException {
}
| SaharChang/Author-Extraction | AuthorExtract/src/com/steadystate/css/ParseException.java | Java | apache-2.0 | 203 |
package edu.jhu.cs.cs439.project;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import edu.jhu.cs.cs439.project.projectinterface.Hashers;
/**
* This class implements hash function library th... | yliu120/ErrorCorrection | src/edu/jhu/cs/cs439/project/KMerHashers.java | Java | apache-2.0 | 2,723 |
/**
* Copyright 2012 International Business Machines Corp.
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. Licensed under the Apache License,
* Version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obt... | WASdev/standards.jsr352.tck | com.ibm.jbatch.tck/src/main/java/com/ibm/jbatch/tck/artifacts/specialized/MyPartitionCollector.java | Java | apache-2.0 | 1,303 |
/* Generic definitions */
/* Assertions (useful to generate conditional code) */
/* Current type and class (and size, if applicable) */
/* Value methods */
/* Interfaces (keys) */
/* Interfaces (values) */
/* Abstract implementations (keys) */
/* Abstract implementations (values) */
/* Static containers (keys) */
/... | karussell/fastutil | src/it/unimi/dsi/fastutil/ints/Int2CharAVLTreeMap.java | Java | apache-2.0 | 53,587 |
package lsh.ext.gson.adapters;
import java.io.IOException;
import java.util.Date;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
/**
* Represents the epoch to {@link Date} and v... | lyubomyr-shaydariv/ext-gson | src/main/java/lsh/ext/gson/adapters/EpochDateTypeAdapter.java | Java | apache-2.0 | 997 |
/*
* Copyright 2000-2013 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... | ernestp/consulo | platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/project/ExternalLibraryPathTypeMapperImpl.java | Java | apache-2.0 | 1,797 |
/*
* 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.... | dolszews/appium-tigerspike | src/main/java/io/appium/java_client/HidesKeyboardWithKeyName.java | Java | apache-2.0 | 1,755 |
/*
* Copyright 2018 Netflix, 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... | duftler/orca | orca-web/src/main/groovy/com/netflix/spinnaker/config/EnhancedMonitoringConfiguration.java | Java | apache-2.0 | 3,848 |
/*
* 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 ... | dream-x/ignite | modules/core/src/main/java/org/apache/ignite/internal/processors/query/schema/SchemaIndexCacheVisitorImpl.java | Java | apache-2.0 | 6,759 |
package blog.controller;
import auth.AuthHelper;
import beans.BeanManager;
import blog.service.IResourceLevelService;
import org.apache.http.HttpException;
import org.apache.http.HttpRequest;
import org.apache.http.HttpResponse;
import org.apache.http.protocol.HttpContext;
import rest.RestHelper;
import rest.WithMatch... | CaoYouXin/serveV2 | apis/blog/src/blog/controller/ListResourceLevelCtrl.java | Java | apache-2.0 | 1,045 |
/*
* 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... | uschindler/elasticsearch | test/logger-usage/src/test/java/org/elasticsearch/test/loggerusage/ESLoggerUsageTests.java | Java | apache-2.0 | 11,342 |
/*
* 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-licensemanager/src/main/java/com/amazonaws/services/licensemanager/model/transform/IssuerJsonUnmarshaller.java | Java | apache-2.0 | 2,861 |
package explorviz.shared.usertracking.records.landscape;
import explorviz.shared.model.NodeGroup;
public class NodeGroupCloseRecord extends NodeGroupRecord {
protected NodeGroupCloseRecord() {
}
public NodeGroupCloseRecord(final NodeGroup nodeGroup) {
super(nodeGroup);
}
}
| ExplorViz/ExplorViz | src/explorviz/shared/usertracking/records/landscape/NodeGroupCloseRecord.java | Java | apache-2.0 | 285 |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | deeplearning4j/deeplearning4j | datavec/datavec-data/datavec-geo/src/test/java/org/datavec/api/transform/transform/TestGeoTransforms.java | Java | apache-2.0 | 6,800 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2014 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Vers... | jfdenise/aesh | aesh/src/main/java/org/aesh/command/settings/Settings.java | Java | apache-2.0 | 7,255 |
package liu.study.api.java.awt.interfaces;
import java.awt.ActiveEvent;
public interface XActiveEvent extends ActiveEvent {
@Override
void dispatch();
}
| xiaotangai/KnowledgeBase | src/main/java/liu/study/api/java/awt/interfaces/XActiveEvent.java | Java | apache-2.0 | 161 |
/*
* 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 ... | adrian-wang/project-panthera-skin | src/main/java/com/intel/ssg/dcst/panthera/parse/sql/generator/AsteriskGenerator.java | Java | apache-2.0 | 1,954 |
package com.dianping.cat.report.task.metric;
import java.util.List;
public class BaselineConfig {
private int m_id;
private String m_key;
private int m_targetDate;
private List<Double> m_weights;
private List<Integer> m_days;
public List<Integer> getDays() {
return m_days;
}
public int getId() {
r... | ServerStarted/cat | cat-home/src/main/java/com/dianping/cat/report/task/metric/BaselineConfig.java | Java | apache-2.0 | 817 |
package org.apereo.cas.web.flow.configurer;
import org.apereo.cas.web.flow.CasWebflowConfigurer;
import org.apereo.cas.web.flow.CasWebflowConstants;
import org.apereo.cas.web.flow.CasWebflowExecutionPlan;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframewor... | leleuj/cas | core/cas-server-core-webflow-mfa-api/src/test/java/org/apereo/cas/web/flow/configurer/BaseMultifactorWebflowConfigurerTests.java | Java | apache-2.0 | 2,616 |
package editor.search;
import editor.FileTree;
import editor.FileTreeUtil;
import editor.NodeKind;
import editor.util.IProgressCallback;
import java.util.Collections;
import java.util.List;
import java.util.function.Predicate;
/**
*/
public abstract class AbstractSearcher
{
public abstract boolean search( FileTre... | gosu-lang/gosu-lang | gosu-lab/src/main/java/editor/search/AbstractSearcher.java | Java | apache-2.0 | 1,996 |
// $Id$
package com.indeed.util.io;
import com.google.common.base.Charsets;
import com.google.common.base.Preconditions;
import com.google.common.base.Supplier;
import com.google.common.hash.Hashing;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.annotation.Nonnull;
import java.io.BufferedInput... | indeedeng/util | io/src/main/java/com/indeed/util/io/Files.java | Java | apache-2.0 | 35,710 |
package com.zhenghongfei.todolist.springmvc.controller;
import com.zhenghongfei.todolist.springmvc.model.Todo;
import com.zhenghongfei.todolist.springmvc.service.TodoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype... | zhenghongfei/todolist | src/main/java/com/zhenghongfei/todolist/springmvc/controller/TodoController.java | Java | apache-2.0 | 1,579 |
/*
* 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/test/java/com/dremio/exec/planner/TestComplexSchemaFlattener.java | Java | apache-2.0 | 3,607 |
/**
* Copyright 2011-2017 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... | cocoatomo/asakusafw | testing-project/asakusa-test-moderator/src/main/java/com/asakusafw/testdriver/core/SpiImporterPreparator.java | Java | apache-2.0 | 4,428 |
package greensnow25.com;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.NoSuchElementException;
/**
* public class SimpleTree.
*
* @author greensnow25.
* @version 1.
* @since 29.05.2017.
*/
public class SimpleTree<E extends Comparable> implements ISimpleTree<E> {
... | greensnow25/javaaz | chapter5/tree/src/mian/java/greensnow25/com/SimpleTree.java | Java | apache-2.0 | 6,518 |
package ru.job4j.loop;
public class Counter {
public int add(int start, int finish){
int sum = 0;
for (int i = start; i <= finish; i++){
if (i % 2 == 0){
sum = sum + i;
}
}
return sum;
}
}
| Aikis07/barkovd | chapter_001/src/main/java/ru/job4j/loop/Counter.java | Java | apache-2.0 | 270 |
/**
* 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... | gigaroby/hops | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmnode/RMNodeImplDist.java | Java | apache-2.0 | 23,996 |
/*
* put your module comment here
* formatted with JxBeauty (c) johann.langhofer@nextra.at
*/
package com.kutsyy.lvspod;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import com.kutsyy.util.*;
//import com.borland.jbcl.layout.*;
/**
* Title: com.kutsyy.lvspod Description: This library is set... | kutsyy/com.kutsyy.lvspod | src/com/kutsyy/lvspod/OrdinalSpatialDataAgumentationPlot.java | Java | apache-2.0 | 11,328 |
/*******************************************************************************
* Copyright 2008 and onwards Sergei Sokolenko, Alexey Shevchuk,
* Sergey Shevchook, and Roman Khnykin.
*
* This product includes software developed at
* Cuesense 2008-2011 (http://www.cuesense.com/).
*
* This product i... | datancoffee/sirocco | src/main/java/sirocco/indexer/dictionaries/en/NegatorDictionary.java | Java | apache-2.0 | 1,561 |
package com.android.potlach.ui;
import android.app.Activity;
import android.app.SearchManager;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.util.Log;
import android.view.View;
import android.widget.AbsListView;
import android.widget.Adapte... | diyanfilipov/potlach-client | src/com/android/potlach/ui/SearchResultsActivity.java | Java | apache-2.0 | 6,289 |
package springStarterProject.model;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "Students")
public cl... | preemynence/SpringProjectExamples | springStarterProject/src/main/java/springStarterProject/model/Student.java | Java | apache-2.0 | 1,437 |
package com.csy.maksmaigin.robot.util;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphi... | chensy-and/maksmaigin | maksmaigin/app/src/main/java/com/csy/maksmaigin/robot/util/SystemBarTintManager.java | Java | apache-2.0 | 19,434 |
package com.yenlo.oauth;
import com.yenlo.oauth.token.ws.OAuth2TokenValidationService;
import com.yenlo.oauth.token.ws.OAuthAdminService;
import com.yenlo.oauth.token.ws.WSWso2TokenStore;
import org.springframework.boot.autoconfigure.jdbc.DataSourceBuilder;
import org.springframework.boot.context.properties.Configurat... | angel-git/wso2is-springoauth | src/main/java/com/yenlo/oauth/OAuth2ServerConfiguration.java | Java | apache-2.0 | 4,345 |
/*
* 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 us.vicentini.hackerrank.algorithms.strings;
import java.util.Scanner;
/**
* https://www.hackerrank.com/challenges/pangrams
... | Shulander/hackerrank | src/main/java/us/vicentini/hackerrank/algorithms/strings/Pangrams.java | Java | apache-2.0 | 1,720 |
package frostillicus.wrapbootstrap.ace1_3.renderkit.outline;
import javax.faces.context.FacesContext;
import com.ibm.xsp.extlib.component.outline.AbstractOutline;
import com.ibm.xsp.extlib.renderkit.html_extended.outline.AbstractOutlineRenderer;
import com.ibm.xsp.extlib.tree.ITreeRenderer;
public class AceBreadCrum... | jesse-gallagher/Miscellany | frostillicus.wrapbootstrap.ace_1.3/src/frostillicus/wrapbootstrap/ace1_3/renderkit/outline/AceBreadCrumbsRenderer.java | Java | apache-2.0 | 587 |
/*
* 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.openhris.employee;
import com.hrms.classes.GlobalVariables;
import com.hrms.utilities.ConvertionUtilities;
impo... | jetdario/hrms | src/java/com/openhris/employee/EmployeePersonalInformation.java | Java | apache-2.0 | 28,498 |
/**
*/
package edu.kit.ipd.sdq.kamp4aps.model.aPS.MechanicalComponents.tests;
import edu.kit.ipd.sdq.kamp4aps.model.aPS.ComponentRepository.tests.MechanicalAssemblyTest;
import edu.kit.ipd.sdq.kamp4aps.model.aPS.MechanicalComponents.GripperPart;
import edu.kit.ipd.sdq.kamp4aps.model.aPS.MechanicalComponents.M... | KAMP-Research/KAMP4APS | edu.kit.ipd.sdq.kamp4aps.aps.tests/src/edu/kit/ipd/sdq/kamp4aps/model/aPS/MechanicalComponents/tests/GripperPartTest.java | Java | apache-2.0 | 1,717 |