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 |
|---|---|---|---|---|---|
/**
* Package contains filter for wicket data tables
*/
package org.orienteer.core.component.table.component; | OrienteerBAP/Orienteer | orienteer-core/src/main/java/org/orienteer/core/component/table/component/package-info.java | Java | apache-2.0 | 111 |
/**
* Copyright 2005-2014 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... | hekonsek/fabric8 | sandbox/fabric8-etcd/core/src/main/java/io/fabric8/etcd/core/ImmutableNode.java | Java | apache-2.0 | 5,684 |
/**
* 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... | aaronwalker/camel | components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZookeeperProducer.java | Java | apache-2.0 | 7,870 |
/*
* 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/aries | proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/interfaces/InterfaceCombiningClassAdapter.java | Java | apache-2.0 | 6,805 |
/*
* Copyright 2002-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 ap... | qobel/esoguproject | spring-framework/spring-context/src/test/java/org/springframework/tests/sample/beans/Employee.java | Java | apache-2.0 | 840 |
package net.sourceforge.squirrel_sql.client;
/*
* Copyright (C) 2001-2006 Colin Bell
* colbell@users.sourceforge.net
*
* 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
* vers... | sdgdsffdsfff/bigtable-sql | src/main/java/net/sourceforge/squirrel_sql/client/DummyAppPlugin.java | Java | apache-2.0 | 1,677 |
/*
*
* Copyright 2013 the original author or authors.
* Copyright 2013 SorcerSoft.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/LICEN... | s13372/SORCER | core/sorcer-platform/src/main/java/sorcer/core/exertion/AltMogram.java | Java | apache-2.0 | 4,815 |
package com.s4game.server.bus.stagecontroll;
import com.s4game.server.bus.stagecontroll.position.AbsRolePosition;
import com.s4game.server.bus.stagecontroll.position.RoleNormalPosition;
public class RoleState {
private String roleId;
private AbsRolePosition curPosition;
private AbsRolePosition read... | zuesgooogle/HappyMj | mj-game/src/main/java/com/s4game/server/bus/stagecontroll/RoleState.java | Java | apache-2.0 | 1,193 |
/*
* 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 ... | apache/uima-addons | ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/ConfigPackage.java | Java | apache-2.0 | 67,486 |
package spork.internal;
import java.util.ArrayList;
import java.util.List;
import spork.extension.FieldBinder;
import spork.extension.MethodBinder;
import spork.extension.TypeBinder;
/**
* The Catalog holds a reference to all known field/method/type binder instances.
*/
public final class Catalog {
private final... | SporkLibrary/Spork-Android | spork/src/main/java/spork/internal/Catalog.java | Java | apache-2.0 | 1,135 |
/**
* Copyright 2005-2014 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... | hekonsek/fabric8 | sandbox/fabric/fabric-commands/src/main/java/io/fabric8/commands/ProfileListAction.java | Java | apache-2.0 | 3,254 |
/*
* Copyright (C) 2014 The Android Open Source Project
* Copyright (c) 1997, 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 Publi... | mirego/j2objc | jre_emul/android/platform/libcore/ojluni/src/main/java/java/util/jar/JarVerifier.java | Java | apache-2.0 | 31,476 |
/*
* Copyright 2016 ThoughtWorks, 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 agr... | aj-jaswanth/gocd | common/test/unit/com/thoughtworks/go/config/materials/git/GitMaterialShallowCloneTest.java | Java | apache-2.0 | 9,551 |
/*
* 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... | codescale/logging-log4j2 | log4j-core/src/test/java/org/apache/logging/log4j/core/layout/CsvLogEventLayoutTest.java | Java | apache-2.0 | 6,292 |
package org.apache.taverna.scufl2.api.common;
/*
* 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 Apach... | binfalse/incubator-taverna-language | taverna-scufl2-api/src/main/java/org/apache/taverna/scufl2/api/common/WorkflowBean.java | Java | apache-2.0 | 1,995 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not... | tgroh/incubator-beam | sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/rule/BeamProjectRule.java | Java | apache-2.0 | 2,003 |
package org.ovirt.engine.ui.genericapi.returnvalues;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.ovirt.engine.core.common.queries.ValueObject;
@XmlAccessorType(XmlAc... | raksha-rao/gluster-ovirt | frontend/api/genericapi/src/main/java/org/ovirt/engine/ui/genericapi/returnvalues/UIQueryReturnValue.java | Java | apache-2.0 | 994 |
/**
* 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... | intel-hadoop/hbase-rhino | hbase-server/src/test/java/org/apache/hadoop/hbase/master/snapshot/TestSnapshotFileCache.java | Java | apache-2.0 | 9,592 |
package com.michelboudreau.test;
import com.amazonaws.services.dynamodb.datamodeling.DynamoDBMapper;
import com.amazonaws.services.dynamodb.datamodeling.DynamoDBMapperConfig;
import com.amazonaws.services.dynamodb.datamodeling.DynamoDBQueryExpression;
import com.amazonaws.services.dynamodb.model.AttributeValue;
import... | jentfoo/Alternator | src/test/java/com/michelboudreau/test/AlternatorMapperTest.java | Java | apache-2.0 | 17,315 |
/*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... | SnappyDataInc/snappy-store | tests/core/src/main/java/cacheperf/comparisons/replicated/execute/ExecutePrms.java | Java | apache-2.0 | 1,840 |
package org.semanticweb.elk.reasoner.indexing.model;
/*
* #%L
* ELK Reasoner
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2011 - 2015 Department of Computer Science, University of Oxford
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with t... | liveontologies/elk-reasoner | elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/indexing/model/CachedIndexedObjectHasSelf.java | Java | apache-2.0 | 2,089 |
/*
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/debug/debugger/DebuggerHelpers.java | Java | apache-2.0 | 2,080 |
//*****************************************************************************
//*
//* (c) Copyright 2002. Glub Tech, Incorporated. All Rights Reserved.
//*
//* $Id: HostInfo.java 37 2009-05-11 22:46:15Z gary $
//*
//*****************************************************************************
package com.glub.secur... | glubtech/secureftp | src/com/glub/secureftp/bean/HostInfo.java | Java | apache-2.0 | 2,421 |
/*
* 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... | martinstuga/elasticsearch | core/src/test/java/org/elasticsearch/indices/recovery/IndexRecoveryIT.java | Java | apache-2.0 | 33,122 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | freeVM/freeVM | enhanced/java/classlib/modules/swing/src/main/java/common/javax/swing/text/Document.java | Java | apache-2.0 | 2,049 |
// 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.jetbrains.jsonSchema.extension;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.openapi.vfs.VfsUtil... | goodwinnk/intellij-community | json/src/com/jetbrains/jsonSchema/extension/JsonSchemaInfo.java | Java | apache-2.0 | 4,405 |
/*
* Copyright 2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | gradle/gradle | subprojects/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CrossBuildResultsStore.java | Java | apache-2.0 | 846 |
/* Copyright 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | apache/xmlbeans | samples/SubstitutionGroup/src/org/apache/xmlbeans/samples/substitutiongroup/SubstitutionGroup.java | Java | apache-2.0 | 9,175 |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... | lihongqiang/kettle-4.4.0-stable | src-core/org/pentaho/di/core/row/SpeedTest.java | Java | apache-2.0 | 7,980 |
/*
* Copyright 2014 http://Bither.net
*
* 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... | bither/bitherj | bitherj/src/main/java/net/bither/bitherj/api/GetCookieApi.java | Java | apache-2.0 | 1,805 |
/*
* 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 ... | hongyuhong/flink | flink-tests/src/test/java/org/apache/flink/test/state/operator/restore/keyed/KeyedJob.java | Java | apache-2.0 | 8,230 |
/*
* Copyright (C) 2010 Andrey Yeremenok (eav1986__at__gmail__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 requ... | 0359xiaodong/swing-formbuilder | src/formbuilder-parent/formbuilder-main/src/main/java/org/formbuilder/util/CGLibUtil.java | Java | apache-2.0 | 1,795 |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | camunda/camunda-bpm-platform | qa/integration-tests-engine/src/test/java/org/camunda/bpm/integrationtest/jobexecutor/ManagedJobExecutorTest.java | Java | apache-2.0 | 5,690 |
/*
* 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 ... | ankitsinghal/phoenix | phoenix-pherf/src/it/java/org/apache/phoenix/pherf/workload/mt/TenantViewOperationWorkloadIT.java | Java | apache-2.0 | 7,326 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2010 Red Hat Inc. and/or its affiliates and other contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may n... | andreiserea/arquillian-core | test/spi/src/main/java/org/jboss/arquillian/test/spi/context/ClassContext.java | Java | apache-2.0 | 1,083 |
/*
* Copyright 2017 RedRoma, 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 ... | RedRoma/aroma-application-service | src/test/java/tech/aroma/application/service/reactions/actions/IgnoreInboxTest.java | Java | apache-2.0 | 2,079 |
/*
* 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
* "Licen... | ankitsinghal/phoenix | phoenix-pherf/src/main/java/org/apache/phoenix/pherf/configuration/Query.java | Java | apache-2.0 | 5,103 |
/*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... | gemxd/gemfirexd-oss | tests/core/src/main/java/hydra/NumVector.java | Java | apache-2.0 | 9,494 |
/**
* OLAT - Online Learning and Training<br>
* http://www.olat.org
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* ... | RLDevOps/Demo | src/main/java/org/olat/course/nodes/info/InfoPeekViewController.java | Java | apache-2.0 | 6,892 |
package org.csanchez.jenkins.plugins.kubernetes;
import hudson.Extension;
import hudson.model.AbstractDescribableImpl;
import hudson.model.Descriptor;
import org.jenkinsci.Symbol;
import io.fabric8.kubernetes.api.model.ContainerPort;
import java.io.Serializable;
import org.kohsuke.stapler.DataBoundConstructor;
impor... | azweb76/kubernetes-plugin | src/main/java/org/csanchez/jenkins/plugins/kubernetes/PortMapping.java | Java | apache-2.0 | 3,224 |
package io.anyway.sherlock.datasource.support.strategy;
import javax.sql.DataSource;
import io.anyway.sherlock.datasource.PartitionDataSource;
import io.anyway.sherlock.datasource.support.WeightDataSourceProxy;
public class WeightStrategyWithMasterSupport extends WeightStrategySupport {
@Override
public DataSour... | balanacebeam/PDDL | sherlock-core/src/main/java/io/anyway/sherlock/datasource/support/strategy/WeightStrategyWithMasterSupport.java | Java | apache-2.0 | 545 |
/*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | wso2/carbon-maven-plugins | carbon-feature-plugin/src/main/java/org/wso2/maven/p2/exceptions/CarbonArtifactNotFoundException.java | Java | apache-2.0 | 1,081 |
package org.apache.maven.model.transform;
/*
* 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 Li... | apache/maven | maven-model-transform/src/test/java/org/apache/maven/model/transform/ParentXMLFilterTest.java | Java | apache-2.0 | 9,688 |
/**
*
* Copyright 2003-2007 Jive Software.
*
* 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... | Soo000/SooChat | src/org/jivesoftware/smackx/workgroup/agent/OfferConfirmation.java | Java | apache-2.0 | 3,847 |
/*
* Copyright 2017 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 app... | etirelli/jbpm | jbpm-container-test/jbpm-in-container-test/jbpm-container-test-suite/src/main/java/org/jbpm/test/container/listeners/TrackingProcessEventListener.java | Java | apache-2.0 | 4,273 |
// 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... | GabrielBrascher/cloudstack | framework/db/src/main/java/com/cloud/utils/db/DriverLoader.java | Java | apache-2.0 | 2,605 |
/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | asedunov/intellij-community | java/java-analysis-impl/src/com/intellij/codeInspection/dataFlow/HardcodedContracts.java | Java | apache-2.0 | 16,581 |
/*
Copyright 2008-2013 ITACA-TSB, http://www.tsb.upv.es/
Instituto Tecnologico de Aplicaciones de Comunicacion
Avanzadas - Grupo Tecnologias para la Salud y el
Bienestar (TSB)
See the NOTICE file distributed with this work for additional
information regarding copyright ownership
Licensed unde... | cdjackson/zigbee4java | zigbee-dongle-cc2531/src/main/java/org/bubblecloud/zigbee/network/packet/simple/ZB_ALLOW_BIND.java | Java | apache-2.0 | 2,297 |
package org.apache.archiva.configuration.model.functors;
/*
* 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 unde... | apache/archiva | archiva-modules/archiva-base/archiva-configuration/archiva-configuration-model/src/main/java/org/apache/archiva/configuration/model/functors/ProxyConnectorSelectionPredicate.java | Java | apache-2.0 | 1,916 |
/*************************GO-LICENSE-START*********************************
* Copyright 2014 ThoughtWorks, 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... | varshavaradarajan/gocd | server/src/main/java/com/thoughtworks/go/server/materials/postcommit/svn/SvnPostCommitHookImplementer.java | Java | apache-2.0 | 2,811 |
/*
* Copyright 2003-2008 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 app... | Selventa/model-builder | tools/groovy/src/src/test/org/codehaus/groovy/transform/NonPublicInterface.java | Java | apache-2.0 | 828 |
/*
* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* -Redistribution of source code must retain the above copyright notice, this
* ... | WhiteBearSolutions/WBSAirback | packages/wbsairback-java/wbsairback-java-7.0.1/usr/share/wbsairback/java/sample/jnlp/servlet/src/classes/jnlp/sample/servlet/JarDiffHandler.java | Java | apache-2.0 | 14,422 |
/**
* 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... | gustavoanatoly/hbase | hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotMetadata.java | Java | apache-2.0 | 12,884 |
/*
* 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 ... | darionyaphet/flink | flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/config/TableConfigOptions.java | Java | apache-2.0 | 3,646 |
/*
* 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... | struberg/deltaspike | deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/ConfigurableTestConfigSource.java | Java | apache-2.0 | 3,013 |
/**
* Copyright 2015-2017 Linagora, Université Joseph Fourier, Floralis
*
* The present code is developed in the scope of the joint LINAGORA -
* Université Joseph Fourier - Floralis research program and is designated
* as a "Result" pursuant to the terms and conditions of the LINAGORA
* - Université Joseph Fourie... | gibello/roboconf | core/roboconf-core/src/main/java/net/roboconf/core/commands/CommandsParser.java | Java | apache-2.0 | 8,460 |
/*
* Copyright 2020 LINE Corporation
*
* LINE Corporation 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | line/armeria | core/src/main/java/com/linecorp/armeria/client/endpoint/EmptyEndpointGroupException.java | Java | apache-2.0 | 2,481 |
/*
* Copyright 2016 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... | iperdomo/keycloak | testsuite/integration/src/test/java/org/keycloak/testsuite/model/UserSessionProviderTest.java | Java | apache-2.0 | 25,703 |
/*
* Copyright 2011 <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a>
*
* 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
... | chkal/rewrite | showcase/bookstore/src/main/java/org/ocpsoft/rewrite/showcase/bookstore/web/list/CategoryBean.java | Java | apache-2.0 | 2,115 |
/**
* Copyright 2015 LinkedIn Corp. 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 applica... | alyiwang/WhereHows | wherehows-common/src/main/java/wherehows/common/schemas/DatasetInventoryPropertiesRecord.java | Java | apache-2.0 | 1,738 |
/*
* Copyright 2017 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 app... | jhrcek/kie-wb-common | kie-wb-common-dmn/kie-wb-common-dmn-client/src/main/java/org/kie/workbench/common/dmn/client/commands/expressions/types/function/supplementary/MoveRowsCommand.java | Java | apache-2.0 | 6,228 |
package org.zstack.network.l3;
import org.zstack.core.GlobalProperty;
import org.zstack.core.GlobalPropertyDefinition;
/**
*/
@GlobalPropertyDefinition
public class NetworkGlobalProperty {
@GlobalProperty(name = "skip.ipv6", defaultValue = "false")
public static boolean SKIP_IPV6;
@GlobalProperty(name =... | zstackio/zstack | network/src/main/java/org/zstack/network/l3/NetworkGlobalProperty.java | Java | apache-2.0 | 549 |
/*##########################################################################
_##
_## $Id$
_##
_##########################################################################*/
package jrds.probe.snmp;
import java.util.Set;
import org.snmp4j.smi.OID;
/**
* This probe is used to do simple mapping from oid to datas... | springlin2012/Mycat-Web | src/main/java/jrds/probe/snmp/RdsSnmpSimple.java | Java | apache-2.0 | 592 |
/*
* 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... | MaineC/elasticsearch | core/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/SameShardAllocationDecider.java | Java | apache-2.0 | 6,524 |
package com.sanders.db.sanders.com.dbproject;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTes... | SSOOnline/android-orm | sample/src/androidTest/java/com/sanders/db/sanders/com/dbproject/ApplicationTest.java | Java | apache-2.0 | 367 |
/*
* 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... | psiroky/droolsjbpm-tools | drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/flow/common/editor/editpart/GraphLayoutManager.java | Java | apache-2.0 | 1,292 |
/* (c) 2014 LinkedIn Corp. 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 ag... | linkedin/Cubert | src/main/java/com/linkedin/cubert/block/MergedTupleCreator.java | Java | apache-2.0 | 2,655 |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | android-ia/platform_tools_idea | platform/indexing-impl/src/com/intellij/openapi/module/impl/scopes/ModuleWithDependentsScope.java | Java | apache-2.0 | 3,906 |
/**
* 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... | grgrzybek/camel | components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiBeanManagerHelper.java | Java | apache-2.0 | 2,510 |
/*
* 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.analytics.mapper;
import com.carrotsearch.hp... | HonzaKral/elasticsearch | x-pack/plugin/analytics/src/main/java/org/elasticsearch/xpack/analytics/mapper/HistogramFieldMapper.java | Java | apache-2.0 | 21,691 |
package io.katharsis.repository.exception;
import io.katharsis.errorhandling.exception.KatharsisMatchingException;
public class RepositoryAnnotationNotFoundException extends KatharsisMatchingException {
public RepositoryAnnotationNotFoundException(String message) {
super(message);
}
}
| zachncst/katharsis-core | src/main/java/io/katharsis/repository/exception/RepositoryAnnotationNotFoundException.java | Java | apache-2.0 | 305 |
/*******************************************************************************
* Code contributed to the webinos 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.... | krishnabangalore/Webinos-Platform | webinos/platform/android/wrt/src/org/webinos/wrt/renderer/WebChromeClient.java | Java | apache-2.0 | 1,937 |
/**
* Copyright 2005-2014 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... | hekonsek/fabric8 | components/fabric8-utils/src/main/java/io/fabric8/utils/CompositeFilter.java | Java | apache-2.0 | 1,403 |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.google.mail;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.spi.Conf... | apache/camel | components/camel-google/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailEndpointConfigurer.java | Java | apache-2.0 | 13,796 |
/*
* 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/segment/virtual/VirtualizedColumnInspector.java | Java | apache-2.0 | 2,143 |
/*
* 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 | tools/envisage/src/test/java/org/apache/polygene/envisage/school/domain/person/assembly/PersonModelAssembler.java | Java | apache-2.0 | 1,677 |
package org.apache.hadoop.dfs;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.net.NetworkTopology;
import junit.framework.TestCase;
public class TestReplicationPolicy extends TestCase {
priva... | moreus/hadoop | hadoop-0.11.2/src/test/org/apache/hadoop/dfs/TestReplicationPolicy.java | Java | apache-2.0 | 14,551 |
/*
* Copyright 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 required by applica... | gradle/gradle | subprojects/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestCaseRerunHandling.java | Java | apache-2.0 | 750 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | christophd/camel | core/camel-core-model/src/main/java/org/apache/camel/model/SendDefinition.java | Java | apache-2.0 | 3,458 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | deepakddixit/incubator-geode | geode-core/src/main/java/org/apache/geode/cache/wan/GatewayReceiverFactory.java | Java | apache-2.0 | 3,629 |
/*******************************************************************************
*
* Copyright (c) 2004-2010 Oracle Corporation.
*
* 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 i... | sap-production/hudson-3.x | hudson-core/src/main/java/hudson/MarkupText.java | Java | apache-2.0 | 10,245 |
package test.configuration;
import java.util.Arrays;
import java.util.List;
import org.testng.Assert;
import org.testng.TestNG;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
public class GroupsTest {
private TestNG m_testNg;
@BeforeMethod
public void setUp() {
m_test... | ludovicc/testng-debian | test/src/test/configuration/GroupsTest.java | Java | apache-2.0 | 1,353 |
/*
* Copyright 2017 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 ... | cushon/error-prone | core/src/test/java/com/google/errorprone/bugpatterns/android/testdata/CustomFragmentNotInstantiablePositiveCases.java | Java | apache-2.0 | 2,433 |
package com.couchbase.lite;
import com.couchbase.lite.util.Log;
import com.couchbase.touchdb.RevCollator;
import com.couchbase.touchdb.TDCollateJSON;
import com.fasterxml.jackson.databind.ObjectMapper;
import junit.framework.Assert;
public class CollationTest extends LiteTestCase {
public static String TAG = "C... | cesine/couchbase-lite-android | src/androidTest/java/com/couchbase/lite/CollationTest.java | Java | apache-2.0 | 9,058 |
/*
* Copyright 2021 Apollo 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 agreed to i... | ctripcorp/apollo | apollo-core/src/main/java/com/ctrip/framework/apollo/core/schedule/ExponentialSchedulePolicy.java | Java | apache-2.0 | 1,428 |
/*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2014 - 2017 Board of Regents of the University of
* Wisconsin-Madison, University of Konstanz and Brian Northan.
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permi... | gab1one/imagej-ops | src/main/java/net/imagej/ops/special/AbstractBinaryOp.java | Java | bsd-2-clause | 1,823 |
package tonegod.gui.core;
import tonegod.gui.style.Style;
import com.jme3.app.Application;
import com.jme3.collision.CollisionResult;
import com.jme3.collision.CollisionResults;
import com.jme3.export.JmeExporter;
import com.jme3.export.JmeImporter;
import com.jme3.font.BitmapFont;
import com.jme3.input.KeyIn... | meltzow/tonegodgui | src/tonegod/gui/core/SubScreen.java | Java | bsd-2-clause | 47,888 |
package org.jvnet.jaxb2_commons.xjc.outline.concrete;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.apache.commons.lang3.Validate;
import org.jvnet.jaxb2_commons.xjc.outline.MEnumConstantOutline;
import org.jvnet.jaxb2_commons.xjc.outline.MEnumOutline;
import org.jvnet.ja... | Stephan202/jaxb2-basics | tools/src/main/java/org/jvnet/jaxb2_commons/xjc/outline/concrete/CMEnumOutline.java | Java | bsd-2-clause | 2,030 |
/*
* Copyright 2014 Attila Szegedi, Daniel Dekany, Jonathan Revusky
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | ekollof/DarkUniverse | lib/Freemarker/source/src/test/java/freemarker/test/servlet/Model2Action.java | Java | bsd-2-clause | 1,428 |
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008-2016. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | JLLeitschuh/allwpilib | wpilibjIntegrationTests/src/main/java/edu/wpi/first/wpilibj/test/TestSuite.java | Java | bsd-3-clause | 13,796 |
/*
* Copyright 2015, Yahoo Inc.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/
package com.yahoo.gondola.container;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.yahoo.gondola.Config;
import org.apache.curator.framework.CuratorFramework;
import... | patc888/gondola | containers/registration/src/main/java/com/yahoo/gondola/container/RegistryClients.java | Java | bsd-3-clause | 1,376 |
package org.hisp.dhis.setting;
/*
* Copyright (c) 2004-2016, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the abov... | mortenoh/dhis2-core | dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/setting/SystemSettingManagerTest.java | Java | bsd-3-clause | 6,442 |
/*
* Copyright (c) 2018 jMonkeyEngine
* 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 condi... | zzuegg/jmonkeyengine | jme3-bullet/src/main/java/com/jme3/bullet/collision/CollisionFlag.java | Java | bsd-3-clause | 3,292 |
package org.broadinstitute.hellbender.tools.spark.sv.discovery.alignment;
import htsjdk.samtools.Cigar;
import htsjdk.samtools.CigarElement;
import htsjdk.samtools.CigarOperator;
import htsjdk.samtools.TextCigarCodec;
import org.broadinstitute.hellbender.GATKBaseTest;
import org.broadinstitute.hellbender.exceptions.GA... | magicDGS/gatk | src/test/java/org/broadinstitute/hellbender/tools/spark/sv/discovery/alignment/ContigAlignmentsModifierUnitTest.java | Java | bsd-3-clause | 31,806 |
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* 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 ... | atomixnmc/jmonkeyengine | jme3-lwjgl/src/main/java/com/jme3/input/lwjgl/LwjglMouseInput.java | Java | bsd-3-clause | 7,267 |
package org.motechproject.testing.utils.server;
import org.mortbay.jetty.Request;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.servlet.Context;
import org.mortbay.jetty.servlet.DefaultServlet;
import org.mortbay.jetty.servlet.ServletHolder;
import org.motechproject.commons.api.MotechException;
import jav... | bruceMacLeod/motech-server-pillreminder-0.18 | modules/testing-utils/testing-utils/src/main/java/org/motechproject/testing/utils/server/StubServer.java | Java | bsd-3-clause | 2,714 |
// Copyright 2010-2015, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | takahashikenichi/mozc | src/android/tests/src/com/google/android/inputmethod/japanese/session/SocketSessionHandlerTest.java | Java | bsd-3-clause | 5,612 |
public class FemaleBoss extends Woman {
public FemaleBoss(){
super();
}
public String react(String complement, String adj, String noun, String verb) {
if(complementNumber==0) return "This is highly inappropriate.";
else if(complementNumber==1){
if((noun.equals("work-ethic")||noun.equals("dream... | mike-n-7/PeepholeOptimizer | PeepholeBenchmarks/bench06/FemaleBoss.java | Java | bsd-3-clause | 2,077 |
//
// DifferentiableOperation.java: Source file for 'DifferentiableOperation'
// Project xal
//
// Created by Tom Pelaia II on 4/29/11
// Copyright 2011 Oak Ridge National Lab. All rights reserved.
//
package xal.tools.math.differential;
import org.junit.*;
/** Test DifferentiableOperation */
public class TestDiffe... | EuropeanSpallationSource/openxal | test/src/test/java/xal/tools/math/differential/TestDifferentiableOperation.java | Java | bsd-3-clause | 7,038 |
// Copyright 2019 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.autofill_assistant;
import static androidx.test.espresso.Espresso.onView;
import static androidx.test.espresso.assert... | ric2b/Vivaldi-browser | chromium/chrome/android/features/autofill_assistant/javatests/src/org/chromium/chrome/browser/autofill_assistant/AutofillAssistantInfoBoxUiTest.java | Java | bsd-3-clause | 6,693 |