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 2020 Red Hat, Inc. and/or its affiliates.
*
* 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... | porcelli-forks/drools-wb | drools-wb-screens/drools-wb-scenario-simulation-editor/drools-wb-scenario-simulation-editor-kogito-client/src/main/java/org/drools/workbench/screens/scenariosimulation/kogito/client/dmn/KogitoDMNService.java | Java | apache-2.0 | 1,412 |
/*
* //******************************************************************
* //
* // Copyright 2016 Samsung Electronics All Rights Reserved.
* //
* //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
* //
* // Licensed under the Apache License, Version 2.0 (the "License");
* // you may not use thi... | JunhwanPark/TizenRT | external/iotivity/iotivity_1.3-rel/cloud/stack/src/main/java/org/iotivity/cloud/base/protocols/coap/CoapDecoder.java | Java | apache-2.0 | 9,113 |
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of ... | PlanetWaves/clockworkengine | trunk/jme3-core/src/plugins/java/com/jme3/shader/plugins/GLSLLoader.java | Java | apache-2.0 | 8,037 |
/*
* Copyright 2015 Edward Capriolo
*
* 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... | tonellotto/nibiru | src/main/java/io/teknek/nibiru/partitioner/Partitioner.java | Java | apache-2.0 | 737 |
/*
* 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 n... | rogerchina/activemq-artemis | artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/SimpleStringTest.java | Java | apache-2.0 | 13,390 |
package org.mybatis.generator.internal.util;
import java.lang.reflect.Array;
/**
* This class is from javapractices.com:
*
* http://www.javapractices.com/Topic28.cjp
*
* Collected methods which allow easy implementation of <code>hashCode</code>.
*
* Example use case:
*
* <pre>
* public int... | fnyexx/mybator | src/main/java/org/mybatis/generator/internal/util/HashCodeUtil.java | Java | apache-2.0 | 2,726 |
/*
* Copyright 2015 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under t... | xingguang2013/jbpm-designer | jbpm-designer-backend/src/main/java/org/jbpm/designer/repository/RepositoryManager.java | Java | apache-2.0 | 1,682 |
/*
Copyright (c) 2014-2015 F-Secure
See LICENSE for details
*/
package cc.softwarefactory.lokki.android;
import android.app.Application;
import android.graphics.Bitmap;
import android.os.StrictMode;
import android.preference.PreferenceManager;
import android.support.v4.util.LruCache;
import android.util.Log;
import c... | Grandi/lokki-android | App/src/main/java/cc/softwarefactory/lokki/android/MainApplication.java | Java | apache-2.0 | 6,855 |
/*
* Copyright 2010-2016 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 "l... | nterry/aws-sdk-java | aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/transform/ClusterQuotaExceededExceptionUnmarshaller.java | Java | apache-2.0 | 1,589 |
/*
* Copyright 2016 Development Entropy (deventropy.org) Contributors
*
* 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 r... | bindul/junit-helper | junit-helper-derby/src/test/java/org/deventropy/junithelper/derby/SimpleDerbyTest.java | Java | apache-2.0 | 2,114 |
/**
* Copyright 2015 Knowm Inc. (http://knowm.org) and contributors.
* Copyright 2013-2015 Xeiam LLC (http://xeiam.com) and contributors.
* Copyright 2001-2011 Terracotta Inc. (http://terracotta.org).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complia... | jkandasa/Sundial | src/main/java/org/quartz/plugins/management/ShutdownHookPlugin.java | Java | apache-2.0 | 3,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"); you... | cbaenziger/oozie | core/src/main/java/org/apache/oozie/service/ELService.java | Java | apache-2.0 | 10,251 |
/*
* 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 ... | Fabryprog/camel | core/camel-core/src/test/java/org/apache/camel/issues/NotifyBuilderExactlyDoneSplitterWhereSentToIssueTest.java | Java | apache-2.0 | 1,932 |
/*******************************************************************************
* 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 f... | apache/olingo-odata2 | odata2-lib/odata-client-core/src/main/java/org/apache/olingo/odata2/client/core/ep/deserializer/JsonFeedDeserializer.java | Java | apache-2.0 | 8,653 |
package water.api;
import water.*;
import water.H2O.H2OCountedCompleter;
import water.persist.PersistS3Task;
import water.persist.PersistS3;
import water.util.Log;
import com.google.gson.JsonObject;
public class ExportS3 extends Request {
protected class BucketArg extends TypeaheadInputText<String> {
public B... | janezhango/BigDataMachineLearning | src/main/java/water/api/ExportS3.java | Java | apache-2.0 | 1,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"); you ... | apache/jena | jena-tdb/src/test/java/org/apache/jena/tdb/base/file/TestBlockAccessMapped.java | Java | apache-2.0 | 1,566 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may ... | jmartisk/hibernate-validator | engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/FutureValidatorForDateTest.java | Java | apache-2.0 | 1,901 |
/*
* 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 ... | apache/solr | solr/core/src/test/org/apache/solr/cloud/DistribJoinFromCollectionTest.java | Java | apache-2.0 | 9,690 |
package net.morimekta.providence.testing;
import net.morimekta.test.providence.testing.calculator.Operand;
import net.morimekta.test.providence.testing.calculator.Operation;
import net.morimekta.test.providence.testing.calculator.Operator;
import net.morimekta.test.providence.testing.number.Imaginary;
import org.hamc... | morimekta/thrift-j2 | providence-testing/src/test/java/net/morimekta/providence/testing/EqualToMessageTest.java | Java | apache-2.0 | 5,573 |
package org.hl7.fhir.dstu3.model.codesystems;
/*
Copyright (c) 2011+, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the... | Gaduo/hapi-fhir | hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/codesystems/PaymentStatus.java | Java | apache-2.0 | 3,286 |
package com.jfixby.r3.physics;
import com.jfixby.r3.api.physics.Body;
import com.jfixby.r3.api.physics.BodyDynamicsListener;
import com.jfixby.r3.api.physics.BodyMass;
import com.jfixby.r3.api.physics.BodyPosition;
import com.jfixby.r3.api.physics.ForcesApplicator;
import com.jfixby.r3.physics.body.BodyImpl;
public ... | JFixby/RedTriplane | red-triplane-physics-red/src/com/jfixby/r3/physics/BodyDynamicsImpl.java | Java | apache-2.0 | 1,305 |
/*
* 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... | botelhojp/apache-jmeter-2.10 | src/core/org/apache/jmeter/gui/JMeterGUIComponent.java | Java | apache-2.0 | 6,888 |
/**
* 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... | massakam/pulsar | pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authentication/utils/AuthTokenUtils.java | Java | apache-2.0 | 4,890 |
/*
* Copyright 2017 Alexey Andreev.
*
* 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... | jtulach/teavm | tests/src/test/java/org/teavm/dependency/DependencyTest.java | Java | apache-2.0 | 10,483 |
/*
* (c) Copyright 2019 EntIT Software LLC, a Micro Focus company, L.P.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License v2.0 which accompany this distribution.
*
* The Apache License is available at
* http://www.apache.org/licenses/LICE... | CloudSlang/cs-actions | cs-amazon/src/main/java/io/cloudslang/content/amazon/factory/LoadBalancingQueryParamsMapBuilder.java | Java | apache-2.0 | 2,183 |
/***************************************
*dipole.java
*Andrew Knox 6/27/01
*
*This class was written as a way to hold information about dipoles
*for estaticterm.java. I'm not sure how usefull it would be as an
*actual model of a dipole.
*/
package nanocad;
public class dipole
{
private atom firstAtom, se... | SciGaP/SEAGrid-Desktop-GUI | src/main/java/nanocad/dipole.java | Java | apache-2.0 | 2,104 |
/*
* (c) Copyright Christian P. Fries, Germany. Contact: email@christian-fries.de.
*
* Created on 14.06.2015
*/
package net.finmath.montecarlo.interestrate.products.indices;
import java.time.LocalDate;
import java.util.Set;
import net.finmath.exception.CalculationException;
import net.finmath.montecarlo.interest... | finmath/finmath-lib | src/main/java8/net/finmath/montecarlo/interestrate/products/indices/DateIndex.java | Java | apache-2.0 | 2,386 |
package io.dropwizard.migrations;
import com.google.common.base.Charsets;
import io.dropwizard.Configuration;
import io.dropwizard.db.DatabaseConfiguration;
import liquibase.Liquibase;
import liquibase.diff.DiffGeneratorFactory;
import liquibase.diff.DiffResult;
import liquibase.diff.compare.CompareControl;
import liq... | vimond/dropwizard | dropwizard-migrations/src/main/java/io/dropwizard/migrations/DbDumpCommand.java | Java | apache-2.0 | 7,326 |
package org.alien4cloud.tosca.exceptions;
import alien4cloud.exception.TechnicalException;
/**
* Base class for all constraint related exceptions
*
* @author mkv
*
*/
public class ConstraintTechnicalException extends TechnicalException {
private static final long serialVersionUID = 5829360730980521567L;
... | alien4cloud/alien4cloud | alien4cloud-tosca/src/main/java/org/alien4cloud/tosca/exceptions/ConstraintTechnicalException.java | Java | apache-2.0 | 524 |
/*
* 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 ... | zhangminglei/flink | flink-core/src/main/java/org/apache/flink/configuration/SecurityOptions.java | Java | apache-2.0 | 11,882 |
package alien4cloud.security;
import java.util.List;
import javax.annotation.Resource;
import javax.naming.NamingException;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.MethodSorters;
import org.mockito.Mockito;
import org.springframework.ldap.core... | igorng/alien4cloud | alien4cloud-security/src/test/java/alien4cloud/security/LdapAuthenticationProviderTest.java | Java | apache-2.0 | 2,840 |
package org.apache.cassandra.index;
import java.util.*;
import java.util.concurrent.Callable;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.stream.Collectors;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import org.junit.Test;
import org.apache.c... | knifewine/cassandra | test/unit/org/apache/cassandra/index/CustomIndexTest.java | Java | apache-2.0 | 33,520 |
/**
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under ... | ChrisCanCompute/assertj-core | src/test/java/org/assertj/core/api/offsetdatetime/OffsetDateTimeAssert_isBetween_with_String_parameters_Test.java | Java | apache-2.0 | 2,198 |
/*
* Copyright 2014 NAVER Corp.
*
* 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 ... | majinkai/pinpoint | profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/JavassistMethod.java | Java | apache-2.0 | 23,027 |
/*
* 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 ... | objectiser/camel | components/camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java | Java | apache-2.0 | 52,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"); you may ... | apache/commons-imaging | src/test/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoSBytesTest.java | Java | apache-2.0 | 1,586 |
/*
* 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")... | asanka88/apache-synapse | modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/nhttp/debug/ClientConnectionDebug.java | Java | apache-2.0 | 6,147 |
/*
* Copyright 2012-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | christian-posta/spring-boot | spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorAutoConfigurationTests.java | Java | apache-2.0 | 17,546 |
package com.lu.kuaichuan.wifidirect.adapter;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.CheckBox;
import ... | lucky-code/Practice | kuaichuan2.0/app/src/main/java/com/lu/kuaichuan/wifidirect/adapter/MyGridViewAdapter.java | Java | apache-2.0 | 3,711 |
/**
* Copyright 2014 Nortal AS
*
* 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... | jimmytheneutrino/petit | modules/converter/src/main/java/com/nortal/petit/converter/columnreader/ColumnReader.java | Java | apache-2.0 | 825 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishing to use... | nmcl/scratch | graalvm/transactions/fork/narayana/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/AtomicAction.java | Java | apache-2.0 | 9,975 |
// HTMLParser Library - A java-based parser for HTML
// http://htmlparser.org
// Copyright (C) 2006 Derrick Oswald
//
// Revision Control Information
//
// $URL: https://svn.sourceforge.net/svnroot/htmlparser/trunk/lexer/src/main/java/org/htmlparser/nodes/TextNode.java $
// $Author: derrickoswald $
// $Date: 2006-09-16... | patrickfav/tuwien | master/swt workspace/HTMLParser/src/org/htmlparser/nodes/TextNode.java | Java | apache-2.0 | 6,785 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2015, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | antoinesd/weld-core | tests-arquillian/src/test/java/org/jboss/weld/tests/el/resolver/MyBean.java | Java | apache-2.0 | 957 |
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.parts;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.Shape;
import org.eclipse.draw2d.StackLayout;
import org.eclipse.draw2d.geometry.Dimension;
import org.eclip... | prabushi/devstudio-tooling-esb | plugins/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/edit/parts/EnqueueMediatorInputConnectorEditPart.java | Java | apache-2.0 | 11,166 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Flipkart/elasticsearch | src/main/java/org/elasticsearch/rest/action/admin/cluster/repositories/get/RestGetRepositoriesAction.java | Java | apache-2.0 | 3,286 |
package com.github.davidmoten.rtree;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.List;
import java.util.zip.GZIPInputStream;
import rx.Observable;
import rx.functions.Action1;
import rx.functions.Func0;
import rx.functions.Func1;
import rx.observables.Str... | lhyqie/rtree | src/test/java/com/github/davidmoten/rtree/GreekEarthquakes.java | Java | apache-2.0 | 2,411 |
/**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | rosmo/aurora | src/test/java/org/apache/aurora/scheduler/events/PubsubEventModuleTest.java | Java | apache-2.0 | 4,254 |
/**
* 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 ... | wyg1990/Mallet | src/main/java/com/intel/mallet/TpcdsTool.java | Java | apache-2.0 | 3,375 |
package org.jgroups.blocks;
import org.jgroups.*;
import org.jgroups.annotations.ManagedAttribute;
import org.jgroups.annotations.ManagedOperation;
import org.jgroups.logging.Log;
import org.jgroups.logging.LogFactory;
import org.jgroups.util.*;
import java.io.*;
import java.lang.reflect.Method;
import java.util.*;
i... | rhusar/JGroups | src/org/jgroups/blocks/ReplCache.java | Java | apache-2.0 | 27,762 |
package org.openas2.processor.sender;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import javax.mail.Header;
import org.apache.commons.logging.Log;
imp... | fertroya/openas2 | src/main/java/org/openas2/processor/sender/AsynchMDNSenderModule.java | Java | bsd-2-clause | 6,171 |
/*
* Copyright (c) 2014, ThoughtWorks
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of con... | jason-p-pickering/chailmis-android | app/src/test/java/org/clintonhealthaccess/lmis/app/services/CategoryServiceTest.java | Java | bsd-2-clause | 3,648 |
package org.mapfish.print.processor.map.scalebar;
import static org.junit.Assert.assertEquals;
import java.awt.Dimension;
import java.io.File;
import java.net.URI;
import org.geotools.referencing.CRS;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
impor... | Galigeo/mapfish-print | core/src/test/java/org/mapfish/print/processor/map/scalebar/ScalebarGraphicTest.java | Java | bsd-2-clause | 8,084 |
package org.darkstorm.minecraft.gui.listener;
import org.darkstorm.minecraft.gui.component.Slider;
public interface SliderListener extends ComponentListener {
public void onSliderValueChanged(Slider slider);
}
| DarkStorm652/Minecraft-GUI-API | src/org/darkstorm/minecraft/gui/listener/SliderListener.java | Java | bsd-2-clause | 220 |
/*
* Copyright 2000-2003 Oracle, Inc. This software was developed in conjunction with the National Cancer Institute, and so to the extent government employees are co-authors, any rights in such works shall be subject to Title 17 of the United States Code, section 105.
*
Redistribution and use in source and binar... | NCIP/cadsr-semantic-tools | software/SIW/src/java/gov/nih/nci/ncicb/cadsr/loader/ui/ModeSelectionPanelDescriptor.java | Java | bsd-3-clause | 4,065 |
// Copyright 2008 Peter William Birch <birchb@genyis.org>
//
// This software may be used and distributed according to the terms
// of the Genyris License, in the file "LICENSE", incorporated herein by reference.
//
package org.genyris.core;
import java.io.StringWriter;
import org.genyris.exception.AccessException;
im... | ravikumar10/genyris | src/org/genyris/core/Pair.java | Java | bsd-3-clause | 7,449 |
package org.basex.qt3ts.op;
import org.basex.tests.bxapi.*;
import org.basex.tests.qt3ts.*;
/**
* Tests for the subtract-dates() function.
*
* @author BaseX Team 2005-15, BSD License
* @author Leo Woerteler
*/
@SuppressWarnings("all")
public class OpSubtractDates extends QT3TestSet {
/**
*
* **********... | ksclarke/basex | basex-tests/src/test/java/org/basex/qt3ts/op/OpSubtractDates.java | Java | bsd-3-clause | 24,691 |
package com.oracle.ptsdemo.healthcare.wsclient.osc.opty.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java ... | dushmis/Oracle-Cloud | PaaS-SaaS_HealthCareApp/DoctorPatientCRMExtension/HealthCare/HealthCareWSProxyClient/src/com/oracle/ptsdemo/healthcare/wsclient/osc/opty/generated/GetOpportunityResponse.java | Java | bsd-3-clause | 1,582 |
package org.broadinstitute.hellbender.utils.activityprofile;
import htsjdk.samtools.SAMFileHeader;
import htsjdk.samtools.reference.ReferenceSequenceFile;
import org.broadinstitute.hellbender.engine.AssemblyRegion;
import org.broadinstitute.hellbender.utils.*;
import org.broadinstitute.hellbender.utils.fasta.CachingIn... | ksthesis/gatk | src/test/java/org/broadinstitute/hellbender/utils/activityprofile/ActivityProfileUnitTest.java | Java | bsd-3-clause | 24,058 |
package org.cipres.treebase.dao.study;
import junit.framework.Test;
import junit.framework.TestSuite;
/**
* The class <code>PackageTestSuite</code> builds a suite that can be used to run all of the tests
* within its package as well as within any subpackages of its package.
*
* @generatedBy CodePro at 1... | TreeBASE/treebasetest | treebase-core/src/test/java/org/cipres/treebase/dao/study/PackageTestSuite.java | Java | bsd-3-clause | 1,251 |
package eta.runtime.apply;
import eta.runtime.stg.Closure;
import eta.runtime.stg.StgContext;
public class Function5 extends Function {
public int arity() { return 5; }
@Override
public Closure apply6(StgContext context, Closure p1, Closure p2, Closure p3, Closure p4, Closure p5, Closure p6) {
bo... | rahulmutt/ghcvm | rts/src/main/java/eta/runtime/apply/Function5.java | Java | bsd-3-clause | 510 |
/**
* Copyright (c) 2014, Regents of the University of California
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice... | ctsidev/SecureWise | wise/src/edu/ucla/wise/commons/WiseConstants.java | Java | bsd-3-clause | 2,788 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// 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: 20... | dushmis/Oracle-Cloud | PaaS_SaaS_Accelerator_RESTFulFacade/XJC_Beans/src/com/oracle/xmlns/apps/crmcommon/interactions/interactionservice/types/ProcessInteractionAssociation.java | Java | bsd-3-clause | 4,291 |
package edu.team597.support;
/**
* @author Tom Bottiglieri
* Team 254, The Cheesy Poofs
*/
import edu.wpi.first.wpilibj.Timer;
import java.io.IOException;
import java.io.InputStream;
import java.util.Vector;
import javax.microedition.io.Connector;
import javax.microedition.io.ServerSocketConnection;
import javax.m... | Team597/FRC-2014-StartLifter-Code | src/edu/team597/support/CheesyVisionServer.java | Java | bsd-3-clause | 4,666 |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.testing.local;
import org.junit.runner.JUnitCore;
import org.junit.runner.Request;
import org.junit.runner.RunWith;
import java.io.... | mou4e/zirconium | testing/android/junit/java/src/org/chromium/testing/local/JunitTestMain.java | Java | bsd-3-clause | 3,775 |
package com.oracle.ptsdemo.healthcare.wsclient.osc.salesparty.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p... | dushmis/Oracle-Cloud | PaaS-SaaS_HealthCareApp/DoctorPatientCRMExtension/HealthCare/HealthCareWSProxyClient/src/com/oracle/ptsdemo/healthcare/wsclient/osc/salesparty/generated/CreateOrganizationPartyAsync.java | Java | bsd-3-clause | 1,729 |
package com.flat502.rox.server;
import java.nio.channels.SocketChannel;
import com.flat502.rox.processing.SSLSession;
/**
* A very simple accept policy interface.
* <p>
* An instance of this interface may be associated with an instance
* of {@link com.flat502.rox.server.HttpRpcServer}. After a new SSL ... | cameronbraid/rox | src/main/java/com/flat502/rox/server/SSLSessionPolicy.java | Java | bsd-3-clause | 1,296 |
package org.hisp.dhis.reporttable;
/*
* Copyright (c) 2004-2018, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the ... | msf-oca-his/dhis-core | dhis-2/dhis-api/src/main/java/org/hisp/dhis/reporttable/ReportTable.java | Java | bsd-3-clause | 35,862 |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.util.opus;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
import static org.... | LWJGL-CI/lwjgl3 | modules/lwjgl/opus/src/generated/java/org/lwjgl/util/opus/OpusFileCallbacks.java | Java | bsd-3-clause | 14,770 |
/*
* Copyright (c) 2009-2011, 2014 AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE S... | octoblu/alljoyn | alljoyn/alljoyn_java/src/org/alljoyn/bus/ifaces/Properties.java | Java | isc | 3,060 |
/**
* 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.applicationinsights.v2015_05_01.implementation;
... | selvasingh/azure-sdk-for-java | sdk/applicationinsights/mgmt-v2015_05_01/src/main/java/com/microsoft/azure/management/applicationinsights/v2015_05_01/implementation/ComponentsInner.java | Java | mit | 73,618 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.azure.eventprocessorhost;
import java.util.ArrayList;
import java.util.concurrent.ScheduledExecutorService;
import com.microsoft.azure.eventhubs.AzureActiveDirectoryTokenProvider;
public class PerTe... | Azure/azure-sdk-for-java | sdk/eventhubs/microsoft-azure-eventhubs-eph/src/test/java/com/microsoft/azure/eventprocessorhost/PerTestSettings.java | Java | mit | 8,213 |
package hudson.plugins.cobertura;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
public class CoberturaPublisherTest {
@Test
public void testGetOnlyStable() {
CoberturaPublisher testObjectTrue = new CoberturaPublisher(null, true, false, false, false, false, false, false, null, 0);
Cobertura... | rbaradari/cobertura-plugin | src/test/java/hudson/plugins/cobertura/CoberturaPublisherTest.java | Java | mit | 2,164 |
package org.beansugar.oauth.o10a.builder.api;
import org.beansugar.oauth.o10a.model.Token10a;
public class FlickrApi extends DefaultApi10a {
private static final String AUTHORIZE_URL = "https://www.flickr.com/services/oauth/authorize?oauth_token=%s";
private static final String REQUEST_TOKEN_RESOURCE = "https://www... | archmagece/bs-oauth-java | src/main/java/org/beansugar/oauth/o10a/builder/api/FlickrApi.java | Java | mit | 781 |
package mineapi.furnace;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import mineapi.mod.ModLoader;
import net.minecraft.item.ItemStack;
public class FurnaceRecipeComponent
{
@Expose
@SerializedName("ItemName")
private String itemName;
@Expose
@S... | Maxwolf/MineAPI.Java | src/main/java/mineapi/furnace/FurnaceRecipeComponent.java | Java | mit | 2,428 |
/**
* Copyright (c) 2015-2016 Angelo ZERR.
* 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
*
* Contributor... | webratio/typescript.java | eclipse/ts.eclipse.ide.ui/src/ts/eclipse/ide/ui/hover/ProblemTypeScriptHover.java | Java | mit | 4,362 |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | Grinch/SpongeCommon | src/main/java/org/spongepowered/common/data/processor/data/tileentity/StructureDataProcessor.java | Java | mit | 7,763 |
/*
* The MIT License (MIT)
*
* Copyright (c) 2007-2015 Broad Institute
*
* 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
*... | popitsch/varan-gie | src/org/broad/igv/ui/util/IndefiniteProgressMonitor.java | Java | mit | 2,776 |
/*
* Copyright (c) 2008-2014 Maxifier Ltd. All Rights Reserved.
*/
package com.maxifier.mxcache.caches;
/**
* THIS IS GENERATED CLASS! DON'T EDIT IT MANUALLY!
*
* GENERATED FROM P2PCache.template
*
* @author Andrey Yakoushin (andrey.yakoushin@maxifier.com)
* @author Alexander Kochurov (alexander.koc... | akochurov/mxcache | mxcache-runtime/src/main/java/com/maxifier/mxcache/caches/DoubleCache.java | Java | mit | 420 |
package se.lnu.http;
import static org.junit.Assert.*;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.net.URL;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
public class SharedFolderTest {
private SharedFolder sut;
@Before
public void ... | dntoll/MyWebServer | tests/se/lnu/http/SharedFolderTest.java | Java | mit | 983 |
package com.examples.meanFlight;
import java.io.IOException;
import com.main.Context;
/**
* Example Implementation of slim Map Reduce
* Generate Mean Average Ticket Price by Carrier
* @author Deepen Mehta
*
*/
public class MeanFlight {
public static void main(String[] args) throws NumberFormatException, IOExcept... | map-reduce-ka-tadka/slim-map-reduce | src/main/java/com/examples/meanFlight/MeanFlight.java | Java | mit | 539 |
package com.enderio.core.common.tweaks;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.enchantment.EnchantmentHelper;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import net.mi... | HenryLoenwind/EnderCore | src/main/java/com/enderio/core/common/tweaks/InfiniBow.java | Java | cc0-1.0 | 1,261 |
/**
* 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
*/
pa... | phxql/smarthome | bundles/core/org.eclipse.smarthome.core.extension.sample/src/main/java/org/eclipse/smarthome/core/extension/sample/internal/SampleExtensionService.java | Java | epl-1.0 | 3,046 |
/*******************************************************************************
* 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 ... | kaloyan-raev/che | plugins/plugin-maven/che-plugin-maven-server/src/main/java/org/eclipse/che/plugin/maven/server/core/project/MavenModelReader.java | Java | epl-1.0 | 9,706 |
package lambdaExpression18_in;
import java.io.IOException;
@FunctionalInterface
interface FI {
int foo(int i) throws IOException;
default FI method(FI i1) throws InterruptedException {
/*[*/if (i1 == null)
throw new InterruptedException();
return x -> {
throw new IOException();
};/*]*/
}
} | maxeler/eclipse | eclipse.jdt.ui/org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/lambdaExpression18_in/A_test326.java | Java | epl-1.0 | 308 |
/*
* Copyright (c) 2012-2018 Red Hat, Inc.
* 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/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat, Inc. - initial API a... | akervern/che | ide/commons-gwt/src/test/java/org/eclipse/che/ide/util/TextUtilsTest.java | Java | epl-1.0 | 823 |
/**
*/
package com.ge.research.sadl.sadl.impl;
import com.ge.research.sadl.sadl.LiteralList;
import com.ge.research.sadl.sadl.LiteralValue;
import com.ge.research.sadl.sadl.SadlPackage;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
i... | crapo/sadlos2 | com.ge.research.sadl/src-gen/com/ge/research/sadl/sadl/impl/LiteralListImpl.java | Java | epl-1.0 | 3,727 |
/*******************************************************************************
* Copyright (c) 2012 Actuate Corporation.
* 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 avai... | sguan-actuate/birt | UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ReportEngineCreator.java | Java | epl-1.0 | 1,158 |
/**
* 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.neato/src/main/java/org/openhab/binding/neato/internal/handler/NeatoHandler.java | Java | epl-1.0 | 6,624 |
/*******************************************************************************
* 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 ... | slemeur/che | core/che-core-api-core/src/main/java/org/eclipse/che/api/core/websocket/WebSocketMessageReceiver.java | Java | epl-1.0 | 1,407 |
/*******************************************************************************
* Copyright (c) 2010 Oak Ridge National Laboratory.
* 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... | ControlSystemStudio/cs-studio | applications/alarm/alarm-plugins/org.csstudio.alarm.beast.ui.globaltable/src/org/csstudio/alarm/beast/ui/globaltable/GlobalAlarmTableView.java | Java | epl-1.0 | 7,281 |
/**
* Copyright (c) 2013 itemis AG 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
*
* Contributors:
* ... | ModelWriter/Demonstrations | org.eclipse.rmf.reqif10/src/org/eclipse/rmf/reqif10/impl/AttributeDefinitionDateImpl.java | Java | epl-1.0 | 9,651 |
/******************************************************************************
* Copyright (C) 2006-2011 IFS Institute for Software 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 distribut... | fabioz/Pydev | plugins/org.python.pydev.refactoring/src/org/python/pydev/refactoring/ast/adapters/IASTNodeAdapter.java | Java | epl-1.0 | 1,369 |
/*******************************************************************************
* Copyright (c) 2000, 2008 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... | boniatillo-com/PhaserEditor | source/thirdparty/jsdt/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/ui/text/template/contentassist/TemplateInformationControlCreator.java | Java | epl-1.0 | 2,654 |
/*******************************************************************************
* Copyright (c) 2008 Actuate Corporation.
* 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 availabl... | sguan-actuate/birt | engine/org.eclipse.birt.report.engine.emitter.config.postscript/src/org/eclipse/birt/report/engine/emitter/config/postscript/PostscriptEmitterDescriptor.java | Java | epl-1.0 | 13,748 |
/*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* 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 availabl... | sguan-actuate/birt | UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/internal/ui/script/util/ScriptDebugUtil.java | Java | epl-1.0 | 8,403 |
package test;
import android.os.RemoteException;
import com.android.uiautomator.core.UiObject;
import com.android.uiautomator.core.UiObjectNotFoundException;
import com.android.uiautomator.core.UiScrollable;
import com.android.uiautomator.core.UiSelector;
public class Testtest extends UiTest {
public Testtest(... | IBM-MIL/IBM-Ready-App-for-Retail | automatedUITests/Android_Automated_UI_Testing/src/test/Testtest.java | Java | epl-1.0 | 1,009 |
/*
* Copyright (c) 2019, 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... | md-5/jdk10 | test/jdk/java/io/Serializable/records/ConstructorAccessTest.java | Java | gpl-2.0 | 4,737 |
/*
* Copyright (c) 2012, 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 ... | loveyoupeng/rt | modules/graphics/src/main/java/com/sun/javafx/scene/text/TextLine.java | Java | gpl-2.0 | 2,742 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.jme3.bullet.collision.shapes.infos;
import com.jme3.bullet.collision.shapes.BoxCollisionShape;
import com.jme3.bullet.collision.shapes.CollisionShape;
import com.jme3.export.*;
import com.jme3.math.Matrix3f;... | rex-xxx/mt6572_x201 | external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/collision/shapes/infos/ChildCollisionShape.java | Java | gpl-2.0 | 1,514 |
/*******************************************************************************
* 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(... | qoswork/opennmszh | opennms-dao/src/main/java/org/opennms/netmgt/dao/OnmsDao.java | Java | gpl-2.0 | 3,710 |