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 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/config/preprocessor/ProcessorReplace.java | Java | apache-2.0 | 1,720 |
/**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2005, 2006, 2007, 2008 The Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (t... | marktriggs/nyu-sakai-10.4 | portal/portal-service-impl/impl/src/java/org/sakaiproject/portal/service/PortalServiceImpl.java | Java | apache-2.0 | 17,816 |
/*
* 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 ... | basio/graph | giraph-hive/src/main/java/org/apache/giraph/hive/input/vertex/SimpleHiveToVertex.java | Java | apache-2.0 | 3,548 |
/*
* 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 | core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/MvelEndpointBuilderFactory.java | Java | apache-2.0 | 12,497 |
/**
* 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... | twitter/heron | storm-compatibility/v2.2.0/src/java/org/apache/storm/task/IErrorReporter.java | Java | apache-2.0 | 915 |
/*
* 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... | ThiagoGarciaAlves/intellij-community | platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/ChameleonSyntaxHighlightingPass.java | Java | apache-2.0 | 8,538 |
/*
* 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... | ThiagoGarciaAlves/intellij-community | json/src/com/jetbrains/jsonSchema/impl/JsonSchemaTreeNode.java | Java | apache-2.0 | 6,194 |
/*
* Copyright 2014 Space Dynamics Laboratory - Utah State University Research Foundation.
*
* 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/LICEN... | tyler-travis/openstorefront | server/openstorefront/openstorefront-web/src/main/java/edu/usu/sdl/openstorefront/web/test/system/DBQueryTest.java | Java | apache-2.0 | 2,799 |
/* 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... | skjolber/camunda-bpm-platform | qa/performance-tests-engine/src/main/java/org/camunda/bpm/qa/performance/engine/util/JsonUtil.java | Java | apache-2.0 | 2,134 |
/*
* Copyright (c) 2008-2017, Hazelcast, Inc. 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 ... | dbrimley/hazelcast | hazelcast/src/main/java/com/hazelcast/client/impl/protocol/util/package-info.java | Java | apache-2.0 | 702 |
/*
* Copyright by 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 applicable... | paulminer/bitcoinj | wallettemplate/src/main/java/wallettemplate/Main.java | Java | apache-2.0 | 10,314 |
/*
* Copyright (c) 2008-2018, Hazelcast, Inc. 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 ... | Donnerbart/hazelcast | hazelcast/src/main/java/com/hazelcast/internal/util/filter/AndFilter.java | Java | apache-2.0 | 1,144 |
/*
* 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... | spring-projects/spring-boot | spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/appendix/configurationmetadata/annotationprocessor/automaticmetadatageneration/MyServerProperties.java | Java | apache-2.0 | 1,460 |
/**
* 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... | justintung/hbase | hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StorefileRefresherChore.java | Java | apache-2.0 | 5,683 |
package com.rincliu.library.common.persistence.image.core.assist;
/**
* Source image loaded from.
*
* @author Sergey Tarasevich (nostra13[at]gmail[dot]com)
*/
public enum LoadedFrom {
NETWORK, DISC_CACHE, MEMORY_CACHE
}
| hugoYe/Roid-Library | src/com/rincliu/library/common/persistence/image/core/assist/LoadedFrom.java | Java | apache-2.0 | 240 |
package com.way.beans;
import android.os.Parcel;
import android.os.Parcelable;
public class City implements Parcelable {
private String province;
private String city;
private String name;
private String pinyin;
private String py;
private String phoneCode;
private String areaCode;
private String postID;
priva... | hnyzwtf/WayHoo | WayHoo/src/com/way/beans/City.java | Java | apache-2.0 | 4,503 |
package org.wikidata.wdtk.dumpfiles.wmf;
/*
* #%L
* Wikidata Toolkit Dump File Handling
* %%
* Copyright (C) 2014 Wikidata Toolkit Developers
* %%
* 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 ... | zazi/Wikidata-Toolkit | wdtk-dumpfiles/src/test/java/org/wikidata/wdtk/dumpfiles/wmf/WmfOnlineDailyDumpFileTest.java | Java | apache-2.0 | 4,391 |
/*
* 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 ... | siddaartha/spork | test/org/apache/pig/test/TestJsonLoaderStorage.java | Java | apache-2.0 | 4,897 |
/**
*
* Copyright 2015 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 law or ag... | igniterealtime/Smack | smack-extensions/src/main/java/org/jivesoftware/smackx/address/provider/package-info.java | Java | apache-2.0 | 717 |
package org.edx.mobile.view.custom;
import org.edx.mobile.R;
import org.edx.mobile.logger.Logger;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.widget.TextView;
public class ETextView extends TextView {
p... | miptliot/edx-app-android | VideoLocker/src/main/java/org/edx/mobile/view/custom/ETextView.java | Java | apache-2.0 | 1,539 |
/**
* Copyright 2015 Netflix, 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 ... | pstout/spectator | spectator-api/src/main/java/com/netflix/spectator/api/DefaultCounter.java | Java | apache-2.0 | 1,572 |
/*
* Copyright (C) 2008 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 ... | GrammarViz2/Uzaygezen | uzaygezen-core/src/main/java/com/google/uzaygezen/core/LongBitVector.java | Java | apache-2.0 | 15,293 |
/*
* 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... | srikalyan/spring-boot | spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/package-info.java | Java | apache-2.0 | 736 |
/*
Copyright 2016 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 to in writing... | goldmansachs/reladomo | reladomo/src/main/java/com/gs/fw/common/mithra/util/fileparser/ClassReaderState.java | Java | apache-2.0 | 2,312 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... | TatsianaKasiankova/pentaho-kettle | integration/src/it/java/org/pentaho/di/trans/RowProducerIT.java | Java | apache-2.0 | 5,094 |
// 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.structuralsearch.impl.matcher;
import com.intellij.structuralsearch.impl.matcher.strategies.XmlMatchingStrategy;
/**
* @author Eugene.Kudelevsky
*/
public c... | goodwinnk/intellij-community | platform/structuralsearch/source/com/intellij/structuralsearch/impl/matcher/XmlCompiledPattern.java | Java | apache-2.0 | 748 |
/*
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... | Squeegee/batik | sources/org/apache/batik/ext/awt/image/rendered/TileGenerator.java | Java | apache-2.0 | 1,080 |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | PasaLab/tachyon | core/server/worker/src/main/java/alluxio/worker/block/ClientRWLock.java | Java | apache-2.0 | 3,343 |
/*
* 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... | pfirmstone/JGDMS | qa/jtreg/net/jini/security/ProxyPreparer/LocalClassLoaderVerifyProxyPreparer.java | Java | apache-2.0 | 1,930 |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | potto007/druid-avro | api/src/test/java/io/druid/data/input/impl/RegexParseSpecTest.java | Java | apache-2.0 | 1,963 |
/*
* Copyright 2005-2007 WSO2, Inc. (http://wso2.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 required by applicable... | rswijesena/carbon-identity | components/sso-saml/org.wso2.carbon.identity.sso.saml/src/main/java/org/wso2/carbon/identity/sso/saml/admin/SAMLSSOConfigAdmin.java | Java | apache-2.0 | 11,010 |
/*
* 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 | nifi-registry/nifi-registry-core/nifi-registry-client/src/test/java/org/apache/nifi/registry/client/impl/request/TestBearerTokenRequestConfig.java | Java | apache-2.0 | 1,642 |
/*
* Copyright 2012-2017 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... | bbrouwer/spring-boot | spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/cache/CachingConfiguration.java | Java | apache-2.0 | 1,266 |
/*
* Copyright 2014 JBoss, by Red Hat, 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 ... | cristianonicolai/drools-wb | drools-wb-screens/drools-wb-guided-dtree-editor/drools-wb-guided-dtree-editor-backend/src/test/java/org/drools/workbench/screens/guided/dtree/backend/server/indexing/classes/Applicant.java | Java | apache-2.0 | 795 |
package io.cattle.platform.docker.machine.api.filter;
import static io.cattle.platform.core.constants.MachineConstants.*;
import io.cattle.platform.core.constants.AccountConstants;
import io.cattle.platform.core.constants.HostConstants;
import io.cattle.platform.core.model.Host;
import io.cattle.platform.iaas.api.fil... | jimengliu/cattle | code/implementation/docker/machine/src/main/java/io/cattle/platform/docker/machine/api/filter/MachineValidationFilter.java | Java | apache-2.0 | 2,296 |
/*
* Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*
* Copyright 1999-2002,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ex... | shun634501730/java_source_cn | src_en/com/sun/org/apache/xerces/internal/impl/dv/util/HexBin.java | Java | apache-2.0 | 3,681 |
/*
* 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 ... | vineetgarg02/hive | storage-api/src/java/org/apache/hadoop/hive/common/io/FileMetadataCache.java | Java | apache-2.0 | 2,471 |
/*
* 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 ... | pjain1/druid | server/src/test/java/org/apache/druid/server/initialization/JettyTest.java | Java | apache-2.0 | 18,632 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... | kohsuke/jboss-marshalling | serial/src/main/java/org/jboss/marshalling/serial/ExternalizedObject.java | Java | apache-2.0 | 3,023 |
/*
* Copyright 2014-2016 CyberVision, 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 o... | forGGe/kaa | server/common/verifier-shared/src/main/java/org/kaaproject/kaa/server/common/verifier/AbstractKaaUserVerifier.java | Java | apache-2.0 | 2,194 |
/*
* Copyright (c) 2008-2018, Hazelcast, Inc. 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 ... | tufangorel/hazelcast | hazelcast/src/main/java/com/hazelcast/spi/ServiceNamespace.java | Java | apache-2.0 | 1,016 |
/*
* 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/cxx/OmnibusRoots.java | Java | apache-2.0 | 6,108 |
/*
Copyright 2016 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 to in wri... | goldmansachs/reladomo | reladomo/src/test/java/com/gs/fw/common/mithra/test/domain/GsDeskDatabaseObject.java | Java | apache-2.0 | 716 |
/**
* Copyright 2012 International Business Machines Corp.
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. Licensed under the Apache License,
* Version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You m... | sidgoyal/standards.jsr352.jbatch | com.ibm.jbatch.container/src/main/java/com/ibm/jbatch/container/util/TCCLObjectInputStream.java | Java | apache-2.0 | 1,450 |
/*
* 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 ... | Wesley-Lawrence/nifi | nifi-nar-bundles/nifi-cdc/nifi-cdc-mysql-bundle/nifi-cdc-mysql-processors/src/main/java/org/apache/nifi/cdc/mysql/processors/CaptureChangeMySQL.java | Java | apache-2.0 | 60,260 |
/*
Derby - Class org.apache.derbyTesting.unitTests.store.T_XA
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 un... | lpxz/grail-derby104 | java/testing/org/apache/derbyTesting/unitTests/store/T_XA.java | Java | apache-2.0 | 42,110 |
/*
* 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... | facebook/presto | presto-main/src/main/java/com/facebook/presto/operator/PageBufferClient.java | Java | apache-2.0 | 20,089 |
package io.dropwizard.jersey.errors;
import io.dropwizard.jersey.AbstractJerseyTest;
import io.dropwizard.jersey.DropwizardResourceConfig;
import org.glassfish.jersey.server.ResourceConfig;
import org.glassfish.jersey.servlet.ServletProperties;
import org.glassfish.jersey.test.DeploymentContext;
import org.glassfish.j... | Alexey1Gavrilov/dropwizard | dropwizard-jersey/src/test/java/io/dropwizard/jersey/errors/ErrorEntityWriterTest.java | Java | apache-2.0 | 2,886 |
/*
* Spine Runtimes Software License
* Version 2.3
*
* Copyright (c) 2013-2015, Esoteric Software
* All rights reserved.
*
* You are granted a perpetual, non-exclusive, non-sublicensable and
* non-transferable license to use, install, execute and perform the Spine
* Runtimes Software (the "Software") and deriv... | intrigus/VisEditor | Plugins/SpineRuntime/src/com/esotericsoftware/spine/attachments/Attachment.java | Java | apache-2.0 | 2,037 |
/*
* Copyright 2010-2015 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... | sdole/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/transform/DeleteNetworkAclEntryRequestMarshaller.java | Java | apache-2.0 | 2,365 |
/*******************************************************************************
* 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... | yuri0x7c1/ofbiz-explorer | src/test/resources/apache-ofbiz-16.11.03/framework/base/src/main/java/org/apache/ofbiz/base/util/collections/MapStack.java | Java | apache-2.0 | 4,203 |
/*
* $Id: Login.java 471756 2006-11-06 15:01:43Z husted $
*
* 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 und... | WillJiang/WillJiang | src/apps/mailreader/src/main/java/mailreader2/Login.java | Java | apache-2.0 | 1,397 |
/*
* 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 ... | jamespatriot/shiro-root | web/src/main/java/org/apache/shiro/web/env/EnvironmentLoader.java | Java | apache-2.0 | 11,381 |
/*
* 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... | goodwinnk/intellij-community | xml/xml-psi-impl/src/com/intellij/psi/impl/source/xml/TagNameReference.java | Java | apache-2.0 | 6,957 |
/*
* Copyright 2015 The Closure Compiler 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... | anomaly/closure-compiler | test/com/google/javascript/jscomp/NewTypeInferenceWithTypeSyntaxTranspilationTest.java | Java | apache-2.0 | 6,823 |
package mousio.etcd4j.responses;
import io.netty.buffer.Unpooled;
import io.netty.handler.codec.http.DefaultHttpHeaders;
import io.netty.handler.codec.http.HttpHeaders;
import org.junit.Before;
import org.junit.Test;
import static mousio.etcd4j.EtcdUtil.convertDate;
import static mousio.etcd4j.responses.EtcdResponseD... | armstrongli/etcd4j | src/test/java/mousio/etcd4j/responses/EtcdKeysResponseParserTest.java | Java | apache-2.0 | 16,035 |
package org.maltparserx.core.syntaxgraph.reader;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.URL;
imp... | michaelcapizzi/processors | src/main/java/org/maltparserx/core/syntaxgraph/reader/NegraReader.java | Java | apache-2.0 | 16,507 |
/*
* 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 | examples/camel-example-transformer-cdi/src/main/java/org/apache/camel/example/transformer/cdi/MyRoutes.java | Java | apache-2.0 | 1,699 |
/**
* Copyright 2005-2016 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 r... | jludvice/fabric8 | fabric/fabric-zookeeper-commands/src/main/java/io/fabric8/zookeeper/commands/Create.java | Java | apache-2.0 | 2,701 |
/**
* Copyright 2017 Red Hat, Inc, and individual 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 required by ... | gastaldi/wildfly-swarm | fractions/javaee/ejb/src/main/java/org/wildfly/swarm/ejb/detect/EJBPackageDetector.java | Java | apache-2.0 | 974 |
/*
* 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/oodt | resource/src/main/java/org/apache/oodt/cas/resource/mux/BackendManager.java | Java | apache-2.0 | 2,489 |
package io.airlift.http.client.spnego;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import io.airlift.units.Duration;
import org.eclipse.jetty.client.api.Authentication;
import org.eclipse.jetty.client.api.AuthenticationStore;
import java.net.URI;
import java.util.concurrent.Time... | zhenyuy-fb/airlift | http-client/src/main/java/io/airlift/http/client/spnego/SpnegoAuthenticationStore.java | Java | apache-2.0 | 2,775 |
package fr.castorflex.android.circularprogressbar;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.os.SystemClock;
import android.support.annotation.NonNull;
import java.util.concurrent.TimeUnit;
/**
* Created by castorflex on 9/12/15.
*/
public class PowerSaveModeDelegate implements ... | ifunny/SmoothProgressBar | library-circular/src/main/java/fr.castorflex.android.circularprogressbar/PowerSaveModeDelegate.java | Java | apache-2.0 | 1,396 |
package org.wso2.developerstudio.datamapper.diagram.providers.assistants;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.gmf.runtime.emf.type.core.IElementType;
import org.wso2.developerstudio.datamapper.diagram.providers.DataMapperElementTypes;
impor... | prabushi/devstudio-tooling-esb | plugins/org.wso2.developerstudio.visualdatamapper.diagram/src/org/wso2/developerstudio/datamapper/diagram/providers/assistants/DataMapperModelingAssistantProviderOfDataMapperRootEditPart.java | Java | apache-2.0 | 2,706 |
package com.sforce.android.sample;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import com.sforce.android.soap.partner.BaseResponseListener;
import com.sforce.android.soap.partne... | reactualize/Force.com-Toolkit-for-Android | SampleApp/src/com/sforce/android/sample/SforceOAuthLogin.java | Java | bsd-3-clause | 2,252 |
/*
* Copyright (c) 2016 Goldman Sachs.
* 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 which accompany this distribution.
* The Eclipse Public License is available at http://www.ecli... | bhav0904/eclipse-collections | eclipse-collections/src/main/java/org/eclipse/collections/impl/lazy/parallel/set/AbstractParallelUnsortedSetIterable.java | Java | bsd-3-clause | 4,263 |
/*******************************************************************************
* Copyright (c) 2000, 2011 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... | brunyuriy/quick-fix-scout | org.eclipse.jdt.ui_3.7.1.r371_v20110824-0800/src/org/eclipse/jdt/ui/actions/NavigateActionGroup.java | Java | mit | 4,070 |
package classes.special_test;
import java.io.IOException;
public class StdIn {
public static void main(String[] args) {
for (int i=0; i<3; i++) {
int inChar;
System.out.println("Enter a Character (" + (2-i) + " left):");
try {
inChar = System.in.read();
System.out.print("You ente... | bpowers/doppio | classes/special_test/StdIn.java | Java | mit | 482 |
/*
Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/J is licensed under the terms of the GPLv2
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors.
There are special exceptions to the terms and conditions of the GPLv2 as it is appl... | MarAvFe/Footballer | mysql-connector-java-5.1.37/src/com/mysql/jdbc/LoadBalancedConnection.java | Java | mit | 1,420 |
/*******************************************************************************
* Copyright (c) 2000, 2011 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... | brunyuriy/quick-fix-scout | org.eclipse.jdt.ui_3.7.1.r371_v20110824-0800/src/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpProfileVersioner.java | Java | mit | 3,278 |
package org.ethereum.core;
import org.ethereum.crypto.HashUtil;
import org.junit.Assert;
import org.junit.Test;
import org.spongycastle.util.encoders.Hex;
/**
* @author Roman Mandeleil
* @since 20.11.2014
*/
public class BloomTest {
@Test /// based on http://bit.ly/1MtXxFg
public void test1(){
b... | gcc2ge/ethereumj | ethereumj-core/src/test/java/org/ethereum/core/BloomTest.java | Java | mit | 1,992 |
/**
* Copyright (c) 2010-2018 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
*/... | Mr-Eskildsen/openhab2-addons | addons/binding/org.openhab.binding.rfxcom.test/src/test/java/org/openhab/binding/rfxcom/internal/messages/RFXComTemperatureRainMessageTest.java | Java | epl-1.0 | 1,633 |
/*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | WelcomeHUME/svn-caucho-com-resin | modules/resin/src/com/caucho/jsp/java/JspOutput.java | Java | gpl-2.0 | 5,096 |
package com.bill.mygitosc.utils;
/**
* Created by liaobb on 2015/8/3.
*/
public class StringUtils {
public static boolean ignoreCaseContain(String s1, String s2) {
return s1.toLowerCase().indexOf(s2.toLowerCase()) >= 0;
}
}
| winiceo/my-oscgit-android | mygitosc/src/main/java/com/bill/mygitosc/utils/StringUtils.java | Java | gpl-2.0 | 244 |
/*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | mdaniel/svn-caucho-com-resin | modules/resin/src/com/caucho/db/sql/DoubleNeqExpr.java | Java | gpl-2.0 | 2,255 |
/*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | mdaniel/svn-caucho-com-resin | modules/resin/src/com/caucho/rewrite/IfSecure.java | Java | gpl-2.0 | 1,979 |
/* Generated By:JavaCC: Do not edit this line. PTAParser.java */
package pta.parser;
import java.io.*;
import java.util.*;
import pta.*;
import prism.PrismLangException;
public class PTAParser implements PTAParserConstants {
//----------------------------------------------------------------------------------... | nicodelpiano/prism | src/pta/parser/PTAParser.java | Java | gpl-2.0 | 23,388 |
/* Copyright (c) 2010, Carl Burch. License information is located in the
* com.cburch.logisim.Main source code and at www.cburch.com/logisim/. */
package com.cburch.logisim.tools;
import java.awt.Color;
import java.awt.Cursor;
import java.awt.Graphics;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent... | lawrancej/logisim | src/main/java/com/cburch/logisim/tools/AddTool.java | Java | gpl-3.0 | 18,224 |
package info.novatec.testit.livingdoc.server.rest.requests;
import info.novatec.testit.livingdoc.server.domain.Repository;
public class GetSpecificationRepositoriesOfAssociatedProjectRequest {
public Repository repository;
public GetSpecificationRepositoriesOfAssociatedProjectRequest() {
}
public G... | testIT-LivingDoc/livingdoc-core | livingdoc-client/src/main/java/info/novatec/testit/livingdoc/server/rest/requests/GetSpecificationRepositoriesOfAssociatedProjectRequest.java | Java | gpl-3.0 | 446 |
/*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2016 Kuali, Inc.
*
* 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, eithe... | mukadder/kc | coeus-impl/src/main/java/org/kuali/kra/institutionalproposal/dao/ojb/AllFundingProposalQueryCustomizer.java | Java | agpl-3.0 | 2,282 |
/*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 Kuali, Inc.
*
* 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, eithe... | sanjupolus/KC6.oLatest | coeus-impl/src/main/java/org/kuali/coeus/common/framework/impl/LineItemObject.java | Java | agpl-3.0 | 2,593 |
/*
* Copyright (C) 2012 The Guava 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 agre... | deerwalk/voltdb | third_party/java/src/com/google_voltpatches/common/collect/AbstractSortedKeySortedSetMultimap.java | Java | agpl-3.0 | 1,658 |
/*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 Kuali, Inc.
*
* 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, eithe... | sanjupolus/KC6.oLatest | coeus-impl/src/main/java/org/kuali/coeus/common/budget/framework/personnel/BudgetPersonSalaryDetails.java | Java | agpl-3.0 | 3,833 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2015 VoltDB Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to... | kumarrus/voltdb | tests/testprocs/org/voltdb_testprocs/regressionsuites/catchexceptions/SPBigBatchOnPartitionTable.java | Java | agpl-3.0 | 2,707 |
/**
* Project Wonderland
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., All Rights Reserved
*
* Redistributions in source code form must reproduce the above
* copyright and this condition.
*
* The contents of this file are subject to the GNU General Public
* License, Version 2 (the "License"); you may no... | AsherBond/MondocosmOS | wonderland/modules/tools/phone/src/classes/org/jdesktop/wonderland/modules/phone/server/cell/PhoneStatusListener.java | Java | agpl-3.0 | 6,625 |
/* ========================================================================
* JCommon : a free general purpose class library for the Java(tm) platform
* ========================================================================
*
* (C) Copyright 2000-2005, by Object Refinery Limited and Contributors.
*
* Project I... | apetresc/JCommon | src/main/java/org/jfree/threads/ReaderWriterLock.java | Java | lgpl-2.1 | 5,871 |
/*
* eXist EXPath
* Copyright (C) 2013 Adam Retter <adam@existsolutions.com>
* www.existsolutions.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2
* ... | hungerburg/exist | extensions/expath/src/org/expath/httpclient/model/exist/EXistResult.java | Java | lgpl-2.1 | 5,815 |
/*
* Entagged Audio Tag library
* Copyright (c) 2003-2005 Raphaël Slinckx <raphael@slinckx.net>
* Copyright (c) 2004-2005 Christian Laireiter <liree@web.de>
*
* 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 th... | nhminus/jaudiotagger-androidpatch | src/org/jaudiotagger/audio/ogg/util/OggInfoReader.java | Java | lgpl-2.1 | 6,507 |
/**
* Copyright (c) SpaceToad, 2011 http://www.mod-buildcraft.com
*
* BuildCraft is distributed under the terms of the Minecraft Mod Public License
* 1.0, or MMPL. Please check the contents of the license located in
* http://www.mod-buildcraft.com/MMPL-1.0.txt
*/
package buildcraft.api.power;
import net.minecraf... | PandaTeam/HydroBlocks | src/buildcraft/api/power/PowerHandler.java | Java | lgpl-3.0 | 10,105 |
/*
* #%L
* Alfresco Repository
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the... | Alfresco/alfresco-repository | src/main/java/org/alfresco/repo/domain/permissions/ibatis/AclCrudDAOImpl.java | Java | lgpl-3.0 | 21,316 |
/*
* 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... | mmaracic/elasticsearch | core/src/test/java/org/elasticsearch/cluster/routing/RoutingServiceTests.java | Java | apache-2.0 | 15,018 |
/*
* 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 ... | pwong-mapr/incubator-drill | exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet2/TestDrillParquetReader.java | Java | apache-2.0 | 11,749 |
/**
*
* 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"); ... | ddraj/hbase-mttr | hbase-server/src/main/java/org/apache/hadoop/hbase/NotAllMetaRegionsOnlineException.java | Java | apache-2.0 | 1,526 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License,... | pavel-sakun/pentaho-kettle | engine/src/test/java/org/pentaho/di/trans/steps/streamlookup/StreamLookupMetaTest.java | Java | apache-2.0 | 5,864 |
/*
* 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... | dain/presto | core/trino-main/src/main/java/io/trino/execution/TaskStatus.java | Java | apache-2.0 | 9,616 |
package org.apereo.cas.configuration.model.core.sso;
/**
* Configuration properties class for {@code create.sso}.
*
* @author Dmitriy Kopylenko
* @since 5.0.0
*/
public class SsoProperties {
private boolean renewedAuthn = true;
private boolean missingService = true;
public boolean isRenewedAuthn()... | creamer/cas | core/cas-server-core-configuration/src/main/java/org/apereo/cas/configuration/model/core/sso/SsoProperties.java | Java | apache-2.0 | 668 |
/*
* 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 ... | rangadi/incubator-beam | sdks/java/io/kinesis/src/test/java/org/apache/beam/sdk/io/kinesis/KinesisMockWriteTest.java | Java | apache-2.0 | 10,531 |
/**
* 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... | curso007/camel | components/camel-mail/src/test/java/org/apache/camel/component/mail/RawMailMessageTest.java | Java | apache-2.0 | 6,656 |
/*
* Copyright 2000-2015 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 | platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/XBreakpointPanelProvider.java | Java | apache-2.0 | 6,449 |
/*
* Copyright 2015 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 a... | psiroky/uberfire | uberfire-workbench/uberfire-workbench-client/src/test/java/org/uberfire/client/workbench/panels/impl/SimpleWorkbenchPanelViewUnitTestWrapper.java | Java | apache-2.0 | 1,045 |