code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | rmetzger/flink | flink-runtime/src/test/java/org/apache/flink/runtime/source/coordinator/SourceCoordinatorTest.java | Java | apache-2.0 | 20,715 |
/**
* Copyright 2011-2019 Asakusa Framework Team.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | akirakw/asakusafw | hive-project/core-v2/src/main/java/com/asakusafw/directio/hive/orc/v2/CompatibilityV2.java | Java | apache-2.0 | 8,764 |
/**
* 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... | oscerd/camel | components/camel-cometd/src/main/java/org/apache/camel/component/cometd/CometdEndpoint.java | Java | apache-2.0 | 6,642 |
/* 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... | dbmalkovsky/flowable-engine | modules/flowable-engine/src/main/java/org/flowable/engine/runtime/ProcessInstanceBuilder.java | Java | apache-2.0 | 6,563 |
/*
* Copyright 2014 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 "license" ... | smartpcr/aws-sdk-java-resources | aws-resources-iam/src/main/java/com/amazonaws/resources/identitymanagement/SigningCertificate.java | Java | apache-2.0 | 7,946 |
/*
*
* 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"); y... | andrewmains12/hbase | hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java | Java | apache-2.0 | 55,256 |
/*
* Copyright 2014 Alexey Andreev.
*
* 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... | mpoindexter/teavm | teavm-dom/src/main/java/org/teavm/dom/html/HTMLOptionsCollection.java | Java | apache-2.0 | 1,285 |
package nkp.pspValidator.gui;
import javafx.concurrent.Task;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.ProgressIndicator;
import javafx.stage.WindowEvent;
import nkp.pspV... | rzeh4n/psp-validator | javaFxModule/src/main/java/nkp/pspValidator/gui/DictionaryUpdateDialogController.java | Java | apache-2.0 | 6,762 |
/*
* Copyright 2015 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... | gstevey/gradle | subprojects/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultInternalJvmTestRequest.java | Java | apache-2.0 | 1,980 |
/*
* 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 ... | mehant/incubator-calcite | core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorCatalogReader.java | Java | apache-2.0 | 3,440 |
// Copyright 2012 Citrix Systems, Inc. Licensed under the
// Apache License, Version 2.0 (the "License"); you may not use this
// file except in compliance with the License. Citrix Systems, Inc.
// reserves all rights not expressly granted by the License.
// You may obtain a copy of the License at http://www.apache.or... | cinderella/incubator-cloudstack | plugins/hypervisors/vmware/src/com/cloud/network/dao/CiscoNexusVSMDeviceDaoImpl.java | Java | apache-2.0 | 4,737 |
/**
* 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... | ouyangjie/hadoop | hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/shortcircuit/ShortCircuitCache.java | Java | apache-2.0 | 36,130 |
/**
*
* 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"); ... | gouravshenoy/airavata | modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/ComplexMathService.java | Java | apache-2.0 | 1,229 |
package eu.inloop.knight.builder.module;
import android.app.Activity;
import android.os.Bundle;
import com.squareup.javapoet.AnnotationSpec;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.FieldSpec;
import com.squareup.javapoet.MethodSpec;
import com.squareup.javapoet.TypeName;
import java.util... | inloop/Knight | knight-compiler/src/main/java/eu/inloop/knight/builder/module/ScreenModuleBuilder.java | Java | apache-2.0 | 7,717 |
package com.imagpay;
import java.util.Locale;
import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.content.res.Configuration;
import android.util.DisplayMetrics;
public final class iMagPayA... | Davi-He/sky_lkl | Demo/src/com/imagpay/iMagPayApp.java | Java | apache-2.0 | 1,556 |
/*
* Copyright 2012 Christopher Pheby
*
* 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... | harishpalk/Jadira | usertype.spi/src/main/java/org/jadira/usertype/spi/repository/JpaBaseRepository.java | Java | apache-2.0 | 4,310 |
// The @Test tag.
package com.fanlehai.java.atunit;
import java.lang.annotation.*;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Test {
} /// :~
| fanlehai/CodePractice | java/src/main/java/com/fanlehai/java/atunit/Test.java | Java | apache-2.0 | 192 |
/*
* 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... | rhoml/elasticsearch | core/src/main/java/org/elasticsearch/cluster/metadata/MetaDataMappingService.java | Java | apache-2.0 | 21,473 |
/*
* Copyright 2016-2020 Crown Copyright
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | GovernmentCommunicationsHeadquarters/Gaffer | core/cache/src/main/java/uk/gov/gchq/gaffer/cache/util/CacheProperties.java | Java | apache-2.0 | 1,225 |
/*
* 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 | server/src/main/java/org/elasticsearch/cluster/coordination/FollowersChecker.java | Java | apache-2.0 | 18,544 |
/*******************************************************************************
"FreePastry" Peer-to-Peer Application Development Substrate
Copyright 2002-2007, Rice University. Copyright 2006-2007, Max Planck Institute
for Software Systems. All rights reserved.
Redistribution and use in source and binary forms, ... | barnyard/pi | freepastry/src/rice/pastry/transport/TLDeserializer.java | Java | apache-2.0 | 6,124 |
/*
* 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 ... | StyleTang/incubator-rocketmq-externals | rocketmq-connect-redis/src/main/java/org/apache/rocketmq/connect/redis/parser/HmSetParser.java | Java | apache-2.0 | 1,386 |
/*
* 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... | michaelandrepearce/activemq-artemis | tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/distribution/ClusterTestBase.java | Java | apache-2.0 | 74,649 |
/*
* Copyright 2017 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... | fenik17/netty | codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ClientUpgradeCodecTest.java | Java | apache-2.0 | 3,357 |
/*
* Copyright 2016-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... | ericbottard/spring-cloud-dataflow | spring-cloud-starter-dataflow-server-local/src/test/java/org/springframework/cloud/dataflow/server/local/security/LocalServerSecurityWithUsersFileTests.java | Java | apache-2.0 | 35,499 |
/*
* Copyright 2015 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | google/physical-web | java/libs/src/test/java/org/physical_web/collection/UrlGroupTest.java | Java | apache-2.0 | 2,989 |
package ca.uhn.fhir.cli;
/*-
* #%L
* HAPI FHIR - Command Line Client - API
* %%
* Copyright (C) 2014 - 2022 Smile CDR, 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
*
* ... | jamesagnew/hapi-fhir | hapi-fhir-cli/hapi-fhir-cli-api/src/main/java/ca/uhn/fhir/cli/LoadingValidationSupportR4.java | Java | apache-2.0 | 2,088 |
/*
* 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/logging-log4j2 | log4j-core/src/test/java/org/apache/logging/log4j/core/async/AsyncLoggerConfigTest4.java | Java | apache-2.0 | 3,325 |
package org.apache.maven.plugin.assembly.archive.task;
/*
* 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 ... | kikinteractive/maven-plugins | maven-assembly-plugin/src/test/java/org/apache/maven/plugin/assembly/archive/task/AddDirectoryTaskTest.java | Java | apache-2.0 | 5,455 |
//*****************************************************************************
//*
//* (c) Copyright 2002. Glub Tech, Incorporated. All Rights Reserved.
//*
//* $Id: QuitCommand.java 39 2009-05-11 22:50:09Z gary $
//*
//*****************************************************************************
package com.glub.se... | glubtech/ftpswrap | src/com/glub/secureftp/wrapper/config/QuitCommand.java | Java | apache-2.0 | 569 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Fabryprog/camel | components/camel-atmos/src/main/java/org/apache/camel/component/atmos/AtmosConfiguration.java | Java | apache-2.0 | 4,780 |
/*
* 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 ... | jcamachor/hive | serde/src/test/org/apache/hadoop/hive/serde2/avro/TestAvroObjectInspectorGenerator.java | Java | apache-2.0 | 24,366 |
/*
* 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.async;
import org.elasticsearch.client.Clien... | gingerwizard/elasticsearch | x-pack/plugin/async/src/main/java/org/elasticsearch/xpack/async/AsyncResultsIndexPlugin.java | Java | apache-2.0 | 3,589 |
package org.hl7.fhir.dstu3.model.codesystems;
/*
Copyright (c) 2011+, HL7, 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:
* Redistributions of source code must retain the... | Gaduo/hapi-fhir | hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/codesystems/V3SubstanceAdminSubstitutionEnumFactory.java | Java | apache-2.0 | 3,959 |
/*
* 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 ... | radicalbit/ambari | ambari-logsearch/ambari-logsearch-it/src/test/java/org/apache/ambari/logsearch/web/Home.java | Java | apache-2.0 | 1,372 |
/*
* Copyright 2000-2009 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... | jexp/idea2 | platform/lang-api/src/com/intellij/lexer/DocCommentLexer.java | Java | apache-2.0 | 5,217 |
/**
* Copyright © 2012-2016 <a href="https://github.com/yogee/zhebuy">JeeSite</a> All rights reserved.
*/
package com.yogee.zhebuy.common.persistence.dialect;
/**
* 类似hibernate的Dialect,但只精简出分页部分
*
* @author poplar.yfyang
* @version 1.0 2011-11-18 下午12:31
* @since JDK 1.5
*/
public interface Dialect {
... | jackqth/zhebuy | src/main/java/com/yogee/zhebuy/common/persistence/dialect/Dialect.java | Java | apache-2.0 | 899 |
package org.wikipedia.search;
import android.app.Activity;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.LayerDrawable;
import android.support.annotation.ColorInt;
import android.support.annotation.ColorRes;
import andr... | carloshwa/apps-android-wikipedia | app/src/main/java/org/wikipedia/search/SearchBarHideHandler.java | Java | apache-2.0 | 6,798 |
package bai.kang.yun.zxd.mvp.model.api.service;
import bai.kang.yun.zxd.mvp.model.entity.ReturnGoods;
import retrofit2.http.GET;
import rx.Observable;
/**
* Created by Administrator on 2017/4/17 0017.
*/
public interface GoodsGridService {
// String HEADER_API_VERSION = "Accept: application/vnd.github.v3+json";... | appsw/ShopBKY | app/src/main/java/bai/kang/yun/zxd/mvp/model/api/service/GoodsGridService.java | Java | apache-2.0 | 442 |
/**
* 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... | jamesnetherton/camel | camel-core/src/main/java/org/apache/camel/util/StringHelper.java | Java | apache-2.0 | 24,585 |
/*
* Simple Reliable UDP (rudp)
* Copyright (c) 2009, Adrian Granados (agranados@ihmc.us)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain ... | chinayin/udpx | java_src/u14/udpx/frames/SYNFrame.java | Java | apache-2.0 | 2,057 |
/**
* Copyright 2016 Carnegie Mellon University
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | ksluckow/log2model | modeltool/src/main/java/edu/cmu/sv/modelinference/modeltool/mc/prism/PrismModelGeneratorException.java | Java | apache-2.0 | 1,115 |
/*
* Copyright 2006 The Closure Compiler 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... | mbebenita/closure-compiler | test/com/google/javascript/jscomp/ProcessClosurePrimitivesTest.java | Java | apache-2.0 | 42,234 |
/*
* 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... | xorware/android_frameworks_base | media/java/android/media/midi/MidiDeviceServer.java | Java | apache-2.0 | 13,922 |
/*
* 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 ... | prasi-in/geode | geode-spark-connector/geode-spark-demos/basic-demos/src/main/java/demo/RDDSaveJavaDemo.java | Java | apache-2.0 | 3,078 |
package usbong.android.builder.controllers;
import com.activeandroid.query.Select;
import rx.Observable;
import rx.Observer;
import rx.Subscriber;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;
import usbong.android.builder.models.Utree;
/**
* Created by Rocky Camacho on 6/26/2014.
... | cereblanco/usbong-builder | src/main/java/usbong/android/builder/controllers/UtreeController.java | Java | apache-2.0 | 1,803 |
/*
* 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.ui.editors.data/src/org/jkiss/dbeaver/ui/controls/lightgrid/GridColumnRenderer.java | Java | apache-2.0 | 9,778 |
/**
* 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/command/ActiveMQStreamMessage.java | Java | apache-2.0 | 25,732 |
/* Copyright 2018 Telstra Open Source
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | jonvestal/open-kilda | src-java/base-topology/base-storm-topology/src/main/java/org/openkilda/wfm/error/FlowNotFoundException.java | Java | apache-2.0 | 1,066 |
/**
* 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... | acartapanis/camel | platforms/spring-boot/components-starter/camel-slack-starter/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java | Java | apache-2.0 | 2,071 |
package com.accenture.nes.webservices;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for obligationDetails complex type.
*
* <p>The following schema fragment specifies the expected content contained... | Scauser/j2ee | upwork-jax-ws-client/src/main/java/com/accenture/nes/webservices/ObligationDetails.java | Java | apache-2.0 | 3,446 |
/* Copyright 2010 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... | dslam/thoughtsite | src/main/java/com/google/ie/dto/CommentDetail.java | Java | apache-2.0 | 1,709 |
/*
* Copyright 2009 ZXing 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 o... | got5/ngCordova-demo | plugins/com.phonegap.plugins.barcodescanner/src/android/LibraryProject/src/com/google/zxing/oned/rss/DataCharacter.java | Java | apache-2.0 | 1,029 |
// 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... | hermione521/bazel | src/test/java/com/google/devtools/build/lib/rules/cpp/CcCommonTest.java | Java | apache-2.0 | 38,880 |
/**
* Copyright 2007 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... | lichongxin/hbase-snapshot | src/test/java/org/apache/hadoop/hbase/regionserver/DisabledTestRegionServerExit.java | Java | apache-2.0 | 7,801 |
/*
* Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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/li... | wso2/carbon-identity-framework | components/user-mgt/org.wso2.carbon.identity.user.profile/src/main/java/org/wso2/carbon/identity/user/profile/mgt/listener/ProfileMgtEventListener.java | Java | apache-2.0 | 7,537 |
/*
* 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 ... | alibaba/weex | android/sdk/src/main/java/org/apache/weex/ui/view/listview/adapter/RecyclerViewBaseAdapter.java | Java | apache-2.0 | 3,296 |
/*
* Copyright 2015-2016 USEF 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 applicable law or agree... | USEF-Foundation/ri.usef.energy | usef-build/usef-workflow/usef-dso/src/main/java/energy/usef/dso/workflow/dto/PtuGridMonitoringDto.java | Java | apache-2.0 | 1,206 |
/*
* 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 ... | smanvi-pivotal/geode | geode-core/src/main/java/org/apache/geode/internal/statistics/StatisticsImpl.java | Java | apache-2.0 | 17,296 |
/*
* Copyright 2014 kt corp. All rights reserved.
* This is a proprietary software of kt corp, and you may not use this file except in
* compliance with license agreement with kt corp. Any redistribution or use of this
* software, with or without modification shall be strictly prohibited without prior written
*... | ezsimple/java | spring/apt/src/main/java/net/ion/oadr2/service/bean/EventSignalInterval.java | Java | apache-2.0 | 1,396 |
/*******************************************************************************
* 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.
*
*... | RobAltena/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/controlflow/WhereNumpy.java | Java | apache-2.0 | 1,759 |
/*
* 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 ... | minji-kim/calcite | core/src/main/java/org/apache/calcite/plan/RelOptRuleCall.java | Java | apache-2.0 | 7,909 |
package com.xenione.libs.swipemaker;
import android.widget.OverScroller;
/**
* Created by Eugeni on 10/04/2016.
*/
public class ScrollerHelper {
private OverScroller mScroller;
public ScrollerHelper(OverScroller overScroller) {
mScroller = overScroller;
}
public boolean startScroll(int st... | xenione/swipe-maker | swipemaker/src/main/java/com/xenione/libs/swipemaker/ScrollerHelper.java | Java | apache-2.0 | 1,144 |
/*
* 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... | pfirmstone/JGDMS | qa/src/org/apache/river/test/impl/outrigger/matching/FieldNotifyTest.java | Java | apache-2.0 | 2,337 |
package cn.xaut.shop.dao;
import java.util.List;
import cn.xaut.common.paging.domain.Page;
import cn.xaut.shop.modules.repository.CrudRepository;
import cn.xaut.shop.pojo.Goods;
public interface GoodsDao extends CrudRepository<Goods, Integer>{
Page<Goods> findByKey(Page<Goods> page,String key);
Page<Goods> findBy... | wanliyang10010/Shop | src/cn/xaut/shop/dao/GoodsDao.java | Java | apache-2.0 | 2,971 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | jdeppe-pivotal/geode | geode-junit/src/main/java/org/apache/geode/cache/query/data/Manager.java | Java | apache-2.0 | 1,221 |
/*
* 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/geronimo | framework/modules/geronimo-shell-base/src/main/java/org/apache/geronimo/shell/deploy/DisconnectCommand.java | Java | apache-2.0 | 1,732 |
package com.apitore.banana.response.org.rome.sample;
import java.util.HashMap;
import java.util.Map;
import org.springframework.web.client.RestTemplate;
import com.apitore.banana.response.org.rome.FeedResponseEntity;
import com.apitore.banana.utils.UrlFormatter;
/**
* @author Keigo Hattori
*/
public class Api36... | keigohtr/apitore-response-parent | rome-response/src/main/java/com/apitore/banana/response/org/rome/sample/Api36FeedsTravelExample.java | Java | apache-2.0 | 1,105 |
/*
* 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.eql.action;
import org.elasticsearch.action.A... | HonzaKral/elasticsearch | x-pack/plugin/eql/src/main/java/org/elasticsearch/xpack/eql/action/EqlSearchRequest.java | Java | apache-2.0 | 11,667 |
/**
*
* @author Terri Liebowitz Schwartz
*
*/
/**
SSHProcessRunner provides a simple way to run a remote command and wait for
it to complete. You can retrieve the output and error text as strings and
get the exit code. For example:
SSHProcessRunner pr = new SSHProcessRunner(true);
exitCode = pr.run("ech... | SciGaP/DEPRECATED-Cipres-Airavata-POC | saminda/cipres-airavata/sdk/src/main/java/org/ngbw/sdk/common/util/SSHProcessRunner.java | Java | apache-2.0 | 5,258 |
package com.sean.service.entity;
import com.sean.service.core.Version;
import com.sean.service.enums.ReturnType;
import com.sean.service.worker.Worker;
/**
* Action实体
* @author sean
*
*/
public class ActionEntity
{
private boolean transation;
private ParameterEntity[] mustParams;
private ParameterEntity[] opti... | seanzwx/tmp | seatalk/platform/framework/framework-service/src/main/java/com/sean/service/entity/ActionEntity.java | Java | apache-2.0 | 1,880 |
/*
* 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... | miniway/presto | presto-product-tests/src/main/java/io/prestosql/tests/hive/TestAvroSchemaEvolution.java | Java | apache-2.0 | 7,401 |
/**
* //TODO add comments.
*
* @author Evgeny Vorokhobko (vorokhobko2011@yandex.ru).
* @version 1.
* @since 11.11.2016.
*/
package by.vorokhobko.servlets; | 1Evgeny/java-a-to-z | chapter_010_hibernate/configuration/src/main/java/by.vorokhobko/servlets/package-info.java | Java | apache-2.0 | 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 ... | apache/camel | components/camel-telegram/src/test/java/org/apache/camel/component/telegram/TelegramConsumerMediaVideoTest.java | Java | apache-2.0 | 3,546 |
/**
* Copyright 2013 Cloudera Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | cloudera/cdk | cdk-data/cdk-data-hbase/src/main/java/com/cloudera/cdk/data/hbase/DaoView.java | Java | apache-2.0 | 3,792 |
package org.jboss.resteasy.test.resource.basic.resource;
import java.util.List;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.UriInfo;
import org.junit.Assert;
public class ResourceLocatorSubresource {
@GET
public String doGet(@Context UriInfo ur... | awhitford/Resteasy | testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/ResourceLocatorSubresource.java | Java | apache-2.0 | 2,291 |
/*
* 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 ... | afiantara/apache-wicket-1.5.7 | src/wicket-examples/target/classes/org/apache/wicket/examples/forminput/FormInputModel.java | Java | apache-2.0 | 7,945 |
/*
* 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/geronimo-yoko | yoko-spec-corba/src/main/java/org/omg/PortableServer/AdapterActivatorPOA.java | Java | apache-2.0 | 5,304 |
/*
* 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 ... | sscdotopen/giraph-compensations | src/main/java/org/apache/giraph/comm/RPCCommunications.java | Java | apache-2.0 | 6,478 |
/*
* Copyright 2006-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 app... | hmmlopez/citrus | modules/citrus-jms/src/main/java/com/consol/citrus/jms/endpoint/JmsEndpointComponent.java | Java | apache-2.0 | 2,460 |
package eu.atos.sla.service.jpa;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import java.util.Date;
import java.util.UUID;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework... | Atos-FiwareOps/sla-framework | sla-core/sla-repository/src/test/java/eu/atos/sla/service/jpa/ViolationDAOJpaTest.java | Java | apache-2.0 | 2,415 |
/**
* Copyright (C) 2004-2011 Jive Software. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | vipinraj/Spark | core/src/main/java/org/jivesoftware/spark/component/RolloverButton.java | Java | apache-2.0 | 2,619 |
/*
* Copyright (c) 1994, 2011, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.util;
/**
* The {@code Vector} class implements a growable array of
* objects. Like an ... | haikuowuya/android_system_code | src/java/util/Vector.java | Java | apache-2.0 | 45,964 |
package com.rey.material.demo;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app... | geliangdashen/Material | app/src/main/java/com/rey/material/demo/MainActivity.java | Java | apache-2.0 | 10,201 |
package io.ray.benchmark;
import io.ray.api.ActorHandle;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import org.testng.annotations.Test;
public class MaxPressureTest extends RayBenchmarkTest {
public static final int clientNum = 2;
public static final int totalNum = 10;
private static final long serial... | richardliaw/ray | java/test/src/main/java/io/ray/benchmark/MaxPressureTest.java | Java | apache-2.0 | 1,141 |
package yuku.stethoshim;
import android.app.Application;
import com.facebook.stetho.Stetho;
import com.facebook.stetho.okhttp3.StethoInterceptor;
import okhttp3.OkHttpClient;
public class StethoShim {
public static void initializeWithDefaults(final Application application) {
Stetho.initializeWithDefaults(applicati... | yukuku/androidbible | Alkitab/src/debug/java/yuku/stethoshim/StethoShim.java | Java | apache-2.0 | 472 |
/*
* Copyright 2013 Robert von Burg <eitch@eitchnet.ch>
*
* 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... | 4treesCH/strolch | li.strolch.xmlpers/src/main/java/li/strolch/xmlpers/api/IoMode.java | Java | apache-2.0 | 1,560 |
/*
* Copyright 2011-2013 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 app... | debop/debop4j | debop4j-data/src/main/java/kr/debop4j/data/model/IAssignedEntity.java | Java | apache-2.0 | 1,029 |
//$Id: CacheSynchronization.java 9239 2006-02-08 22:34:34Z steveebersole $
package org.hibernate.transaction;
import javax.transaction.Status;
import javax.transaction.Synchronization;
import javax.transaction.SystemException;
import javax.transaction.Transaction;
import org.apache.commons.logging.Log;
import org.apa... | renmeng8875/projects | Hibernate-source/源代码及重要说明/Hibernate相关资料/hibernate-3.2.0.ga/hibernate-3.2/src/org/hibernate/transaction/CacheSynchronization.java | Java | apache-2.0 | 2,682 |
/*
*
* 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"); y... | ibmsoe/hbase | hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorTableEndpoint.java | Java | apache-2.0 | 6,782 |
/*
* Copyright 2014 Alexey Andreev.
*
* 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... | mpoindexter/teavm | teavm-core/src/main/java/org/teavm/model/VariableReader.java | Java | apache-2.0 | 844 |
/*
* Copyright (C) 2015 Jack Jiang(cngeeker.com) The DroidUIBuilder Project.
* All rights reserved.
* Project URL:https://github.com/JackJiang2011/DroidUIBuilder
* Version 1.0
*
* Jack Jiang PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
* AbsoluteLayout.java at 2015-2-6 16:12:02, original vers... | 0359xiaodong/DroidUIBuilder | src_all/DriodUIBuilder/src/org/droiddraw/widget/AbsoluteLayout.java | Java | apache-2.0 | 1,572 |
/*
Derby - Class org.apache.derbyTesting.functionTests.harness.jdk13
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... | apache/derby | java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/jdk13.java | Java | apache-2.0 | 3,449 |
/*
* 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 ... | mdunker/usergrid | stack/mongo-emulator/src/test/java/org/apache/usergrid/mongo/AbstractMongoTest.java | Java | apache-2.0 | 2,124 |
/*
* Copyright 2017-2020 Crown Copyright
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | GovernmentCommunicationsHeadquarters/Gaffer | core/operation/src/test/java/uk/gov/gchq/gaffer/generator/TestGeneratorImpl.java | Java | apache-2.0 | 1,606 |
package net.morimekta.util;
import org.junit.Test;
import java.util.UUID;
import static org.hamcrest.CoreMatchers.instanceOf;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.fail;
public class TupleTes... | morimekta/android-util | io-util/src/test/java/net/morimekta/util/TupleTest.java | Java | apache-2.0 | 3,334 |
package application.elements;
public enum Subject {
AP_EXAM, ART_AND_LIFESKILLS, ENGLISH, GUIDANCE,
LIFE_SCHOOL, MATHEMATICS, PREFORMING_ARTS, PHYSICAL_EDUCATION,
SCIENCE, SOCIAL_STUDIES, SPECIAL_EDUCATION, ATHLETICS, N_A;
}
| Yasgur99/GreeleyScheduler | GreeleyScheduler/src/application/elements/Subject.java | Java | apache-2.0 | 238 |
package com.joanzapata.iconify.internal;
import android.content.Context;
import android.graphics.Typeface;
import android.support.annotation.CheckResult;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.joanzapata.iconify.Icon;
import com.joanzapata.iconify.IconFontDes... | ahmedaljazzar/edx-app-android | android-iconify/src/main/java/com/joanzapata/iconify/internal/IconFontDescriptorWrapper.java | Java | apache-2.0 | 1,829 |
package com.shejiaomao.weibo.service.adapter;
import java.util.ArrayList;
import java.util.List;
import com.cattong.commons.util.ListUtil;
import com.cattong.weibo.entity.Group;
import com.cattong.entity.Status;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import... | 0359xiaodong/YiBo | YiBo/src/com/shejiaomao/weibo/service/adapter/GroupStatusesListAdapter.java | Java | apache-2.0 | 6,553 |
/*
* 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... | dain/presto | lib/trino-parquet/src/main/java/io/trino/parquet/predicate/TupleDomainParquetPredicate.java | Java | apache-2.0 | 24,584 |