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 |
|---|---|---|---|---|---|
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | asolntsev/selenium | java/server/src/org/openqa/selenium/grid/config/AnnotatedConfig.java | Java | apache-2.0 | 5,781 |
/*
* Copyright Terracotta, 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 ... | rishabhmonga/ehcache3 | clustered/integration-test/src/test/java/org/ehcache/clustered/BasicEntityInteractionTest.java | Java | apache-2.0 | 6,255 |
// This is a generated file. Not intended for manual editing.
package com.intellij.plugins.thrift.lang.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface ThriftXsdFieldOptions extends ThriftPsiCompositeElement {
@Nullable
ThriftXsdAttrs getXsdAttr... | fkorotkov/intellij-thrift | thrift/src/main/gen/com/intellij/plugins/thrift/lang/psi/ThriftXsdFieldOptions.java | Java | apache-2.0 | 328 |
/*
* 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... | stewartpark/presto | presto-main/src/main/java/com/facebook/presto/connector/system/TaskSystemTable.java | Java | apache-2.0 | 6,006 |
/*
* Copyright 2007 ZXing 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 o... | got5/ngCordova-demo | plugins/com.phonegap.plugins.barcodescanner/src/android/LibraryProject/src/com/google/zxing/client/result/AbstractDoCoMoResultParser.java | Java | apache-2.0 | 1,444 |
/*
* 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... | pperboires/PocDrools | drools-core/src/main/java/org/drools/command/KnowledgeBaseAddKnowledgePackagesCommand.java | Java | apache-2.0 | 1,610 |
// Copyright 2012 Google 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 by applicable... | stoksey69/googleads-java-lib | modules/ads_lib/src/main/java/com/google/api/ads/dfp/lib/utils/QueryBuilder.java | Java | apache-2.0 | 7,809 |
/*
* 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 ma... | ieure/mina-sshd | sshd-core/src/main/java/org/apache/sshd/server/shell/InteractiveProcessShellFactory.java | Java | apache-2.0 | 2,003 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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/
*
... | medicayun/medicayundicom | dcm4chee-web/tags/DCM4CHEE_WEB_3_0_2/dcm4chee-web-war/src/main/java/org/dcm4chee/web/war/folder/model/SeriesModel.java | Java | apache-2.0 | 9,121 |
/*
* 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 ... | kikonen/log4j-share | tests/src/java/org/apache/log4j/CoreTestSuite.java | Java | apache-2.0 | 3,063 |
/*
* Copyright 2012 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... | gradle/gradle | subprojects/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/DefaultTestLogging.java | Java | apache-2.0 | 4,836 |
/*
* Copyright 2015 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* 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 writin... | qmx/uberfire-extensions | uberfire-layout-editor/uberfire-layout-editor-client/src/main/java/org/uberfire/ext/layout/editor/client/components/HasModalConfiguration.java | Java | apache-2.0 | 1,126 |
/*
Copyright 2011-2016 Google 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 by applicable law or agreed t... | AmesianX/binnavi | src/main/java/com/google/security/zynamics/binnavi/config/FileReadException.java | Java | apache-2.0 | 1,242 |
/*
* Copyright 2014 Guidewire Software, Inc.
*/
package gw.plugin.ij.actions;
import com.intellij.ide.util.ClassFilter;
import com.intellij.ide.util.TreeJavaClassChooserDialog;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiClass;
import com.intellij.psi.search.GlobalSearchScope;
import gw.... | tcmoore32/sheer-madness | idea-gosu-plugin/src/main/java/gw/plugin/ij/actions/ConfigJarDialog.java | Java | apache-2.0 | 3,323 |
/*
*
* 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... | hasinitg/airavata | modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/impl/RegistryImpl.java | Java | apache-2.0 | 1,785 |
/*
* 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 ... | ullgren/camel | components/camel-metrics/src/main/java/org/apache/camel/component/metrics/messagehistory/MetricsMessageHistoryService.java | Java | apache-2.0 | 6,553 |
/*
* 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... | retomerz/intellij-community | platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java | Java | apache-2.0 | 61,238 |
/**
* 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... | OSBI/oodt | opendapps/src/main/java/org/apache/oodt/opendapps/util/ProfileUtils.java | Java | apache-2.0 | 16,944 |
// Copyright 2010 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 in ... | heychirag/stardroid | tools/src/main/java/com/google/android/stardroid/data/AbstractProtoWriter.java | Java | apache-2.0 | 3,964 |
/*
* 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/any23 | api/src/main/java/org/apache/any23/vocab/CSV.java | Java | apache-2.0 | 3,101 |
package org.stagemonitor.requestmonitor.profiler;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.stagemonitor.core.Stagemonitor;
import org.stagemonitor.requestmonitor.RequestMonitorPlugin;
import java.util.Deque;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import j... | glamarre360/stagemonitor | stagemonitor-requestmonitor/src/main/java/org/stagemonitor/requestmonitor/profiler/CallStackElement.java | Java | apache-2.0 | 8,838 |
/*
* 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 ... | wenzhucjy/tomcat_source | tomcat-7.0.63-sourcecode/target/classes/org/apache/catalina/ha/authenticator/ClusterSingleSignOn.java | Java | apache-2.0 | 7,312 |
/*
* 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 r... | adbrucker/SecureBPMN | runtime/src/modules/activiti-spring/src/main/java/org/activiti/spring/annotations/ProcessVariable.java | Java | apache-2.0 | 1,152 |
/**
* Author: dnj
* 6.005 Elements of Software Construction
* (c) 2008-9, MIT and Daniel Jackson
*/
package piano;
import java.applet.Applet;
import java.awt.Color;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import music.Pitch;
/**
* An applet which listens for key presses and calls a set... | emrickgarrett/CSE211Project2 | src/piano/PianoApplet.java | Java | apache-2.0 | 3,617 |
/*
* 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 ... | apurtell/phoenix | phoenix-core/src/it/java/org/apache/phoenix/end2end/PropertiesInSyncIT.java | Java | apache-2.0 | 31,753 |
/*******************************************************************************
* Copyright 2012
* Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in com... | 52nlp/webanno | webanno-brat/src/main/java/de/tudarmstadt/ukp/clarin/webanno/brat/message/GetDocumentTimestampResponse.java | Java | apache-2.0 | 1,564 |
/*
* 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 ... | tombujok/hazelcast | hazelcast-client/src/main/java/com/hazelcast/client/config/ClientConnectionStrategyConfig.java | Java | apache-2.0 | 2,993 |
package org.apereo.cas.monitor;
import com.hazelcast.core.Hazelcast;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.IMap;
import com.hazelcast.monitor.LocalMapStats;
import java.util.ArrayList;
import java.util.List;
/**
* This is {@link HazelcastMonitor}.
*
* @author Misagh Moayyed
* @si... | yisiqi/cas | cas-server-support-hazelcast-monitor/src/main/java/org/apereo/cas/monitor/HazelcastMonitor.java | Java | apache-2.0 | 4,168 |
/**
* redpen: a text inspection tool
* Copyright (c) 2014-2015 Recruit Technologies Co., Ltd. and contributors
* (see CONTRIBUTORS.md)
*
* 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
... | gerryhocks/redpen | redpen-core/src/test/java/cc/redpen/tokenizer/JapaneseTokenizerTest.java | Java | apache-2.0 | 1,923 |
package org.kymjs.example;
import org.kymjs.aframe.CrashHandler;
import android.app.Application;
public class AppContext extends Application {
@Override
public void onCreate() {
super.onCreate();
CrashHandler.create(this);
}
}
| 0359xiaodong/KJFrameForAndroid | KJFrameExample/src/org/kymjs/example/AppContext.java | Java | apache-2.0 | 273 |
/*
Copyright 2011-2016 Google 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 by applicable law or agreed t... | chubbymaggie/binnavi | src/main/java/com/google/security/zynamics/binnavi/Gui/FilterPanel/FilterExpressions/ConcreteTree/COrExpression.java | Java | apache-2.0 | 1,454 |
/*
* Copyright 2017-present Open Networking 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/LICENSE-2.0
*
* Unless required by appli... | gkatsikas/onos | core/net/src/main/java/org/onosproject/net/pi/impl/AbstractPiTranslatorImpl.java | Java | apache-2.0 | 1,827 |
/*
* Copyright 2002-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... | sunshine-life/GoodsManagement | src/main/java/org/goodsManagement/util/spring/ClassUtils.java | Java | apache-2.0 | 48,131 |
/*
* Copyright 2006 Niclas Hedhman.
*
* 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 a... | joobn72/qi4j-sdk | libraries/logging/src/main/java/org/qi4j/logging/debug/DebugConcern.java | Java | apache-2.0 | 2,874 |
package io.xpydev.paycoinj.wallet;
/**
* Indicates that an attempt was made to upgrade a random wallet to deterministic, but there were no non-rotating
* random keys to use as source material for the seed. Add a non-compromised key first!
*/
public class AllRandomKeysRotating extends RuntimeException {}
| ligerzero459/paycoinj | core/src/main/java/io/xpydev/paycoinj/wallet/AllRandomKeysRotating.java | Java | apache-2.0 | 311 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.core.security.authc.support;
import org.elas... | gfyoung/elasticsearch | x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/DelegatedAuthorizationSettings.java | Java | apache-2.0 | 905 |
package com.haskforce.parsing.srcExtsDatatypes;
import java.util.Arrays;
/**
* RPSeq l [RPat l]
*/
public class RPSeq extends RPatTopType {
public SrcInfoSpan srcInfoSpan;
public RPatTopType[] rpats;
@Override
public String toString() {
return "RPSeq{" +
"rpats=" + Arrays.to... | KasperJanssens/intellij-haskforce | src/com/haskforce/parsing/srcExtsDatatypes/RPSeq.java | Java | apache-2.0 | 365 |
package com.my.blog.website.service.impl;
import com.github.pagehelper.PageHelper;
import com.my.blog.website.dao.LogVoMapper;
import com.my.blog.website.service.ILogService;
import com.my.blog.website.utils.DateKit;
import com.my.blog.website.constant.WebConst;
import com.my.blog.website.modal.Vo.LogVo;
import com.my... | gnoRnehC/Blog | src/main/java/com/my/blog/website/service/impl/LogServiceImpl.java | Java | apache-2.0 | 1,790 |
// Copyright 2000-2020 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.codeHighlighting;
import com.intellij.icons.AllIcons;
import com.intellij.lang.annotation.HighlightSeverity;
import com.intellij.openapi.editor.colors.CodeIn... | smmribeiro/intellij-community | platform/analysis-api/src/com/intellij/codeHighlighting/HighlightDisplayLevel.java | Java | apache-2.0 | 8,192 |
/*
* 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... | wwjiang007/alluxio | core/server/common/src/main/java/alluxio/master/journal/raft/RaftJournal.java | Java | apache-2.0 | 2,350 |
package org.apache.commons.ssl.asn1;
import java.io.IOException;
import java.io.OutputStream;
public class BEROctetStringGenerator
extends BERGenerator {
public BEROctetStringGenerator(OutputStream out)
throws IOException {
super(out);
writeBERHeader(DERTags.CONSTRUCTED | DERTags.OCTE... | dvandok/not-yet-commons-ssl-debian | src/java/org/apache/commons/ssl/asn1/BEROctetStringGenerator.java | Java | apache-2.0 | 2,240 |
/*
Copyright 2011-2016 Google 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 by applicable law or agreed t... | AmesianX/binnavi | src/main/java/com/google/security/zynamics/binnavi/Gui/GraphWindows/types/ComplexTypePanel.java | Java | apache-2.0 | 8,343 |
/*
* Copyright 2012 Ryuji Yamashita
*
* 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... | igorekpotworek/facebook4j | facebook4j-core/src/test/java/facebook4j/MockFacebookFactory.java | Java | apache-2.0 | 1,191 |
/*
* 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 | server/src/test/java/com/vaadin/tests/server/component/upload/UploadTest.java | Java | apache-2.0 | 3,904 |
/*
* Copyright 2010-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... | vovagrechka/fucking-everything | phizdets/phizdetsc/src/org/jetbrains/kotlin/js/translate/intrinsic/functions/factories/ArrayFIF.java | Java | apache-2.0 | 6,386 |
package com.avaje.ebean.dbmigration.model;
import com.avaje.ebean.config.DbConstraintNaming;
import com.avaje.ebean.dbmigration.ddlgeneration.DdlHandler;
import com.avaje.ebean.dbmigration.ddlgeneration.DdlWrite;
import com.avaje.ebean.dbmigration.ddlgeneration.platform.DefaultConstraintMaxLength;
import com.avaje.ebe... | gzwfdy/meetime | src/main/java/com/avaje/ebean/dbmigration/model/CurrentModel.java | Java | apache-2.0 | 4,649 |
/*
* Copyright 2010 Last.fm
*
* 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... | choss/citrine-scheduler | src/main/java/fm/last/citrine/scheduler/NonConcurrentJobTriggerListener.java | Java | apache-2.0 | 3,029 |
/*
* Copyright 2021 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 | car/app/app-automotive/src/main/java/androidx/car/app/hardware/common/PropertyUtils.java | Java | apache-2.0 | 14,055 |
/*
* 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... | metamx/druid | java-util/src/main/java/io/druid/java/util/metrics/AbstractMonitor.java | Java | apache-2.0 | 1,352 |
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | trasa/aws-sdk-java | aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/transform/ModifySnapshotCopyRetentionPeriodRequestMarshaller.java | Java | apache-2.0 | 2,420 |
/*
* 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... | treasure-data/presto | presto-main/src/main/java/io/prestosql/operator/scalar/timetz/DateDiff.java | Java | apache-2.0 | 3,718 |
package org.wikipedia.json;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import java.util.Collection;
public final class GsonUnmarshaller {
/** @return Unmarshalled object. */
public static <T> T... | anirudh24seven/apps-android-wikipedia | app/src/main/java/org/wikipedia/json/GsonUnmarshaller.java | Java | apache-2.0 | 1,358 |
/*
* Copyright (c) 2008-2014 MongoDB, 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 a... | kay-kim/mongo-java-driver | driver/src/main/com/mongodb/LazyDBCallback.java | Java | apache-2.0 | 1,929 |
/*
* Licensed to ElasticSearch and Shay Banon 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... | speedplane/elasticsearch | src/main/java/org/elasticsearch/search/facet/geodistance/ValueGeoDistanceFacetCollector.java | Java | apache-2.0 | 4,425 |
/*
* 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... | yurloc/drools | drools-core/src/test/java/org/drools/util/LeftTupleIndexHashTableIteratorTest.java | Java | apache-2.0 | 13,924 |
/**
* 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... | abeppu/incubator-crunch | crunch/src/main/java/org/apache/crunch/TupleN.java | Java | apache-2.0 | 1,871 |
/*
* Licensed to ElasticSearch and Shay Banon 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... | chanil1218/elasticsearch | src/main/java/org/elasticsearch/index/query/BoolFilterBuilder.java | Java | apache-2.0 | 4,151 |
/*
* 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/authorization/providers/EnvironmentalContext.java | Java | apache-2.0 | 2,180 |
/*
* 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 ... | jorgebay/tinkerpop | gremlin-groovy/src/test/java/org/apache/tinkerpop/gremlin/groovy/engine/GremlinExecutorTest.java | Java | apache-2.0 | 30,074 |
/*******************************************************************************
* Copyright 2017 General Electric Company
*
* 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:... | predix/acs | service/src/main/java/com/ge/predix/acs/monitoring/GraphDbHealthIndicator.java | Java | apache-2.0 | 4,199 |
/*
* 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... | matsumo/twitter4j | twitter4j-core/src/internal-json/java/twitter4j/UserJSONImpl.java | Java | apache-2.0 | 20,036 |
/*******************************************************************************
* * Copyright 2014 Impetus Infotech.
* *
* * 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
* *
*... | ravisund/Kundera | src/kundera-cassandra/cassandra-ds-driver/src/test/java/com/impetus/kundera/client/cassandra/composite/DSEntityWithMultiplePartitionKeyTest.java | Java | apache-2.0 | 19,482 |
/*
* 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 ... | kulinski/myfaces | impl/src/main/java/org/apache/myfaces/flow/impl/AnnotatedFlowConfigurator.java | Java | apache-2.0 | 2,148 |
/*
* Copyright 2021 The Error Prone 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 ... | google/error-prone | core/src/test/java/com/google/errorprone/bugpatterns/TestParametersNotInitializedTest.java | Java | apache-2.0 | 4,004 |
/*
* Copyright 2020 The Apache Software 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/LICENSE-2.0
*
* Unless required by applica... | kalaspuffar/pdfbox | pdfbox/src/test/java/org/apache/pdfbox/io/RandomAccessReadBufferTest.java | Java | apache-2.0 | 9,352 |
/*******************************************************************************
*
* 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 | kettle-plugins/hdfs/src/test/java/org/pentaho/big/data/kettle/plugins/hdfs/trans/HadoopFileOutputMetaTest.java | Java | apache-2.0 | 4,318 |
/*
* Copyright 2021 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 | camera/camera-core/src/main/java/androidx/camera/core/impl/MetadataHolderService.java | Java | apache-2.0 | 1,361 |
/*
* Copyright 2000-2013 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 | plugins/groovy/src/org/jetbrains/plugins/groovy/lang/documentation/GroovyDocumentationProvider.java | Java | apache-2.0 | 23,488 |
/*
* Copyright 2015 - 2017 Hauke Oldsen
*
* 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... | Cedgetec/SchulinfoAPP | app/src/main/java/de/gebatzens/sia/dialog/FilterDialog.java | Java | apache-2.0 | 11,439 |
/*
* 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.diagnostic.logging;
import com.intellij.execution.process.ProcessOutputTypes;
import com.intellij.execution.ui.ConsoleViewContentType;
import com.inte... | leafclick/intellij-community | platform/lang-api/src/com/intellij/diagnostic/logging/LogConsolePreferences.java | Java | apache-2.0 | 8,399 |
/*
* 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")... | apache/zest-qi4j | core/runtime/src/main/java/org/apache/polygene/runtime/service/ImportedServiceInstance.java | Java | apache-2.0 | 1,886 |
/*
* Copyright (c) 2018, Lotto <https://github.com/devLotto>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, th... | Noremac201/runelite | runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotPlugin.java | Java | bsd-2-clause | 14,708 |
package hello;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.cache.LoadingCache;
import com.google.common.net.MediaType;
import io.undertow.server.HttpHandler;
import io.undertow.server.HttpServerExchange;
import io.undertow.util.Headers;
import java.util.Objects;
import static hello.H... | domix/FrameworkBenchmarks | undertow/src/main/java/hello/CacheHandler.java | Java | bsd-3-clause | 1,209 |
/*
* [The "BSD licence"] Copyright (c) 2013-2015 Dandelion All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this... | atreeyang/dandelion-datatables | datatables-core/src/main/java/com/github/dandelion/datatables/core/option/processor/feature/package-info.java | Java | bsd-3-clause | 1,778 |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.preferences.website;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.Prefer... | ds-hwang/chromium-crosswalk | chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleCategoryPreferences.java | Java | bsd-3-clause | 30,443 |
/*
* Copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
*
* 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 abov... | catull/threeten-extra | src/main/java/org/threeten/extra/chrono/JulianEra.java | Java | bsd-3-clause | 3,812 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/vision/v1/image_annotator.proto
package com.google.cloud.vision.v1;
public interface ImageOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.vision.v1.Image)
com.google.protobuf.MessageOrBuilder {
... | eoogbe/api-client-staging | generated/java/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ImageOrBuilder.java | Java | bsd-3-clause | 1,668 |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengl;
/**
* Native bindings to the <a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_texture_rgb10_a2ui.txt">ARB_texture_rgb10_a2... | LWJGL-CI/lwjgl3 | modules/lwjgl/opengl/src/generated/java/org/lwjgl/opengl/ARBTextureRGB10_A2UI.java | Java | bsd-3-clause | 1,220 |
package org.basex.util.options;
import static java.lang.Integer.*;
import static org.basex.util.Prop.*;
import static org.basex.util.Token.*;
import java.io.*;
import java.lang.reflect.*;
import java.util.*;
import java.util.Map.Entry;
import org.basex.core.*;
import org.basex.io.*;
import org.basex.io.in.*;
import ... | joansmith/basex | basex-core/src/main/java/org/basex/util/options/Options.java | Java | bsd-3-clause | 27,726 |
/*
* Copyright 2016, 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... | louiscryan/grpc-java | okhttp/src/test/java/io/grpc/internal/AccessProtectedHack.java | Java | bsd-3-clause | 1,891 |
/*
* File: AbstractWeighted.java
* Authors: Kevin R. Dixon
* Company: Sandia National Laboratories
* Project: Cognitive Foundry
*
* Copyright Dec 19, 2007, Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000, there is a non-exclusive license fo... | codeaudit/Foundry | Components/CommonCore/Source/gov/sandia/cognition/util/AbstractWeighted.java | Java | bsd-3-clause | 1,689 |
/*
* File: CodeReview.java
* Authors: Kevin R. Dixon
* Company: Sandia National Laboratories
* Project: Cognitive Foundry
*
* Copyright Jan 11, 2008, Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000, there is a non-exclusive license for use ... | codeaudit/Foundry | Components/CommonCore/Source/gov/sandia/cognition/annotation/CodeReview.java | Java | bsd-3-clause | 2,651 |
/*
* 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-support/dhis-support-cache-invalidation/src/main/java/org/hisp/dhis/cacheinvalidation/DebeziumService.java | Java | bsd-3-clause | 11,724 |
package org.ripple.bouncycastle.asn1.x500;
import org.ripple.bouncycastle.asn1.ASN1Choice;
import org.ripple.bouncycastle.asn1.ASN1Encodable;
import org.ripple.bouncycastle.asn1.ASN1Object;
import org.ripple.bouncycastle.asn1.ASN1Primitive;
import org.ripple.bouncycastle.asn1.ASN1String;
import org.ripple.bouncycastle... | xdv/ripple-lib-java | ripple-bouncycastle/src/main/java/org/ripple/bouncycastle/asn1/x500/DirectoryString.java | Java | isc | 3,220 |
package cruise.ui.jsf.templates.impl.fragment.GUI;
import cruise.model.abstractObjects.IGenerator;
import cruise.umple.compiler.Attribute;;
public class DefaultedTimeEdit implements IGenerator {
protected static String nl;
public static synchronized DefaultedTimeEdit create(String lineSeparator)
{
... | runqingz/umple | UmpleUIJSFProvider/src/cruise/ui/jsf/templates/impl/fragment/GUI/DefaultedTimeEdit.java | Java | mit | 2,388 |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.batch.protocol.models;
/**
* Represents a name-value pair... | anudeepsharma/azure-sdk-for-java | azure-batch/src/main/java/com/microsoft/azure/batch/protocol/models/NameValuePair.java | Java | mit | 1,298 |
package com.udacity.gamedev.fpscounter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.ScreenAdapter;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture.TextureFilter;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlo... | linucksrox/ud405 | 1.5.05-Solution-FPSCounter/core/src/com/udacity/gamedev/fpscounter/FPSCounterScreen.java | Java | mit | 2,146 |
package nl.oose.dea.orderservice.withoutdip;
import java.util.logging.Level;
import java.util.logging.Logger;
public class PaymentGateway {
private Logger logger = Logger.getLogger(getClass().getName());
public boolean charge(int amount, String customerName, int cardNumber) {
logger.log(Level.INFO, "... | dashorst/dea-code-examples | exercises/solid/5.DIP/src/main/java/nl/oose/dea/orderservice/withoutdip/PaymentGateway.java | Java | mit | 423 |
/*
* Copyright (c) 2012-2017 Red Hat, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red H... | jonahkichwacoders/che | plugins/plugin-svn/che-plugin-svn-ext-ide/src/main/java/org/eclipse/che/plugin/svn/ide/action/PropertiesAction.java | Java | epl-1.0 | 1,574 |
/*
* ====================================================================
* This software is subject to the terms of the Common Public License
* Agreement, available at the following URL:
* http://www.opensource.org/licenses/cpl.html .
* You must accept the terms of that agreement to use this software.
* ======... | argustelecom/pivot4j | pivot4j-core/src/main/java/org/pivot4j/ui/RenderPropertyCategories.java | Java | epl-1.0 | 458 |
/**
* Copyright (c) 2014-2015 openHAB UG (haftungsbeschraenkt) and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.... | ebisso/openhab2 | addons/binding/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/type/MetadataUtils.java | Java | epl-1.0 | 12,239 |
/**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
package org.python.pydev.compar... | siddhika1889/Pydev-Editor | src/org/python/pydev/compare/PyMergeViewer.java | Java | epl-1.0 | 12,457 |
/*******************************************************************************
* Copyright (c) 2002, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | boniatillo-com/PhaserEditor | source/thirdparty/jsdt/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/CodeSnippetParsingUtil.java | Java | epl-1.0 | 8,921 |
/*******************************************************************************
* Copyright (c) 2009, 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... | drbgfc/mdht | cda/plugins/org.openhealthtools.mdht.uml.cda/src/org/openhealthtools/mdht/uml/cda/operations/ExternalObservationOperations.java | Java | epl-1.0 | 4,554 |
/**
* 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 compliance wi... | debrief/debrief | org.mwc.asset.comms/docs/restlet_src/org.restlet.test/org/restlet/test/jaxrs/services/providers/TextCrazyPersonProvider.java | Java | epl-1.0 | 3,265 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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/
*
... | Thunderoar/android_kernel_samsung_goyave3g | vendor/samsung/common/packages/apps/Email_ESS/emailcommon/src/org/mozilla/universalchardet/prober/statemachine/ISO2022CNSMModel.java | Java | gpl-2.0 | 6,241 |
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2000 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the ... | zyilmaz/openwonderland-jvoicebridge | softphone/src/com/sun/mc/softphone/sip/security/UserCredentials.java | Java | gpl-2.0 | 4,336 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
//#ifdef FILE_TRANSFER
package io.file.transfer;
import io.NvStorage;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
/**
*
* @author Vitaly
*/
public class TransferCon... | BombusMod/BombusMod | src/main/java/io/file/transfer/TransferConfig.java | Java | gpl-2.0 | 1,466 |
package edu.up.cs301.game.infoMsg;
/**
* The a message from the game to a player that the move just attempted
* was illegal.
*
* @author Steven R. Vegdahl
* @version July 2013
*/
public class IllegalMoveInfo extends GameInfo {
// to satisfy Serializable interface
private static final long serialVersionUID = ... | MaxRobinson/Phase10 | TTTProj/src/edu/up/cs301/game/infoMsg/IllegalMoveInfo.java | Java | gpl-2.0 | 345 |
/*
* 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")... | cloudeecn/fiscevm | fiscevm-runtime/src/main/java/java/lang/Integer.java | Java | gpl-3.0 | 29,025 |