text stringlengths 7 1.01M |
|---|
package com.ld.core.pack.utils;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.HashMap;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.ld.core.pack.DataSetException;
import com.ld.core.pack.LDDataType;
public class CastUtils {
static Logger l... |
package FunctionalCoreTests.ControllerTests.SubControllerTests;
import Factory.ServerFactory;
import FunctionalCore.Controller.SubControllers.RedirectionController;
import FunctionalCore.Request;
import Mocks.MockRequestDealer;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.ut... |
package com.zhike.blogpojo.DO;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* Copy... |
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.service.monitor.internal;
import com.yahoo.config.provision.ApplicationId;
import com.yahoo.vespa.applicationmodel.ClusterId;
import com.yahoo.vespa.applicationmodel.ServiceTyp... |
package uk.gov.dwp.queue.triage.core.classification.predicate;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonSubTypes.Type;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import uk.gov.dwp.queue.triage.core.classification.classifier.Description;
import uk.gov.... |
package com.oz.ethereum.rpc.client;
import com.oz.utils.Constants;
import com.oz.utils.StringUtils;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.apache.commons.codec.binary.Hex;
import org.spongycastle.util.BigIntegers;
import java.math.BigInteger;
/**
*
* Created at 8/16/16, 00:38.
* @author ... |
package bean;
public class Endereco {
private int fk_cidade;
private String rua;
private int numero;
private String complemento;
private String cep;
private String bairro;
public Endereco(String bairro,String cep,String complemento,int numero,String rua,int fk_cidade){
... |
package ssd8.socket.ftp;
import java.io.*;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util.Scanner;
/**
* @author Robin Hanxy
* @version 1.0.5
*/
public class FileClient {
private static final int tcp_PORT = 2021; //... |
package com.mvp.empty.Util;
import android.content.Context;
import android.util.TypedValue;
/**
* Date: 2016/8/30.
* Created by: v7428477
* email:764213580@qq.com
* 常用单位转换的辅助类
*/
public class ToolDensity {
private ToolDensity() {
/* cannot be instantiated */
throw new UnsupportedOperationExc... |
package p07_FoodShortage;
public class Robot extends Indentifiable {
private String model;
public Robot(String model, String id) {
super(id);
this.model = model;
}
@Override
public boolean check(String fakeIdEnd) {
if (super.getId().endsWith(fakeIdEnd)) {
retur... |
package Aula02;
/**
* Created by Gabriel on 01/03/2016.
*/
/*
4. Faca um programa que leia um vetor de 5 elementos,
apos a leitura os valores devem ser copiados para um novo vetor, na ordem inversa.
*/
public class Algoritmo4 {
static int[] vet = {1, 2, 3, 4, 5};
static int[] inverso = new int[5];
... |
package com.wangwenjun.concurrent.chapter1;
/***************************************
* @author:Alex Wang
* @Date:2017/3/12 QQ:532500648
* QQ交流群:286081824
***************************************/
public class SingletonObject1 {
/**
* can't lazy load.
*/
private static final SingletonObject1 insta... |
package com.tpa.videogames.services;
import com.tpa.videogames.entities.Videojuego;
import com.tpa.videogames.repositories.RepositorioVideojuego;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
import java.util.List;... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/container/v1/cluster_service.proto
package com.google.container.v1;
public interface SandboxConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.container.v1.SandboxConfig)
com.google.protobuf.MessageOrBuilde... |
package net.dingzhaobo.PsyduckScript.AST.Expressions;
import lombok.NonNull;
import net.dingzhaobo.PsyduckScript.AST.Expression;
public class IntegerExpr extends Expression {
public IntegerExpr(int r, int c) {
super(r, c);
value = 0;
}
public IntegerExpr(int r, int c, int v) {
sup... |
package com.mobiussoftware.iotbroker.mqtt.net;
/**
* Mobius Software LTD
* Copyright 2015-2018, Mobius Software LTD
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 o... |
package com.curisprofound.spring.reactivestackdemo.fixtures;
import javafx.application.Application;
import org.springframework.context.ApplicationContext;
import org.springframework.test.web.reactive.server.WebTestClient;
import org.springframework.web.reactive.function.server.RouterFunction;
import org.springframewor... |
package com.cms.exception;
import org.springframework.http.HttpStatus;
public class ResponseException {
private int status;
private String message;
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public R... |
package imdb.bindingModel;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
public class FilmBindingModel {
public String getName() {
return name;
}
public void setName(String name) {
this.name... |
/*
* 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... |
/*
* 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 chefchallenge.backend.users;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestController
@RequestMapping("/user")
public class UserController {
private final UserService userService;
public UserController(UserService userService) {
this.userService = userService;... |
/*
* Copyright 2002-2015 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 a... |
package theHeart.cards;
import com.megacrit.cardcrawl.actions.common.ExhaustAction;
import com.megacrit.cardcrawl.actions.common.ExhaustSpecificCardAction;
import com.megacrit.cardcrawl.actions.common.GainBlockAction;
import com.megacrit.cardcrawl.actions.common.MakeTempCardInHandAction;
import com.megacrit.cardcrawl.... |
/**
* Copyright © 2016-2021 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... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
public class AlipayOpenAppServiceSchemaQueryModel
extends AlipayObject {
private static final long serialVersionUID = 6862586748722949163L;
@ApiField("category_id")
private String c... |
package pl.beda.springcourse_knightsgame.domain;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
public class KnightTest {
@Test
public void testIfQuestMarkedAsStarted() {
Knight knight = new Knight("Percival", 25);
Quest quest = new Quest(1, "Testowe zdanie");
kn... |
/**
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... |
package com.zwf3lbs.stream;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.common.MapBuilder;
import com.facebook.react.uimanager.SimpleViewManager;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.annotations.ReactProp;
import java.util.Ma... |
/*
* Copyright 2016-2017 Crown Copyright
*
* 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... |
/**
* This code was auto-generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.api.clients.commerce.catalog.storefront;
import java.util.List;
import java.util.ArrayList;
import com.mozu.api.MozuCl... |
package usersdatabase.models;
/**
* @author Evgeny Khodzitskiy (evgeny.hodz@gmail.com)
* @since 07.07.2017
*/
public class Role {
/**
* To avoid magic number mistake.
*/
private static final int THIRTYONE = 31;
/**
* Role id.
*/
private int id;
/**
* Role name.
*/
... |
package OOFramework.Collision2D.Colliders;
import OOFramework.Collision2D.CollisionCallback;
import OOFramework.Collision2D.CollisionSystem;
import OOFramework.Collision2D.Enums.ColliderTag;
import OOFramework.Collision2D.Enums.ColliderType;
import OOFramework.Maths.Vector2;
import OOFramework.Modules.ASSERT_MSG;
impo... |
/**
*
*/
package com.tangdao.scheduler.web.controller;
/**
* <p>
* TODO 描述
* </p>
*
* @author ruyang
* @since 2021年4月13日
*/
public class SchedulerJobLogController {
}
|
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with this
* work for additional information regarding copyright ownership. The ASF
* licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you ma... |
package io.testoftiramisu.spring.aop;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class AroundLoggingModule implements MethodInterceptor {
private static final Logger log = LoggerFactory.getL... |
/*
* 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 com.xcvgsystems.hypergiant.thinkers;
import java.util.EnumSet;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.xcvgsystems.hypergiant.managers.SoundManager;
import com.xcvgsystems.hypergiant.managers.StateManager;
import com.xcvgsystems.hypergiant.managers.TextureManager;
import com.xcvgsystems.hyperg... |
/*
* MIT License
*
* Copyright (c) 2020 Jannis Weis
*
* 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, copy, modi... |
package org.jeecg;
import lombok.extern.slf4j.Slf4j;
import org.apache.catalina.Context;
import org.apache.tomcat.util.scan.StandardJarScanner;
import org.jeecg.common.util.oConvertUtils;
import org.springframework.boot.SpringApplication;
//import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import ... |
package com.zjzy.morebit.goods.shopping.model;
import android.text.TextUtils;
import com.zjzy.morebit.LocalData.UserLocalData;
import com.zjzy.morebit.Module.common.Activity.BaseActivity;
import com.zjzy.morebit.Module.common.Utils.LoadingView;
import com.zjzy.morebit.R;
import com.zjzy.morebit.mvp.base.frame.MvpMod... |
/**
* Copyright (c) 2015, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and t... |
/*
* 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.mrntlu.toastie;
import android.content.Context;
import android.graphics.Typeface;
import android.os.Build;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
import android... |
package com.vaka.model;
import java.io.Serializable;
import javax.persistence.*;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.sql.Timestamp;
import java.util.List;
/**
* The persistent cla... |
package com.slack.kaldb.metadata.recovery;
import com.google.protobuf.InvalidProtocolBufferException;
import com.google.protobuf.util.JsonFormat;
import com.slack.kaldb.metadata.core.MetadataSerializer;
import com.slack.kaldb.proto.metadata.Metadata;
public class RecoveryTaskMetadataSerializer implements MetadataSeri... |
/*
* Copyright (c) 2016. Axon Framework
*
* 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 ag... |
package org.apache.spark.sql.execution.arrow;
public class ArrowWriter {
static public org.apache.spark.sql.execution.arrow.ArrowWriter create (org.apache.spark.sql.types.StructType schema, java.lang.String timeZoneId) { throw new RuntimeException(); }
static public org.apache.spark.sql.execution.arrow.ArrowWri... |
package com.twa.flights.api.clusters.controller;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bin... |
package dll.struct;
import com.sun.jna.NativeLong;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
* <i>native declaration : D:\HWPuSDK.h</i><br>
* This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
* a tool writt... |
/*
* Copyright 2002-2016 jamod & j2mod development teams
*
* 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 precisionFDA.model;
public class FileProfile {
private String fileName;
private String fileDescription;
private String fileComment;
public FileProfile(final String fileName,
final String fileDescription,
final String fileComment) {
this.... |
/**
* Copyright (C) 2015 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... |
/*
* 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 ... |
package me.ahoo.cosid.shardingsphere.sharding.mod;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
/**
* @author : Rocher Kong
*/
class NotSupportModShardingTypeExceptionTest {
@Test
void NotSupportModShardingTypeExceptionTest(){
NotSupportModShardingTypeException NotSupp... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * 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 ... |
package com.verifone.swordfish.manualtransaction;
import android.support.annotation.NonNull;
import com.verifone.commerce.entities.Payment;
import java.math.BigDecimal;
/**
* Copyright (C) 2016,2017,2018 Verifone, Inc.
* <p>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of thi... |
package ua.com.fielden.platform.web.resources.webui;
import java.io.ByteArrayInputStream;
import org.restlet.Context;
import org.restlet.Request;
import org.restlet.Response;
import org.restlet.data.Encoding;
import org.restlet.data.MediaType;
import org.restlet.engine.application.EncodeRepresentation;
import org.res... |
/*
* Copyright (c) 2010-2017 Evolveum
*
* 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... |
package org.example.demo.link;
import org.junit.Test;
public class SolutionTest {
@Test
public void reverseList() {
Solution solution = new Solution();
ListNode node = new ListNode(-1);
ListNode n1 = new ListNode(2);
ListNode n2 = new ListNode(3);
ListNode n3 = new Li... |
/*
* 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.company;
import java.io.*;
public class ScoreManager {
// Current scores
private int currentScore;
private int currentTopScore;
private long time;
private long startingTime;
private long bestTime;
private int[] board = new int[GameBoard.ROWS * GameBoard.COLS];
// File
... |
/*
* Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) 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 2018 Dingfan Zhao
*
* 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... |
package ru.job4j.model.email;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.hamcrest.Matchers.is;
/**
* Test class for class "Email"
* @author Geraskin Yegor(yegeraskin13@gmail.com)
*/
public class EmailTest {
@Test
public void testToString1() {
String value = "yegeras... |
/*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* Copyright (c) 2018-2021 Hugo Dupanloup (Yeregorix)
*
* 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, copy, mo... |
/****************************************************************
* 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... |
package io.apptik.json.generator.generators.formats;
import io.apptik.json.JsonElement;
import io.apptik.json.JsonString;
import io.apptik.json.generator.JsonGenerator;
import io.apptik.json.generator.JsonGeneratorConfig;
import io.apptik.json.schema.Schema;
import java.util.ArrayList;
/**
* Created by sandy on 6/1... |
package com.jaquadro.minecraft.storagedrawers.block.tile;
import com.jaquadro.minecraft.storagedrawers.StorageDrawers;
import com.jaquadro.minecraft.storagedrawers.api.storage.IDrawer;
import com.jaquadro.minecraft.storagedrawers.config.CompTierRegistry;
import com.jaquadro.minecraft.storagedrawers.config.ConfigManage... |
/*
* Cardinal-Components-API
* Copyright (C) 2019-2020 OnyxStudios
*
* 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 u... |
package com.ABC.bc.wallet.config;
/**
*
* <p> TODO</p>
* @author: shangxl
* @Date : 2018年3月7日 下午5:37:00
*/
public class Constant {
/**
* zcash币编码
*/
public static final String ZCASH = "zec";
/**
* tv编码
*/
public static final String TV = "tv";
/**
* usdt编码
*/
public static fina... |
/**
* Copyright Dingxuan. 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>
* Unless required by appli... |
/*
* Copyright 2013-2018 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.tedu.webserver.core;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.Socket;
import com.tedu.webserver.http.HttpRequest;
import com.tedu.webserver.http.HttpResponse;
/*
* 线程任务类,用于处理某个客户端的请求并予以响应。
... |
/*
* $Id$
*/
/*
Copyright (c) 2000-2012 Board of Trustees of Leland Stanford Jr. University,
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... |
package org.galaxyproject.gxformat2.v19_09;
import org.galaxyproject.gxformat2.v19_09.utils.Savable;
/** Auto-generated interface for <I>https://w3id.org/cwl/cwl#OutputParameter</I><br> */
public interface OutputParameter extends Parameter, Savable {
/**
* Getter for property <I>https://w3id.org/cwl/salad#Docume... |
/*******************************************************************************
* Copyright 2016 Intuit
* <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.o... |
package eu.daiad.scheduler.service.etl;
import eu.daiad.common.model.error.ApplicationException;
/**
* Provides methods for exporting data from HBASE and PostgreSQL
*/
public interface IDataExportService {
/**
* Exports data for a single user to a temporary file.
*
* @param query the query that ... |
/*
* Copyright (C) 2012-2018 DuyHai DOAN
*
* 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... |
package com.tencent.wxcloudrun.controller;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.tencent.wxcloudrun.config.ApiResponse;
import com.tencent.wxcloudrun.config.L;
import com.tencent.wxcloudrun.model.Order;
import com.tencent.wxcloudrun.... |
/*
* 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.some.thing.rx.loader.data;
import lombok.Builder;
import lombok.Data;
@Builder
@Data
public class Event {
private String min;
private String max;
private String avg;
private String stdev;
}
|
/**
* 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.taobao.arthas.core.command.logger;
import java.security.CodeSource;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Appender;
import org.apache.log4j.AsyncAppender;
import org.apache.log4j.ConsoleAppen... |
package fi.vincit.multiusertest.rule.expectation.call;
import fi.vincit.multiusertest.exception.CallFailedError;
import fi.vincit.multiusertest.rule.expectation.AssertionCall;
import fi.vincit.multiusertest.rule.expectation.ConsumerProducerSet;
import fi.vincit.multiusertest.rule.expectation.TestExpectation;
public c... |
/*
* 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) Numerical Method Inc.
* http://www.numericalmethod.com/
*
* THIS SOFTWARE IS LICENSED, NOT SOLD.
*
* YOU MAY USE THIS SOFTWARE ONLY AS DESCRIBED IN THE LICENSE.
* IF YOU ARE NOT AWARE OF AND/OR DO NOT AGREE TO THE TERMS OF THE LICENSE,
* DO NOT USE THIS SOFTWARE.
*
* THE SOFTWARE IS PROV... |
package us.ihmc.robotics.math.trajectories;
import us.ihmc.euclid.referenceFrame.FrameQuaternion;
import us.ihmc.euclid.referenceFrame.FrameVector3D;
import us.ihmc.euclid.referenceFrame.ReferenceFrame;
import us.ihmc.euclid.referenceFrame.interfaces.FrameQuaternionReadOnly;
import us.ihmc.commons.MathTools;
import us... |
package org.ovirt.engine.core.bll.storage.disk.image;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.when;
import java.util.ArrayList;
import java.ut... |
package com.codepath.apps.mysimpletweets;
import android.content.Context;
import android.util.Log;
import com.codepath.oauth.OAuthBaseClient;
import com.loopj.android.http.AsyncHttpResponseHandler;
import com.loopj.android.http.RequestParams;
import org.scribe.builder.api.Api;
import org.scribe.builder.api.TwitterAp... |
package com.rajven.todo.converter;
import java.util.List;
import java.util.Objects;
import java.util.concurrent.ExecutionException;
import io.r2dbc.spi.Clob;
import org.springframework.core.convert.converter.Converter;
import reactor.core.publisher.Flux;
/**
* Workaround for H2 having issues converting b... |
package org.hl7.fhir.tools.publisher;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
impor... |
/*
* 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.alishangtian.nettyexample.objectecho;
import com.alibaba.fastjson.JSON;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Handles both client-side and server-side handler depending on which c... |
package com.bumptech.glide.util;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
import java.io.InputStream;
import java.net.SocketTimeoutException;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Asse... |
package org.joder.stock.core.service.process;
import org.joder.stock.core.StockStrategy;
/**
* @author Joder 2020/8/15 15:48
*/
public abstract class AbstractBackTestProcess implements BackTestProcess {
protected StockStrategy getStrategy(String code) {
return StockStrategy.parseStrategy(code);
}
}... |
// 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) 2012 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
/*
* Copyright 2020 The Federal Authorities of the Swiss Confederation
*
* 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 re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.