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) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... | irham0019/product-as | modules/samples/JavaEE-TomEE/javaee-examples/src/main/java/org/superbiz/servlet/WebserviceClient.java | Java | apache-2.0 | 2,938 |
/*
* Copyright (c) 2010-2014. Axon Framework
*
* 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 ... | christiaandejong/AxonFramework | core/src/main/java/org/axonframework/common/property/BeanPropertyAccessStrategy.java | Java | apache-2.0 | 1,334 |
/*
* 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... | LightGuard/incubator-deltaspike | deltaspike/modules/data/impl/src/main/java/org/apache/deltaspike/data/impl/meta/verifier/EntityVerifier.java | Java | apache-2.0 | 1,198 |
public class J {
public static void main(String[] args) {
int a = 0, b = 1, c = 2;
c ^= a & b;
System.out.print(c);
}
} | jwren/intellij-community | plugins/kotlin/j2k/new/tests/testData/newJ2k/assignmentExpression/compoundAssignmentPriority2.java | Java | apache-2.0 | 151 |
/*
* Copyright 2000-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | asedunov/intellij-community | java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/dependencyAnalysis/ModuleDependenciesAnalyzer.java | Java | apache-2.0 | 12,803 |
/*
* 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... | siddaartha/spork | test/org/apache/pig/test/TestFRJoin.java | Java | apache-2.0 | 23,396 |
/*
* Copyright (C) 2011 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... | Ant-Droid/android_frameworks_base_OLD | tests/RenderScriptTests/FBOTest/src/com/android/fbotest/FBOSyncRS.java | Java | apache-2.0 | 7,120 |
/*
* ModeShape (http://www.modeshape.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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | phantomjinx/modeshape | modeshape-jcr/src/main/java/org/modeshape/jcr/CndImporter.java | Java | apache-2.0 | 38,876 |
/*=========================================================================
* Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
* This product is protected by U.S. and international copyright
* and intellectual property laws. Pivotal products are covered by
* more patents listed at http://www.pivo... | ameybarve15/incubator-geode | gemfire-core/src/main/java/com/gemstone/gemfire/cache/client/internal/BridgeServerLoadMessage.java | Java | apache-2.0 | 3,146 |
package org.apache.flex.forks.velocity.runtime.parser.node;
/*
* Copyright 2000-2001,2004 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
*
* ht... | adufilie/flex-sdk | modules/thirdparty/velocity/src/java/org/apache/flex/forks/velocity/runtime/parser/node/ASTIfStatement.java | Java | apache-2.0 | 3,272 |
/*
* 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.core.ml.job.config;
import org.ela... | ern/elasticsearch | x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/ModelPlotConfigTests.java | Java | apache-2.0 | 1,895 |
/**
* Copyright (c) 2010-2017 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
*/... | Stratehm/openhab2 | addons/binding/org.openhab.binding.regoheatpump/src/main/java/org/openhab/binding/regoheatpump/handler/IpRego6xxHeatPumpHandler.java | Java | epl-1.0 | 1,297 |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/**
* 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... | md-5/jdk10 | src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/keys/content/MgmtData.java | Java | gpl-2.0 | 2,044 |
/******************************************************************************
* Compilation: javac Quick3way.java
* Execution: java Quick3way < input.txt
* Dependencies: StdOut.java StdIn.java
* Data files: http://algs4.cs.princeton.edu/23quicksort/tiny.txt
* http://algs4.cs.princeton.ed... | nkhuyu/algs4 | src/main/java/edu/princeton/cs/algs4/Quick3way.java | Java | gpl-3.0 | 4,962 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | jblievremont/sonarqube | server/sonar-server/src/main/java/org/sonar/server/qualitygate/ws/SelectAction.java | Java | lgpl-3.0 | 2,158 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | abbeyj/sonarqube | sonar-plugin-api/src/test/java/org/sonar/api/measures/AverageFormulaTest.java | Java | lgpl-3.0 | 8,437 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | abbeyj/sonarqube | sonar-batch/src/main/java/org/sonar/batch/deprecated/perspectives/BatchPerspectives.java | Java | lgpl-3.0 | 2,944 |
/*
* Copyright 2012 SURFnet bv, The Netherlands
*
* 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 ... | biancini/oauth2-apis | apis-authorization-server/src/main/java/org/surfnet/oaaas/repository/AccessTokenRepository.java | Java | apache-2.0 | 1,874 |
/*
* 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... | siosio/intellij-community | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/patch/tool/ApplyPatchDiffRequest.java | Java | apache-2.0 | 2,929 |
/*
* Copyright 2005-2013 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 requi... | eddumelendez/spring-ldap | core/src/main/java/org/springframework/ldap/core/DefaultDnParserFactory.java | Java | apache-2.0 | 1,499 |
/*
* 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 ... | clohfink/cassandra | src/java/org/apache/cassandra/schema/SchemaConstants.java | Java | apache-2.0 | 3,576 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... | cshannon/activemq-artemis | artemis-server/src/main/java/org/apache/activemq/artemis/utils/XMLConfigurationUtil.java | Java | apache-2.0 | 4,984 |
/*
* 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... | akosyakov/intellij-community | plugins/gradle/src/org/jetbrains/plugins/gradle/action/GradleExecuteTaskAction.java | Java | apache-2.0 | 9,266 |
/*
* Copyright 2012-2020 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... | mdeinum/spring-boot | spring-boot-project/spring-boot-cli/src/test/java/org/springframework/boot/cli/compiler/grape/AetherGrapeEngineTests.java | Java | apache-2.0 | 9,073 |
package x;
class Ref {
String ref;
void foo() {
String f= "blah" + "ref" + "blah" + "ref"+ref;
}
} | jwren/intellij-community | java/java-tests/testData/psi/search/findUsages/findUsagesMustNotSwallow/x/Ref.java | Java | apache-2.0 | 111 |
/**
* 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... | sbyoun/i-mapreduce | src/contrib/hive/cli/src/java/org/apache/hadoop/hive/cli/MetadataProcessor.java | Java | apache-2.0 | 2,074 |
// 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.tab;
import android.test.suitebuilder.annotation.SmallTest;
import org.chromium.base.ThreadUtils;
import org.chromiu... | guorendong/iridium-browser-ubuntu | chrome/android/javatests_shell/src/org/chromium/chrome/browser/tab/SadTabTest.java | Java | bsd-3-clause | 1,799 |
package aima.test.core.unit.probability.full;
import org.junit.Test;
import aima.core.probability.example.FullJointDistributionBurglaryAlarmModel;
import aima.core.probability.example.FullJointDistributionMeningitisStiffNeckModel;
import aima.core.probability.example.FullJointDistributionPairFairDiceModel;
import aim... | Iroxsmyth/Brisca-AI-2017 | src/test/java/aima/test/core/unit/probability/full/FullJointProbabilityModelTest.java | Java | mit | 2,305 |
/*
* Copyright (c) 2005, 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 ... | FauxFaux/jdk9-jaxws | src/jdk.xml.bind/share/classes/com/sun/xml/internal/rngom/digested/DXMLPrinter.java | Java | gpl-2.0 | 19,385 |
/*
* This file is part of libbluray
* Copyright (C) 2010 William Hahne
*
* 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) a... | xucp/mpc_hc | src/thirdparty/LAVFilters/src/libbluray/src/libbluray/bdj/java/org/bluray/ti/PlayItem.java | Java | gpl-3.0 | 979 |
/**
* Copyright (C) 2009, 2010 SC 4ViewSoft SRL
*
* 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... | pabloem/Anki-Android | src/org/achartengine/util/IndexXYMap.java | Java | gpl-3.0 | 2,564 |
/*
* ProActive Parallel Suite(TM):
* The Open Source library for parallel and distributed
* Workflows & Scheduling, Orchestration, Cloud Automation
* and Big Data Analysis on Enterprise Grids & Clouds.
*
* Copyright (c) 2007 - 2017 ActiveEon
* Contact: contact@activeeon.com
*
* This library is free software: y... | laurianed/scheduling | rest/rest-cli/src/main/java/org/ow2/proactive_grid_cloud_portal/cli/cmd/rm/GetTopologyCommand.java | Java | agpl-3.0 | 2,520 |
/*
* 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-spring/src/test/java/org/apache/camel/spring/interceptor/SpringAdviceWithTwoRoutesContextScopedOnExceptionTest.java | Java | apache-2.0 | 1,462 |
/*
* 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... | donNewtonAlpha/onos | apps/test/flow-perf/src/main/java/org/onosproject/flowperf/package-info.java | Java | apache-2.0 | 717 |
package com.thinkaurelius.titan.graphdb.schema;
import com.thinkaurelius.titan.core.Cardinality;
import com.thinkaurelius.titan.core.Multiplicity;
import org.apache.tinkerpop.gremlin.structure.Direction;
/**
* @author Matthias Broecheler (me@matthiasb.com)
*/
public abstract class RelationTypeDefinition extends Sch... | CYPP/titan | titan-core/src/main/java/com/thinkaurelius/titan/graphdb/schema/RelationTypeDefinition.java | Java | apache-2.0 | 785 |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | ingokegel/intellij-community | java/java-psi-api/src/com/intellij/psi/PsiArrayInitializerMemberValue.java | Java | apache-2.0 | 1,101 |
/*
* 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 ... | AndreasAbdi/jackrabbit-oak | oak-remote/src/main/java/org/apache/jackrabbit/oak/remote/http/handler/SearchSpecificRevisionHandler.java | Java | apache-2.0 | 1,621 |
/*
* (C) 2007-2012 Alibaba Group Holding Limited.
*
* 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... | fool-persen/Metamorphosis | metamorphosis-server-wrapper/src/main/java/com/taobao/metamorphosis/metaslave/SlaveZooKeeper.java | Java | apache-2.0 | 5,108 |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 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.
* You ... | jorik041/zaproxy | src/org/zaproxy/zap/view/ContextCreateDialog.java | Java | apache-2.0 | 3,203 |
package org.hamcrest.collection;
import org.hamcrest.AbstractMatcherTest;
import org.hamcrest.Matcher;
import java.util.HashMap;
import java.util.Map;
import java.util.TreeMap;
import static org.hamcrest.collection.IsMapContaining.hasValue;
public class IsMapContainingValueTest extends AbstractMatcherTest {
@... | jasonCarNormal0101/StockAdviser | lib/hamcrest-1.3/hamcrest-unit-test/src/main/java/org/hamcrest/collection/IsMapContainingValueTest.java | Java | epl-1.0 | 1,379 |
/*
* Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.... | Johnson-Chou/test | opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/mount/MountProviderService.java | Java | epl-1.0 | 1,359 |
/**
* Copyright (c) 2009--2012 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public License,
* version 2 (GPLv2). There is NO WARRANTY for this software, express or
* implied, including the implied warranties of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. You should have rece... | aronparsons/spacewalk | java/code/src/com/redhat/rhn/frontend/servlets/PxtCookieManager.java | Java | gpl-2.0 | 3,631 |
/*
* Copyright (C) 2014 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... | Puja-Mishra/Android_FreeChat | Telegram-master/TMessagesProj/src/main/java/org/telegram/messenger/exoplayer/text/CaptionStyleCompat.java | Java | gpl-2.0 | 5,086 |
package com.temenos.interaction.core.hypermedia;
/*
* #%L
* interaction-core
* %%
* Copyright (C) 2012 - 2013 Temenos Holdings N.V.
* %%
* 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 Found... | schwadorf/IRIS | interaction-core/src/test/java/com/temenos/interaction/core/hypermedia/TestBean.java | Java | agpl-3.0 | 1,065 |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2014, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | sebkur/JFreeChart | src/main/java/org/jfree/data/time/Hour.java | Java | lgpl-3.0 | 15,848 |
package com.netflix.exhibitor.core.automanage;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import com.netflix.exhibitor.core.Exhibitor;
import com.netflix.exhibitor.core.config.IntConfigs;
import com.netflix.exhibitor.core.entities.ServerStatus;
import com.netflix.exhibitor.core.stat... | robzienert/exhibitor | exhibitor-core/src/main/java/com/netflix/exhibitor/core/automanage/FlexibleEnsembleBuilder.java | Java | apache-2.0 | 3,513 |
/*
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | varshluck/closure-stylesheets | tests/com/google/common/css/SplittingSubstitutionMapTest.java | Java | apache-2.0 | 1,762 |
/*
* 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 ... | CesarPantoja/jena | jena-sdb/src/main/java/org/apache/jena/sdb/core/SDBConstants.java | Java | apache-2.0 | 1,368 |
package io.dropwizard.jetty;
import com.codahale.metrics.Timer;
import org.eclipse.jetty.io.Connection;
import org.eclipse.jetty.io.EndPoint;
import org.eclipse.jetty.server.ConnectionFactory;
import org.eclipse.jetty.server.Connector;
import org.eclipse.jetty.util.component.ContainerLifeCycle;
import java.util.List;... | shawnsmith/dropwizard | dropwizard-jetty/src/main/java/io/dropwizard/jetty/Jetty93InstrumentedConnectionFactory.java | Java | apache-2.0 | 1,938 |
/*<license>
Copyright 2004, PeopleWare n.v.
NO RIGHTS ARE GRANTED FOR THE USE OF THIS SOFTWARE, EXCEPT, IN WRITING,
TO SELECTED PARTIES.
</license>*/
package be.peopleware.jsf_II.i18n;
import java.io.Serializable;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
import be.peoplewar... | jandppw/ppwcode-recovered-from-google-code | _purgatory/java/jsf/trunk/src/java/be/peopleware/jsf_II/i18n/JsfResourceBundleLoadStrategy.java | Java | apache-2.0 | 2,141 |
/**
* 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 | components/camel-consul/src/main/java/org/apache/camel/component/consul/endpoint/ConsulEventProducer.java | Java | apache-2.0 | 2,439 |
/*
* Copyright 2012 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 ... | wfxiang08/exhibitor | exhibitor-standalone/src/main/java/com/netflix/exhibitor/servlet/ExhibitorResourceConfig.java | Java | apache-2.0 | 4,452 |
/**
* 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 ... | OnePaaS/jbpm | jbpm-flow/src/main/java/org/jbpm/process/instance/ProcessInstanceManager.java | Java | apache-2.0 | 1,454 |
package org.jbehave.core.steps;
import java.util.Map;
/**
* Represents a row in an {@link ExamplesTable}.
*/
public interface Row {
/**
* Returns the values as a Map, where the key is the column name and the value is the row value.
*
* @return The Map of values
*/
Map<String, String> v... | jeremiehuchet/jbehave-core | jbehave-core/src/main/java/org/jbehave/core/steps/Row.java | Java | bsd-3-clause | 331 |
/**
* 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.... | theoweiss/openhab2 | bundles/org.openhab.binding.nest/src/main/java/org/openhab/binding/nest/internal/data/Camera.java | Java | epl-1.0 | 7,310 |
/**
* Product: Posterita Web-Based POS and Adempiere Plugin
* Copyright (C) 2007 Posterita Ltd
* This file is part of POSterita
*
* POSterita 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; eit... | erpcya/adempierePOS | posterita/posterita/src/main/org/posterita/beans/CashSummaryBean.java | Java | gpl-2.0 | 3,298 |
/*
* @(#)TreeModel.java 1.27 10/03/23
*
* Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package org.jaudiotagger.utils.tree;
/**
* The model used by <code>JTree</code>.
* <p>
* <code>JTree</code> and its related c... | craigpetchell/Jaudiotagger | src/org/jaudiotagger/utils/tree/TreeModel.java | Java | lgpl-2.1 | 5,159 |
/**
* Vosao CMS. Simple CMS for Google App Engine.
*
* Copyright (C) 2009-2010 Vosao development team.
*
* 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 t... | vosaocms/vosao | kernel/src/org/vosao/dao/impl/FileDaoImpl.java | Java | lgpl-2.1 | 2,730 |
/*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2017 Eric Lafortune @ GuardSquare
*
* 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 F... | damienmg/bazel | third_party/java/proguard/proguard5.3.3/src/proguard/evaluation/value/ParticularValueFactory.java | Java | apache-2.0 | 4,464 |
// Copyright 2014 The Bazel Authors. 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 appl... | damienmg/bazel | src/main/java/com/google/devtools/build/lib/util/NetUtil.java | Java | apache-2.0 | 1,655 |
/*
* Copyright 2018 Red Hat, Inc. and/or its affiliates
* and other 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 License at
*
* http://www.apach... | keycloak/keycloak | services/src/main/java/org/keycloak/crypto/RsaesOaep256CekManagementProviderFactory.java | Java | apache-2.0 | 1,171 |
/*
* 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... | gfyoung/elasticsearch | server/src/test/java/org/elasticsearch/search/aggregations/bucket/AutoDateHistogramTests.java | Java | apache-2.0 | 1,748 |
/**
* Copyright 2005-2015 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless requ... | bhutchinson/rice | rice-framework/krad-web-framework/src/main/java/org/kuali/rice/krad/datadictionary/BusinessObjectEntry.java | Java | apache-2.0 | 4,888 |
/*
* 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... | hurricup/intellij-community | platform/core-api/src/com/intellij/openapi/project/IndexNotReadyException.java | Java | apache-2.0 | 3,551 |
package com.simplyti.cloud.server.benchmark;
import java.util.concurrent.ExecutionException;
import com.google.inject.AbstractModule;
import com.simplyti.cloud.server.benchmark.tests.JsonSerialization;
import com.simplyti.cloud.server.benchmark.tests.Plaintext;
import com.simplyti.service.builder.di.guice.GuiceServic... | sumeetchhetri/FrameworkBenchmarks | frameworks/Java/simple-server/src/main/java/com/simplyti/cloud/server/benchmark/Main.java | Java | bsd-3-clause | 666 |
/* VIDIS is a simulation and visualisation framework for distributed systems.
Copyright (C) 2009 Dominik Psenner, Christoph Caks
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... | josepadilla930105/vidis | src/vidis/ui/model/structure/IGuiContainer.java | Java | gpl-3.0 | 2,144 |
/*
* Copyright (c) 2009, Swedish Institute of Computer Science.
* 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
* n... | vijaysrao/dipa | tools/mspsim/src/org/contikios/cooja/mspmote/plugins/MspBreakpoint.java | Java | gpl-3.0 | 7,777 |
/*
* Copyright 2014 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... | jasonchaffee/apiman | manager/api/beans/src/main/java/io/apiman/manager/api/beans/search/SearchCriteriaFilterBean.java | Java | apache-2.0 | 3,210 |
/**
* Copyright 2005-2015 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless requ... | bhutchinson/rice | rice-middleware/core/api/src/main/java/org/kuali/rice/core/api/util/xml/XmlException.java | Java | apache-2.0 | 1,230 |
package org.zstack.header.storage.backup;
import org.zstack.header.message.MessageReply;
/**
*/
public class BackupStorageDeletionReply extends MessageReply {
}
| zstackorg/zstack | header/src/main/java/org/zstack/header/storage/backup/BackupStorageDeletionReply.java | Java | apache-2.0 | 164 |
/*
* 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 ... | dlnufox/ignite | modules/core/src/main/java/org/apache/ignite/cache/CacheWriteSynchronizationMode.java | Java | apache-2.0 | 3,015 |
/**
* Copyright 2005-2015 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | bhutchinson/rice | rice-middleware/impl/src/main/java/org/kuali/rice/kew/xml/xstream/XStreamSafeSearchFunction.java | Java | apache-2.0 | 2,731 |
/*
* Copyright (C) 2008 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... | rgoldberg/guava | guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java | Java | apache-2.0 | 6,768 |
/*
* 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/common/RuleFlowGroupListener.java | Java | apache-2.0 | 714 |
package org.zstack.utils;
import java.util.HashMap;
import java.util.Map;
import static org.zstack.utils.StringDSL.ln;
/**
* Created by xing5 on 2016/6/16.
*/
public class StringBind {
private String template;
private Map<String, Object> tokens = new HashMap<>();
public StringBind(String template) {
... | zstackorg/zstack | utils/src/main/java/org/zstack/utils/StringBind.java | Java | apache-2.0 | 578 |
/*
* Copyright 2005 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... | ThiagoGarciaAlves/drools | drools-core/src/main/java/org/drools/core/audit/WorkingMemoryInMemoryLogger.java | Java | apache-2.0 | 2,779 |
package org.zstack.test.network;
import junit.framework.Assert;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.zstack.core.cloudbus.CloudBus;
import org.zstack.core.componentloader.ComponentLoader;
import org.zstack.core.db.DatabaseFacade;
import org.zstack.header.network.l2.L2Netwo... | zstackorg/zstack | test/src/test/java/org/zstack/test/network/TestFirstAvailableIpAllocatorStrategyReturnIp.java | Java | apache-2.0 | 2,723 |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* 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
* ... | profjrr/zaproxy | src/org/zaproxy/zap/spider/filters/DefaultParseFilter.java | Java | apache-2.0 | 3,774 |
/*
* 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 ... | mduerig/jackrabbit-oak | oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/ReferenceBinaryIT.java | Java | apache-2.0 | 7,625 |
// Copyright (c) 2011 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.sdk.tests.system.runner;
import java.io.File;
import java.util.List;
/**
* Gets a fresh Chromium build from build site in inte... | ParinVachhani/chromedevtools | utils/org.chromium.sdk.tests.system.runner/src/org/chromium/sdk/tests/system/runner/BuildLoader.java | Java | bsd-3-clause | 2,786 |
// Generated source.
// Generator: org.chromium.sdk.internal.wip.tools.protocolgenerator.Generator
// Origin: http://svn.webkit.org/repository/webkit/trunk/Source/WebCore/inspector/Inspector.json@142888
package org.chromium.sdk.internal.wip.protocol.output.page;
/**
Tells if backend supports continuous painting
*/
p... | ParinVachhani/chromedevtools | plugins/org.chromium.sdk.wipbackend.dev/src-wip-generated/org/chromium/sdk/internal/wip/protocol/output/page/CanContinuouslyPaintParams.java | Java | bsd-3-clause | 1,196 |
/*******************************************************************************
* Copyright (c) 2000, 2014 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... | gazarenkov/che-sketch | plugins/plugin-java/che-plugin-java-ext-jdt/org-eclipse-jdt-ui/src/main/java/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java | Java | epl-1.0 | 37,207 |
/*
* Copyright (c) 2007, 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... | FauxFaux/jdk9-jdk | test/sun/net/www/protocol/http/NTLMTest.java | Java | gpl-2.0 | 5,862 |
package com.engc.smartedu.support.utils;
import com.engc.smartedu.R;
public enum StatusMode {
offline(R.string.status_offline, -1), // 离线状态,没有图标
dnd(R.string.status_dnd, R.drawable.status_shield), // 请勿打扰
xa(R.string.status_xa, R.drawable.status_invisible), // 隐身
away(R.string.status_away, R.drawable.status_lea... | giserh/smartedu | src/com/engc/smartedu/support/utils/StatusMode.java | Java | gpl-3.0 | 909 |
/*
* Copyright (C) 2011 Cyril Mottier (http://www.cyrilmottier.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 req... | paristote/mobile-android-studio | greenDroid/src/main/java/greendroid/widget/PagedView.java | Java | lgpl-3.0 | 19,957 |
/*
* Title: CloudSim Toolkit
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
*
* Copyright (c) 2009-2012, The University of Melbourne, Australia
*/
package org.cloudbus.cloudsim.core;
import jav... | hewolf/VirtualMachinePlacement | src/org/cloudbus/cloudsim/core/CloudSim.java | Java | lgpl-3.0 | 26,689 |
/*
* 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 ... | nishantmonu51/druid | processing/src/main/java/org/apache/druid/query/topn/TopNAlgorithmSelector.java | Java | apache-2.0 | 2,113 |
/*
* 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 ... | jinglining/flink | flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/JobConfigHeaders.java | Java | apache-2.0 | 2,151 |
/* 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... | subhrajyotim/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/jobexecutor/NotifyAcquisitionRejectedJobsHandler.java | Java | apache-2.0 | 1,382 |
/*
* 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 ... | tknandu/CommonsMath_Modifed | math (trunk)/src/test/java/org/apache/commons/math3/stat/descriptive/summary/SumSqTest.java | Java | apache-2.0 | 2,507 |
package org.apache.lucene.search;
/*
* 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, Versi... | smartan/lucene | src/main/java/org/apache/lucene/search/TermRangeQuery.java | Java | apache-2.0 | 6,271 |
/**
* 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... | lburgazzoli/apache-camel | camel-core/src/main/java/org/apache/camel/impl/UriEndpointComponent.java | Java | apache-2.0 | 5,617 |
/*
* 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.ml.action;
import org.elasticsearch.comm... | gfyoung/elasticsearch | x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetBucketActionRequestTests.java | Java | apache-2.0 | 2,308 |
/*
* 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 ... | vldpyatkov/ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/partitioned/GridCachePartitionedQueueCreateMultiNodeSelfTest.java | Java | apache-2.0 | 7,759 |
package com.mxgraph.shape;
import com.mxgraph.canvas.mxGraphics2DCanvas;
import com.mxgraph.util.mxPoint;
import com.mxgraph.view.mxCellState;
public interface mxIMarker
{
/**
*
*/
mxPoint paintMarker(mxGraphics2DCanvas canvas, mxCellState state, String type,
mxPoint pe, double nx, double ny, double size, b... | md-k-sarker/OWLAx | src/main/java/com/mxgraph/shape/mxIMarker.java | Java | bsd-2-clause | 339 |
/*
* org.openmicroscopy.shoola.agents.imviewer.actions.UnitBarSizeAction
*
*------------------------------------------------------------------------------
* Copyright (C) 2006 University of Dundee. All rights reserved.
*
*
* This program is free software; you can redistribute it and/or modify
* it under the ... | jballanc/openmicroscopy | components/insight/SRC/org/openmicroscopy/shoola/agents/imviewer/actions/UnitBarSizeAction.java | Java | gpl-2.0 | 6,387 |
/*
* Copyright 1999-2011 Alibaba Group.
*
* 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... | zhushuchen/Ocean | 项目源码/dubbo/dubbo-rpc/dubbo-rpc-api/src/main/java/com/alibaba/dubbo/rpc/filter/GenericImplFilter.java | Java | agpl-3.0 | 8,743 |
package com.mossle.ext.message;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.jms.JMSException;
import javax.jms.MessageConsumer;
import javax.jms.Topic;
public class ProxyTopic implements Topic {
private Map<MessageConsumer, List<String>> map = n... | callmeyan/lemon | src/main/java/com/mossle/ext/message/ProxyTopic.java | Java | apache-2.0 | 1,306 |
// "Sort content" "true"
enum e {
Foo,
Bar,<caret>
Baz;
}
| siosio/intellij-community | java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/sortContent/beforeEnum.java | Java | apache-2.0 | 65 |
/*
* Copyright (C) 2009 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... | haikuowuya/android_system_code | src/android/webkit/ValueCallback.java | Java | apache-2.0 | 888 |