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 2008-present MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
rozza/mongo-java-driver
driver-reactive-streams/src/main/com/mongodb/reactivestreams/client/package-info.java
Java
apache-2.0
1,493
/* * 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 ...
NBANDROIDTEAM/NBANDROID-V2
nbandroid.maven/src/main/java/sk/arsi/netbeans/gradle/android/maven/MavenPomParser.java
Java
apache-2.0
1,179
package de.tobiasroeser.lambdatest; import java.lang.reflect.Array; import java.text.MessageFormat; import java.util.Arrays; import java.util.Collection; import java.util.Enumeration; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Set; import de.tobiasroeser.lambdatest...
lefou/poor-mans-lambda-test
src/main/java/de/tobiasroeser/lambdatest/Assert.java
Java
apache-2.0
12,950
/* * Copyright 2011 The Netty Project * * The Netty Project 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 re...
beav/netty-ant
src/main/java/org/jboss/netty/handler/stream/ChunkedStream.java
Java
apache-2.0
3,739
/* * $Header: /home/cvs/jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/valve/SingleSignOnValveForm.java,v 1.1.1.1 2002/07/18 16:48:28 remm Exp $ * $Revision: 1.1.1.1 $ * $Date: 2002/07/18 16:48:28 $ * * ==================================================================== * * The Ap...
devjin24/howtomcatworks
bookrefer/jakarta-tomcat-5.0.18-src/jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/valve/SingleSignOnValveForm.java
Java
apache-2.0
6,337
/* * ***************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * * ******************************************************************************* * Licensed under the Apache License, Ver...
pavel-sakun/pentaho-kettle
engine-ext/serializers/src/main/java/org/pentaho/pdi/engine/serializers/DeserializedRow.java
Java
apache-2.0
2,501
/* * 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 ...
gemmellr/qpid-proton-j
proton-j/src/test/java/org/apache/qpid/proton/codec/AmqpValueTypeCodecTest.java
Java
apache-2.0
2,600
package com.rs.game.npc.qbd; import com.rs.game.Animation; import com.rs.game.Graphics; import com.rs.game.Hit; import com.rs.game.Hit.HitLook; import com.rs.game.player.Player; import com.rs.game.player.content.Combat; import com.rs.game.tasks.WorldTask; import com.rs.game.tasks.WorldTasksManager; import com.rs.utils...
calvinlotsberg/OurScape
src/com/rs/game/npc/qbd/MeleeAttack.java
Java
apache-2.0
2,020
/* * Copyright 2013-2014 Richard M. Hightower * 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 ...
wprice/boon
boon/src/main/java/org/boon/json/serializers/impl/FieldSerializerUseAnnotationsImpl.java
Java
apache-2.0
15,661
package org.nibiru.ui.core.api; public interface TypedWidget<T> extends Widget { T asNative(); }
NibiruOS/ui
org.nibiru.ui.core/src/main/java/org/nibiru/ui/core/api/TypedWidget.java
Java
apache-2.0
110
/* * 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/incubator-shardingsphere
shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-core/src/main/java/org/apache/shardingsphere/dbdiscovery/yaml/swapper/DatabaseDiscoveryRuleConfigurationYamlSwapper.java
Java
apache-2.0
6,522
/* * Copyright 2015 AppDynamics, 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...
udayinfy/ECommerce-Java
ECommerce-Shared/src/main/java/com/appdynamicspilot/webserviceclient/DotNetClient.java
Java
apache-2.0
1,612
/* * Copyright (c) 2014-2016 BePowered BVBA http://www.bepowered.be/ * * Software is subject to the following conditions: * * The above copyright notice shall be included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,...
USEF-Foundation/ri.usef.energy
usef-build/usef-hoogdalem/usef-workflow-hd/usef-hd-agr1/src/test/java/nl/energieprojecthoogdalem/agr/pbc/ReCreatePrognosesTest.java
Java
apache-2.0
4,559
/* * Copyright 2015 Eduardo Ramos. * * 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...
eduramiba/uniform
src/test/java/net/uniform/html/validators/AlphanumericValidatorTest.java
Java
apache-2.0
1,391
/* * Copyright 2019 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 w...
GoogleCloudPlatform/java-docs-samples
texttospeech/cloud-client/src/test/java/com/example/texttospeech/SsmlAddressesIT.java
Java
apache-2.0
2,198
package cn.sharesdk.utils; import java.lang.reflect.Field; import android.content.Context; import android.util.Log; public class R { private static float density; public static int dipToPx(Context context, int dip) { if (density <= 0) { density = context.getResources().getDisplayMetrics().densit...
BigAppOS/BigApp_Discuz_Android
libs/AnalysisSDK/src/cn/sharesdk/utils/R.java
Java
apache-2.0
3,255
/* * 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/olingo-odata4
lib/client-core/src/main/java/org/apache/olingo/client/core/serialization/ODataMetadataValidationImpl.java
Java
apache-2.0
6,423
/* * Copyright 2018 StreamSets 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...
rockmkd/datacollector
container/src/main/java/com/streamsets/datacollector/cluster/EmrClusterProvider.java
Java
apache-2.0
10,104
package com.marlonjones.simplereminder; /** * Java Class made by Marlon Jones (MJonesDev) on 12/12/2016. */ import android.app.NotificationManager; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app....
MJonesDev/Ongoing-Notification-Reminder
app/src/main/java/com/marlonjones/simplereminder/ConfirmActivity.java
Java
apache-2.0
2,336
package com.hazelcast.query.impl; import com.hazelcast.core.HazelcastInstance; import com.hazelcast.core.HazelcastInstanceAware; import com.hazelcast.core.IMap; import com.hazelcast.projection.Projection; import com.hazelcast.query.Predicate; import com.hazelcast.test.HazelcastParametersRunnerFactory; import com.hazel...
dbrimley/hazelcast
hazelcast/src/test/java/com/hazelcast/query/impl/PredicateHzAwareTest.java
Java
apache-2.0
2,960
/* * Copyright 2004-2010 the Seasar Foundation and the Others. * * 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 ...
backpaper0/doma2
src/test/java/org/seasar/doma/internal/apt/entity/ListenerArgumentTypeIllegalEntity.java
Java
apache-2.0
855
package gov.med.va.innovations.domain; import java.io.Serializable; import java.util.Date; import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; public class Component extends BaseObject implements Serializable { private static final long serialVersio...
VHAINNOVATIONS/TheDailyPlan
LegacyApp/tdpWeb/src/main/java/gov/med/va/innovations/domain/Component.java
Java
apache-2.0
3,542
package com.shagaba.jacksync.utils; import java.io.IOException; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonPointer; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonDeserializer; import com.fasterxml.jackson.databi...
shagaba/jackson-patch-sync
src/main/java/com/shagaba/jacksync/utils/JsonPointerDeserializer.java
Java
apache-2.0
739
/** * Copyright (C) 2015 Red Hat, 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 o...
rouzwawi/kubernetes-client
openshift-mock/src/main/java/io/fabric8/openshift/client/mock/impl/MockOAuthAccessToken.java
Java
apache-2.0
1,735
/* * 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 ...
Shmuma/hbase-trunk
security/src/main/java/org/apache/hadoop/hbase/security/access/TableAuthManager.java
Java
apache-2.0
15,634
// Copyright 2018 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
dropbox/bazel
src/main/java/com/google/devtools/build/skydoc/fakebuildapi/android/FakeApkInfo.java
Java
apache-2.0
1,838
// Copyright © 2017-2021 Andy Goryachev <andy@goryachev.com> package goryachev.common.util; import java.text.SimpleDateFormat; import java.time.format.DateTimeFormatter; import java.time.temporal.TemporalAccessor; import java.util.Date; /** * Common Date Format which operates with long, Dates, and new Local...
andy-goryachev/FxEditor
src/goryachev/common/util/CDateFormat.java
Java
apache-2.0
1,252
/* * Copyright 2016 Realm 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 wr...
weiwenqiang/GitHub
expert/realm-java/realm/realm-library/src/androidTest/java/io/realm/entities/conflict/Map.java
Java
apache-2.0
835
/** * (C) Copyright 2011-2015 FastConnect SAS * (http://www.fastconnect.fr/) and others. * * 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...
lf23617358/tibco-fcunit
fcunit-plugin/src/main/java/fr/fastconnect/factory/tibco/bw/fcunit/pages/IndexPage.java
Java
apache-2.0
1,958
package com.jivesoftware.os.amza.service.filer; import com.jivesoftware.os.amza.api.filer.IFiler; import com.jivesoftware.os.amza.api.filer.UIO; import java.io.IOException; import java.nio.ByteBuffer; /** * */ public class SingleAutoGrowingByteBufferBackedFiler implements IFiler { public static final long MAX_...
bruceadowns/amza
amza-service/src/main/java/com/jivesoftware/os/amza/service/filer/SingleAutoGrowingByteBufferBackedFiler.java
Java
apache-2.0
8,787
/* * (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/analyzer/physical/CountDistinctRewriter.java
Java
apache-2.0
21,866
/* * 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/tomcat
java/org/apache/tomcat/util/http/RequestUtil.java
Java
apache-2.0
7,478
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.util; import com.intellij.openapi.util.text.StringUtilRt; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.Contract; impo...
jwren/intellij-community
platform/util-rt/src/com/intellij/openapi/util/Comparing.java
Java
apache-2.0
5,662
/* * 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...
nknize/elasticsearch
modules/lang-painless/src/main/java/org/elasticsearch/painless/ir/ComparisonNode.java
Java
apache-2.0
1,496
/* * 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 ...
dhalperi/incubator-beam
runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/util/CloudObjectTranslators.java
Java
apache-2.0
20,835
package org.jivesoftware.openfire.plugin.fastpath; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; public final class global_002dworkgroup_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static java.util.List _...
qyj415/openfire
work/plugins-dev/fastpath/target/jspc/java/org/jivesoftware/openfire/plugin/fastpath/global_002dworkgroup_jsp.java
Java
apache-2.0
1,688
/* * Copyright 2016-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...
ilya-klyuchnikov/buck
src/com/facebook/buck/jvm/kotlin/KotlinBuckConfig.java
Java
apache-2.0
8,786
package it.playfellas.superapp.events.game; import it.playfellas.superapp.logic.Config1; import lombok.Getter; /** * Created by affo on 30/07/15. */ public abstract class StartGame1Event extends StartGameEvent { @Getter private Config1 conf; public StartGame1Event(Config1 conf) { this.conf = co...
polimi-giocoso/super
app/src/main/java/it/playfellas/superapp/events/game/StartGame1Event.java
Java
apache-2.0
332
package net.stickycode.bootstrap.metadata; import java.io.IOException; import java.io.InputStream; import java.nio.file.Path; import java.util.Collections; import java.util.jar.JarEntry; import java.util.jar.JarFile; import java.util.jar.Manifest; import org.objectweb.asm.ClassReader; import org.slf4j.Logger; import ...
walterDurin/stickycode
net.stickycode.bootstrap/sticky-bootstrap-metadata/src/main/java/net/stickycode/bootstrap/metadata/JarFileUrlProceesor.java
Java
apache-2.0
2,025
/* * Copyright 1999-2019 Seata.io Group. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
seata/seata
saga/seata-saga-engine/src/main/java/io/seata/saga/engine/exception/ForwardInvalidException.java
Java
apache-2.0
1,484
/* * 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 ...
zzcclp/carbondata
integration/presto/src/main/prestosql/org/apache/carbondata/presto/readers/DecimalSliceStreamReader.java
Java
apache-2.0
5,642
/* * Copyright 2018 MovingBlocks * * 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...
Malanius/Terasology
engine/src/main/java/org/terasology/world/block/family/BlockFamily.java
Java
apache-2.0
3,194
/* * Copyright 2017 StreamSets 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...
rockmkd/datacollector
container/src/main/java/com/streamsets/datacollector/validation/Issue.java
Java
apache-2.0
3,036
package oo5; public class Main { public static void main(String[] args) { Perfil bruno = new Perfil("Bruno"); bruno.setGenero(Genero.Masculino); bruno.setReputacao(Perfil.VETERANO); // constante } }
marciojrtorres/dbo-2015
oo5/src/oo5/Main.java
Java
apache-2.0
217
package org.lenic.jboot.mybatis; import java.io.File; import java.io.InputStreamReader; import java.sql.Connection; import java.sql.DriverManager; import java.util.ArrayList; import java.util.List; import org.apache.ibatis.jdbc.ScriptRunner; import org.mybatis.generator.api.MyBatisGenerator; import org.myb...
SoftwareKing/jboot
jboot-mybatis-generator-application/src/main/java/org/lenic/jboot/mybatis/Mybatis2.java
Java
apache-2.0
1,473
/* * 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-imaging
src/main/java/org/apache/commons/imaging/formats/tiff/TiffField.java
Java
apache-2.0
18,311
/* * Copyright 2017 Rundeck, Inc. (http://rundeck.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 required by appli...
rophy/rundeck
plugins/stub-plugin/src/main/java/com/dtolabs/rundeck/plugin/stub/StubDataStep.java
Java
apache-2.0
5,712
/* * 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 ...
joansmith/pdfbox
examples/src/main/java/org/apache/pdfbox/examples/util/PrintImageLocations.java
Java
apache-2.0
5,995
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
treasure-data/presto
presto-base-jdbc/src/main/java/io/prestosql/plugin/jdbc/ForwardingJdbcClient.java
Java
apache-2.0
8,729
/* * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for a...
wangsongpeng/jdk-src
src/main/java/com/sun/org/apache/xml/internal/security/signature/Reference.java
Java
apache-2.0
30,941
/** * 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/incubator-tajo
tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/query/TestCaseByCases.java
Java
apache-2.0
1,571
package com.hubspot.nebula.github; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.Objects; public class GitHubOwner { private final String name; private final String email; @JsonCreator public GitHubOwner(@JsonProperty(...
mesosphere/Nebula
NebulaCore/src/main/java/com/hubspot/nebula/github/GitHubOwner.java
Java
apache-2.0
718
/** * Copyright 2009-2017 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 * * Unle...
fromm0/mybatis-3
src/main/java/org/apache/ibatis/parsing/XNode.java
Java
apache-2.0
9,858
/* * Copyright (c) 2010-2014, Paul Merlin. * * 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 l...
joobn72/qi4j-sdk
libraries/scheduler/src/test/java/org/qi4j/library/scheduler/AbstractSchedulerTest.java
Java
apache-2.0
1,790
/* * 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/incubator-shardingsphere
shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/framework/runner/parallel/annotaion/ParallelLevel.java
Java
apache-2.0
973
/* Copyright 2008-2013 CNR-ISTI, http://isti.cnr.it Institute of Information Science and Technologies of the Italian National Research Council See the NOTICE file distributed with this work for additional information regarding copyright ownership Licensed under the Apache License, Version 2.0 (the ...
smulikHakipod/zb4osgi
zb4o-zcl-library/src/main/java/it/cnr/isti/zigbee/zcl/library/impl/attribute/AbstractAttribute.java
Java
apache-2.0
2,367
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. The ASF 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:...
apache/abdera
core/src/main/java/org/apache/abdera/filter/ParseFilter.java
Java
apache-2.0
2,443
/** * JBoss, Home of Professional Open Source * Copyright 2012, Red Hat Middleware LLC, 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 u...
petrandreev/arquillian-extension-warp
impl/src/test/java/org/jboss/arquillian/warp/impl/utils/TestShrinkWrapUtils.java
Java
apache-2.0
1,940
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
dropbox/bazel
third_party/java/aosp_gradle_core/java/com/android/build/gradle/tasks/ResourceUsageAnalyzer.java
Java
apache-2.0
59,906
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.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/license...
AndrewKhitrin/dbeaver
plugins/org.jkiss.dbeaver.ext.mssql/src/org/jkiss/dbeaver/ext/mssql/model/SQLServerTableTrigger.java
Java
apache-2.0
2,161
/* * 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 ...
sungsoo/optiq-project
core/src/test/java/org/eigenbase/test/SargTest.java
Java
apache-2.0
22,796
/* * Copyright (C) 2015 Archie L. Cobbs. All rights reserved. */ package io.permazen.parse.func; import io.permazen.JObject; import io.permazen.core.DeletedObjectException; import io.permazen.core.ObjId; import io.permazen.parse.ParseSession; import io.permazen.parse.expr.ConstValue; import io.permazen.parse.expr....
permazen/permazen
permazen-parse/src/main/java/io/permazen/parse/func/VersionFunction.java
Java
apache-2.0
1,449
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development * and Distribution License("CDDL")...
GeeQuery/cxf-plus
src/main/java/com/github/cxfplus/com/sun/xml/bind/util/AttributesImpl.java
Java
apache-2.0
19,284
/** * Copyright 2010 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. The ASF licenses this file * to you under the...
fengshao0907/wasp
src/test/java/com/alibaba/wasp/fserver/TestTwoPhaseCommit.java
Java
apache-2.0
6,609
/* * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.xml.parsers; import javax.xml.validation.Schema; /** * Defines a factory API that enab...
wangsongpeng/jdk-src
src/main/java/javax/xml/parsers/DocumentBuilderFactory.java
Java
apache-2.0
22,947
/* * Copyright 2016 Red Hat, 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 ...
rhusar/wildfly-arquillian
common-domain/src/main/java/org/wildfly/arquillian/domain/container/controller/command/GetServerStatusCommand.java
Java
apache-2.0
1,497
package io.cloudnative.teamcity; import static io.cloudnative.teamcity.WebhooksConstants.*; import com.google.common.io.Files; import com.google.gson.Gson; import lombok.NonNull; import lombok.experimental.ExtensionMethod; import lombok.val; import java.io.File; import java.io.IOException; import java.nio.charset.Char...
cloudnative/teamcity-webhooks
src/main/java/io/cloudnative/teamcity/WebhooksUtils.java
Java
apache-2.0
2,455
package org.apereo.cas.config; import org.apereo.cas.CentralAuthenticationService; import org.apereo.cas.authentication.AuthenticationServiceSelectionStrategy; import org.apereo.cas.authentication.AuthenticationServiceSelectionStrategyConfigurer; import org.apereo.cas.authentication.SecurityTokenServiceClientBuilder; ...
rkorn86/cas
support/cas-server-support-ws-idp/src/main/java/org/apereo/cas/config/CoreWsSecurityIdentityProviderConfiguration.java
Java
apache-2.0
10,840
/** * 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 m...
mulesoft-consulting/sumtotal-connector
lib/apache-cxf-2.7.5/samples/mtom/src/main/java/demo/mtom/client/Client.java
Java
apache-2.0
4,516
/** * 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...
leechoongyon/HadoopSourceAnalyze
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/TestRPC.java
Java
apache-2.0
11,402
package org.js4ms.amt.message; /* * #%L * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * AmtMulticastDataMessage.java [org.js4ms.jsdk:amt] * %% * Copyright (C) 2009 - 2014 Cisco Systems, Inc. * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exc...
chenxiuheng/js4ms
js4ms-jsdk/amt/src/main/java/org/js4ms/amt/message/AmtMulticastDataMessage.java
Java
apache-2.0
8,182
package app.logic.activity.org; import java.util.ArrayList; import java.util.List; import org.ql.utils.QLToastUtils; import org.ql.views.listview.QLXListView; import com.google.gson.Gson; import android.os.Bundle; import android.text.Editable; import android.text.TextUtils; import android.text.TextWatcher; import a...
Zhangsongsong/GraduationPro
毕业设计/code/android/YYFramework/src/app/logic/activity/org/AddFriendToOrg.java
Java
apache-2.0
8,521
/* * Copyright 2013-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
marbon87/spring-cloud-config
spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/environment/vault/SpringVaultEnvironmentRepository.java
Java
apache-2.0
2,331
/** * 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...
onders86/camel
camel-core/src/test/java/org/apache/camel/processor/ChoiceCompoundPredicateTest.java
Java
apache-2.0
4,811
package org.javarosa.xpath.expr; import org.javarosa.core.model.condition.EvaluationContext; import org.javarosa.core.model.instance.DataInstance; import org.javarosa.xpath.parser.XPathSyntaxException; public class XPathTanFunc extends XPathFuncExpr { public static final String NAME = "tan"; private static fi...
dimagi/commcare
src/main/java/org/javarosa/xpath/expr/XPathTanFunc.java
Java
apache-2.0
788
/** * Copyright 2016 Nikita Koksharov * * 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...
ContaAzul/redisson
redisson/src/main/java/org/redisson/misc/RPromise.java
Java
apache-2.0
2,517
/* * Copyright 2016 LinkedIn 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 i...
nntnag17/dr-elephant-1
app/com/linkedin/drelephant/util/InfoExtractor.java
Java
apache-2.0
12,771
/** * 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...
chirino/activemq-apollo
apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/OpenwireException.java
Java
apache-2.0
1,206
/* * $RCSfile: J2KMetadataFormatResources.java,v $ * * * Copyright (c) 2005 Sun Microsystems, 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: * * - Redistribution of source cod...
GoogleCloudPlatform/healthcare-dicom-dicomweb-adapter
third_party/jai-imageio-jpeg2000/src/main/java/com/github/jaiimageio/jpeg2000/impl/J2KMetadataFormatResources.java
Java
apache-2.0
13,590
/** * */ package org.hamster.weixinmp.test.controller; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import org.apache.commons.io.IOUtils; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; impor...
Wingo7239/WeixinMultiPlatform
src/test/java/org/hamster/weixinmp/test/controller/WxControllerManualTest.java
Java
apache-2.0
2,108
/* * 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-core/src/main/java/org/apache/geode/cache/query/internal/index/CompactRangeIndex.java
Java
apache-2.0
66,461
/* * 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
core/camel-base/src/main/java/org/apache/camel/impl/engine/ServicePool.java
Java
apache-2.0
8,709
// ---------------------------------------------------------------------------- // Copyright 2007-2015, GeoTelematic Solutions, Inc. // All rights reserved // ---------------------------------------------------------------------------- // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not...
paragp/GTS-PreUAT
src/org/opengts/dbtools/DBEdit.java
Java
apache-2.0
17,042
package io.katharsis.jackson.mock.models; import io.katharsis.resource.annotations.JsonApiId; import io.katharsis.resource.annotations.JsonApiIncludeByDefault; import io.katharsis.resource.annotations.JsonApiResource; import io.katharsis.resource.annotations.JsonApiToMany; import java.util.Collections; import java.ut...
dustinstanley/katharsis-framework
katharsis-core/src/test/java/io/katharsis/jackson/mock/models/ClassBWithInclusion.java
Java
apache-2.0
1,197
/* * Copyright 2012-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 ap...
hello2009chen/spring-boot
spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/web/client/TestRestTemplateContextCustomizerTests.java
Java
apache-2.0
2,732
/** * 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...
vergilchiu/hive
hcatalog/webhcat/java-client/src/main/java/org/apache/hive/hcatalog/api/repl/StagingDirectoryProvider.java
Java
apache-2.0
2,218
package org.codehaus.plexus.archiver.util; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import org.codehaus.plexus.components.io.functions.FileSupplier; import org.codehaus.plexus.components.io.resources.PlexusIoResource; im...
krosenvold/plexus-archiver
src/main/java/org/codehaus/plexus/archiver/util/ResourceUtils.java
Java
apache-2.0
3,768
/* * Copyright 2008 Anuradha. * * 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...
tectronics/cubeon
connectors/gcode/core/src/main/java/org/netbeans/cubeon/gcode/query/GCodeQuerySupport.java
Java
apache-2.0
5,129
package com.jobxhub.agent.test; import com.jobxhub.agent.service.AgentService; import com.jobxhub.common.Constants; import org.apache.commons.codec.digest.DigestUtils; import com.jobxhub.common.ext.ExtensionLoader; import com.jobxhub.common.logging.LoggerFactory; import com.jobxhub.common.util.SystemPropertyUtils; imp...
wolfboys/opencron-dev
jobx-agent/src/test/java/com/jobxhub/agent/test/BootstrapTest.java
Java
apache-2.0
3,169
/* * 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-uimaj
uimaj-cpe/src/test/java/org/apache/uima/examples/cpm/sofa/SofaCasInitializer.java
Java
apache-2.0
1,827
/* * 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 ...
clarkyzl/flink
flink-table/flink-sql-client/src/test/java/org/apache/flink/table/client/SqlClientTest.java
Java
apache-2.0
8,965
/** * 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...
apache/incubator-tez
tez-dag/src/main/java/org/apache/tez/dag/app/rm/YarnTaskSchedulerService.java
Java
apache-2.0
81,966
/* * Copyright (C) 2006 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
sensui/guava-libraries
guava/src/com/google/common/reflect/TypeToken.java
Java
apache-2.0
44,308
package com.badbeans; public class BeanWithOverloadedSetter { private String value; public String getValue() { return value; } public void setValue(String value) { this.value = value; } public void setValue(Integer value) { this.value = value.toString(); } }
mrjabba/mybatis
src/test/java/com/badbeans/BeanWithOverloadedSetter.java
Java
apache-2.0
310
package com.dropbox.examples.lists; import android.content.Context; import com.dropbox.sync.android.DbxRecord; import java.util.List; // An adapter for items within a list. Each item is backed by a record in the list's datastore. public class ListItemAdapter extends DeletableItemAdapter<DbxRecord> { public ListI...
jfreebj/Lists-android
src/com/dropbox/examples/lists/ListItemAdapter.java
Java
apache-2.0
554
/** * 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...
beysims/reef
lang/java/reef-examples/src/main/java/org/apache/reef/examples/pool/JobDriver.java
Java
apache-2.0
9,817
/* * Copyright (c) 2013-2015 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 ...
mAzurkovic/concourse
concourse-integration-tests/src/test/java/org/cinchapi/concourse/testsuite/IntegrationTestSuite.java
Java
apache-2.0
2,572
/* * Copyright (c) 2009 - 2014 CaspersBox Web Services * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
cwsus/esolutions
eSolutions/src/main/java/com/cws/esolutions/android/tasks/DNSRequestTask.java
Java
apache-2.0
5,823
package com.i906.mpt.common; import android.support.v4.app.DialogFragment; import com.i906.mpt.internal.ActivityGraph; /** * @author Noorzaini Ilhami */ public abstract class BaseDialogFragment extends DialogFragment { protected ActivityGraph activityGraph() { return ((BaseActivity) getActivity()).act...
MalaysiaPrayerTimes/android
app/src/main/java/com/i906/mpt/common/BaseDialogFragment.java
Java
apache-2.0
342
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
deeplearning4j/deeplearning4j
datavec/datavec-api/src/main/java/org/datavec/api/transform/transform/BaseColumnTransform.java
Java
apache-2.0
5,233