text stringlengths 7 995k |
|---|
package ai.residences.dominion;
import org.napile.primitive.maps.IntObjectMap;
import org.napile.primitive.maps.impl.HashIntObjectMap;
import ai.residences.SiegeGuardFighter;
import l2f.commons.configuration.Config;
import l2f.gameserver.instancemanager.QuestManager;
import l2f.gameserver.listener.actor.player.OnPlay... |
/*
* Copyright 2000-2017 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... |
/*
* Copyright (C) 2017-2019 Dremio Corporation
*
* 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... |
package io.swagger.sample;
import io.swagger.jaxrs.config.SwaggerContextService;
import io.swagger.models.Contact;
import io.swagger.models.ExternalDocs;
import io.swagger.models.Info;
import io.swagger.models.License;
import io.swagger.models.Swagger;
import io.swagger.models.Tag;
import io.swagger.models.auth.OAuth2... |
package me.uniodex.skywars.utils.packages.pool.properties;
import com.zaxxer.hikari.HikariConfig;
public class PropertyRegisterMbeans implements HikariProperty {
private final boolean value;
public PropertyRegisterMbeans(boolean value) {
this.value = value;
}
@Override
public void apply... |
package one.jodi.etl.internalmodel;
public interface ReferenceAttribute {
public String getFKColumnName();
public String getPKColumnName();
} |
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition... |
/* Worldz: A World-Exploring Game
Copyright (C) 2008-2010 Eric Ahnell
Any questions should be directed to the author via email at: worldz@worldwizard.net
*/
package net.worldwizard.worldz.objects;
import net.worldwizard.worldz.generic.GenericPort;
public class HPort extends GenericPort {
// Constructors
pu... |
//package org.leibnizcenter.util;
//
//import java.util.regex.Pattern;
//
///**
// * Created by maarten on 28-1-16.
// */
//public enum FeaturesForTokens {
// // describes a number (a sequence of digits, or a roman numeral)
// NUM((s, i) -> toDouble(Regex.NUM.matcher(s.get(i)).find())),
//
// PUNCT((s, i) -... |
package com.example;
public class months {
public int start;
public int end;
public void setStart(int s) {
this.start = s;
}
public void setEnd(int e) {
this.end = e;
}
public int getStart() {
return this.start;
}
public int getEnd() {
return this.end;
}
} |
/*
* 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 ... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... |
package com.example.DemoGraphQL.service;
import com.example.DemoGraphQL.model.Skill;
import com.example.DemoGraphQL.repository.SkillRepository;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Optional;
import java.util.Random;
@Service
public class SkillService {
private f... |
/*
* This program is part of Autonomiccs "autonomic-platform",
* an open source autonomic cloud computing management platform.
* Copyright (C) 2016 Autonomiccs, Inc.
*
* Licensed to the Autonomiccs, Inc. under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for add... |
//
// Decompiled by Procyon v0.5.36
//
package groovy.swing.binding;
import org.codehaus.groovy.runtime.callsite.CallSiteArray;
import org.codehaus.groovy.runtime.ScriptBytecodeAdapter;
import groovy.lang.MetaClass;
import org.codehaus.groovy.runtime.callsite.CallSite;
import groovy.lang.Reference;
import java.lang... |
/*
* Copyright 2013-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package com.amazonaws.services.kinesis.connectors.dynamodb;
import java.util.Map;
import com.amazonaws.services.dynamodbv2.model.AttributeValue;
import com.amazonaws.services.kinesis.connector... |
package com.jldt.phantom.auth.exception;
import com.jldt.phantom.common.api.CommonResult;
import org.springframework.security.oauth2.common.exceptions.OAuth2Exception;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springfram... |
package org.innovateuk.ifs.invite.builder;
import org.innovateuk.ifs.invite.resource.RejectionReasonResource;
import org.junit.Test;
import java.util.List;
import static java.lang.Boolean.FALSE;
import static java.lang.Boolean.TRUE;
import static org.innovateuk.ifs.invite.builder.RejectionReasonResourceBuilder.newRe... |
package club.argon.gamesboat.storage;
import club.argon.gamesboat.player.Player;
import co.m1ke.basic.logger.Logger;
public abstract class Storage {
public abstract Player getPlayer(String id);
public Logger getLogger() {
return new Logger("Storage");
}
} |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* 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 use, cop... |
/*
* Copyright (C) 2015 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... |
// Copyright (c) 2019, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.graph;
import static org.junit.Assert.assertTrue;
import static org.objectwe... |
package com.education.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
import com.education.entity.SpecialtyInfo;
import com.education.mapper.SpecialtyInfoMa... |
/*
* The MIT License
*
* Copyright (c) 2017 aoju.org All rights reserved.
*
* 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... |
package com.alibaba.alink.operator.stream.onlinelearning;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.alibaba.alink.common.io.directreader.DataBridge;
import com.alibaba.alink.common.io.directreader.DirectReader;
import com.alibaba.alink.common.utils.D... |
/**
* Copyright (c) 2010 Perforce Software. All rights reserved.
*/
package com.perforce.team.ui.mergequest.figures.theme;
import com.perforce.team.ui.mergequest.figures.IOutlineFigure;
import org.eclipse.draw2d.IFigure;
import org.eclipse.jface.util.IPropertyChangeListener;
import org.eclipse.swt.graphics.Color;
... |
package com.doge.client.module.modules.combat;
import com.doge.api.setting.settings.BooleanSetting;
import com.doge.api.setting.settings.NumberSetting;
import com.doge.api.util.ClientMessage;
import com.doge.client.module.Category;
import com.doge.client.module.Module;
import net.minecraft.block.*;
import net.minecraf... |
package com.yonyou.etl.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimen... |
package io.vertx.up.uca.rs.announce;
import io.reactivex.Observable;
import io.vertx.up.atom.Rule;
import io.vertx.up.exception.WebException;
import io.vertx.up.uca.rs.regular.Ruler;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* Verify special workflow
*/
public... |
/*
* 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... |
package com.seepine.demo.eureka.provider;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
/**
* Eureka Provider 启动类
*
* @author seepine
* @date 2020/1/28 18:18
* @since 1.0... |
import java.util.ArrayList;
import java.util.List;
/*
* @lc app=leetcode id=89 lang=java
*
* [89] Gray Code
*
* https://leetcode.com/problems/gray-code/description/
*
* algorithms
* Medium (48.35%)
* Likes: 585
* Dislikes: 1473
* Total Accepted: 157.5K
* Total Submissions: 325.4K
* Testcase Example:... |
/*
* 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 liquibase.util.beans;
import java.beans.PropertyDescriptor;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
public class IntrospectionContext {
private final Class<?> targetClass;
private final Map<String, PropertyDescriptor> descriptors = new HashMap<>();
public Introspecti... |
package com.kl.apps.MySimpleTweets;
import android.widget.AbsListView;
import android.widget.AbsListView.OnScrollListener;
/**
* Created by kovenliao on 8/13/15.
*/
public abstract class EndlessScrollListener implements OnScrollListener {
// The minimum amount of items to have below your current scroll position... |
package com.example.simpletodo;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class EditActivity extends AppCompatActivity {
EditText etItem;
Button btn... |
/*
* 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... |
/*
* Copyright (C) 2010 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... |
/*
* 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... |
/*******************************************************************************
* Copyright 2005, CHISEL Group, University of Victoria, Victoria, BC, Canada.
* All rights reserved. This program and the accompanying materials are made
* available under the terms of the Eclipse Public License v1.0 which
* accompanie... |
package net.hycube.search;
import net.hycube.eventprocessing.Event;
import net.hycube.eventprocessing.ProcessEventProxy;
public class SearchRequestTimeoutEvent extends Event {
protected SearchManager searchManager;
protected int searchId;
protected long nodeIdHash;
protected boolean finalSearch;
public... |
package org.jna;
public class JNASockOptionDetailsLinux extends JNASockOptionDetails {
public JNASockOptionDetailsLinux() {
super ();
putOption (JNASockOption.IP_ADD_MEMBERSHIP, 0x23);
putOption (JNASockOption.IP_ADD_SOURCE_MEMBERSHIP, 0x27);
putOption (JNASockOption.IP_BLOCK_SOURCE, 0x26);
putOption (JNAS... |
package webl.lang.expr;
public class BooleanExpr extends ValueExpr
{
public boolean val;
public BooleanExpr(boolean b) {
super(-1);
val = b;
}
public String getTypeName() {
return "bool";
}
public String toString() {
return val ? "true" : "false";
}
... |
/*
* This software is licensed under the MIT License
* https://github.com/GStefanowich/MC-Server-Protection
*
* Copyright (c) 2019 Gregory Stefanowich
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
... |
package com.minimap.events;
import net.minecraft.client.*;
import net.minecraft.client.settings.*;
import com.minimap.*;
import net.minecraft.client.gui.*;
import com.minimap.minimap.*;
import com.minimap.settings.*;
import java.io.*;
public class ControlsHandler
{
public static KeyBinding[] toAdd;
publi... |
package edu.jiangxin.zhihu.captchas;
import java.io.File;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class GetAllVerifyingCode {
public static void main(String[] args) {
WebDriver driver = new FirefoxDriver();
driver.get("http://... |
package com.siyuan.enjoyreading.entity;
public class Test {
private String time;
private String ftime;
private String context;
public String getTime() {
return time;
}
public void setTime(String time) {
this.time = time;
}
public String getFtime() {
return ft... |
package com.buuz135.jeivillagers.jei.ingredient;
import com.buuz135.jeivillagers.Jeivillagers;
import net.minecraftforge.fml.common.registry.ForgeRegistries;
import net.minecraftforge.fml.common.registry.VillagerRegistry;
import java.util.ArrayList;
import java.util.List;
public class VillagerCareerFactory {
pu... |
// Targeted by JavaCPP version 1.5.8-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.depthai;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*;
import s... |
package com.banking.account.controller;
import com.banking.account.entities.Account;
import com.banking.account.entities.User;
import com.banking.account.repository.UserRepository;
import com.banking.account.service.BankingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewo... |
package site.yan.key;
import site.yan.key.securtiy.Secrey;
/**
* Create in 2019/11/22 9:31 by Zhao Xubin.
*/
public class Cmd {
public static String BASE_PATH;
public static String SECRET_FILE;
public static String SECRET_PIN;
public static String CMD;
public static String arg;
public stat... |
/*
* 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 ... |
/*
* 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 twenty;
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import org.junit.jupiter.api.Test;
import util.InputUtil;
class TestDayFourteen {
@Test
void example() thro... |
/*
* Copyright 2017 Red Hat, 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 ... |
package org.sunbird.common.response;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
/** This is a common response class for all the layer. All layer will send same response object. */
public class Response implements Serializable, Cloneable {
private static final long serialVersionUID... |
package co.tinode.tindroid.format;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.drawable.Drawable;
import android.text.style.ImageSpan;
import java.lang.ref.WeakReference;
import androidx.annotation.NonNull;
import... |
/**
* Copyright 2005-2015 Red Hat, Inc.
*
* Red Hat licenses this file to you under the Apache License, version
* 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
package com.god.mediastore.fagment;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view... |
package com.twilio.conversations.quickstart;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);... |
package com.android.um.targetTosave;
import com.android.um.BasePresenter;
import com.android.um.BaseView;
import com.android.um.Model.DataModels.TargetToSaveModel;
public interface TargetToSaveContract {
interface View extends BaseView<TargetToSaveContract.Presenter> {
void goToDetails();
}
inte... |
/**
* 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.project;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.web.SpringBootServletInitializer;
@SpringBootApplication
public class W... |
/**
* This file is part of Simple Last.fm Scrobbler.
* <p>
* http://code.google.com/p/a-simple-lastfm-scrobbler/
* <p>
* Copyright 2011 Simple Last.fm Scrobbler Team
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ... |
/*
* 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 ... |
/*
* 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 com.d2fn.passage.geometry;
import static com.d2fn.passage.Sketch.cos;
import static com.d2fn.passage.Sketch.sin;
/**
* Point3D
* @author Dietrich Featherston
*/
public class Point3D implements Projectable3D {
private final float x, y, z;
public Point3D(float x, float y, float z) {
this.x ... |
/*
* This is the source code of Telegram for Android v. 5.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2018.
*/
package org.telegram.ui;
import android.animation.Animator;
import android.an... |
// Copyright (C) 2013 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 applicable ... |
/**
* 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 com.forte.qqrobot.code;
/**
*
* CatCode,一个与CQCode格式完全类似的Code类型
*
* @author <a href="https://github.com/ForteScarlet"> ForteScarlet </a>
*/
public class CatCode {
private CatCodeTypes type;
} |
package java.security.spec;
/*
* #%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
*
* http://w... |
package com.gebiz;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Rule;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import com.vaadin.flow.theme.AbstractTheme;
import com.vaadin.testbench.ScreenshotOnFailureRule;
import com.... |
package de.marhan.patch.controller.resource;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.springframework.core.style.ToStringCreator;
public class AddressResource {
private String street;
private String city;
public String getStreet() {
return street;
}
public voi... |
package org.apache.mahout.classifier.KnnMR.mapreduce;
import com.google.common.base.Preconditions;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.mapreduce.Mapper;
//import org.apache.hadoop.mapreduce.Mapper.Context;
import org.apache.mahout.classifier.KnnMR.builder.IBLclassifier;
import org.ap... |
/**
* Copyright © 2016-2018 The Thingsboard 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 applicab... |
/*
* 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... |
package mage.game.events;
import mage.abilities.Ability;
import java.util.UUID;
/**
* @author JayDi85
*/
public class DrawCardEvent extends GameEvent {
public DrawCardEvent(UUID playerId, Ability source, GameEvent originalDrawEvent) {
super(GameEvent.EventType.DRAW_CARD, playerId, source, playerId, 0,... |
package nam.model;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import nam.model.Module;
import nam.model.Project;
import aries.codegen.configuration.AbstractPOMBuilder;
import aries.codegen.util.Buf;
import aries.generation.engine.GenerationContext;
import ... |
/*
* Copyright 2012 University of Chicago
*
* 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... |
/*
* 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 rockstar.expression;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import rockstar.runtime.BlockConte... |
package com.hczhang.hummingbird.cloud.lifecycle;
import com.hczhang.hummingbird.cloud.Cloud;
import com.hczhang.hummingbird.cloud.CloudRuntimeException;
import com.hczhang.hummingbird.cloud.SimpleEventSourceCloud;
import com.hczhang.hummingbird.model.AggregateFactory;
import com.hczhang.hummingbird.model.annotation.Fa... |
package com.dangbei.voice.control.client;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.IBinder;
import android.os.RemoteException;
import android.text.TextUtils;
import android.util.Log;
import com.dang... |
package com.github.rogerli.security.auth.ajax;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.github.rogerli.framework.model.Result;
import com.github.rogerli.utils.MessageUtils;
import com.github.rogerli.utils.RestUtils;
import org.springframework.http.HttpStatus;
import org.springframework.http.Media... |
package at.jku.cg.sar.pathfinder.astar;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import at.jku.cg.sar.core.grid.GridValue;
import at.jku.cg.sar.pathfinder.PathFinder;
import at.jku.cg.sar.pathfinder.PathFinderResult;
import at.jku.cg.sar.pathfinder.PathFinderType;
import ... |
package com.readytalk.cultivar.barriers;
import static org.junit.Assert.assertNotNull;
import org.apache.curator.framework.CuratorFramework;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import... |
package Tanyc.Grammar;
import java.util.*;
public class hw41 {
public static void main(String[] args) {
Scanner xxx = new Scanner(System.in);
System.out.println("please input your grade");
int a;
a = xxx.nextInt();
if (a > 100 | a<0) {
System.out.println("成绩输入有误")... |
package me.elendrial.aog2d.graphics.inGame;
import me.elendrial.aog2d.gameSystems.players.Player;
import me.elendrial.aog2d.gameSystems.turns.IUpdating;
import me.hii488.dataTypes.Vector;
import me.hii488.graphics.gui.premadeTypes.GUIStandardBox;
import me.hii488.graphics.gui.style.GUIStyle;
public class GUIManaIndic... |
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package git4idea.vfs;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.progress.ProgressIndicator;
import com.intellij.openapi.progress.Pro... |
/*******************************************************************************
* Copyright (c) 2016 IBM 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... |
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.api.service.impl.resource;
import static com.emc.storageos.api.mapper.ComputeMapper.map;
import static com.emc.storageos.api.mapper.DbObjectMapper.toNamedRelatedResource;
import static com.emc.storageos.api.mapper.TaskMapper.... |
package decorator;
/**
* Created by Ray on 2016/2/17.
*/
public abstract class CondimentDecorator extends Beverage {
public abstract String getDescription();
} |
package com.android.server.wifi.anqp;
import java.net.ProtocolException;
import java.nio.ByteBuffer;
import java.nio.charset.StandardCharsets;
import static com.android.server.wifi.anqp.Constants.BYTE_MASK;
import static com.android.server.wifi.anqp.Constants.SHORT_MASK;
/**
* The Icon Binary File vendor specific A... |
package my_demo.tx.async;
import my_demo.tx.cacheAdvisor.AppConfig;
import org.junit.jupiter.api.Test;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
/**
* 名称: ClientTest
* 描述: @Async功能测试
*
* @author gaoshudian
* @date 2021/4/4 11:31
*/
public class ClientTest {
@Test
public... |
/**
* Copyright © 2022 DATAMART 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 ... |
package com.beetle.framework.persistence.access;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Properties;
import java.util.Set;
import java.util.String... |
/*
* (C) Copyright 2000-2003 Yale University. All rights reserved.
*
* THIS SOFTWARE IS PROVIDED "AS IS," AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE EXPRESSLY
* DISCLAIMED. IN NO EVENT SHALL YAL... |
package com.uwsoft.editor.renderer.data;
import com.badlogic.gdx.math.Circle;
import com.badlogic.gdx.math.Vector2;
public class ShapeVO {
public Vector2[][] polygons;
public Circle[] circles;
public static ShapeVO createRect(float width, float height) {
ShapeVO vo = new ShapeVO();
vo.pol... |
package fabuco.impl.executor.data;
import fabuco.impl.storage.FabucoStorage;
import fabuco.performer.PerformerParameter;
import java.io.Serializable;
import lombok.Value;
@Value
public class PerformerCoordinatorInitCommand<P extends PerformerParameter<R>, R> implements
Serializable {
private static final long ... |
/*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.