text stringlengths 7 995k |
|---|
package com.xuhai.wngs.ui.shzl;
import android.content.Context;
import android.content.Intent;
import android.os.Message;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.support.v7.widget.RecyclerView;
import android.view.Menu;
import android.view.MenuItem;
import android.view... |
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package com.zaxxer.influx4j.util.... |
package com.foxinmy.weixin4j.http.support.apache4;
import org.apache.http.util.VersionInfo;
import com.foxinmy.weixin4j.http.HttpClient;
import com.foxinmy.weixin4j.http.HttpParams;
import com.foxinmy.weixin4j.http.factory.HttpClientFactory;
/**
* 使用Apache的HttpClient4.x
*
* @className HttpComponent4Factory
* @a... |
/* Copyright (c) 2011 Danish Maritime Authority.
*
* 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... |
/* $Id$ */
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); y... |
package exercise.solution.Controller;
import exercise.solution.Model.Commit;
import exercise.solution.Service.CommitService;
import exercise.solution.Service.ResourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframewor... |
package com.huawei.esdk.uc.call;
import com.huawei.common.BaseData;
import com.huawei.common.BaseReceiver;
import com.huawei.contacts.ContactCache;
import com.huawei.contacts.PersonalContact;
import com.huawei.ecs.mtk.log.Logger;
import com.huawei.esdk.uc.BaseActivity;
import com.huawei.esdk.uc.CommonUtil;
import com.... |
package com.nowcoder.model;
import org.springframework.stereotype.Component;
@Component
public class HostHolder {
// 线程本地变量,看起来只有一个变量,但实际上它为每个线程都分配了一个对象
private static ThreadLocal<User> users = new ThreadLocal<>();
// 调用此方法时,它会找到与当前线程关联的对象并返回
public User getUser() {
return users.get();
}
... |
/**
* Copyright (c) 2014, by the Authors: John E Lloyd (UBC)
*
* This software is freely available under a 2-clause BSD license. Please see
* the LICENSE file in the ArtiSynth distribution directory for details.
*/
package maspack.spatialmotion;
import maspack.geometry.GeometryTransformer;
import maspack.matrix.*... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__int_Environment_postinc_54b.java
Label Definition File: CWE190_Integer_Overflow__int.label.xml
Template File: sources-sinks-54b.tmpl.java
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: Environment Read data from an environment vari... |
package com.tterrag.blur;
import com.tterrag.blur.config.BlurConfig;
import ladysnake.satin.api.event.ShaderEffectRenderCallback;
import ladysnake.satin.api.managed.ManagedShaderEffect;
import ladysnake.satin.api.managed.ShaderEffectManager;
import ladysnake.satin.api.managed.uniform.Uniform1f;
import net.fabricmc.api... |
package aima.core.probability.example;
import aima.core.probability.full.FullJointDistributionModel;
/**
*
* @author Ciaran O'Reilly
*
*/
public class FullJointDistributionBurglaryAlarmModel extends
FullJointDistributionModel {
public FullJointDistributionBurglaryAlarmModel() {
super(new double[] {
// ... |
package mango.core.extension;
import mango.util.ClassUtils;
import mango.util.ReflectUtils;
import mango.util.StringUtils;
import javax.annotation.Resource;
import java.beans.IntrospectionException;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.reflect.*... |
package fr.diabhelp.diabhelp.Connexion_inscription;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentTransaction;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.... |
package com.alibaba.rocketmq.common.protocol;
import com.alibaba.rocketmq.remoting.protocol.RemotingSysResponseCode;
public class ResponseCode extends RemotingSysResponseCode {
// Broker 刷盘超时
public static final int FLUSH_DISK_TIMEOUT = 10;
// Broker 同步双写,Slave不可用
public static final int SLAVE_NOT_AV... |
package com.networknt.eventuate.account.command.transaction;
public class RecordDebitFailedCommand implements MoneyTransferCommand {
} |
package com.harmazing.framework.common.controller;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping("/demo")
public class DemoContro... |
package REST;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.charset.StandardCharsets;
public class Conne... |
/*
* Copyright 2013 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 ... |
/*
* Copyright 1997-2017 Unidata Program Center/University Corporation for
* Atmospheric Research, P.O. Box 3000, Boulder, CO 80307,
* support@unidata.ucar.edu.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
... |
/**
* 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... |
package com.depth1.grc.controllers;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWrite... |
/**
* Copyright (C) 2018-2020
* All rights reserved, Designed By www.yixiang.co
* 注意:
* 本软件为www.yixiang.co开发研制,未经购买不得使用
* 购买后可获得全部源代码(禁止转卖、分享、上传到码云、github等开源平台)
* 一经发现盗用、分享等行为,将追究法律责任,后果自负
*/
package co.yixiang.modules.system.service;
import co.yixiang.common.service.BaseService;
import co.yixiang.modules.system.domai... |
import java.sql.*;
import javax.swing.JOptionPane;
import net.proteanit.sql.DbUtils;
/*
* 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.
*/
/**
*
* @author bhanu
*/
public class registe... |
package com.ltv.aerospike.api.proto;
import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub... |
package module252packageJava0;
import java.lang.Integer;
public class Foo18 {
Integer int0;
Integer int1;
public void foo0() {
new module252packageJava0.Foo17().foo5();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public voi... |
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.propertychain.models;
import com.aliyun.tea.*;
public class OrderInfo extends TeaModel {
// 运单号
@NameInMap("order_no")
@Validation(required = true)
public String orderNo;
// 船名
@NameInMap("ship_name")... |
package actions;
import app.App;
import com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl;
import database.DBConnection;
import gui.dialog.Toast;
import gui.standard.form.Form;
import gui.standard.form.components.ValidationDatePicker;
import net.miginfocom.swing.MigLayout;
import xml.XmlHelper;... |
package software.amazon.sagemaker.modelqualityjobdefinition;
import org.apache.commons.lang3.StringUtils;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.cloudformation.exceptions.CfnAccessDeniedException;
import software.amazon.cloudformation.exceptions.CfnGeneralServiceExc... |
package net.spartanb312.cursa.gui.components;
import net.spartanb312.cursa.gui.Panel;
import net.spartanb312.cursa.setting.Setting;
import net.spartanb312.cursa.setting.settings.ModeSetting;
import net.spartanb312.cursa.utils.ColorUtil;
import net.spartanb312.cursa.utils.SoundUtil;
import net.spartanb312.cursa.utils.g... |
package com.ultimatesoftware.aeon.core.command.execution.commands.web;
import com.ultimatesoftware.aeon.core.command.execution.commands.Command;
import com.ultimatesoftware.aeon.core.common.Resources;
import com.ultimatesoftware.aeon.core.framework.abstraction.drivers.IDriver;
import com.ultimatesoftware.aeon.core.fra... |
package launcher.localLauncher;
import java.awt.Dimension;
import java.util.Observer;
import javax.swing.JFrame;
import controler.ChessGameControlers;
/**
* @author francoise.perrin
* Lance l'exécution d'un jeu d'échec en mode graphique.
* La vue (ChessGameGUI) observe le modèle (ChessGame)
* les échanges pas... |
/*
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*
* Copyright 1999-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in com... |
/*
* Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Un... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.storage.v2019_06_01.implementation;
import com.m... |
package arkanoid.game;
import biuoop.DrawSurface;
import biuoop.GUI;
import biuoop.Sleeper;
/**
* @author Tommy Zaft
* <p>
* The AnimationRunner runs the animation.
*/
public class AnimationRunner {
private GUI gui;
private int framesPerSecond;
/**
* a constructor for AnimationRunner.
*
... |
package js.web.serviceworker;
import js.lang.Promise;
import js.util.collections.ReadonlyArray;
import js.web.channelmessaging.MessageEvent;
import js.web.dom.*;
import org.teavm.jso.JSBody;
import org.teavm.jso.JSProperty;
import javax.annotation.Nullable;
/**
* The ServiceWorkerContainer interface of the ServiceW... |
package de.hse.licensemanager.model;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyT... |
/*
* 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 com.imos.sample.basic.test;
import com.imos.sample.base.HibernateService;
import com.imos.sample.base.exception.RepositoryExce... |
/*
* 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.timeyang.jkes.core.http;
import com.timeyang.jkes.core.util.Asserts;
import com.timeyang.jkes.core.util.JsonUtils;
import org.apache.http.HttpEntity;
import org.apache.http.StatusLine;
import org.apache.http.client.methods.*;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.entity.Byt... |
/* Copyright (c) 2005-2015, The JastAdd Team
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of con... |
package com.walmartlabs.concord.runtime.v2.model;
/*-
* *****
* Concord
* -----
* Copyright (C) 2017 - 2019 Walmart 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
*
* ... |
package com.mikufans.po;
import lombok.Data;
@Data
public class Role {
private long id;
private String roleName;
private String note;
} |
/*
* 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
... |
/*
* Copyright 2016 Albert Tregnaghi
*
* 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 i... |
private void javaToHtml(File source, File destination) throws IOException {
Reader reader = new FileReader(source);
Writer writer = new FileWriter(destination);
JavaUtils.writeJava(reader, writer);
writer.flush();
writer.close();
} |
/*
* Copyright 2018-2019 Silicon Labs
* 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 pl.java.scalatech.controller;
import java.security.Principal;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.security.core.Authenticat... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
package com.dcits.ensemble.om.controller.paraTable;
import com.dcits.ensemble.om.controller.model.Result;
import com.dcits.ensemble.om.controller.model.ResultUtils;
import com.dcits.ensemble.om.model.dbmodel.MbProdType;
import com.dcits.ensemble.om.model.dbmodel.system.*;
import com.dcits.ensemble.om.repository.base.Sy... |
package br.com.zup.propostaDeCartao.cartao.enums;
public enum SituacaoCartao {
ATIVO,
BLOQUEADO
} |
/**
* 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... |
/*
* Copyright (C) 2018 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... |
package dev.gardeningtool.example.command;
import club.quar.command.QCommand;
import club.quar.command.annotation.CommandInfo;
import org.bukkit.command.CommandSender;
@CommandInfo(name = "help", async = true, requirePlayer = true)
public class HelpCommand extends QCommand {
@Override
public void onCommand(C... |
package com.restteam.ong.util;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.BindingResult;
import java.util.stream.Stream;
public class BindingResultsErrors {
public static Stream<String> getErrors(BindingResult bindingResult){... |
package org.basex.query.value.node;
import static org.basex.query.QueryText.*;
import org.basex.core.*;
import org.basex.query.value.item.*;
import org.basex.query.value.type.*;
import org.basex.util.*;
import org.w3c.dom.Text;
/**
* Text node fragment.
*
* @author BaseX Team 2005-17, BSD License
* @author Chris... |
package com.drip.minio.vo;
import java.io.Serializable;
/**
* Created by lenovo on 2018/6/5.
*/
public class FileVo implements Serializable{
private String name;
private String suffix;
private String size;
private String url;
private String desc;
public FileVo() {
}
public Str... |
package mekanism.client.gui.element.gauge;
import com.mojang.blaze3d.systems.RenderSystem;
import com.mojang.blaze3d.vertex.PoseStack;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.function.BooleanSupplier;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
i... |
package explorviz.server.monitoring.writer;
public interface IGWTRecordWriter {
public void writeBeforeRecord(long timestamp, long traceId, int orderId, String clazzname, String method);
public void writeAfterRecord(long timestamp, long traceId, int orderId,String clazzname, String method);
} |
package com.rossonet.rnbeta;
import android.content.Context;
import android.content.Intent;
import android.app.IntentService;
import android.os.Bundle;
import android.util.Log;
import com.wix.reactnativenotifications.core.NotificationIntentAdapter;
public class NotificationDismissService extends IntentService {
... |
package com.example.android.pets.data;
import android.net.Uri;
import android.provider.BaseColumns;
public final class PetContract {
private PetContract(){}
/** Content URI values */
public static final String CONTENT_AUTHORITY = "com.example.android.pets";
public static final Uri BASE_CONTENT_URI =... |
/*
* 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... |
/*
* Copyright 2019 Haulmont.
*
* 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... |
/**
* Copyright 2011-2017 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... |
/**
* Copyright 2015-2016 Eurocommercial Properties NV
*
* 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... |
/**
* Copyright 2019 VMware, Inc.
* <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>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or... |
package com.akamai.qtip.cli.commands.iec;
import com.beust.jcommander.Parameter;
import com.beust.jcommander.Parameters;
@Parameters(commandDescription = "Akamai IoT Edge Connect: Manage Akamai Reserved Namespace")
public class CommandManageNamespaceConfigurationVersion {
@Parameter(names = {
"--edgerc"}, descrip... |
package com.shangame.fiction.ui.task;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.annotation.NonNull;... |
package com.example.helloknative;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HelloKnativeController {
@Value("${app.message:Knative}")
String messag... |
/*
* 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 dev.nklab.jl2.collections;
import dev.nklab.jl2.collections.ImmutableMap;
import static org.junit.Assert.*;
import static org.... |
package br.com.renanfretta.seguroveiculo.configs;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builde... |
package osmedile.intellij.stringmanip.align;
import shaded.org.apache.commons.lang3.StringUtils;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
public class ColumnAlignerModel {
private Date added;
private List<String> separator... |
package com.vmware.vim25.mo;
import java.rmi.RemoteException;
import com.vmware.vim25.KernelModuleInfo;
import com.vmware.vim25.ManagedObjectReference;
import com.vmware.vim25.NotFound;
import com.vmware.vim25.RuntimeFault;
public class HostKernelModuleSystem extends ManagedObject
{
public HostKernelModuleSystem(... |
package fr.javatronic.blog.massive.annotation2;
import fr.javatronic.blog.processor.Annotation_002;
@Annotation_002
public class Class_625 {
} |
package com.projectx.application.service;
import java.util.List;
import org.springframework.stereotype.Service;
import com.projectx.application.converter.ProductConverter;
import com.projectx.application.dto.ProductsDTO;
import com.projectx.application.model.Products;
import com.projectx.application.repository.Produ... |
package com.flc.service.school.school_info.impl;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.flc.dao.DaoSupport;
import com.flc.entity.Page;
import com.flc.util.PageData;
import com.flc.service.school.school_info.School_infoManager;
/**
* 说明: 联系... |
/*
* 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 info.fetter.logstashforwarder.util;
/**
* 异常枚举类
*/
public enum ExceptionEnum {
SUCESS(0,"成功"),
FAIL(1,"失败")
;
private Integer Status;
private String Message;
ExceptionEnum(Integer status, String message) {
this.Status = status;
this.Message = message;
}
pu... |
/**
* 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.zxiang.project.business.device.mapper;
import com.zxiang.project.business.device.domain.Device;
import java.util.List;
/**
* 共享设备 数据层
*
* @author ZXiang
* @date 2018-09-09
*/
public interface DeviceMapper
{
/**
* 查询共享设备信息
*
* @param deviceId 共享设备ID
* @return 共享设备信息
*/
p... |
/*
* 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.makemoji.keyboard;
import android.app.Dialog;
import android.content.ClipData;
import android.content.ClipDescription;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
imp... |
package com.eddmash.form.fields;
/*
* This file is part of the androidcomponents package.
*
* (c) Eddilbert Macharia (http://eddmash.com)<edd.cowan@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import com.eddmash.form.FormE... |
/*
* 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.sonicbase.bench;
import com.codahale.metrics.MetricRegistry;
import com.codahale.metrics.Snapshot;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.JsonNodeFactory;
import com.fasterxml.jackson.databind.node... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/securitycenter/v1beta1/securitycenter_service.proto
package com.google.cloud.securitycenter.v1beta1;
/**
*
*
* <pre>
* Response message for grouping by assets.
* </pre>
*
* Protobuf type {@code google.cloud.securitycenter.v1bet... |
package com.open.iot.ucpm.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.... |
/*******************************************************************************
* Copyright (c) 2000, 2010 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... |
import edu.princeton.cs.algs4.StdDraw;
import java.text.DecimalFormat;
import java.util.Comparator;
/**
* The Point2D class is an immutable data type to encapsulate a
* two-dimensional point with real-value coordinates.
*
* Note: in order to deal with the difference behavior of double and
* Double with respect t... |
package com.github.bartimaeusnek.ASM;
import cpw.mods.fml.common.DummyModContainer;
import cpw.mods.fml.common.LoadController;
import cpw.mods.fml.common.ModMetadata;
import cpw.mods.fml.common.versioning.ArtifactVersion;
import cpw.mods.fml.common.versioning.DefaultArtifactVersion;
import org.apache.logging.log4j.Log... |
/***** BEGIN LICENSE BLOCK *****
* Version: EPL 2.0/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Eclipse Public
* 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.eclipse.org/legal/epl-... |
package net.anschau.cnab.caixa.cnab240;
import static org.junit.Assert.*;
import org.junit.Test;
/**
* @author Edenir Norberto Anschau (edenir.ans@gmail.com)
*/
public class TrailerLoteTest {
@Test
public void trailer() throws Exception {
int quantidadeRegistros = 4;
TrailerLote trailer = new TrailerLo... |
/*
* 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 poke.server.voting;
import java.util.ArrayList;
public class CumulativeState extends VoteState {
private int requiredVotes = 0;
private long maxDuration = -1;
private ArrayList<Integer> voters;
private ArrayList<Integer> candidates;
private ArrayList<Integer> candidateVotes;
public CumulativeState(int... |
/*
* 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.endava.cats.fuzzer.fields.within;
import com.endava.cats.args.FilesArguments;
import com.endava.cats.fuzzer.FieldFuzzer;
import com.endava.cats.fuzzer.http.ResponseCodeFamily;
import com.endava.cats.io.ServiceCaller;
import com.endava.cats.report.TestCaseListener;
import com.endava.cats.util.CatsUtil;
impo... |
/*
* Copyright (c) 2008-2022, 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 me.wavelength.baseclient.utils;
import net.minecraft.client.Minecraft;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.potion.Potion;
public class Movement {
public static Minecraft mc = Minecraft.getMinecraft();
public static double getBlocksPerSecond() {
if (mc.thePlayer == null ... |
/*******************************************************************************
* Copyright (c) 2005, 2006 Erkki Lindpere 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, and... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.