code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
/*******************************************************************************
* Copyright 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://... | yuripourre/abby | src/main/java/br/com/abby/linear/OrientedBoundingBox.java | Java | lgpl-3.0 | 1,977 |
/*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
* mailto:contact AT sonarsource DOT com
*
* 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... | Builders-SonarSource/sonarqube-bis | sonar-plugin-api/src/test/java/org/sonar/api/utils/PagingTest.java | Java | lgpl-3.0 | 2,914 |
/**
* Copyright (C) 2010-2015 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser Public License as published by the
* Free Software Foundation, either version 3.0 ... | SoftwareEngineeringToolDemos/FSE-2011-EvoSuite | client/src/main/java/org/evosuite/coverage/ambiguity/AmbiguityCoverageFactory.java | Java | lgpl-3.0 | 6,542 |
package crazypants.enderio.machines.machine.spawner;
import java.util.EnumSet;
import java.util.Set;
import javax.annotation.Nonnull;
import com.enderio.core.common.network.MessageTileEntity;
import io.netty.buffer.ByteBuf;
import net.minecraftforge.fml.common.network.simpleimpl.IMessage;
import net.minecraftforge.... | SleepyTrousers/EnderIO | enderio-machines/src/main/java/crazypants/enderio/machines/machine/spawner/PacketSpawnerUpdateNotification.java | Java | unlicense | 1,749 |
/*
** 2012 October 26
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
*/
package info.ata... | TheGreyGhost/dragon-mounts | src/main/java/info/ata4/minecraft/dragon/server/entity/ai/ground/EntityAIWatchIdle.java | Java | unlicense | 712 |
package id.ac.tazkia.dosen.controller;
import id.ac.tazkia.dosen.dao.JenisDokumenPengajuanDao;
import id.ac.tazkia.dosen.entity.JenisPengajuanDokumen;
import java.util.List;
import javax.validation.Valid;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autow... | idtazkia/aplikasi-dosen | src/main/java/id/ac/tazkia/dosen/controller/JenisDokumenPengajuanController.java | Java | apache-2.0 | 3,268 |
/* 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... | stefan-ziel/Activiti | modules/activiti5-engine/src/main/java/org/activiti5/engine/impl/cmd/CheckPassword.java | Java | apache-2.0 | 1,212 |
/**
* 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... | punkhorn/camel-upstream | components/camel-spring/src/test/java/org/apache/camel/spring/CustomProcessorWithNamespacesTest.java | Java | apache-2.0 | 3,233 |
package org.apache.commons.jcs.auxiliary.lateral.socket.tcp;
/*
* 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 ... | tikue/jcs2-snapshot | src/test/org/apache/commons/jcs/auxiliary/lateral/socket/tcp/TestTCPLateralUnitTest.java | Java | apache-2.0 | 14,395 |
/*
* Copyright 2015-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... | rmaz/buck | src/com/facebook/buck/features/d/DBinaryDescription.java | Java | apache-2.0 | 6,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"); you ... | robdouglas/incubator_streams_apache | streams-contrib/streams-processor-regex/src/test/java/org/apache/streams/regex/RegexMentionExtractorTest.java | Java | apache-2.0 | 3,579 |
/*
Derby - Class org.apache.derby.jdbc.EmbeddedDriver
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 ... | lpxz/grail-derby104 | java/engine/org/apache/derby/jdbc/EmbeddedDriver.java | Java | apache-2.0 | 5,593 |
package org.sagebionetworks.web.client.widget.entity.editor;
import org.gwtbootstrap3.client.ui.TextArea;
import org.gwtbootstrap3.client.ui.TextBox;
import org.sagebionetworks.web.client.DisplayUtils;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.... | Sage-Bionetworks/SynapseWebClient | src/main/java/org/sagebionetworks/web/client/widget/entity/editor/DetailsSummaryConfigViewImpl.java | Java | apache-2.0 | 1,587 |
/**
* 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... | KulykRoman/drill | exec/java-exec/src/test/java/org/apache/drill/exec/store/text/TestCsvHeader.java | Java | apache-2.0 | 7,319 |
/*
* RED5 Open Source Flash Server - https://github.com/Red5/
*
* Copyright 2006-2016 by respective authors (see below). 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 ... | rajdeeprath/red5-server | src/main/java/org/red5/server/exception/StreamDataException.java | Java | apache-2.0 | 971 |
/*
* Copyright (C) 2009 Trustees of the University of Pennsylvania
*
* 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 ... | snd297/penn-ppod | cdm/src/main/java/edu/upenn/cis/ppod/services/PPodEntitiesResourceHibernate.java | Java | apache-2.0 | 11,674 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | apache/zest-qi4j | core/runtime/src/test/java/org/apache/polygene/runtime/composite/QI247Test1.java | Java | apache-2.0 | 4,023 |
/*
* 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 distributed under t... | xasx/assertj-core | src/main/java/org/assertj/core/error/ShouldBeLessOrEqual.java | Java | apache-2.0 | 2,415 |
/*
* @(#)PersistentCookieStore.java Project:androidkit
* Date:2013-5-9
*
* Copyright (c) 2013 CFuture09, Institute of Software,
* Guangdong Ocean University, Zhanjiang, GuangDong, China.
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this ... | 0359xiaodong/androidkit | library/src/main/java/com/lurencun/cfuture09/androidkit/http/async/PersistentCookieStore.java | Java | apache-2.0 | 5,351 |
/*
* Copyright {2017} {Aashrey Kamal Sharma}
*
* 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 ... | aashreys/walls | app/src/main/java/com/aashreys/walls/domain/display/collections/search/UnsplashCollectionDiscoveryService.java | Java | apache-2.0 | 3,532 |
/**
* Copyright 2005-2014 Red Hat, Inc.
*
* Red Hat 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 r... | hekonsek/fabric8 | components/gateway-core/src/main/java/io/fabric8/gateway/handlers/tcp/TcpGatewayHandler.java | Java | apache-2.0 | 5,109 |
package org.apache.velocity.test;
/*
* 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, V... | apache/velocity-engine | velocity-engine-core/src/test/java/org/apache/velocity/test/TemplateTestBase.java | Java | apache-2.0 | 2,455 |
/*
* 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... | davidvgalbraith/elasticsearch | core/src/main/java/org/elasticsearch/cluster/metadata/MetaDataUpdateSettingsService.java | Java | apache-2.0 | 17,700 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TaskCancelResponse.proto
package com.alachisoft.tayzgrid.common.protobuf;
public final class TaskCancelResponseProtocol {
private TaskCancelResponseProtocol() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegi... | joseananio/TayzGrid | src/tgcommon/src/com/alachisoft/tayzgrid/common/protobuf/TaskCancelResponseProtocol.java | Java | apache-2.0 | 12,903 |
/*
* Copyright 2014 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | google/firing-range | src/tests/address/Address.java | Java | apache-2.0 | 2,709 |
package com.chumbak.storeplayer;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript.
* This is used to schedule rendering of the component.
*/
@Override
protected String getMainC... | anupsabraham/store_tv_player | android_app/android/app/src/main/java/com/chumbak/storeplayer/MainActivity.java | Java | apache-2.0 | 382 |
/*
* Copyright 2017, OpenCensus 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 ag... | bogdandrutu/opencensus-java | contrib/agent/src/test/java/io/opencensus/contrib/agent/instrumentation/UrlInstrumentationTest.java | Java | apache-2.0 | 1,896 |
/*
* Copyright 2013-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... | orange-cloudfoundry/cf-java-client | cloudfoundry-client/src/main/java/org/cloudfoundry/client/v2/organizations/_ListOrganizationSpacesResponse.java | Java | apache-2.0 | 1,098 |
/*
*
* 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... | deepakddixit/incubator-geode | geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/data/DataBrowser.java | Java | apache-2.0 | 7,007 |
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | artem-zinnatullin/RxJava | src/main/java/io/reactivex/internal/operators/single/SingleDematerialize.java | Java | apache-2.0 | 3,442 |
/*
* Copyright (c) 2016, 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... | Jasintha/carbon-device-mgt | components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/DeviceManagementProviderServiceImpl.java | Java | apache-2.0 | 86,480 |
/*
* Copyright (C) 2006 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... | Palleiro/HCTControl | app/src/main/java/com/hctrom/romcontrol/logcat/data/SortedFilterArrayAdapter.java | Java | apache-2.0 | 15,916 |
/*
* 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... | harunurhan/presto | presto-main/src/test/java/com/facebook/presto/type/TestTypeRegistry.java | Java | apache-2.0 | 13,574 |
/*
* 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... | eva-xuyen/excalibur | containerkit/logkit/src/main/java/org/apache/log/output/io/rotate/RotateStrategyBySize.java | Java | apache-2.0 | 2,687 |
/**
* 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... | punkhorn/camel-upstream | core/camel-api/src/main/java/org/apache/camel/Route.java | Java | apache-2.0 | 4,373 |
package com.tiny.demo.firstlinecode.designpattern.chapter01;
/**
* Desc:
* Created by tiny on 2017/10/24.
* Version:
*/
public class SimpleOperationFactory {
public static Operation createOperate(String operate) {
Operation oper = null;
switch (operate) {
case "+":
... | tinyvampirepudge/Android_Basis_Demo | app/src/main/java/com/tiny/demo/firstlinecode/designpattern/chapter01/SimpleOperationFactory.java | Java | apache-2.0 | 717 |
package org.apache.lucene.codecs.lucene50;
/*
* 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 Licen... | visouza/solr-5.0.0 | lucene/core/src/java/org/apache/lucene/codecs/lucene50/Lucene50NormsFormat.java | Java | apache-2.0 | 7,498 |
/*
* 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... | msebire/intellij-community | java/java-analysis-impl/src/com/intellij/codeInspection/dataFlow/instructions/MethodReferenceInstruction.java | Java | apache-2.0 | 1,849 |
/**
* Copyright 2013-2019 the original author or authors from the Jeddict project (https://jeddict.github.io/).
*
* 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.ap... | jGauravGupta/jpamodeler | jpa-modeler/src/main/java/io/github/jeddict/jpa/modeler/source/generator/task/SourceCodeGeneratorTask.java | Java | apache-2.0 | 6,150 |
/**
* Copyright 2017 Goldman Sachs.
* 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... | goldmansachs/obevo | obevo-db-impls/obevo-db-mssql/src/main/java/com/gs/obevo/db/impl/platforms/mssql/MsSqlAppContext.java | Java | apache-2.0 | 2,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 ... | shardingjdbc/sharding-jdbc | sharding-scaling/sharding-scaling-bootstrap/src/test/java/org/apache/shardingsphere/shardingscaling/fixture/FixtureNopLogManager.java | Java | apache-2.0 | 1,503 |
/*
* $Id$
* This file is a part of the Arakhne Foundation Classes, http://www.arakhne.org/afc
*
* Copyright (c) 2000-2012 Stephane GALLAND.
* Copyright (c) 2005-10, Multiagent Team, Laboratoire Systemes et Transports,
* Universite de Technologie de Belfort-Montbeliard.
* Copyright (c) 2013... | tpiotrow/afc | core/math/src/test/java/org/arakhne/afc/math/geometry/d3/d/Segment3dTest.java | Java | apache-2.0 | 1,257 |
package com.ircclouds.irc.api.state;
import java.util.*;
import com.ircclouds.irc.api.domain.*;
public class DisconnectedIRCState implements IIRCState
{
@Override
public String getNickname()
{
return null;
}
@Override
public List<String> getAltNicks()
{
return null;
}
@Override
p... | migzai/irc-api | src/main/java/com/ircclouds/irc/api/state/DisconnectedIRCState.java | Java | apache-2.0 | 941 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.08.10 at 09:54... | SmarterApp/ItemAuthoring | sbac-iaip/java/src/main/java/com/pacificmetrics/ims/apip/qti/section/TemplateDefault.java | Java | apache-2.0 | 2,787 |
package com.twitter.inject.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.RetentionPolicy.SOURCE;
/**
* Annotates App/Server lifecycle methods.
*/
@Retention(SOURCE)
@Target(ElementType.METHOD)
publ... | syamantm/finatra | inject/inject-app/src/main/java/com/twitter/inject/annotations/Lifecycle.java | Java | apache-2.0 | 348 |
// ANTLR GENERATED CODE: DO NOT EDIT
package org.elasticsearch.plan.a;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.misc.*;
import org.antlr.v4.runtime.tree.*;
import java.util.List;
import java.util.Iterator;
import java.util.ArrayLi... | snikch/elasticsearch | plugins/lang-plan-a/src/main/java/org/elasticsearch/plan/a/PlanAParser.java | Java | apache-2.0 | 100,877 |
/*
* 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 ... | f7753/ignite | modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/JettyRestProcessorAbstractSelfTest.java | Java | apache-2.0 | 71,234 |
package de.uni_hildesheim.sse.reasoning.reasoner.model;
import de.uni_hildesheim.sse.model.cst.Comment;
import de.uni_hildesheim.sse.model.cst.CompoundAccess;
import de.uni_hildesheim.sse.model.cst.CompoundInitializer;
import de.uni_hildesheim.sse.model.cst.ConstantValue;
import de.uni_hildesheim.sse.model.cst.Constra... | SSEHUB/EASyProducer | Plugins/Instantiation/Instantiator.Java.Test/testdata/artifacts/reasoner/tmp/de.uni_hildesheim.sse.reasoning.reasoner/src/de/uni_hildesheim/sse/reasoning/reasoner/model/CollectionConstraintsFinder.java | Java | apache-2.0 | 5,271 |
/* ************************************************************************
#
# DivConq
#
# http://divconq.com/
#
# Copyright:
# Copyright 2014 eTimeline, LLC. All rights reserved.
#
# License:
# See the license.txt file in the project's top-level directory for details.
#
# Authors:
# * Andy ... | Gadreel/divconq | divconq.web/src/main/java/w3/html/NbSp.java | Java | apache-2.0 | 1,163 |
package tdl.s3.testframework;
import com.amazonaws.services.s3.AmazonS3;
import com.amazonaws.services.s3.model.ObjectMetadata;
import org.junit.Rule;
import org.junit.Test;
import tdl.s3.testframework.rules.LocalTestBucket;
import static org.junit.Assert.*;
public class LocalS3Test {
@Rule
public LocalTest... | julianghionoiu/s3-sync-stream | src/test/java/tdl/s3/testframework/LocalS3Test.java | Java | apache-2.0 | 816 |
package com.jlj.dao;
import java.util.List;
import com.jlj.model.Issuedcommand;
public interface IIssuedcommandDao {
//保存一条记录
public abstract void save(Issuedcommand issuedcommand);
//保存一条记录
public abstract Integer savereturn(Issuedcommand issuedcommand);
//删除一条记录
public abstract void delete(Issuedcommand i... | shaqiang/jtd | src/com/jlj/dao/IIssuedcommandDao.java | Java | apache-2.0 | 2,174 |
/*
* 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 ... | kromulan/ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsModesSelfTest.java | Java | apache-2.0 | 19,602 |
/*
* Copyright (C) 2011 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 ... | kralf/ros-android | src/ros_bootstrap/org/ros/internal/message/MessageInterfaceClassProvider.java | Java | apache-2.0 | 1,014 |
package com.plusub.lib.view;
import com.plusub.lib.view.R;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import android.graphics.Typeface;
import android.util.Attribute... | haodynasty/BaseUtilsLib | XUtilsViewLib/src/main/java/com/plusub/lib/view/RoundProgressBar.java | Java | apache-2.0 | 5,962 |
/*
* Copyright 2000-2017 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.debugger.ui;
import com.intellij.CommonBundle;
import com.intellij.debugger.DebuggerBundle;
import com.intellij.debugger.DebuggerManager;
import com.i... | jk1/intellij-community | java/debugger/impl/src/com/intellij/debugger/ui/HotSwapUIImpl.java | Java | apache-2.0 | 14,620 |
/*
* Copyright (c) 2018, 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/template-mgt/org.wso2.carbon.identity.template.mgt/src/main/java/org/wso2/carbon/identity/template/mgt/dao/TemplateManagerDAO.java | Java | apache-2.0 | 3,568 |
package info.iconmaster.typhon.model;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Stack;
import info.iconmaster.typhon.TyphonInput;
import info.iconmaster.typhon.model.libs.CorePackage;
... | TyphonLang/Typhon | src/main/java/info/iconmaster/typhon/model/Package.java | Java | apache-2.0 | 14,976 |
/**
* 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 ... | apetro/uPortal | uportal-war/src/main/java/org/apereo/portal/redirect/AbstractRedirectionUrl.java | Java | apache-2.0 | 3,801 |
/*
* 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... | sebadiaz/kafka | streams/test-utils/src/main/java/org/apache/kafka/streams/test/ConsumerRecordFactory.java | Java | apache-2.0 | 18,120 |
/**
* 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... | Jackygq1982/hbase_src | hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationWithTags.java | Java | apache-2.0 | 9,618 |
/*
* 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... | socialrank/elasticsearch | core/src/main/java/org/elasticsearch/indices/IndicesService.java | Java | apache-2.0 | 38,252 |
package com.shunwang.api.response.recharge;
import com.shunwang.api.response.AbstractSWResponse;
/**
* @author min.da
* @since 2015-12-14
*/
public class SWRechargeStandardListQueryResponse extends AbstractSWResponse {
private static final long serialVersionUID = 7802461983374297388L;
}
| waitttttttttttttttttttttttting/apitools | apitools-web/src/main/config/apidemos/recharge/rechargeStandardListQuery-UTF-8/src/main/java/com/shunwang/api/response/recharge/SWRechargeStandardListQueryResponse.java | Java | apache-2.0 | 297 |
/*
* 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/cocoon | blocks/cocoon-poi/cocoon-poi-impl/src/main/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/EP_Default_.java | Java | apache-2.0 | 1,185 |
/*
* 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 ... | cchang738/drill | exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/columnreaders/ParquetFixedWidthDictionaryReaders.java | Java | apache-2.0 | 17,924 |
// Copyright 2018 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | dslomov/bazel-windows | src/main/java/com/google/devtools/build/lib/skylarkbuildapi/test/AnalysisFailureInfoApi.java | Java | apache-2.0 | 3,188 |
/*
* 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 ... | xhoong/incubator-calcite | core/src/main/java/org/apache/calcite/rex/RexDynamicParam.java | Java | apache-2.0 | 2,340 |
package com.yokmama.learn10.chapter06.lesson26;
import android.app.Activity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.Menu;
import android.view.MenuItem;
import android.view.WindowManager;
import android.widget.EditText;
import android.widget.Toast;
public class MainActivity exten... | yokmama/honki_android | Chapter06/Lesson26/before/app/src/main/java/com/yokmama/learn10/chapter06/lesson26/MainActivity.java | Java | apache-2.0 | 1,613 |
// Copyright 2011-2016 Google LLC
//
// 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 ... | google/binnavi | src/main/java/com/google/security/zynamics/binnavi/Gui/GraphWindows/CommentDialogs/InstructionComments/LocalInstructionCommentsPanel.java | Java | apache-2.0 | 1,712 |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | riversand963/alluxio | core/client/fs/src/test/java/alluxio/client/file/options/CreateDirectoryOptionsTest.java | Java | apache-2.0 | 3,789 |
/* 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... | apache/portals-pluto | portlet-tck_3.0/V2DispatcherReqRespTests1/src/main/java/javax/portlet/tck/portlets/DispatcherReqRespTests1_SPEC2_19_ForwardJSPEventRequest.java | Java | apache-2.0 | 41,228 |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | erikdubbelboer/druid | indexing-hadoop/src/test/java/io/druid/indexer/HadoopIngestionSpecUpdateDatasourcePathSpecSegmentsTest.java | Java | apache-2.0 | 8,543 |
/*
* 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 ... | tweise/incubator-beam | runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/internal/ReadTranslator.java | Java | apache-2.0 | 4,543 |
/*
* 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-core/usef-core-workflow/src/main/java/energy/usef/core/event/DayAheadClosureEvent.java | Java | apache-2.0 | 1,794 |
/*
* Copyright (C) 2014 Archie L. Cobbs. All rights reserved.
*
* $Id$
*/
package org.jsimpledb;
import java.util.List;
import java.util.NavigableMap;
import org.jsimpledb.annotation.JField;
import org.jsimpledb.annotation.JListField;
import org.jsimpledb.annotation.JMapField;
import org.jsimpledb.annotation.JS... | mmayorivera/jsimpledb | src/test/org/jsimpledb/ReferencePathTest.java | Java | apache-2.0 | 5,087 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); yo... | apache/geronimo | framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/ResourceContext.java | Java | apache-2.0 | 1,883 |
/*
* Copyright (c) 2008-2020, Hazelcast, 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 ... | mdogan/hazelcast | hazelcast/src/test/java/com/hazelcast/cp/internal/datastructures/semaphore/SessionAwareSemaphoreBasicTest.java | Java | apache-2.0 | 2,352 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache/incubator-systemml | src/test/java/org/apache/sysds/test/functions/unary/scalar/TanTest.java | Java | apache-2.0 | 3,733 |
package org.ext4spring.acl.aop;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.ext4spring.acl.model.Behavior;
import org.ext4spring.acl.model.ProtectionTy... | ext4spring/ext4spring | acl4spring/src/main/java/org/ext4spring/acl/aop/AclPermissionAllowed.java | Java | apache-2.0 | 1,783 |
/*
* 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... | ptupitsyn/ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalIteratorSwitchSegmentTest.java | Java | apache-2.0 | 17,898 |
package com.henu.smp.util;
import com.henu.smp.Constants;
/**
* Created by liyngu on 12/24/15.
*/
public class StringUtil {
public static boolean isEmpty(String str) {
return str == null || str.trim().length() == 0;
}
public static String format(String str) {
return str == null ? Constan... | liyngu/sao-player-android | app/src/main/java/com/henu/smp/util/StringUtil.java | Java | apache-2.0 | 816 |
/**
* 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 | core-project/text/src/main/java/com/asakusafw/runtime/io/text/TextUtil.java | Java | apache-2.0 | 13,010 |
/*
* 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... | nterry/aws-sdk-java | aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/transform/CreateEventSubscriptionRequestMarshaller.java | Java | apache-2.0 | 5,464 |
/*
* Copyright 2016 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... | jtulach/teavm | core/src/main/java/org/teavm/backend/javascript/NullPointerExceptionTransformer.java | Java | apache-2.0 | 2,158 |
/*
* 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 ... | ufctester/apache-jmeter | src/components/org/apache/jmeter/visualizers/RenderAsJSON.java | Java | apache-2.0 | 5,082 |
/*
* Copyright [2005] [University Corporation for Advanced Internet Development, 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... | danpal/OpenSAML | src/main/java/org/opensaml/saml1/core/impl/AttributeDesignatorUnmarshaller.java | Java | apache-2.0 | 2,263 |
/**
* 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... | Deepnekroz/kaa | server/common/server-shared/src/main/java/org/kaaproject/kaa/server/sync/ProfileServerSync.java | Java | apache-2.0 | 2,121 |
package org.mule.tools.devkit.sonar.rule.verifier.java;
import com.sun.source.tree.ImportTree;
import com.sun.source.tree.MethodTree;
import com.sun.source.tree.VariableTree;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.mule.tools.devkit.sonar.ClassParserUtils;
import org.mule.tools.devkit.son... | mulesoft-labs/connector-certification-tools | src/main/java/org/mule/tools/devkit/sonar/rule/verifier/java/DefaultPayloadVerifier.java | Java | apache-2.0 | 2,687 |
/*
* Copyright @ 2015 Atlassian Pty Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | bgrozev/libjitsi | src/org/jitsi/impl/neomedia/jmfext/media/renderer/audio/MacCoreaudioRenderer.java | Java | apache-2.0 | 21,295 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.06.02 at 04:25... | fastconnect/tibco-bwmaven | tibco-bw-process-model-schema/src/main/java/org/xmlsoap/schemas/wsdl/TDocumented.java | Java | apache-2.0 | 2,017 |
/*
* Copyright 2015-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | sdnwiselab/onos | core/api/src/main/java/org/onosproject/net/intent/OpticalCircuitIntent.java | Java | apache-2.0 | 7,654 |
/*
* 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 distributed under t... | xasx/assertj-core | src/test/java/org/assertj/core/api/long_/LongAssert_isCloseTo_long_Test.java | Java | apache-2.0 | 1,289 |
/*
* Copyright © 2014 - 2018 Leipzig University (Database Research 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
*
* Unles... | niklasteichmann/gradoop | gradoop-flink/src/main/java/org/gradoop/flink/algorithms/fsm/transactional/tle/canonicalization/CanonicalLabeler.java | Java | apache-2.0 | 6,694 |
/*
* 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 ... | grgrzybek/karaf | features/core/src/main/java/org/apache/karaf/features/internal/model/Features.java | Java | apache-2.0 | 7,398 |
/*
* 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 ... | mylog00/flink | flink-core/src/main/java/org/apache/flink/api/common/typeutils/base/LongSerializer.java | Java | apache-2.0 | 2,892 |
package ngvl.android.imfine.gcm;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
import ngvl.android.imfine.R;
import ngvl.android.imfine.model.Message;
import ngvl.android.imfine.persistence.Preferences;
import ngvl.android.imfine.ui.Vi... | LookThisCode/DeveloperBus | Season 2013/Brazil/Projects/Allow-master/Alow_Android/src/ngvl/android/imfine/gcm/GcmHelper.java | Java | apache-2.0 | 7,149 |
/*
* Copyright 2019, EnMasse authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.enmasse.address.model.v1.address;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import or... | jenmalloy/enmasse | api-model/src/test/java/io/enmasse/address/model/v1/address/AddressSpaceStatusTest.java | Java | apache-2.0 | 1,165 |
/*
* 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... | karreiro/drools-wb | drools-wb-services/drools-wb-verifier/drools-wb-verifier-api/src/main/java/org/drools/workbench/services/verifier/api/client/relations/RelationResolver.java | Java | apache-2.0 | 2,138 |
package com.reindeercrafts.notificationpeek.utils;
import android.content.Context;
import android.content.SharedPreferences;
import android.hardware.Sensor;
import android.hardware.SensorManager;
import android.preference.PreferenceManager;
import com.reindeercrafts.notificationpeek.settings.PreferenceKeys;
/**
* H... | lzanita09/NotificationPeekPort | NotificationPeekPort/src/main/java/com/reindeercrafts/notificationpeek/utils/SensorHelper.java | Java | apache-2.0 | 2,465 |
/*
Copyright 2018 Ericsson AB.
For a full list of individual contributors, please see the commit history.
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.ap... | tcskoab/eiffel-remrem-semantics | src/main/java/com/ericsson/eiffel/semantics/events/EiffelTestExecutionRecipeCollectionCreatedEvent.java | Java | apache-2.0 | 2,404 |
/*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | google/error-prone | core/src/main/java/com/google/errorprone/bugpatterns/EqualsNaN.java | Java | apache-2.0 | 3,214 |