repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
rudolfbono/NAIM
src/main/java/org/encog/ensemble/ml/mlp/factory/MultiLayerPerceptronFactory.java
2197
/* * Encog(tm) Core v3.3 - Java Version * http://www.heatonresearch.com/encog/ * https://github.com/encog/encog-java-core * Copyright 2008-2014 Heaton Research, 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...
gpl-3.0
yugecin/opsu
src/itdelatrisu/opsu/video/FFmpeg.java
5296
/* * opsu! - an open-source osu! client * Copyright (C) 2014-2017 Jeffrey Han * * opsu! 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 v...
gpl-3.0
DanVanAtta/triplea
game-core/src/test/java/games/strategy/triplea/delegate/power/calculator/MainOffenseCombatValueTest.java
13586
package games.strategy.triplea.delegate.power.calculator; import static games.strategy.triplea.Constants.TERRITORYEFFECT_ATTACHMENT_NAME; import static games.strategy.triplea.Constants.UNIT_ATTACHMENT_NAME; import static games.strategy.triplea.delegate.battle.steps.MockGameData.givenGameData; import static org.hamcres...
gpl-3.0
geowe/geowe-core
src/main/java/org/geowe/client/local/main/tool/spatial/geoprocess/GeoprocessValidator.java
3168
/* * #%L * GeoWE Project * %% * Copyright (C) 2015 - 2016 GeoWE.org * %% * This file is part of GeoWE.org. * * GeoWE 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, ...
gpl-3.0
dacopan/PhotoWord
android/Aviary-SDK/src/com/aviary/android/feather/effects/StickersPanel.java
45958
package com.aviary.android.feather.effects; import it.sephiroth.android.library.imagezoom.ImageViewTouchBase.DisplayType; import it.sephiroth.android.library.widget.AdapterView.OnItemClickListener; import it.sephiroth.android.library.widget.AdapterView.OnItemLongClickListener; import it.sephiroth.android.library.widge...
gpl-3.0
zheguang/BerkeleyDB
lang/java/src/com/sleepycat/bind/RecordNumberBinding.java
1835
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2000, 2014 Oracle and/or its affiliates. All rights reserved. * */ package com.sleepycat.bind; import com.sleepycat.compat.DbCompat; import com.sleepycat.db.DatabaseEntry; /** * An <code>EntryBinding</code> that treats a record numbe...
agpl-3.0
martindale/thundernetwork
thunder-client/src/main/java/network/thunder/client/communications/objects/UpdateChannelResponseThree.java
964
/* * ThunderNetwork - Server Client Architecture to send Off-Chain Bitcoin Payments * Copyright (C) 2015 Mats Jerratsch <matsjj@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software...
agpl-3.0
inspectIT/inspectIT
inspectit.ui.rcp/src/main/java/rocks/inspectit/ui/rcp/validation/ValidationControlDecoration.java
13011
package rocks.inspectit.ui.rcp.validation; import java.util.Collection; import java.util.HashSet; import org.eclipse.core.runtime.Assert; import org.eclipse.jface.dialogs.IMessageProvider; import org.eclipse.jface.fieldassist.ControlDecoration; import org.eclipse.jface.fieldassist.FieldDecorationRegistry; import org....
agpl-3.0
brtonnies/rapidminer-studio
src/main/java/com/rapidminer/tools/expression/internal/function/trigonometric/HyperbolicSine.java
1414
/** * Copyright (C) 2001-2015 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by the Free So...
agpl-3.0
roskens/opennms-pre-github
opennms-dao/src/test/java/org/opennms/netmgt/dao/hibernate/AnnotationTest.java
12523
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2006-2014 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
agpl-3.0
nvoron23/rstudio
src/gwt/src/org/rstudio/core/client/jsonrpc/RpcError.java
2888
/* * RpcError.java * * Copyright (C) 2009-12 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. Th...
agpl-3.0
inspectIT/inspectIT
inspectit.agent.java/src/test/java/rocks/inspectit/agent/java/core/impl/PlatformManagerTest.java
4499
package rocks.inspectit.agent.java.core.impl; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.is; import static org.mockito.Matchers.anyInt; import static org.mockito.Matchers.anyLong; import static org.mockito.Matchers.anyString; im...
agpl-3.0
fhuertas/torodb
torod/db-executor/src/main/java/com/torodb/torod/db/executor/jobs/MaxElementsCallable.java
1453
package com.torodb.torod.db.executor.jobs; import com.torodb.torod.core.cursors.CursorId; import com.torodb.torod.core.dbWrapper.Cursor; import com.torodb.torod.core.dbWrapper.DbWrapper; import com.torodb.torod.core.exceptions.ToroException; import com.torodb.torod.core.exceptions.ToroRuntimeException; /** * */ pu...
agpl-3.0
deadcyclo/nuxeo-features
localconf/nuxeo-localconf-simple/src/main/java/org/nuxeo/ecm/localconf/SetSimpleConfParamVar.java
2751
/* * (C) Copyright 2011 Nuxeo SA (http://nuxeo.com/) and contributors. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.o...
lgpl-2.1
zsimoes/jvstm
examples/pertxboxes/TestPerTxBoxes.java
2094
import jvstm.CommitException; import jvstm.Transaction; import jvstm.VBox; public class TestPerTxBoxes { protected static final int INITIAL_X = 4; protected static final int INITIAL_Y = 2; protected static final VBox<Integer> normalVBox = new VBox<Integer>(0); protected static final SwapperPerTxBox swapper = ne...
lgpl-2.1
PaoloP74/Arduino
app/src/processing/app/Editor.java
85609
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* Part of the Processing project - http://processing.org Copyright (c) 2004-09 Ben Fry and Casey Reas Copyright (c) 2001-04 Massachusetts Institute of Technology This program is free software; you can redistribute it and/or modify it under...
lgpl-2.1
dana-i2cat/opennaas
utils/old-cim/SwitchPortSpanningTreeStatistics.java
2333
/** * This file was auto-generated by mofcomp -j version 1.0.0 on Wed Jan 12 * 09:21:06 CET 2011. */ package org.opennaas.extensions.router.model; import java.io.*; import java.lang.Exception; /** * This Class contains accessor and mutator methods for all properties defined in the CIM class SwitchPortSpanningTre...
lgpl-3.0
MesquiteProject/MesquiteCore
Source/mesquite/lib/TreeReference.java
2086
/* Mesquite source code. Copyright 1997 and onward, W. Maddison and D. Maddison. Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code. The commenting leaves much to be desired. Please approach this source code with the spirit of helping out. Per...
lgpl-3.0
SparkyTheFox/Sparkys-Mod-1.11.2-1.4.0-Alpha-SourceCode
common/mod/sparkyfox/servermod/item/ingots/ItemMagnesiumIngot.java
830
package mod.sparkyfox.servermod.item.ingots; import mod.sparkyfox.servermod.ServerMod; import mod.sparkyfox.servermod.init.ModBlocks; import mod.sparkyfox.servermod.lib.ModNames; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minec...
lgpl-3.0
MesquiteProject/MesquiteCore
Source/mesquite/lib/characters/MCharactersHistory.java
1483
/* Mesquite source code. Copyright 1997 and onward, W. Maddison and D. Maddison. Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code. The commenting leaves much to be desired. Please approach this source code with the spirit of helping out. Per...
lgpl-3.0
Alfresco/community-edition
projects/repository/source/test-java/org/alfresco/repo/lock/mem/AbstractLockStoreTxTest.java
24097
/* * #%L * Alfresco Repository * %% * Copyright (C) 2005 - 2016 Alfresco Software Limited * %% * This file is part of the Alfresco software. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided under the...
lgpl-3.0
F1r3w477/CustomWorldGen
build/tmp/recompileMc/sources/net/minecraftforge/items/VanillaInventoryCodeHooks.java
5568
/* * Minecraft Forge * Copyright (c) 2016. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation version 2.1 * of the License. * * This library is distributed in the hope that it will...
lgpl-3.0
FoudroyantFactotum/The-Capricious-Production-Line-of-Wayward-Devices
src/main/java/mod/steamnsteel/client/model/opengex/OpenGEXAnimationFrameProperty.java
683
package mod.steamnsteel.client.model.opengex; import net.minecraftforge.common.property.IUnlistedProperty; /** * Created by codew on 4/11/2015. */ public enum OpenGEXAnimationFrameProperty implements IUnlistedProperty<OpenGEXState> { instance; @Override public String getName() { return "Ope...
lgpl-3.0
triplein/plsql-encfs
src/org/mrpdaemon/sec/encfs/EncFSConfigWriter.java
5350
/* * EncFS Java Library * Copyright (C) 2011-2012 Mark R. Pariente * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any late...
lgpl-3.0
tcmoore32/sheer-madness
ij-compiler-api/src/main/java/gw/compiler/ij/processors/IDependencyCollector.java
248
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.compiler.ij.processors; import gw.lang.parser.IParsedElement; public interface IDependencyCollector<T extends IParsedElement> { void collect(T parsedElement, DependencySink sink); }
apache-2.0
mdrillin/modeshape
persistence/modeshape-persistence-relational/src/main/java/org/modeshape/persistence/relational/TransactionalCaches.java
6178
/* * ModeShape (http://www.modeshape.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
apache-2.0
google/guava
android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
47693
/* * Copyright (C) 2007 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...
apache-2.0
jwren/intellij-community
plugins/coverage-common/src/com/intellij/coverage/view/CoverageViewExtension.java
3819
// 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.coverage.view; import com.intellij.coverage.CoverageDataManager; import com.intellij.coverage.CoverageSuitesBundle; import com.intellij.ide.util.treeView.Abs...
apache-2.0
nknize/elasticsearch
server/src/main/java/org/elasticsearch/search/fetch/subphase/FetchVersionPhase.java
2199
/* * 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...
apache-2.0
gpc/searchable
src/java/grails/plugin/searchable/internal/support/DynamicMethodUtils.java
2871
/* * Copyright 2007 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
dvandok/not-yet-commons-ssl-debian
src/java/org/apache/commons/ssl/asn1/ConstructedOctetStream.java
2236
package org.apache.commons.ssl.asn1; import java.io.IOException; import java.io.InputStream; class ConstructedOctetStream extends InputStream { private final ASN1ObjectParser _parser; private boolean _first = true; private InputStream _currentStream; ConstructedOctetStream( ASN1ObjectPar...
apache-2.0
saandrews/pulsar
pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ServiceChannelInitializer.java
2540
/** * 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-2.0
my-popsy/cameraview
demo/src/main/java/com/google/android/cameraview/demo/AspectRatioFragment.java
4866
/* * Copyright (C) 2016 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...
apache-2.0
raviagarwal7/buck
src/com/facebook/buck/util/DirectoryCleaner.java
5454
/* * 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...
apache-2.0
argv0/cloudstack
server/src/com/cloud/configuration/ZoneConfig.java
3054
// 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-2.0
aldaris/wicket
wicket-request/src/main/java/org/apache/wicket/request/Url.java
30113
/* * 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-2.0
salyh/incubator-tamaya
java8/api/src/main/java/org/apache/tamaya/spi/PropertySourceProvider.java
1735
/* * 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-2.0
diorcety/intellij-community
java/java-psi-impl/src/com/intellij/psi/impl/source/tree/java/PsiLambdaExpressionImpl.java
9435
/* * Copyright 2000-2012 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...
apache-2.0
pdxrunner/geode
geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/IndexRepositoryFactory.java
8853
/* * 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 ...
apache-2.0
messi49/hadoop
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3native/NativeS3FileSystem.java
26157
/** * 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-2.0
flofreud/aws-sdk-java
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DeleteRouteRequest.java
6223
/* * 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...
apache-2.0
shenyefeng/java-sdk-for-UPYUN
src/main/java/com/upyun/sdk/utils/PropertyUtil.java
1556
// 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-2.0
playframework/playframework
core/play-java/src/test/java/play/mvc/HttpTest.java
10346
/* * Copyright (C) Lightbend Inc. <https://www.lightbend.com> */ package play.mvc; import java.util.Optional; import java.util.function.Consumer; import com.typesafe.config.Config; import com.typesafe.config.ConfigFactory; import org.junit.Test; import play.Application; import play.Environment; import play.i18n.La...
apache-2.0
apache/drill
exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/easy/EvfV1ScanBuilder.java
5918
/* * 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-2.0
igniterealtime/Smack
smack-extensions/src/main/java/org/jivesoftware/smackx/privacy/filter/SetActiveListFilter.java
1272
/** * * Copyright 2015-2021 Florian Schmaus * * 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 ...
apache-2.0
Netflix/governator
governator-core/src/main/java/com/netflix/governator/internal/scanner/ClasspathUrlDecoder.java
1996
package com.netflix.governator.internal.scanner; import java.io.ByteArrayOutputStream; import java.io.File; import java.net.URL; public class ClasspathUrlDecoder { public static File toFile(URL url) { if ( !"file".equals(url.getProtocol()) && !"vfs".equals(url.getProtocol()) ) { t...
apache-2.0
mike-jumper/incubator-guacamole-client
guacamole/src/main/java/org/apache/guacamole/rest/history/APISortPredicate.java
4823
/* * 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-2.0
lucastheisen/apache-directory-server
core-api/src/main/java/org/apache/directory/server/core/api/changelog/RevisionOrder.java
1412
/* * 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 * "Lic...
apache-2.0
neo4art/neo4art
neo4art-mobile/src/main/app/plugins/plugin.google.maps/src/android/plugin/google/maps/GoogleMaps.java
73351
package plugin.google.maps; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Set; import android.view.*; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaInterface; import org.apache.cordova.CordovaPlugin; import o...
apache-2.0
adessaigne/camel
core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/StreamComponentBuilderFactory.java
5231
/* * 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-2.0
bartoszmajsak/arquillian-core
container/test-impl-base/src/test/java/org/jboss/arquillian/container/test/impl/execution/RemoteTestExecuterTestCase.java
7427
/* * JBoss, Home of Professional Open Source * Copyright 2009 Red Hat Inc. and/or its affiliates and other contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may n...
apache-2.0
DataSketches/sketches-core
src/test/java/org/apache/datasketches/quantiles/ItemsUnionTest.java
17150
/* * 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-2.0
vineetgarg02/hive
druid-handler/src/java/org/apache/hadoop/hive/druid/DruidStorageHandlerUtils.java
51702
/* * 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-2.0
rgoldberg/guava
guava/src/com/google/common/collect/ForwardingCollection.java
8096
/* * Copyright (C) 2007 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...
apache-2.0
techkrish/org.ops4j.pax.cdi
pax-cdi-samples/pax-cdi-sample7-service-impl100/src/main/java/org/ops4j/pax/cdi/sample7/impl/RankedServiceImpl100.java
1073
/* * 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 * distr...
apache-2.0
Nimco/sling
bundles/jcr/oak-server/src/test/java/org/apache/sling/jcr/oak/server/it/OakServerTestSupport.java
7773
/* * 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-2.0
djechelon/spring-security
messaging/src/test/java/org/springframework/security/messaging/context/SecurityContextChannelInterceptorTests.java
9123
/* * Copyright 2002-2016 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...
apache-2.0
DariusX/camel
core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestConfigurationTest.java
2881
/* * 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-2.0
FasterXML/jackson-core
src/main/java/com/fasterxml/jackson/core/json/async/package-info.java
126
/** * Non-blocking ("async") JSON parser implementation. * * @since 2.9 */ package com.fasterxml.jackson.core.json.async;
apache-2.0
gshlsh17/jredis
core/bench/src/main/java/org/jredis/bench/JRedisJProfileSubject.java
2083
/* * Copyright 2009 Joubin Mohammad Houshyar * * 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 b...
apache-2.0
amitsela/incubator-beam
runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/BatchStatefulParDoOverrides.java
11297
/* * 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-2.0
maropu/spark
common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/protocol/FinalizeShuffleMerge.java
2575
/* * 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-2.0
Collaborne/elasticsearch
core/src/main/java/org/elasticsearch/index/indexing/ShardIndexingService.java
10923
/* * 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...
apache-2.0
andreagenso/java2scala
test/J2s/java/openjdk-6-src-b27/jdk/src/share/classes/sun/swing/SwingLazyValue.java
5055
/* * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
apache-2.0
RyanSkraba/beam
sdks/java/core/src/test/java/org/apache/beam/sdk/schemas/transforms/CastValidatorTest.java
4841
/* * 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-2.0
boonproject/boon
boon/src/main/java/org/boon/validation/ValidationException.java
1961
/* * 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...
apache-2.0
AndroidX/androidx
wear/wear/src/androidTest/java/androidx/wear/ambient/AmbientModeTestActivity.java
2031
/* * Copyright (C) 2017 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...
apache-2.0
noobyang/AndroidStudy
opencv/src/main/java/org/opencv/core/Algorithm.java
2284
// // This file is auto-generated. Please don't modify it! // package org.opencv.core; import java.lang.String; // C++: class Algorithm //javadoc: Algorithm public class Algorithm { protected final long nativeObj; protected Algorithm(long addr) { nativeObj = addr; } public long getNativeObjAddr() { ret...
apache-2.0
karreiro/uberfire
uberfire-organizationalunit-manager/src/main/java/org/guvnor/organizationalunit/manager/client/OrganizationalUnitManagerEntryPoint.java
1120
/* * Copyright 2013 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 a...
apache-2.0
rhuss/kubernetes-client
kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/DefaultOperationInfo.java
1538
/** * 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 obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
apache-2.0
kalaspuffar/pdfbox
pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationSound.java
2416
/* * Copyright 2018 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...
apache-2.0
Deepnekroz/kaa
server/node/src/main/java/org/kaaproject/kaa/server/control/service/sdk/package-info.java
715
/** * 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 applicabl...
apache-2.0
ThiagoGarciaAlves/intellij-community
platform/lang-impl/src/com/intellij/codeInspection/actions/SilentCodeCleanupAction.java
3181
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
DorsetProject/dorset-framework
core/src/test/java/edu/jhuapl/dorset/ApplicationTest.java
4044
/* * Copyright 2016 The Johns Hopkins University Applied Physics Laboratory LLC * 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/li...
apache-2.0
neonbjb/MavInterfaceLib
src/com/MAVLink/Messages/ardupilotmega/msg_roll_pitch_yaw_thrust_setpoint.java
2911
// MESSAGE ROLL_PITCH_YAW_THRUST_SETPOINT PACKING package com.MAVLink.Messages.ardupilotmega; import com.MAVLink.Messages.MAVLinkMessage; import com.MAVLink.Messages.MAVLinkPayload; import com.MAVLink.Messages.MAVLinkPacket; //import android.util.Log; /** * Setpoint in roll, pitch, yaw currently active on the system....
apache-2.0
zstackorg/zstack
header/src/main/java/org/zstack/header/vm/APISetVmClockTrackMsg.java
1310
package org.zstack.header.vm; import org.springframework.http.HttpMethod; import org.zstack.header.identity.Action; import org.zstack.header.message.APIMessage; import org.zstack.header.message.APIParam; import org.zstack.header.rest.RestRequest; @Action(category = VmInstanceConstant.ACTION_CATEGORY) @RestRequest( ...
apache-2.0
jprante/elasticsearch-server
server/src/main/java/org/elasticsearch/search/aggregations/support/ValuesSourceParserHelper.java
4889
/* * 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...
apache-2.0
gradle/gradle
subprojects/execution/src/main/java/org/gradle/internal/execution/history/OverlappingOutputs.java
1269
/* * Copyright 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 * * Unless required by applica...
apache-2.0
marfer/spring-social-google
spring-social-google/src/main/java/org/springframework/social/google/api/calendar/EventStatus.java
1403
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
titusfortner/selenium
java/src/org/openqa/selenium/grid/sessionqueue/local/LocalNewSessionQueue.java
14756
package org.openqa.selenium.grid.sessionqueue.local; import static java.net.HttpURLConnection.HTTP_INTERNAL_ERROR; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static org.openqa.selenium.concurrent.ExecutorServices.shutdownGracefully; import com.google.common.annotations.VisibleForTesting; import ...
apache-2.0
apache/portals-pluto
pluto-taglib/src/main/java/org/apache/pluto/tags/BasicURLTag.java
1469
/* * 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-2.0
srikalyc/Sql4D
Sql4DCompiler/src/main/java/com/yahoo/sql4d/insert/nodes/RollupSpec.java
2139
/** * Copyright 2014 Yahoo! 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 writing, soft...
apache-2.0
Salaboy/dashbuilder
dashbuilder-client/dashbuilder-common-client/src/main/java/org/dashbuilder/common/client/widgets/slider/view/SliderBarVertical.java
4123
package org.dashbuilder.common.client.widgets.slider.view; import com.google.gwt.event.dom.client.MouseEvent; import com.google.gwt.user.client.ui.Widget; import org.dashbuilder.common.client.widgets.slider.presenter.Presenter; import java.util.ArrayList; /** * * @author kiouri * */ public class SliderBarVertic...
apache-2.0
hello2009chen/spring-boot
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/liquibase/DataSourceClosingSpringLiquibase.java
2026
/* * Copyright 2012-2018 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...
apache-2.0
apache/archiva
archiva-modules/archiva-base/archiva-configuration/archiva-configuration-model/src/main/java/org/apache/archiva/configuration/model/ProxyConnectorRuleConfiguration.java
3933
package org.apache.archiva.configuration.model; /* * 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 Apa...
apache-2.0
dkhwangbo/druid
processing/src/test/java/org/apache/druid/query/aggregation/DoubleMinAggregationTest.java
3980
/* * 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-2.0
chtyim/cdap
cdap-app-templates/cdap-etl/cdap-etl-batch/src/main/java/co/cask/cdap/etl/batch/ETLBatchApplication.java
2017
/* * Copyright © 2015 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 agreed t...
apache-2.0
signed/intellij-community
python/src/com/jetbrains/python/psi/PyUtil.java
75764
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
HonzaKral/elasticsearch
x-pack/plugin/identity-provider/qa/idp-rest-tests/src/test/java/org/elasticsearch/xpack/idp/IdentityProviderAuthenticationIT.java
11146
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.idp; import org.apache.http.HttpHost; import...
apache-2.0
kbachl/brix-cms
brix-core/src/main/java/org/brixcms/plugin/site/resource/admin/UploadResourcesPanel.java
4385
/** * 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...
apache-2.0
HonzaKral/elasticsearch
x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/inference/ingest/InferenceProcessor.java
15721
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.ml.inference.ingest; import org.apache.loggin...
apache-2.0
robojukie/myrobotlab
src/org/myrobotlab/serial/SoftwarePort.java
72
package org.myrobotlab.serial; public abstract class SoftwarePort { }
apache-2.0
sujianping/Office-365-SDK-for-Android
sdk/office365-mail-calendar-contact-sdk/odata/engine/src/test/java/com/msopentech/odatajclient/engine/it/PropertyValueTestITCase.java
9081
/** * Copyright © Microsoft Open Technologies, 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 * * THIS ...
apache-2.0
runnerfish/ssh2_code_learn
SSH2 Code Kit/04/4.5/simpleInterceptor/WEB-INF/src/org/crazyit/app/interceptor/SimpleInterceptor.java
1487
package org.crazyit.app.interceptor; import com.opensymphony.xwork2.ActionInvocation; import com.opensymphony.xwork2.interceptor.AbstractInterceptor; import java.util.*; import org.crazyit.app.action.*; /** * Description: * <br/>ÍøÕ¾: <a href="http://www.crazyit.org">·è¿ñJavaÁªÃË</a> * <br/>Copyright (C), 2001-20...
apache-2.0
kensipe/hdfs
mesos-commons/src/main/java/org/apache/mesos/protobuf/AttributeUtil.java
1544
package org.apache.mesos.protobuf; import org.apache.mesos.Protos; import java.util.ArrayList; import java.util.Arrays; /** * Utility class for creating attributes. This class reduces the overhead of protobuf and makes code * easier to read. */ public class AttributeUtil { public static Protos.Attribute crea...
apache-2.0
007slm/nutz
src/org/nutz/el/Parse.java
703
package org.nutz.el; import org.nutz.el.parse.CharQueue; /** * 转换器接口.<br> * 负责对字符队列进行转意,将其零散的字符转换成有具体意义的对象. * @author juqkai(juqkai@gmail.com) * */ public interface Parse { /** * 空对象, 这样更好判断空值 */ static final Object nullobj = new Object(); /** * 提取队列顶部元素<br> * 特别注意,实现本方法的子程序只应该读取...
apache-2.0
nmldiegues/stibt
infinispan/core/src/main/java/org/infinispan/dataplacement/c50/tree/node/Type3Node.java
4790
/* * INESC-ID, Instituto de Engenharia de Sistemas e Computadores Investigação e Desevolvimento em Lisboa * Copyright 2013 INESC-ID and/or its affiliates and other * contributors as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a full listing of * individual co...
apache-2.0
dumitru-petrusca/gosu-lang
idea-gosu-plugin/src/main/java/gw/plugin/ij/debugger/GosuEditorTextProvider.java
4534
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.plugin.ij.debugger; import com.intellij.debugger.engine.DebuggerUtils; import com.intellij.debugger.engine.evaluation.CodeFragmentKind; import com.intellij.debugger.engine.evaluation.TextWithImports; import com.intellij.debugger.engine.evaluation.TextWithIm...
apache-2.0
igniterealtime/Smack
smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5BytestreamSession.java
3149
/** * * Copyright 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 applicable...
apache-2.0
stackforge/monasca-common
java/monasca-common-hibernate/src/main/java/monasca/common/hibernate/db/MetricDefinitionDb.java
2099
/* * Copyright 2015 FUJITSU LIMITED * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
apache-2.0