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 |
|---|---|---|---|---|---|
package org.qcri.rheem.core.optimizer.enumeration;
import org.apache.commons.lang3.Validate;
import org.qcri.rheem.core.api.Configuration;
import org.qcri.rheem.core.optimizer.OptimizationContext;
import org.qcri.rheem.core.optimizer.ProbabilisticDoubleInterval;
import org.qcri.rheem.core.optimizer.costs.TimeEstimate;... | jonasrk/rheem | rheem-core/src/main/java/org/qcri/rheem/core/optimizer/enumeration/PlanImplementation.java | Java | apache-2.0 | 53,365 |
package com.yuchengtech.tail4solr.core.index;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import junit.framework.TestCase;
import com.yuchengtech.tail4solr.client.tail.RecordAnalyzer;
import com.yuchengtech.t... | boip/YCSrch | YCSrch/test/com/yuchengtech/tail4solr/core/index/TestSolrOper.java | Java | apache-2.0 | 8,682 |
package com.planet_ink.coffee_mud.Behaviors.interfaces;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import c... | vjanmey/EpicMudfia | com/planet_ink/coffee_mud/Behaviors/interfaces/LegalBehavior.java | Java | apache-2.0 | 15,423 |
package com.anttoolkit.hbase.tasks.namespace;
import java.io.*;
import org.apache.tools.ant.*;
import com.anttoolkit.hbase.tasks.*;
public class DeleteNamespaceTask extends GenericHBaseTask
{
private String namespace;
public void setNamespace(String namespace)
{
this.namespace = namespace;
}
@Override
pro... | irudyak/ant-toolkit | dev/modules/native/hbase/src/main/java/com/anttoolkit/hbase/tasks/namespace/DeleteNamespaceTask.java | Java | apache-2.0 | 726 |
package de.unipaderborn.visuflow.wizard;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IFolde... | VisuFlow/visuflow-plugin | src/de/unipaderborn/visuflow/wizard/ProjectGenerator.java | Java | apache-2.0 | 3,563 |
/*
* Copyright (c) 2021, Inversoft 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 a... | prime-framework/prime-mvc | src/main/java/org/primeframework/mvc/http/MutableHTTPRequest.java | Java | apache-2.0 | 2,953 |
/*
* Copyright 2017-2022 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 "licen... | aws/aws-sdk-java | aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/ListObjectChildrenResult.java | Java | apache-2.0 | 6,715 |
package com.structurizr.view;
import com.structurizr.model.Element;
import com.structurizr.model.ElementType;
import com.structurizr.model.SoftwareSystem;
/**
* Represents the System Context view from the C4 model. This is the "big picture" view,
* showing how a software system fits into its environment, in terms o... | ofdrm/java | structurizr-core/src/com/structurizr/view/SystemContextView.java | Java | apache-2.0 | 1,832 |
/*
* Copyright 2000-2016 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... | vovagrechka/fucking-everything | phizdets/phizdets-idea/src/vgrechka/phizdetsidea/phizdets/psi/types/PyFunctionTypeImpl.java | Java | apache-2.0 | 7,127 |
package com.github.xfumihiro.rxbinding.support.v7.widget;
import android.support.annotation.CheckResult;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import rx.Observable;
import rx.functions.Action1;
/**
* Static factory methods for creating {@linkplain Observable observ... | xfumihiro/RxRecyclerView | rxbinding-recyclerview-v7/src/main/java/com/github/xfumihiro/rxbinding/support/v7/widget/RxRecyclerView.java | Java | apache-2.0 | 1,459 |
package org.mass.framework.org.interceptor;
import org.mass.framework.common.bean.ResponseEntity;
import org.mass.framework.common.utils.HtmlUtil;
import org.mass.framework.org.annotation.AppAuth;
import org.mass.framework.org.bean.Token;
import org.mass.framework.org.service.TokenService;
import org.mass.framework.or... | yiliangz/mass | framework/org/src/main/java/org/mass/framework/org/interceptor/AppAuthInterceptor.java | Java | apache-2.0 | 2,458 |
/*
* Copyright 2002-2014 SCOOP Software GmbH
*
* 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... | benfortuna/copper-engine | projects/copper-coreengine/src/test/java/org/copperengine/core/WorkflowVersionTest.java | Java | apache-2.0 | 1,156 |
package com.shoter.aat;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
public class Main {
public static void main(String[] args) {
LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
cfg.title = "Autumun Apple T... | shoter/Autumn-Apple-Tree | project/myGame-desktop/src/com/shoter/aat/Main.java | Java | apache-2.0 | 439 |
/*
* 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 "lice... | trasa/aws-sdk-java | aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/CreatePublicVirtualInterfaceResult.java | Java | apache-2.0 | 23,009 |
/*
* Copyright 2011 SUSE Linux Products GmbH
*
* 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... | SUSE/auditlog-keeper | core/src/de/suse/logkeeper/MessageDispatcher.java | Java | apache-2.0 | 6,734 |
/*
* Copyright (c) 2014 Haixing Hu
*
* 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 ... | Haixing-Hu/data-access | src/main/java/com/github/haixing_hu/data/model/common/Organization.java | Java | apache-2.0 | 4,805 |
/*
* Copyright 2015 LinkedIn Corp. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | sankethkatta/PalDB | paldb/src/main/java/com/linkedin/paldb/utils/FormatVersion.java | Java | apache-2.0 | 2,839 |
package jpac.remaster.pokemonlegends.util;
import android.app.Activity;
import android.view.View;
import android.view.WindowManager;
/**
* A base implementation of {@link SystemUiHider}. Uses APIs available in all
* API levels to show and hide the status bar.
*/
public class SystemUiHiderBase extends SystemUiHider... | onepiecegames/pokemonlegends | PokemonLegends/src/jpac/remaster/pokemonlegends/util/SystemUiHiderBase.java | Java | apache-2.0 | 1,717 |
/*******************************************************************************
* Copyright 2006 - 2012 Vienna University of Technology,
* Department of Software Technology and Interactive Systems, IFS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compl... | openpreserve/plato | plato-model/src/main/java/eu/scape_project/planning/model/measurement/Measure.java | Java | apache-2.0 | 4,107 |
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2008-2022 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/license... | griffon/griffon | subprojects/griffon-core-impl/src/main/java/org/codehaus/griffon/runtime/core/i18n/AbstractMessageSource.java | Java | apache-2.0 | 9,435 |
package com.acs.wave.utils.cache;
class CacheEntry<Value> {
final Value value;
final Long expirationTime;
CacheEntry(Value value, Long expirationTime) {
this.value = value;
this.expirationTime = expirationTime;
}
public boolean canExpire() {
return (expirationTime != null)... | albertoteloko/wave-server | utils/src/main/java/com/acs/wave/utils/cache/CacheEntry.java | Java | apache-2.0 | 330 |
/*
* Copyright (C) 2017 Renat Sarymsakov.
*
* 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 ... | ragnor-rs/visum | demo/src/main/java/io/reist/sandbox/repos/model/RepoService.java | Java | apache-2.0 | 1,127 |
package seers.bugrepanalyzer.json;
import java.util.List;
import com.google.gson.annotations.SerializedName;
public class JSONClosedDetails {
@SerializedName("original_questions")
private List<JSONOriginalQuestion> originalQuestions;
private String reason;
public List<JSONOriginalQuestion> getOriginalQuesti... | ojcchar/bug-report-analyzer | bug-report-analyzer/src/main/java/seers/bugrepanalyzer/json/JSONClosedDetails.java | Java | apache-2.0 | 612 |
/*
* Copyright 2017-2022 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 "licen... | aws/aws-sdk-java | aws-java-sdk-nimblestudio/src/main/java/com/amazonaws/services/nimblestudio/model/transform/ListEulasResultJsonUnmarshaller.java | Java | apache-2.0 | 3,038 |
package com.didichuxing.doraemonkit.weex.info;
import android.content.Context;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com... | didi/DoraemonKit | Android/dokit-weex/src/main/java/com/didichuxing/doraemonkit/weex/info/WeexInfoAdapter.java | Java | apache-2.0 | 2,386 |
package st.ustp.siie.scanner.builder;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.view.Gravity;
import android.view.View;... | tec-ustp/SIIEScanner | app/src/main/java/st/ustp/siie/scanner/builder/MainBuildView.java | Java | apache-2.0 | 19,358 |
package i_operadores;
// Fig. 5.18: LogicalOperators.java
// Logical operators.
public class TabelaVerdadeLogicalOperators
{
public static void main( String[] args )
{
//cria tabela verdade para o operador && (E condicional)
// create truth table for && (conditional AND) operator
S... | AndersonFCanel/JavaPassoAPasso | Basico Passo a passo/i_operadores/TabelaVerdadeLogicalOperators.java | Java | apache-2.0 | 3,566 |
/*
* Licensed to the University Corporation for Advanced Internet Development,
* Inc. (UCAID) under one or more contributor license agreements. See the
* NOTICE file distributed with this work for additional information regarding
* copyright ownership. The UCAID licenses this file to You under the Apache
* Lic... | jagheterfredrik/java-idp | src/main/java/edu/internet2/middleware/shibboleth/idp/profile/saml2/AttributeQueryProfileHandler.java | Java | apache-2.0 | 15,345 |
/*
* Copyright 2017 Open mHealth
*
* 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... | openmhealth/shimmer | shim-server/src/main/java/org/openmhealth/shim/moves/MovesShim.java | Java | apache-2.0 | 8,775 |
/*
* Copyright (C) FuseSource, Inc.
* http://fusesource.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | alexeev/jboss-fuse-mirror | fabric/fabric-core/src/test/java/io/fabric8/api/VersionSequenceTest.java | Java | apache-2.0 | 2,290 |
/***
*
* Copyright 2014 Andrew Hall
*
* 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 ... | statefulj/statefulj | statefulj-framework/statefulj-framework-core/src/main/java/org/statefulj/framework/core/fsm/FSM.java | Java | apache-2.0 | 5,872 |
package com.bstek.bdf3.security.ui.service;
import java.util.List;
import com.bstek.bdf3.security.orm.Url;
/**
* @author Kevin Yang (mailto:kevin.yang@bstek.com)
* @since 2017年1月2日
*/
public interface FrameworkService {
List<Url> loadUrlForLoginUser();
}
| muxiangqiu/bdf3 | bdf3-parent/bdf3-security-ui/src/main/java/com/bstek/bdf3/security/ui/service/FrameworkService.java | Java | apache-2.0 | 271 |
// Copyright 2016 Twitter. 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... | cliffyg/heron | heron/storm/src/java/backtype/storm/utils/Utils.java | Java | apache-2.0 | 3,337 |
package nl.xs4all.banaan.tap.web.detailpage;
import nl.xs4all.banaan.tap.domain.TapResponse;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.CompoundPropertyModel;
import org.apache.wicket.model.IModel;
public class ResponsePanel exte... | ekonijn/http-tap | src/main/java/nl/xs4all/banaan/tap/web/detailpage/ResponsePanel.java | Java | apache-2.0 | 700 |
package org.ovirt.engine.ui.uicommonweb.validation;
import java.util.Collections;
import org.ovirt.engine.core.compat.*;
import org.ovirt.engine.ui.uicompat.*;
import org.ovirt.engine.core.common.businessentities.*;
import org.ovirt.engine.core.common.vdscommands.*;
import org.ovirt.engine.core.common.queries.*;
import... | anjalshireesh/gluster-ovirt-poc | frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/validation/IpAddressValidation.java | Java | apache-2.0 | 891 |
package customerservice;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.mongodb.repository.config.EnableReactiveMongoRepositories;
@SpringBootApplication
@EnableReactiveMongoRepositories
public class CustomerServi... | dserradji/reactive-customer-service | src/main/java/customerservice/CustomerService.java | Java | apache-2.0 | 427 |
package controllers.sso.filters;
import controllers.sso.web.Controllers;
import controllers.sso.web.UrlBuilder;
import models.sso.UserRole;
import ninja.Context;
import ninja.Filter;
import ninja.FilterChain;
import ninja.Result;
import javax.inject.Inject;
import javax.inject.Provider;
/**
* Filter that requires a... | janenik/ninja-sso-um | src/main/java/controllers/sso/filters/RequireAdminPrivelegesFilter.java | Java | apache-2.0 | 1,545 |
/*
* Copyright 2014-2019 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 "licen... | jentfoo/aws-sdk-java | aws-java-sdk-neptune/src/main/java/com/amazonaws/services/neptune/model/RemoveRoleFromDBClusterRequest.java | Java | apache-2.0 | 6,318 |
/*
* Copyright 2017-2022 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 "licen... | aws/aws-sdk-java | aws-java-sdk-codecommit/src/main/java/com/amazonaws/services/codecommit/model/transform/MultipleRepositoriesInPullRequestExceptionUnmarshaller.java | Java | apache-2.0 | 3,135 |
/*
* 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... | l-dobrev/activemq-artemis | artemis-core-client/src/main/java/org/apache/activemq/artemis/core/cluster/DiscoveryGroup.java | Java | apache-2.0 | 12,309 |
/*
* 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 ... | nicolaferraro/camel | core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ApnsComponentBuilderFactory.java | Java | apache-2.0 | 5,931 |
/*
* 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... | trasa/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java | Java | apache-2.0 | 585,622 |
/*******************************************************************************
* Copyright (C) 2016 Kwaku Twumasi-Afriyie <kwaku.twumasi@quakearts.com>.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies... | kwakutwumasi/Quakearts-JSF-Webtools | qa-boot/src/main/java/com/quakearts/webapp/facelets/bootstrap/components/BootAjaxLoaderComponent.java | Java | apache-2.0 | 1,721 |
/**
*
*/
package org.socraticgrid.hl7.services.uc.model;
import static org.junit.Assert.*;
import java.sql.Connection;
import java.sql.Statement;
import org.apache.ibatis.session.SqlSession;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.FixMethodOrder;
import org.junit.Test;
import o... | SocraticGrid/Services-Backup | VACDS-UCS-Engine-RI/src/it/java/org/socraticgrid/hl7/services/uc/model/UCSDataService_Address_TestIT.java | Java | apache-2.0 | 6,240 |
/*
* Copyright 2017-2022 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 "licen... | aws/aws-sdk-java | aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesisanalytics/model/transform/CreateApplicationRequestProtocolMarshaller.java | Java | apache-2.0 | 2,760 |
package org.jbson;
import java.io.*;
import java.math.*;
import java.nio.*;
import java.nio.charset.*;
import java.util.*;
import java.util.concurrent.atomic.*;
import java.util.regex.*;
import org.jruby.*;
import org.jruby.exceptions.*;
import org.jruby.java.addons.*;
import org.jruby.java.proxies.*;
import org.jrub... | pcarrier-packaging/deb-ruby-mongo | ext/jbson/src/main/jbson/RubyBSONEncoder.java | Java | apache-2.0 | 25,731 |
// GENERATED FILE!
// VERSION-INFO: com.valtech.source.ag.evf.codegen.HandleEvent
// DATE/TIME-INFO: 17.05.04 09:36:44
package com.valtech.source.dependometer.app.controller.subsystem;
public interface HandleSubsystemCycleCollectedEventIf
{
public void handleEvent(com.valtech.source.dependometer.app.contro... | dheraclio/dependometer | dependometer-core/src/main/java/com/valtech/source/dependometer/app/controller/subsystem/HandleSubsystemCycleCollectedEventIf.java | Java | apache-2.0 | 376 |
package com.hwyhard.www.fushihui.bean;
import java.util.List;
/**
* Created by hwyhard on 17/4/26.
*/
//知乎缩略消息的实体类
public class ZhiHuBean {
//日期
public String date;
//内容列表
public List<ZhiHuStory> stories;
public static class ZhiHuStory{
//新闻标题
public String title;
//图像地址
... | hwyhard/Fushihui | fushihui/app/src/main/java/com/hwyhard/www/fushihui/bean/ZhiHuBean.java | Java | apache-2.0 | 1,079 |
/*
* Copyright 2017-2022 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 "licen... | aws/aws-sdk-java | aws-java-sdk-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/DeleteIntegrationResult.java | Java | apache-2.0 | 2,201 |
/*
* Copyright 2017-2022 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 "licen... | aws/aws-sdk-java | aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/GroupSummary.java | Java | apache-2.0 | 5,985 |
/*
* Copyright (C) 2013 OTAPlatform
*
* 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... | treken/platform_packages_apps_OCTota | src/com/oct/updater/ui/fragment/UpdateFragment.java | Java | apache-2.0 | 7,804 |
package me.yanaga.winter.data.jpa.querydsl;
/*
* #%L
* winter-data-jpa
* %%
* Copyright (C) 2015 Edson Yanaga
* %%
* 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://ww... | yanaga/winter-data-jpa | src/test/java/me/yanaga/winter/data/jpa/querydsl/EntityPathResolverTest.java | Java | apache-2.0 | 1,268 |
/*
* Copyright 2017-2022 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 "licen... | aws/aws-sdk-java | aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/model/transform/InventoryRetrievalJobDescriptionJsonUnmarshaller.java | Java | apache-2.0 | 3,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"); you... | merlimat/pulsar | pulsar-common/src/main/java/org/apache/pulsar/policies/data/loadbalancer/LocalBrokerData.java | Java | apache-2.0 | 13,724 |
// Copyright 2021 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 writi... | googleads/googleads-java-lib | modules/dfp_axis/src/main/java/com/google/api/ads/admanager/axis/v202105/DeliveryData.java | Java | apache-2.0 | 5,192 |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0, (the "License"); you ma... | equella/Equella | Source/Plugins/Core/com.equella.core/src/com/tle/web/wizard/scripting/objects/impl/ControlScriptWrapper.java | Java | apache-2.0 | 3,411 |
package com.khmelenko.lab.varis.widget;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import c... | DreierF/TravisClient-Android | app/src/main/java/com/khmelenko/lab/varis/widget/BuildView.java | Java | apache-2.0 | 5,200 |
package com.communote.server.persistence.config;
/**
* @see com.communote.server.model.config.LdapSearchBaseDefinition
*
* @author Communote GmbH - <a href="http://www.communote.com/">http://www.communote.com/</a>
*/
public class LdapSearchBaseDefinitionDaoImpl extends
com.communote.server.persistence.conf... | Communote/communote-server | communote/persistence/src/main/java/com/communote/server/persistence/config/LdapSearchBaseDefinitionDaoImpl.java | Java | apache-2.0 | 358 |
/*
* Copyright 2000-2016 Vaadin 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 agreed to... | mstahv/framework | uitest/src/test/java/com/vaadin/tests/components/grid/GridRemoveColumnAndDetachTest.java | Java | apache-2.0 | 2,779 |
/**
* Copyright 2011 The Open Source Research Group,
* University of Erlangen-Nürnberg
*
* 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/lic... | sweble/utils | src/main/java/de/fau/cs/osr/utils/FmtRuntimeException.java | Java | apache-2.0 | 1,233 |
/*
* 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-core/src/main/java/org/apache/wicket/request/mapper/PageInstanceMapper.java | Java | apache-2.0 | 5,227 |
package camelinaction;
import java.io.File;
import org.apache.camel.Exchange;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.test.junit4.CamelTestSupport;
import org.junit.Test;
/**
* Our first unit test with the Camel Test Kit.
* We test the Hello World example of integration kits, which is... | camelinaction/camelinaction2 | chapter9/java/src/test/java/camelinaction/FirstTest.java | Java | apache-2.0 | 1,630 |
package com.web.app.context;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
public class ServiceApplicationContext implements ApplicationContextAware {
private static ApplicationContext applica... | i0712326/bcnx | AppWebService/src/com/web/app/context/ServiceApplicationContext.java | Java | apache-2.0 | 570 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package klose.effj.enums;
/**
*
* @author klose
*/
public enum UglyOperation {
// Enum type that switches on its own value - qu... | klose911/klose911.github.io | src/effj/src/klose/effj/enums/UglyOperation.java | Java | apache-2.0 | 774 |
package hackerrank.algorithms;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Scanner;
public class SuperReducedString {
private static boolean flag = true;
static String super_reduced_string(String s) {
String result = s;
while (flag... | pradeep-charism/hackerrank | src/main/java/hackerrank/algorithms/SuperReducedString.java | Java | apache-2.0 | 1,326 |
/**
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... | Jasig/ContentManagementPortlet | src/main/java/org/jasig/portlet/cms/controller/MinimizedStateHandlerInterceptor.java | Java | apache-2.0 | 1,349 |
package com.github.edgar615.gateway.core.plugin.predicate;
import com.github.edgar615.gateway.core.dispatch.ApiContext;
import com.github.edgar615.gateway.core.utils.MultimapUtils;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
public class HeaderEqualsPredicate imple... | edgar615/direwolves | core/src/main/java/com/github/edgar615/gateway/core/plugin/predicate/HeaderEqualsPredicate.java | Java | apache-2.0 | 1,110 |
/*
* Copyright 2013 Filippo De Luca - me@filippodeluca.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | filosganga/geogson | core/src/main/java/com/github/filosganga/geogson/model/MultiPoint.java | Java | apache-2.0 | 2,334 |
// Copyright 2014-2015 Boundary, 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 agree... | boundary/boundary-event-sdk | src/main/java/com/boundary/sdk/event/service/url/UrlRouteBuilder.java | Java | apache-2.0 | 2,319 |
/**
* 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... | stokito/gag | gag-annotations/src/main/java/com/github/stokito/gag/annotation/remark/OhNoYouDidnt.java | Java | apache-2.0 | 1,254 |
/*
* Copyright 2012 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... | Dempsy/Dempsy-examples | example-simplewordcount/src/test/java/com/nokia/dempsy/example/simplewordcount/mp/WordRankMPTest.java | Java | apache-2.0 | 3,213 |
/*
* Copyright (C) 2009 - 2020 Broadleaf Commerce
*
* Licensed under the Broadleaf End User License Agreement (EULA), Version 1.1 (the
* "Commercial License" located at http://license.broadleafcommerce.org/commercial_license-1.1.txt).
*
* Alternatively, the Commercial License may be replaced with a mutually agree... | BroadleafCommerce/blc-paypal | services/src/main/java/org/broadleafcommerce/vendor/paypal/service/payment/PayPalAuthorizationRetrievalRequest.java | Java | apache-2.0 | 1,783 |
/*
* 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... | sjsingh200893/Sunshine | app/src/main/java/com/example/android/sunshine/app/data/WeatherProvider.java | Java | apache-2.0 | 12,883 |
package com.like.common.view.transformerviewpager.transformer;
import android.support.v4.view.ViewPager;
import android.view.View;
public class RotateDownPageTransformer implements ViewPager.PageTransformer {
private static final float ROT_MAX = 20.0f;
public void transformPage(View view, float position) {
if (... | like5188/Common | common/src/main/java/com/like/common/view/transformerviewpager/transformer/RotateDownPageTransformer.java | Java | apache-2.0 | 1,097 |
/*
* 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... | smee/gradoop | gradoop-flink/src/main/java/org/gradoop/flink/model/api/layouts/LogicalGraphLayout.java | Java | apache-2.0 | 1,550 |
/*******************************************************************************
* Copyright 2012-2014 Esri
*
* 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.... | Esri/vehicle-commander-java | source/VehicleCommander/src/com/esri/vehiclecommander/view/BasemapsJPanel.java | Java | apache-2.0 | 7,004 |
package com.utils;
import net.majorkernelpanic.streaming.hw.AnalogvideoActivity;
import com.basic.APP;
import com.basic.XMSG;
import com.manniu.manniu.R;
import com.views.Main;
import P2P.SDK;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.... | zongyl/manniu | src/com/utils/PhoneStatReceiver.java | Java | apache-2.0 | 2,173 |
package univers.torri.fr.config;
import io.github.jhipster.config.JHipsterProperties;
import com.codahale.metrics.JmxReporter;
import com.codahale.metrics.MetricRegistry;
import com.codahale.metrics.Slf4jReporter;
import com.codahale.metrics.health.HealthCheckRegistry;
import com.codahale.metrics.jcache.JCacheGaugeSe... | PegazusFR/traveler-web-site | src/main/java/univers/torri/fr/config/MetricsConfiguration.java | Java | apache-2.0 | 3,953 |
/**
* Copyright 2012 Manning Publications Co.
*
* 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... | fmui/ApacheChemistryInAction | the-blend/src/main/java/com/manning/cmis/theblend/util/TheBlendHelper.java | Java | apache-2.0 | 3,627 |
/*
* Copyright 2015 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 applicable la... | sonu283304/onos | core/api/src/main/java/org/onosproject/net/flow/criteria/IcmpCodeCriterion.java | Java | apache-2.0 | 2,013 |
/*
* Copyright 2017-2022 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 "licen... | aws/aws-sdk-java | aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/transform/InvalidDBSubnetGroupStateExceptionUnmarshaller.java | Java | apache-2.0 | 1,640 |
/**
* Copyright Pravega 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 agreed to... | pravega/pravega | segmentstore/server/src/test/java/io/pravega/segmentstore/server/ReadResultMock.java | Java | apache-2.0 | 5,202 |
/*
* 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... | lockerfish/mysunshine | app/src/androidTest/java/com/lockerfish/sunshine/FullTestSuite.java | Java | apache-2.0 | 1,024 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | vohtaski/moodle-shindig | java/samples/src/main/java/org/apache/shindig/social/opensocial/jpa/eclipselink/Bootstrap.java | Java | apache-2.0 | 5,813 |
// 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... | imay/palo | fe/src/main/java/org/apache/doris/planner/PartitionColumnFilter.java | Java | apache-2.0 | 5,023 |
/**
* 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 | platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/model/rest/springboot/RestConfigurationDefinitionProperties.java | Java | apache-2.0 | 14,542 |
/*
* Copyright 2013 Practice Insight Pty Ltd, all rights reserved.
*/
package com.pi.xerosync.service;
import com.google.inject.Inject;
import com.google.sitebricks.At;
import com.google.sitebricks.headless.Reply;
import com.google.sitebricks.headless.Service;
import com.google.sitebricks.http.Get;
import org.slf4j... | tom-haines/patricia-xero-sync | patricia-xero-webapp/src/main/java/com/pi/xerosync/service/SyncService.java | Java | apache-2.0 | 1,106 |
/*
* Copyright 2014 NAVER Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | Skkeem/pinpoint | profiler/src/main/java/com/navercorp/pinpoint/profiler/modifier/tomcat/interceptor/StandardServiceStopInterceptor.java | Java | apache-2.0 | 2,059 |
/* ***** 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/
*
... | medicayun/medicayundicom | dcm4chee-web/tags/DCM4CHEE_WEB_3_0_0_TEST1/dcm4chee-web-war/src/main/java/org/dcm4chee/web/war/folder/model/StudyModel.java | Java | apache-2.0 | 7,471 |
/**
* 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... | chicagozer/rheosoft | components/camel-routebox/src/main/java/org/apache/camel/component/routebox/seda/RouteboxSedaConsumer.java | Java | apache-2.0 | 5,615 |
/*
* Copyright (c) Tuenti Technologies S.L. 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... | daijiale/Zuber | ZuberResource/ZuberClient_0.3/app/src/com/taobao/tae/buyingdemo/widget/buttonmenu/animator/ScrollAnimator.java | Java | apache-2.0 | 7,556 |
package com.yeamy.widget;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Shader;
import android.graphics.drawable.ShapeDrawable;
... | Yeamy/widget | widget/src/main/java/com/yeamy/widget/OvalImageView.java | Java | apache-2.0 | 1,515 |
/*
* 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 ... | mreutegg/jackrabbit-oak | oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreServiceConfiguration.java | Java | apache-2.0 | 8,212 |
package com.jiang.android.multirecyclerview.adapter;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
/**
* Created by jiang on 16/8/29.
*/
public abstract class BaseAdapter extends RecyclerView.Adapter<BaseViewHolder> {
... | jiang111/MultiRecyclerView | multirecyclerview/src/main/java/com/jiang/android/multirecyclerview/adapter/BaseAdapter.java | Java | apache-2.0 | 1,361 |
package com.github.lstephen.ootp.ai.selection;
/** @author lstephen */
public interface SelectionFactory {
Selection create(Mode mode);
}
| lstephen/ootp-ai | src/main/java/com/github/lstephen/ootp/ai/selection/SelectionFactory.java | Java | apache-2.0 | 142 |
package restaurant.yunying.gui;
import java.awt.*;
public interface Gui {
public void updatePosition();
public void draw(Graphics2D g);
public boolean isPresent();
public void setPaused(boolean b);
public boolean isPaused();
}
| Yunying/SimCity | src/restaurant/yunying/gui/Gui.java | Java | apache-2.0 | 245 |
/*
* This program checks if the an array of integers contains a pair of
* integers with a given sum. For more information on the post, please
* refer to the following link:-
* http://www.geeksforgeeks.org/write-a-c-program-that-given-a-set-a-of-n-
* numbers-and-another-number-x-determines-whether-or-not-there-exis... | ggupta2005/Programming-and-Algorithm-Questions | check_if_an_array_contains_a_pair_with_given_sum/check_if_an_array_contains_a_pair_with_given_sum.java | Java | apache-2.0 | 9,815 |
/*******************************************************************************
* Copyright 2017 Kansaneläkelaitos
*
* 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... | mikkokupsu/KantaCDA-API | KantaCDA-API/src/main/java/fi/kela/kanta/interfaces/TunnistettuKayttaja.java | Java | apache-2.0 | 1,359 |
package fragment;
import android.content.Context;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
/**
* Created by outi on 2016/10/5.
*/
public class MyFragmentAdapter extends FragmentPagerAdapter {
public final int COUN... | zhengjiawen/EasyNews | app/src/main/java/fragment/MyFragmentAdapter.java | Java | apache-2.0 | 904 |
//
// 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: 2013.11.29 at 12:35... | ryandcarter/hybris-connector | src/main/java/org/mule/modules/hybris/model/ItemFormattersDTO.java | Java | apache-2.0 | 2,181 |