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 (c) 2000, 2010 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 * which accompanies this distribution, an...
brunyuriy/quick-fix-scout
org.eclipse.jface.text_3.7.1.r371_v20110825-0800/src/org/eclipse/jface/text/source/AnnotationBarHoverManager.java
Java
mit
27,168
/** * Ideas4All Android application * * @author Jon Segador <jonseg@gmail.com> || http://jonsegador.com * Released under MIT license, https://raw.github.com/jonseg/ideas4all_android/master/LICENSE.txt * */ package com.jonsegador.ideas4all; import java.util.Vector; import org.xml.sax.Attributes; import org.x...
apradillap/jonseg-ideas4all
src/com/jonsegador/ideas4all/CommentHandler.java
Java
mit
3,573
package net.ontrack.backend; import net.ontrack.core.support.InputException; public class ImportVersionException extends InputException { public ImportVersionException(String inputVersion, String targetVersion) { super(inputVersion, targetVersion); } }
joansmith/ontrack
ontrack-backend/src/main/java/net/ontrack/backend/ImportVersionException.java
Java
mit
271
package com.github.scribejava.core.services; import com.github.scribejava.core.java8.Base64; /** * Signs a base string, returning the OAuth signature * https://tools.ietf.org/html/rfc5849#section-3.4 */ public interface SignatureService { Base64.Encoder BASE_64_ENCODER = Base64.getEncoder(); /** * Re...
fernandezpablo85/scribe-java
scribejava-core/src/main/java/com/github/scribejava/core/services/SignatureService.java
Java
mit
686
package com.thebluealliance.androidclient.adapters; import com.thebluealliance.androidclient.R; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import java.util.Arrays; import java.util.List; public class D...
1fish2/the-blue-alliance-android
android/src/main/java/com/thebluealliance/androidclient/adapters/DialogListWithIconsAdapter.java
Java
mit
1,156
package com.yazilimokulu.mvc.controllers; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(value = HttpStatus.NOT_FOUND) public class ResourceNotFoundException extends RuntimeException { }
codescrackers/turkninja
src/main/java/com/yazilimokulu/mvc/controllers/ResourceNotFoundException.java
Java
mit
273
package Mar2021Leetcode; public class _0836RectangleOverlap { public static void main(String[] args) { System.out.println(isRectangleOverlap(new int[] { 0, 0, 2, 2 }, new int[] { 1, 1, 3, 3 })); System.out.println(isRectangleOverlap(new int[] { 0, 0, 1, 1 }, new int[] { 1, 0, 2, 1 })); System.out.println(isRect...
darshanhs90/Java-InterviewPrep
src/Mar2021Leetcode/_0836RectangleOverlap.java
Java
mit
474
package com.hendrix.erdos.graphs; import com.hendrix.erdos.types.IVertex; import java.util.HashMap; import java.util.Set; /** * the graph induced by a predecessor list mapping * * @author Tomer Shalev */ public class PredecessorSubGraph extends SimpleDirectedGraph { /** * the predecessor of u is stored ...
Erdos-Graph-Framework/Erdos
src/main/java/com/hendrix/erdos/graphs/PredecessorSubGraph.java
Java
mit
1,802
package com.chute.sdk.v2.test.parsers.albums; import junit.framework.TestCase; import com.chute.sdk.v2.api.parsers.ResponseParser; import com.chute.sdk.v2.model.AlbumModel; import com.chute.sdk.v2.model.response.ResponseModel; import com.chute.sdk.v2.utils.TestUtil; public class AlbumUpdateParserTest extends TestCa...
chute/Chute-SDK-V2-Android
library/src/test/java/com/chute/sdk/v2/test/parsers/albums/AlbumUpdateParserTest.java
Java
mit
1,219
package com.qiniu.qiniulab.activity.image; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.util.DisplayMetrics; import android.view.View; import android.widget.GridView; import android.widget.ImageView; imp...
jemygraw/qiniu-lab-android
QiniuLab/app/src/main/java/com/qiniu/qiniulab/activity/image/SimpleImageViewActivity.java
Java
mit
6,087
/* * Copyright 2015-2016 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.hod.client.api.userstore.user; import com.hp.autonomy.hod.client.api.developer.UserAuthMode; import com.hp...
hpautonomy/java-hod-client
src/main/java/com/hp/autonomy/hod/client/api/userstore/user/CreateUserRequestBuilder.java
Java
mit
1,638
package net.hexogendev.hexogen.api.world; import java.util.List; import net.hexogendev.hexogen.api.Server; import net.hexogendev.hexogen.api.block.Block; import net.hexogendev.hexogen.api.entity.Entity; import net.hexogendev.hexogen.api.entity.EntityLivingBase; import net.hexogendev.hexogen.api.entity.EntityTracker; ...
HexogenDev/Hexogen-API
src/main/java/net/hexogendev/hexogen/api/world/World.java
Java
mit
3,009
package edu.msudenver.cs3250.group6.msubanner.entities; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; public class HourBlockTest { @Test ...
cs3250-team6/msubanner
src/test/java/edu/msudenver/cs3250/group6/msubanner/entities/HourBlockTest.java
Java
mit
5,678
package oj.gui.tools; import javax.swing.Icon; import oj.OJ; import oj.processor.state.YtemToRoiStateOJ; import oj.processor.state.ToolStateOJ; public class ObjectToRoiToolOJ extends ToolAdapterOJ { public ToolStateOJ getState() { return new YtemToRoiStateOJ(); } public String getTooltip() { ...
steliann/objectj
src/oj/gui/tools/ObjectToRoiToolOJ.java
Java
mit
710
/* * Copyright 2015 MobFox * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
brainbeanapps/seeds-sdk-android
sdk/src/main/java/com/playseeds/android/sdk/inappmessaging/InAppMessageManager.java
Java
mit
19,088
package us.nineworlds.serenity.common.media.model; public interface ICountry extends ICrew { }
kingargyle/serenity-android
serenity-common/src/main/java/us/nineworlds/serenity/common/media/model/ICountry.java
Java
mit
97
package com.alkisum.android.cloudrun.ui; import android.content.Context; import android.os.Handler; import com.alkisum.android.cloudrun.R; import com.alkisum.android.cloudrun.events.CoordinateEvent; import com.alkisum.android.cloudrun.events.GpsStatusEvent; import com.alkisum.android.cloudrun.location.LocationHelper;...
Alkisum/CloudRun
app/src/main/java/com/alkisum/android/cloudrun/ui/GpsStatus.java
Java
mit
3,041
package org.cf.smalivm.opcode; import gnu.trove.list.TIntList; import gnu.trove.list.linked.TIntLinkedList; import gnu.trove.map.TIntObjectMap; import org.cf.smalivm.VirtualMachine; import org.cf.smalivm.type.VirtualMethod; import org.cf.smalivm.type.VirtualType; import org.cf.util.Utils; import org.jf.dexlib2.builder...
strazzere/simplify
smalivm/src/main/java/org/cf/smalivm/opcode/InvokeOpFactory.java
Java
mit
3,659
package org.apache.pig.pen; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Collection; import java.util.Iterator; import java.io.IOException; import org.apache.pig.impl.util.IdentityHashSet; import org.apache.commons.logging.Log; import org.apache....
kaituo/sedge
trunk/src/org/apache/pig/pen/DynamicExampleGen.java
Java
mit
11,501
package commands.math; import model.Model; import commands.Command; /** * Returns 1 if the first input is less than the second input * else returns 0 * @author Kevin, Carlos * */ public class Less extends Command { @Override public double evaluate(Model model) { if (getInputValueOne(model) < getInputValueTw...
czarlos/Simple-Logo
src/commands/math/Less.java
Java
mit
368
package com.cocina.ordenes.estructuras; public class DetalleOrden { private String mKeyPlatillo,mNotaPromocion,mNotaEspecial,mCantidad,mKeyOrden,mNombrePlatillo; public String getmNombrePlatillo() { return mNombrePlatillo; } public void setmNombrePlatillo(String mNombrePlatillo) { this.mNombrePlatillo =...
Tito77/Proyecto-Menu-del-Restaurante
Proyecto Ordenes/Ordenes_Cocina/src/com/cocina/ordenes/estructuras/DetalleOrden.java
Java
mit
1,099
//4.7 Design an algorithm and write code to find the first common ancestor of // two nodes in a binary tree. Avoidstoring additional nodes in a data structure. // NOTE: This is not necessarily a binary search tree. package org.leituo.cc150.DataStructure.TreesAndGraphs; /** * Created by leituo56 on 11/13/14. */ publi...
leituo56/PracticeInJava
src/org/leituo/cc150/DataStructure/TreesAndGraphs/Q4_7_CommonAncestor.java
Java
mit
741
/** * Logback: the reliable, generic, fast and flexible logging framework. * Copyright (C) 1999-2015, QOS.ch. All rights reserved. * * This program and the accompanying materials are dual-licensed under * either the terms of the Eclipse Public License v1.0 as published by * the Eclipse Foundation * * ...
JPAT-ROSEMARY/SCUBA
org.jpat.scuba.external.slf4j/logback-1.2.3/logback-examples/src/main/java/chapters/onJoran/SimpleConfigurator.java
Java
mit
2,002
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.datamigration.v2018_03_31_preview.implementation;...
selvasingh/azure-sdk-for-java
sdk/datamigration/mgmt-v2018_03_31_preview/src/main/java/com/microsoft/azure/management/datamigration/v2018_03_31_preview/implementation/DataMigrationServiceImpl.java
Java
mit
3,384
package org.spongycastle.crypto.tls.test; import org.spongycastle.crypto.tls.AlertDescription; import org.spongycastle.crypto.tls.HashAlgorithm; import org.spongycastle.crypto.tls.ProtocolVersion; import org.spongycastle.crypto.tls.SignatureAlgorithm; import org.spongycastle.crypto.tls.SignatureAndHashAlgorithm; impor...
Skywalker-11/spongycastle
core/src/test/java/org/spongycastle/crypto/tls/test/TlsTestSuite.java
Java
mit
8,052
/* * Copyright 2016 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.frontend.find.core.configuration; import com.fasterxml.jackson.annotation.JsonProperty; import com.hp.autonomy....
LinkPowerHK/find
core/src/main/java/com/hp/autonomy/frontend/find/core/configuration/MapConfiguration.java
Java
mit
2,443
package mono.android.support.v4.view; public class ViewPropertyAnimatorListenerImplementor extends java.lang.Object implements mono.android.IGCUserPeer, android.support.v4.view.ViewPropertyAnimatorListener { /** @hide */ public static final String __md_methods; static { __md_methods = "n_onAnimationCanc...
ankitpassi141/Designer-Login-Signup-Template
Source/Mockup01/obj/Debug/android/src/mono/android/support/v4/view/ViewPropertyAnimatorListenerImplementor.java
Java
mit
2,240
/** */ package gluemodel.CIM.IEC61968.Common.impl; import gluemodel.CIM.IEC61968.Common.CommonPackage; import gluemodel.CIM.IEC61968.Common.DateTimeInterval; import gluemodel.CIM.IEC61968.Common.Status; import gluemodel.CIM.IEC61968.Common.TimePoint; import gluemodel.CIM.IEC61968.Common.TimeSchedule; import gluemode...
georghinkel/ttc2017smartGrids
solutions/eMoflon/rgse.ttc17.metamodels.src/src/gluemodel/CIM/IEC61968/Common/impl/TimePointImpl.java
Java
mit
16,449
/* * The MIT License * Copyright © 2014-2019 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy...
kingland/java-design-patterns
data-locality/src/main/java/com/iluwatar/data/locality/game/component/AiComponent.java
Java
mit
1,603
package eBayPrep; import java.util.ArrayList; import java.util.List; public class _118PascalsTriangle { public static class TreeLinkNode { int val; TreeLinkNode left, right, next; TreeLinkNode(int x) { val = x; } } public static void main(String[] args) { System.out.println(generate(5)); } public static...
darshanhs90/Java-InterviewPrep
src/eBayPrep/_118PascalsTriangle.java
Java
mit
1,058
package robot; import edu.wpi.first.wpilibj.DoubleSolenoid; import edu.wpi.first.wpilibj.DoubleSolenoid.Value; /** * The RobotMap is a mapping from the ports sensors and actuators are wired into * to a variable name. This provides flexibility changing wiring, makes checking * the wiring easier and significantly re...
FRC-Team-3140/PR-Robot
src/robot/RobotMap.java
Java
mit
1,930
/** */ package Changes.impl; import Changes.ChangesPackage; import Changes.CompositionCollectionInsertion; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecor...
georghinkel/ttc2017smartGrids
solutions/eMoflon/rgse.ttc17.metamodels.changes/src/Changes/impl/CompositionCollectionInsertionImpl.java
Java
mit
4,795
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.management.network.implementation; import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft...
herveyw/azure-sdk-for-java
azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkSecurityGroupImpl.java
Java
mit
5,568
package com.icaynia.pracler.remote; import android.util.Log; import com.google.firebase.database.DataSnapshot; import com.google.firebase.database.DatabaseError; import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.ValueEventListener; import com.icaynia.pracler.data.RemoteDatabas...
icaynia/pracler
pracler/src/main/java/com/icaynia/pracler/remote/FirebaseSongManager.java
Java
mit
6,390
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.spring.data.cosmos.repository.config; import com.azure.spring.data.cosmos.repository.CosmosRepository; import org.junit.Test; import org.springframework.beans.factory.support.DefaultListableBeanFactory; i...
selvasingh/azure-sdk-for-java
sdk/cosmos/azure-spring-data-cosmos/src/test/java/com/azure/spring/data/cosmos/repository/config/CosmosRepositoryConfigurationExtensionUnitTest.java
Java
mit
2,477
package structures.graph; /** * This class implements an undirected graph. Since an undirected graph is a special * kind of directed graph--an undirected edge is two directed edges in opposite * directions--it is implemented by subclassing DirGraph. * * @author Sesh Venugopal * */ public class UndirGraph<T> ex...
USMC1941/CS112-Rutgers
Textbook/src/structures/graph/UndirGraph.java
Java
mit
950
/************************************************************************************************ * _________ _ ____ _ __ __ _ _ _ _ _ ___ * |__ / ___|__ _ ___| |__ / ___|_ _(_)_ __ __ \ \ / /_ _| | | ___| |_| | | |_ _| * / / | / _` / __| '_ \\___ ...
radix42/zcash4mac
src/java/com/vaklinov/zcashui/Util.java
Java
mit
2,778
package io.github.ihongs.action.anno; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 权限校验 * @author Hong */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) @Filter(Pe...
ihongs/HongsCORE.new
hongs-core/src/main/java/io/github/ihongs/action/anno/Permit.java
Java
mit
452
package bigfilecreator; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Node; import javafx.scene.layout.GridPane; class GridBuilder { private final GridPane grid = new GridPane(); private final PositionCounter pc; public GridBuilder(int maxC) { pc = new...
Tomrap/BigFileProcessing
src/main/java/bigfilecreator/GridBuilder.java
Java
mit
1,561
package com.github.bachelorpraktikum.visualisierbar.database.model; public interface HTTPExportable { /** * Exports the ABS element as a HTTPName. This enables later retrieval via an HTTP-API. * * @return HTTP ABS-Definition of the element. */ String exportHTTP(); }
Bachelorpraktikum/VisualisierbaR
src/main/java/com/github/bachelorpraktikum/visualisierbar/database/model/HTTPExportable.java
Java
mit
297
package gae.map; import gae.Constants; public abstract class AbstractCoordinate implements Constants{ protected int myCoordinate; protected GUIMap myMap; protected AbstractCoordinate(int coordinate, GUIMap map){ myCoordinate = coordinate; map = myMap; } public int getCoordinateValue(){ return myCoor...
dylangsjackson/MissingNoEngine
src/gae/map/AbstractCoordinate.java
Java
mit
1,145
/* * Copyright (c) Fundacion Jala. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ package org.fundacionjala.sevenwonders.core; import com.google.common.base.Preconditions; import java.util.ArrayList; import java.util.List; /** * Create...
betosiles/7wonders
src/main/java/org/fundacionjala/sevenwonders/core/City.java
Java
mit
1,950
package com.flextrade.jfixture.requests.enrichers; import java.util.ArrayList; import java.util.Collections; import java.util.List; class StringListBuilder { public List<Object> getList(String[] strings) { List<Object> objectList = new ArrayList<Object>(); Collections.addAll(objectList, strings); ...
go2ready/jfixture
jfixture/src/main/java/com/flextrade/jfixture/requests/enrichers/StringListBuilder.java
Java
mit
355
// Copyright (c) 2005, 2007, 2010 Per M.A. Bothner. // This is free software; for terms and warranty disclaimer see ./COPYING. package gnu.expr; import gnu.mapping.*; import java.util.*; import gnu.kawa.util.AbstractWeakHashTable; /** Maps modules to module instances. * Given a class, species a specific instance o...
maoueh/kawa-fork
gnu/expr/ModuleContext.java
Java
mit
3,159
/* * Copyright 2015 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.iod.client.api.search; import org.joda.time.DateTime; import org.junit.Test; import java.util.Arrays; import j...
hpe-idol/java-iod-client
src/test/java/com/hp/autonomy/iod/client/api/search/QueryRequestBuilderTest.java
Java
mit
4,096
/* * 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...
Mayo-WE01051879/mayosapp
Build/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java
Java
mit
35,510
package com.conlect.oatos.utils; import java.io.BufferedReader; import java.io.InputStreamReader; public class SysRuntime { public static int execute(String command) throws Exception { Process pro = Runtime.getRuntime().exec(command); BufferedReader buffer = new BufferedReader(new InputStreamReader( pro.ge...
allanfish/facetime-demo
oatos_project/oatos_dto/src/main/java/com/conlect/oatos/utils/SysRuntime.java
Java
mit
688
package May2021GoogLeetcode; import java.util.HashMap; public class _0166FractionToRecurringDecimal { public static void main(String[] args) { System.out.println(fractionToDecimal(1, 2)); System.out.println(fractionToDecimal(2, 1)); System.out.println(fractionToDecimal(2, 3)); System.out.println(fractionToDe...
darshanhs90/Java-Coding
src/May2021GoogLeetcode/_0166FractionToRecurringDecimal.java
Java
mit
1,184
/* * Copyright 2010-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 "lice...
loremipsumdolor/CastFast
src/com/amazonaws/services/s3/model/AbortMultipartUploadRequest.java
Java
mit
7,136
package com.bulain.tomcat7.redissessions; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.security.MessageDige...
bulain/redis-session-manager
tc8/src/main/java/com/bulain/tomcat7/redissessions/JavaSerializer.java
Java
mit
2,938
/* * (c) Copyright 2015 Micro Focus or one of its affiliates. * * Licensed under the MIT License (the "License"); you may not use this file * except in compliance with the License. * * The only warranties for products and services of Micro Focus and its affiliates * and licensors ("Micro Focus") are as may be se...
hpautonomy/haven-search-components
core/src/test/java/com/hp/autonomy/searchcomponents/core/view/AbstractViewServerServiceIT.java
Java
mit
2,604
/* * The MIT License * * Copyright (c) 2013-2016 reark project contributors * * https://github.com/reark/reark/graphs/contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software w...
ulx/reark
appshared/src/main/java/io/reark/rxgithubapp/shared/network/NetworkApi.java
Java
mit
2,668
/* * Encog(tm) Core v3.2 - Java Version * http://www.heatonresearch.com/encog/ * https://github.com/encog/encog-java-core * Copyright 2008-2013 Heaton Research, 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 ...
ladygagapowerbot/bachelor-thesis-implementation
lib/Encog/src/main/java/org/encog/ml/anneal/SimulatedAnnealing.java
Java
mit
6,595
/** * The MIT License (MIT) * * Copyright (c) 2014 mcflugen * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
mdpiper/wmt-client
src/edu/colorado/csdms/wmt/client/ui/handler/AddNewUserHandler.java
Java
mit
2,462
package net.mostlyoriginal.game.component; import com.artemis.Component; import com.artemis.Entity; import com.artemis.annotations.Transient; /** * @author Daan van Yperen */ public class Draggable extends Component { public transient Entity indicator; }
DaanVanYperen/odb-minion-factorium
core/src/net/mostlyoriginal/game/component/Draggable.java
Java
mit
261
package nl.cwi.reo.semantics.predicates; import java.util.HashSet; import java.util.Map; import java.util.Objects; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; import nl.cwi.reo.interpret.Scope; import nl.cwi.reo.interpret.ports.Port; import nl.cwi.reo.interpret.typetags.TypeTag;...
kasperdokter/Reo-compiler
reo-semantics/src/main/java/nl/cwi/reo/semantics/predicates/PortVariable.java
Java
mit
3,313
package mariculture.fishery; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import mariculture.api.fishery.Fishing; import mariculture.api.fishery.fish.FishSpecies; import net.minecraft.block.Block; import net.minecraft.inventory.Invento...
svgorbunov/Mariculture
src/main/java/mariculture/fishery/ShapelessResetFishRecipe.java
Java
mit
4,892
package net.minecraft.server; import java.util.List; import java.util.Random; public class WorldGenBonusChest extends WorldGenerator { private final List a; private final int b; public WorldGenBonusChest(List list, int i) { this.a = list; this.b = i; } public boolean generate(Wo...
Codecarinas/server
Server/work/decompile-8eb82bde/net/minecraft/server/WorldGenBonusChest.java
Java
cc0-1.0
2,803
/******************************************************************************* * Copyright (c) 2018 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 * which accompanies this distribution, and is a...
OpenLiberty/open-liberty
dev/com.ibm.ws.security.fat.common.mp.jwt/src/com/ibm/ws/security/fat/common/mp/jwt/utils/MPJwt11AppSetupUtils.java
Java
epl-1.0
8,122
/** * Copyright (c) 2010-2021 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
paulianttila/openhab2
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/event/types/Event.java
Java
epl-1.0
759
package de.cooperateproject.modeling.transformation.registry; import de.cooperateproject.modeling.transformation.common.ITransformationContext; public interface InjectTransformationContext { void setTransformationContext(ITransformationContext context); }
Cooperate-Project/Cooperate
bundles/de.cooperateproject.modeling.transformation.registry/src/de/cooperateproject/modeling/transformation/registry/InjectTransformationContext.java
Java
epl-1.0
264
/** * 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...
Mark-Booth/daq-eclipse
uk.ac.diamond.org.apache.activemq/org/apache/activemq/camel/CamelDestination.java
Java
epl-1.0
5,676
package org.eclipse.imp.pdb.facts.exceptions; import org.eclipse.imp.pdb.facts.type.Type; public class IllegalInstantiatedAbstractDataTypeException extends FactTypeDeclarationException { private static final long serialVersionUID = -7171289358305194254L; public IllegalInstantiatedAbstractDataTypeException(Type a...
cwi-swat/pdb.values
src/org/eclipse/imp/pdb/facts/exceptions/IllegalInstantiatedAbstractDataTypeException.java
Java
epl-1.0
427
package com.ibm.wiotp.sdk.app.config; import java.util.Map; import java.util.UUID; public class ApplicationConfigIdentity { public String appId; public ApplicationConfigIdentity() { this.appId = UUID.randomUUID().toString(); } public ApplicationConfigIdentity(String appId) { this.appId = appId; } public ...
ibm-messaging/iot-java
src/main/java/com/ibm/wiotp/sdk/app/config/ApplicationConfigIdentity.java
Java
epl-1.0
947
/* * Copyright (c) 2012-2017 Institut National des Sciences Appliquées de Lyon (INSA-Lyon) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.or...
rlespinasse/golo-lang
src/test/java/org/eclipse/golo/compiler/testing/support/GoloTestHelperMethods.java
Java
epl-1.0
564
/* * Alloy Analyzer 4 -- Copyright (c) 2006-2009, Felix Chang * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and * associated documentation files (the "Software"), to deal in the Software without restriction, * including without limitation the rights to use, copy,...
ModelWriter/Tarski
Source/eu.modelwriter.alloyanalyzer/src/edu/mit/csail/sdg/alloy4viz/AlloyInstance.java
Java
epl-1.0
12,431
/******************************************************************************* * 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 * which accompanies this distribution, and is a...
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/inbound/SibRaEndpointConfiguration.java
Java
epl-1.0
7,223
/* * Copyright (c) 2012-2017 Red Hat, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Red H...
sudaraka94/che
selenium/che-selenium-test/src/test/java/org/eclipse/che/selenium/workspaces/notjavastack/CreateWorkspaceWithPythonStackTest.java
Java
epl-1.0
3,010
/******************************************************************************* * Copyright (c) 2017 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 * which accompanies this distribution, and is a...
OpenLiberty/open-liberty
dev/fattest.simplicity/src/com/ibm/ws/fat/util/browser/WebBrowser.java
Java
epl-1.0
5,750
/******************************************************************************* * Copyright (c) 2013 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 * which accompanies this distribution, and is a...
OpenLiberty/open-liberty
dev/io.openliberty.wsoc.internal_fat/test-applications/basic.war/src/basic/war/AnnotatedServerEP.java
Java
epl-1.0
8,309
/* * generated by Xtext */ package org.xtext.builddsl; import java.util.Properties; import org.eclipse.xtext.Constants; import org.eclipse.xtext.service.DefaultRuntimeModule; import com.google.inject.Binder; import com.google.inject.name.Names; /** * Manual modifications go to {org.xtext.builddsl.BuildDSLRuntime...
oehme/xtext-maven-example
language/1-simple/org.xtext.builddsl/src-gen/org/xtext/builddsl/AbstractBuildDSLRuntimeModule.java
Java
epl-1.0
16,514
package org.jboss.windup.rules.files.condition; import org.jboss.windup.config.GraphRewrite; import org.jboss.windup.config.condition.GraphCondition; import org.jboss.windup.graph.model.WindupConfigurationModel; import org.jboss.windup.graph.service.GraphService; import org.ocpsoft.rewrite.context.EvaluationContext; ...
mareknovotny/windup
rules-base/api/src/main/java/org/jboss/windup/rules/files/condition/ProcessingIsOnlineGraphCondition.java
Java
epl-1.0
894
package es.optsicom.lib.analyzer.tablecreator.atttable; import java.awt.Color; public class TableValue implements Comparable<TableValue> { private Double value; private Color color; public TableValue(Double value) { super(); this.value = value; } public Color getColor() { return color; } public void ...
optsicom-urjc/optsicom-framework
es.optsicom.lib.analysis/src/main/java/es/optsicom/lib/analyzer/tablecreator/atttable/TableValue.java
Java
epl-1.0
668
package p; public interface Interface { public default void x() { System.out.println("In Abstract.x()"); } }
khatchad/Migrate-Skeletal-Implementation-to-Interface-Refactoring
examples/DefaultMethodTest4After/src/p/Interface.java
Java
epl-1.0
114
/* * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
522986491/yangtools
yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/spi/source/IncludedSubmoduleNameToIdentifier.java
Java
epl-1.0
689
/******************************************************************************* * Copyright (c) 2018, 2021 Eurotech and/or its affiliates and others * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.or...
stzilli/kapua
console/core/src/main/java/org/eclipse/kapua/app/console/core/client/InfoPopup.java
Java
epl-1.0
2,121
/* * 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 ui; import businessobjects.Script; import database.Database; import org.junit.After; import org.junit.AfterClass; import org.j...
leftea/370Project
MovieScheduler/test/ui/SchedulePanelTest.java
Java
gpl-2.0
1,611
/* * $Id: SimpleLoginService.java,v 1.4 2005/11/11 23:05:15 rbair Exp $ * * Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle, * Santa Clara, California 95054, U.S.A. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Gene...
charlycoste/TreeD
src/org/jdesktop/swingx/auth/SimpleLoginService.java
Java
gpl-2.0
2,325
package prof7bit.reactor; import java.io.IOException; public class XSocksHandshakeError extends IOException { private static final long serialVersionUID = 7762999740312591839L; public XSocksHandshakeError(String detailMessage) { super(detailMessage); } }
prive/prive2-android
TorChatAndroid/src/prof7bit/reactor/XSocksHandshakeError.java
Java
gpl-2.0
263
/* * Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
smarr/Truffle
substratevm/src/com.oracle.objectfile/src/com/oracle/objectfile/pecoff/PECoffHeaderStruct.java
Java
gpl-2.0
2,600
package htsjdk.samtools.cram.io; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; /** * Methods to read and write CRAM array of integers data type. */ public class CramArray { /** * Read CRAM int array from a {@link InputStream}. * * @param inputStream the inpu...
xubo245/CloudSW
src/main/java/htsjdk/samtools/cram/io/CramArray.java
Java
gpl-2.0
1,355
/** * $Revision$ * $Date$ * * Copyright 2003-2007 Jive Software. * * 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/license...
ikantech/xmppsupport_v2
src/org/jivesoftware/smackx/workgroup/packet/SessionID.java
Java
gpl-2.0
2,093
package org.openyu.commons.blank; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.openyu.commons.helper.ex.HelperException; import org.openyu.commons.helper.supporter.BaseHelperSupporter; /** * Blank輔助類 */ public final class BlankHelper extends BaseHelperSupporter { private static final transi...
mixaceh/openyu-commons
openyu-commons-core/src/main/java/org/openyu/commons/blank/BlankHelper.java
Java
gpl-2.0
552
/** * OWASP Benchmark Project v1.1 * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The Benchmark is free software: you can redistribute it and/...
iammyr/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest14693.java
Java
gpl-2.0
2,653
/* * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
smarr/Truffle
compiler/src/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/deopt/SafepointRethrowDeoptTest.java
Java
gpl-2.0
3,996
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 1997-2017 Oracle and/or its affiliates. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development * and Distribution Licens...
jboss/jboss-servlet-api_spec
src/main/java/javax/servlet/RequestDispatcher.java
Java
gpl-2.0
11,791
package rs.opendata.app.statistics; import javax.persistence.Basic; import javax.persistence.Entity; import javax.persistence.Id; @Entity public class ReportedAccidentStatistics { @Id private Integer sum; @Basic private Integer sumSolved; @Basic private Integer sumUnsolved; public Integer getSum() { re...
Branislav1993/open-data-accidents-api
target/open-data-1.0-SNAPSHOT/rs/opendata/app/statistics/ReportedAccidentStatistics.java
Java
gpl-2.0
847
package android.support.v4.p004h; import android.view.View; import android.view.animation.Interpolator; import java.util.WeakHashMap; /* renamed from: android.support.v4.h.dj */ class dj implements dr { WeakHashMap f458a; dj() { this.f458a = null; } private void m1245a(View view) { i...
Qwaz/solved-hacking-problem
holyshield/2016/mobile_sound_meter/source_refactored/android/support/v4/p004h/dj.java
Java
gpl-2.0
2,363
package filter; /** * Created by arsob on 02/09/15. */ import javax.servlet.http.HttpServletRequest; import java.io.PrintWriter; public class registervalidator { private HttpServletRequest request; public registervalidator(HttpServletRequest request) { this.request = request; } public b...
Arsobbiak/jav_zad4
src/filter/registervalidator.java
Java
gpl-2.0
3,260
/* * This file is part of "JTA - Telnet/SSH for the JAVA(tm) platform". * * (c) Matthias L. Jugel, Marcus Meißner 1996-2005. All Rights Reserved. * * Please visit http://javatelnet.org/ for updates and contact. * * --LICENSE NOTICE-- * This program is free software; you can redistribute it and/or * modify it u...
krajj7/BotHack
jta26/de/mud/jta/event/WindowSizeRequest.java
Java
gpl-2.0
1,714
/* * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
openjdk/jdk7u
jdk/src/share/classes/java/awt/image/renderable/RenderableImage.java
Java
gpl-2.0
8,461
/* * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gaoxiaojun/dync
test/testlibrary/jdk/test/lib/OutputAnalyzer.java
Java
gpl-2.0
13,470
/** * OWASP Benchmark Project v1.2beta * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The OWASP Benchmark is free software: you can redistribu...
thc202/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01657.java
Java
gpl-2.0
2,913
/** * OWASP Benchmark Project v1.2beta * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The OWASP Benchmark is free software: you can redistribu...
thc202/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01411.java
Java
gpl-2.0
4,272
package PST2.Capacity; import PST2.Piece.Piece; import PST2.StratEdge; import java.util.ArrayList; public abstract class Capacity { private static ArrayList<Capacity> passive1 = new ArrayList<>(); private static ArrayList<Capacity> active = new ArrayList<>(); private static ArrayList<Capacity> passive2 =...
ralga/PST2
src/PST2/Capacity/Capacity.java
Java
gpl-2.0
4,889
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); yo...
skyHALud/codenameone
Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/JarExceptionTest.java
Java
gpl-2.0
1,990
/* * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
samskivert/ikvm-openjdk
build/linux-amd64/impsrc/com/sun/xml/internal/org/jvnet/mimepull/MIMEEvent.java
Java
gpl-2.0
3,525
/////////////////////////////////////////////////////////////////////////////// // For information as to what this class does, see the Javadoc, below. // // Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, // // 2007, 2008, 2009, 2010, 2014, 2015 by Peter Spirtes, Richard Scheines, Joseph...
ajsedgewick/tetrad
tetrad-lib/src/test/java/edu/cmu/tetrad/test/TestSemXml.java
Java
gpl-2.0
4,517
/* * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
graalvm/graal-core
graal/org.graalvm.compiler.virtual/src/org/graalvm/compiler/virtual/phases/ea/EffectsClosure.java
Java
gpl-2.0
23,901
/* * 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...
marcosdiez/aosp-morelang-ime
tools/makedict/tests/com/android/inputmethod/latin/BinaryDictInputOutputTest.java
Java
gpl-2.0
2,062