class_name stringlengths 1 78 | java_source stringlengths 11 837k | jasm_code stringlengths 237 1.46M | java_test stringlengths 592 4.08M | java_scaffold stringlengths 2.82k 8.12k | class_idx int64 0 153k |
|---|---|---|---|---|---|
QuickSelection | /** Created by qingcunz on 10/16/14. */
public class QuickSelection {
public static void main(String[] args) {
int[] A = {3, 5, 1, 4, 6, 2, 9, 7, 8};
// qsort(A, 0, A.length-1);
// for(int val : A)
// System.out.print(val + "\t");
for (int i = 1; i <= A.length; i++) System... | .version 52 0
.class public super QuickSelection
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:18:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:18:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,000 |
PureeNotInitializedException | public class PureeNotInitializedException extends RuntimeException {
public PureeNotInitializedException() {
super();
}
public PureeNotInitializedException(String detailMessage) {
super(detailMessage);
}
public PureeNotInitializedException(String detailMessage, Throwable throwable) {
super(detai... | .version 52 0
.class public super PureeNotInitializedException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 5
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:50:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:50:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,001 |
Main | import java.util.Random;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// ************************
// ***Małe przypomnienie***
// ************************
// <- komentarz liniowy, wszystko to co jest po //, nie będzie kompilowane i brane pod uwagę
/*
... | .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:01:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:01:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,002 |
EnglishGrammar | import java.util.Vector;
/**
* Possible additions: Korean names for the grammar Indefinite articles, definite articles.
*
* @author a
*/
public class EnglishGrammar {
public static final String part_of_speech = "part of speech";
public static final String adjective = "adjective";
public static final String a... | .version 52 0
.class public super EnglishGrammar
.super java/lang/Object
.field public static final part_of_speech Ljava/lang/String; = 'part of speech'
.field public static final adjective Ljava/lang/String; = 'adjective'
.field public static final adverb Ljava/lang/String; = 'adverb'
.field public static final ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:02:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Vector;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cla... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:02:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,003 |
Point | public class Point {
protected float m_fX;
protected float m_fY;
public Point(float fX, float fY) {
InitVariable(fX, fY);
}
public Point() {
InitVariable(0, 0);
}
public float getX() {
return m_fX;
}
public void setX(float fX) {
this.m_fX = fX;
}
public float getY() {
ret... | .version 52 0
.class public super Point
.super java/lang/Object
.field protected m_fX F
.field protected m_fY F
.method public <init> : (FF)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: fload_1
L6: fload_2
L7: invokevir... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:18:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:18:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,004 |
Severity | //////////////////////////////////////////////////////////////////////////////
// Clirr: compares two versions of a java library for binary compatibility
// Copyright (C) 2003 - 2005 Lars Kühne
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Pu... | .version 52 0
.class public final super Severity
.super java/lang/Object
.implements java/lang/Comparable
.field private final representation Ljava/lang/String;
.field private final value I
.field public static final INFO LSeverity;
.field public static final WARNING LSeverity;
.field public static final ERROR ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:10:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:10:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,005 |
ClassInfo | /* Copyright (c) 2006, Sriram Srinivasan
*
* You may distribute this software under the terms of the license
* specified in the file "License"
*/
public class ClassInfo {
public String className;
public byte[] bytes;
public ClassInfo(String aClassName, byte[] aBytes) {
className = aClassName.replace('.'... | .version 52 0
.class public super ClassInfo
.super java/lang/Object
.field public className Ljava/lang/String;
.field public bytes [B
.method public <init> : (Ljava/lang/String;[B)V
.code stack 4 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: alo... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:38:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:38:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,006 |
Stopwatch | public class Stopwatch {
private long startMillis;
private long stopMillis;
public static Stopwatch createStarted() {
return new Stopwatch(System.currentTimeMillis());
}
public static Stopwatch create() {
return new Stopwatch();
}
protected Stopwatch() {
this(0);
}
protected Stopwatch... | .version 52 0
.class public super Stopwatch
.super java/lang/Object
.field private startMillis J
.field private stopMillis J
.method public static createStarted : ()LStopwatch;
.code stack 4 locals 0
L0: new Stopwatch
L3: dup
L4: invokestatic Method java/lang/System currentTimeMillis ()J
L7: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:24:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.System;
import org.junit.runner.RunWith;
@RunWith(Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:24:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,007 |
Article | public class Article {
// 图文消息名称
private String Title;
// 图文消息描述
private String Description;
// 图片链接,支持JPG、PNG格式,较好的效果为大图640*320,小图80*80,限制图片链接的域名需要与开发者填写的基本资料中的Url一致
private String PicUrl;
// 点击图文消息跳转链接
private String Url;
public String getTitle() {
return Title;
}
public void setTitle(Stri... | .version 52 0
.class public super Article
.super java/lang/Object
.field private Title Ljava/lang/String;
.field private Description Ljava/lang/String;
.field private PicUrl Ljava/lang/String;
.field private Url Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:45:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:45:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,008 |
Random | /**
* The MIT License Copyright (c) 2003 David G Jones
*
* <p>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, mod... | .version 52 0
.class public super Random
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 28
L4 29
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:46:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:46:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,009 |
JavaArrayCharHasta8Elementos | /**
* @created on : 12-sep-2017, 18:38:27
* @see
* @since
* @version
* @author Raul Vela Salas
*/
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
public class JavaArrayCharHasta8Elementos {
/**
* Pide por teclado que escriba ocho letras... | .version 52 0
.class public super JavaArrayCharHasta8Elementos
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 15
.end linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:59:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:59:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,010 |
ColorGeneration |
public class ColorGeneration {
public static void main(String[] args) {
int[] cc = {
0xFFB300, // Vivid Yellow
0x803E75, // Strong Purple
0xFF6800, // Vivid Orange
0xA6BDD7, // Very Light Blue
0xC10020, // Vivid Red
0xCEA262, // Grayish Yellow
0x817066, // Medium Gray
... | .version 52 0
.class public super ColorGeneration
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:40:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:40:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,011 |
AnnotationItem | /*
* Copyright (c) 2015, iLearnRW. Licensed under Modified BSD Licence. See licence.txt for details.
*/
public class AnnotationItem {
private int category, index;
private String defaultColourHEX;
public AnnotationItem(int category, int index, String defaultColourHEX) {
this.category = category;
this.i... | .version 52 0
.class public super AnnotationItem
.super java/lang/Object
.field private category I
.field private index I
.field private defaultColourHEX Ljava/lang/String;
.method public <init> : (IILjava/lang/String;)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:58:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:58:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,012 |
MerchantTransaction | import java.util.List;
/**
* 商户账单字段表
*
* @author Nie Xiongding
* @since 2015年3月3日 上午11:05:00
*/
public class MerchantTransaction {
private String mid; // 商户编号或商户编号识别码
private String name; // 商户名称
private int posCount; // 终端台数
private List<String> posIds; // 所有终端编号列表
private String mcc; // 商户类型
private... | .version 52 0
.class public super MerchantTransaction
.super java/lang/Object
.field private mid Ljava/lang/String;
.field private name Ljava/lang/String;
.field private posCount I
.field private posIds Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:22:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:22:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,013 |
BangumiIndex | /**
* Created by hcc on 16/8/6 11:08 100332338@qq.com
*
* <p>番剧索引
*/
public class BangumiIndex {
public int spid;
public int weekday;
public String title;
public String cover;
public int typeid;
public String mcover;
public String scover;
}
| .version 52 0
.class public super BangumiIndex
.super java/lang/Object
.field public spid I
.field public weekday I
.field public title Ljava/lang/String;
.field public cover Ljava/lang/String;
.field public typeid I
.field public mcover Ljava/lang/String;
.field public scover Ljava/lang/String;
.method publ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:56:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:56:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,014 |
TragicExceptionHolder | /*
* 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... | .version 52 0
.class public super TragicExceptionHolder
.super java/lang/Object
.field private final tragedy Ljava/util/concurrent/atomic/AtomicReference; .fieldattributes
.signature Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Exception;>;
.end fieldattributes
.field static final synthetic $assert... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:09:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.m... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:09:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,015 |
ProfitLoss | import java.io.Serializable;
public class ProfitLoss implements Serializable {
private static final long serialVersionUID = -4793099886000091571L;
private double mAvgEntryPx;
private double mAvgExitPx;
private double mEntryQty;
private double mExitQty;
private double mRealizedPl;
private final dou... | .version 52 0
.class public super ProfitLoss
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -4793099886000091571L
.field private mAvgEntryPx D
.field private mAvgExitPx D
.field private mEntryQty D
.field private mExitQty D
.field private mRealizedPl D... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:07:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:07:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,016 |
Student | /**
* An immutable student class.
*
* @author Wesley Rogers
*/
public class Student {
private final String name;
private final int firstQuiz;
private final int secondQuiz;
private final int midterm;
private final int finalExam;
/**
* Creates a student object.
*
* @param name The name of the st... | .version 52 0
.class public super Student
.super java/lang/Object
.field private final name Ljava/lang/String;
.field private final firstQuiz I
.field private final secondQuiz I
.field private final midterm I
.field private final finalExam I
.method public <init> : (Ljava/lang/String;IIII)V
.code stack 2 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:12:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:12:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,017 |
cubo | /** Created by pTHY on 14/11/2016. */
public class cubo {
private float numeroDeLados = 0;
private float lado;
private float area;
private float volumen;
public cubo() {
numeroDeLados = 6;
}
public void setDatos(float elLado) {
lado = elLado;
area = lado * numeroDeLados;
volumen = lado ... | .version 52 0
.class public super cubo
.super java/lang/Object
.field private numeroDeLados F
.field private lado F
.field private area F
.field private volumen F
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:38:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:38:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,018 |
Sockets | /*
Source https://github.com/evanx by @evanxsummers
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... | .version 52 0
.class public super Sockets
.super java/lang/Object
.field public static localHost Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:52:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:52:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,019 |
MD5Util | import java.security.MessageDigest;
/**
* 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, Versio... | .version 52 0
.class public super MD5Util
.super java/lang/Object
.field public static final PREFIX Ljava/lang/String; = 'org.ranji.lemon-'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbe... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:51:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:51:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,020 |
ContentUtil | /**
* 用于封装全局的实例对象
*
* @author moon
*/
public class ContentUtil {
/** 图片存放地址 */
public static String customPath = "upload/file/";
public static String ImgPath = "upload/img/";
public static String FilePath = "upload/file/";
/** 邮箱发送器配置一般不修改 */
public static String emailServiceType = "smtp.163.com";
... | .version 52 0
.class public super ContentUtil
.super java/lang/Object
.field public static customPath Ljava/lang/String;
.field public static ImgPath Ljava/lang/String;
.field public static FilePath Ljava/lang/String;
.field public static emailServiceType Ljava/lang/String;
.field public static emailFromAddressN... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:56:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:56:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,021 |
OStaticContentCachedEntry | /*
*
* * Copyright 2014 Orient Technologies LTD (info(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/... | .version 52 0
.class public super OStaticContentCachedEntry
.super java/lang/Object
.field public type Ljava/lang/String;
.field public content [B
.field public size J
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: retur... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:51:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:51:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,022 |
InflationEntry | /**
* Copyright (c) 2012, Lindsay Bradford and other Contributors. All rights reserved.
*
* <p>This program and the accompanying materials are made available under the terms of the BSD
* 3-Clause licence which accompanies this distribution, and is available at
* http://opensource.org/licenses/BSD-3-Clause
*/
impo... | .version 52 0
.class public super InflationEntry
.super java/lang/Object
.field private Date Ljava/util/Calendar;
.field private CPIValue D
.field private Notes Ljava/lang/String;
.method public <init> : (Ljava/util/Calendar;DLjava/lang/String;)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecia... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:44:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Calendar;
import java.util.Locale;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.m... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:44:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,023 |
TypeSignature | /*
* Copyright 2002-2003 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | .version 52 0
.class public super TypeSignature
.super java/lang/Object
.field parameters Ljava/lang/String;
.field returntype Ljava/lang/String;
.field fieldtype Ljava/lang/String;
.field argumentlength I
.method public <init> : (Ljava/lang/String;)V
.code stack 4 locals 4
L0: aload_0
L1: invoke... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:58:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:58:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,024 |
Main | // Test()
// Test(int)
import java.lang.invoke.*;
class Main {
void foo() throws Exception {
MethodHandles.Lookup l = MethodHandles.lookup();
l.findConstructor(Test.class, MethodType.methodType(void.class));
}
}
class Test {
public Test() {}
public Test(int a) {}
}
| .version 52 0
.class super Main
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.end method
.method... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:02:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:02:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,025 |
ShellSort | import java.util.ArrayList;
import java.util.Collections;
import java.util.function.Function;
public class ShellSort {
public static void sort(int[] arr, Function<Integer, Integer[]> distGenerator) {
int n = arr.length;
int iter = 1;
Integer[] distances = distGenerator.apply(n);
int distance = dista... | .version 52 0
.class public super ShellSort
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:02:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.function.Function;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParam... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:02:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,026 |
EventDanaRSyncStatus | /** Created by mike on 20.07.2016. */
public class EventDanaRSyncStatus {
public String message;
public EventDanaRSyncStatus() {}
EventDanaRSyncStatus(String message) {
this.message = message;
}
}
| .version 52 0
.class public super EventDanaRSyncStatus
.super java/lang/Object
.field public message Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:16:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:16:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,027 |
NoSuchItemTypeException | /** Created by oem on 2015-11-30. */
public class NoSuchItemTypeException extends RuntimeException {}
| .version 52 0
.class public super NoSuchItemTypeException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:01:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:01:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,028 |
UDPServerSocket | /** Created by david.j.novogrodsky on 5/6/2014. */
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
public class UDPServerSocket {
public static void main(String args[]) throws Exception {
UDPServerSocket testUDPSocket = new UDPServerSocket... | .version 52 0
.class public super UDPServerSocket
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:57:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:57:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,029 |
SysoutFormatter | /*
* 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 ... | .version 52 0
.class public super SysoutFormatter
.super java/util/logging/Formatter
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/util/logging/Formatter <init> ()V
L4: return
L5:
.linenumbertable
L0 25
.end linen... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:34:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.logging.Level;
import java.util.logging.StreamHandler;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:34:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,030 |
Point | import java.io.Serializable;
public class Point implements Serializable {
/*
* JDK 1.1 serialVersionUID
*/
private static final long serialVersionUID = -5276940640259749850L;
/**
* The X coordinate of this <code>Point</code>. If no X coordinate is set it will default to 0.
*
* @serial
* @see ... | .version 52 0
.class public super Point
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -5276940640259749850L
.field public x I
.field public y I
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: iconst_0
L2: iconst_0... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:00:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:00:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,031 |
cSesion | /*
* 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 ian
*/
public class cSesion {
private String idAmigo;
private String sesionAmigo;
public cSesion() {
this.i... | .version 52 0
.class public super cSesion
.super java/lang/Object
.field private idAmigo Ljava/lang/String;
.field private sesionAmigo Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ldc... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:55:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:55:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,032 |
FileInfoBean | /**
* Copyright 2014, 2015, 2016 TAIN, Inc. all rights reserved.
*
* <p>Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007 (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.gnu.org/licenses/
*
* <p... | .version 52 0
.class public super FileInfoBean
.super java/lang/Object
.field private static flag Z
.field private type Ljava/lang/String;
.field private base Ljava/lang/String;
.field private name Ljava/lang/String;
.field private time J
.field private length J
.method public <init> : ()V
.code stack 1 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:38:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:38:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,033 |
XGregorianCalendar | import java.util.Date;
import java.util.GregorianCalendar;
import java.util.TimeZone;
public class XGregorianCalendar extends GregorianCalendar {
private static final long serialVersionUID = 4796974809961032674L;
@Override
public void setGregorianChange(Date date) {
// TODO Auto-generated method stub
su... | .version 52 0
.class public super XGregorianCalendar
.super java/util/GregorianCalendar
.field private static final serialVersionUID J = 4796974809961032674L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/util/GregorianCalendar <init> ()V
L4: return... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 08:01:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.time.ZonedDateTime;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
import org... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 08:01:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,034 |
AntOnAChessboard | import java.util.Scanner;
public class AntOnAChessboard {
private static long[] get(long v) {
long k = (long) Math.ceil(Math.sqrt(v));
long m = k * k - k + 1;
boolean isOdd = k % 2 == 1;
if (v == m) {
return new long[] {k, k};
} else if (v >= m) {
if (isOdd) {
return new long[... | .version 52 0
.class public super AntOnAChessboard
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:04:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.InputMismatchException;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunn... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:04:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,035 |
ExecutionContext | /*
* Copyright 2006-2013 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 ap... | .version 52 0
.class public super ExecutionContext
.super java/lang/Object
.implements java/io/Serializable
.field private volatile dirty Z
.field private final map Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
.end fieldattributes
.method public <init> :... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:50:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
imp... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:50:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,036 |
GetRolePolicyResult | /*
* Copyright 2010-2016 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 "l... | .version 52 0
.class public super GetRolePolicyResult
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private roleName Ljava/lang/String;
.field private policyName Ljava/lang/String;
.field private policyDocument Ljava/lang/String;
.method public <init> : ()V
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:24:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:24:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,037 |
Response | /*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | .version 52 0
.class public super Response
.super java/lang/Object
.field public status I
.field public headers Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
.end fieldattributes
.field public body [B
.method public <init> : (ILjava/util... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:23:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:23:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,038 |
ElementConstants | /*
* © Copyright IBM Corp. 2010
*
* 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 ... | .version 52 0
.class public super ElementConstants
.super java/lang/Object
.field public static final DESIGNER_EXTENSION Ljava/lang/String; = 'designer-extension'
.field public static final LANG Ljava/lang/String; = 'lang'
.field public static final XML_NAMESPACE Ljava/lang/String; = 'http://www.w3.org/XML/1998/na... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:28:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:28:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,039 |
Main | // "Replace 'collect(summingDouble())' with 'mapToDouble().sum()'" "true"
import java.util.stream.*;
public class Main {
void from(Stream<Double> stream) {
stream.mapToDouble(Double::doubleValue).sum();
}
}
| .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:45:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.stream.Stream;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRun... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:45:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,040 |
ScriptAddClasses | /*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... | .version 52 0
.class public super ScriptAddClasses
.super java/lang/Object
.field private addClass Ljava/lang/Class; .fieldattributes
.signature Ljava/lang/Class<*>;
.end fieldattributes
.field private addObject Ljava/lang/Object;
.field private strJSName Ljava/lang/String;
.method public <init> : (Ljava/l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:31:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:31:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,041 |
Node | import java.util.*;
public class Node {
/** Static **************************************************************** */
private static final Map<String, Node> NODE_FROM_STRING;
static {
NODE_FROM_STRING = new HashMap<String, Node>();
}
public static Node get_node(final String s) {
return NODE_FROM_S... | .version 52 0
.class public super Node
.super java/lang/Object
.field private static final NODE_FROM_STRING Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;LNode;>;
.end fieldattributes
.field private final next_nodes Ljava/util/Collection; .fieldattributes
.signature Ljava/u... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:52:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:52:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,042 |
VuTyp20Constants | /** Konstanten für den Typ VuTyp20. */
public class VuTyp20Constants {
/** Konstante für VuTyp20 (Ja). */
public static final String JA = "JA";
/** Konstante für VuTyp20 (Nein). */
public static final String NEIN = "NEIN";
/** Konstante für VuTyp20 (Unklar). */
public static final String UNKLAR = "UNKLAR"... | .version 52 0
.class public super VuTyp20Constants
.super java/lang/Object
.field public static final JA Ljava/lang/String; = 'JA'
.field public static final NEIN Ljava/lang/String; = 'NEIN'
.field public static final UNKLAR Ljava/lang/String; = 'UNKLAR'
.method public <init> : ()V
.code stack 1 locals 1
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:01:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:01:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,043 |
Exercice2 | /*
*
* Fibonacci even sum of terms under 4000000.
*
*/
public class Exercice2 {
public static void main(String[] args) {
int b = 1;
int a = 2;
int sum = 0;
while (a <= 4000000) {
if (a % 2 == 0) sum += a;
int c = a + b;
b = a;
a = c;
}
System.out.println("The su... | .version 52 0
.class public super Exercice2
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:51:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:51:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,044 |
TestPrepareSql | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
public class TestPrepareSql {
private static String url =
"jdbc:mysql://localhost:8066/TESTDB?useServerPrepStmts=true"; // 使... | .version 52 0
.class public super TestPrepareSql
.super java/lang/Object
.field private static url Ljava/lang/String;
.field private static user Ljava/lang/String;
.field private static password Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Met... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:38:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:38:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,045 |
Item | public class Item {
private String date;
private String mode;
private String unit;
private String current;
private String interactive;
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
public String getMode() {
return mode;
}
publ... | .version 52 0
.class public super Item
.super java/lang/Object
.field private date Ljava/lang/String;
.field private mode Ljava/lang/String;
.field private unit Ljava/lang/String;
.field private current Ljava/lang/String;
.field private interactive Ljava/lang/String;
.method public <init> : ()V
.code stac... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:45:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:45:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,046 |
Solution220 | import java.util.Set;
import java.util.TreeSet;
public class Solution220 {
public boolean containsNearbyAlmostDuplicate(int[] nums, int k, int t) {
int i;
if (k == 0) return false;
else if (k > 0) i = 0;
else i = nums.length - 1;
TreeSet<Long> set = new TreeSet<>();
while (i >= 0 && i < num... | .version 52 0
.class public super Solution220
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:58:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:58:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,047 |
Calculator | import java.util.Scanner;
public class Calculator {
private static Scanner input = new Scanner(System.in);
public static void main(String[] args) {
// Calculator
System.out.println("Please enter the first operand");
String num1 = input.nextLine();
double d1 = Double.parseDouble(num1);
System.... | .version 52 0
.class public super Calculator
.super java/lang/Object
.field private static input Ljava/util/Scanner;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:05:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:05:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,048 |
QueryTimeoutDTO | /*
* 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 ... | .version 52 0
.class public super QueryTimeoutDTO
.super java/lang/Object
.field public id Ljava/lang/String;
.field public seconds I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:43:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:43:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,049 |
CliOptions | /*
* 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 ... | .version 52 0
.class public super CliOptions
.super java/lang/Object
.field private final isPrintHelp Z
.field private final sessionId Ljava/lang/String;
.field private final environment Ljava/net/URL;
.field private final defaults Ljava/net/URL;
.field private final jars Ljava/util/List; .fieldattributes
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:36:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.net.URL;
import java.net.URLStreamHandler;
import java.util.LinkedList;
import java.util.List;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:36:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,050 |
AttachmentContentResponse | /*******************************************************************************
* Copyright (c) 2015 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.or... | .version 52 0
.class public super AttachmentContentResponse
.super java/lang/Object
.implements java/lang/AutoCloseable
.field private final contentStream Ljava/io/InputStream;
.field private final contentType Ljava/lang/String;
.method public <init> : (Ljava/io/InputStream;Ljava/lang/String;)V
.code stack ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:15:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.io.InputStream;
import java.io.SequenceInputStream;
import java.util.Enumeration;
import org.evosuit... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:15:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,051 |
StateHandler | /*
* bitgrid provides a smart state grid
* Copyright (C) 2013 Miguel Gonzalez
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any... | .version 52 0
.class public super StateHandler
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 28
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:49:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:49:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,052 |
CommitInfo | /*
* Copyright 2015 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under th... | .version 52 0
.class public super CommitInfo
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -6255022381087425142L
.field private commitId Ljava/lang/String;
.field private message Ljava/lang/String;
.field private author Ljava/lang/String;
.field privat... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:36:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.ZoneId;
import java.util.Collection;
import java.util.Date;
import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.List;
import j... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:36:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,053 |
Utils | public class Utils {
public static final double HALF_PI = Math.PI / 2.0;
public static double bindRange(double var, double min, double max) {
return Math.min(Math.max(var, min), max);
}
public static double normalizeAngle(double angle) {
// if(angle < Math.PI && angle > -Math.PI);
return -1.0;
... | .version 52 0
.class public super Utils
.super java/lang/Object
.field public static final HALF_PI D = +1.5707963267948966
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:18:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:18:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,054 |
SshConfig | public class SshConfig {
private final String username;
private final String password;
private final String host;
private final int port;
public SshConfig(String username, String password, String host, int port) {
this.username = username;
this.password = password;
this.host = host;
this.port... | .version 52 0
.class public super SshConfig
.super java/lang/Object
.field private final username Ljava/lang/String;
.field private final password Ljava/lang/String;
.field private final host Ljava/lang/String;
.field private final port I
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/S... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:53:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:53:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,055 |
Delta | import java.io.*;
import java.util.*;
/**
* @author Mighty Cohadar
*/
public class Delta {
final int kk;
final int cc;
final int ss;
public Delta(int kk, int cc, int ss) {
this.kk = kk;
this.cc = cc;
this.ss = ss;
}
public String fromIndex(int index) {
StringBuilder sb = new StringBuil... | .version 52 0
.class public super Delta
.super java/lang/Object
.field final kk I
.field final cc I
.field final ss I
.field static final synthetic $assertionsDisabled Z
.method public <init> : (III)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:26:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.net.URISyntaxException;
import java.util.NoSuchElementException;
import java.util.Scanner;
import org.evo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:26:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,056 |
EntityDrop | public class EntityDrop {
private short id = -1;
private short quantityMin = 1;
private short quantityMax = 1;
private boolean greedy = true;
private float probability = 1;
private short requirement = -1;
public EntityDrop() {
/* Empty */
}
}
| .version 52 0
.class public super EntityDrop
.super java/lang/Object
.field private id S
.field private quantityMin S
.field private quantityMax S
.field private greedy Z
.field private probability F
.field private requirement S
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:46:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:46:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,057 |
Utils | import java.nio.file.Files;
import java.nio.file.Path;
public class Utils {
/**
* Check string is null or empty
*
* @param value
* @return
*/
public static boolean isNullOrEmpty(String value) {
return (value == null || value.length() <= 0) ? true : false;
}
/**
* Check path exists
*
... | .version 52 0
.class public super Utils
.super java/lang/Object
.field public static compiledRuleIdentifier Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:25:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.file.FileSystem;
import java.nio.file.Path;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:25:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,058 |
DateUtil | import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
/** Creado por chambito on 05/11/2015. */
public class DateUtil {
public static SimpleDateFormat dateTimeFormat =
new SimpleDateFormat("yyyy-MM-dd HH:mm", Locale.getDe... | .version 52 0
.class public super DateUtil
.super java/lang/Object
.field public static dateTimeFormat Ljava/text/SimpleDateFormat;
.field public static dateFormat Ljava/text/SimpleDateFormat;
.field public static dateSimpleFormat Ljava/text/SimpleDateFormat;
.field public static timeFormat Ljava/text/SimpleDateF... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:26:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.text.DateFormatSymbols;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import org.evosuite.runtime.EvoRunner;
import org.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:26:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,059 |
EvenTree | import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import java.util.Scanner;
public class EvenTree {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int n = in.nextInt();
int e = in.nextInt();
... | .version 52 0
.class public super EvenTree
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:29:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:29:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,060 |
Translation | import java.util.AbstractMap.SimpleImmutableEntry;
import java.util.Map.Entry;
public class Translation {
private final double sourceLeft, sourceRight;
private final double sourceBottom, sourceTop;
private final double targetLeft, targetRight;
private final double targetBottom, targetTop;
private Translatio... | .version 52 0
.class public super Translation
.super java/lang/Object
.field private final sourceLeft D
.field private final sourceRight D
.field private final sourceBottom D
.field private final sourceTop D
.field private final targetLeft D
.field private final targetRight D
.field private final targetBottom ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:00:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.AbstractMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:00:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,061 |
FractalDimension | /* Copyright 2009-2015 David Hadka
*
* This file is part of the MOEA Framework.
*
* The MOEA Framework 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 3 of the License, or (at your
... | .version 52 0
.class super FractalDimension
.super java/lang/Object
.field private static final R_MAX D = +0.25
.field private static final R_MIN D = +0.0005
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:33:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:33:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,062 |
City | /** Класс города. */
public class City implements Comparable<City> {
private int id;
private String name;
private int countryId;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
... | .version 52 0
.class public super City
.super java/lang/Object
.implements java/lang/Comparable
.field private id I
.field private name Ljava/lang/String;
.field private countryId I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:27:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:27:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,063 |
NotesEncapsulation | public class NotesEncapsulation {
/**
* 1. Encapsulation in nothing but protecting data which is prone to change. 2. Remember that
* watch example. 3. Getter setter Example 4. We Keep in one Place so the Code is not scattered
* around. 5. encapsulation in java is acheived using private public and protected ... | .version 52 0
.class public super NotesEncapsulation
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:12:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:12:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,064 |
PageNotFoundException | public class PageNotFoundException extends Exception {
public PageNotFoundException(String string) {
super(string);
}
/** */
private static final long serialVersionUID = 1L;
}
| .version 52 0
.class public super PageNotFoundException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/Str... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:16:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:16:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,065 |
Constants | /*******************************************************************************
* Copyright 2014 Adobe Systems Incorporated
*
* 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:/... | .version 52 0
.class public final super Constants
.super java/lang/Object
.field public static final SYS_PROP_USER Ljava/lang/String; = 'io.sightly.tck.user'
.field public static final SYS_PROP_PASS Ljava/lang/String; = 'io.sightly.tck.pass'
.field public static final SYS_PROP_SERVER_URL Ljava/lang/String; = 'io.s... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:41:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:41:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,066 |
SpeedLimit | /*
* Copyright 2015 Google Inc. All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | .version 52 0
.class public super SpeedLimit
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field public placeId Ljava/lang/String;
.field public speedLimit D
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokesp... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:30:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:30:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,067 |
ArraySearcher | public class ArraySearcher {
public static void main(String[] args) {
// searching arrays
String[] arr = {"nice", "PingPong"};
int result = StringSearcher(arr, "Gana");
if (result == -1) {
System.out.println("No Match was found");
} else {
System.out.println("Result is:" + arr[resu... | .version 52 0
.class public super ArraySearcher
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:17:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:17:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,068 |
ShaderTarget | public class ShaderTarget {
private String id;
private String sampleName;
private boolean bilinear;
private boolean bilinearFlagPresent;
private int width;
private int height;
private boolean renderInside;
public ShaderTarget(String sampleName, String id) {
this.sampleName = sampleName;
this.i... | .version 52 0
.class public super ShaderTarget
.super java/lang/Object
.field private id Ljava/lang/String;
.field private sampleName Ljava/lang/String;
.field private bilinear Z
.field private bilinearFlagPresent Z
.field private width I
.field private height I
.field private renderInside Z
.method public <... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:54:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:54:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,069 |
Main | /*******************************************************************************
* Author: Nguyen Truong Duy
********************************************************************************/
/* Methodology:
* + This problem can be solved by the brute-force solution.
*
* + Program flow:
* - Generate the sorted l... | .version 52 0
.class super Main
.super java/lang/Object
.field public static final MAX_NUM_FIBO I = 480
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 31
.end lin... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:31:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.math.BigInteger;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:31:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,070 |
IdentifyDelimiter | import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
public class IdentifyDelimiter {
private ArrayList<String> delimiterCharacters = new ArrayList<String>();
private String text;
private String[] defaultDelimiters = {"\t", ",", ":", "|"};
public IdentifyDelimiter() {
for (int i = ... | .version 52 0
.class public super IdentifyDelimiter
.super java/lang/Object
.field private delimiterCharacters Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<Ljava/lang/String;>;
.end fieldattributes
.field private text Ljava/lang/String;
.field private defaultDelimiters [Ljava/lang/S... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:30:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedList;
import java.util.Map;
import ja... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:30:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,071 |
MergeSort | public class MergeSort {
// 归并排序 O(N*logN)
public static int[] mergeSort(int[] arr) {
if (arr == null || arr.length < 2) {
return arr;
}
process(arr, 0, arr.length - 1);
return arr;
}
private static void process(int[] arr, int left, int right) {
if (left < right) {
int mid = (ri... | .version 52 0
.class public super MergeSort
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:15:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:15:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,072 |
ProcessInfo | /*-------------------------------------------------------------------------------------------------------------------*\
| Copyright (C) 2014 PayPal |
| ... | .version 52 0
.class public super ProcessInfo
.super java/lang/Object
.field private processName Ljava/lang/String;
.field private processId Ljava/lang/String;
.method public getProcessName : ()Ljava/lang/String;
.code stack 1 locals 1
L0: aload_0
L1: getfield Field ProcessInfo processName Ljava/la... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:17:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:17:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,073 |
PlanResult | /*
* The MIT License
*
* Copyright 2016 Miguel Celedon.
*
* 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, ... | .version 52 0
.class public super PlanResult
.super java/lang/Object
.field private final narration Ljava/lang/String;
.field private final URL Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Ob... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:44:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:44:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,074 |
JspNameUtil | /*
* Copyright (c) 1998-2011 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | .version 52 0
.class public final super JspNameUtil
.super java/lang/Object
.field private static final javaKeywords [Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumberta... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:44:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:44:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,075 |
StringPrintWriter | import java.io.PrintWriter;
import java.io.StringWriter;
public class StringPrintWriter extends PrintWriter {
public StringPrintWriter() {
super(new StringWriter());
}
@Override
public String toString() {
return super.out.toString();
}
}
| .version 52 0
.class public super StringPrintWriter
.super java/io/PrintWriter
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: new java/io/StringWriter
L4: dup
L5: invokespecial Method java/io/StringWriter <init> ()V
L8: invokespecial Method java/io/PrintWriter <init... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:48:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:48:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,076 |
AccessToken | /**
* 微信通用接口凭证
*
* @author liufeng
* @date 2013-08-08
*/
public class AccessToken {
// 获取到的凭证
private String token;
// 凭证有效时间,单位:秒
private int expiresIn;
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public int getExpiresIn() {
... | .version 52 0
.class public super AccessToken
.super java/lang/Object
.field private token Ljava/lang/String;
.field private expiresIn I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbert... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:24:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:24:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,077 |
AdapterBindException | /**
* Copyright 2017 Sun Jian
*
* <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 applicable law or agreed to ... | .version 52 0
.class super AdapterBindException
.super java/lang/RuntimeException
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 26
L4 27
.e... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:46:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:46:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,078 |
RedirectProcessParameterKey | /*
* Copyright 2016 OPEN TONE 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 ... | .version 52 0
.class public super RedirectProcessParameterKey
.super java/lang/Object
.field public static final ID Ljava/lang/String; = 'id'
.field public static final PROJECT_ID Ljava/lang/String; = 'projectId'
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Meth... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:01:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:01:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 141,079 |
CalendarTest01 | import java.util.Calendar;
public class CalendarTest01 {
public static void main(String[] args) {
// cannot initialize with ordinary initializer, need to get with instances
// Calendar calendar = new Calendar();
Calendar cal = Calendar.getInstance();
printCalendar(cal);
Calendar clone = (Calend... | .version 52 0
.class public super CalendarTest01
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:36:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockGregorianCalendar;
import org.juni... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:36:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,080 |
Exercicio7 | class Exercicio7 {
public static void main(String[] args) {
int x = 13;
while (x != 1) {
if (x % 2 == 0) // Se for par
x = x / 2;
else x = 3 * x + 1;
System.out.print(x);
// Arrumando apresentação no console
if (x != 1) System.out.print(" -> ");
}
}
}
| .version 52 0
.class super Exercicio7
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.end method
.... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:37:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:37:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,081 |
MarkowitzPortfolio | @SuppressWarnings("InstanceVariableNamingConvention")
public class MarkowitzPortfolio {
private double[] weights;
private double expectedReturn;
private double variance;
private double standardDeviation;
private double riskFree;
private double sharpe;
public double[] getWeights() {
return weights;
... | .version 52 0
.class public super MarkowitzPortfolio
.super java/lang/Object
.field private weights [D
.field private expectedReturn D
.field private variance D
.field private standardDeviation D
.field private riskFree D
.field private sharpe D
.method public getWeights : ()[D
.code stack 1 locals 1
L0... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:53:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:53:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,082 |
Constants | public class Constants {
public static String PREF_GCM_REG_ID = "PREF_GCM_REG_ID";
public static String GCM_SENDER_ID = "688231833484";
public static String WEB_SERVER_URL =
"http://192.168.1.3/GreatDataCenter/GreatDataCenterNotification";
public static final String SERVER_SUCCESS = "server_success";
}
| .version 52 0
.class public super Constants
.super java/lang/Object
.field public static PREF_GCM_REG_ID Ljava/lang/String;
.field public static GCM_SENDER_ID Ljava/lang/String;
.field public static WEB_SERVER_URL Ljava/lang/String;
.field public static final SERVER_SUCCESS Ljava/lang/String; = 'server_success'
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:17:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 22:17:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,083 |
Util | /**
* Util.java
*
* @author John Green 27-Oct-2002 www.joanju.com
* <p>Copyright (c) 2002 Joanju Limited. 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 is available at ... | .version 52 0
.class public super Util
.super java/lang/Object
.field public static final LINESEP Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:47:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.net.URI;
import ja... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:47:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,084 |
QrCodeResponse | /**
* @author jianqing.cai@qq.com, https://github.com/caijianqing/weixinmp4java/, 2014-2-24 下午1:26:12
*/
import java.io.Serializable;
/**
* 申请带参数的二维码的响应结果
*
* @author jianqing.cai@qq.com, https://github.com/caijianqing/weixinmp4java/, 2014-2-24 下午1:26:12
*/
public class QrCodeResponse implements Serializable {
... | .version 52 0
.class public super QrCodeResponse
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field public ticket Ljava/lang/String;
.field public expire_seconds Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: a... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:11:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:11:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,085 |
AssetStats | /*
* Copyright 2014 Space Dynamics Laboratory - Utah State University Research Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | .version 52 0
.class public super AssetStats
.super java/lang/Object
.field private averageRating Ljava/math/BigDecimal;
.field private numberRatings I
.field private comments I
.field private views I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lan... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:54:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:54:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,086 |
Counter04 | import java.util.concurrent.atomic.AtomicInteger;
public class Counter04 {
private AtomicInteger counter = new AtomicInteger(0);
int start() {
Thread t1 = getParallelThread();
Thread t2 = getParallelThread();
t1.start();
try {
t1.join();
} catch (InterruptedException e) {
e.printS... | .version 52 0
.class public super Counter04
.super java/lang/Object
.field private counter Ljava/util/concurrent/atomic/AtomicInteger;
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new java/util/concurren... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:52:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:52:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,087 |
P003 | import java.util.ArrayList;
import java.util.Collections;
/**
* The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number
* 600851475143 ?
*
* @author Hai
*/
public class P003 {
public static void main(String[] args) {
long n = 600851475143l;
printAnswer(n);
}
... | .version 52 0
.class public super P003
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:24:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Arrays;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
impo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:24:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,088 |
AppConstants | /**
* Holding constants for app module
*
* @author Anand Shinde
*/
public class AppConstants {}
| .version 52 0
.class public super AppConstants
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:53:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:53:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,089 |
BackOffException | /*
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 not use this fil... | .version 52 0
.class public super BackOffException
.super java/lang/Exception
.field private attemptCount I
.field private sleepTime J
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: iconst_m1
L2: ldc2_w -1L
L5: invokespecial Method BackOffException <init> (IJ)V
L8: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:32:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:32:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,090 |
AssertionException | public class AssertionException extends IllegalArgumentException {
private static final long serialVersionUID = 1L;
public AssertionException(String aErrorMessage, Object[] aArguments) {
super(String.format(aErrorMessage, aArguments));
}
}
| .version 52 0
.class public super AssertionException
.super java/lang/IllegalArgumentException
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/String;[Ljava/lang/Object;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokestatic Me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:28:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:28:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,091 |
FPRPackager | /*
* Gotham Digital Science LLC
* @author Andrea Scaduto
* @Email ascaduto@gdssecurity.com - andreascaduto@me.com
* @Blogpost https://blog.gdssecurity.com/labs/2015/6/13/converting-findbugs-xml-to-hp-fortify-sca-fpr.html
/ ___|___ _ ____ _____ _ __| |_|___ \| ___| _ \| _ \
| | / _ \| '_ \ \ / / _ \ ... | .version 52 0
.class public super FPRPackager
.super java/lang/Object
.field private static final BASE_ZIP Ljava/lang/String; = '/com/gdssecurity/convert2fpr/output/out.zip'
.field private static final BUFFER_SIZE Ljava/lang/Integer;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:46:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.m... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:46:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,092 |
AccountDataVO | import java.util.Date;
public class AccountDataVO {
private int ta_idx;
private String ta_id;
private String ta_pw;
private Date ta_create_date;
private String ta_secret_key;
public int getTa_idx() {
return ta_idx;
}
public void setTa_idx(int ta_idx) {
this.ta_idx = ta_idx;
}
public Stri... | .version 52 0
.class public super AccountDataVO
.super java/lang/Object
.field private ta_idx I
.field private ta_id Ljava/lang/String;
.field private ta_pw Ljava/lang/String;
.field private ta_create_date Ljava/util/Date;
.field private ta_secret_key Ljava/lang/String;
.method public <init> : ()V
.code s... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:50:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.Instant;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:50:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,093 |
DateServer | import java.io.*;
import java.net.*;
import java.util.Date;
/**
* This program is a server that takes connection requests on the port specified by the constant
* LISTENING_PORT. When a connection is opened, the program sends the current time to the connected
* socket. The program will continue to receive and proces... | .version 52 0
.class public super DateServer
.super java/lang/Object
.field public static final LISTENING_PORT I = 32007
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:04:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.testdata.EvoSuiteLocalAddress;
import org.evosuite.ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:04:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,094 |
Counter | import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
/**
* Created by yaojie.hou on 2017/5/26.
*
* <p>基于CAS线程安全的计数器和一个非线程安全的计数器
*/
public class Counter {
private AtomicInteger atomicI = new AtomicInteger(0);
private int i = 0;
public static void main(String[]... | .version 52 0
.class public super Counter
.super java/lang/Object
.field private atomicI Ljava/util/concurrent/atomic/AtomicInteger;
.field private i I
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new j... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:06:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:06:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,095 |
Knapsack | /*
* 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 rex
*/
public class Knapsack {}
| .version 52 0
.class public super Knapsack
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:43:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:43:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,096 |
Message | /*
* -----------------------------------------------------------------------\
* PerfCake
*
* Copyright (C) 2010 - 2013 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... | .version 52 0
.class public super Message
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -6537640529774091119L
.field private headers Ljava/util/Properties;
.field private properties Ljava/util/Properties;
.field private payload Ljava/io/Serializable;
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:38:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.Serializable;
import java.util.Locale;
import java.util.Properties;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:38:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,097 |
ReadXLSXFILE | public class ReadXLSXFILE {}
| .version 52 0
.class public super ReadXLSXFILE
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:35:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:35:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,098 |
CommonString | /*
* 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 idali
*/
public class CommonString {
private final String LOGIN_USER = "loginuser";
private final String GROUP_SU... | .version 52 0
.class public super CommonString
.super java/lang/Object
.field private final LOGIN_USER Ljava/lang/String; = 'loginuser'
.field private final GROUP_SUPERUSER Ljava/lang/String; = 'superuser'
.field private final GROUP_ADMIN Ljava/lang/String; = 'admin'
.field private final GROUP_VEGASTAFF Ljava/lan... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:17:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:17:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,099 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.