text stringlengths 7 995k |
|---|
package com.libre.core.function;
import org.springframework.lang.Nullable;
import java.io.Serializable;
/**
* 受检的 Callable
*
* @author zhao.cheng
*/
@FunctionalInterface
public interface CheckedCallable<T> extends Serializable {
/**
* Run this callable.
*
* @return result
* @throws Throwable CheckedExce... |
package com.sap.gtt.v2.sample.pof.exception;
import com.sap.gtt.v2.sample.pof.utils.POFUtils;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import java.util.ArrayList;
import java.util... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2007, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishing to use... |
/*
* Copyright (C) 2016-2022 Objectos Software LTDA.
*
* 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 ... |
package com.quemb.mmitodoapp.util;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import com.quemb.mmitodoapp.application.ApplicationController;
import com.quemb.mmitodoapp.model.Session;
import com.quemb.mmitodoapp.model.ToDo;
import java.util.... |
/*
* 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 ... |
package org.jgroups.blocks;
import org.jgroups.*;
import org.jgroups.protocols.DROP;
import org.jgroups.protocols.pbcast.GMS;
import org.jgroups.protocols.relay.SiteUUID;
import org.jgroups.stack.Protocol;
import org.jgroups.util.ByteArray;
import org.jgroups.util.RspList;
import org.jgroups.util.UUID;
import org.jgro... |
/*
* Copyright (c) 2013-2016 University of Maryland
* Created by: Xi Yang 2014
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and/or hardware specification (the “Work”) to deal in the
* Work without restriction, including without limitation the rights to use,
... |
package alessandro.datasecurity.utils;
import com.google.common.base.Splitter;
import com.google.common.collect.Iterables;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.support.annotation.NonNull;
import java.io.ByteArrayOutputStream;
import java.nio.charset.Charset;
import ja... |
package jforgame.server.game.database.config.storage;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
import java.util.stream.Collectors;
import jforgame.server.db.DbUtils;
import jforgame.server.game.database.config.Reloadable;
... |
package com.daasuu.camerarecorder;
import android.annotation.SuppressLint;
import android.graphics.Rect;
import android.graphics.SurfaceTexture;
import android.hardware.camera2.CameraAccessException;
import android.hardware.camera2.CameraCaptureSession;
import android.hardware.camera2.CameraCharacteristics;
import and... |
/*
* 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 u... |
package com.huawei.apm.core.agent.interceptor;
import com.huawei.apm.core.agent.common.BeforeResult;
import java.lang.reflect.Method;
/**
* 实例方法拦截器接口
*/
public interface InstanceMethodInterceptor extends Interceptor {
/**
* 前置方法
*
* @param obj 增强实例
* @param method 原方法
*... |
package com.lhx.springcloud.security.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
import org.springframework.secu... |
package org.apache.poi.sl.usermodel;
import org.apache.poi.sl.usermodel.Slide;
public interface Hyperlink extends org.apache.poi.common.usermodel.Hyperlink {
void linkToEmail(String var1);
void linkToUrl(String var1);
void linkToSlide(Slide var1);
void linkToNextSlide();
void linkToPreviousSlide()... |
package view;
import element.Man;
import javax.swing.*;
public class ScrollEnemyLookPanel extends JScrollPane implements Runnable {
private EnemyLookPanel enemyLookPanel;
private MyFrame myFrame;
public ScrollEnemyLookPanel(EnemyLookPanel enemyLookPanel, MyFrame myFrame) {
this.myFrame = myFrame... |
package cc.mrbird.febs.common.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author MrBird
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Control... |
/**
* 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... |
package com.atomic.android.services;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.auth.FirebaseUser;
import java.io.IOException;
import okhttp3.Interceptor;
import okhttp3.Request;
import okhttp3.Response;
public class FirebaseUserIdTokenInterceptor implements Interceptor {
// Cust... |
/*
* Copyright (c) 2008-2017, 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 ... |
package com.android.xjay.calendarview;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an A... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package com.jakewharton.rxbinding.view;
import android.view.View;
import com.jakewharton.rxbinding.internal.MainThreadSubscription;
// Referenced classes... |
/*
*************************************************************************
* The contents of this file are subject to the Openbravo Public License
* Version 1.1 (the "License"), being the Mozilla Public License
* Version 1.1 with a permitted attribution clause; you may not use this
* file except in... |
package org.test.web;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
public class ConfProperties {
protected static FileInputStream fileInputStream;
protected static Properties PROPERTIES;
static {
try{
fileInputStream = new FileInputStream("src/test/resource... |
package work.toolset.code.jvm.web.minapp.exception;
import work.toolset.code.jvm.web.minapp.Global;
import work.toolset.code.jvm.web.minapp.model.ErrorResp;
import okhttp3.ResponseBody;
import retrofit2.Response;
import java.nio.charset.StandardCharsets;
public class HttpException extends Exception {
private f... |
package org.basex.util.ft;
import static org.basex.util.Token.*;
import java.io.*;
import org.basex.io.*;
import org.basex.util.*;
import org.basex.util.hash.*;
/**
* Simple stemming directory for full-text requests.
*
* @author BaseX Team 2005-20, BSD License
* @author Christian Gruen
*/
public final class St... |
package basic.q6.simple;
import java.io.DataInputStream;
import java.net.ServerSocket;
import java.net.Socket;
/**
* 服务器端
*
* @author samin
* @date 2021-01-10
*/
public class Server {
public static void main(String[] args) throws Exception {
Server.simpleServerRun();
}
public static void si... |
/**
* Copyright 2017-2019 The GreyCat Authors. All rights reserved.
* <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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Un... |
package eu.nsrsdk.v3java;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import org.json.JSONObject;
public class NSRDelayedPush extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
try {
NSR.getInstance(context)... |
/*
* Copyright 2016 The Apache Software 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 applica... |
package com.example.wukai.wukaiweather;
import android.app.Fragment;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.annotation.RequiresApi;
... |
package semsim.writing;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.HashSet;
import semsim.fileaccessors.FileAccessorFactory;
import semsim.fileaccessors.ModelAccessor;
import semsim.model.collection.SemSimModel;
impor... |
package net.telepathicgrunt.bumblezone.blocks;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import javax.annotation.Nullable;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.entity.Entity;
import net.minecraft.entity.Liv... |
package com.google.android.gms.ads.internal;
import android.os.Debug;
import com.google.android.gms.internal.ads.zzakb;
import com.google.android.gms.internal.ads.zzkb;
import com.google.android.gms.internal.ads.zznk;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.CountDownLatch;
fina... |
/*
* Copyright 2017 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 agreed to ... |
package com.site.blog.model.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import java.sql.Timestamp;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.ex... |
// Copyright 2017 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 ... |
package graphql.language;
import graphql.PublicApi;
/**
* An interface for type definitions in a Schema Definition Language (SDL).
*
* @param <T> the actual Node type
*/
@PublicApi
public interface TypeDefinition<T extends TypeDefinition> extends SDLNamedDefinition<T>, DirectivesContainer<T>, NamedNode<T> {
} |
package com.chris.question.user.dto;
import lombok.Data;
import java.io.Serializable;
import java.sql.Timestamp;
@Data
public class GradeDto implements Serializable {
private static final long serialVersionUID = 1L;
private Long id;
private String name;
private String content;
private SchoolDt... |
/*
* Copyright 2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.xxl.job.core.thread;
import java.io.File;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.concurrent.TimeUnit;
import com.xxl.job.core.log.XxlJobFileAppender;
import com.xxl.job.core.util.FileUtil;
import org.slf4j.Log... |
package org.batfish.datamodel;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonNode;
import com.github.benmanes.caffeine.cache.Caffeine;
import com.github.benmanes.ca... |
/*
* 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 ... |
/*
* Copyright © 2014 Cask Data, 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... |
/*package com.tterrag.blur.config;
import javax.annotation.Nonnull;
import me.ionar.salhack.SalHackMod;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.resources.I18n;
import net.minecraftforge.common.config.ConfigElement;
import net.minecraftfo... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distr... |
package com.cray.software.passwords.tasks;
import android.content.Context;
import android.os.AsyncTask;
import android.os.Environment;
import com.cray.software.passwords.cloud.Dropbox;
import com.cray.software.passwords.cloud.Google;
import com.cray.software.passwords.helpers.DataProvider;
import com.cray.software.pa... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2017-2018 Yegor Bugayenko
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
... |
/*
* 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 u... |
/*
* Copyright 2015, Yahoo Inc.
* Licensed under the Apache License, Version 2.0
* See LICENSE file in project root for terms.
*/
package com.yahoo.elide.core;
import com.yahoo.elide.annotation.ComputedAttribute;
import com.yahoo.elide.annotation.ComputedRelationship;
import com.yahoo.elide.annotation.Exclude;
imp... |
/*
* 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 ... |
package org.apereo.cas.configuration.model.support.ignite;
import org.apereo.cas.configuration.model.core.util.EncryptionRandomizedSigningJwtCryptographyProperties;
import org.apereo.cas.configuration.support.Beans;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import java.io.Seriali... |
package com.mst.prim;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.util.Arrays;
import java.util.List;
import javax.swing.JComponent;
public class MinimumSpanning... |
package easy.array;
class NumberOfGoodPairs_1512 {
public int numIdenticalPairs(int[] nums) {
int[] count = new int[101];
int result = 0;
for(int num : nums) {
if(count[num] > 0)
result += count[num];
count[num]++;
}
return result;
}
} |
package net.ucanaccess.test.util;
import java.util.Arrays;
import java.util.List;
import org.junit.runners.Parameterized;
public abstract class AccessVersionAllTest extends UcanaccessTestBase {
private static final List<Object[]> VERSIONS = Arrays.asList(
new Object[] { AccessVersion.V2000 },
... |
package com.lnpdit.policealarm.entity;
public class UserEntity {
private String username;
private String password;
private String brith;
private String sex;
private String nickname;
private String headpic;
private String phonenum;
public String getUsername() {
return username;
... |
package uk.gov.hmcts.reform.wataskmanagementapi.exceptions.v2;
import org.zalando.problem.AbstractThrowableProblem;
import uk.gov.hmcts.reform.wataskmanagementapi.exceptions.v2.enums.ErrorMessages;
import java.net.URI;
import static org.zalando.problem.Status.NOT_FOUND;
@SuppressWarnings("java:S110")
public class T... |
package net.gini.android.models;
import static net.gini.android.helpers.ParcelHelper.doRoundTrip;
import static org.junit.Assert.assertEquals;
import androidx.test.filters.SmallTest;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.util.Array... |
/**
* 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... |
package io.zephyr.kernel.launch.validations;
import static io.zephyr.kernel.core.ValidationErrors.empty;
import io.zephyr.kernel.core.Validatable;
import io.zephyr.kernel.core.ValidationErrors;
import io.zephyr.kernel.launch.KernelOptions;
import java.util.logging.Level;
public class SystemPropertyFileValidationStep... |
package com.bugsnag.mazerunner.scenarios;
import com.bugsnag.Bugsnag;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.MDC;
/**
* Sends an exception to Bugsnag with MDC meta data using the logback appender
*/
public class LogbackMDCScenario extends Scenario {
private static final Logg... |
/*
* Copyright (c) 2015 FUJI Goro (gfx).
*
* 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... |
/*
* MIT License
*
* Copyright (c) 2017 N Abhishek (aka Kodatos)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to us... |
package com.answer.contest.mapper;
import com.answer.contest.entity.User;
import tk.mybatis.mapper.common.Mapper;
public interface UserMapper extends Mapper<User> {
} |
package com.kedou.factorytest.system;
import android.app.ActivityManager;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotatio... |
/*
* 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... |
package fail.mercury.client.client.modules.movement;
import fail.mercury.client.Mercury;
import fail.mercury.client.api.module.Module;
import fail.mercury.client.api.module.annotations.ModuleManifest;
import fail.mercury.client.api.module.category.Category;
import fail.mercury.client.api.util.EntityUtil;
import fail.m... |
package com.psygate.minecraft.spigot.gauntlet.connection.packets.wrappers.v1_8_R3;
//Gauntlet generated interface class.
public interface IPacketStatusInPingWrapper extends com.psygate.minecraft.spigot.gauntlet.connection.packets.IPacketWrapper {
long getA();
void setA(long param);
} |
package geym.zbase.ch6.hold;
import java.util.Map;
import java.util.WeakHashMap;
/**
*
-Djava.rmi.server.hostname=127.0.0.1
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8888
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
* @author Administrator
*
*... |
package org.lnu.is.web.rest.processor.resolver.order;
import org.lnu.is.pagination.OrderBy;
import java.util.List;
/**
* Interface, that declares methods for resolving order by fields
* for multiple get requests.
* @author ivanursul
*
*/
public interface OrderByFieldResolver {
/**
* Method, that takes order... |
/*
* Copyright 2015-2020 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... |
package com.personnel.service;
import com.personnel.core.base.BaseMapper;
import com.personnel.core.base.BaseService;
import com.personnel.core.base.MybatisBaseMapper;
import com.personnel.domain.output.ActionOutput;
import com.personnel.mapper.jpa.ActionRepository;
import com.personnel.mapper.mybatis.ActionMapper;
im... |
/*
* Copyright 2021 DeathsGun
*
* 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... |
/*
* 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 ... |
/*
* Copyright (c) 2022 AccelByte Inc. All Rights Reserved
* This is licensed software from AccelByte Inc, for limitations
* and restrictions contact your company contract manager.
*
* Code generated. DO NOT EDIT.
*/
package net.accelbyte.sdk.api.achievement.operations.achievements;
import com.fasterxml.jackson... |
package org.ink.aop.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* used in class level
* @see org.ink.aop.ProxyManager
* @author zhuyichen
*/
@Target({ElementType.TYPE})
@Retention(... |
package in.curium.gtmmytestapp;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void add... |
package term1.lesson11;
import java.util.Scanner;
/**
* Lesson 11 Coding Activity 2
* Test if a decimal value input from the keyboard is equal to 48.729.
* If it is, print "YES" (without the quotes).
*/
@SuppressWarnings("ALL")
class Lesson_11_Activity_2 {
public static void main(String[] args) {
try ... |
/*
* This file is part of TicTaaC.
*
* 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 ... |
package com.testwithspring.master.task;
import com.testwithspring.master.common.NotFoundException;
import com.testwithspring.master.user.LoggedInUser;
import com.testwithspring.master.user.PersonDTO;
import com.testwithspring.master.user.PersonFinder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org... |
/*
* Copyright (c) 2022 Airbyte, Inc., all rights reserved.
*/
package io.airbyte.oauth.flows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.when;
import com.fasterxml.jackson.databind.JsonNode;
import com.google.common.collect.ImmutableMap;
import io.airbyte.commons.... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int h1, h2,d;
System.out.println("infome a hora inicial do jogo");
h1 = sc.nextInt();
System.out.println("Infome a hora final do jogo");
h... |
import controllers.GameController;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import play.Application;
import play.inject.guice.GuiceApplicationBuilder;
import play.mvc.Result;
import play.test.Helpers;
import services.Game;
import services.GamePlay;
import utils.Constants;
import static o... |
package org.ovirt.engine.core.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import org.ovirt.engine.core.common.businessentities.CpuStatistics;
import org.ovirt.engine.core.compat.Guid;
import org.springframework.jdbc.core.RowMapper;
import org.spring... |
/**
* Copyright (c) 2011-2017, SpaceToad and the BuildCraft Team
* http://www.mod-buildcraft.com
* <p/>
* BuildCraft is distributed under the terms of the Minecraft Mod Public
* License 1.0, or MMPL. Please check the contents of the license located in
* http://www.mod-buildcraft.com/MMPL-1.0.txt
*/
package build... |
/* Copyright 2018 Telstra Open Source
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... |
/*
* Copyright (C) 2014-2021 Philip Helger (www.helger.com)
* philip[at]helger[dot]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/LICEN... |
/*
* 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... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
package net.rfs.smartadmin.util;
import net.rfs.smartadmin.module.system.login.domain.RequestTokenBO;
import org.springframework.web.context.request.RequestAttributes;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
import j... |
package com.tangem.commands;
import java.lang.System;
@kotlin.Metadata(mv = {1, 4, 0}, bv = {1, 0, 3}, k = 1, d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010#\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u0001B\u00... |
package com.netifi.consul.v1;
import io.netty.handler.codec.http.HttpResponseStatus;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
imp... |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
import com.example.Bar;
import java.util.logging.Logger;
public class Foo extends Bar {static Logger a = Logger.getLogger(Foo.class.getName()); static Logger b = Logger.getLogger(Foo.class.getName());} |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://w... |
package com.visionworks.mealstogo;
import android.app.Application;
import android.content.Context;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import... |
/*
*
* This file was generated by LLRP Code Generator
* see http://llrp-toolkit.cvs.sourceforge.net/llrp-toolkit/
* for more information
* Generated on: Sun Apr 08 14:14:12 EDT 2012;
*
*/
/*
* Copyright 2007 ETH Zurich
*
* Licensed under the Apache License, Version 2.0 (the "License");
*
* you may not use ... |
//////////////////////////////////////////////////////////////////////
// //
// jcspDemos Demonstrations of the JCSP ("CSP for Java") Library //
// Copyright (C) 1996-2018 Peter Welch, Paul Austin and Neil Brown //
// 2001-2004 Quicksto... |
package edu.northwestern.bioinformatics.studycalendar.restlets;
import edu.northwestern.bioinformatics.studycalendar.domain.*;
import edu.northwestern.bioinformatics.studycalendar.service.SubjectService;
import edu.northwestern.bioinformatics.studycalendar.service.TemplateService;
import edu.northwestern.bioinformatic... |
/**
* Copyright (c) Vogler Engineering GmbH. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license information.
*/
package de.vogler_engineering.smartdevicesapp.common;
import org.junit.Assert;
import org.junit.Test;
import org.junit.experimental.categories.Category... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.