code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
package org.bondlib;
import org.junit.Test;
import java.io.ByteArrayInputStream;
public class SimpleBinaryReaderTest {
// See SimpleBinaryProtocolTest for more ... | jdubrule/bond | java/core/src/test/java/org/bondlib/SimpleBinaryReaderTest.java | Java | mit | 985 |
/**
* The MIT License (MIT)
*
* Copyright (c) 2011-2016 Incapture Technologies LLC
*
* 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 t... | scarabus/Rapture | Libs/Reflex/src/main/java/reflex/node/io/FileReadAdapter.java | Java | mit | 1,549 |
/*
* 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 ... | plumer/codana | tomcat_files/8.0.21/Substitution.java | Java | mit | 9,922 |
package com.uuzuche.lib_zxing;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void ... | DarkYeahs/QRCodeAndroid | lib-zxing/src/test/java/com/uuzuche/lib_zxing/ExampleUnitTest.java | Java | mit | 399 |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | RallySoftware/eclipselink.runtime | foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/tests/queries/ConformResultsPerformanceTest.java | Java | epl-1.0 | 2,586 |
/**
* Copyright (c) 2014,2019 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is av... | Snickermicker/smarthome | extensions/binding/org.eclipse.smarthome.binding.onewire/src/main/java/org/eclipse/smarthome/binding/onewire/internal/SensorId.java | Java | epl-1.0 | 3,046 |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | RallySoftware/eclipselink.runtime | utils/eclipselink.utils.workbench.test/uitools/source/org/eclipse/persistence/tools/workbench/test/uitools/SwitcherPanelTests.java | Java | epl-1.0 | 8,480 |
package org.intalio.tempo.workflow.wds.core.xforms;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.net.URL;
import java.util.regex.Pattern;
import org.junit.runner.RunWith;
import com.googlecode.instinct.expect.ExpectThat;
impor... | ray-dong/tempo | wds-service/src/test/java/org/intalio/tempo/workflow/wds/core/xforms/XFormConversionTest.java | Java | epl-1.0 | 2,325 |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | gameduell/eclipselink.runtime | moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/xmlelementref/duplicatename/BeanA.java | Java | epl-1.0 | 965 |
/*
* Javassist, a Java-bytecode translator toolkit.
* Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. Alternatively, the contents of th... | HighTower1991/HotswapAgent | hotswap-agent-core/src/main/java/org/hotswap/agent/javassist/tools/web/Webserver.java | Java | gpl-2.0 | 12,400 |
/*
* Copyright (c) 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 Softwa... | openjdk/jdk8u | jdk/test/sun/security/pkcs12/PBES2Encoding.java | Java | gpl-2.0 | 7,840 |
/*
* The MIT License (MIT)
*
* Copyright (c) 2013 AlgorithmX2
*
* 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... | Vexatos/PeripheralsPlusPlus | src/api/java/appeng/api/networking/energy/IAEPowerStorage.java | Java | gpl-2.0 | 2,432 |
/*
* Copyright (c) 1999, 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 ... | md-5/jdk10 | test/jdk/java/awt/datatransfer/SystemSelection/SystemSelectionAWTTest.java | Java | gpl-2.0 | 6,193 |
//===========================================================
// Lukas Valine * Mr. Inspiration * February 18, 2015
//===========================================================
// An algorithmic approach to music composition
//-----------------------------------------------------------
import java.awt.Color;
import ... | Valine/mri | SwingVersion/Mr.i_0.3/src/MrInspiration.java | Java | gpl-2.0 | 1,064 |
/*
* Copyright (c) 2002, 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 ... | md-5/jdk10 | test/hotspot/jtreg/vmTestbase/vm/compiler/jbe/hoist/hoist01/hoist01.java | Java | gpl-2.0 | 3,088 |
package org.checkerframework.common.aliasing;
import java.util.Map;
import java.util.Set;
import javax.lang.model.element.AnnotationMirror;
import org.checkerframework.common.aliasing.qual.LeakedToResult;
import org.checkerframework.common.aliasing.qual.MaybeAliased;
import org.checkerframework.common.aliasing.qual.... | renatoathaydes/checker-framework | framework/src/org/checkerframework/common/aliasing/AliasingAnnotatedTypeFactory.java | Java | gpl-2.0 | 6,385 |
/**
* Copyright (C) 2011 Whisper Systems
*
* 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 d... | natuan241/TextSecure | src/org/thoughtcrime/securesms/ContactSelectionRecentFragment.java | Java | gpl-3.0 | 7,560 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | s20121035/rk3288_android5.1_repo | cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_wide/d/T_iget_wide_7.java | Java | gpl-3.0 | 743 |
package eu.excitementproject.eop.globalgraphoptimizer.graph;
public class SynonymEdge extends AbstractRuleEdge{
public SynonymEdge(RelationNode node1, RelationNode node2, double score) throws Exception {
if(node1.id()<node2.id()) {
m_from = node1;
m_to = node2;
}
else if(node2.id()<node1.id()) {
m... | madhumita-git/Excitement-Open-Platform | globalgraphoptimizer/src/main/java/eu/excitementproject/eop/globalgraphoptimizer/graph/SynonymEdge.java | Java | gpl-3.0 | 1,646 |
/* Soot - a J*va Optimization Framework
* Copyright (C) 2003 Ondrej Lhotak
*
* 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 (at your option... | flankerhqd/JAADAS | soot/generated/options/soot/options/LCMOptions.java | Java | gpl-3.0 | 3,591 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | s20121035/rk3288_android5.1_repo | cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/T_invoke_virtual_19.java | Java | gpl-3.0 | 765 |
/*
* This project is licensed under the open source MPL V2.
* See https://github.com/openMF/android-client/blob/master/LICENSE.md
*/
package com.mifos.objects.accounts.loan;
/**
* Created by nellyk on 2/21/2016.
*/
public class DaysInMonthType {
int id;
int code;
int value;
public int getId() {
... | coderaashir/android-client | mifosng-android/src/main/java/com/mifos/objects/accounts/loan/DaysInMonthType.java | Java | mpl-2.0 | 661 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Nursing/src/ims/nursing/domain/base/impl/BaseHospitalReportImpl.java | Java | agpl-3.0 | 2,691 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Emergency/src/ims/emergency/domain/impl/AttendanceNotesCcImpl.java | Java | agpl-3.0 | 6,359 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Clinical/src/ims/clinical/forms/dementiaassessmentamtscomponent/Logic.java | Java | agpl-3.0 | 34,001 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Pathways/src/ims/pathways/forms/createnewevent/BaseLogic.java | Java | agpl-3.0 | 2,194 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Emergency/src/ims/emergency/domain/base/impl/BaseAddEditQuestionsToWhiteboardImpl.java | Java | agpl-3.0 | 1,974 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/admin/vo/lookups/EDAttendenceControlType.java | Java | agpl-3.0 | 6,202 |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.service.certificate;
import java.security.cert.*;
/**
* Service that creates dialog that is shown to the user when
* a certificate ver... | marclaporte/jitsi | src/net/java/sip/communicator/service/certificate/VerifyCertificateDialogService.java | Java | lgpl-2.1 | 1,673 |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*
* ContactGroupSSHImpl.java
*
* SSH Suport in SIP Communicator - GSoC' 07 Project
*
*/
package net.java.sip.communicator.impl.protocol.ssh;
import java.util.*;
import ... | marclaporte/jitsi | src/net/java/sip/communicator/impl/protocol/ssh/ContactGroupSSHImpl.java | Java | lgpl-2.1 | 17,908 |
package org.intermine.dataconversion;
/*
* Copyright (C) 2002-2017 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/less... | elsiklab/intermine | intermine/integrate/main/src/org/intermine/dataconversion/DirectoryConverter.java | Java | lgpl-2.1 | 1,241 |
/*
* 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
* distribut... | electrum/presto | plugin/trino-hive/src/main/java/io/trino/plugin/hive/rcfile/HdfsRcFileDataSource.java | Java | apache-2.0 | 2,649 |
package brooklyn.entity.nosql.mongodb.sharding;
import java.net.UnknownHostException;
import java.util.Collection;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import brooklyn.entity.Entity;
import brooklyn.entity.group.DynamicClusterImpl;
import brooklyn.entity.nosql.mongodb.MongoD... | azharhashmi/brooklyn | software/nosql/src/main/java/brooklyn/entity/nosql/mongodb/sharding/MongoDBShardClusterImpl.java | Java | apache-2.0 | 3,318 |
/*
* Copyright 2010 JBoss 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 i... | amckee23/drools | drools-core/src/main/java/org/drools/core/reteoo/ExistsNode.java | Java | apache-2.0 | 6,823 |
/**
* 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... | fogbeam/Heceta_nutch | src/plugin/protocol-ftp/src/java/org/apache/nutch/protocol/ftp/Client.java | Java | apache-2.0 | 22,349 |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2021 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | thc202/zap-extensions | addOns/oast/src/test/java/org/zaproxy/addon/oast/OastRequestUnitTests.java | Java | apache-2.0 | 3,097 |
/**
* 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... | genericDataCompany/hsandbox | common/mahout-distribution-0.7-hadoop1/math/target/generated-sources/org/apache/mahout/math/function/ByteCharProcedure.java | Java | apache-2.0 | 2,235 |
/*******************************************************************************
*
* Pentaho Big Data
*
* Copyright (C) 2002-2015 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License... | bytekast/big-data-plugin | api/runtimeTest/src/main/java/org/pentaho/runtime/test/action/RuntimeTestActionHandler.java | Java | apache-2.0 | 1,138 |
package com.google.api.ads.dfp.jaxws.v201505;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotati... | shyTNT/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201505/BaseRichMediaStudioCreative.java | Java | apache-2.0 | 14,985 |
/*
* 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 ... | adessaigne/camel | components/camel-tracing/src/test/java/org/apache/camel/tracing/decorators/AwsSnsSpanDecoratorTest.java | Java | apache-2.0 | 1,592 |
/*******************************************************************************
* Copyright 2010 Cees De Groot, Alex Boisvert, Jan Kotek
*
* 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... | cdemoustier/jdbm2 | src/main/jdbm/btree/BTree.java | Java | apache-2.0 | 21,647 |
/**
* Copyright 2013 Red Hat, Inc.
*
* Red Hat 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.org/licenses/LICENSE-2.0
*
* Unless required... | DaemonSu/fuse-master | components/camel-sap/org.fusesource.camel.component.sap.model.edit/src/org/fusesource/camel/component/sap/model/rfc/provider/ServerDataItemProvider.java | Java | apache-2.0 | 17,978 |
/**
* Copyright 2011 The ForPlay 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 applicable law or ag... | pyricau/forplay-clone-pyricau | android/src/forplay/android/AndroidLayer.java | Java | apache-2.0 | 1,071 |
/*
* 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 ... | ohadshacham/phoenix | phoenix-core/src/main/java/org/apache/phoenix/expression/rewrite/RowValueConstructorExpressionRewriter.java | Java | apache-2.0 | 2,258 |
/*
* 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 ... | MikeThomsen/nifi | minifi/minifi-commons/minifi-commons-schema/src/main/java/org/apache/nifi/minifi/commons/schema/ComponentStatusRepositorySchema.java | Java | apache-2.0 | 2,393 |
/*
* Copyright (c) Facebook, Inc. and 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 applic... | facebook/buck | src/com/facebook/buck/jvm/java/abi/source/TreeBackedRoundEnvironment.java | Java | apache-2.0 | 2,406 |
/**
* Copyright 2014 Confluent 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 ... | hkropp/schema-registry | core/src/test/java/io/confluent/kafka/schemaregistry/RestApp.java | Java | apache-2.0 | 3,359 |
/*
* Copyright 2015 Goldman Sachs.
*
* 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 ... | gabby2212/gs-collections | collections/src/main/java/com/gs/collections/impl/block/procedure/primitive/InjectIntoIntProcedure.java | Java | apache-2.0 | 1,362 |
/**
* 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... | punkhorn/camel-upstream | core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetInterceptTest.java | Java | apache-2.0 | 2,276 |
/**
* 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... | dlyle65535/metron | metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/EnrichmentSplitterBolt.java | Java | apache-2.0 | 6,519 |
/*
* 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 ... | gnodet/camel | components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsConsumerTest.java | Java | apache-2.0 | 10,407 |
/*
* Copyright 2016-present Open Networking Laboratory
*
* 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... | maheshraju-Huawei/actn | apps/xosclient/src/main/java/org/onosproject/xosclient/impl/XosApi.java | Java | apache-2.0 | 2,811 |
/**
* 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... | bitblender/drill | common/src/main/java/org/apache/drill/common/config/DrillConfig.java | Java | apache-2.0 | 12,320 |
/*
* Copyright 2015 NEC Corporation.
*
* 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 ... | nis-sdn/odenos | src/main/java/org/o3project/odenos/core/component/network/flow/query/OFPFlowActionSetIpTtlQuery.java | Java | apache-2.0 | 2,031 |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInspection.ex;
import com.intellij.codeInsight.AnnotationTargetUtil;
import com.intellij.codeInsight.daemon.DaemonCodeAnalyzer;
import com.intellij.codeI... | goodwinnk/intellij-community | java/java-impl/src/com/intellij/codeInspection/ex/EntryPointsManagerImpl.java | Java | apache-2.0 | 4,780 |
/*
* Copyright 2013 The Netty Project
*
* The Netty Project 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.org/licenses/LICENSE-2.0
*
* Unless ... | rocketballs/netty | codec-http/src/test/java/io/netty/handler/codec/http/HttpHeadersTest.java | Java | apache-2.0 | 1,638 |
/*
* Copyright 2015 Hannes Dorfmann.
*
* 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... | gmail-msn/mosby | mvp/src/main/java/com/hannesdorfmann/mosby/mvp/MvpActivity.java | Java | apache-2.0 | 4,501 |
/*
* 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 ... | adessaigne/camel | tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCamelMainMojo.java | Java | apache-2.0 | 13,049 |
/**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.instrument.index;
import java.util.HashMap;
import java.util.Map;
import com.opengamma.OpenGammaRuntimeException;
import com.opengamma.uti... | jeorme/OG-Platform | projects/OG-Analytics/src/test/java/com/opengamma/analytics/financial/instrument/index/IndexPriceMaster.java | Java | apache-2.0 | 1,592 |
/**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.interestrate.future.method;
import com.opengamma.analytics.financial.interestrate.InstrumentDerivative;
import com.opengamma.analytics.fina... | jeorme/OG-Platform | projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/interestrate/future/method/InterestRateFutureOptionPremiumTransactionBlackSurfaceMethod.java | Java | apache-2.0 | 8,543 |
/*
* Copyright 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 applica... | gstevey/gradle | subprojects/platform-base/src/main/java/org/gradle/api/internal/resolve/VariantBinarySelector.java | Java | apache-2.0 | 973 |
/*
* Copyright 2012-2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | aahlenst/spring-boot | spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/filter/ApplicationContextHeaderFilter.java | Java | apache-2.0 | 1,897 |
/*
* 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
* distribut... | ebyhr/presto | core/trino-main/src/main/java/io/trino/connector/system/jdbc/CatalogJdbcTable.java | Java | apache-2.0 | 2,689 |
/*
* 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
* distribut... | ebyhr/presto | core/trino-main/src/main/java/io/trino/sql/planner/iterative/rule/PushDownDereferencesThroughMarkDistinct.java | Java | apache-2.0 | 5,356 |
/*
* 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 ... | sandeep-n/incubator-systemml | src/main/java/org/apache/sysml/runtime/instructions/spark/MatrixScalarRelationalSPInstruction.java | Java | apache-2.0 | 1,919 |
// ========================================================================
// Copyright (c) Webtide LLC
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.... | jamiepg1/jetty.project | tests/test-integration/src/test/java/org/eclipse/jetty/test/DefaultHandlerTest.java | Java | apache-2.0 | 5,687 |
/*
* 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 ... | adessaigne/camel | components/camel-aws-kinesis/src/main/java/org/apache/camel/component/aws/kinesis/KinesisProducer.java | Java | apache-2.0 | 2,733 |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may... | rafati/unitime | JavaSource/org/unitime/timetable/model/dao/DistributionTypeDAO.java | Java | apache-2.0 | 1,126 |
/*
* Copyright (C) 2012 - 2012 NHN Corporation
* All rights reserved.
*
* This file is part of The nGrinder software distribution. Refer to
* the file LICENSE which is part of The nGrinder distribution for
* licensing details. The nGrinder distribution is available on the
* Internet at http://nhnopensourc... | nanpa83/ngrinder | ngrinder-groovy/src/test/java/net/grinder/scriptengine/groovy/GrinderRunnerTest.java | Java | apache-2.0 | 4,040 |
/**
* Copyright (C) 2015 DataTorrent, 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 la... | andyperlitch/incubator-apex-core | engine/src/main/java/com/datatorrent/stram/util/FSJsonLineFile.java | Java | apache-2.0 | 1,929 |
/*
* Copyright 2014 Ruediger Moeller.
*
* 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 t... | jtsay362/fast-serialization | src/main/java/org/nustaq/serialization/coders/FSTBytezDecoder.java | Java | apache-2.0 | 12,766 |
/*
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in com... | ConnCollege/cas | cas-server-support-x509/src/main/java/org/jasig/cas/adaptors/x509/authentication/handler/support/RevokedCertificateException.java | Java | bsd-3-clause | 3,904 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/monitoring/v3/common.proto
package com.google.monitoring.v3;
public interface TimeIntervalOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeInterval)
com.google.protobuf.MessageOrBuilder {
/... | eoogbe/api-client-staging | generated/java/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java | Java | bsd-3-clause | 1,833 |
/** Challenge Activity 2 - Temperature Conversion
*
* In this activity, we will write a GUI program to convert temperatures to/from
* Celcius/Fahrenheit. You should be able to run the program right now but it will
* not perform the conversion. Your mission for this activity it to get the
* program to perform th... | Prajwalch27/prajwal | Lesson-18/SOLUTIONS/Solution-ChallengeActivity2-TemperatureConversion/src/temperatureconversion/TempConv.java | Java | mit | 8,622 |
/*******************************************************************************
* Copyright (c) 2012-2017 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 ... | gazarenkov/che-sketch | plugins/plugin-java-debugger/che-plugin-java-debugger-server/src/main/java/org/eclipse/che/plugin/jdb/server/expression/ExpressionParser.java | Java | epl-1.0 | 1,690 |
/*
* PackageReference.java
*
* Copyright (c) 2013 Mike Strobel
*
* This source code is based on Mono.Cecil from Jb Evain, Copyright (c) Jb Evain;
* and ILSpy/ICSharpCode from SharpDevelop, Copyright (c) AlphaSierraPapa.
*
* This source code is subject to terms and conditions of the Apache License, Versi... | mbriskar/windup | forks/procyon/Procyon.CompilerTools/src/main/java/com/strobel/assembler/metadata/PackageReference.java | Java | epl-1.0 | 3,167 |
/*******************************************************************************
* Copyright (c) 2012-2017 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 ... | gazarenkov/che-sketch | ide/che-core-ide-api/src/main/java/org/eclipse/che/ide/api/event/ModuleCreatedEvent.java | Java | epl-1.0 | 1,723 |
/**
* 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.... | gerrieg/openhab2 | addons/binding/org.openhab.binding.squeezebox/src/main/java/org/openhab/binding/squeezebox/internal/SqueezeBoxAudioSink.java | Java | epl-1.0 | 5,000 |
//
// 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 ... | ikoula/cloudstack | utils/src/main/java/com/cloud/utils/time/InaccurateClockMBean.java | Java | gpl-2.0 | 957 |
/*
* Copyright (c) 2010, 2013, 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 ... | md-5/jdk10 | src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornBottomLinker.java | Java | gpl-2.0 | 14,098 |
/**
* Aptana Studio
* Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions).
* Please see the license.html included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
... | HossainKhademian/Studio3 | plugins/com.aptana.ui.io/src/com/aptana/ide/ui/io/internal/FileSystemObjectPropertyTester.java | Java | gpl-3.0 | 2,631 |
/**
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (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.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* ba... | openelisglobal/openelisglobal-core | app/src/us/mn/state/health/lims/systemuser/valueholder/SystemUser.java | Java | mpl-2.0 | 2,524 |
/*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2012 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... | acontes/programming | src/Examples/org/objectweb/proactive/examples/readers/ReadCanvas.java | Java | agpl-3.0 | 3,705 |
/**
* Copyright (C) 2009-2013 FoundationDB, LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Thi... | AydinSakar/sql-layer | src/test/java/com/foundationdb/sql/optimizer/ViewTest.java | Java | agpl-3.0 | 2,378 |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2008, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | ilyessou/jfreechart | tests/org/jfree/chart/plot/junit/SpiderWebPlotTests.java | Java | lgpl-2.1 | 12,593 |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2013, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | sternze/CurrentTopics_JFreeChart | source/org/jfree/chart/renderer/category/CategoryStepRenderer.java | Java | lgpl-2.1 | 13,685 |
////////////////////////////////////////////////////////////////////////////////
// Test case file for checkstyle.
// Created: 2001
////////////////////////////////////////////////////////////////////////////////
package com.puppycrawl.tools.checkstyle.checks.imports.avoidstarimport;
import com.puppycrawl.tools.checks... | jochenvdv/checkstyle | src/test/resources/com/puppycrawl/tools/checkstyle/checks/imports/avoidstarimport/InputAvoidStarImportDefault.java | Java | lgpl-2.1 | 3,561 |
/*
* Copyright (C) 2005-2013 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco 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 3 of the License, or
* (at y... | Tybion/community-edition | projects/remote-api/source/java/org/alfresco/repo/web/auth/BasicAuthCredentials.java | Java | lgpl-3.0 | 2,349 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.spatial;
import org.apache.lucene... | robin13/elasticsearch | x-pack/plugin/spatial/src/test/java/org/elasticsearch/xpack/spatial/LocalStateSpatialPlugin.java | Java | apache-2.0 | 1,211 |
/*
* IzPack - Copyright 2001-2012 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://izpack.codehaus.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 obtain a copy of the License at
*
* htt... | codehaus/izpack | izpack-api/src/main/java/com/izforge/izpack/api/installer/InstallerRequirementDisplay.java | Java | apache-2.0 | 943 |
/*
* 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
* distribut... | totticarter/presto | presto-main/src/main/java/com/facebook/presto/operator/PagesIndex.java | Java | apache-2.0 | 14,085 |
package org.pitest.maven;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.io.File;
import org.junit.Test;
public class PathToJavaClassConverterTest {
private static final String SRC = new File("src/java"... | michaelmnich/pitest-lib | pitest-maven/src/test/java/org/pitest/maven/PathToJavaClassConverterTest.java | Java | apache-2.0 | 1,854 |
/*
* 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 ... | WangTaoTheTonic/flink | flink-contrib/flink-storm-examples/src/main/java/org/apache/flink/storm/wordcount/BoltTokenizerWordCount.java | Java | apache-2.0 | 4,236 |
/*
* Copyright 2012, 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 conditio... | thecocce/show-java | app/src/main/java/org/jf/dexlib2/util/FieldUtil.java | Java | apache-2.0 | 2,416 |
/*
* Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.management.relation;
import java.util.ArrayList; // for Javadoc
import java.util.List;
... | shun634501730/java_source_cn | src_en/javax/management/relation/RelationType.java | Java | apache-2.0 | 1,475 |
/*
* 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 | components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsBinding.java | Java | apache-2.0 | 5,027 |
/*
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* excep... | keshvari/cas | cas-server-core/src/test/java/org/jasig/cas/authentication/principal/SimpleWebApplicationServiceImplTests.java | Java | apache-2.0 | 4,203 |
/*
* Copyright 2000-2014 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... | MichaelNedzelsky/intellij-community | python/src/com/jetbrains/python/buildout/BuildoutFacet.java | Java | apache-2.0 | 14,105 |
/**
* 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 ... | kishorvpatil/incubator-storm | storm-client/src/jvm/org/apache/storm/streams/processors/ProcessorContext.java | Java | apache-2.0 | 1,963 |
/**
* 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... | mahak/hbase | hbase-common/src/main/java/org/apache/hadoop/hbase/types/OrderedFloat32.java | Java | apache-2.0 | 3,048 |