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 |
|---|---|---|---|---|---|
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2013-2016 Denis Forveille (titou10.titou10@gmail.com)
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ... | liuyuanyuan/dbeaver | plugins/org.jkiss.dbeaver.ext.db2/src/org/jkiss/dbeaver/ext/db2/model/DB2Table.java | Java | apache-2.0 | 16,982 |
/**
* 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... | onders86/camel | components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java | Java | apache-2.0 | 17,602 |
/*
* 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 ... | yafengguo/Apache-beam | runners/core-java/src/main/java/org/apache/beam/runners/core/SystemReduceFn.java | Java | apache-2.0 | 5,486 |
/*
* 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 ... | salyh/geronimo-specs | geronimo-jms_1.1_spec/src/main/java/javax/jms/TopicConnection.java | Java | apache-2.0 | 1,656 |
/*
* 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 ... | Fokko/druid | indexing-service/src/test/java/org/apache/druid/indexing/common/task/batch/parallel/PartialHashSegmentMergeIngestionSpecTest.java | Java | apache-2.0 | 2,471 |
/*
* Copyright 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | AndroidX/androidx | room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/vo/PlaylistMultiSongXRefView.java | Java | apache-2.0 | 1,172 |
/**
* 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... | mulesoft-consulting/sumtotal-connector | lib/apache-cxf-2.7.5/samples/js_browser_client_java_first/src/main/java/demo/hw/server/JavascriptExample.java | Java | apache-2.0 | 1,576 |
/*
*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | pubudu538/carbon-apimgt | components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/impl/ThrottlingPoliciesApiServiceImpl.java | Java | apache-2.0 | 7,570 |
/*
*
* 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"); y... | twitter/bookkeeper | bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/PerChannelBookieClientPool.java | Java | apache-2.0 | 1,732 |
package org.apache.commons.ognl;
/*
* 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, Ve... | apache/commons-ognl | src/main/java/org/apache/commons/ognl/EnumerationPropertyAccessor.java | Java | apache-2.0 | 2,456 |
/*
* Copyright 2015 Samsung Electronics All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | iotivity/iotivity | service/simulator/java/eclipse-plugin/ClientControllerPlugin/src/oic/simulator/clientcontroller/view/AttributeEditingSupport.java | Java | apache-2.0 | 17,171 |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | langfr/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/HistoricIncidentQueryProperty.java | Java | apache-2.0 | 2,517 |
/*
* Licensed to GraphHopper and Peter Karich under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you... | kod3r/graphhopper | core/src/test/java/com/graphhopper/routing/util/FastestWeightingTest.java | Java | apache-2.0 | 3,923 |
/*
* 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 ... | lukecwik/incubator-beam | runners/google-cloud-dataflow-java/worker/src/test/java/org/apache/beam/runners/dataflow/worker/fn/control/RegisterAndProcessBundleOperationTest.java | Java | apache-2.0 | 30,668 |
/*
* Copyright (c) 2015. Rick Hightower, Geoff Chandler
*
* 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 appli... | bsa01/qbit | qbit/servlet/src/test/java/io/advantageous/qbit/servlet/servletproto/PrototypeJetty.java | Java | apache-2.0 | 1,905 |
/*
* Copyright 2007 Yusuke Yamamoto
*
* 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 agree... | vaglucas/cafeUnoesc | twitter4j-core/src/main/java/twitter4j/GeoLocation.java | Java | apache-2.0 | 2,496 |
/*
* 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 ... | bharathkk/samza | samza-autoscaling/src/main/java/org/apache/samza/autoscaling/deployer/ConfigManager.java | Java | apache-2.0 | 14,812 |
package hrv.band.app.ui.view.adapter;
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.text.DecimalFormat;
import java.util.List;
import hrv.band.app.R;
import hr... | thomcz/hrv-band | app/src/main/java/hrv/band/app/ui/view/adapter/ValueAdapter.java | Java | apache-2.0 | 2,601 |
package gov.hhs.onc.sdcct.utils;
import java.util.TimeZone;
public final class SdcctDateUtils {
public final static long HOURS_IN_DAY = 24L;
public final static long MIN_IN_HOUR = 60L;
public final static long MIN_IN_DAY = MIN_IN_HOUR * HOURS_IN_DAY;
public final static long SEC_IN_MIN = 60L;
pu... | mkotelba/sdcct | sdcct-core/src/main/java/gov/hhs/onc/sdcct/utils/SdcctDateUtils.java | Java | apache-2.0 | 1,901 |
/*
* Copyright 2012-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 10045125/spring-boot | spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityProperties.java | Java | apache-2.0 | 6,846 |
/*
* 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 ... | shroman/ignite | modules/jms11/src/test/java/org/apache/ignite/stream/jms11/TestTransformers.java | Java | apache-2.0 | 4,279 |
/*
* Copyright (C) 2012 - present by Yann Le Tallec.
* Please see distribution for license.
*/
package com.assylias.jbloomberg;
import com.bloomberglp.blpapi.Event;
import com.bloomberglp.blpapi.EventHandler;
import com.bloomberglp.blpapi.Message;
import com.bloomberglp.blpapi.Session;
import com.bloomber... | nkabir/jBloomberg | src/test/java/com/assylias/jbloomberg/MockSession.java | Java | apache-2.0 | 1,787 |
/*
* 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... | freeVM/freeVM | enhanced/java/classlib/modules/imageio/src/main/java/javax/imageio/event/IIOReadUpdateListener.java | Java | apache-2.0 | 1,989 |
/*
* 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 ... | pperalta/ignite | modules/core/src/main/java/org/apache/ignite/internal/binary/BinaryObjectExImpl.java | Java | apache-2.0 | 9,818 |
/*
* Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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... | liurl3/product-private-paas | tools/ppaas-migration/4.0.0/src/main/java/org/wso2/ppaas/rest/endpoint/bean/autoscaler/policy/autoscale/AutoscalePolicy.java | Java | apache-2.0 | 1,652 |
/**
* 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 ... | mdecourci/assertj-core | src/test/java/org/assertj/core/api/Assertions_assertThat_with_Iterator_Test.java | Java | apache-2.0 | 2,358 |
package nl.tno.stormcv.model;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import backtype.storm.tuple.Tuple;
/**
* This {@link CVParticle} implementation represents a single feature calculated for {@link Frame} and has the following fields:
* <ul>
* <li>name: the name of the featur... | todotobe1/StormCV | stormcv/src/main/java/nl/tno/stormcv/model/Feature.java | Java | apache-2.0 | 3,179 |
/**
* <copyright>
* </copyright>
*
*/
package org.xtuml.bp.xtext.oal.xoal;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>unrelate statement</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.xtuml.bp.... | john-tornblom/bridgepoint | org.xtuml.bp.xtext.oal/src-gen/org/xtuml/bp/xtext/oal/xoal/unrelate_statement.java | Java | apache-2.0 | 3,389 |
package org.wso2.carbon.identity.mgt.endpoint.serviceclient.beans;
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;
@XmlAccessorType(... | PasinduTennage/carbon-identity-framework | components/identity-mgt/org.wso2.carbon.identity.mgt.endpoint/src/main/java/org/wso2/carbon/identity/mgt/endpoint/serviceclient/beans/ConfirmSelfRegistrationRequest.java | Java | apache-2.0 | 872 |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | hurricup/intellij-community | platform/platform-impl/src/com/intellij/application/options/SaveSchemeDialog.java | Java | apache-2.0 | 3,369 |
/*
* 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... | camilojd/elasticsearch | core/src/test/java/org/elasticsearch/script/ScriptModesTests.java | Java | apache-2.0 | 12,174 |
/*
* 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 ... | gemmellr/qpid-proton-j | proton-j/src/test/java/org/apache/qpid/proton/systemtests/ProtonEngineExampleTest.java | Java | apache-2.0 | 15,144 |
/*
* Copyright 2000-2016 Vaadin Ltd.
*
* 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... | Darsstar/framework | uitest/src/test/java/com/vaadin/tests/components/combobox/ComboBoxItemStyleGeneratorTest.java | Java | apache-2.0 | 1,778 |
package org.apache.maven.lifecycle.internal;
/*
* 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... | mcculls/maven | maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java | Java | apache-2.0 | 10,814 |
package org.stagemonitor.requestmonitor.ejb;
import static net.bytebuddy.matcher.ElementMatchers.named;
import static net.bytebuddy.matcher.ElementMatchers.returns;
import static net.bytebuddy.matcher.ElementMatchers.takesArguments;
import net.bytebuddy.description.method.MethodDescription;
import net.bytebuddy.descr... | trampi/stagemonitor | stagemonitor-requestmonitor/src/main/java/org/stagemonitor/requestmonitor/ejb/IsDeclaredInInterfaceHierarchyElementMatcher.java | Java | apache-2.0 | 1,446 |
/*
* 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 ... | christophd/camel | dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ClassEndpointBuilderFactory.java | Java | apache-2.0 | 12,027 |
/*
* Copyright 2011 DTO Solutions, Inc. (http://dtosolutions.com)
*
* 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... | tjordanchat/rundeck | core/src/main/java/com/dtolabs/rundeck/core/resources/DirectoryResourceModelSourceFactory.java | Java | apache-2.0 | 2,236 |
/*
* Copyright 2000-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | android-ia/platform_tools_idea | java/java-tests/testSrc/com/intellij/codeInsight/daemon/JavadocResolveTest.java | Java | apache-2.0 | 1,547 |
/**
* Copyright (c) 2014 Oracle and/or its affiliates. All rights reserved.
*
* You may not modify, use, reproduce, or distribute this software except in
* compliance with the terms of the License at:
* http://java.net/projects/javaeetutorial/pages/BerkeleyLicense
*/
package javaeetutorial.hello1rlc;
import jav... | paulnguyen/cmpe279 | modules/module10/web/jsf/hello1-rlc/src/main/java/javaeetutorial/hello1rlc/Hello.java | Java | apache-2.0 | 574 |
package eu.hansolo.enzo.onoffswitch;
import javafx.event.Event;
import javafx.event.EventTarget;
import javafx.event.EventType;
/**
* User: hansolo
* Date: 10.10.13
* Time: 09:48
*/
public class SelectionEvent extends Event {
public static final EventType<SelectionEvent> SELECT = new EventType(ANY, "select... | HanSolo/Enzo | src/main/java/eu.hansolo.enzo/onoffswitch/SelectionEvent.java | Java | apache-2.0 | 665 |
/**
*
* Copyright © 2016-2019 Florian Schmaus
*
* 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 la... | igniterealtime/Smack | smack-experimental/src/main/java/org/jivesoftware/smackx/iot/data/provider/IoTDataRequestProvider.java | Java | apache-2.0 | 1,443 |
/*
* 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 not ... | smgoller/geode | geode-core/src/main/java/org/apache/geode/internal/cache/locks/TXLockBatch.java | Java | apache-2.0 | 5,005 |
/*
* 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 ... | RCheungIT/phoenix | phoenix-core/src/it/java/org/apache/phoenix/end2end/AlterMultiTenantTableWithViews.java | Java | apache-2.0 | 39,739 |
package com.intellij.openapi.externalSystem.service.project;
import com.intellij.openapi.externalSystem.model.DataNode;
import com.intellij.openapi.externalSystem.model.ProjectKeys;
import com.intellij.openapi.externalSystem.model.project.ContentRootData;
import com.intellij.openapi.externalSystem.model.project.Librar... | android-ia/platform_tools_idea | platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/project/ProjectStructureHelper.java | Java | apache-2.0 | 9,454 |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | android-ia/platform_tools_idea | java/java-indexing-impl/src/com/intellij/psi/impl/search/JavaSourceFilterScope.java | Java | apache-2.0 | 2,412 |
package com.adsdk.sdk.nativeformats;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.lang.Thread.UncaughtExceptionHandler;
import java.nio.charset.Charset;
import org.apache.http.... | palaniyappanBala/MobFox-Android-SDK | src/main/java/com/adsdk/sdk/nativeformats/NativeFormat.java | Java | apache-2.0 | 6,782 |
/*
Derby - Class org.apache.derbyTesting.functionTests.tests.derbynet.sysinfo_withproperties
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 A... | papicella/snappy-store | gemfirexd/tools/src/testing/java/org/apache/derbyTesting/functionTests/tests/derbynet/sysinfo_withproperties.java | Java | apache-2.0 | 1,456 |
/*
* Copyright 2013 Hewlett-Packard Development Company, L.P
*
* 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... | kovalcikr/ali-idea-plugin | ali-plugin-main/src/test/java/com/hp/alm/ali/idea/services/AttachmentServiceTest.java | Java | apache-2.0 | 9,833 |
/*
* 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 not ... | smgoller/geode | geode-gfsh/src/integrationTest/java/org/apache/geode/management/internal/cli/functions/Geode3544JUnitTest.java | Java | apache-2.0 | 4,524 |
/*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Pushjet/Pushjet-Android | gradle/wrapper/dists/gradle-1.12-all/4ff8jj5a73a7zgj5nnzv1ubq0/gradle-1.12/src/core-impl/org/gradle/api/internal/artifacts/ivyservice/dynamicversions/ModuleVersionsCacheEntry.java | Java | bsd-2-clause | 1,104 |
/*
* Copyright 2014 Attila Szegedi, Daniel Dekany, Jonathan Revusky
*
* 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... | ekollof/DarkUniverse | lib/Freemarker/source/src/test/java/freemarker/ext/jsp/taglibmembers/EnclosingClass.java | Java | bsd-2-clause | 892 |
/*
* File: NormalInverseGammaDistribution.java
* Authors: Kevin R. Dixon
* Company: Sandia National Laboratories
* Project: Cognitive Foundry
*
* Copyright Mar 16, 2010, Sandia Corporation.
* Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusi... | codeaudit/Foundry | Components/LearningCore/Source/gov/sandia/cognition/statistics/distribution/NormalInverseGammaDistribution.java | Java | bsd-3-clause | 11,067 |
/*
* Copyright (c) 2012, United States Government, as represented by the Secretary of Health and Human Services.
* 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 o... | sailajaa/CONNECT | Product/Production/Services/PatientDiscoveryCore/src/main/java/gov/hhs/fha/nhinc/patientdiscovery/nhin/deferred/response/proxy/NhinPatientDiscoveryDeferredRespProxyNoOpImpl.java | Java | bsd-3-clause | 2,810 |
/*
* Copyright 2015, Google 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 above copyright
* notice, this list of conditions a... | xzy256/grpc-java-mips64 | benchmarks/src/main/java/io/grpc/benchmarks/qps/ClientConfiguration.java | Java | bsd-3-clause | 10,781 |
/*
* Copyright (c) 2012, United States Government, as represented by the Secretary of Health and Human Services.
* 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 o... | sailajaa/CONNECT | Product/Production/Common/CONNECTCoreLib/src/main/java/gov/hhs/fha/nhinc/gateway/executorservice/NhinTaskExecutor.java | Java | bsd-3-clause | 7,263 |
/*
* Copyright (c) 2004-2022, 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 above copyright notice, this
* list of cond... | dhis2/dhis2-core | dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/period/PeriodStoreTest.java | Java | bsd-3-clause | 20,914 |
package org.hisp.dhis.system.util;
/*
* Copyright (c) 2004-2016, 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 above co... | mortenoh/dhis2-core | dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/PredicateUtils.java | Java | bsd-3-clause | 3,238 |
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockitousage.spies;
import static org.mockito.Mockito.*;
import java.util.List;
import org.junit.Test;
import org.mockito.exceptions.base.MockitoException;
import org.mockito.invocation... | andrerigon/andrerigon-mockito-fork | test/org/mockitousage/spies/SpyingOnInterfacesTest.java | Java | mit | 1,363 |
package org.knowm.xchange.ccex.dto.trade;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonProperty;
public class CCEXOpenorder {
private String OrderUuid;
private String Exchange;
private String OrderType;
private BigDecimal Quantity;
private BigDecimal QuantityRemaining;
private BigD... | stevenuray/XChange | xchange-ccex/src/main/java/org/knowm/xchange/ccex/dto/trade/CCEXOpenorder.java | Java | mit | 4,881 |
package com.findingsoft.studentregistration;
import gateways.DepartmentGateWay;
import java.util.ArrayList;
import utilities.Departments;
import adapters.DepartmentAdapter;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget... | pengzhao001/android-apps | StudentRegistration/src/com/findingsoft/studentregistration/ManageDepartment.java | Java | mit | 3,266 |
package org.knowm.xchange.dsx.service;
import java.io.IOException;
import java.math.BigDecimal;
import java.time.Instant;
import java.util.Date;
import java.util.List;
import java.util.Optional;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.dsx.DsxAdapters;
import org.knowm.xchange.dsx.dto.DsxBalance;
im... | stachon/XChange | xchange-dsx/src/main/java/org/knowm/xchange/dsx/service/DsxTradeServiceRaw.java | Java | mit | 4,449 |
package com.aspose.cells.model;
import java.util.ArrayList;
import java.util.List;
public class Columns {
private Integer MaxColumn = null;
private Integer ColumnsCount = null;
private List<LinkElement> ColumnsList = new ArrayList<LinkElement>();
private Link link = null;
/**
* getMaxColumn
* Gets Intege... | asposecells/Aspose_Cells_Cloud | SDKs/Aspose.Cells-Cloud-SDK-for-Java/src/main/java/com/aspose/cells/model/Columns.java | Java | mit | 1,890 |
/* Copyright (c) 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | dougkoellmer/swarm | tools/appengine-java-sdk/demos/jdoexamples/src/com/google/appengine/demos/jdoexamples/GuestbookServlet.java | Java | mit | 1,159 |
/*
* The MIT License (MIT)
*
* Copyright (c) 2019 TweetWallFX
*
* 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, ... | reinhapa/TweetwallFX | stepengine-api/src/main/java/org/tweetwallfx/stepengine/api/testcase/VisualizationFactoryLoadable.java | Java | mit | 1,916 |
/********************************************************************************
* The contents of this file are subject to the GNU General Public License *
* (GPL) Version 2 or later (the "License"); you may not use this file except *
* in compliance with the License. You may obtain a copy of the License at... | andyandy1992/MyMOOCs | courses/Other/Nand2Tetris(Partial)/Code/SimulatorsGUIPackageSource/SimulatorsGUI/MemorySegmentsComponent.java | Java | cc0-1.0 | 6,216 |
/*************************************************************************************
* Copyright (c) 2004 Actuate 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 distributio... | sguan-actuate/birt | viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/dialog/PrintReportDialogFragment.java | Java | epl-1.0 | 1,404 |
/*******************************************************************************
* Copyright (c) 2006, 2009 David A Carlson.
* 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 av... | drbgfc/mdht | hl7/plugins/org.openhealthtools.mdht.uml.hdf.tooling.rsm/src/org/openhealthtools/mdht/uml/hdf/tooling/rsm/providers/RIMEditPolicyProvider.java | Java | epl-1.0 | 2,440 |
/*******************************************************************************
* Copyright (c) 2016 Eurotech 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 availabl... | amitjoy/kura | kura/org.eclipse.kura.net.admin/src/main/java/org/eclipse/kura/net/admin/FirewallConfigurationServiceImpl.java | Java | epl-1.0 | 16,946 |
/**
* Copyright (c) 2010-2019 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
*/... | TheNetStriker/openhab | bundles/binding/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeGetProducts.java | Java | epl-1.0 | 1,742 |
/*******************************************************************************
* Copyright (c) 2006, 2009 David A Carlson
* 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 ava... | drbgfc/mdht | hl7/plugins/org.openhealthtools.mdht.emf.hl7.mif2/src/org/openhealthtools/mdht/emf/w3c/xhtml/Q.java | Java | epl-1.0 | 6,922 |
/*******************************************************************************
* Copyright (c) 2010-present Sonatype, 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 availa... | mcculls/sisu.plexus | org.eclipse.sisu.plexus/src/org/eclipse/sisu/plexus/RequirementImpl.java | Java | epl-1.0 | 4,280 |
/**
* Copyright 2005-2010 Noelios Technologies.
*
* The contents of this file are subject to the terms of one of the following
* open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
* "Licenses"). You can select the license that you prefer but you may not use
* this file except in complia... | alastrina123/debrief | org.mwc.asset.comms/docs/restlet_src/org.restlet.ext.xml/org/restlet/ext/xml/internal/ContextResolver.java | Java | epl-1.0 | 3,540 |
/*
* Copyright (c) 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 Softwa... | davleopo/graal-core | graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/InstalledCodeInvalidationTest.java | Java | gpl-2.0 | 2,684 |
/***************************************************************************
* (C) Copyright 2013 Faiumoni e.V. *
***************************************************************************
***************************************************************************
* ... | AntumDeluge/arianne-stendhal | src/games/stendhal/client/gui/chattext/CharacterMap.java | Java | gpl-2.0 | 3,590 |
/* $Id$ */
/***************************************************************************
* (C) Copyright 2003-2010 - Stendhal *
***************************************************************************
***************************************************************************
... | AntumDeluge/arianne-stendhal | tests/games/stendhal/server/core/reflectiondebugger/MockChildClass.java | Java | gpl-2.0 | 1,470 |
/*
* $Source$
* $Revision$
*
* Copyright (C) 2000 Myles Chippendale
*
* Part of Melati (http://melati.org), a framework for the rapid
* development of clean, maintainable web applications.
*
* Melati is free software; Permission is granted to copy, distribute
* and/or modify this software under the terms eith... | timp21337/melati-old | melati/src/main/java/org/melati/servlet/FormDataAdaptorFactory.java | Java | gpl-2.0 | 3,293 |
/*
* Copyright 2010, Red Hat, Inc. and individual contributors as indicated by the
* @author tags. See the copyright.txt file in the distribution for a full
* listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public ... | mvehar/zanata-server | zanata-war/src/main/java/org/zanata/service/SearchService.java | Java | gpl-2.0 | 2,902 |
package com.sogou.qadev.service.cynthia.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import com.sogou.qadev.service.cynthia.service.DbPoolConnection;
/**
* @description:home filter db processor
* @author:liming
* @mail:liming@sogou-inc.com
* @date:2014-5-6 下午5:37... | afrous/Cynthia | src/main/java/com/sogou/qadev/service/cynthia/dao/HomeFilterAccessSessionMySQL.java | Java | gpl-2.0 | 2,671 |
package org.area515.resinprinter.display;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GraphicsDevice;
import java.awt.HeadlessException;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imagei... | Xtrememicrotech/XtremeD-Dev | host/src/main/java/org/area515/resinprinter/display/PrinterDisplayFrame.java | Java | gpl-3.0 | 5,168 |
/**
* License Agreement for OpenSearchServer
*
* Copyright (C) 2013-2015 Emmanuel Keller / Jaeksoft
*
* http://www.open-search-server.com
*
* This file is part of OpenSearchServer.
*
* OpenSearchServer is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public ... | nvoron23/opensearchserver | src/main/java/com/jaeksoft/searchlib/script/commands/IndexDocumentCommands.java | Java | gpl-3.0 | 4,085 |
/*
* Copyright (c) 2017, Miguel Gamboa
*
* 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 dis... | isel-leic-mpd/mpd-2017-i41d | aula33-weather-async/src/main/java/util/Comparators.java | Java | gpl-3.0 | 2,718 |
package org.bukkit.entity.minecart;
import org.bukkit.entity.Minecart;
/**
* Represents a powered minecart. A powered minecart moves on its own when a
* player deposits {@link org.bukkit.Material#COAL fuel}.
*/
public interface PoweredMinecart extends Minecart {
} | Scrik/Cauldron-1 | eclipse/cauldron/src/main/java/org/bukkit/entity/minecart/PoweredMinecart.java | Java | gpl-3.0 | 269 |
/***
* itSIMPLE: Integrated Tool Software Interface for Modeling PLanning Environments
*
* Copyright (C) 2007,2008 Universidade de Sao Paulo
*
* This file is part of itSIMPLE.
*
* itSIMPLE is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
... | jdahaldev/itsimple | src/gui/SplashScreen.java | Java | gpl-3.0 | 3,009 |
package net.minecraft.item;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.item.EntityExpBottle;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.SoundEvents;
import net.minecraft.stats.StatList;
import net.minecraft.util.ActionResult;
import net.minecraft.util.Enu... | danielyc/test-1.9.4 | build/tmp/recompileMc/sources/net/minecraft/item/ItemExpBottle.java | Java | gpl-3.0 | 1,697 |
package com.cozmo.danar.util;
import android.content.Context;
import info.nightscout.androidaps.MainApp;
public class BleCommandUtil {
public static final int DANAR_PACKET__TYPE_ENCRYPTION_REQUEST = 0x01;
public static final int DANAR_PACKET__TYPE_ENCRYPTION_RESPONSE = 0x02;
public static final int DANAR... | AdrianLxM/AndroidAPS | app/src/main/java/com/cozmo/danar/util/BleCommandUtil.java | Java | agpl-3.0 | 7,137 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2010-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | tdefilip/opennms | features/system-report/src/main/java/org/opennms/systemreport/SystemReport.java | Java | agpl-3.0 | 10,041 |
/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the GNU Affero
* General Public License. All contributions in this program are covered
* by the Geomajas Contr... | olivermay/geomajas | face/geomajas-face-gwt/client/src/main/java/org/geomajas/gwt/client/map/event/LayerSelectedEvent.java | Java | agpl-3.0 | 1,307 |
package org.timepedia.chronoscope.client.event;
import org.timepedia.chronoscope.client.XYPlot;
import org.timepedia.exporter.client.Export;
import org.timepedia.exporter.client.ExportPackage;
import org.timepedia.exporter.client.Exportable;
/**
* Fired by plot implementations when click occurs on chart which is not... | KunjanSharma/gwt-chronoscope | chronoscope-api/src/main/java/org/timepedia/chronoscope/client/event/ChartClickEvent.java | Java | lgpl-2.1 | 1,231 |
/*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* 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 So... | it-tavis/opencms-core | src/org/opencms/db/postgresql/CmsHistoryDriver.java | Java | lgpl-2.1 | 3,735 |
/*!
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you ... | kurtwalker/modeler | core/src/main/java/org/pentaho/agilebi/modeler/geo/LatLngRole.java | Java | lgpl-2.1 | 2,170 |
/* Copyright (c) 2000 The Legion Of The Bouncy Castle
* (http://www.bouncycastle.org)
*
* 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 limit... | emmanuel-keller/jcifs-krb5 | src/jcifs/spnego/asn1/BERConstructedSequence.java | Java | lgpl-2.1 | 1,967 |
/*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* 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 So... | serrapos/opencms-core | src/org/opencms/search/CmsSearchIndexSource.java | Java | lgpl-2.1 | 11,557 |
/*
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... | git-moss/Push2Display | lib/batik-1.8/sources/org/apache/batik/anim/dom/SVGOMMultiImageElement.java | Java | lgpl-3.0 | 2,733 |
package org.bladerunnerjs.spec.app;
import org.bladerunnerjs.api.App;
import org.bladerunnerjs.api.AppConf;
import org.bladerunnerjs.api.Aspect;
import org.bladerunnerjs.api.model.exception.request.ResourceNotFoundException;
import org.bladerunnerjs.api.spec.engine.SpecTest;
import org.bladerunnerjs.api.BladeWorkbench... | briandipalma/brjs | brjs-core-tests/src/test/java/org/bladerunnerjs/spec/app/ServeAppTest.java | Java | lgpl-3.0 | 6,815 |
package com.ctrip.hermes.producer.pipeline;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.Future;
import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable;
import org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationE... | lejingw/hermes | hermes-producer/src/main/java/com/ctrip/hermes/producer/pipeline/DefaultProducerPipelineSinkManager.java | Java | apache-2.0 | 1,607 |
/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | asedunov/intellij-community | java/java-tests/testSrc/com/intellij/java/codeInsight/template/postfix/templates/ForeachTemplateTest.java | Java | apache-2.0 | 1,546 |
/*
* Copyright 2015 the original author or authors.
* @https://github.com/scouter-project/scouter
*
* 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... | yuyupapa/OpenSource | scouter.client/src/scouter/client/stack/data/StackAnalyzedValue.java | Java | apache-2.0 | 1,957 |
/*
* 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 ... | innovimax/vxquery | vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToPositiveIntegerOperation.java | Java | apache-2.0 | 1,127 |
/*
* 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 ... | anchela/jackrabbit-oak | oak-core/src/test/java/org/apache/jackrabbit/oak/security/user/MembershipTest.java | Java | apache-2.0 | 5,631 |
/**
* 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... | onders86/camel | components/camel-metrics/src/main/java/org/apache/camel/component/metrics/MetricsComponent.java | Java | apache-2.0 | 5,110 |