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
/* * 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/tree/traverse/tasks/TaskGetNodeIndex.java
Java
mit
1,915
package cn.edu.gdut.zaoying.Option.series.treemap.itemStyle.emphasis; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface ColorSa...
zaoying/EChartsAnnotation
src/cn/edu/gdut/zaoying/Option/series/treemap/itemStyle/emphasis/ColorSaturationNumber.java
Java
mit
368
/** * 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.graphrbac.samples; import com.google.common.io.ByteStreams; import com.microsoft.azure.AzureEnvironment; import ...
martinsawicki/azure-sdk-for-java
azure-samples/src/main/java/com/microsoft/azure/management/graphrbac/samples/ManageServicePrincipalCredentials.java
Java
mit
10,249
/** * 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.resources.fluentcore.arm.models; import com.microsoft.azure.management.apigeneration.Fluent; import com.microso...
herveyw/azure-sdk-for-java
azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/GroupableResource.java
Java
mit
3,293
package fr.sii.atlantique.siistem.personne.model; /** * Event Class with JPA * @author Dorian Coqueron & Pierre Gaultier * @version 1.0 */ import java.io.Serializable; import java.util.Date; import javax.persistence.*; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.Jso...
P1erreGaultier/PepSIIrup-2017
personne/src/main/java/fr/sii/atlantique/siistem/personne/model/Event.java
Java
mit
4,247
/* * Copyright (c) 2010-2017 Nathan Rajlich * * 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, modify...
leancloud/Java-WebSocket
src/main/java/org/java_websocket/AbstractWrappedByteChannel.java
Java
mit
2,843
package DoordashPrep; public class _0121BestTimeToBuyAndSellStock { public static void main(String[] args) { System.out.println(maxProfit(new int[] { 7, 1, 5, 3, 6, 4 })); System.out.println(maxProfit(new int[] { 7, 6, 4, 3, 1 })); System.out.println(maxProfit(new int[] { 3, 2, 6, 5, 0, 3 })); System.out.prin...
darshanhs90/Java-InterviewPrep
src/DoordashPrep/_0121BestTimeToBuyAndSellStock.java
Java
mit
703
package org.knowm.xchange.dsx.dto.account; import org.knowm.xchange.dsx.dto.DSXReturn; import com.fasterxml.jackson.annotation.JsonProperty; /** * @author Mikhail Wall */ public class DSXFiatWithdrawReturn extends DSXReturn<DSXFiatWithdraw> { public DSXFiatWithdrawReturn(@JsonProperty("success") boolean succes...
gaborkolozsy/XChange
xchange-dsx/src/main/java/org/knowm/xchange/dsx/dto/account/DSXFiatWithdrawReturn.java
Java
mit
455
import java.util.List; class BuilderSingularNoAuto { private List<String> things; private List<String> widgets; private List<String> items; @java.beans.ConstructorProperties({"things", "widgets", "items"}) @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularNoAuto(final List<S...
openlegacy/lombok
test/transform/resource/after-delombok/BuilderSingularNoAuto.java
Java
mit
5,179
/* Copyright 2012 by James McDermott Licensed under the Academic Free License version 3.0 See the file "LICENSE" for more information */ package ec.app.gpsemantics.func; import ec.*; import ec.gp.*; import ec.util.*; /* * SemanticNode.java * */ /** * @author James McDermott */ publi...
Felix-Yan/ECJ
ec/app/gpsemantics/func/SemanticExtra.java
Java
mit
563
package infovis.gui; import java.awt.Graphics2D; import java.awt.event.MouseEvent; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; /** * Provides meaningful default implementations for a {@link Painter}. * * @author Joschi <josua.krause@googlemail.com> */ public class PainterAdapter implements Pa...
JosuaKrause/BusVis
src/main/java/infovis/gui/PainterAdapter.java
Java
mit
1,535
package jp.ijufumi.sample.config; import org.springframework.stereotype.Component; @Component public class Config { }
ijufumi/demo
spring-doma/src/main/java/jp/ijufumi/sample/config/Config.java
Java
mit
120
package de.stevenschwenke.java.writingawesomejavacodeworkshop.part3ApplyingToLegacyCode.legacy_ugly_trivia; import java.util.Random; /** * This is the Java implementation of the "ugly trivia game", see * https://github.com/jbrains/trivia/blob/master/java/src/main/java/com/adaptionsoft/games/uglytrivia/Game.java *...
stevenschwenke/WritingAwesomeJavaCodeWorkshop
src/test/java/de/stevenschwenke/java/writingawesomejavacodeworkshop/part3ApplyingToLegacyCode/legacy_ugly_trivia/GameRunner.java
Java
cc0-1.0
871
package mat.client.cqlworkspace; import java.util.List; import org.gwtbootstrap3.client.ui.Button; import org.gwtbootstrap3.client.ui.ButtonGroup; import org.gwtbootstrap3.client.ui.DropDownMenu; import org.gwtbootstrap3.client.ui.constants.ButtonType; import org.gwtbootstrap3.client.ui.constants.IconType; import org...
MeasureAuthoringTool/MeasureAuthoringTool_Release
mat/src/main/java/mat/client/cqlworkspace/CQLLibraryEditorView.java
Java
cc0-1.0
5,251
/** */ package tools.descartes.dlim; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object ' * <em><b>Polynomial Factor</b></em>'. <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link tools.descartes.dlim.Poly...
groenda/LIMBO
dlim.generator/src/tools/descartes/dlim/PolynomialFactor.java
Java
epl-1.0
2,467
/** * 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.velux/src/main/java/org/openhab/binding/velux/internal/handler/ChannelBridgeScenes.java
Java
epl-1.0
2,914
package org.hamcrest.junit.internal; import java.io.PrintWriter; import java.io.StringWriter; import org.hamcrest.Description; import org.hamcrest.Matcher; /** * A matcher that delegates to throwableMatcher and in addition appends the * stacktrace of the actual Throwable in case of a mismatch. */ public class Sta...
alb-i986/hamcrest-junit
src/main/java/org/hamcrest/junit/internal/StacktracePrintingMatcher.java
Java
epl-1.0
1,670
/* * Copyright (c) 2013 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
code-generator/binding-generator-impl/src/test/java/org/opendaylight/yangtools/sal/binding/generator/impl/ControllerTest.java
Java
epl-1.0
1,645
/****************************************************************************** * * Copyright 2014 Paphus Solutions Inc. * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
BOTlibre/BOTlibre
sdk/java/src/org/botlibre/sdk/config/AvatarMedia.java
Java
epl-1.0
2,939
/** * Copyright (c) 2005-2012 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Eclipse Public License (EPL). * Please see the license.txt included with this distribution for details. * Any modifications to this file must keep this entire header intact. */ /* * Author: atotic * Created...
akurtakov/Pydev
plugins/org.python.pydev.debug/src/org/python/pydev/debug/ui/launching/LaunchShortcut.java
Java
epl-1.0
1,054
/** * Copyright (C) 2014-2019 by Wen Yu. * 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 * * Any modifications to this...
dragon66/pixymeta
src/pixy/image/tiff/SByteField.java
Java
epl-1.0
644
/******************************************************************************* * Copyright (c) 2016, 2020 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...
kgibm/open-liberty
dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/internal/Oauth2LoginConfigImpl.java
Java
epl-1.0
30,610
/* * Copyright (c) 2017, 2019 Contributors to the Eclipse Foundation * * See the NOTICE file(s) 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 Lice...
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.faulttolerance.spi/src/com/ibm/ws/microprofile/faulttolerance/spi/CircuitBreakerPolicy.java
Java
epl-1.0
2,586
/******************************************************************************* * 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.jaxrs.2.0.client_fat/test-applications/jaxrs20ltpa/src/com/ibm/ws/jaxrs20/client/LtpaClientTest/service/BasicResource.java
Java
epl-1.0
866
/******************************************************************************* * Copyright (c) 2011, 2019 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...
OpenLiberty/open-liberty
dev/com.ibm.ws.app.manager.war/src/com/ibm/ws/app/manager/war/internal/ZipUtils.java
Java
epl-1.0
16,415
/** * 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 m...
OpenLiberty/open-liberty
dev/com.ibm.ws.org.apache.cxf.cxf.rt.rs.mp.client.3.3/src/org/apache/cxf/microprofile/client/cdi/CDIInterceptorWrapper.java
Java
epl-1.0
2,578
/** * Copyright (c) 2021 Bosch.IO GmbH 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.ecl...
eclipse/hawkbit
hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/error/extractors/AbstractSingleUiErrorDetailsExtractor.java
Java
epl-1.0
1,123
/** * Copyright (c) 2010-2019 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....
clinique/openhab2
bundles/org.openhab.binding.buienradar/src/main/java/org/openhab/binding/buienradar/internal/buienradarapi/Prediction.java
Java
epl-1.0
920
package org.eclipse.epsilon.eol.metamodel.visitor; import org.eclipse.epsilon.eol.metamodel.*; public abstract class RealTypeVisitor<T, R> { public boolean appliesTo(RealType realType, T context) { return true; } public abstract R visit (RealType realType, T context, EolVisitorController<T, R> controller); ...
epsilonlabs/epsilon-static-analysis
org.eclipse.epsilon.haetae.eol.metamodel.visitor/src/org/eclipse/epsilon/eol/metamodel/visitor/RealTypeVisitor.java
Java
epl-1.0
323
/** * 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.evohome/src/main/java/org/openhab/binding/evohome/internal/RunnableWithTimeout.java
Java
epl-1.0
705
/** * Copyright (c) 2014 openHAB UG (haftungsbeschraenkt) 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.htm...
innoq/smarthome
bundles/core/org.eclipse.smarthome.core.library/src/main/java/org/eclipse/smarthome/core/library/types/DateTimeType.java
Java
epl-1.0
2,571
/******************************************************************************* * Copyright (c) 2020 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.transaction.core_fat.startMultiEJB/test-applications/newEJBTx3/src/com/ibm/ws/transaction/ejb/third/InitNewTxBean3.java
Java
epl-1.0
1,135
/******************************************************************************* * 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/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/dataobject/package-info.java
Java
epl-1.0
638
/** * Copyright (c) 2010-2020 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....
openhab/openhab
bundles/binding/org.openhab.binding.weather/src/main/java/org/openhab/binding/weather/internal/model/common/CommonIdProvider.java
Java
epl-1.0
1,868
/******************************************************************************* * Copyright (c) 2020 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.jpa.tests.ormdiagnostics_3.0_fat/test-applications/example/src/com/ibm/ws/ormdiag/example/ejb/ExampleEJBService.java
Java
epl-1.0
1,124
/* * 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 ...
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/compiler/CompositeComponentUnit.java
Java
epl-1.0
1,587
/******************************************************************************* * Copyright (c) 2004-2010 Sunil Kamath (IcemanK). * All rights reserved. * This program is made available under the terms of the Common Public License * v1.0 which is available at http://www.eclipse.org/legal/cpl-v10.html * * C...
chrismathis/eclipsensis
plugins/net.sf.eclipsensis.installoptions/src/net/sf/eclipsensis/installoptions/model/InstallOptionsPassword.java
Java
epl-1.0
1,051
/** * 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.insteon/src/main/java/org/openhab/binding/insteon/internal/message/Msg.java
Java
epl-1.0
19,302
/** * 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.knx/src/main/java/org/openhab/binding/knx/internal/handler/IPBridgeThingHandler.java
Java
epl-1.0
5,085
/******************************************************************************* * Copyright (c) 2016, 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
message/internal/src/main/java/org/eclipse/kapua/message/internal/KapuaPayloadImpl.java
Java
epl-1.0
1,395
/******************************************************************************* * Copyright (c) 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.org/lega...
stzilli/kapua
service/security/shiro/src/test/java/org/eclipse/kapua/service/authorization/access/shiro/AccessRoleCacheFactoryTest.java
Java
epl-1.0
1,610
/* * Copyright 2010,2011 Ippon Technologies * * This file is part of Web Integration Portlet (WIP). * Web Integration Portlet (WIP) 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 versio...
aubelix/liferay-samples
wip-portlet/src/main/java/fr/ippon/wip/http/hc/HttpClientSessionListener.java
Java
gpl-2.0
1,491
/* * Copyright 2009 Mike Cumings * * 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 i...
ikantech/xmppsupport_v2
src/com/kenai/jbosh/AbstractAttr.java
Java
gpl-2.0
2,814
/* * Copyright (c) 1998-2010 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
CleverCloud/Quercus
resin/src/main/java/com/caucho/log/SubHandler.java
Java
gpl-2.0
2,558
/** * This package provides custom string manipulation capabilities * @see com.dreamer.string.Expressions */ package com.dreamer.string;
gerryDreamer/dreamerLib
src/com/dreamer/string/package-info.java
Java
gpl-2.0
143
/* * This file is part of the LIRE project: http://www.semanticmetadata.net/lire * LIRE is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any late...
GregBowyer/lire
src/main/java/net/semanticmetadata/lire/indexing/tools/ParallelExtractor.java
Java
gpl-2.0
21,231
/** * 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/BenchmarkTest01545.java
Java
gpl-2.0
2,076
package org.anddev.andengine.entity.layer.tiled.tmx; import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_X; import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_Y; import java.io.ByteArrayInputStream; import java.io.DataInputStream; import java.io.IOException; import java.io.I...
ricardobaumann/android
worldofgravity-master/src/org/anddev/andengine/entity/layer/tiled/tmx/TMXLayer.java
Java
gpl-2.0
11,687
/* * RomRaider Open-Source Tuning, Logging and Reflashing * Copyright (C) 2006-2017 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (...
dschultzca/RomRaider
src/main/java/com/romraider/swing/ECUEditorNumberField.java
Java
gpl-2.0
2,595
/* * 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/messaging/saaj/packaging/mime/internet/HeaderTokenizer.java
Java
gpl-2.0
12,766
/** * Copyright 2013 Neuroph Project http://neuroph.sourceforge.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 at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
dwaybright/StrategicAssaultSimulator
core/src/neuroph_jars/sources/Core/src/main/java/org/neuroph/nnet/ConvolutionalNetwork.java
Java
gpl-2.0
2,992
/* * 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...
shannah/cn1
Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/NotContextExceptionTest.java
Java
gpl-2.0
4,414
/* ==================================================================== * Limited Evaluation License: * * This software is open source, but licensed. The license with this package * is an evaluation license, which may not be used for productive systems. If * you want a full license, please contact us. * * The ex...
skymania/OpenRate
src/main/java/OpenRate/record/flexRecord/RecordBlockDef.java
Java
gpl-2.0
4,229
/* * ************************************************************************* * NetworkBrowserFragment.java * ************************************************************************** * Copyright © 2015 VLC authors and VideoLAN * Author: Geoffrey Métais * * This program is free software; you can redistribu...
marek-g/libvlc-signio
vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java
Java
gpl-2.0
6,093
/* * Copyright 2006-2018 The MZmine 2 Development Team * * This file is part of MZmine 2. * * MZmine 2 is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the * License, or (at your option...
du-lab/mzmine2
src/main/java/net/sf/mzmine/modules/rawdatamethods/exportscans/ExportScansFromRawFilesModule.java
Java
gpl-2.0
2,761
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2006-2012 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
rfdrake/opennms
opennms-webapp/src/main/java/org/opennms/web/notification/NotificationModel.java
Java
gpl-2.0
17,508
/* * Copyright 2017 OICR * * 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...
CancerCollaboratory/dockstore
dockstore-webservice/src/main/java/io/logstash/appender/LogstashAppenderFactory.java
Java
gpl-2.0
3,238
package at.micsti.mymusic; import java.util.ArrayList; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; public class ChartArtistAdapter extends ArrayAdapter<ChartArtist> { ...
MICSTI/my-mobile-music
src/at/micsti/mymusic/ChartArtistAdapter.java
Java
gpl-2.0
1,719
package org.deuce.transform.asm; /** * A structure to hold a tuple of class and its bytecode. * @author guy * @since 1.1 */ public class ClassByteCode{ final private String className; final private byte[] bytecode; public ClassByteCode(String className, byte[] bytecode){ this.className = className; this.b...
tauprojects/mpp
src/main/java/org/deuce/transform/asm/ClassByteCode.java
Java
gpl-2.0
457
package net.minecraft.item; import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.world.World; public class ItemBlock extends Item { protected final Block field_150939_a; private static final String __OBFID = "CL_00001772"; ...
Myrninvollo/Server
src/net/minecraft/item/ItemBlock.java
Java
gpl-2.0
4,231
/* * RomRaider Open-Source Tuning, Logging and Reflashing * Copyright (C) 2006-2020 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (...
dschultzca/RomRaider
src/main/java/com/romraider/logger/ecu/comms/io/protocol/LoggerProtocolDS2.java
Java
gpl-2.0
2,226
package com.aelitis.azureus.core.speedmanager.impl.v2; import org.gudy.azureus2.core3.util.SystemTime; import com.aelitis.azureus.core.speedmanager.SpeedManagerLimitEstimate; import com.aelitis.azureus.core.speedmanager.SpeedManagerPingMapper; import com.aelitis.azureus.core.speedmanager.SpeedManager; import com.aelit...
AcademicTorrents/AcademicTorrents-Downloader
vuze/com/aelitis/azureus/core/speedmanager/impl/v2/PingSpaceMon.java
Java
gpl-2.0
7,240
package edu.stanford.nlp.ling.tokensregex; import edu.stanford.nlp.ling.tokensregex.types.Expressions; import edu.stanford.nlp.ling.tokensregex.types.Tags; import edu.stanford.nlp.pipeline.CoreMapAggregator; import edu.stanford.nlp.pipeline.CoreMapAttributeAggregator; import java.util.function.Function; import edu.st...
hbbpb/stanford-corenlp-gv
src/edu/stanford/nlp/ling/tokensregex/Env.java
Java
gpl-2.0
14,483
/* * Copyright (c) 2013, 2014, 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 ...
netroby/jdk9-shenandoah-hotspot
test/sanity/WhiteBox.java
Java
gpl-2.0
2,149
/* * Copyright 1997-2004 Sun Microsystems, Inc. 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 Software Fou...
infinity0/proxy-doclet
src.orig/openjdk-6-src-b16-24_apr_2009/com/sun/tools/doclets/formats/html/SubWriterHolderWriter.java
Java
gpl-2.0
5,757
/* * 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/beans/src/test/support/java/org/apache/harmony/beans/tests/support/mock/MockNullSubClass.java
Java
gpl-2.0
943
/** * $RCSfile$ * $Revision: $ * $Date: $ * * Copyright (C) 2006 Jive Software. All rights reserved. * * This software is published under the terms of the GNU Public License (GPL), * a copy of which is included in this distribution. */ package org.jivesoftware.multiplexer; import org.dom4j.Element; import or...
xiupitter/XiuConnectionManager
src/java/org/jivesoftware/multiplexer/ServerPacketReader.java
Java
gpl-2.0
4,394
/** * Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved. * This software is published under the GPL GNU General Public License. * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published...
scoophealth/oscar
src/main/java/oscar/oscarMessenger/pageUtil/MsgViewPDFAction.java
Java
gpl-2.0
2,991
/* * 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 ...
teamfx/openjfx-9-dev-rt
modules/javafx.web/src/ios/java/javafx/scene/web/WebView.java
Java
gpl-2.0
38,327
/* * 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")...
shannah/cn1
Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/swing/src/main/java/common/javax/swing/AbstractButton.java
Java
gpl-2.0
32,559
/* * Agent.java October 2012 * * Copyright (C) 2002, Niall Gallagher <niallg@users.sf.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 at * * http://www.apache.org/licenses/LICE...
ael-code/preston
src/org/simpleframework/transport/trace/Agent.java
Java
gpl-2.0
2,209
/* * 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")...
skyHALud/codenameone
Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/drlvm/src/test/regression/H4292/Test.java
Java
gpl-2.0
1,287
package com.study.thread; /** * Created by guobing on 2016/8/2. */ public class GenerThread extends Thread { public void run() { System.out.println(Thread.currentThread().getName() + " - General thread"); } synchronized public void GServer() { System.out.println(Thread.currentThread().ge...
guobingwei/guobing
src/main/java/com/study/thread/GenerThread.java
Java
gpl-2.0
360
package com.mygdx.generate.client; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.backends.gwt.GwtApplication; import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; import com.mygdx.main.PassGenerate; public class HtmlLauncher extends GwtApplication { @Override publi...
Snessy/PasswordGen-LibGDX
html/src/com/mygdx/generate/client/HtmlLauncher.java
Java
gpl-2.0
577
package com.vvdeng.portal.web.controller.admin; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestMapping;...
vvdeng/vportal
src/com/vvdeng/portal/web/controller/admin/AdminController.java
Java
gpl-2.0
3,792
/* * Copyright (c) 2016, 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 Softwa...
FauxFaux/jdk9-jdk
src/jdk.net/share/classes/module-info.java
Java
gpl-2.0
1,249
/************************************************************************ * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. * * Use is subject to license terms. * * Licensed under the Apache License, Version 2.0 (the "Lic...
jbjonesjr/geoproponis
external/odfdom-java-0.8.10-incubating-sources/org/odftoolkit/odfdom/dom/element/style/StyleFooterElement.java
Java
gpl-2.0
18,135
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistribute it and/or modify it * ...
arthurmelo88/palmetalADP
adempiere_360/base/src/org/compiere/model/X_I_ElementValue.java
Java
gpl-2.0
15,150
/* Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This progra...
MrDunne/myblockchain
storage/ndb/clusterj/clusterj-openjpa/src/test/java/com/mysql/clusterj/openjpatest/TimestampAsUtilDateTest.java
Java
gpl-2.0
922
/* * RomRaider Open-Source Tuning, Logging and Reflashing * Copyright (C) 2006-2022 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (...
dschultzca/RomRaider
src/main/java/com/romraider/maps/DataCell.java
Java
gpl-2.0
18,799
/* Copyright (C) 2011 Jason von Nieda <jason@vonnieda.org> This file is part of OpenPnP. OpenPnP is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your ...
EricB02/openpnp
src/main/java/org/openpnp/gui/processes/FourPlacementBoardLocationProcess.java
Java
gpl-3.0
18,974
/* * Copyright (C) 2013 Camptocamp * * This file is part of MapFish Print * * MapFish Print is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any l...
mbarto/mapfish-print
src/main/java/org/mapfish/print/MapPrinter.java
Java
gpl-3.0
7,087
package tk.blackwolf12333.grieflog.compatibility.v1_6_R3; import java.util.HashSet; import org.bukkit.Chunk; import org.bukkit.entity.Player; import tk.blackwolf12333.grieflog.compatibility.ChangesSenderInterface; import tk.blackwolf12333.grieflog.rollback.SendChangesTask; public class ChangesSender implements Chan...
doglover129/GriefLog
src/tk/blackwolf12333/grieflog/compatibility/v1_6_R3/ChangesSender.java
Java
gpl-3.0
1,314
/* * Copyright (C) 2010-2021 Structr GmbH * * This file is part of Structr <http://structr.org>. * * Structr is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at yo...
ckramp/structr
structr-db-driver-api/src/main/java/org/structr/api/util/ProgressWatcher.java
Java
gpl-3.0
857
package simulator; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.util.ArrayList; import javax.swing.JFrame; import javax.swing.JPanel; import cartago.OPERATION; import cartago.tools.GUIArtifact; public class House extends GUIArtifact { House...
jomifred/jacamo
examples/house-building/src/env/simulator/House.java
Java
gpl-3.0
2,704
/* (c) Copyright 2011-2014 Felipe Magno de Almeida * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This pro...
expertisesolutions/ghtv-ncl-player
java/ghtv/awt/LwuitComponent.java
Java
gpl-3.0
1,801
package org.openbase.bco.dal.test.layer.unit.location; /*- * #%L * BCO DAL Test * %% * Copyright (C) 2014 - 2021 openbase.org * %% * This program 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,...
DivineCooperation/bco.dal
test/src/test/java/org/openbase/bco/dal/test/layer/unit/location/AbstractBCOLocationManagerTest.java
Java
gpl-3.0
4,041
/* * MindmapsDB - A Distributed Semantic Database * Copyright (C) 2016 Mindmaps Research Ltd * * MindmapsDB is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at you...
denislobanov/grakn
mindmaps-graph/src/main/java/io/mindmaps/graph/internal/ResourceTypeImpl.java
Java
gpl-3.0
3,522
/*********************************************************************** This file is part of KEEL-software, the Data Mining tool for regression, classification, clustering, pattern mining and so on. Copyright (C) 2004-2010 F. Herrera (herrera@decsai.ugr.es) L. Sánchez (luciano@uniovi.es) J. A...
TheMurderer/keel
src/keel/Algorithms/Instance_Generation/BasicMethods/AVG.java
Java
gpl-3.0
4,311
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.pepsoft.worldpainter.layers; import java.util.Random; import org.pepsoft.worldpainter.layers.trees.Bush; import org.pepsoft.worldpainter.layers.trees.JungleTree; import org.pepsoft.worldpainter.layers.trees...
frogocomics/WorldPainter
WorldPainter/WPCore/src/main/java/org/pepsoft/worldpainter/layers/Jungle.java
Java
gpl-3.0
1,265
/** * Copyright (c) 2002-2013 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundati...
kirilenkoo/neo4j-mobile-android
neo4j-android/kernel-src/org/neo4j/kernel/impl/core/GraphDbModule.java
Java
gpl-3.0
7,634
/** * Generic interface to compare objects */ public interface Comparable<T> { public int compareTo(T o); }
agicquel/dut
M2103/TP9/src/Comparable.java
Java
gpl-3.0
108
/* * 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 xqt.model.functions.aggregates; import xqt.model.functions.AggregateFunction; /** * * @author Javad Chamanara <chamanara@gm...
javadch/quis
xqt.model/src/main/java/xqt/model/functions/aggregates/Count.java
Java
gpl-3.0
589
/** * Copyright 2011 The ARIES Consortium (http://www.ariesonline.org) and * www.integratedmodelling.org. This file is part of Thinklab. Thinklab is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Founda...
ariesteam/thinklab
plugins/org.integratedmodelling.thinklab.corescience/src/org/integratedmodelling/corescience/transformations/Log10Plus1.java
Java
gpl-3.0
1,243
/** * */ package org.openwis.datasource.server.service.impl; import java.text.MessageFormat; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.List; import javax.ejb.Remote; import javax.ejb.Stateless; import javax.jws.WebParam; import javax.jws.WebService; import jav...
OpenWIS/openwis
openwis-dataservice/openwis-dataservice-server/openwis-dataservice-server-ejb/src/main/java/org/openwis/datasource/server/service/impl/ProductMetadataServiceImpl.java
Java
gpl-3.0
17,721
/* This file is part of VoltDB. * Copyright (C) 2008-2011 VoltDB Inc. * * 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...
ifcharming/original2.0
tests/frontend/org/voltdb/quarantine/TestExportSuiteTestExportAndDroppedTableThenShutdown.java
Java
gpl-3.0
16,157
package cn.nukkit; import java.awt.Color; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.nio.ByteOrder; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.EnumMap; import java.util.HashMap; im...
JupiterDevelopmentTeam/JupiterDevelopmentTeam
src/main/java/cn/nukkit/Player.java
Java
gpl-3.0
218,517
/* * Copyright (c) 2021 OBiBa. All rights reserved. * * This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. *...
kazoompa/opal
opal-gwt-client/src/main/java/org/obiba/opal/web/gwt/app/client/fs/presenter/FileSelectorPresenter.java
Java
gpl-3.0
10,008
package synch; import java.util.concurrent.locks.*; /** * A bank with a number of bank accounts that uses locks for serializing access. * @version 1.30 2004-08-01 * @author Cay Horstmann */ public class Bank { private final double[] accounts; private Lock bankLock; private Condition sufficientFunds; ...
seapub/SourceCode
Java/corejava9/v1ch14/synch/Bank.java
Java
gpl-3.0
2,014
package fr.chaffotm.geobase.assertion; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.List; public class ListParameterizedType implements ParameterizedType { private final Class resourceClass; ListParameterizedType(Class resourceClass) { this.resourceClas...
mchaffotte/geo-application
geobase-quarkus/src/test/java/fr/chaffotm/geobase/assertion/ListParameterizedType.java
Java
gpl-3.0
619