repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
ChristianMurphy/uPortal
uPortal-io/uPortal-io-types/src/main/java/org/apereo/portal/io/xml/eventaggr/ExternalTermDetailComparator.java
1361
/** * Licensed to Apereo under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright ownership. Apereo * licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use * this file except in compli...
apache-2.0
GlenRSmith/elasticsearch
test/framework/src/main/java/org/elasticsearch/test/AbstractSchemaValidationTestCase.java
7102
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
apache-2.0
jvanz/core
qadevOOo/tests/java/ifc/java/_XJavaVM.java
1862
/* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following lice...
gpl-3.0
asedunov/intellij-community
platform/vcs-impl/src/com/intellij/openapi/vcs/impl/CodeSmellDetectorImpl.java
8464
/* * Copyright 2000-2015 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
bruthe/hadoop-2.6.0r
src/yarn/server/org/apache/hadoop/yarn/server/nodemanager/DirectoryCollection.java
12900
/** * 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-2.0
pombredanne/brisk-hadoop-common
src/mapred/org/apache/hadoop/mapred/InterTrackerProtocol.java
6894
/** * 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
deciament/presto
presto-main/src/main/java/com/facebook/presto/byteCode/control/TryCatch.java
3146
/* * 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...
apache-2.0
basicthinker/Quatrain-MapReduce
src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamUtil.java
13827
/** * 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
zfighter/giraph-research
giraph-core/target/munged/munged/main/org/apache/giraph/metrics/GiraphMetricsRegistry.java
9285
/* * 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
openweave/openweave-core
third_party/android/platform-libcore/android-platform-libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/ReadOnlyHeapCharBufferTest.java
1168
/* 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
SeleniumHQ/selenium
java/src/org/openqa/selenium/remote/server/handler/ExecuteAsyncScript.java
2218
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
apache-2.0
mpage23/flyway
flyway-core/src/test/java/org/flywaydb/core/internal/dbsupport/postgresql/PostgreSQLSqlStatementBuilderSmallTest.java
5421
/** * Copyright 2010-2015 Axel Fontaine * * 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
thomasdarimont/keycloak
services/src/main/java/org/keycloak/services/clientpolicy/executor/ConfidentialClientAcceptExecutor.java
2690
/* * Copyright 2021 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
apache-2.0
nicoben/pentaho-kettle
engine/test-src/org/pentaho/di/trans/steps/synchronizeaftermerge/SynchronizeAfterMergeMetaTest.java
4568
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
apache-2.0
mpage23/flyway
flyway-core/src/main/java/org/flywaydb/core/internal/dbsupport/mysql/MySQLSchema.java
6160
/** * Copyright 2010-2015 Axel Fontaine * * 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
asedunov/intellij-community
platform/dvcs-impl/src/com/intellij/dvcs/push/ui/PushTargetTextField.java
2311
/* * 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...
apache-2.0
echinopsii/net.echinopsii.3rdparty.blueprints
blueprints-test/src/test/java/com/tinkerpop/blueprints/GraphFactoryTest.java
1089
package com.tinkerpop.blueprints; import com.tinkerpop.blueprints.impls.tg.TinkerGraph; import junit.framework.TestCase; import org.apache.commons.configuration.BaseConfiguration; import org.apache.commons.configuration.Configuration; import java.util.HashMap; import java.util.Map; /** * @author Stephen Mallette (h...
bsd-3-clause
erpcya/adempierePOS
zkwebui/WEB-INF/src/org/adempiere/webui/apps/wf/WFPanel.java
8196
/****************************************************************************** * Copyright (C) 2008 Low Heng Sin * * This program is free software; you can redistribute it and/or modify it * * under the terms version 2 of the GNU General Public License as published ...
gpl-2.0
jmdjr/BitPlus
src_vendor/org/objectweb/asm/tree/analysis/BasicInterpreter.java
11549
/*** * 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. Redistribution...
gpl-3.0
jtux270/translate
ovirt/backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/dao/DispatchResult.java
1730
package org.ovirt.engine.core.notifier.dao; import org.ovirt.engine.core.common.EventNotificationMethod; import org.ovirt.engine.core.notifier.filter.AuditLogEvent; public class DispatchResult { private final AuditLogEvent event; private final String address; private final EventNotificationMethod Notific...
gpl-3.0
mbroadst/rethinkdb
drivers/java/src/main/java/com/rethinkdb/gen/ast/Desc.java
683
// Autogenerated by metajava.py. // Do not edit this file directly. // The template for this file is located at: // ../../../../../../../../templates/AstSubclass.java package com.rethinkdb.gen.ast; import com.rethinkdb.gen.proto.TermType; import com.rethinkdb.gen.exc.ReqlDriverError; import com.rethinkdb.model.Argume...
agpl-3.0
rmswimkktt/checkstyle
src/main/java/com/puppycrawl/tools/checkstyle/checks/AvoidEscapedUnicodeCharactersCheck.java
12213
//////////////////////////////////////////////////////////////////////////////// // checkstyle: Checks Java source code for adherence to a set of rules. // Copyright (C) 2001-2015 the original author or authors. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU ...
lgpl-2.1
miraculix0815/jexcelapi
src/jxl/write/biff/StyleXFRecord.java
1809
/********************************************************************* * * Copyright (C) 2002 Andrew Khan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of th...
lgpl-3.0
jblievremont/sonarqube
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/AdditionalFilePredicates.java
1579
/* * SonarQube, open source software quality management tool. * Copyright (C) 2008-2014 SonarSource * mailto:contact AT sonarsource DOT com * * SonarQube 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 Found...
lgpl-3.0
irudyak/ignite
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsTxCacheRebalancingTest.java
2275
/* * 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-2.0
kasun32/carbon-apimgt
components/apimgt/org.wso2.carbon.apimgt.usage/org.wso2.carbon.apimgt.usage.client/src/main/java/org/wso2/carbon/apimgt/usage/client/dto/AppCallTypeDTO.java
813
package org.wso2.carbon.apimgt.usage.client.dto; import java.util.List; /** * Created by asiri on 3/23/14. */ public class AppCallTypeDTO { private String appName; private String apiName; private String consumerKey; private List<String> methods; public String getconsumerKey() {return consum...
apache-2.0
dslomov/bazel
src/main/java/com/google/devtools/build/lib/events/ExtendedEventHandler.java
2320
// Copyright 2014 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...
apache-2.0
asedunov/intellij-community
platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/settings/AbstractExternalSystemConfigurable.java
10575
/* * 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
jwren/intellij-community
platform/util/concurrency/com/intellij/util/containers/ConcurrentPackedBitsArrayImpl.java
1757
// 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.util.containers; class ConcurrentPackedBitsArrayImpl implements ConcurrentPackedBitsArray { private final int bitsPerChunk; private final ConcurrentBitSe...
apache-2.0
smmribeiro/intellij-community
platform/analysis-api/src/com/intellij/lang/LanguageAnnotators.java
719
// 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.lang; import com.intellij.lang.annotation.Annotator; import com.intellij.openapi.extensions.ExtensionPointName; import com.intellij.util.KeyedLazyInstance; i...
apache-2.0
smmribeiro/intellij-community
jps/jps-builders/src/org/jetbrains/jps/incremental/artifacts/ArtifactOutputToSourceMapping.java
4035
// 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 org.jetbrains.jps.incremental.artifacts; import com.intellij.util.SmartList; import com.intellij.util.containers.ContainerUtil; import com.intellij.util.io.DataExternaliz...
apache-2.0
rhoml/elasticsearch
core/src/main/java/org/elasticsearch/action/admin/indices/shards/IndicesShardStoresRequest.java
4533
/* * 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
gnodet/camel
components/camel-websocket/src/test/java/org/apache/camel/component/websocket/WebsocketSSLClientAuthRouteExampleTest.java
8332
/* * 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
jomarko/kie-wb-common
kie-wb-common-stunner/kie-wb-common-stunner-client/kie-wb-common-stunner-widgets/src/main/java/org/kie/workbench/common/stunner/client/widgets/explorer/navigator/item/NavigatorThumbnailItemView.java
5249
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
apache-2.0
Sumu-Ning/java-design-patterns
caching/src/main/java/com/iluwatar/caching/AppManager.java
3549
/** * The MIT License * Copyright (c) 2014 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, ...
mit
WeRockStar/java-design-patterns
layers/src/test/java/com/iluwatar/layers/CakeTest.java
3757
/** * The MIT License * Copyright (c) 2014 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, ...
mit
jwren/intellij-community
java/java-tests/testSrc/com/intellij/java/refactoring/InplaceIntroduceFieldTest.java
2467
// Copyright 2000-2019 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.java.refactoring; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.project.Project; import com.intellij.psi.PsiExpression; import com.i...
apache-2.0
ascherbakoff/ignite
modules/core/src/test/java/org/apache/ignite/util/TestTcpCommunicationSpi.java
2512
/* * 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
sinistersnare/libgdx
gdx/src/com/badlogic/gdx/maps/tiled/TideMapLoader.java
12123
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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:...
apache-2.0
mcgilman/nifi
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-flowfile-repo-serialization/src/main/java/org/apache/nifi/controller/repository/WriteAheadRepositoryRecordSerde.java
20439
/* * 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
donNewtonAlpha/onos
web/api/src/test/java/org/onosproject/rest/resources/StatisticsResourceTest.java
6923
/* * Copyright 2016-present 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 appli...
apache-2.0
apetro/uPortal
uportal-war/src/test/java/org/springframework/web/client/interceptors/BasicAuthInterceptorTest.java
4747
/** * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Apereo licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in ...
apache-2.0
rpeleias/vraptor4
vraptor-core/src/test/java/br/com/caelum/vraptor/interceptor/AspectStyleInterceptorHandlerTest.java
10697
/*** * Copyright (c) 2009 Caelum - www.caelum.com.br/opensource 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 * ...
apache-2.0
donNewtonAlpha/onos
protocols/isis/isisio/src/main/java/org/onosproject/isis/io/isispacket/package-info.java
710
/* * Copyright 2016-present 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 appli...
apache-2.0
lejingw/SuperToasts
demo/src/com/supertoastsdemo/ActivityTwo.java
367
package com.supertoastsdemo; import android.app.Activity; import android.os.Bundle; /* This class does nothing, it is used for demonstration purposes */ public class ActivityTwo extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
apache-2.0
mdeinum/spring-boot
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesScanRegistrar.java
4911
/* * Copyright 2012-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
apache-2.0
richardgutkowski/ansible-roles
stash/files/mysql-connector-java-5.1.35/src/com/mysql/fabric/ServerRole.java
1323
/* Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. The MySQL Connector/J is licensed under the terms of the GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors. There are special exceptions to the terms and conditions of the GPLv2 as it is appl...
mit
ZephyrSurfer/dolphin
Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/riivolution/ui/RiivolutionItem.java
820
// SPDX-License-Identifier: GPL-2.0-or-later package org.dolphinemu.dolphinemu.features.riivolution.ui; public class RiivolutionItem { public final int mDiscIndex; public final int mSectionIndex; public final int mOptionIndex; /** * Constructor for a disc. */ public RiivolutionItem(int discIndex) {...
gpl-2.0
curso007/camel
components/camel-optaplanner/src/main/java/org/apache/camel/component/optaplanner/OptaPlannerProducer.java
6011
/** * 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
tiarebalbi/spring-boot
spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/MappingsEndpointServletDocumentationTests.java
10061
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
apache-2.0
jhrcek/kie-wb-common
kie-wb-common-screens/kie-wb-common-data-modeller/kie-wb-common-data-modeller-client/src/main/java/org/kie/workbench/common/screens/datamodeller/client/model/DataModelerPropertyEditorType.java
765
/* * Copyright 2015 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. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
apache-2.0
sarkanyi/libgdx
extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/btOptimizedBvh.java
4604
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.11 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * -----------------------------...
apache-2.0
JSDemos/android-sdk-20
src/org/apache/harmony/security/pkcs8/PrivateKeyInfo.java
4403
/* * 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
priyatransbit/aws-sdk-java
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/GetUserPolicyRequest.java
7287
/* * Copyright 2010-2015 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
MetSystem/jbpm
jbpm-flow-builder/src/main/java/org/jbpm/compiler/xml/XmlWorkflowProcessDumper.java
12425
/* * Copyright 2015 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under t...
apache-2.0
jomarko/kie-wb-common
kie-wb-common-screens/kie-wb-common-project-explorer/kie-wb-common-project-explorer-backend/src/main/java/org/kie/workbench/common/screens/explorer/backend/server/restrictor/ProjectRequiredPathsRestrictor.java
4097
/* * Copyright 2016 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
AltitudeDigital/metrics
metrics-core/src/main/java/io/dropwizard/metrics/Sampling.java
277
package io.dropwizard.metrics; import io.dropwizard.metrics.Snapshot; /** * An object which samples values. */ public interface Sampling { /** * Returns a snapshot of the values. * * @return a snapshot of the values */ Snapshot getSnapshot(); }
apache-2.0
syl20bnr/jenkins
core/src/main/java/hudson/slaves/RetentionStrategy.java
10414
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Stephen Connolly * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, i...
mit
andre-nunes/fenixedu-academic
src/main/java/org/fenixedu/academic/ui/struts/action/student/administrativeOfficeServices/ViewDocumentRequestsDA.java
5798
/** * Copyright © 2002 Instituto Superior Técnico * * This file is part of FenixEdu Academic. * * FenixEdu Academic 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...
lgpl-3.0
vgmartinez/incubator-zeppelin
lens/src/main/java/org/apache/zeppelin/lens/LensInterpreter.java
15989
/** * 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
zhujainxipan/colorweibo
weibo/pulltorefresh-library/gen/com/handmark/pulltorefresh/library/Manifest.java
204
/*___Generated_by_IDEA___*/ package com.handmark.pulltorefresh.library; /* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */ public final class Manifest { }
apache-2.0
matrix-stone/cobarclient
src/main/java/com/alibaba/cobar/client/datasources/ha/PassiveEventHotSwappableAdvice.java
6411
/** * Copyright 1999-2011 Alibaba 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 law or agreed...
apache-2.0
mbaluch/keycloak
saml-core/src/main/java/org/keycloak/saml/processing/core/parsers/saml/SAMLStatusResponseTypeParser.java
8336
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
apache-2.0
bluerover/6lbr
tools/cooja/java/org/contikios/cooja/SimEventCentral.java
11517
/* * Copyright (c) 2009, Swedish Institute of Computer Science. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice, *...
bsd-3-clause
strahanjen/strahanjen.github.io
elasticsearch-master/core/src/main/java/org/elasticsearch/search/aggregations/bucket/range/date/DateRangeParser.java
2190
/* * 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...
bsd-3-clause
tsdl2013/DBFlow
DBFlow/src/main/java/com/raizlabs/android/dbflow/sql/queriable/AsyncQuery.java
2798
package com.raizlabs.android.dbflow.sql.queriable; import android.database.Cursor; import com.raizlabs.android.dbflow.runtime.DBTransactionInfo; import com.raizlabs.android.dbflow.runtime.DBTransactionQueue; import com.raizlabs.android.dbflow.runtime.TransactionManager; import com.raizlabs.android.dbflow.runtime.tran...
mit
geothomasp/kualico-rice-kc
rice-middleware/core-service/framework/src/main/java/org/kuali/rice/coreservice/framework/parameter/ParameterService.java
39842
/** * Copyright 2005-2015 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
apache-2.0
siosio/intellij-community
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/streamToLoop/beforeFlatMap.java
5028
// "Fix all 'Stream API call chain can be replaced with loop' problems in file" "true" import java.util.*; import java.util.function.Predicate; import java.util.stream.Collectors; import java.util.stream.IntStream; import java.util.stream.Stream; import static java.util.Arrays.asList; public class Main { private s...
apache-2.0
GlenRSmith/elasticsearch
server/src/test/java/org/elasticsearch/transport/RemoteClusterAwareClientTests.java
8136
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
apache-2.0
hequn8128/flink
flink-end-to-end-tests/flink-end-to-end-tests-common/src/main/java/org/apache/flink/tests/util/AutoClosablePath.java
1492
/* * 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
ascherbakoff/ignite
modules/ml/src/main/java/org/apache/ignite/ml/dataset/feature/package-info.java
1069
/* * 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
mrdomino/bazel
src/main/java/com/google/devtools/build/lib/rules/repository/WorkspaceBaseRule.java
1897
// Copyright 2015 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...
apache-2.0
OnePaaS/elasticsearch
src/main/java/org/elasticsearch/search/sort/GeoDistanceSortBuilder.java
6029
/* * 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
medicayun/medicayundicom
dcm4jboss-all/trunk/dcm4jboss-web/src/java/org/dcm4chex/archive/web/maverick/mwl/MWLScuDelegate.java
6768
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
apache-2.0
cleliameneghin/sling
contrib/extensions/tenant/src/test/java/org/apache/sling/tenant/internal/TenantProviderImplTest.java
2241
/* * 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
bhutchinson/rice
rice-middleware/core-service/impl/src/main/java/org/kuali/rice/coreservice/impl/style/StyleDataExporter.java
2645
/** * Copyright 2005-2015 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
apache-2.0
Sandyarathi/Lab2gRPC
lib/netty/codec-memcache/src/main/java/io/netty/handler/codec/memcache/binary/BinaryMemcacheMessage.java
4903
/* * Copyright 2013 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 ...
bsd-3-clause
rokn/Count_Words_2015
testing/drools-master/drools-compiler/src/test/java/org/drools/compiler/integrationtests/waltz/Line.java
1228
/* * Copyright 2005 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...
mit
alexVengrovsk/che
plugins/plugin-java/che-plugin-java-ext-jdt/org-eclipse-jface-text/src/main/java/org/eclipse/che/jface/text/contentassist/ICompletionProposalExtension2.java
2663
/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * 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...
epl-1.0
Taichi-SHINDO/jdk9-jdk
test/javax/swing/JTabbedPane/8007563/Test8007563.java
4303
/* * Copyright (c) 2014, 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 Softwa...
gpl-2.0
xkollar/spacewalk
java/code/src/com/redhat/rhn/frontend/action/renderers/InactiveSystemsRenderer.java
3612
/** * Copyright (c) 2009--2014 Red Hat, Inc. * * This software is licensed to you under the GNU General Public License, * version 2 (GPLv2). There is NO WARRANTY for this software, express or * implied, including the implied warranties of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. You should have rece...
gpl-2.0
filius/asterisk-java
src/main/java/org/asteriskjava/manager/event/DisconnectEvent.java
1214
/* * Copyright 2004-2006 Stefan Reuter * * 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
weebl2000/modeshape
modeshape-jcr/src/main/java/org/modeshape/jcr/query/xpath/XPathQueryParser.java
2338
/* * 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
rscrimojr/incubator-trafficcontrol
traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/dns/DNSAccessRecord.java
3641
/* * * 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 * distri...
apache-2.0
GJL/flink
flink-filesystems/flink-swift-fs-hadoop/src/main/java/org/apache/hadoop/util/NativeCodeLoader.java
3158
/** * 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
nmelnick/aws-sdk-java
aws-java-sdk-machinelearning/src/main/java/com/amazonaws/services/machinelearning/model/DeleteMLModelRequest.java
3534
/* * Copyright 2010-2015 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 "lice...
apache-2.0
punkhorn/camel-upstream
core/camel-base/src/main/java/org/apache/camel/impl/health/AbstractHealthCheck.java
8699
/** * 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
mosoft521/spring-boot
spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/jooq/JooqTestWithAutoConfigureTestDatabaseIntegrationTests.java
1791
/* * Copyright 2012-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 ap...
apache-2.0
sriksun/falcon
falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ExternalFSTest.java
9637
/** * 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
jianglili007/jena
jena-arq/src/main/java/org/apache/jena/riot/WriterGraphRIOTFactory.java
984
/** * 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
JetBrains/jdk8u_jdk
test/java/security/ProtectionDomain/PreserveCombinerTest.java
2657
/* * Copyright (c) 2015, 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 Softwa...
gpl-2.0
bbcarchdev/qpid-proton
proton-j/contrib/proton-hawtdispatch/src/main/java/org/apache/qpid/proton/hawtdispatch/api/AmqpConnection.java
5887
/** * 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
alexsnaps/ehcache3
impl/src/main/java/org/ehcache/impl/config/loaderwriter/package-info.java
843
/* * Copyright Terracotta, 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 ...
apache-2.0
gufengwyx8/Mycat-Server
src/main/java/io/mycat/server/config/ConfigUtil.java
7844
/* * Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software;Designed and Developed mainly by many Chinese * opensource volunteers. you can redistribute it and/or modify it under the * terms of...
gpl-2.0
marsorp/blog
presto166/presto-raptor/src/main/java/com/facebook/presto/raptor/metadata/ShardPredicate.java
8478
/* * 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...
apache-2.0
charles-cooper/idylfin
src/org/apache/commons/math3/genetics/RandomKeyMutation.java
2260
/* * 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
yongminxia/elasticsearch
core/src/main/java/org/elasticsearch/index/query/functionscore/ScoreFunctionParserMapper.java
3171
/* * 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
Natrezim/perun
perun-registrar-lib/src/main/java/cz/metacentrum/perun/registrar/exceptions/RegistrarException.java
531
package cz.metacentrum.perun.registrar.exceptions; import cz.metacentrum.perun.core.api.exceptions.PerunException; /** * Custom exception thrown by Registrar. * It's processed in GUI and shows raw message text. * * @author Pavel Zlamal <256627@mail.muni.cz> */ public class RegistrarException extends PerunExcepti...
bsd-2-clause
wouterv/orientdb
tests/src/test/java/com/orientechnologies/orient/test/database/auto/ComplexTypesTest.java
10279
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.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 ...
apache-2.0
franz1981/activemq-artemis
artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQRAQueueReceiver.java
1953
/* * 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-2.0