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) 2013 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...
xorware/android_frameworks_base
core/java/android/print/PrintFileDocumentAdapter.java
Java
apache-2.0
5,285
/* * 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 ...
Subasinghe/ode
bpel-nobj/src/main/java/org/apache/ode/bpel/obj/OPartnerLink.java
Java
apache-2.0
10,227
package org.apereo.cas.configuration.model.support.saml.shibboleth; import org.apereo.cas.configuration.support.RequiresModule; import com.fasterxml.jackson.annotation.JsonFilter; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import java.io.Serializable; /** * This is {@link Shi...
apereo/cas
api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/saml/shibboleth/ShibbolethIdPProperties.java
Java
apache-2.0
782
package com.networknt.light.rule.news; import com.networknt.light.rule.AbstractBfnRule; import com.networknt.light.rule.Rule; /** * Created by hus5 on 3/6/2015. * * Up vote news category * * AccessLevel R [user] * */ public class UpNewsRule extends AbstractBfnRule implements Rule { public boolean execute (...
networknt/light
rule/src/main/java/com/networknt/light/rule/news/UpNewsRule.java
Java
apache-2.0
408
package mil.nga.giat.geowave.core.store.query; import java.util.ArrayList; import java.util.Collections; import java.util.List; import mil.nga.giat.geowave.core.index.ByteArrayId; import mil.nga.giat.geowave.core.index.NumericIndexStrategy; import mil.nga.giat.geowave.core.index.sfc.data.MultiDimensionalNumericData; ...
chizou/geowave
core/store/src/main/java/mil/nga/giat/geowave/core/store/query/AdapterIdQuery.java
Java
apache-2.0
1,253
package org.educama; import org.educama.shipment.control.ShipmentControlService; import org.educama.shipment.process.sentries.ShipmentOrderCompletedSentry; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; /** * This class provides all beans or mocks for...
kraussj/Showcase
backend/src/test/java/org/educama/BeanTestConfiguration.java
Java
apache-2.0
671
/* * Copyright (c) 2005-2010 Grameen Foundation USA * 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 * * Unl...
maduhu/mifos-head
application/src/test/java/org/mifos/framework/util/helpers/CacheTest.java
Java
apache-2.0
2,220
/* * Copyright 2006 Marc Wick, geonames.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...
IgnacioDomingo/rome-modules
src/main/java/com/rometools/modules/georss/GeoRSSUtils.java
Java
apache-2.0
3,523
/* * Copyright (C) GRIDSTONE 2017 * * 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...
Gridstone/RxStore
converters/jackson-converter/src/test/java/au/com/gridstone/converters/JacksonConverterTest.java
Java
apache-2.0
2,786
/* * 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 ...
mambocab/cassandra
src/java/org/apache/cassandra/db/Directories.java
Java
apache-2.0
35,349
/* * Copyright © 2012-2014 Cask Data, 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...
caskdata/coopr
coopr-server/src/main/java/co/cask/coopr/common/zookeeper/lib/package-info.java
Java
apache-2.0
693
/* // Licensed to Julian Hyde under one or more contributor license // agreements. See the NOTICE file distributed with this work for // additional information regarding copyright ownership. // // Julian Hyde licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file e...
apache/incubator-optiq-linq4j
src/main/java/net/hydromatic/linq4j/QueryableRecorder.java
Java
apache-2.0
37,410
/* * Copyright 2019-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...
opennetworkinglab/onos
apps/k8s-node/api/src/main/java/org/onosproject/k8snode/api/K8sNodeState.java
Java
apache-2.0
3,474
package org.sagebionetworks.repo.manager; import static org.sagebionetworks.repo.manager.EmailUtils.TEMPLATE_KEY_DISPLAY_NAME; import static org.sagebionetworks.repo.manager.EmailUtils.TEMPLATE_KEY_EMAIL; import static org.sagebionetworks.repo.manager.EmailUtils.TEMPLATE_KEY_ORIGINAL_EMAIL; import java.util.ArrayList...
zimingd/Synapse-Repository-Services
services/repository-managers/src/main/java/org/sagebionetworks/repo/manager/CloudMailInManagerImpl.java
Java
apache-2.0
12,865
/* * 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 ...
dogless/airavata
modules/credential-store/credential-store-webapp/src/main/java/org/apache/airavata/credentialstore/basic/BasicAccessAuthenticator.java
Java
apache-2.0
7,828
/* * Copyright 2019 Pivotal, 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...
ajordens/orca
orca-integrations-cloudfoundry/src/test/java/com/netflix/spinnaker/orca/cf/pipeline/expressions/functions/ServiceKeyExpressionFunctionProviderTest.java
Java
apache-2.0
6,880
/* * Copyright 2011- Per Wendel * * 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...
perwendel/spark
src/main/java/spark/servlet/SparkFilter.java
Java
apache-2.0
7,461
/* * JBoss, Home of Professional Open Source * Copyright 2012, Red Hat, Inc. and/or its affiliates, 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 ...
jmartisk/hibernate-validator
cdi/src/main/java/org/hibernate/validator/internal/cdi/interceptor/ValidationEnabledAnnotatedConstructor.java
Java
apache-2.0
1,380
/* * Copyright 2015 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 applicable la...
rvhub/onos
core/store/dist/src/main/java/org/onosproject/store/link/impl/ECLinkStore.java
Java
apache-2.0
16,087
/** * 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...
viewstreet-labs/generic-jms-pool
src/main/java/org/apache/activemq/jms/pool/IntrospectionSupport.java
Java
apache-2.0
4,269
package com.google.api.ads.dfp.jaxws.v201508; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * * Represents the actions that can be performed on {@link Workflo...
raja15792/googleads-java-lib
modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201508/WorkflowRequestAction.java
Java
apache-2.0
1,146
/* * 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 ...
agentmilindu/stratos
dependencies/jclouds/apis/openstack-neutron/1.8.1-stratos/src/test/java/org/jclouds/openstack/neutron/v2/extensions/SecurityGroupApiLiveTest.java
Java
apache-2.0
3,857
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
AndroidX/androidx
camera/camera-camera2/src/test/java/androidx/camera/camera2/internal/compat/workaround/StillCaptureFlowTest.java
Java
apache-2.0
4,111
/** * Copyright 2014-2016 CyberVision, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
sashadidukh/kaa
server/common/dto/src/main/java/org/kaaproject/kaa/common/dto/credentials/CredentialsDto.java
Java
apache-2.0
3,457
/* * Copyright (c) 2015 Spotify AB. * * 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,...
lucilecoutouly/heroic
heroic-component/src/main/java/com/spotify/heroic/metric/MetricBackendGroup.java
Java
apache-2.0
1,104
/* * Copyright (C) 2005-2008 Jive Software. 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 require...
akrherz/Openfire
xmppserver/src/main/java/org/jivesoftware/openfire/commands/admin/group/DeleteGroup.java
Java
apache-2.0
3,467
/* * 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 ...
liuqingtao/jmeter
src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java
Java
apache-2.0
26,244
package org.wso2.carbon.apimgt.rest.api.analytics.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.util.Objects; /** * SubscriptionInfoDTO */ public cla...
ChamNDeSilva/carbon-apimgt
components/apimgt/org.wso2.carbon.apimgt.rest.api.analytics/src/gen/java/org/wso2/carbon/apimgt/rest/api/analytics/dto/SubscriptionInfoDTO.java
Java
apache-2.0
6,211
/* * Copyright 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 ...
jetty-project/java-docs-samples
taskqueue/pull/src/main/java/TaskQueueSample.java
Java
apache-2.0
7,769
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
mhurne/aws-sdk-java
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/InvalidS3BucketNameException.java
Java
apache-2.0
1,390
/* * Copyright 2015 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
kalaspuffar/pdfbox
pdfbox/src/test/java/org/apache/pdfbox/pdmodel/common/PDStreamTest.java
Java
apache-2.0
3,605
/* * 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...
alexksikes/elasticsearch
src/main/java/org/elasticsearch/index/fielddata/plain/SortedSetDVAtomicFieldData.java
Java
apache-2.0
9,441
/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ /* vim: set ts=2: */ package com.sheetjs; import org.mozilla.javascript.Function; import org.mozilla.javascript.NativeObject; public class SheetJSSheet { public NativeObject ws; public SheetJSFile wb; public SheetJSSheet(SheetJSFile wb, int idx) throws ...
iCasa/js-xlsx
demos/altjs/com/sheetjs/SheetJSSheet.java
Java
apache-2.0
1,051
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
andy256/druid
server/src/test/java/io/druid/server/coordinator/DruidCoordinatorSegmentMergerTest.java
Java
apache-2.0
22,544
package aQute.lib.json; import java.io.IOException; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.LinkedList; import java.util.Map; import java.util.TreeSet; import java.util.Vector; import java.util.concurrent.ConcurrentLinkedQueue; ...
psoreide/bnd
aQute.libg/src/aQute/lib/json/CollectionHandler.java
Java
apache-2.0
2,234
/* 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...
roberthafner/flowable-engine
modules/flowable-engine/src/main/java/org/activiti/engine/impl/cmd/GetDeploymentProcessDiagramCmd.java
Java
apache-2.0
2,384
/** * 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...
kchilton2/incubator-rya
extras/indexing/src/test/java/org/apache/rya/api/client/accumulo/AccumuloExecuteSparqlQueryIT.java
Java
apache-2.0
7,093
/* * Copyright dick the deployer. * * 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...
dick-the-deployer/dick
dick-web/src/main/java/com/dickthedeployer/dick/web/model/BuildForm.java
Java
apache-2.0
890
/* * Copyright 2020 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...
bdpiparva/gocd
server/src/main/java/com/thoughtworks/go/config/update/DeleteEnvironmentCommand.java
Java
apache-2.0
2,580
package com.jflyfox.component.controller; import java.util.concurrent.atomic.AtomicLong; import com.jflyfox.util.DateUtils; import com.jflyfox.util.StrUtils; public class PersonFileLimit { public static final int nowHourMaxCount = 50; public static final int nowDayMaxCount = 200; public static final String OK =...
jwlyifeng/jfinal-cms
src/main/java/com/jflyfox/component/controller/PersonFileLimit.java
Java
apache-2.0
2,561
/** * 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...
aliyun-beta/aliyun-oss-hadoop-fs
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSImageWithSnapshot.java
Java
apache-2.0
17,931
package cz.mallat.uasparser; import cz.mallat.uasparser.fileparser.Entry; import cz.mallat.uasparser.fileparser.PHPFileParser; import cz.mallat.uasparser.fileparser.Section; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.*; import java.util.concurrent.locks.ReentrantLock...
webmetrics/browsermob-proxy
src/main/java/cz/mallat/uasparser/UASparser.java
Java
apache-2.0
11,314
/* * Copyright 2015 OpenCB * * 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 wr...
kalyanreddyemani/biodata
biodata-formats/src/main/java/org/opencb/biodata/formats/network/biopax/core/PhysicalEntity.java
Java
apache-2.0
2,512
/* * ARX: Powerful Data Anonymization * Copyright 2012 - 2015 Florian Kohlmayer, Fabian Prasser * * 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/LI...
COWYARD/arx
src/main/org/deidentifier/arx/metric/v2/DomainShareInterval.java
Java
apache-2.0
8,462
// Modifications copyright (C) 2017, Baidu.com, Inc. // Copyright 2017 The Apache Software Foundation // 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. ...
cyongli/palo
fe/src/com/baidu/palo/analysis/AlterClusterClause.java
Java
apache-2.0
2,922
/* * Copyright (C) 2016 Square, 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 agre...
ze-pequeno/retrofit
retrofit-adapters/java8/src/main/java/retrofit2/adapter/java8/Java8CallAdapterFactory.java
Java
apache-2.0
5,921
/** * 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/ims/qti/export/CourseQTIArchiveController.java
Java
apache-2.0
8,198
/** * 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...
nikvaessen/camel
tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelBamTest.java
Java
apache-2.0
1,718
package org.apereo.cas.configuration.model.support.memcached; import lombok.extern.slf4j.Slf4j; import org.apereo.cas.configuration.support.RequiredProperty; import java.io.Serializable; import lombok.Getter; import lombok.Setter; /** * This is {@link BaseMemcachedProperties}. * * @author Misagh Moayyed * @since ...
dodok1/cas
api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/memcached/BaseMemcachedProperties.java
Java
apache-2.0
4,315
/* Copyright 2006 Jerry Huxtable 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 d...
carlosFattor/scrimage
scrimage-filters/src/main/scala/thirdparty/jhlabs/image/MedianFilter.java
Java
apache-2.0
2,530
/* * Copyright 2015 MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * Unless required by applicable law or agreed to in writing, software * distributed under the Licen...
jsonking/mongo-java-driver
driver-core/src/main/com/mongodb/client/model/PushOptions.java
Java
apache-2.0
4,480
/* * 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...
grumpyjames/buck
src/com/facebook/buck/ocaml/OcamlDebugLauncher.java
Java
apache-2.0
2,143
/* * 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
platform/vcs-log/graph/test/com/intellij/vcs/log/graph/GraphStrUtils.java
Java
apache-2.0
4,457
/* * 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 ...
leveyj/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxLocal.java
Java
apache-2.0
24,476
/* * Copyright 2019 Kyuhyen Hwang * * 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...
drmaas/resilience4j
resilience4j-spring/src/main/java/io/github/resilience4j/fallback/RxJava2FallbackDecorator.java
Java
apache-2.0
3,382
/* Copyright 2016 Google Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
jmuk/toolkit
src/main/java/com/google/api/codegen/csharp/CSharpSnippetSet.java
Java
apache-2.0
1,450
/* * Copyright 2012 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 ap...
manstis/drools
drools-kiesession/src/test/java/org/drools/kiesession/ExecuteCommandDisconnectedTest.java
Java
apache-2.0
2,845
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Turbo87/error-prone
core/src/main/java/com/google/errorprone/bugpatterns/ReturnValueIgnored.java
Java
apache-2.0
4,189
/* * Copyright 2019 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...
kierarad/gocd
plugin-infra/go-plugin-api/src/main/java/com/thoughtworks/go/plugin/api/response/execution/ExecutionResult.java
Java
apache-2.0
2,058
package test.api; public class C extends A { public int s; }
magnet/bnd
biz.aQute.bndlib.tests/src/test/api/C.java
Java
apache-2.0
63
package aQute.maven.api; import java.io.Closeable; import java.io.File; import java.io.InputStream; import java.net.URI; import java.util.List; import java.util.Properties; import java.util.regex.Pattern; import org.osgi.util.promise.Promise; import aQute.maven.provider.MavenBackingRepository; /** * This is an abs...
magnet/bnd
biz.aQute.repository/src/aQute/maven/api/IMavenRepo.java
Java
apache-2.0
4,887
/* * Copyright 2019 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...
kierarad/gocd
server/src/main/java/com/thoughtworks/go/server/domain/support/toggle/FeatureToggles.java
Java
apache-2.0
3,397
/** * * 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...
igniterealtime/Smack
smack-legacy/src/main/java/org/jivesoftware/smackx/xroster/provider/RosterExchangeProvider.java
Java
apache-2.0
3,319
/* * 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...
papicella/snappy-store
gemfire-core/src/main/java/com/gemstone/gemfire/internal/tools/gfsh/app/CommandExecutable.java
Java
apache-2.0
824
package org.zstack.core.step; import org.zstack.core.asyncbatch.While; import org.zstack.header.core.Completion; import org.zstack.header.core.WhileDoneCompletion; import org.zstack.header.errorcode.ErrorCode; import org.zstack.header.errorcode.ErrorCodeList; import org.zstack.header.exception.CloudRuntimeException; i...
zstackio/zstack
core/src/main/java/org/zstack/core/step/StepRun.java
Java
apache-2.0
2,803
/* * 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/mapping/change/ChangeObservation.java
Java
apache-2.0
2,027
/** * */ package com.msaf.validador.consultaonline.exceptions; /** * Denota qualquer tipo de exceção no momento de fazer upload do arquivo * * * * @author dlopes * */ public class ValidadorUploadException extends ValidadorException { /** * */ public ValidadorUploadException() {...
darciopacifico/omr
vesionamento/msaf_validador-v1.0/core/src/main/java/com/msaf/validador/consultaonline/exceptions/ValidadorUploadException.java
Java
apache-2.0
845
/* * Copyright 2014-2016 CyberVision, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
vtkhir/kaa
server/node/src/main/java/org/kaaproject/kaa/server/operations/pojo/GetNotificationRequest.java
Java
apache-2.0
2,636
/* * Copyright 2016 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/main/java/com/google/errorprone/bugpatterns/inject/dagger/Util.java
Java
apache-2.0
8,532
// 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.python.codeInsight.completion; import com.intellij.codeInsight.TailType; import com.intellij.codeInsight.completion.*; import com.intellij.codeInsight.looku...
zdary/intellij-community
python/python-psi-impl/src/com/jetbrains/python/codeInsight/completion/PyKeywordCompletionContributor.java
Java
apache-2.0
33,235
/* * * * * * * Copyright 2015 Skymind,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/l...
ZenDevelopmentSystems/Canova
canova-data/canova-data-audio/src/main/java/org/canova/sound/musicg/fingerprint/PairManager.java
Java
apache-2.0
8,195
package com.amazonaws.services.kinesis; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import com.amazonaws.services.kinesis.clientlibrary.exceptions.InvalidStateException; import com.amazonaws.services.kinesis.clientlibrary.exceptions.ShutdownException; i...
IanMeyers/aws-big-data-blog
aws-blog-kinesis-beanstalk-workers/src/main/java/com/amazonaws/services/kinesis/ManagedClientProcessor.java
Java
apache-2.0
3,421
/* * Copyright 2016 NAVER Corp. * * 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 ...
eBaoTech/pinpoint
collector/src/main/java/com/navercorp/pinpoint/collector/manage/HBaseManagerMBean.java
Java
apache-2.0
1,018
package org.drools.compiler.phreak; import java.util.ArrayList; import java.util.List; import org.drools.core.common.InternalFactHandle; import org.drools.core.common.InternalWorkingMemory; import org.drools.core.common.PhreakPropagationContext; import org.drools.core.reteoo.BetaMemory; import org.drools.core.reteoo....
bxf12315/drools
drools-compiler/src/test/java/org/drools/compiler/phreak/RightMemory.java
Java
apache-2.0
2,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")...
apache/zest-qi4j
core/api/src/main/java/org/apache/polygene/api/injection/scope/Service.java
Java
apache-2.0
1,659
package org.altbeacon.beacon.service; import android.annotation.TargetApi; import android.bluetooth.BluetoothDevice; import android.os.AsyncTask; import android.os.Build; import org.altbeacon.beacon.BeaconManager; import org.altbeacon.beacon.logging.LogManager; import org.altbeacon.beacon.logging.Loggers; import org....
masakarikun/android-beacon-library
src/test/java/org/altbeacon/beacon/service/BeaconServiceTest.java
Java
apache-2.0
2,337
/* * 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...
papicella/snappy-store
gemfire-core/src/main/java/com/gemstone/gemfire/pdx/internal/PdxInstanceImpl.java
Java
apache-2.0
19,232
/** * Copyright (C) 2012-2013 Dell, Inc. * See annotations for authorship information * * ==================================================================== * 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 co...
dasein-cloud/dasein-cloud-ibm
src/main/java/org/dasein/cloud/ibm/sce/network/staticip/ExtendedIpAddress.java
Java
artistic-2.0
1,350
/* * ============================================================================= * Simplified BSD License, see http://www.opensource.org/licenses/ * ----------------------------------------------------------------------------- * Copyright (c) 2008-2009, Marco Terzer, Zurich, Switzerland * All rights reserved. *...
mpgerstl/tEFMA
ch/javasoft/metabolic/efm/model/AbstractModelPersister.java
Java
bsd-2-clause
9,649
/** * Copyright (c) 2014, * Charles Prud'homme (TASC, INRIA Rennes, LINA CNRS UMR 6241), * Jean-Guillaume Fages (COSLING S.A.S.). * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:...
piyushsh/choco3
choco-solver/src/main/java/org/chocosolver/solver/constraints/nary/element/PropElementV_fast.java
Java
bsd-3-clause
8,386
package org.hisp.dhis.light.utils; /* * Copyright (c) 2004-2015, 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 ...
steffeli/inf5750-tracker-capture
dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/utils/NamebasedUtilsImpl.java
Java
bsd-3-clause
7,019
package radlab.rain.workload.redis; import radlab.rain.IScoreboard; public class RedisGetOperation extends RedisOperation { public static final String NAME = "Get"; public RedisGetOperation(boolean interactive, IScoreboard scoreboard) { super(interactive, scoreboard); this._operationName = NAME; this._op...
yungsters/rain-workload-toolkit
src/radlab/rain/workload/redis/RedisGetOperation.java
Java
bsd-3-clause
669
/* * Copyright (c) 2009-2019 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 ...
zzuegg/jmonkeyengine
jme3-core/src/main/java/com/jme3/scene/control/UpdateControl.java
Java
bsd-3-clause
3,694
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.preferences.website; import android.os.Bundle; import android.preference.Preference; import android.preference.Prefer...
axinging/chromium-crosswalk
chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleCategoryPreferences.java
Java
bsd-3-clause
32,437
/* * Copyright (c) 2016 Goldman Sachs. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v. 1.0 which accompany this distribution. * The Eclipse Public License is available at http://www.ecli...
bhav0904/eclipse-collections
eclipse-collections/src/main/java/org/eclipse/collections/impl/partition/bag/PartitionImmutableBagImpl.java
Java
bsd-3-clause
1,234
/* * Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ package org.antlr.v4.runtime; import org.antlr.v4.runtime.atn.LexerATNSimulator; import org.antlr.v4.runtime.misc.Integ...
wjkohnen/antlr4
runtime/Java/src/org/antlr/v4/runtime/Lexer.java
Java
bsd-3-clause
11,269
/* * $Header$ * $Revision: 1128 $ * $Date: 2006-02-05 13:49:04 -0800 (Sun, 05 Feb 2006) $ * * ==================================================================== * * Copyright 2000-2002 bob mcwhirter & James Strachan. * All rights reserved. * * Redistribution and use in source and binary forms, with or witho...
jblancoperez/jaxen
src/java/main/org/jaxen/function/IdFunction.java
Java
bsd-3-clause
6,046
/* * DumperWindow.java * * Created on January 6, 2006, 2:11 PM */ package org.mediawiki.dumper.gui; /** * * @author brion */ public class DumperWindowForm extends javax.swing.JFrame { /** Creates new form DumperWindow */ public DumperWindowForm() { initComponents(); } /** This method is called from ...
taolee/XmlDataAnalysisToolsets
DataAnalysis_Wikipedia/spw/src/org/mediawiki/dumper/gui/DumperWindowForm.java
Java
bsd-3-clause
24,410
/** * */ package weibo4j.examples.favorites; import java.util.List; import weibo4j.Status; import weibo4j.Weibo; import weibo4j.WeiboException; /** * @author hezhou * */ public class DestroyFavorite { /** * 删除当前用户收藏的微博信息 * @param args */ public static void main(String[] args) { ...
ueu2715/weibo4j
src/weibo4j/examples/favorites/DestroyFavorite.java
Java
bsd-3-clause
1,166
package org.ripple.bouncycastle.crypto; import java.io.IOException; import java.io.InputStream; import org.ripple.bouncycastle.crypto.params.AsymmetricKeyParameter; public interface KeyParser { AsymmetricKeyParameter readKey(InputStream stream) throws IOException; }
xdv/ripple-lib-java
ripple-bouncycastle/src/main/java/org/ripple/bouncycastle/crypto/KeyParser.java
Java
isc
282
package com.iluwatar.builder; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; /** * Date: 12/6/15 - 11:01 PM * * @author Jeroen Meulemeester */ public class HeroTest { /** * Test if we get the expected exception when trying to create a hero ...
dlee0113/java-design-patterns
builder/src/test/java/com/iluwatar/builder/HeroTest.java
Java
mit
1,603
/* This file was generated by SableCC (http://www.sablecc.org/). */ package com.bju.cps450.node; import com.bju.cps450.analysis.*; @SuppressWarnings("nls") public final class TNew extends Token { public TNew() { super.setText("new"); } public TNew(int line, int pos) { super.setTe...
asdfzt/CPS450-MiniJava
MiniJavaParserWithAST/gen-src/com/bju/cps450/node/TNew.java
Java
mit
736
package scr; import java.util.Hashtable; import java.util.Enumeration; import java.util.StringTokenizer; /** * Created by IntelliJ IDEA. * User: Administrator * Date: Feb 22, 2008 * Time: 6:17:32 PM */ public class MessageParser { // parses the message from the serverbot, and creates a table of ...
travistang/late_fyt
vtorcs-RL-color/scr-client-java/src/scr/MessageParser.java
Java
mit
3,610
package com.alorma.github.sdk.services.content; import com.alorma.github.sdk.bean.dto.request.NewContentRequest; import com.alorma.github.sdk.bean.dto.response.NewContentResponse; import com.alorma.github.sdk.bean.info.RepoInfo; import com.alorma.github.sdk.services.client.GithubClient; import retrofit.RestAdapter; im...
gitskarios/GithubAndroidSdk
src/main/java/com/alorma/github/sdk/services/content/NewFileClient.java
Java
mit
1,000
// ASM: a very small and fast Java bytecode manipulation framework // Copyright (c) 2000-2011 INRIA, France Telecom // 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 ...
benjholla/JReFrameworker
plugin/org.objectweb.asm/src/org/objectweb/asm/tree/InsnNode.java
Java
mit
3,324
package com.example.lee.suesnews.biz; import android.content.Context; import android.util.Log; import com.example.lee.suesnews.bean.NewsContent; import com.example.lee.suesnews.bean.NewsItem; import com.example.lee.suesnews.common.NewsTypes; import com.example.lee.suesnews.dao.NewsContentDao; import com.example.lee.s...
sues-lee/SuesNews
SUESNews/app/src/main/java/com/example/lee/suesnews/biz/NewsItemBiz.java
Java
mit
10,109
/** * 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.cognitiveservices.search.entitysearch.models; import java.u...
selvasingh/azure-sdk-for-java
sdk/cognitiveservices/ms-azure-cs-entitysearch/src/main/java/com/microsoft/azure/cognitiveservices/search/entitysearch/models/SafeSearch.java
Java
mit
1,345
/* * 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. * * This program is distributed in the hope that it w...
williamClanton/singularity
weka/src/main/java/weka/clusterers/forOPTICSAndDBScan/DataObjects/ManhattanDataObject.java
Java
mit
10,890
/******************************************************************************* * Copyright (c) 2014 UT-Battelle, LLC. * 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 a...
gorindn/ice
src/org.eclipse.ice.proteus/src/org/eclipse/ice/proteus/PROTEUSModel.java
Java
epl-1.0
9,566
/******************************************************************************* * Copyright (c) 2018 Eurotech and/or its affiliates * * 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...
darionct/kura
kura/org.eclipse.kura.wire.component.provider/src/main/java/org/eclipse/kura/internal/wire/publisher/PositionType.java
Java
epl-1.0
1,669