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
/** * 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...
kexianda/commons-crypto
src/test/java/org/apache/commons/crypto/cipher/JceCipherTest.java
Java
apache-2.0
1,958
package ga.thesis.hibernate.service; import ga.thesis.hibernate.entities.Teacher; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; @Repository("teacherRepository") public interface TeacherRepository extends CrudRepository<Teacher, Long> { }
skylady/GAThesis2
src/main/java/ga/thesis/hibernate/service/TeacherRepository.java
Java
apache-2.0
303
package com.tianjunwei.aop.one; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import com.tianjunwei.aop.IDaoOperation; public class DaoOperationMain { @SuppressWarnings("resource") public static void main(String[] args)...
IAMTJW/TJWspring
src/main/java/com/tianjunwei/aop/one/DaoOperationMain.java
Java
apache-2.0
563
package com.jgonfer.pwned.utils; import android.content.Context; import com.jgonfer.pwned.model.realm.BreachedService; import com.jgonfer.pwned.model.realm.History; import com.jgonfer.pwned.model.realm.RealmString; import com.jgonfer.pwned.model.realm.UserInfo; import java.util.ArrayList; import java.util.List; imp...
jgonfer/pwned-android
app/src/main/java/com/jgonfer/pwned/utils/RealmHelper.java
Java
apache-2.0
11,724
package com.github.bingoohuang.westcache.utils; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.TypeReference; import com.alibaba.fastjson.parser.ParserConfig; import com.alibaba.fastjson.serializer.SerializeConfig; import com.alibaba.fastjson.serializer.SerializerFeature; import com.github.bingoohuang.u...
bingoohuang/westcache
src/main/java/com/github/bingoohuang/westcache/utils/FastJsons.java
Java
apache-2.0
3,116
package cn.soon.imageviewtouch; import android.animation.Animator; import android.animation.AnimatorSet; import android.animation.ValueAnimator; import android.annotation.SuppressLint; import android.content.Context; import android.content.res.Configuration; import android.graphics.Bitmap; import android.graphics.Canv...
tonystarsoon/SmartPhotoSelectorDemo
photoselect/src/main/java/cn/soon/imageviewtouch/ImageViewTouchBase.java
Java
apache-2.0
32,567
/* * Copyright 2014-2021 Andrew Gaul <andrew@gaul.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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
andrewgaul/s3proxy
src/test/java/org/gaul/s3proxy/TestUtils.java
Java
apache-2.0
8,299
/* Copyright 2011 Elijah Zupancic 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 wr...
dekobon/string-replacer-proxy
src/main/java/stringreplacer/rewriting/InputRewriteStream.java
Java
apache-2.0
879
package me.leolin.shortcutbadger.impl; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import me.leolin.shortcutbadger.Badger; import me.leolin.shortcutbadger.ShortcutBadgeException; import me.leolin.shortcutbadger.ShortcutBadger; import java.util.ArrayList; impor...
sxagan/cordova-plugin-hlpush
src/android/me/leolin/shortcutbadger/impl/DefaultBadger.java
Java
apache-2.0
1,327
package cst.dao; import cst.entity.OvertUserBehavior; /** * Created by Lzy_pc on 2015/4/16. */ public interface UserBehaviorDao { int insertOvertBehavior(OvertUserBehavior overtUserBehavior); }
gitsoftsun/GraduationThesis
code/View_UI/src/main/java/cst/dao/UserBehaviorDao.java
Java
apache-2.0
202
package net.kwmt27.codesearch.model; public interface ISearchModel { String getKeyword(); int getNextPage(); boolean hasNextPage(); void clear(); }
kwmt/GitHubSearch
app/src/main/java/net/kwmt27/codesearch/model/ISearchModel.java
Java
apache-2.0
169
package natlab.backends.x10.codegen; import java.util.ArrayList; import java.util.UUID; import natlab.backends.x10.IRx10.ast.AssignStmt; import natlab.backends.x10.IRx10.ast.DeclStmt; import natlab.backends.x10.IRx10.ast.ForStmt; import natlab.backends.x10.IRx10.ast.IDInfo; import natlab.backends.x10.IRx10.ast.IDUse;...
bpilania/Comp621Project
languages/Natlab/src/natlab/backends/x10/codegen/ForLoopStmt.java
Java
apache-2.0
5,373
/* * 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/test/java/org/assertj/core/internal/integers/Integers_assertLessThan_Test.java
Java
apache-2.0
3,698
/* * Copyright © 2019 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...
cdapio/sql-pipelines
sql-data-pipeline/src/main/java/io/cdap/pipeline/sql/app/bigquery/BigQueryExecutor.java
Java
apache-2.0
2,933
/* * Copyright (c) 2015 SBG Apps * * 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 ...
miguelespinoza/ScoreItProject
ScoreIt/src/main/java/com/sbgapps/scoreit/widget/ToggleGroup.java
Java
apache-2.0
10,911
package landmaster.landcore.item; import landmaster.landcore.*; import net.minecraft.item.*; public class ItemModSword extends ItemSword { public ItemModSword(ToolMaterial material, String name) { super(material); setTranslationKey(name).setRegistryName(name); setCreativeTab(LandCore.creativeTab); } }
Landmaster/LandCore
src/main/java/landmaster/landcore/item/ItemModSword.java
Java
apache-2.0
313
package cz.muni.pv239.marek.exercise1; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; public class SecondActivity extends AppCompatActivity { Button mOkButton = null; TextView mMessageBodyTextV...
mchsk/muni_android
pv239/Exercise1/app/src/main/java/cz/muni/pv239/marek/exercise1/SecondActivity.java
Java
apache-2.0
1,052
import org.mavlink.messages.ja4rtor.msg_mission_ack; import org.mavlink.messages.ja4rtor.msg_mission_request; import se.kth.mf2063.internetdrone.Message; import se.kth.mf2063.internetdrone.MessageType; import java.io.IOException; import java.io.ObjectOutputStream; import java.util.concurrent.LinkedBlockingQueue; /** ...
EricssonResearch/flyingaps
Cloud test/GUI/EricssonDrone/src/WpProtocol.java
Java
apache-2.0
5,714
/* * 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...
rockagen/commons-lib
src/test/java/com/rockagen/commons/http/HttpConnTest.java
Java
apache-2.0
2,602
package com.bytebeats.codelab.orm.domain; import java.util.List; /** * ${DESCRIPTION} * * @author Ricky Fung * @date 2017-01-03 18:46 */ public class MapperDefinition { private String name; private String qualifiedName; private String pkgName; private String beanName; private String beanQual...
FBing/cglib-demo
annotation-sample/annotation-orm/src/main/java/com/bytebeats/codelab/orm/domain/MapperDefinition.java
Java
apache-2.0
1,400
/** * Copyright 2017 Jerónimo López Bezanilla * * 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...
jerolba/jfleet
jfleet-core/src/test/java/org/jfleet/shared/ManyToOnePersistenceTest.java
Java
apache-2.0
8,171
/** * Retz * Copyright (C) 2016-2017 Nautilus 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 ...
retz/retz
retz-server/src/test/java/io/github/retz/scheduler/ServerConfigurationTest.java
Java
apache-2.0
3,102
package org.rabix.engine.rest.backend; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.Con...
markosbg/debug
rabix-engine-rest/src/main/java/org/rabix/engine/rest/backend/BackendDispatcher.java
Java
apache-2.0
6,798
/* * 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/build/diff/BuildsDiffPropertyModel.java
Java
apache-2.0
2,128
/* * 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")...
haoch/kylin
storage-hbase/src/test/java/org/apache/kylin/storage/hbase/cube/v1/coprocessor/observer/RowAggregatorsTest.java
Java
apache-2.0
2,547
package com.j256.ormlite.field.types; import com.j256.ormlite.field.SqlType; public class DoubleType extends DoubleObjectType { private static final DoubleType singleTon = new DoubleType(); private DoubleType() { super(localSqlType, arrayOfClass); } protected DoubleType(SqlType paramSqlType, Class<?>[...
mmmsplay10/QuizUpWinner
quizup/com/j256/ormlite/field/types/DoubleType.java
Java
apache-2.0
703
package fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_5316 { }
lesaint/experimenting-annotation-processing
experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_5316.java
Java
apache-2.0
151
/* * Copyright 2013 Gunnar Kappei. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
moosbusch/xbLIDO
src/org/lidoSchema/RecordInfoSetComplexType.java
Java
apache-2.0
16,110
package de.st_ddt.crazycore.listener; import org.bukkit.entity.Player; import de.st_ddt.crazycore.CrazyCore; import de.st_ddt.crazyplugin.listener.CrazyPluginMessageListener; import de.st_ddt.crazyutil.ChatHelper; import de.st_ddt.crazyutil.locales.CrazyLocale; public class MessageListener extends CrazyPluginMessage...
ST-DDT/CrazyCore
src/main/java/de/st_ddt/crazycore/listener/MessageListener.java
Java
apache-2.0
1,327
/* * Copyright 2008-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
levymoreira/griffon
samples/editor-javafx-java/griffon-app/views/editor/EditorView.java
Java
apache-2.0
1,914
package com.sfl.pms.services.payment.common.dto; import com.sfl.pms.services.common.dto.AbstractDomainEntityModelDto; import com.sfl.pms.services.payment.common.model.PaymentResult; import com.sfl.pms.services.payment.common.model.PaymentResultStatus; import com.sfl.pms.services.payment.provider.model.PaymentProviderT...
sflpro/ms_payment
services/services_core/src/main/java/com/sfl/pms/services/payment/common/dto/PaymentResultDto.java
Java
apache-2.0
2,729
/* * Copyright 2009-2014 University of Hildesheim, Software Systems Engineering * * 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 * * ...
SSEHUB/EASyProducer
Plugins/VarModel/Model/src/net/ssehub/easy/varModel/cstEvaluation/VariableAccessor.java
Java
apache-2.0
11,031
/* * 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.serverbase/src/com/tle/core/xml/service/XmlService.java
Java
apache-2.0
1,262
/* * 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...
consulo/consulo
modules/base/platform-impl/src/main/java/com/intellij/ide/impl/dataRules/CopyProviderRule.java
Java
apache-2.0
1,415
package com.jetbrains.edu.learning.intellij.generation; import com.intellij.ide.highlighter.ModuleFileType; import com.intellij.ide.util.projectWizard.JavaModuleBuilder; import com.intellij.openapi.module.ModifiableModuleModel; import com.intellij.openapi.module.Module; import com.intellij.openapi.module.ModuleWithNam...
medvector/educational-plugin
educational-core/src/com/jetbrains/edu/learning/intellij/generation/EduLessonModuleBuilder.java
Java
apache-2.0
2,674
package cn.com.sparkle.firefly.deamon; import java.util.Map; import org.apache.log4j.Logger; import cn.com.sparkle.firefly.Constants; import cn.com.sparkle.firefly.Context; import cn.com.sparkle.firefly.NodesCollection; import cn.com.sparkle.firefly.config.Configuration; import cn.com.sparkle.firefly.event...
qinannmj/FireFly
src/main/java/cn/com/sparkle/firefly/deamon/CatchUpDeamon.java
Java
apache-2.0
8,943
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
youdonghai/intellij-community
platform/platform-impl/src/com/intellij/ui/messages/SheetController.java
Java
apache-2.0
16,069
package org.spanna.event.player; import org.spanna.entity.Entity; import org.spanna.entity.Player; import org.spanna.event.Cancellable; import org.spanna.event.HandlerList; /** * Represents an event that is called when a player right clicks an entity. */ public class PlayerInteractEntityEvent extends PlayerEvent im...
SpannaProject/SpannaAPI
src/main/java/org/spanna/event/player/PlayerInteractEntityEvent.java
Java
apache-2.0
1,165
/* Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction...
lindenb/jbwa
src/main/java/com/github/lindenb/jbwa/jni/Example.java
Java
apache-2.0
12,254
/* * ============================================================================= * * Copyright (c) 2014-2017, The UNBESCAPE team (http://www.unbescape.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 ...
unbescape/unbescape-tests
src/test/java/org/unbescape/properties/PropertiesKeyEscape16Test.java
Java
apache-2.0
2,714
package de.tetet.fof7.compact; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.common.base.Objects; import com.mongodb.BasicDBObject; import com.mongodb.DB; import com.mongodb.DBObject; import de.tetet.fof7.config.Config; import de.tetet.fof7.config.ConfigFactory; import de.tetet.mongodb.M...
tspindler-cms/superbox
import/USFL/src/de/tetet/fof7/compact/MainCompact.java
Java
apache-2.0
1,973
/* * 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 ...
apurtell/phoenix
phoenix-core/src/main/java/org/apache/phoenix/compile/UpsertCompiler.java
Java
apache-2.0
76,693
/* * 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-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/GetCampaignVersionsRequest.java
Java
apache-2.0
5,805
package com.pddstudio.substratum.template.patcher; /** * Created by pddstudio on 25/04/2017. */ public class PatchingException extends Exception { public PatchingException(Exception e) { super(e); } public PatchingException(String message) { super(message); } }
PDDStudio/OTGSubs
substratum-template-patcher/src/main/java/com/pddstudio/substratum/template/patcher/PatchingException.java
Java
apache-2.0
277
/** * Copyright 2014 Microsoft Open 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 applica...
akrakovsky/msopentech-tools-for-intellij
src/android/com/microsoftopentechnologies/intellij/helpers/CustomJsonSlurper.java
Java
apache-2.0
1,088
package com.example.lcweather; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.os.Build; import android.os.Handler; import android.os.Message; import android.preference.PreferenceManager; import android.support.annotation.NonNull; import android.su...
wmgylc/LcWeather
app/src/main/java/com/example/lcweather/WeatherActivity.java
Java
apache-2.0
10,114
package me.jessyan.mvparms.demo.adapter; import android.content.Context; import android.support.annotation.Nullable; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; impo...
StillSad/MVPArms-YX
app/src/main/java/me/jessyan/mvparms/demo/adapter/UserBRAdapter.java
Java
apache-2.0
1,947
/* * 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-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/transform/CancelStepsResultJsonUnmarshaller.java
Java
apache-2.0
2,889
/* * Copyright (c) 2015 Spotify AB. * * 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,...
spotify/heroic
heroic-component/src/main/java/com/spotify/heroic/aggregation/Chain.java
Java
apache-2.0
2,857
/** * Copyright Pravega 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...
pravega/pravega
common/src/main/java/io/pravega/common/util/EnvVars.java
Java
apache-2.0
2,091
package net.sf.jsqlparser.test.tablesfinder; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.StringReader; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.StringTokenizer; import static junit.framework.TestCase.asser...
jskonst/PlatypusJS
application/src/lib/thirdparty/JSqlParser/testsrc/net/sf/jsqlparser/test/tablesfinder/TablesNamesFinderTest.java
Java
apache-2.0
4,523
package com.code4a.jlibrarydemo.utils; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util....
code4a/JLibraryDemo
app/src/main/java/com/code4a/jlibrarydemo/utils/OrderInfoUtil.java
Java
apache-2.0
3,592
package org.apache.lucene.facet.taxonomy.directory; import java.io.IOException; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import org.apache.lucene.document.Document; import org.apache.lucene.facet.collections.LRUHashMap; import org.apache.lucene.facet.taxonomy.CategoryPath...
pkarmstr/NYBC
solr-4.2.1/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/directory/DirectoryTaxonomyReader.java
Java
apache-2.0
14,467
/* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is NetB...
CharlesSkelton/studio
src/org/netbeans/editor/ext/ToolTipSupport.java
Java
apache-2.0
24,597
/* Licensed to the Court of the University of Edinburgh (UofE) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The UofE licenses this file to you under the Apache License, Version 2.0 (the "License")...
stumoodie/VisualLanguageToolkit
src/org/pathwayeditor/businessobjects/typedefn/IObjectType.java
Java
apache-2.0
2,549
package shiver.me.timbers.waiting.property; public interface PropertyManager { void setProperty(String key, String value); void restoreProperties(); }
shiver-me-timbers/smt-waiting-parent
smt-waiting-test/smt-waiting-integration-test/src/main/java/shiver/me/timbers/waiting/property/PropertyManager.java
Java
apache-2.0
162
/** * @author Takahiko Sato * */ package com.github.reels_project.reels.context;
reels-project/reels
reels-core/src/main/java/com/github/reels_project/reels/context/package-info.java
Java
apache-2.0
83
package com.planet_ink.coffee_mud.Abilities.Fighter; import com.planet_ink.coffee_mud.Abilities.StdAbility; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; imp...
bozimmerman/CoffeeMud
com/planet_ink/coffee_mud/Abilities/Fighter/Fighter_AtemiStrike.java
Java
apache-2.0
6,450
// ---------------------------------------------------------------------------- // Copyright 2007-2017, GeoTelematic Solutions, Inc. // All rights reserved // ---------------------------------------------------------------------------- // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not...
Kiosani/OpenGTS
src/org/opengts/war/track/taglib/TrackTag.java
Java
apache-2.0
15,784
/* * Copyright 2013-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
shakuzen/spring-cloud-config
spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/config/ConfigServerProperties.java
Java
apache-2.0
4,200
package org.marketcetera.photon.internal.strategy.engine.ui; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.nullValue; import static org.marketcetera.photon.strategy.engine.model.core.StrategyEngineCorePackage.Literals.STRATEGY__CLA...
nagyist/marketcetera
photon/photon/plugins/org.marketcetera.photon.strategy.engine.ui.tests/src/test/java/org/marketcetera/photon/internal/strategy/engine/ui/DeployStrategyCompositeTest.java
Java
apache-2.0
12,887
package com.kc.shiptransport.mvp.amount; import com.kc.shiptransport.db.SubcontractorList; import com.kc.shiptransport.mvp.BasePresenter; import com.kc.shiptransport.mvp.BaseView; import java.util.List; /** * @author qiuyongheng * @time 2017/6/13 15:38 * @desc ${TODD} */ public interface AmountContract { i...
qiu-yongheng/Ship
app/src/main/java/com/kc/shiptransport/mvp/amount/AmountContract.java
Java
apache-2.0
1,558
/* * Copyright (C) 2004-2015 Volker Bergmann (volker.bergmann@bergmann-it.de). * 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/lic...
aravindc/databenecommons
src/main/java/org/databene/commons/collection/NamedValueList.java
Java
apache-2.0
4,161
/* * Copyright 2005-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
spring-projects/spring-ldap
odm/src/test/java/org/springframework/ldap/odm/test/OrganizationalUnit.java
Java
apache-2.0
4,828
/* * otr4j, the open source java otr library. * * Distributable under LGPL license. See terms of license at gnu.org. */ package net.java.otr4j.io; import info.guardianproject.bouncycastle.util.encoders.Base64; import info.guardianproject.otr.OtrConstants; import java.io.ByteArrayInputStream; import java.io.ByteA...
prive/prive-android
src/net/java/otr4j/io/SerializationUtils.java
Java
apache-2.0
13,751
/*************************************************************************** * Copyright 2015 Kieker Project (http://kieker-monitoring.net) * * 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 a...
HaStr/kieker
kieker-common/src/kieker/common/record/flow/trace/TraceMetadataFactory.java
Java
apache-2.0
1,495
/** * 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...
francisliu/hbase
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMutateRowsRecovery.java
Java
apache-2.0
5,492
package com.weather.app.activity; import com.example.weather.R; import com.weather.app.service.AutoUpdateService; import com.weather.app.util.HttpCallbackListener; import com.weather.app.util.HttpUtil; import com.weather.app.util.Utility; import android.app.Activity; import android.content.Intent; import android.conte...
Android-developer-Eddy/weather
src/com/weather/app/activity/WeatherActivity.java
Java
apache-2.0
4,689
package com.crashinvaders.texturepackergui.lml.attributes.seekbar; import com.crashinvaders.texturepackergui.lml.tags.seekbar.FloatSeekBarLmlBuilder; import com.github.czyzby.lml.parser.LmlParser; import com.github.czyzby.lml.parser.tag.LmlBuildingAttribute; import com.github.czyzby.lml.parser.tag.LmlTag; public clas...
crashinvaders/gdx-texture-packer-gui
core/src/com/crashinvaders/texturepackergui/lml/attributes/seekbar/FloatSeekBarPrecisionLmlAttribute.java
Java
apache-2.0
808
package org.spanna.event.player; import org.spanna.block.Block; import org.spanna.block.BlockFace; import org.spanna.event.HandlerList; import org.spanna.inventory.ItemStack; import org.spanna.Material; import org.spanna.entity.Player; import org.spanna.event.Cancellable; import org.spanna.event.block.Action; /** * ...
SpannaProject/SpannaAPI
src/main/java/org/spanna/event/player/PlayerInteractEvent.java
Java
apache-2.0
5,270
/* * Copyright 2012 Nodeable 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 l...
StreamReduce/streamreduce-core
analytics/src/main/java/com/streamreduce/storm/RunStorm.java
Java
apache-2.0
3,875
/* * 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 ...
mohammadshahidkhan/incubator-carbondata
processing/src/main/java/org/apache/carbondata/processing/store/CarbonFactDataHandlerColumnar.java
Java
apache-2.0
65,217
package com.arthurb.combining.adapter; // Стандартная утка-кряква (Mallard) public class MallardDuck implements Quackable { @Override public void quack() { System.out.println("Quack"); } }
NeverNight/SimplesPatterns.Java
src/com/arthurb/combining/adapter/MallardDuck.java
Java
apache-2.0
231
package com.bricks.helper.code.api.domain; import java.util.ArrayList; import java.util.List; import com.bricks.helper.code.CodeGenReq; import com.bricks.helper.code.CodeType; /** * @author bricks <long1795@gmail.com> */ public class APICodeGenReq extends CodeGenReq { private static final long serialV...
zzjhacn/bricks
bricks-helper/src/main/java/com/bricks/helper/code/api/domain/APICodeGenReq.java
Java
apache-2.0
786
/* * 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-directconnect/src/main/java/com/amazonaws/services/directconnect/model/transform/DeleteLagResultJsonUnmarshaller.java
Java
apache-2.0
5,505
/* * 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 ...
Nickname0806/Test_Q4
java/org/apache/tomcat/util/modeler/RegistryMBean.java
Java
apache-2.0
4,154
/* * 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-appengine-admin
proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/VersionView.java
Java
apache-2.0
4,550
package tw.showang.recycleradapterbase.example.api; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.google.gson.reflect.TypeToken; import java.lang.reflect.Type; import java.util.List; import tw.showang.recycleradapterbase.example.api.GitHubUserRepoApi.GetRepoResult; import...
showang/RecyclerAdapterBase
example/src/main/java/tw/showang/recycleradapterbase/example/api/GitHubUserRepoApi.java
Java
apache-2.0
2,004
/* * Copyright 2013-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...
marcingrzejszczak/spring-cloud-sleuth
spring-cloud-sleuth-stream/src/test/java/org/springframework/cloud/sleuth/stream/DiscoveryClientHostLocatorTest.java
Java
apache-2.0
4,073
/* * Copyright (C) 2011 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...
haikuowuya/android_system_code
src/android/net/wifi/WifiWatchdogStateMachine.java
Java
apache-2.0
49,051
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
o3project/openflowj-otn
src/main/java/org/projectfloodlight/openflow/protocol/ver14/OFQueueDescStatsReplyVer14.java
Java
apache-2.0
13,818
/** * Copyright 2013, Big Switch Networks, 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 requi...
gauravsingh0110/CoSEL
src/main/java/net/floodlightcontroller/virtualnetwork/VirtualNetworkFilter.java
Java
apache-2.0
21,547
package com.behase.remin.controller; import lombok.extern.slf4j.Slf4j; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; ...
be-hase/remin
src/main/java/com/behase/remin/controller/EchoController.java
Java
apache-2.0
577
/***************************************************************************** * * 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 th...
veraPDF/veraPDF-pdfbox
preflight/src/main/java/org/apache/pdfbox/preflight/parser/XmlResultParser.java
Java
apache-2.0
7,528
package com.cloud.storage.datastore.lifecycle; import com.cloud.engine.subsystem.api.storage.ClusterScope; import com.cloud.engine.subsystem.api.storage.DataStore; import com.cloud.engine.subsystem.api.storage.HostScope; import com.cloud.engine.subsystem.api.storage.ZoneScope; import com.cloud.legacymodel.exceptions.I...
MissionCriticalCloud/cosmic
cosmic-core/engine/storage/default/src/main/java/com/cloud/storage/datastore/lifecycle/CloudStackImageStoreLifeCycleImpl.java
Java
apache-2.0
6,395
/* * 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-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/transform/TimeBasedCanaryJsonUnmarshaller.java
Java
apache-2.0
3,010
/* * 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-resourcegroups/src/main/java/com/amazonaws/services/resourcegroups/model/transform/UpdateGroupQueryRequestMarshaller.java
Java
apache-2.0
2,383
package org.ohdsi.webapi.service; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import javax.ws.rs.DefaultValue; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; impo...
wenzhang61/WebAPI
src/main/java/org/ohdsi/webapi/service/JobService.java
Java
apache-2.0
5,816
/* * 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...
martint/presto
presto-hive/src/main/java/io/prestosql/plugin/hive/BackgroundHiveSplitLoader.java
Java
apache-2.0
42,568
package org.leguan.testproject.refactoring.steps.deletions; public class RemoveMethod { protected protectedMethod () { } }
moley/leguan
leguan-testprojects/testprojectJava/src/main/java/org/leguan/testproject/refactoring/steps/deletions/RemoveMethod.java
Java
apache-2.0
127
/** * Package for tracker. * * @author Igor Fedorenko (mailto:if.zommy@gmail.com) * @version $Id$ * @since 0.1 */ package ru.job4j.tracker;
fr3anthe/ifedorenko
1.2-OOP/src/main/java/ru/job4j/tracker/package-info.java
Java
apache-2.0
139
package ar.com.larreta.commons.domain; import javax.persistence.Entity; import javax.persistence.Table; @Entity @Table(name = "userState") public class UserState extends ParametricEntity { public static final UserState ACTIVE = new UserState(new Long(1), "Active"); public static final UserState PENDING ...
llarreta/larretasources
Commons/src/main/java/ar/com/larreta/commons/domain/UserState.java
Java
apache-2.0
583
/** * Created by Andrey on 10.02.2018. * Test. */ package ru.apetrov.storage;
k000kc/java-a-to-z
Chapter_9/Lesson-9.2/src/test/java/ru/apetrov/storage/package-info.java
Java
apache-2.0
80
/******************************************************************************* * Copyright 2009-2015 Amazon Services. 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 Licens...
iamgoodman/AmazonOrdertest
src/com/amazonservices/mws/orders/_2013_09_01/mock/MarketplaceWebServiceOrdersMock.java
Java
apache-2.0
10,048
package org.renjin.primitives; import org.renjin.eval.Context; import org.renjin.eval.EvalException; import org.renjin.primitives.annotations.processor.ArgumentException; import org.renjin.primitives.annotations.processor.ArgumentIterator; import org.renjin.primitives.models.Models; import org.renjin.sexp.BuiltinFunc...
bedatadriven/renjin-statet
org.renjin.core/src-gen/org/renjin/primitives/R$primitive$model$frame.java
Java
apache-2.0
3,715
package de.idos.updates; import java.io.File; public class RootFolderSelector { public File getRootFolder() { File file = new File(".", "core"); if (file.exists()) { return file; } else { return new File("."); } } }
UrsKR/updates-r-simple
core/src/test/java/de/idos/updates/RootFolderSelector.java
Java
apache-2.0
283
/* * Copyright © 2014 - 2018 Leipzig University (Database Research Group) * * 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...
niklasteichmann/gradoop
gradoop-store/gradoop-accumulo/src/main/java/org/gradoop/storage/utils/AccumuloFilters.java
Java
apache-2.0
3,171
package com.grpc.java.service; import com.grpc.java.kernel.entity.role_power_info; import java.util.List; /** * Created by wx on 2017/10/27. */ public interface Role_PowerService { role_power_info getId(Integer id); role_power_info getPowerId(Integer id); role_power_info getRoleId(Integer id); ...
ccfish86/sctalk
server/admin/talk-grpc/src/main/java/com/grpc/java/service/Role_PowerService.java
Java
apache-2.0
472
/* * 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-bigtable
proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
Java
apache-2.0
19,981
package org.archboy.clobaframe.web.tool.impl; import java.util.ArrayList; import org.archboy.clobaframe.web.tool.ScriptMessageResource; import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; import javax.inject.Inject; import javax.inject.Named; import org.apache.commons.lang3....
ivarptr/clobaframe-web
source/tools/src/main/java/org/archboy/clobaframe/web/tool/impl/ScriptMessageResourcePageHeaderProvider.java
Java
apache-2.0
7,774