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 cpsr.environment.simulation.domains;
import java.util.ArrayList;
import cpsr.environment.components.Action;
import cpsr.environment.components.Observation;
import cpsr.environment.exceptions.EnvironmentException;
import cpsr.environment.simulation.ASimulator;
import cpsr.planning.PSRPlanningExperiment;
import... | williamleif/PSRToolbox | src/cpsr/environment/simulation/domains/Follow.java | Java | apache-2.0 | 4,693 |
package com.leeo.quartz;
import java.lang.reflect.Method;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.quartz.QuartzJobBean;
public ... | Leeo1124/test | src/main/java/com/leeo/quartz/MyDetailQuartzJobBean.java | Java | apache-2.0 | 1,692 |
/*
* Copyright 2012 SURFnet bv, The Netherlands
*
* 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 ... | alleveenstra/Mujina | mujina-common/src/main/java/nl/surfnet/mujina/util/TimeService.java | Java | apache-2.0 | 789 |
package com.climate.mirage.processors;
import android.graphics.Bitmap;
import com.climate.mirage.BuildConfig;
import com.climate.mirage.RobolectricTest;
import junit.framework.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.annotation.Config;
public class InverseProcessorTest... | TheClimateCorporation/mirage | library/src/test/java/com/climate/mirage/processors/InverseProcessorTest.java | Java | apache-2.0 | 847 |
/*
* Copyright 2000-2010 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... | consulo/consulo | modules/base/core-api/src/main/java/com/intellij/lang/TokenSeparatorGenerator.java | Java | apache-2.0 | 817 |
/*
* Copyright 2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | googleapis/java-compute | proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SchedulingOrBuilder.java | Java | apache-2.0 | 10,260 |
/*
* Copyright (C) 2013 salesforce.com, 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 ... | madmax983/aura | aura/src/main/java/org/auraframework/def/module/TagConfigs.java | Java | apache-2.0 | 1,517 |
/*
* Copyright (c) 2014-2017 VMware, 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... | toliaqat/xenon | xenon-common/src/main/java/com/vmware/xenon/services/common/LocalFileService.java | Java | apache-2.0 | 8,908 |
package com.ilad.singlylinkedlist;
public class GenericSinglyList<E> {
private GenericNode m_head;
public class GenericListIterator {
// Constructor
public GenericListIterator(GenericNode node_) {
m_node = node_;
}
private GenericNode m_node;
public E getData() {
if(m_node == null)
{
re... | eglatzer/Infinity-Labs-Repository | singlylinkedlist/src/com/ilad/singlylinkedlist/GenericSinglyList.java | Java | apache-2.0 | 1,368 |
/***********************************************************
* _ _ _ _ ____ _ *
* | | |_| | | | | | _ \ |_| *
* | | _ ___ | |__ _| |_| | | | ____ _ _ _ ___ *
* | | | |/ _ \| _ \|_ _| | | |/ ___| | \ / |/ _ \ *
* | |___... | thenewcomposer/LightDrive | src/net/alexanderdev/lightdrive/graphics/BlendOp.java | Java | apache-2.0 | 1,460 |
package com.axic.ordermanager.activity;
import java.util.Calendar;
import com.axic.ordermanager.R;
import com.axic.ordermanager.database.GoodsImformation;
import android.app.Activity;
import android.content.ContentValues;
import android.content.Intent;
import android.database.sqlite.SQLiteDatabase;
import android.o... | Sprie/OrderManager | src/com/axic/ordermanager/activity/AddDataToGoods.java | Java | apache-2.0 | 4,392 |
/*
* Copyright 2012-2015 JetBrains s.r.o
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | anqidong/jetpad-mapper | util/geometry/src/test/java/jetbrains/jetpad/geometry/VectorTest.java | Java | apache-2.0 | 1,478 |
/*
* Copyright 2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | googleapis/java-bigtable | proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java | Java | apache-2.0 | 3,625 |
package aceim.app.view.page;
import aceim.app.R;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
public class NoPage extends Fragment {
@Override
p... | snuk182/aceim | app/src/main/java/aceim/app/view/page/NoPage.java | Java | apache-2.0 | 639 |
/*
* © Copyright FOCONIS AG, 2014
*
* 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... | rPraml/org.openntf.domino | domino/xsp/src/main/java/org/openntf/domino/xsp/model/OpenntfDominoDocumentData.java | Java | apache-2.0 | 5,938 |
package com.twitter.elephantbird.mapreduce.io;
import org.apache.thrift.TBase;
import org.apache.thrift.TDeserializer;
import org.apache.thrift.TException;
import org.apache.thrift.TSerializer;
import com.twitter.elephantbird.util.TypeRef;
public class ThriftConverter<M extends TBase<?, ?>> implements BinaryConverte... | 11xor6/elephant-bird | src/java/com/twitter/elephantbird/mapreduce/io/ThriftConverter.java | Java | apache-2.0 | 1,706 |
// This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2021 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static org.sosy_lab.java_smt.api.For... | sosy-lab/java-smt | src/org/sosy_lab/java_smt/test/ArrayFormulaManagerTest.java | Java | apache-2.0 | 8,071 |
package com.bswen;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* Created with IntelliJ IDEA.
* User: bswen
* Date: 15-7-26
* Time: 下午10:40
* To change this template use File | Settings | File Templates.
*/
@SpringBootApplication
pub... | bswen/bswen-project | spring-boot-0726/src/main/java/com/bswen/MyApp.java | Java | apache-2.0 | 473 |
/*
* Copyright 2015 "Henry Tao <hi@henrytao.me>"
*
* 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 ... | eneim/smooth-app-bar-layout | sample/src/main/java/me/henrytao/smoothappbarlayoutdemo/fragment/SmoothNestedScrollViewParallaxFragment.java | Java | apache-2.0 | 1,245 |
package com.algaworks.pedidovenda.security;
import java.io.Serializable;
import javax.enterprise.context.RequestScoped;
import javax.faces.context.FacesContext;
import javax.inject.Named;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
@Named
@RequestScoped
public... | ivonildolopes/PedidoVenda | src/main/java/com/algaworks/pedidovenda/security/Seguranca.java | Java | apache-2.0 | 1,092 |
/*
* Copyright 2016-2017 EMBL - European Bioinformatics Institute
*
* 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 requi... | cyenyxe/eva-pipeline | src/test/java/uk/ac/ebi/eva/pipeline/jobs/steps/VepAnnotationGeneratorStepTest.java | Java | apache-2.0 | 4,129 |
package org.pikater.core.ontology;
import jade.content.onto.BeanOntology;
import jade.content.onto.Ontology;
import org.pikater.core.ontology.subtrees.batchdescription.duration.ExpectedDuration;
import org.pikater.core.ontology.subtrees.data.Datas;
import org.pikater.core.ontology.subtrees.newoption.base.NewOption;
... | tomkren/pikater | src/org/pikater/core/ontology/ResultOntology.java | Java | apache-2.0 | 2,247 |
package de.grafelhaft.winespray.app.broadcast;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import de.grafelhaft.winespray.app.ImportActivity;
import io.realm.Realm;
/**
* Created by @author Markus Graf (Grafelhaft) on 16.10.2016.
*/
public class ClearDb... | Grafelhaft/WineSpray | app/src/main/java/de/grafelhaft/winespray/app/broadcast/ClearDbBroadcastReceiver.java | Java | apache-2.0 | 802 |
/*
* <summary></summary>
* <author>He Han</author>
* <email>hankcs.cn@gmail.com</email>
* <create-date>2014/11/20 15:00</create-date>
*
* <copyright file="WordNatureDependencyModel.java" company="上海林原信息科技有限公司">
* Copyright (c) 2003-2014, 上海林原信息科技有限公司. All Right Reserved, http://www.linrunsoft.com/
* This source... | xunyuw/HanLP | src/main/java/com/hankcs/hanlp/model/bigram/WordNatureDependencyModel.java | Java | apache-2.0 | 7,988 |
/*
* 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-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/NodeToNodeEncryptionOptionsStatus.java | Java | apache-2.0 | 6,313 |
/**
* 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... | iVCE/RDFS | src/contrib/raid/src/test/org/apache/hadoop/raid/BadReedSolomonCode.java | Java | apache-2.0 | 1,391 |
/**
* Copyright 2018 Nikita Koksharov
*
* 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... | jackygurui/redisson | redisson/src/main/java/org/redisson/api/RLexSortedSet.java | Java | apache-2.0 | 2,918 |
/*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | youdonghai/intellij-community | platform/lang-impl/src/com/intellij/refactoring/move/moveFilesOrDirectories/MoveFilesOrDirectoriesProcessor.java | Java | apache-2.0 | 12,200 |
package com.fincatto.documentofiscal.nfe310.classes.nota;
import org.simpleframework.xml.Element;
import com.fincatto.documentofiscal.DFBase;
import com.fincatto.documentofiscal.nfe310.classes.NFEndereco;
import com.fincatto.documentofiscal.nfe310.classes.NFRegimeTributario;
import com.fincatto.documentofiscal.valida... | jefperito/nfe | src/main/java/com/fincatto/documentofiscal/nfe310/classes/nota/NFNotaInfoEmitente.java | Java | apache-2.0 | 4,384 |
// //
// Copyright 2018 Mirko Raner //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | raner/projo | projo-template-annotation/src/main/java/pro/projo/interfaces/annotation/Interfaces.java | Java | apache-2.0 | 1,818 |
package mobi.anoda.archinamon.kernel.persefone.stateless.triggers;
import mobi.anoda.archinamon.kernel.persefone.annotation.Implement;
import mobi.anoda.archinamon.kernel.persefone.stateless.OutVar;
import mobi.anoda.archinamon.kernel.persefone.stateless.delegates.FuncBoolean;
public class IgnoredTriggerBehaviour<TSt... | Archinamon/persefone | src/main/java/mobi/anoda/archinamon/kernel/persefone/stateless/triggers/IgnoredTriggerBehaviour.java | Java | apache-2.0 | 633 |
/*
* 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-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/transform/ListBuiltInIntentsRequestMarshaller.java | Java | apache-2.0 | 3,007 |
/**
* Copyright 2011-2021 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... | asakusafw/asakusafw | dmdl-project/asakusa-dmdl-core/src/main/java/com/asakusafw/dmdl/util/AnalyzeTask.java | Java | apache-2.0 | 6,957 |
package lt.andro.maistobankas;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
/**
* A placeholder f... | gdgvilnius/MaistoBankas | app/src/main/java/lt/andro/maistobankas/ShopInformationFragment.java | Java | apache-2.0 | 3,344 |
package org.systemsbiology.addama.appengine.entities;
import com.google.appengine.api.datastore.DatastoreService;
import com.google.appengine.repackaged.org.json.JSONException;
import com.google.appengine.repackaged.org.json.JSONObject;
import org.systemsbiology.addama.commons.web.exceptions.ForbiddenAccessException;
... | hrovira/addama-googlecode | commons/gae-commons/src/main/java/org/systemsbiology/addama/appengine/entities/JsonEntityStore.java | Java | apache-2.0 | 3,350 |
/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2015 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the Apache
* License, Version 2.0. All contributions in this program are covered
* by the Geomajas Contributor... | geomajas/geomajas-project-graphics | graphics/src/main/java/org/geomajas/graphics/client/util/HasBounds.java | Java | apache-2.0 | 880 |
package com.xjeffrose.xio.http;
import com.google.common.collect.Maps;
import com.xjeffrose.xio.http.internal.MessageMetaState;
import io.netty.channel.ChannelHandlerContext;
import io.netty.util.AttributeKey;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
import lombok.extern.slf4j... | xjdr/xio | xio-core/src/main/java/com/xjeffrose/xio/http/Http2MessageSession.java | Java | apache-2.0 | 4,843 |
/* Generic definitions */
/* Assertions (useful to generate conditional code) */
/* Current type and class (and size, if applicable) */
/* Value methods */
/* Interfaces (keys) */
/* Interfaces (values) */
/* Abstract implementations (keys) */
/* Abstract implementations (values) */
/* Static containers (keys) */
/... | karussell/fastutil | src/it/unimi/dsi/fastutil/floats/Float2LongFunctions.java | Java | apache-2.0 | 9,394 |
package io.fluo.commoncrawl.recipes.exportq;
import java.util.Iterator;
import org.apache.commons.configuration.Configuration;
import io.fluo.api.client.TransactionBase;
import io.fluo.api.data.Bytes;
import io.fluo.api.data.Column;
import io.fluo.api.observer.AbstractObserver;
import io.fluo.commoncrawl.recipes.ser... | keith-turner/common-crawl | modules/recipes/src/main/java/io/fluo/commoncrawl/recipes/exportq/Exporter.java | Java | apache-2.0 | 2,592 |
/*
* 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 cz.zeno.miner.test;
import cosc385final.SHA2;
import cz.zeno.miner.Utils;
import java.io.IOException;
import java.io.OutputSt... | ZenoFuturista/fpga-shovel-and-pickaxe | java/test/cz/zeno/miner/test/HmacPostScryptTest.java | Java | apache-2.0 | 2,402 |
// Copyright 2017 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 in w... | EVelez79/CodeU-ProjectGroup6 | src/codeu/chat/common/BasicController.java | Java | apache-2.0 | 5,055 |
/**
* 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... | vergilchiu/hive | hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/SecureProxySupport.java | Java | apache-2.0 | 7,575 |
package com.example.yiyoudoctor.mvp;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Created by 夏夜晚凤 on 2017/3/2.
*/
public class Patient implements Parcelable {
private int imageId;
private String name;
private String orderTime;
private String age;
private String sex;
pr... | cmmdy/YiYouDoctor | app/src/main/java/com/example/yiyoudoctor/mvp/Patient.java | Java | apache-2.0 | 1,953 |
/*
* Copyright Debezium Authors.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.debezium.example.endtoend.vertx;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import org.slf4j.Logger... | debezium/debezium-examples | end-to-end-demo/debezium-vertx-demo/src/main/java/io/debezium/example/endtoend/vertx/Verticle.java | Java | apache-2.0 | 5,145 |
package org.dice.solrenhancements.jointprobability.searchcomponents;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
import org.apache.lucene.document.Document;
import org.apache.lucene.index.*;
import org.a... | DiceTechJobs/SolrPlugins | src/main/java/org/dice/solrenhancements/jointprobability/searchcomponents/NaiveBayesComponent.java | Java | apache-2.0 | 17,436 |
package com.example.weatherdemo;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.design.widget.NavigationView;
import android.support.v4.view.Gr... | KeepLSH/MyDemo | app/src/main/java/com/example/weatherdemo/WeatherActivity.java | Java | apache-2.0 | 10,710 |
package com.android.internal.os;
/*
* #%L
* Matos
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2010 - 2014 Orange SA
* %%
* 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
*
* htt... | Orange-OpenSource/matos-profiles | matos-android/src/main/java/com/android/internal/os/HandlerCaller.java | Java | apache-2.0 | 4,515 |
package me.lukawski.skvs.operations.results;
import me.lukawski.skvs.operations.OperationResult;
/**
* Created by EvilRIS on 18.11.2016.
*/
public class InformationOperationResult implements OperationResult {
private final String returnValue;
private String returnMessage;
public InformationOperationR... | evilris/Simple-Key-Value-Store | src/main/java/me/lukawski/skvs/operations/results/InformationOperationResult.java | Java | apache-2.0 | 623 |
/*
* Copyright 2010 Ian Hilt
*
* 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 w... | ihilt/echarts | src/main/java/org/eastway/echarts/client/request/ProductivityProxy.java | Java | apache-2.0 | 2,002 |
/*
* 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-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/EnableRuleResult.java | Java | apache-2.0 | 2,309 |
package com.mvp;
import android.app.Application;
import com.mvp.annotation.ProvidesComponent;
import com.mvp.annotation.ProvidesModule;
public class BaseApplicationProvider extends Application {
private ModuleEventBus moduleEventBus;
private ComponentEventBus componentEventBus;
@ProvidesModule
publ... | aschattney/annotated-mvp | app/src/main/java/com/mvp/BaseApplicationProvider.java | Java | apache-2.0 | 961 |
/*
* Copyright 2000-2013 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... | submain/intellij-haxe | testSrc/com/intellij/plugins/haxe/lang/parser/statements/WhileTest.java | Java | apache-2.0 | 966 |
/**
*
*/
package de.quaddy_services.ptc;
import java.awt.Rectangle;
import java.awt.Toolkit;
import java.util.Properties;
import java.util.StringTokenizer;
import de.quaddy_services.ptc.preferences.DontSumChar;
import de.quaddy_services.ptc.preferences.DontSumCharList;
import de.quaddy_services.ptc.preferences.Pref... | quaddy-services/projekt-task-capturing | src/main/java/de/quaddy_services/ptc/MainModel.java | Java | apache-2.0 | 6,295 |
/*
* 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 ... | julianhyde/calcite | core/src/main/java/org/apache/calcite/rel/core/Intersect.java | Java | apache-2.0 | 2,084 |
package com.power.qingjia.entity;
import java.math.BigDecimal;
import java.util.Date;
public class QingJiaSpVO {
private Integer id;
private Integer qjid;
private String sprid;
private String status;
private String spjg;
private Date spsj;
private String spbz;
private Integer szjd... | zhang-li-mark/psas | src/main/java/com/power/qingjia/entity/QingJiaSpVO.java | Java | apache-2.0 | 2,528 |
/*
* 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-ec2/src/main/java/com/amazonaws/services/ec2/model/AttachInternetGatewayRequest.java | Java | apache-2.0 | 5,434 |
package org.jenkinsci.plugins.ansible.jobdsl;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import static org.hamcrest.Matchers.hasItem;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import java.lang.annotation.R... | jenkinsci/ansible-plugin | src/test/java/org/jenkinsci/plugins/ansible/jobdsl/DslJobRule.java | Java | apache-2.0 | 2,662 |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
/**
* Required for export of {@link org.apache.zookeeper.client.ZKClientConfig} (which inherits from {@link org.apache.zookeeper.common.ZKConfig}).
*
* @author bjorncs
*/
@ExportPackage
package org.apache.zookee... | vespa-engine/vespa | zkfacade/src/main/java/org/apache/zookeeper/server/quorum/package-info.java | Java | apache-2.0 | 387 |
/*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 - 2017 GwtMaterialDesign
* %%
* 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
* ... | GwtMaterialDesign/gwt-material-addins | src/main/java/gwt/material/design/addins/client/avatar/js/JsAvatar.java | Java | apache-2.0 | 1,363 |
package com.hmsonline.virgil.pool;
import java.util.NoSuchElementException;
import java.util.concurrent.ConcurrentLinkedQueue;
import org.apache.thrift.transport.TTransportException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.hmsonline.virgil.config.VirgilConfiguration;
public class Connect... | hmsonline/cassandra-rest | src/main/java/com/hmsonline/virgil/pool/ConnectionPool.java | Java | apache-2.0 | 3,519 |
package com.myfeetr.feetr.model;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;
import com.activeandroid.query.Select;
import com.myfeetr.feetr.util.Utils;
@Table(name="My... | pistatium/houkago_app | server_appengine/app/forms/test.java | Java | apache-2.0 | 6,435 |
/*
* 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 ... | virtualdataset/metagen-java | virtdata-lib-curves4/src/main/java/org/apache/commons/math4/random/SobolSequenceGenerator.java | Java | apache-2.0 | 12,001 |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | pefernan/jbpm-console-ng | jbpm-wb-case-mgmt/jbpm-wb-case-mgmt-backend/src/main/java/org/jbpm/workbench/cm/backend/server/CaseActionAdHocMapper.java | Java | apache-2.0 | 1,493 |
package cz.atlascon.travny.records;
/**
*
*/
public interface IdRecord<REC extends Record> extends Record {
Class<REC> referencedClass();
/**
* Uses ReferenceSupport static content to retrieve object by this ID
*
* @return
*/
default REC get() {
return ReferenceSupport.get(t... | atlascon/travny | travny/src/main/java/cz/atlascon/travny/records/IdRecord.java | Java | apache-2.0 | 336 |
/*
* Copyright 2010 Jon S Akhtar (Sylvanaar)
*
* 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... | consulo/consulo-lua | src/main/java/com/sylvanaar/idea/Lua/lang/psi/LuaPsiKeyword.java | Java | apache-2.0 | 821 |
package org.wikiup.servlet.impl.processor;
import org.wikiup.core.inf.ext.Resource;
import org.wikiup.core.util.FileUtil;
import org.wikiup.core.util.Interfaces;
import org.wikiup.servlet.ServletProcessorContext;
import org.wikiup.servlet.inf.ServletProcessor;
import org.wikiup.servlet.util.ServletUtil;
publ... | smantinc/wikiup | framework/src/org/wikiup/servlet/impl/processor/WikiupServletProcessor.java | Java | apache-2.0 | 793 |
package transgenic.lauterbrunnen.lateral.domain;
/**
* Created by stumeikle on 13/05/16.
*/
import com.fasterxml.uuid.Generators;
import com.fasterxml.uuid.NoArgGenerator;
import java.io.Serializable;
import java.nio.ByteBuffer;
import java.util.Arrays;
import java.util.UUID;
/**
* Created by Stuart.meikle on 11... | stumeikle/lateral | core/src/main/java/transgenic/lauterbrunnen/lateral/domain/UniqueId.java | Java | apache-2.0 | 3,796 |
package com.thesecretserver.service;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous... | ukwa/w3act | app/com/thesecretserver/service/ImportXMLResponse.java | Java | apache-2.0 | 1,685 |
package epcc.ed.ac.uk.gcrf_rear.data;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import android.preference.PreferenceManager;
import android.util.Log;
import java.io.File;
import java.t... | akrause2014/gcrf-REAR | app/src/main/java/epcc/ed/ac/uk/gcrf_rear/data/AlarmReceiver.java | Java | apache-2.0 | 7,790 |
package com.andreyaleev.metrosong.fragments;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffColorFilter;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Log... | acinonyxjubatus/MetroSong | app/src/main/java/com/andreyaleev/metrosong/fragments/MetronomeFragment.java | Java | apache-2.0 | 9,907 |
/*
* 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/CreateDBProxyRequestMarshaller.java | Java | apache-2.0 | 7,163 |
/*
* Copyright 2016-2018 shardingsphere.io.
* <p>
* 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... | dangdangdotcom/sharding-jdbc | sharding-jdbc/sharding-jdbc-core/src/main/java/io/shardingsphere/shardingjdbc/jdbc/adapter/AbstractShardingPreparedStatementAdapter.java | Java | apache-2.0 | 9,046 |
/*******************************************************************************
* Copyright (c) 2000, 2015 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | termsuite/termsuite-ui | bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/legacy/Policy.java | Java | apache-2.0 | 901 |
/*
* EventuallyFreed.java --
*
* This class makes sure that certain objects
* aren't disposed when there are nested procedures that
* depend on their existence.
*
* Copyright (c) 1991-1994 The Regents of the University of California.
* Copyright (c) 1994-1998 Sun Microsystems, Inc.
* Copyright (c) 20... | yunxao/JN-Sim | Simulador/src/tcl/lang/EventuallyFreed.java | Java | apache-2.0 | 3,234 |
/*
* 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-iam/src/main/java/com/amazonaws/services/identitymanagement/model/UpdateAccountPasswordPolicyResult.java | Java | apache-2.0 | 2,427 |
/**
*
*/
package net.jawr.resource.generator;
import java.io.Reader;
import java.io.StringReader;
import net.jawr.web.resource.bundle.generator.AbstractJavascriptGenerator;
import net.jawr.web.resource.bundle.generator.GeneratorContext;
import net.jawr.web.resource.bundle.generator.resolver.PrefixedPathResolver;
i... | diorcety/jawr | jawr-integration-test/src/main/java/net/jawr/resource/generator/SampleJsGenerator.java | Java | apache-2.0 | 1,041 |
package com.coolweather.app.activity;
import java.util.ArrayList;
import java.util.List;
import com.coolweather.app.db.CoolWeatherDB;
import com.coolweather.app.model.City;
import com.coolweather.app.model.County;
import com.coolweather.app.model.Province;
import com.coolweather.app.util.HttpCallbackListener;
import ... | beagreatman/coolweather | src/com/coolweather/app/activity/ChooseAreaActivity.java | Java | apache-2.0 | 6,884 |
/*
* 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... | nkasvosve/beyondj | apache-jsp/src/main/java/org/apache/el/parser/AstMod.java | Java | apache-2.0 | 1,469 |
package gudusoft.gsqlparser.sql2xml.model;
public class window_definition
{
}
| sqlparser/sql2xml | sql2xml/src/gudusoft/gsqlparser/sql2xml/model/window_definition.java | Java | apache-2.0 | 81 |
package com.jetbrains.edu.coursecreator.actions;
import com.intellij.ide.projectView.ProjectView;
import com.intellij.openapi.command.undo.BasicUndoableAction;
import com.intellij.openapi.command.undo.UnexpectedUndoException;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.vfs.VirtualFile;
imp... | youdonghai/intellij-community | python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/CCAddAsTaskFile.java | Java | apache-2.0 | 2,508 |
/**
* Copyright (C) 2014 JBoss 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... | porcelli-forks/dashbuilder | dashbuilder-backend/dashbuilder-dataset-core/src/test/java/org/dashbuilder/dataset/DataSetGroupTest.java | Java | apache-2.0 | 18,282 |
/*
* 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-server/src/main/java/org/apache/ambari/server/topology/ClusterTopologyImpl.java | Java | apache-2.0 | 16,462 |
/**
* Copyright 2015 PayPal
*
* 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... | yufeldman/myriad | myriad-scheduler/src/main/java/com/ebay/myriad/scheduler/MyriadOperations.java | Java | apache-2.0 | 5,637 |
package alraune.back;
import org.jetbrains.annotations.NotNull;
interface AlUserState_GeneratedBase extends Titled {
interface Cases<T> {
T Unknown();
T Cool();
T WaitsApproval();
T ProfileRejected();
T Banned();
}
default <T> T when(Cases<T> cases) {
a... | vovagrechka/fucking-everything | attic/alraune/alraune-back-java-0/gen/alraune/back/AlUserState_GeneratedBase.java | Java | apache-2.0 | 2,455 |
package com.example.beer;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import java.util.Collection;
import java.util.stream.Collectors;
@RestContr... | IVedmak/MarketingApp | server/src/main/java/com/example/beer/BeerController.java | Java | apache-2.0 | 1,064 |
/**
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | mobilist/RxJava | rxjava/src/main/java/rx/Subscriber.java | Java | apache-2.0 | 5,227 |
package org.gradle.test.performance.mediummonolithicjavaproject.p441;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test8832 {
Production8832 objectUnderTest = new Production8832();
@Test
public void testProperty0() {
String value = "value";
objectUnderTest.... | oehme/analysing-gradle-performance | my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p441/Test8832.java | Java | apache-2.0 | 2,111 |
package net.sourceforge.opensvgviewer;
import java.awt.*;
public class GRect extends Rect implements Drawable {
public GRect () {}
public void draw (Graphics g, Scene scene) {
scene.computeXY( pxy, xy, 2);
scale = scene.getScale();
w = (int)(width * scale);
h = (int)(height * scale);
if (isFilled_v)... | haroldo-ok/really-old-stuff | other/Svg2Lrv/src/net/sourceforge/opensvgviewer/GRect.java | Java | apache-2.0 | 559 |
package io.scalecube.services.methods;
import io.scalecube.services.auth.Authenticator;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
public class StubServiceImpl implements StubService {
@Override
public Mono<String> returnNull() {
return null;
}
@Override
public Flux<String... | scalecube/scalecube | services-api/src/test/java/io/scalecube/services/methods/StubServiceImpl.java | Java | apache-2.0 | 1,025 |
/*
* Copyright 2013 Andrew Okin
*
* 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 ... | Forkk/AutoCron | AutoCron/src/main/java/net/forkk/autocron/data/CustomRuleService.java | Java | apache-2.0 | 10,134 |
package com.fishercoder;
import com.fishercoder.solutions._1370;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class _1370Test {
private static _1370.Solution1 solution1;
@BeforeClass
public static void setup() {
solution1 = new _1370.So... | fishercoder1534/Leetcode | src/test/java/com/fishercoder/_1370Test.java | Java | apache-2.0 | 880 |
/*
* Copyright 2015-2016 OpenCB
*
* 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 ... | javild/opencga | opencga-app/src/test/java/org/opencb/opencga/analysis/storage/PlatinumFileIndexerTest.java | Java | apache-2.0 | 8,479 |
package net.cgt.weixin.utils;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.regex.Matcher;
i... | 54cgt/weixin | 微信/src/net/cgt/weixin/utils/AppUtil.java | Java | apache-2.0 | 15,847 |
package dcraft.web.ui;
import java.lang.ref.WeakReference;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.regex.Pattern;
import dcraft.cms.feed.core.FeedAdapter;
import dcraft.cms.feed.core.FeedPartMatchResult;
import dcraft.hub.Hub;
import dcraft.lang.op.FuncCallback;
im... | Gadreel/dcraft | dcraft.core/src/main/java/dcraft/web/ui/UIUtil.java | Java | apache-2.0 | 10,202 |
/*
* 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-ec2/src/main/java/com/amazonaws/services/ec2/model/VpcAttributeName.java | Java | apache-2.0 | 1,825 |
/* 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... | balsarori/Actangular | actangular-rest/src/main/java/org/actangular/rest/service/api/repository/DeploymentCollectionResource.java | Java | apache-2.0 | 3,907 |
package io.github.greyp9.arwo.core.lang.test;
import io.github.greyp9.arwo.core.charset.UTF8Codec;
import io.github.greyp9.arwo.core.hash.text.FingerPrint;
import io.github.greyp9.arwo.core.vm.props.SysPropsU;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
import java.util.Collections;
im... | greyp9/arwo | src/test/core/java/io/github/greyp9/arwo/core/lang/test/SysPropsTest.java | Java | apache-2.0 | 755 |
/*
* Copyright 2015 Brent Douglas and other contributors
* as indicated by the @authors tag. 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.or... | BrentDouglas/then | core/src/main/java/io/machinecode/then/core/RunnableDeferred.java | Java | apache-2.0 | 1,652 |
package org.epnoi.api.model.resources;
import lombok.Data;
/**
* Created by cbadenes on 22/01/16.
*/
@Data
public class PartI {
String sense;
String content;
String tokens;
}
| oeg-upm/epnoi | api/src/main/java/org/epnoi/api/model/resources/PartI.java | Java | apache-2.0 | 194 |
/*
* #%L
* OW2 Chameleon - Fuchsia Framework
* %%
* Copyright (C) 2009 - 2014 OW2 Chameleon
* %%
* 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/licens... | ow2-chameleon/fuchsia | bases/knx/calimero/src/main/java/tuwien/auto/calimero/mgmt/Destination.java | Java | apache-2.0 | 14,813 |