code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
package fredboat.util.rest; import fredboat.util.rest.models.weather.RetrievedWeather; import javax.annotation.Nonnull; /** * Interface for the command class to call the model to get different * implementation(s) of weather provider. * <p> * To add other provider, just implement this interface for their data mod...
napstr/FredBoat
FredBoat/src/main/java/fredboat/util/rest/Weather.java
Java
mit
706
package org.graphwalker.websocket; /* * #%L * GraphWalker As A Service * %% * Copyright (C) 2005 - 2014 GraphWalker * %% * 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 restr...
GraphWalker/graphwalker-project
graphwalker-websocket/src/test/java/org/graphwalker/websocket/WebSocketServerTest.java
Java
mit
4,184
/* * 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 ...
kaituo/sedge
trunk/src/org/apache/pig/impl/util/NumValCarrier.java
Java
mit
2,238
/** * 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.network.v2019_09_01; import com.microsoft.azure....
selvasingh/azure-sdk-for-java
sdk/network/mgmt-v2019_09_01/src/main/java/com/microsoft/azure/management/network/v2019_09_01/ExpressRouteCircuitStats.java
Java
mit
1,123
package com.dandeeee.tictactoe.ui.component; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.RectF; import android.graphics.Shader; import android.graphics.SweepGradient; import android.view.MotionEvent; import androi...
dandeeee/android-course
day-08/1_TicTacToe/app/src/main/java/com/dandeeee/tictactoe/ui/component/ColorPickerView.java
Java
mit
4,923
/** * 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.apimanagement.v2019_01_01; import rx.Completable...
selvasingh/azure-sdk-for-java
sdk/apimanagement/mgmt-v2019_01_01/src/main/java/com/microsoft/azure/management/apimanagement/v2019_01_01/SignUpSettings.java
Java
mit
2,748
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import com.google.re2j.Matcher; import com.google.re2j.Pattern; // RE2/J version of "patho2" public class Patho2 { private static String regex = "^(?:([a-z]*a)|([a-z]*b))?(?:\n)?$"; public static void main(String [...
diku-kmc/repg
bench/re2j/src/Patho2.java
Java
mit
1,507
package chapter2.fuels; public class Dilithium implements IFuel { int amount; public Dilithium(int amount) { setAmount(amount); } @Override public int getAmount() { return amount; } @Override public void setAmount(int amount) { this.amount = amount; } }
hogeschool/INFDEV-Homework
Solutions to homework/java/chapter2/fuels/Dilithium.java
Java
mit
318
/* * 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.autonomy.aci.client.annotations.testobjects.bugs.subclass; import com.autonomy.aci.client.annotations.IdolDocument; import ...
hpautonomy/java-aci-annotations-processor
src/test/java/com/autonomy/aci/client/annotations/testobjects/bugs/subclass/NewsResultCluster.java
Java
mit
1,832
package us.kbase.workspace.database; import static us.kbase.workspace.database.ObjectIDNoWSNoVer.checkObjectName; import static us.kbase.workspace.database.Util.nonNull; /** An object identifier that has been partially resolved against the data store, e.g. the name * and id are available for the workspace and object...
MrCreosote/workspace_deluxe
src/us/kbase/workspace/database/ResolvedObjectIDNoVer.java
Java
mit
3,998
// // Pythagoras - a collection of geometry classes // http://github.com/samskivert/pythagoras package pythagoras.f; /** * Various geometry utility methods. */ public class GeometryUtil { public static final float EPSILON = FloatMath.pow(10, -14); public static int intersectLinesWithParams (float x1, float...
Deadrik/jMapGen
src/pythagoras/f/GeometryUtil.java
Java
mit
19,709
/* !-------------------------------------------------------------------------! ! ! ! N A S P A R A L L E L B E N C H M A R K S 3.0 ! ! ! ! J A V A V E R S I O N ! ! ! ! R H S C o m p u t e ! ! ...
kasperdokter/Reo-compiler
examples/Sung/thesis/npb/bt/RHSCompute.java
Java
mit
31,229
/* * The MIT License * * Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, Yahoo! 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, includ...
patbos/jenkins
core/src/test/java/hudson/util/ArgumentListBuilderTest.java
Java
mit
11,899
/* * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
boggad/jdk9-sample
sample-catalog/src/main/spring.context/org/springframework/cache/interceptor/CacheOperationInvoker.java
Java
mit
1,796
class QuickSort { /* This function takes last element as pivot, places the pivot element at its correct position in sorted array, and places all smaller (smaller than pivot) to left of pivot and all greater elements to right of pivot */ int partition(int arr[], int low, int hi...
Deepak345/al-go-rithms
sort/quick_sort/java/QuickSort.java
Java
mit
2,032
package org.testcontainers.junit; import com.google.common.util.concurrent.Uninterruptibles; import org.junit.Assume; import org.junit.BeforeClass; import org.junit.Rule; import org.junit.Test; import org.rnorth.ducttape.unreliables.Unreliables; import org.testcontainers.containers.DockerComposeContainer; import org.t...
gorelikov/testcontainers-java
core/src/test/java/org/testcontainers/junit/DockerComposeOverrideTest.java
Java
mit
2,301
package com.viesis.viescraft.common.items.airshipitems.v3; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.SoundEvents; import net.minecraft.item.ItemStack; import net.minecraft.stats.StatList; import net.minecraft.util.ActionResult; import net.minecraft.util.EnumActionResult; import net.min...
Weisses/Ebonheart-Mods
ViesCraft/Archived/zzz - PreCapabilities - src/main/java/com/viesis/viescraft/common/items/airshipitems/v3/ItemAirshipV3Admin.java
Java
mit
2,123
package io.rtr.alchemy.dto.requests; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonSubTypes.Type; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import...
RentTheRunway/alchemy
alchemy-api/src/main/java/io/rtr/alchemy/dto/requests/AllocationRequest.java
Java
mit
2,174
/** * 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.sql.v2015_05_01_preview.implementation; import c...
navalev/azure-sdk-for-java
sdk/sql/mgmt-v2015_05_01_preview/src/main/java/com/microsoft/azure/management/sql/v2015_05_01_preview/implementation/SqlManager.java
Java
mit
10,665
/** * 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/openhab2
bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/things/VeluxProduct.java
Java
epl-1.0
13,516
/******************************************************************************* * Copyright (c) 2017, 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.jsf.2.3_fat/test-applications/ELImplicitObjectsViaCDI.war/src/com/ibm/ws/jsf23/fat/elimplicit/cdi/beans/ELImplicitObjectBean.java
Java
epl-1.0
6,676
/******************************************************************************* * 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.ssl/test/com/ibm/ws/ssl/internal/KeystoreConfigurationFactoryTest.java
Java
epl-1.0
4,832
/******************************************************************************* * Copyright (c) 1997, 2004 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.jsp/src/com/ibm/ws/jsp/translator/utils/SDEInstaller.java
Java
epl-1.0
9,431
package school.util; import org.eclipse.incquery.runtime.api.IMatchProcessor; import school.School; import school.SchoolsMatch; /** * A match processor tailored for the school.schools pattern. * * Clients should derive an (anonymous) class that implements the abstract process(). * */ @SuppressWarnings("all") p...
tht-krisztian/EMF-IncQuery-Examples
school/school.incquery/src-gen/school/util/SchoolsProcessor.java
Java
epl-1.0
717
/** * 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....
MikeJMajor/openhab2-addons-dlinksmarthome
bundles/org.openhab.binding.kodi/src/main/java/org/openhab/binding/kodi/internal/config/KodiConfig.java
Java
epl-1.0
2,320
/******************************************************************************* * Copyright (c) 2015, 2016 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.cdi.internal/src/com/ibm/ws/cdi/internal/archive/liberty/RuntimeFactory.java
Java
epl-1.0
5,446
/** * 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.smartmeter/src/main/java/org/openhab/binding/smartmeter/internal/sml/SmlUnitConversion.java
Java
epl-1.0
6,951
/******************************************************************************* * Copyright (c) 2011, 2016 Eurotech and/or its affiliates 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...
cbaerikebc/kapua
service/api/src/main/java/org/eclipse/kapua/KapuaIllegalStateException.java
Java
epl-1.0
1,033
/** * 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.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/A5_10/A5_10_09.java
Java
epl-1.0
675
/******************************************************************************* * Copyright (c) 2016 UT-Battelle, LLC. * 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 availab...
eclipse/eavp
org.eclipse.eavp.viz.modeling/src/org/eclipse/eavp/viz/modeling/base/EntityMapEntry.java
Java
epl-1.0
2,669
/* * Copyright (c) 2019 Guillaume Hillairet and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * https://www.eclipse.org/legal/epl-2.0, or the MIT License which is * available at https://opensource.org/license...
ghillairet/emfjson
src/main/java/org/emfjson/jackson/databind/deser/EcoreReferenceDeserializer.java
Java
epl-1.0
1,836
/** * Copyright (c) 2014-2016 by the respective copyright holders. * * 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 */...
dvanherbergen/openhab2
addons/binding/org.openhab.binding.zwave/src/main/java/org/openhab/binding/zwave/internal/protocol/commandclass/ZWaveTimeParametersCommandClass.java
Java
epl-1.0
6,800
package com.poqop.document; import android.graphics.*; import java.lang.ref.SoftReference; class PageTreeNode { private static final int SLICE_SIZE = 65535; private Bitmap bitmap; private SoftReference<Bitmap> bitmapWeakReference; private boolean decodingNow; private final RectF pageSl...
a434413631/huloomobile
huloomobile/src/com/poqop/document/PageTreeNode.java
Java
epl-1.0
8,894
package org.eclipse.imp.pdb.facts.exceptions; import org.eclipse.imp.pdb.facts.type.Type; public class UnexpectedResultTypeException extends FactTypeUseException { private static final long serialVersionUID = 1551922923060851569L; private Type result; public UnexpectedResultTypeException(Type result, Throwable c...
cwi-swat/pdb.values
src/org/eclipse/imp/pdb/facts/exceptions/UnexpectedResultTypeException.java
Java
epl-1.0
452
package seg.jUCMNav.actions.concerns; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; import org.eclipse.gef.commands.Command; import org.eclipse.gef.commands.CompoundCommand; import org.eclipse.gef.commands.UnexecutableCommand; import org.eclipse.jface.dialogs....
McGill-DP-Group/seg.jUCMNav
src/seg/jUCMNav/actions/concerns/ApplyConcernAction.java
Java
epl-1.0
13,158
package com.xinxing.subpackage.core.log; import org.apache.log4j.Logger; public class CallBackOrderLogNorm { public static void requestLog(String orderId,String param,String who,Logger logger) { logger.info("收到"+who+"回调查询:"+param+""); } public static void responseLog(String orderId,String param,String who...
zzzzgc/ZGC4Obj
subpackage/src/main/java/com/xinxing/subpackage/core/log/CallBackOrderLogNorm.java
Java
epl-1.0
748
package org.eclipse.epsilon.eol.visitor.resolution.type.naive.impl; import org.eclipse.epsilon.eol.metamodel.EOLElement; import org.eclipse.epsilon.eol.metamodel.OperationDefinition; import org.eclipse.epsilon.eol.metamodel.ReturnStatement; import org.eclipse.epsilon.eol.metamodel.TransactionStatement; import org.ecli...
epsilonlabs/epsilon-static-analysis
org.eclipse.epsilon.haetae.eol.type/src/org/eclipse/epsilon/eol/visitor/resolution/type/naive/impl/ReturnStatementTypeResolver.java
Java
epl-1.0
2,530
/******************************************************************************* * Copyright (c) 2021 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.ws.jaxrs.global.handler.internal_fat/test-applications/rs20ApplicationWithClient/src/com/ibm/samples/jaxrs/HelloRest20ClientServlet.java
Java
epl-1.0
1,856
/* * 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...
TypeFox/che
assembly-multiuser/assembly-wsmaster-war/src/main/java/org/eclipse/che/api/deploy/MultiUserCheWsMasterModule.java
Java
epl-1.0
4,154
/******************************************************************************* * Copyright (c) 2012, 2021 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.messaging.common/src/com/ibm/ws/sib/comms/CommsConstants.java
Java
epl-1.0
67,708
/** * 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....
Snickermicker/openhab2
bundles/org.openhab.binding.iaqualink/src/main/java/org/openhab/binding/iaqualink/internal/IAqualinkHandlerFactory.java
Java
epl-1.0
2,380
/******************************************************************************* * Copyright (c) 2015 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.container.core/src/com/ibm/ws/jpa/JPAVersion.java
Java
epl-1.0
1,890
/** * Copyright (c) 2015 Bosch Software Innovations 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 ...
eclipse/hawkbit
hawkbit-repository/hawkbit-repository-jpa/src/test/java/org/eclipse/hawkbit/repository/event/remote/AbstractRemoteEventTest.java
Java
epl-1.0
4,192
/*- ******************************************************************************* * Copyright (c) 2011, 2016 Diamond Light Source Ltd. * 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, ...
AnthonyHullDiamond/scanning
org.eclipse.scanning.test/src/org/eclipse/scanning/test/event/queues/QueueTest.java
Java
epl-1.0
4,797
/* * Copyright (c) 2013 Tony Bybell. * * 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, merge, publis...
mballance/egtkwave
gtkwave/gtkwave-3.3.52/contrib/fst_jni/fstAttrType.java
Java
epl-1.0
1,516
/******************************************************************************* * Copyright (c) 2017, 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...
kgibm/open-liberty
dev/com.ibm.ws.microprofile.openapi.1.1.model/src/com/ibm/ws/microprofile/openapi/impl/model/responses/package-info.java
Java
epl-1.0
851
/** * 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.solaredge/src/main/java/org/openhab/binding/solaredge/internal/handler/SolarEdgeBaseHandler.java
Java
epl-1.0
5,643
/******************************************************************************* * Copyright (c) 2001 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.ejbcontainer.core/src/com/ibm/websphere/cpmi/PMModuleCookie.java
Java
epl-1.0
715
/******************************************************************************* * Copyright (c) 2012-2016 Codenvy, S.A. * 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 ...
Mirage20/che
wsmaster/che-core-api-machine/src/main/java/org/eclipse/che/api/machine/server/recipe/RecipeService.java
Java
epl-1.0
8,543
/** * Copyright 2011 Joao Miguel Pereira * * 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...
magiclud/decorator
src/main/java/eu/jpereira/trainings/designpatterns/structural/decorator/SocialPublisher.java
Java
epl-1.0
1,829
/** * 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/BenchmarkTest09665.java
Java
gpl-2.0
2,402
/* * Copyright (c) 2009, 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 ...
ojdkbuild/lookaside_java-1.8.0-openjdk
jdk/src/share/classes/sun/awt/ExtendedKeyCodes.java
Java
gpl-2.0
35,008
/* * Copyright (c) 2003, 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 ...
universsky/openjdk
jdk/test/java/lang/instrument/NullRedefineClassesTests.java
Java
gpl-2.0
3,751
/** * ownCloud Android client application * * @author Andy Scherzinger * @author Christian Schabesberger * Copyright (C) 2020 ownCloud GmbH. * <p/> * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, * as published by the Free...
hannesa2/owncloud-android
owncloudApp/src/main/java/com/owncloud/android/ui/activity/ManageAccountsActivity.java
Java
gpl-2.0
18,776
/* * Copyright 2008-2009 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...
visage-lang/visage-compiler
src/share/classes/org/visage/functions/Function7.java
Java
gpl-2.0
2,088
/* * Copyright 2014 by SCSK Corporation. * * This file is part of PrimeCloud Controller(TM). * * PrimeCloud Controller(TM) 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 Licen...
yterauchi/primecloud-controller
auto-project/auto-api/src/main/java/jp/primecloud/auto/api/lb/AttachLoadBalancer.java
Java
gpl-2.0
4,784
package org.zanata.sync.model; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import java.io.Serializable; /** * @author Alex Eng <a href="aeng@redhat.com">aeng@redhat.com</a> */ @AllArgsConstructor @NoArgsConstructor @Getter public class JobProgress implements Serializabl...
aeng/zanata-sync
server/src/main/java/org/zanata/sync/model/JobProgress.java
Java
gpl-2.0
429
/* * Copyright (C) 2012-2021 52°North Spatial Information Research GmbH * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. * * If the program is linked with libraries which are l...
EHJ-52n/SOS
spring/install-controller/src/main/java/org/n52/sos/web/install/InstallIndexController.java
Java
gpl-2.0
2,178
/*FreeMind - A Program for creating and viewing Mindmaps *Copyright (C) 2000-2008 Joerg Mueller, Daniel Polansky, Christian Foltin and others. * *See COPYING for Details * *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...
d4span/freemindfx
src/main/java/plugins/collaboration/socket/MindMapMaster.java
Java
gpl-2.0
13,982
/* * org.openmicroscopy.shoola.agents.dataBrowser.layout.PlateLayout * *------------------------------------------------------------------------------ * Copyright (C) 2006-2013 University of Dundee. All rights reserved. * * * This program is free software; you can redistribute it and/or modify * it under th...
stelfrich/openmicroscopy
components/insight/SRC/org/openmicroscopy/shoola/agents/dataBrowser/layout/PlateLayout.java
Java
gpl-2.0
6,076
/* * Copyright (C) 2012-2021 52°North Spatial Information Research GmbH * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. * * If the program is linked with libraries which are l...
EHJ-52n/SOS
hibernate/datasource/h2/src/main/java/org/n52/sos/ds/datasource/AbstractH2Datasource.java
Java
gpl-2.0
5,950
/* * 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
test/javax/swing/plaf/metal/MetalIcons/MetalHiDPIIconsTest.java
Java
gpl-2.0
4,795
/* * FindBugs - Find Bugs in Java programs * Copyright (C) 2006, University of Maryland * * This library 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 2.1 of the License, or (a...
jesusaplsoft/FindAllBugs
findbugs/src/gui/edu/umd/cs/findbugs/sourceViewer/NumberedParagraphView.java
Java
gpl-2.0
3,911
/* * 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/classlib/modules/swing/src/test/api/java.injected/javax/swing/text/PlainViewTest.java
Java
gpl-2.0
14,439
package com.eagle.adventurersalchemy.api; import com.eagle.adventurersalchemy.api.recipe.RecipeMortar; import net.minecraft.item.ItemStack; import java.util.ArrayList; import java.util.List; /** * This class was created by GustoniaEagle. * It is distributed under a part of the Adventurer's Alchemy mod. * https://...
GustoniaEagle/Adventurers-Alchemy
src/main/java/com/eagle/adventurersalchemy/api/AdventurersAlchemyAPI.java
Java
gpl-2.0
1,019
/* * Copyright (C) 2008 Saeed Siam * * This file is released under the GPL version 2 with the following * clarification and special exception: * * Linking this library statically or dynamically with other modules is * making a combined work based on this library. Thus, the terms and * conditions of...
headius/jato
test/functional/jvm/SynchronizationTest.java
Java
gpl-2.0
3,039
/* * #%L * BSD implementations of Bio-Formats readers and writers * %% * Copyright (C) 2005 - 2016 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * Redistribution and use in source and binary forms, with or...
bramalingam/bioformats
components/formats-bsd/src/loci/formats/codec/JPEGTileDecoder.java
Java
gpl-2.0
10,387
package cn.edu.tsinghua.cess.task.service.impl.executor.index; public interface IndexParser { public Index parse(TemporalRange range, TemporalRange specified); }
THU-EarthInformationScienceLab/CAFE_NODE
datamanager-core/src/main/java/cn/edu/tsinghua/cess/task/service/impl/executor/index/IndexParser.java
Java
gpl-2.0
168
import org.coinor.opents.*; public class Main { public static void main (String args[]) { // Initialize our objects java.util.Random r = new java.util.Random( 12345 ); double[][] customers = new double[20][2]; for( int i = 0; i < 20; i++ ) for( int j = 0; j < 2; ...
as-1/STSP
libraries/OpenTS/docs/tutorial/simple/Main.java
Java
gpl-2.0
1,529
package de.unitrier.daalft.pali.morphology.element; import de.unitrier.daalft.pali.general.Alphabet; /** * Changes the word to which it is attached * @author David * */ public class ChangingOccurrence extends Occurrence { /** * Constructor * @param in information */ public ChangingOccurrence (String in) ...
veer66/PaliNLP
src/de/unitrier/daalft/pali/morphology/element/ChangingOccurrence.java
Java
gpl-2.0
1,080
package org.xmlvm.ios; import java.util.*; import org.xmlvm.XMLVMSkeletonOnly; @XMLVMSkeletonOnly public class CoreMedia { /* * Static methods */ /** * void CMRemoveAttachment(CMAttachmentBearerRef target, CFStringRef key) ; */ public static void CMRemoveAttachment(CMAttachmentBearer target, String key){ ...
skyHALud/codenameone
Ports/iOSPort/xmlvm/src/ios/org/xmlvm/ios/CoreMedia.java
Java
gpl-2.0
4,656
package org.openyu.mix.sasang.log; import java.util.List; import org.openyu.mix.app.log.AppLogEntity; import org.openyu.mix.item.vo.Item; import org.openyu.mix.sasang.service.SasangService.PlayType; import org.openyu.mix.sasang.vo.Outcome; /** * 四象玩的log * * log不做bean,直接用entity處理掉 */ public interface SasangPlayL...
mixaceh/openyu-mix.j
openyu-mix-core/src/main/java/org/openyu/mix/sasang/log/SasangPlayLog.java
Java
gpl-2.0
1,216
/* * 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 program is distributed in the hope that it will be us...
VytautasBoznis/l2.skilas.lt
aCis_gameserver/java/net/sf/l2j/gameserver/model/L2Macro.java
Java
gpl-2.0
1,612
/* * Copyright (c) 2013, 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 ...
smarr/Truffle
substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/graal/nodes/ReadReturnAddressNode.java
Java
gpl-2.0
2,335
package ca.mcgill.sel.ram.ui.examples; import org.eclipse.emf.ecore.EObject; import ca.mcgill.sel.ram.ui.RamApp; import ca.mcgill.sel.ram.ui.components.RamTextComponent; import ca.mcgill.sel.ram.ui.components.RamTextComponent.Alignment; import ca.mcgill.sel.ram.ui.scenes.RamAbstractScene; import ca.mcgill.sel...
mschoettle/ecse429-fall15-project
ca.mcgill.sel.ram.gui/src/ca/mcgill/sel/ram/ui/examples/TextTest.java
Java
gpl-2.0
2,982
package junit.runner; import java.lang.reflect.Modifier; import junit.framework.Test; import junit.framework.TestSuite; /** * An implementation of a TestCollector that loads * all classes on the class path and tests whether * it is assignable from Test or provides a static suite method. * @see TestCollector */ ...
percy-g2/Novathor_xperia_u8500
6.1.1.B.1.54/external/junit/src/junit/runner/LoadingTestCollector.java
Java
gpl-2.0
1,703
package id.ac.pcr.springjdbc.model; /** * Created with IntelliJ IDEA. * User: isaninside * Date: 4/3/13 * Time: 10:10 AM * To change this template use File | Settings | File Templates. */ public class Mahasiswa { private int id; private String nama; private String nim; public int getId() { ...
jasoet/Spring-JDBC
src/main/java/id/ac/pcr/springjdbc/model/Mahasiswa.java
Java
gpl-2.0
657
package org.paninij.proc.check.signature; import org.paninij.lang.Signature; @Signature interface HasNestedTypeCore { enum Nested { // Nothing needed here. } }
paninij/paninij
core/proc/src/test/paninij/org/paninij/proc/check/signature/HasNestedTypeCore.java
Java
gpl-2.0
178
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2006-2011 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
tharindum/opennms_dashboard
opennms-qosdaemon/src/main/java/org/openoss/opennms/spring/qosd/jmx/QoSD.java
Java
gpl-2.0
6,133
/* * Copyright (c) 2011, 2012, 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 ...
arodchen/MaxSim
maxine/com.oracle.max.vm/src/com/sun/max/vm/heap/gcx/rset/ctbl/CardTableRSet.java
Java
gpl-2.0
30,106
/************************************************************************ * * 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/db/DbOrderStatementElement.java
Java
gpl-2.0
4,460
/* * Copyright (c) 2005, 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/sun/java2d/pipe/BufferedRenderPipe.java
Java
gpl-2.0
20,907
package com.aw.core.report; import com.aw.core.report.custom.RptField; import com.aw.core.report.custom.RptRenderer; import com.aw.core.view.IColumnInfo; import org.springframework.util.StringUtils; import java.util.List; /** * User: JCM * Date: 20/11/2007 */ public class RptPdfDataSection extends RptDataSectionI...
AlanGuerraQuispe/SisAtuxPerfumeria
atux-jrcp/src/main/java/com/aw/core/report/RptPdfDataSection.java
Java
gpl-2.0
6,113
/* * Copyright (c) 2010, 2012, 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 ...
arodchen/MaxSim
maxine/com.oracle.max.tele.vm/src/com/sun/max/tele/debug/darwin/DarwinMachO.java
Java
gpl-2.0
17,129
/* * DynamicJava - Copyright (C) 1999 Dyade * * 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, mer...
mbshopM/openconcerto
OpenConcerto/src/koala/dynamicjava/tree/OrExpression.java
Java
gpl-3.0
2,774
package twitter4j.internal.json; import static twitter4j.internal.util.InternalParseUtil.getLong; import static twitter4j.internal.util.InternalParseUtil.getRawString; import static twitter4j.internal.util.InternalParseUtil.getUnescapedString; import org.json.JSONObject; import twitter4j.TranslationResult; import tw...
0359xiaodong/twidere
src/twitter4j/internal/json/TranslationResultJSONImpl.java
Java
gpl-3.0
3,161
package com.github.bordertech.wcomponents; import com.github.bordertech.wcomponents.WButton.ImagePosition; import com.github.bordertech.wcomponents.util.mock.MockRequest; import java.io.Serializable; import junit.framework.Assert; import org.junit.Test; /** * Unit tests for {@link WButton}. * * @author Ming Gao *...
marksreeves/wcomponents
wcomponents-core/src/test/java/com/github/bordertech/wcomponents/WButton_Test.java
Java
gpl-3.0
25,128
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2014 Dirk Beyer * 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...
nishanttotla/predator
cpachecker/src/org/sosy_lab/cpachecker/pcc/propertychecker/NoTargetStateChecker.java
Java
gpl-3.0
1,567
package com.github.athenaengine.core.model.template; public class SkillTemplate { private int mId; private int mLevel; private boolean mIsDebuff; private boolean mIsDamage; public int getId() { return mId; } private void setId(int id) { mId = id; } public int get...
AthenaEventEngine/AthenaCore
src/main/java/com/github/athenaengine/core/model/template/SkillTemplate.java
Java
gpl-3.0
1,485
package com.wisecityllc.cookedapp.views; import android.content.Context; import android.util.AttributeSet; import android.view.KeyEvent; import android.view.inputmethod.InputMethodManager; import android.widget.EditText; import com.wisecityllc.cookedapp.App; /** * This class overrides the onKeyPreIme method to disp...
thewisecity/declarehome-android
app/src/main/java/com/wisecityllc/cookedapp/views/ExtendedEditText.java
Java
gpl-3.0
1,922
package com.fongwama.mosungi.ui.adapter; import android.app.Activity; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import java.util.List; import com.fongwama.mosungi.R; i...
steve111MV/Mosungi
Android/app/src/main/java/com/fongwama/mosungi/ui/adapter/SpinnerAdapter.java
Java
gpl-3.0
2,157
// Openbravo POS is a point of sales application designed for touch screens. // Copyright (C) 2007-2009 Openbravo, S.L. // http://www.openbravo.com/product/pos // // This file is part of Openbravo POS. // // Openbravo POS is free software: you can redistribute it and/or modify // it under the terms of...
saulhidalgoaular/luas-pos
src-pos/com/openbravo/pos/sales/shared/JTicketsBagShared.java
Java
gpl-3.0
8,820
/** * Copyright (C) 2014 Envidatec GmbH <info@envidatec.com> * * This file is part of JEApplication. * * JEApplication 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 in version 3. * * JEApplication is...
zeydbilal/AITJevisPrivate
src/main/java/org/jevis/jeconfig/plugin/object/CopyObjectDialog.java
Java
gpl-3.0
13,214
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.01.12 at 1...
ecemandirac/FlightTracker
Local Storage Module/src/java/generated/CustomerType.java
Java
gpl-3.0
2,946
package org.glom.web.client.place; import static org.junit.Assert.*; import org.junit.Test; import com.googlecode.gwt.test.GwtModule; import com.googlecode.gwt.test.GwtTest; @GwtModule("org.glom.web.OnlineGlom") public class GwtTestReportPlace extends GwtTest { public GwtTestReportPlace() { } @Test public void...
benkonrath/gwt-glom
src/test/java/org/glom/web/client/place/GwtTestReportPlace.java
Java
gpl-3.0
2,212
/* == This file is part of Tomahawk Player - <http://tomahawk-player.org> === * * Copyright 2013, Enno Gottschalk <mrmaffen@googlemail.com> * * Tomahawk 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...
jackyzonewen/tomahawk-android
src/org/tomahawk/libtomahawk/hatchet/TrackInfo.java
Java
gpl-3.0
2,564
/* * Copyright (C) 2011-2012 Dominik Schürmann <dominik@dominikschuermann.de> * * This file is part of AdAway. * * AdAway 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,...
Free-Software-for-Android/AdAway
app/src/main/java/org/adaway/util/RegexUtils.java
Java
gpl-3.0
4,483
package org.omg.uml.behavioralelements.statemachines; /** * A_state_exit association proxy interface. * * <p><em><strong>Note:</strong> This type should not be subclassed or implemented * by clients. It is generated from a MOF metamodel and automatically implemented * by MDR (see <a href="http://mdr.ne...
ckaestne/LEADT
workspace/argouml_critics/argouml-core-model-mdr/build/java/org/omg/uml/behavioralelements/statemachines/AStateExit.java
Java
gpl-3.0
2,513
package edu.mondragon.urkopineda.socket; import edu.mondragon.urkopineda.data.Message; import java.io.IOException; import java.net.Socket; /** * A TCP socket client. * * @author urko */ public class SocketClient { private Socket socket; private SocketUtils utils; private String address; private ...
urkopineda/distributed-systems-mu-3
TCPInterceptor/TCPClient/src/edu/mondragon/urkopineda/socket/SocketClient.java
Java
gpl-3.0
1,340
/* * Copyright (c) 2015 OpenSilk Productions LLC * * 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 prog...
OpenSilk/SyncthingAndroid
app/src/main/java/syncthing/api/Credentials.java
Java
gpl-3.0
3,958