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 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/commons-net | src/test/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParserTest.java | Java | apache-2.0 | 20,231 |
/*
* 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 u... | akumarb2010/incubator-drill | exec/java-exec/src/test/java/org/apache/drill/exec/fn/impl/TestDateAddFunctions.java | Java | apache-2.0 | 3,589 |
/*
* 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 ... | jdeppe-pivotal/geode | geode-junit/src/main/java/org/apache/geode/management/internal/cli/domain/Stock.java | Java | apache-2.0 | 1,175 |
/*
* Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software;Designed and Developed mainly by many Chinese
* opensource volunteers. you can redistribute it and/or modify it under the
* ... | youngor/openclouddb | MyCAT_1.2/src/main/java/org/opencloudb/response/ShowSQLExecute.java | Java | apache-2.0 | 4,254 |
package com.linkedin.thirdeye.anomaly.api;
import com.linkedin.thirdeye.anomaly.api.external.AnomalyDetectionFunction;
import com.linkedin.thirdeye.anomaly.database.FunctionTableRow;
import com.linkedin.thirdeye.anomaly.exception.IllegalFunctionException;
import com.linkedin.thirdeye.api.StarTreeConfig;
/**
* When s... | cocosli/pinot | thirdeye/thirdeye-anomaly/src/main/java/com/linkedin/thirdeye/anomaly/api/AnomalyDetectionFunctionFactory.java | Java | apache-2.0 | 1,007 |
package edu.byu.support.utils;
import java.util.Date;
/**
* Created by cwoodfie on 10/10/16
*/
public class ParcelUtils {
private static final long NULL_DATE = Long.MIN_VALUE;
public static long nullableDateToLong(Date date) {
return date == null ? NULL_DATE : date.getTime();
}
public static Date longToNu... | byu-oit/android-byu-suite-v2 | support/src/main/java/edu/byu/support/utils/ParcelUtils.java | Java | apache-2.0 | 401 |
/*
* Copyright 2019 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 appli... | rest-assured/rest-assured | rest-assured/src/main/java/io/restassured/specification/FilterableResponseSpecification.java | Java | apache-2.0 | 1,773 |
/*
* 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... | pkman/droolsjbpm-tools | drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/refactoring/RuleIFileRenameParticipant.java | Java | apache-2.0 | 6,867 |
// 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.openapi.command;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.components.S... | msebire/intellij-community | platform/core-api/src/com/intellij/openapi/command/CommandProcessor.java | Java | apache-2.0 | 5,249 |
/*
* Copyright (c) 2008-2020, 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 ... | mdogan/hazelcast | hazelcast/src/test/java/com/hazelcast/client/map/impl/nearcache/ClientMapNearCachePreloaderSlowTest.java | Java | apache-2.0 | 2,533 |
/*
* 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/cocoon | blocks/cocoon-web3/cocoon-web3-impl/src/main/java/org/apache/cocoon/components/web3/Web3Streamer.java | Java | apache-2.0 | 1,214 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Fabryprog/camel | components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/Soap12DataFormatAdapter.java | Java | apache-2.0 | 10,429 |
/* ***** 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-arr/tags/DCM4CHEE_ARR_3_0_1/dcm4chee-arr-seam-ejb/src/main/java/org/dcm4chee/arr/seam/ejb/XSLTUtils.java | Java | apache-2.0 | 4,659 |
// "Replace with 'Files.newInputStream'" "true"
import java.io.*;
import java.nio.file.Paths;
class Foo {
void test(String path, boolean b, boolean b1) {
Path name = Paths.get(b ? b1 ? "foo" : path : "baz");
path = "bar";
try (InputStream is = new FileInputStre<caret>am(b ? b1 ? "foo" : path : "baz")) {
... | jwren/intellij-community | java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/ioStreamConstructor/beforeInputStreamFromTernaryInTernaryNonFinalVar.java | Java | apache-2.0 | 398 |
/*
* Copyright 2014-present Facebook, 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... | darkforestzero/buck | test/com/facebook/buck/cxx/CxxLibraryDescriptionTest.java | Java | apache-2.0 | 65,008 |
package edu.berkeley.ground.postgres.filters;
import akka.stream.Materializer;
import java.util.concurrent.CompletionStage;
import java.util.concurrent.Executor;
import java.util.function.Function;
import javax.inject.Inject;
import javax.inject.Singleton;
import play.mvc.Filter;
import play.mvc.Http.RequestHeader;
im... | ground-context/ground | modules/postgres/app/edu/berkeley/ground/postgres/filters/GroundFilter.java | Java | apache-2.0 | 1,138 |
package com.netsteadfast.greenstep.po.hbm;
import java.util.Date;
//import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
//import javax.persistence.FetchType;
import javax.persistence.Id;
//import javax.persistence.JoinColumn;
//import javax.persistence.OneToOne;
imp... | quangnguyen9x/bamboobsc_quangnv | core-lib/PO-HBM/com/netsteadfast/greenstep/po/hbm/TbAccount.java | Java | apache-2.0 | 3,378 |
/**
* 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... | bbevens/drill | exec/java-exec/src/main/java/org/apache/drill/exec/planner/physical/UnionPrel.java | Java | apache-2.0 | 1,854 |
package cgeo.geocaching.sorting;
import cgeo.geocaching.models.Geocache;
import cgeo.geocaching.storage.SqlBuilder;
import androidx.annotation.NonNull;
import java.util.Locale;
/**
* sorts caches by number of items in inventory
*/
class InventoryComparator extends AbstractCacheComparator {
@Override
prot... | rsudev/c-geo-opensource | main/src/cgeo/geocaching/sorting/InventoryComparator.java | Java | apache-2.0 | 821 |
package com.ztiany.mall.utils;
import org.apache.commons.beanutils.BeanUtils;
import org.apache.commons.beanutils.ConvertUtils;
import java.lang.reflect.InvocationTargetException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Map;
/**
* @author Ztiany
*... | Ztiany/CodeRepository | JavaEE/Project-Mall/src/main/java/com/ztiany/mall/utils/WebBeanUtils.java | Java | apache-2.0 | 1,592 |
package org.orienteer.architect;
import com.orientechnologies.orient.core.db.document.ODatabaseDocument;
import com.orientechnologies.orient.core.metadata.schema.OType;
import com.orientechnologies.orient.core.record.impl.ODocument;
import org.orienteer.core.CustomAttribute;
import org.orienteer.core.OrienteerWebAppli... | OrienteerDW/Orienteer | orienteer-architect/src/main/java/org/orienteer/architect/OArchitectModule.java | Java | apache-2.0 | 2,161 |
/**
* 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
* distribu... | tomdw/aries | cdi/cdi-extender/src/main/java/org/apache/aries/cdi/container/internal/util/DTOs.java | Java | apache-2.0 | 11,364 |
/*
* 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... | apache/olingo-odata4 | lib/server-core/src/main/java/org/apache/olingo/server/core/batchhandler/referenceRewriting/BatchReferenceRewriter.java | Java | apache-2.0 | 4,476 |
/*
* 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... | sdnwiselab/onos | apps/cfm/src/main/java/org/onosproject/cfm/cli/CfmMaAddCommand.java | Java | apache-2.0 | 8,138 |
package ca.uhn.fhir.fhirpath;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.util.TestUtil;
import org.hl7.fhir.dstu3.model.HumanName;
import org.hl7.fhir.dstu3.model.Patient;
import org.hl7.fhir.dstu3.model.StringType;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Test;
import java.... | aemay2/hapi-fhir | hapi-fhir-validation/src/test/java/ca/uhn/fhir/fhirpath/FluentPathTest.java | Java | apache-2.0 | 2,643 |
/*
* Copyright 2014 OpenRQ Team
*
* 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... | bdobyns/OpenRQ | src/main/net/fec/openrq/DataUtils.java | Java | apache-2.0 | 13,230 |
/*
* Copyright (c) 2018 stnetix.com. 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 ... | vasap87/ariADDna | common-utils/src/main/java/com/stnetix/ariaddna/commonutils/dto/KeyStorePasswordDTO.java | Java | apache-2.0 | 1,206 |
/*
* Copyright 2013 Cloudera 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... | cloudera/cdk | cdk-morphlines/cdk-morphlines-hadoop-rcfile/src/test/java/com/cloudera/cdk/morphline/hadoop/rcfile/ReadRCFileTest.java | Java | apache-2.0 | 7,968 |
package com.outbrain.ob1k.consul;
import com.outbrain.ob1k.server.Server;
/**
* A provider for the {@link ServiceRegistration} data to be registered to consul.
*
* @author Eran Harel
*/
public interface ServiceRegistrationDataProvider {
/**
* Provides the {@link ServiceRegistration} data to be registered to... | outbrain/ob1k | ob1k-consul/src/main/java/com/outbrain/ob1k/consul/ServiceRegistrationDataProvider.java | Java | apache-2.0 | 589 |
package com.lambdaworks.redis;
/**
* Geo element within a certain radius. Contains:
* <ul>
* <li>the member</li>
* <li>the distance from the reference point (if requested)</li>
* <li>the geohash (if requested)</li>
* <li>the coordinates (if requested)</li>
* </ul>
*
* @param <V> Value type.
* @author <a hre... | Hocdoc/lettuce | src/main/java/com/lambdaworks/redis/GeoWithin.java | Java | apache-2.0 | 2,251 |
/**
*
*/
package com.github.nest.arcteryx.persistent.oneToOne;
import static org.junit.Assert.assertEquals;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
... | bradwoo8621/nest-old | arcteryx-persistent-hibernate/src/test/java/com/github/nest/arcteryx/persistent/oneToOne/TestOneToOne.java | Java | apache-2.0 | 9,427 |
/*
* 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... | wuranbo/elasticsearch | test/framework/src/main/java/org/elasticsearch/test/TestSearchContext.java | Java | apache-2.0 | 13,993 |
/*
* Copyright 2015 - 2017 Atlarge Research Team,
* operating at Technische Universiteit Delft
* and Vrije Universiteit Amsterdam, 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... | wlngai/granula | granula-modeller/src/main/java/science/atlarge/granula/modeller/rule/derivation/BasicSummaryDerivation.java | Java | apache-2.0 | 3,450 |
package com.payneteasy.superfly.model.ui.smtp_server;
import javax.persistence.Column;
import java.io.Serializable;
/**
* @author rpuch
*/
public class UISmtpServerForFilter implements Serializable {
private long id;
private String name;
@Column(name = "ssrv_id")
public long getId() {
retur... | rpuch/superfly | superfly-service/src/main/java/com/payneteasy/superfly/model/ui/smtp_server/UISmtpServerForFilter.java | Java | apache-2.0 | 560 |
package info.novatec.testit.webtester.junit5.extensions.pages;
import java.lang.reflect.Field;
import java.util.List;
import java.util.Map;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.extension.BeforeEachCallback;
import org.junit.jupiter.api.extension.Extension;
import org.junit.jupiter.api... | slu-it/webtester2-core | webtester-support-junit5/src/main/java/info/novatec/testit/webtester/junit5/extensions/pages/PageInitializerExtension.java | Java | apache-2.0 | 3,629 |
/**
* Copyright 2015 Expedia 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 t... | methylene/plunger | src/test/java/com/hotels/plunger/IntegrationTest.java | Java | apache-2.0 | 2,426 |
package io.leopard.core.exception.other;
/**
* 链接已失效
*
* @author 谭海潮
*
*/
public class UrlExpiredException extends Exception {
private static final long serialVersionUID = 1L;
public UrlExpiredException(String message) {
super("链接已失效[" + message + "]");
}
}
| tanhaichao/leopard | leopard-lang-parent/leopard-exception/src/main/java/io/leopard/core/exception/other/UrlExpiredException.java | Java | apache-2.0 | 298 |
package org.carlspring.strongbox.providers.layout;
import org.carlspring.strongbox.artifact.coordinates.P2ArtifactCoordinates;
import org.carlspring.strongbox.providers.io.RepositoryFiles;
import org.carlspring.strongbox.providers.io.RepositoryPath;
import org.carlspring.strongbox.repository.P2RepositoryFeatures;
imp... | strongbox/strongbox | strongbox-storage/strongbox-storage-layout-providers/strongbox-storage-p2-layout-provider/src/main/java/org/carlspring/strongbox/providers/layout/P2LayoutProvider.java | Java | apache-2.0 | 2,059 |
/*
* Copyright (c) 2008-2020, 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 ... | mdogan/hazelcast | hazelcast/src/test/java/com/hazelcast/client/cp/internal/session/ClientSessionManagerTest.java | Java | apache-2.0 | 3,604 |
/*
* Copyright 2015 - 2017 Atlarge Research Team,
* operating at Technische Universiteit Delft
* and Vrije Universiteit Amsterdam, 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... | wlngai/granula | granula-monitor/src/main/java/science/atlarge/granula/monitor/alpha/debugger/Exeuctors.java | Java | apache-2.0 | 3,200 |
/*
* 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 ... | dindin5258/calcite | core/src/main/java/org/apache/calcite/util/CompositeList.java | Java | apache-2.0 | 4,056 |
/*
* Copyright (c) 2015 Michell Bak
*
* 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... | MizzleDK/Mizuu-2 | app/src/main/java/tv/mizuu/app/DeviceDisplay.java | Java | apache-2.0 | 1,632 |
package ${packageName};
import org.apache.wicket.protocol.http.WebApplication;
/**
* Application object for your web application. If you want to run this application without deploying, run the Start class.
*
* @see ${packageName}.Start#main(String[])
*/
public class WicketApplication extends WebApplication
{ ... | Servoy/wicket | archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/WicketApplication.java | Java | apache-2.0 | 527 |
/*
* Copyright 2014-2019 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | Netflix/spectator | spectator-api/src/main/java/com/netflix/spectator/api/AbstractMeter.java | Java | apache-2.0 | 2,093 |
/*******************************************************************************
* Copyright 2012
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*... | TitasNandi/Summer_Project | dkpro-similarity-master/dkpro-similarity-algorithms-vsm-asl/src/main/java/dkpro/similarity/algorithms/vsm/store/convert/ConvertLuceneToVectorIndex.java | Java | apache-2.0 | 4,356 |
package org.sagebionetworks.web.client.widget.entity;
import com.google.gwt.user.client.ui.IsWidget;
public interface EntityMetadataView extends IsWidget {
public void setDetailedMetadataVisible(boolean visible);
void setAnnotationsVisible(boolean visible);
void setDescriptionVisible(boolean visible);
public ... | Sage-Bionetworks/SynapseWebClient | src/main/java/org/sagebionetworks/web/client/widget/entity/EntityMetadataView.java | Java | apache-2.0 | 991 |
/* Generated By:JJTree: Do not edit this line. ASTGroupCondition.java Version 4.3 */
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=true,TRACK_TOKENS=false,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
package org.openrdf.query.parser.sparql.ast;
public
class ASTG... | ConstantB/ontop-spatial | obdalib-sesame/src/main/java/org/openrdf/query/parser/sparql/ast/ASTGroupCondition.java | Java | apache-2.0 | 1,004 |
/*
* 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 ... | ra0077/jmeter | src/protocol/http/org/apache/jmeter/protocol/http/control/KerberosManager.java | Java | apache-2.0 | 5,299 |
package com.bxtel.model.model;
import com.bxtel.model.*;
import java.util.*;
public class com.bxtel.model.Sms
{
public long id;//id
public java.lang.String mobile;//mobile
public java.lang.String content;//content
public java.lang.String msgid;//msgid
public java.lang.String status;//status
public ... | zzsoszz/springbootsearch | target/demo/v1.0.0/java/com/bxtel/model/controller/com.bxtel.model.sms/model.java | Java | apache-2.0 | 1,670 |
/*
* Copyright (c) 2013-2017 Cinchapi 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... | dubex/concourse | concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/ParenthesisSymbol.java | Java | apache-2.0 | 1,567 |
/**
* Generated with Acceleo
*/
package org.wso2.developerstudio.eclipse.gmf.esb.components;
// Start of user code for imports
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.util.BasicDiagnostic;
import org.eclipse.emf.common.util.Diagnostic;
import org.eclipse.emf.common.util.Wrap... | prabushi/devstudio-tooling-esb | plugins/org.wso2.developerstudio.eclipse.gmf.esb.edit/src-gen/org/wso2/developerstudio/eclipse/gmf/esb/components/URLRewriteRulePropertiesEditionComponent.java | Java | apache-2.0 | 10,064 |
/*
* Copyright (C) 2015 Willi Ye
*
* 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... | yoinx/kernel_adiutor | app/src/main/java/com/grarak/kerneladiutor/fragments/kernel/WakeLockFragment.java | Java | apache-2.0 | 11,309 |
/*
* Copyright 2012-2015 Aerospike, Inc.
*
* Portions may be licensed to Aerospike, Inc. under one or more contributor
* license agreements WHICH ARE COMPATIBLE WITH THE APACHE LICENSE, VERSION 2.0.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in complian... | wgpshashank/aerospike-client-java | test/src/com/aerospike/test/sync/basic/TestBatch.java | Java | apache-2.0 | 5,541 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2010, Red Hat, Inc., and individual 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 not use this fi... | antoinesd/weld-core | tests-arquillian/src/test/java/org/jboss/weld/tests/decorators/interceptor/ServiceImpl.java | Java | apache-2.0 | 1,002 |
/*
* Copyright 2002-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... | networknt/light-4j | http-entity/src/main/java/com/networknt/http/RequestEntity.java | Java | apache-2.0 | 9,487 |
/*
* Copyright 2013 Massachusetts General Hospital
*
* 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... | domeo/DomeoClient | src/org/mindinformatics/gwt/domeo/plugins/annotation/comment/ui/east/CommentSidePanel.java | Java | apache-2.0 | 6,847 |
/*
* 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... | youngwookim/presto | presto-jdbc/src/test/java/io/prestosql/jdbc/TestProgressMonitor.java | Java | apache-2.0 | 6,245 |
/*
* 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 ... | niketanpansare/systemml | src/main/java/org/apache/sysml/parser/RelationalExpression.java | Java | apache-2.0 | 7,786 |
package cz.metacentrum.perun.wui.model.beans;
import com.google.gwt.json.client.JSONObject;
import cz.metacentrum.perun.wui.client.utils.JsUtils;
import cz.metacentrum.perun.wui.model.GeneralObject;
/**
* Overlay type for Resource object from Perun
*
* @author Pavel Zlámal <zlamal@cesnet.cz>
*/
public class Resou... | zlamalp/perun-wui | perun-wui-core/src/main/java/cz/metacentrum/perun/wui/model/beans/Resource.java | Java | bsd-2-clause | 2,747 |
package io.ifar.skidroad.upload;
import io.ifar.skidroad.LogFile;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.junit.Test;
import java.io.File;
import java.net.URI;
import java.net.URISyntaxException;
import static org.junit.Assert.*;
public class AwsS3ClientUploadWorkerTest {
@... | Multifarious/skid-road | skid-road/src/test/java/io/ifar/skidroad/upload/AwsS3ClientUploadWorkerTest.java | Java | bsd-2-clause | 1,264 |
/*
* Copyright (c) 2018, Adam <Adam@sigterm.info>
* 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
* li... | KronosDesign/runelite | runelite-mixins/src/main/java/net/runelite/mixins/RSMouseInputMixin.java | Java | bsd-2-clause | 4,714 |
package com.example.viewpager_01;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.PagerTitleStrip;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
i... | AzureZhao/android_demos | demo_ui/ui_viewpager/viewpager_01/src/com/example/viewpager_01/MyActivity.java | Java | bsd-2-clause | 2,294 |
/*
* Copyright (c) 2018, Kamiel, <https://github.com/Kamielvf>
* 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, ... | Sethtroll/runelite | runelite-client/src/main/java/net/runelite/client/plugins/screenmarkers/ScreenMarkerMouseListener.java | Java | bsd-2-clause | 3,132 |
package org.hisp.dhis.version;
/*
* Copyright (c) 2004-2018, 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 copyri... | vietnguyen/dhis2-core | dhis-2/dhis-api/src/main/java/org/hisp/dhis/version/VersionStore.java | Java | bsd-3-clause | 1,938 |
/*
* Copyright (c) 2008-2014, Harald Walker (bitwalker.eu) and contributing developers
* 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 ... | ntent-ad/user-agent-utils | src/main/java/eu/bitwalker/useragentutils/OperatingSystem.java | Java | bsd-3-clause | 26,496 |
package org.sparkle.jcfg;
/*
* Copyright (C) 2015 yew_mentzaki
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
... | AlexejHerzmann-Manzew/ShineScript | src/org/sparkle/jcfg/Parameter.java | Java | bsd-3-clause | 2,046 |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.MemoryUtil.*;
import static org... | LWJGL-CI/lwjgl3 | modules/lwjgl/vulkan/src/generated/java/org/lwjgl/vulkan/VkPhysicalDeviceProtectedMemoryProperties.java | Java | bsd-3-clause | 16,863 |
package org.hisp.dhis.web.ohie.fred.webapi.v1.utils;
/*
* 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 r... | minagri-rwanda/DHIS2-Agriculture | dhis-web/dhis-web-ohie/src/main/java/org/hisp/dhis/web/ohie/fred/webapi/v1/utils/ObjectMapperFactoryBean.java | Java | bsd-3-clause | 2,729 |
/*
* $RCSfile: ImageMIPMap.java,v $
*
* Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
*
* Use is subject to license terms.
*
* $Revision: 1.1 $
* $Date: 2005/02/11 04:57:09 $
* $State: Exp $
*/
package com.lightcrafts.mediax.jai;
import java.awt.geom.AffineTransform;
import java.awt.image.Ren... | MarinnaCole/LightZone | lightcrafts/extsrc/com/lightcrafts/mediax/jai/ImageMIPMap.java | Java | bsd-3-clause | 19,399 |
/*
* $RCSfile: GZIPTileDecoderFactory.java,v $
*
* Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
*
* Use is subject to license terms.
*
* $Revision: 1.1 $
* $Date: 2005/02/11 04:56:57 $
* $State: Exp $
*/package com.lightcrafts.media.jai.tilecodec ;
import java.io.InputStream;
import java.ut... | MarinnaCole/LightZone | lightcrafts/extsrc/com/lightcrafts/media/jai/tilecodec/GZIPTileDecoderFactory.java | Java | bsd-3-clause | 4,022 |
// Copyright (c) 2014 Intel Corporation. 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.xwalk.embedded.api.asyncsample;
import java.io.IOException;
import java.io.InputStream;
import android.app.Activity;
import org.xwalk.core.... | qiuzhong/crosswalk-test-suite | usecase/usecase-embedding-android-tests/embeddingapi-async/src/org/xwalk/embedded/api/asyncsample/LoadAppFromManifestLayoutActivityAsync.java | Java | bsd-3-clause | 2,862 |
/*
* This file is part of IntelliCloudBench.
*
* Copyright (c) 2012, Jan Gerlinger <jan.gerlinger@gmx.de>
* 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 re... | JanGe/intellicloudbench | src/main/java/edu/kit/aifb/IntelliCloudBench/ui/tree/HardwareTypeLeafComponent.java | Java | bsd-3-clause | 8,290 |
/*
[The "BSD license"]
Copyright (c) 2011-2014 Joel Li (李家智)
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,... | javamonkey/beetl2.0 | beetl-core/src/main/java/org/beetl/core/ErrorHandler.java | Java | bsd-3-clause | 1,970 |
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com... | MaTriXy/fresco | imagepipeline/src/main/java/com/facebook/imagepipeline/cache/BufferedDiskCache.java | Java | bsd-3-clause | 12,736 |
package org.basex.query.func.array;
import java.util.*;
import org.basex.query.*;
import org.basex.query.value.*;
import org.basex.query.value.array.*;
import org.basex.query.value.array.Array;
import org.basex.query.value.item.*;
import org.basex.util.*;
/**
* Function implementation.
*
* @author BaseX Team 2005... | deshmnnit04/basex | basex-core/src/main/java/org/basex/query/func/array/ArrayForEachPair.java | Java | bsd-3-clause | 926 |
/*
* Copyright (c) 2009-2015, United States Government, as represented by the Secretary of Health and Human Services.
* 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 ... | beiyuxinke/CONNECT | Product/Production/Adapters/General/CONNECTDirectConfig/src/main/java/gov/hhs/fha/nhinc/directconfig/service/jaxws/AddAddress.java | Java | bsd-3-clause | 4,221 |
/*L
* Copyright Oracle inc, SAIC-F
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/cadsr-util/LICENSE.txt for details.
*/
package gov.nih.nci.ncicb.cadsr.common.struts.formbeans;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
im... | NCIP/cadsr-util | cadsrutil/src/java/gov/nih/nci/ncicb/cadsr/common/struts/formbeans/CDECartFormBean.java | Java | bsd-3-clause | 2,777 |
package com.krishagni.catissueplus.core.de.events;
import com.krishagni.catissueplus.core.common.events.AbstractListCriteria;
public class ListFolderQueriesCriteria extends AbstractListCriteria<ListFolderQueriesCriteria> {
private Long folderId;
private boolean countReq;
public Long folderId() {
return fol... | krishagni/openspecimen | WEB-INF/src/com/krishagni/catissueplus/core/de/events/ListFolderQueriesCriteria.java | Java | bsd-3-clause | 679 |
//
// XalInternalWindow.java
// xal
//
// Created by Thomas Pelaia on 3/29/05.
// Copyright 2005 Oak Ridge National Lab. All rights reserved.
//
package xal.extension.application;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.text.*;
import java.awt.BorderLayout;
import java.awt.event.*;
i... | openxal/openxal | extensions/application/src/xal/extension/application/XalInternalWindow.java | Java | bsd-3-clause | 13,758 |
package org.cagrid.gaards.credentials;
import java.io.File;
import java.io.InputStream;
import java.io.StringReader;
import java.io.StringWriter;
import java.security.cert.X509Certificate;
import javax.xml.namespace.QName;
import org.apache.axis.utils.ClassUtils;
import org.apache.commons.io.FileUtils;
import org.ca... | NCIP/cagrid | cagrid/Software/core/caGrid/projects/gaards-core/src/org/cagrid/gaards/credentials/EncodingUtil.java | Java | bsd-3-clause | 3,605 |
// Copyright 2020 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.omnibox;
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertFalse;
import ... | scheib/chromium | chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/LocationBarMediatorTest.java | Java | bsd-3-clause | 45,463 |
package edu.orhs.wildbots;
import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.command.Scheduler;
import edu.wpi.first.wpilibj.livewindow.LiveWindow;
import edu.orhs.wildbots.commands.*;
import edu.orhs.wildbots.subsystems.*;
import edu.wpi.fi... | tgroff234/Wildbots2013 | src/edu/orhs/wildbots/Robot.java | Java | bsd-3-clause | 1,911 |
package au.gov.ga.geodesy.support.spring;
import java.util.Calendar;
import java.util.Properties;
import java.util.TimeZone;
import javax.persistence.EntityManagerFactory;
import javax.sql.DataSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
imp... | GeoscienceAustralia/Geodesy-Web-Services | gws-webapp/src/main/java/au/gov/ga/geodesy/support/spring/PersistenceJpaConfig.java | Java | bsd-3-clause | 3,903 |
package org.ripple.bouncycastle.jcajce.provider.asymmetric.ecgost;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.math.BigInteger;
import java.security.interfaces.ECPrivateKey;
import java.security.spec.ECParameterSpec;
import java.security.spec.ECPoint;
im... | ripple/ripple-lib-java | ripple-bouncycastle/src/main/java/org/ripple/bouncycastle/jcajce/provider/asymmetric/ecgost/BCECGOST3410PrivateKey.java | Java | isc | 17,641 |
//----------------------------------------------------------------------------
// Copyright (C) 2003 Rafael H. Bordini, Jomi F. Hubner, et al.
//
// 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 ... | nickrfer/code-sentinel | repos/main/jason/stdlib/concat.java | Java | mit | 4,819 |
package com.xeiam.xchange.cryptofacilities.dto.marketdata;
import static org.fest.assertions.api.Assertions.assertThat;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import java.util.Iterator;
import java.util.List;
import org.junit.Test;
import com.fasterxml.jackson.databind.... | sutra/XChange | xchange-cryptofacilities/src/test/java/com/xeiam/xchange/cryptofacilities/dto/marketdata/CryptoFacilitiesOpenOrdersJSONTest.java | Java | mit | 1,724 |
/*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Tom Huybrechts
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, inclu... | v1v/jenkins | core/src/main/java/hudson/model/AllView.java | Java | mit | 7,370 |
/*
* 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 ... | v1v/jenkins | core/src/test/java/jenkins/org/apache/commons/validator/routines/DomainValidatorTest.java | Java | mit | 29,728 |
/*
* The MIT License
*
* Copyright 2012 Copyright 2012 Hewlett-Packard Development Company, L.P.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including w... | dpursehouse/gerrit-events | src/main/java/com/sonymobile/tools/gerrit/gerritevents/dto/attr/Approval.java | Java | mit | 5,864 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.core.test.models;
import com.azure.core.exception.UnexpectedLengthException;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.net.UnknownHostException;
/**
* This class represents a ca... | Azure/azure-sdk-for-java | sdk/core/azure-core-test/src/main/java/com/azure/core/test/models/NetworkCallError.java | Java | mit | 2,878 |
/******************************************************************************
* Copyright (c) 2014 cocos2d-java.org
*
* http://www.cocos2d-java.org
*
* The MIT License (MIT)
*
*Permission is hereby granted, free of charge, to any person obtaining a copy
*of this software and associated documenta... | copystudy/cocos2d-java | cocos/src/cocos2d/actions/action/CCFiniteTimeAction.java | Java | mit | 1,919 |
package com.javarush.test.level16.lesson13.bonus01.common;
public enum ImageTypes {
BMP,
JPG,
PNG;
}
| Juffik/JavaRush-1 | src/com/javarush/test/level16/lesson13/bonus01/common/ImageTypes.java | Java | mit | 114 |
/**
* 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.management.recoveryservices.backup.v2016_06_01;
import com.... | navalev/azure-sdk-for-java | sdk/recoveryservices.backup/mgmt-v2016_06_01/src/main/java/com/microsoft/azure/management/recoveryservices/backup/v2016_06_01/ResourceList.java | Java | mit | 1,196 |
package au.com.codeka.warworlds;
import java.util.ArrayList;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.view.View;
import android.view.ViewTreeObserver;
import android.view.Window;
import android.view.WindowManager;
impor... | jife94/wwmmo | client/src/main/java/au/com/codeka/warworlds/StyledDialog.java | Java | mit | 12,275 |
package org.jabref.gui;
import java.io.File;
import java.nio.file.Path;
import java.util.Collections;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import javafx.scene.control.Alert.AlertType;
import javafx.scene.control.ButtonBar;
import javafx.scene.control.ButtonType;
import... | conde2/DC-UFSCar-ES2-201701-BoxTesters | src/main/java/org/jabref/gui/FXDialogService.java | Java | mit | 7,396 |
package org.sat4j.tools.xplain;
import org.sat4j.specs.TimeoutException;
public interface Explainer {
int[] minimalExplanation() throws TimeoutException;
void setMinimizationStrategy(MinimizationStrategy explainer);
}
| mmaroti/jnisat | src/org/sat4j/tools/xplain/Explainer.java | Java | mit | 224 |
//
// Copyright (c) 2014 VK.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, publish... | tseglevskiy/AndroidMobileWorkplace | libraries/VKLib/src/com/vk/sdk/api/VKBatchRequest.java | Java | mit | 4,683 |
/*
* This file is part of GoodTime-Industrial, licensed under MIT License (MIT).
*
* Copyright (c) 2015 GoodTime Studio <https://github.com/GoodTimeStudio>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation... | Minecraft-GoodTime/GoodTime-Industrial | src/main/java/com/mcgoodtime/productionline/potion/PLPotion.java | Java | mit | 4,665 |
package openblocks.common.block;
import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import openblocks.common.... | PrinceOfAmber/OpenBlocks | src/main/java/openblocks/common/block/BlockBigButton.java | Java | mit | 3,039 |
package org.bouncycastle.jcajce.provider.asymmetric.ec;
import java.io.ByteArrayOutputStream;
import java.security.AlgorithmParameters;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.Key;
import java.security.NoSuchAlgorithmException;
import java... | onessimofalconi/bc-java | prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/IESCipher.java | Java | mit | 16,118 |