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 |
|---|---|---|---|---|---|
PathElement | import java.io.Serializable;
import java.util.Objects;
public class PathElement implements Serializable {
private static final long serialVersionUID = 1L;
private final String elementName;
private final int suffix;
public PathElement(final String elementName, final int suffix) {
if (elementName == null... | .version 52 0
.class public super PathElement
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private final elementName Ljava/lang/String;
.field private final suffix I
.method public <init> : (Ljava/lang/String;I)V
.code stack 3 locals 3 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:44:19 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 04:44: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;
... | 150,800 |
TraceIterativeGVN | /*
* Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (C) 2021 THL A29 Limited, a Tencent company. 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... | .version 52 0
.class public super TraceIterativeGVN
.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 35
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:52:29 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 22:52: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;
... | 150,801 |
JalenFormatter | /*
* Copyright (c) 2014, Inria, University Lille 1.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Affero General Public License v3.0
* which accompanies this distribution, and is available at
* https://www.gnu.org/licenses/agpl-3.0.html
*
* Aut... | .version 52 0
.class public super JalenFormatter
.super java/util/logging/Formatter
.field private final df Ljava/text/DateFormat;
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/util/logging/Formatter <init> ()V
L4: aload_0
L5: new java/text/Si... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:07:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.logging.Level;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.loggin... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:07: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;
... | 150,802 |
XZGmae | import java.util.*;
/**
* 丢棒球砸砖块,貌似是地里没有出现过的题,输入是一个字符串数组,每一个值可能是一个整数,或者Z,或者X,或者+。
* 整数代表现在拿的分,X代表当前成绩是前一个分数Double,+代表当前成绩是前两个的和,Z代表移除前一个成绩,然后要求的是最后的总成绩 5 : sum = 5 -2 : sum = 5 - 2
* = 3 4 : sum = 3 + 4 = 7 Z : sum = 7 - 4 = 3 X : sum = 3 + -2 * 2 = -1 (因为4被移除了,前一个成绩是-2) 9 : sum
* = -1 + 9 = 8 + : sum = 8 + 9 - 4 ... | .version 52 0
.class public super XZGmae
.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 17
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:56: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
* Sat Jul 02 20:56: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;
... | 150,803 |
StreamString | import java.util.*;
import java.util.regex.*;
public class StreamString {
public String string;
private StreamString(String string) {
this.string = string;
}
public static StreamString stream(String string) {
return new StreamString(string);
}
public StreamString removeBlanks() {
return str... | .version 52 0
.class public super StreamString
.super java/lang/Object
.field public string Ljava/lang/String;
.method private <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Fi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:25:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.regex.MatchResult;
import java.util.regex.Pattern;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:25:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 150,804 |
PushRecursion | public class PushRecursion {
public int[] reverseArray(int[] array) {
foo(array[0], array, 0);
return array;
}
public void foo(int c, int[] array, int index) {
if (index == array.length - 1) {
array[array.length - 1 - index] = c;
return;
}
foo(array[index + 1], array, index + 1);... | .version 52 0
.class public super PushRecursion
.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
* Sat Jul 02 15:22:11 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 15:22: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;
... | 150,805 |
Log | import java.io.PrintStream;
public class Log {
private Log() {}
public static void ASSERT(boolean condition) {
ASSERT(condition, "");
}
public static void ASSERT(boolean condition, Object message) {
if (!condition) {
String s = message.toString();
StackTraceElement[] stackTraceElements = ... | .version 52 0
.class public super Log
.super java/lang/Object
.field private static final NULL Ljava/lang/Object;
.field private static final SEPARATOR Ljava/lang/String; = ', '
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4:... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:06:08 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 12:06: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;
... | 150,806 |
BenchConfiguration | public class BenchConfiguration {
// runtime configuration
// abstract boolean resloveDomainName(); // resolve domain every time
// abstract String url();
// abstract String[] multiurls();
//
// abstract int requests_per_round();
// abstract int concurrency();// n tests in parallel
//
//
// abstract... | .version 52 0
.class public super BenchConfiguration
.super java/lang/Object
.field url Ljava/lang/String;
.field multiurls [Ljava/lang/String;
.field download_content Z
.field read_timeout I
.field connect_timeout I
.field requests_per_round I
.field concurrency I
.field rounds I
.method public <init> : ()... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:59: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
* Fri Jul 01 20:59: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;
... | 150,807 |
LineCounter | import java.io.*;
import java.nio.file.Path;
import java.nio.file.Paths;
public class LineCounter {
public static final int DEFAULT_BUFFER_SIZE = 1024;
private Path filePath;
private File file;
public LineCounter(Path filePath) {
this.filePath = filePath;
file = filePath.toFile();
}
public LineCo... | .version 52 0
.class public super LineCounter
.super java/lang/Object
.field public static final DEFAULT_BUFFER_SIZE I = 1024
.field private filePath Ljava/nio/file/Path;
.field private file Ljava/io/File;
.method public <init> : (Ljava/nio/file/Path;)V
.code stack 2 locals 2
L0: aload_0
L1: invok... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:40:30 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.io.File;
import java.io.FileNotFoundException;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:40: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;
... | 150,808 |
County | /** Created by Scan on 2016-01-27. */
public class County {
private int id;
private String countyName;
private String countyCode;
private int cityId;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getCountyName() {
return countyName;
}
p... | .version 52 0
.class public super County
.super java/lang/Object
.field private id I
.field private countyName Ljava/lang/String;
.field private countyCode Ljava/lang/String;
.field private cityId I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:35: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
* Sat Jul 02 17:35: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;
... | 150,809 |
OperationValidator | /**
* Validator of the allowed operation in the shifter.
*
* @author selau
*/
public class OperationValidator {
public static final char SUBTRACTION_OPERATION = '-';
public static final char SUM_OPERATION = '+';
public void validate(final char operation) {
switch (operation) {
case SUBTRACTION_OP... | .version 52 0
.class public super OperationValidator
.super java/lang/Object
.field public static final SUBTRACTION_OPERATION C = 45
.field public static final SUM_OPERATION C = 43
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:39:25 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 07:39: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;
... | 150,810 |
TaskBaseInfoModel | /*
* Copyright (c) 2019 Baidu.com, 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 TaskBaseInfoModel
.super java/lang/Object
.field private taskID Ljava/lang/String;
.field private type Ljava/lang/String;
.field private releaseRecordID Ljava/lang/String;
.field private status Ljava/lang/String;
.field private preTaskID Ljava/lang/String;
.field private pendAf... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:05:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:05: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;
... | 150,811 |
ArrayAssignment | /*
* Copyright (c) 1998, Oracle and/or its affiliates. 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 Softwa... | .version 52 0
.class public super ArrayAssignment
.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 29
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:37: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
* Sat Jul 02 11:37: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;
... | 150,812 |
Lifetime | import java.util.Date;
/**
* Representa uma vigência (tempo de vida) de um item de um contexto, próprio contexto e de uma
* instrução de Script.
*
* @author Douglas Siviotti (073.116.317-69)
* @version 26/05/2015
*/
public class Lifetime {
private Date begin;
private Date end;
public Lifetime() {
thi... | .version 52 0
.class public super Lifetime
.super java/lang/Object
.field private begin Ljava/util/Date;
.field private end Ljava/util/Date;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: new java/util/Date
L4: dup
L5: invokespecial Method java/util/Date <init> ()V
L8... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:43:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.time.Clock;
import java.time.Instant;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:43: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;
... | 150,813 |
Main | import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static int N;
public static int MAP[][];
public static int result = 0;
public static int VISITED[];
public static void main(String[] args) throws Exc... | .version 52 0
.class public super Main
.super java/lang/Object
.field public static N I
.field public static MAP [[I
.field public static result I
.field public static VISITED [I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:03:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPar... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:03: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;
... | 150,814 |
StringComp | import java.util.*;
public class StringComp {
// string.compareTo(another string) returns the difference between two strings...
public static void main(String[] args) {
String str1 = "Hello world";
String str2 = "hello world";
System.out.println(str1.compareTo(str2));
System.out.println(str1.compa... | .version 52 0
.class public super StringComp
.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
* Sun Jul 03 16:42:59 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:42: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;
... | 150,815 |
ConfigGroupDefinition | /**
* 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... | .version 52 0
.class public super ConfigGroupDefinition
.super java/lang/Object
.field private final groupNames Ljava/util/Set; .fieldattributes
.signature Ljava/util/Set<Ljava/lang/String;>;
.end fieldattributes
.field private final classNameToGroupsMap Ljava/util/Map; .fieldattributes
.signature Ljava/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:57:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.evos... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:57:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 150,816 |
DefaultErrors | /**
* Copyright 2015 Marco Scavuzzo Contact: Marco Scavuzzo <marco.scavuzzo@polimi.it>
*
* <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... | .version 52 0
.class public super DefaultErrors
.super java/lang/Object
.field public static alreadyConnected Ljava/lang/String;
.field public static connectionError Ljava/lang/String;
.field public static notConnected Ljava/lang/String;
.field public static credentialsStorageError Ljava/lang/String;
.field publ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:48:57 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:48:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 150,817 |
Contact | /**
* Copyright 2015 Cory Siebler
*
* <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, modify, merge, publish, ... | .version 52 0
.class public super Contact
.super java/lang/Object
.field public static final NEW_ID I = -1
.field private id J
.field private name Ljava/lang/String;
.field private email Ljava/lang/String;
.field private phone Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljav... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:33:06 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 22:33: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;
... | 150,818 |
Schemes | /*******************************************************************************
*
* Pentaho Big Data
*
* Copyright (C) 2002-2020 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... | .version 52 0
.class public super Schemes
.super java/lang/Object
.field public static final HDFS_SCHEME Ljava/lang/String; = 'hdfs'
.field public static final HDFS_SCHEME_DISPLAY_NAME Ljava/lang/String; = 'HDFS'
.field public static final MAPRFS_SCHEME Ljava/lang/String; = 'maprfs'
.field public static final MAP... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:48: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
* Sat Jul 02 02:48: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;
... | 150,819 |
Leetcode867 | public class Leetcode867 {
// 矩阵的转置是指将矩阵的主对角线翻转,交换矩阵的行索引与列索引。
public int[][] transpose(int[][] A) {
int R = A.length, C = A[0].length;
int[][] ans = new int[C][R];
for (int r = 0; r < R; ++r)
for (int c = 0; c < C; ++c) {
ans[c][r] = A[r][c];
}
return ans;
}
}
| .version 52 0
.class public super Leetcode867
.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
* Mon Jul 04 04:23: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 04:23: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;
... | 150,820 |
Square | public class Square {
public double l;
public Square(double l) {
this.l = l;
}
public double area() {
return this.l * this.l;
}
}
| .version 52 0
.class public super Square
.super java/lang/Object
.field public l D
.method public <init> : (D)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
L6: putfield Field Square l D
L9: return
L10:
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:52:18 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 15:52:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 150,821 |
ClassScanner | /** java utilites © darkslave.net https://github.com/darkslave86/util */
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.security.CodeSource;
import java.util.Collection;
import java.util.Enumeration;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.jar.JarEntry;
... | .version 52 0
.class public super ClassScanner
.super java/lang/Object
.field private static final MATCH_JAVA_FILE Ljava/util/regex/Pattern;
.field private static final CLEAR_JAR_NAME1 Ljava/util/regex/Pattern;
.field private static final CLEAR_JAR_NAME2 Ljava/util/regex/Pattern;
.method public static scan : (Lj... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:02:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import java.util.jar.JarEntry;
import org.evosuite.runtime.EvoRunner;
import org.evosuite... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:02:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 150,822 |
CashCard | public class CashCard {
private int accountNumber;
CashCard(int nrx) {
accountNumber = nrx;
}
public int getaccountNumber() {
return accountNumber;
}
public void setaccountNumber(int nrx) {
accountNumber = nrx;
}
}
| .version 52 0
.class public super CashCard
.super java/lang/Object
.field private accountNumber I
.method <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field CashCard accountNumber I
L9: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:40: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
* Sat Jul 02 17:40: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;
... | 150,823 |
TimerEvent | public class TimerEvent {
public static int TIMER_DEAD = 0;
public static int TIMER_FIRED = 1;
private String timerId;
private int condition;
private long time;
public TimerEvent() {
timerId = "null";
}
public TimerEvent(String timerId, int condition) {
super();
this.condition = conditio... | .version 52 0
.class public super TimerEvent
.super java/lang/Object
.field public static TIMER_DEAD I
.field public static TIMER_FIRED I
.field private timerId Ljava/lang/String;
.field private condition I
.field private time J
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:55: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
* Fri Jul 01 19:55: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;
... | 150,824 |
ClassPathHack | /*
* Copyright (C) 2013 midnightBITS
*
* 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,
* modify, merge, pub... | .version 52 0
.class public super ClassPathHack
.super java/lang/Object
.field private static final parameters [Ljava/lang/Class;
.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
* Fri Jul 01 04:13:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import java.net.URL;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:13: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;
... | 150,825 |
DatabaseManager | public class DatabaseManager {
public DatabaseManager() {
// TODO Auto-generated constructor stub
}
}
| .version 52 0
.class public super DatabaseManager
.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
L4 7
.end linenumber... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:22:26 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:22: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;
... | 150,826 |
Util | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | .version 52 0
.class public final super Util
.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 23
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:31:00 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 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;
... | 150,827 |
Timeout | @SuppressWarnings("javadoc")
public class Timeout {
public void doSomething() {
Thread t =
new Thread(
new Runnable() {
@Override
public void run() {
// do something
}
});
t.start();
try {
Thread.sleep(1000);... | .version 52 0
.class public super Timeout
.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... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:45: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
* Sun Jul 03 20:45: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;
... | 150,828 |
PermissionComparator | /*
* 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 PermissionComparator
.super java/lang/Object
.implements java/util/Comparator
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private static final wildcard C
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:24:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.security.AllPermission;
import java.security.Permission;
import java.security.SecurityPermission;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:24: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;
... | 150,829 |
Noeud | /**
* Représente un noeud dans un arbre de recherche. Chaque noeud est defini avec les coordonnees x et
* y chaque noeud possede aussi une valeur entiere et un cout.
*
* @author Gizem Bingöl
* @author Utku Görkem Kentenci
*/
public class Noeud {
/** la coordonnee x du noeud */
private int x;
/** la coordon... | .version 52 0
.class public super Noeud
.super java/lang/Object
.field private x I
.field private y I
.field private valeur I
.field private cout I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:08: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
* Sat Jul 02 22:08: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;
... | 150,830 |
LockData | import java.util.concurrent.atomic.AtomicInteger;
/** Created by wodezuiaishinageren on 2017/9/29. 锁数据 */
public class LockData {
/***锁路径***/
final String lockPath;
/***锁数量**/
final AtomicInteger lockCount = new AtomicInteger(1);
/**
* 当前路径对应的线程
*
* @param owningThred
* @param lockPath
*/
p... | .version 52 0
.class public super LockData
.super java/lang/Object
.field final lockPath Ljava/lang/String;
.field final lockCount Ljava/util/concurrent/atomic/AtomicInteger;
.method public <init> : (Ljava/lang/Thread;Ljava/lang/String;)V
.code stack 4 locals 3
L0: aload_0
L1: invokespecial Method ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:19:01 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.lang.MockThread;
import org.junit.runner.Ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:19: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;
... | 150,831 |
RateLimitExceededException | public class RateLimitExceededException extends Throwable {
public RateLimitExceededException(String s) {
super(s);
}
}
| .version 52 0
.class public super RateLimitExceededException
.super java/lang/Throwable
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Throwable <init> (Ljava/lang/String;)V
L5: return
L6:
.linenu... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:34: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
* Fri Jul 01 09:34: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;
... | 150,832 |
ZBuffer | /**
* Copyright 2009 - 2014 Jörgen Lundgren
*
* <p>This file is part of org.dayflower.
*
* <p>org.dayflower 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... | .version 52 0
.class public final super ZBuffer
.super java/lang/Object
.field private height I
.field private size I
.field private width I
.field private depthBuffer [I
.method private <init> : (II)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:09:14 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 21:09:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 150,833 |
FigureNotFoundException | /**
* Created FigureNotFoundException for throwing exception when figure is not found. Created on
* 29.01.2017.
*
* @since 1.0
* @author Matevosyan Vardan
* @version 1.0
*/
public class FigureNotFoundException extends Exception {
/**
* FigureNotFoundException constructor.
*
* @param msg inform user i... | .version 52 0
.class public super FigureNotFoundException
.super java/lang/Exception
.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/String;)V
L5: return
L6:
.linenumbe... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:36: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 03:36: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;
... | 150,834 |
Welcome1 | // Figura 2.1: Welcome1.java
// Programa de impressão de texto.
public class Welcome1 {
// metodo principal inicia a execução do aplicativo java
public static void main(String[] args) {
System.out.println("Welcome to Java Programming!");
} // fim do metodo main
} // fim da classe Welcome1
| .version 52 0
.class public super Welcome1
.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 code
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:08: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 07:08: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;
... | 150,835 |
NobleIntegersInArray | import java.util.Arrays;
/**
* Question:
* http://www.geeksforgeeks.org/noble-integers-in-an-array-count-of-greater-elements-is-equal-to-value/
*
* @author Sudharsanan Muralidharan
*/
public class NobleIntegersInArray {
public int nobleInteger(int[] arr) {
Arrays.sort(arr);
for (int i = 0; i < arr.leng... | .version 52 0
.class public super NobleIntegersInArray
.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 11
.end linenumbertable
.... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:14: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
* Sun Jul 03 23:14: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;
... | 150,836 |
MonitorResult | /*
* This file is part of Transitime.org
*
* Transitime.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License (GPL) as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* Transitime.org is distribu... | .version 52 0
.class public super MonitorResult
.super java/lang/Object
.implements java/io/Serializable
.field private final type Ljava/lang/String;
.field private final message Ljava/lang/String;
.field private static final serialVersionUID J = 8865389000445125279L
.method public <init> : (Ljava/lang/String;L... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:30: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
* Fri Jul 01 18:30: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;
... | 150,837 |
RunnableTask2 |
public class RunnableTask2 implements Runnable {
private static final long serialVersionUID = 2105094575950438867L;
private String s = "1234";
@Override
public void run() {
System.out.println("ioio");
}
}
| .version 52 0
.class public super RunnableTask2
.super java/lang/Object
.implements java/lang/Runnable
.field private static final serialVersionUID J = 2105094575950438867L
.field private s Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method j... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:20:58 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:20: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;
... | 150,838 |
Search | /*
* The MIT License
*
* Copyright 2016 Patricio Armesto <patricio.armesto at gmail.com>.
*
* 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 limit... | .version 52 0
.class public super Search
.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 30
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:58:22 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 16:58: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;
... | 150,839 |
UnicodeReader | import java.io.*;
/**
* Reads away UNICODE Byte Order Mark on construction. See
* http://www.unicode.org/unicode/faq/utf_bom.html
*
* <pre>
* 00 00 FE FF = UTF-32, big-endian
* FF FE 00 00 = UTF-32, little-endian
* FE FF = UTF-16, big-endian
* FF FE = UTF-16, little-endian
* EF BB BF ... | .version 52 0
.class public super UnicodeReader
.super java/io/Reader
.field private static final BOM_MAX_SIZE I = 4
.field private delegate Ljava/io/InputStreamReader;
.method public <init> : (Ljava/io/InputStream;)V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/io/Reader <init>... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:02:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.File;
import java.io.IOException;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:02:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 150,840 |
GetRT | public class GetRT {
public static void main(String[] args) throws Exception {
System.out.println(System.getProperty("sun.boot.class.path"));
}
}
| .version 52 0
.class public super GetRT
.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
.end m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:27: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
* Fri Jul 01 18:27: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;
... | 150,841 |
Const | /*******************************************************************************
*
* Copyright (C) 2015-2021 the BBoxDB project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License ... | .version 52 0
.class public super Const
.super java/lang/Object
.field public static final VERSION Ljava/lang/String; = '0.9.6'
.field public static final CONFIG_FILE Ljava/lang/String; = 'bboxdb.yaml'
.field public static final OPERATION_RETRY I = 20
.field public static final APPLICATION_BYTE_ORDER Ljava/nio/By... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:22: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
* Fri Jul 01 09:22: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;
... | 150,842 |
PPrint | // : net/mindview/util/PPrint.java
// Pretty-printer for collections
//
import java.util.*;
public class PPrint {
public static String pformat(Collection<?> c) {
if (c.size() == 0) return "[]";
StringBuilder result = new StringBuilder("[");
for (Object elem : c) {
if (c.size() != 1) result.append(... | .version 52 0
.class public super PPrint
.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
.end ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:25:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Collection;
import java.util.LinkedList;
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
* Mon Jul 04 13:25: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;
... | 150,843 |
NullTest | /*
* Copyright 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 Foundati... | .version 52 0
.class public super NullTest
.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 33
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:37: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 14:37: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;
... | 150,844 |
LoadFailedException | /**
* ConfigLoaderException.
*
* @author Tobias Theuer - theuer@synyx.de
*/
public class LoadFailedException extends RuntimeException {
public LoadFailedException(String message) {
super(message);
}
public LoadFailedException(String msg, Throwable cause) {
super(msg, cause);
}
}
| .version 52 0
.class public super LoadFailedException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:05:06 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 01:05: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;
... | 150,845 |
FFConstants | public class FFConstants {
/*Initial estimates for regression*/
public static final double InitialCHalfValue = 1.0d;
public static final double InitialBValue = 0.3d;
/*For Histogram generator && FFStatistics*/
// upper bound cutoff for histogram domain
public static final double CLEAN_UPPER_BOUND = 10d;
... | .version 52 0
.class public super FFConstants
.super java/lang/Object
.field public static final InitialCHalfValue D = +1.0
.field public static final InitialBValue D = +0.3
.field public static final CLEAN_UPPER_BOUND D = +10.0
.field public static final CLEAN_LOWER_BOUND D = -10.0
.field public static final CO... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:13: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 18:13: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;
... | 150,846 |
LogFormatter | import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.logging.Formatter;
import java.util.logging.LogRecord;
/**
* A formatter for JDK logs which produces a more concise log output than the standard JDK setting.
*/
public class LogFormatter extends Formatter {
private final DateFormat ti... | .version 52 0
.class public super LogFormatter
.super java/util/logging/Formatter
.field private final timeFormat Ljava/text/DateFormat;
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/util/logging/Formatter <init> ()V
L4: aload_0
L5: new java/t... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:36:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.logging.Level;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockTh... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:36: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;
... | 150,847 |
GowingConstants | /*
* Copyright © 2015 Obtuse Systems Corporation
*/
import java.util.Collections;
import java.util.Date;
import java.util.SortedSet;
import java.util.TreeSet;
/**
* Configuration constants.
*
* <p>Be careful as there are probably a few real "learning opportunities" in here.
*/
public class GowingConstants {
... | .version 52 0
.class public super GowingConstants
.super java/lang/Object
.field static final LINE_COMMENT_CHAR C = 35
.field static final LINE_METADATA_CHAR C = 126
.field public static final NULL_VALUE C = 248
.field public static final TAG_PRIMITIVE_ARRAY C = 97
.field public static final TAG_CONTAINER_ARRAY ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:06: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 22:06: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;
... | 150,848 |
LoginMsg | public class LoginMsg {
public String USER;
public String PASSWD;
}
| .version 52 0
.class public super LoginMsg
.super java/lang/Object
.field public USER Ljava/lang/String;
.field public PASSWD 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:
.lin... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:01: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:01: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;
... | 150,849 |
ID3v2DataInput | /*
* Copyright 2013-2014 Odysseus Software GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | .version 52 0
.class public super ID3v2DataInput
.super java/lang/Object
.field private final input Ljava/io/InputStream;
.method public <init> : (Ljava/io/InputStream;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:34:08 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.io.ByteArrayInputStream;
import java.io.DataInpu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:34: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;
... | 150,850 |
ExtraStorageVolumeRepair | /*******************************************************************************
* (C) Copyright 2016 Hewlett Packard Enterprise Development LP
*
* 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 Licen... | .version 52 0
.class public super ExtraStorageVolumeRepair
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -5297766978762816486L
.field private type Ljava/lang/String;
.field private resourceUri Ljava/lang/String;
.method public <init> : ()V
.code s... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22: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
* Sun Jul 03 22: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;
... | 150,851 |
MDMHttpUtils | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.URL;
import java.net.URLConnection;
import java.util.Map;
import java.util.Map.Entry;
public class MDMHttpUtils {
/**
* 向指定URL发送GET方法的请求
*
* @param url 发送请求的URL
* @par... | .version 52 0
.class public super MDMHttpUtils
.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... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:11:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
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 07:11: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;
... | 150,852 |
Claim | public class Claim {
private String uri;
private String value;
public String getUri() {
return uri;
}
public void setUri(String uri) {
this.uri = uri;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}
| .version 52 0
.class public super Claim
.super java/lang/Object
.field private uri Ljava/lang/String;
.field private value 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:
.linenu... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:49: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
* Sat Jul 02 18:49: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;
... | 150,853 |
MailSenderBean | import java.util.Properties;
/**
* E-mail bean
*
* @description 本程序用于来自谢先斌毕业论文,如有使用请联系作 者,注明出处。 @URL 代码地址:http://github.com/openRDF/rdf_fronts
* @dateTime 2014-3-22 下午6:47:59
* @author XieXianbin
* @email a.b@hotmail.com
*/
public class MailSenderBean {
// 发送邮件的服务器的地址
private String mailServerHost;
// 发送邮... | .version 52 0
.class public super MailSenderBean
.super java/lang/Object
.field private mailServerHost Ljava/lang/String;
.field private mailServerPort Ljava/lang/String;
.field private fromAddress Ljava/lang/String;
.field private toAddress Ljava/lang/String;
.field private userName Ljava/lang/String;
.field p... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:17: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 02:17: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;
... | 150,854 |
BinarySearch | public class BinarySearch {
public static final int NOT_FOUND = -1;
public static void main(String[] args) {
int[] input = new int[] {1, 2, 2, 3, 4, 7, 10, 11, 15, 18};
System.out.println("6==" + binarySearch(10, input));
System.out.println("5==" + binarySearch(7, input));
System.out.println("0=="... | .version 52 0
.class public super BinarySearch
.super java/lang/Object
.field public static final NOT_FOUND I = -1
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:32: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 08:32: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;
... | 150,855 |
PathNotFoundException | /*
* Licensed to DuraSpace under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership.
*
* DuraSpace licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file excep... | .version 52 0
.class public super PathNotFoundException
.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
* Mon Jul 04 16:12:10 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.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:12:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 150,856 |
Media | public class Media {
public static void main(String[] args) {
float numero1, numero2;
float media;
numero1 = 4.0f;
numero2 = 7.5f;
media = (numero1 + numero2) / 2;
System.out.print("La media es: " + media);
// System.out.print(media);
}
}
| .version 52 0
.class public super Media
.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
.end m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:38:45 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 02:38: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;
... | 150,857 |
Blort | /*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | .version 52 0
.class public super Blort
.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 17
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:34: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
* Fri Jul 01 20:34: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;
... | 150,858 |
ClassLoadException | /*
Copyright 2009-(CURRENT YEAR) Igor Polevoy
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | .version 52 0
.class public super ClassLoadException
.super java/lang/Exception
.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/String;)V
L5: return
L6:
.linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:08:54 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.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:08: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;
... | 150,859 |
MyPrice | import java.math.BigDecimal;
public class MyPrice {
private BigDecimal landedPrice;
private BigDecimal listingPrice;
private BigDecimal shippingPrice;
public BigDecimal getLandedPrice() {
return landedPrice;
}
public void setLandedPrice(BigDecimal landedPrice) {
this.landedPrice = landedPrice;
... | .version 52 0
.class public super MyPrice
.super java/lang/Object
.field private landedPrice Ljava/math/BigDecimal;
.field private listingPrice Ljava/math/BigDecimal;
.field private shippingPrice Ljava/math/BigDecimal;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecia... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:41:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.math.BigDecimal;
import java.math.MathContext;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runne... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:41: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;
... | 150,860 |
ByteUtil | /**
* Copyright 2010 - 2022 JetBrains s.r.o.
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>https://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable l... | .version 52 0
.class public super ByteUtil
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 20
L4 21
.end linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:32: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
* Fri Jul 01 17:32: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;
... | 150,861 |
IOUtils | /*******************************************************************************
* Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com.
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program ... | .version 52 0
.class public super IOUtils
.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 27
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:30: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
* Fri Jul 01 12:30: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;
... | 150,862 |
CompactedObjectOutputStream | /*
* Copyright 1999-2011 Alibaba Group.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | .version 52 0
.class public super CompactedObjectOutputStream
.super java/io/ObjectOutputStream
.method public <init> : (Ljava/io/OutputStream;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/io/ObjectOutputStream <init> (Ljava/io/OutputStream;)V
L5: return
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:27:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.NotSerializableException;
import java.io.ObjectStreamClass;
import org.evosuite.runtime.EvoRunner;
imp... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:27: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;
... | 150,863 |
License | import java.util.Date;
public class License {
private Long id;
private String name;
private Boolean status;
private Date createdTime;
private Date updatedTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
... | .version 52 0
.class public super License
.super java/lang/Object
.field private id Ljava/lang/Long;
.field private name Ljava/lang/String;
.field private status Ljava/lang/Boolean;
.field private createdTime Ljava/util/Date;
.field private updatedTime Ljava/util/Date;
.method public <init> : ()V
.code st... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:22:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:22: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;
... | 150,864 |
FrogRiverOne | public class FrogRiverOne {
public static int solution(int X, int A[]) {
int step = X;
int temp[] = new int[step];
for (int i = 0; i < temp.length; i++) {
temp[i] = i + 1;
}
for (int i = 0; i < A.length; i++) {
if (A[i] > X || temp[A[i] - 1] != 0) {
temp[A[i] - 1] = 0;
... | .version 52 0
.class public super FrogRiverOne
.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
* Sat Jul 02 15:43:34 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 15:43: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;
... | 150,865 |
RegisteredCharsets | /*
* Copyright (c) 2010, Oracle and/or its affiliates. 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 Softwa... | .version 52 0
.class public super RegisteredCharsets
.super java/lang/Object
.field static ianaRegistered [Ljava/lang/String;
.field static ianaUnRegistered [Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:43:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.charset.IllegalCharsetNameException;
import java.nio.charset.UnsupportedCharsetException;
import org.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:43: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;
... | 150,866 |
LoadClassByApi | public class LoadClassByApi {
public static void main(String[] args) throws Exception {
// 会执行初始化操作
Class clazz1 = Class.forName("class_load.ConstTest");
// 不会执行初始化操作
Class clazz2 = new ClassLoader() {}.loadClass("class_load.ConstTest");
// 依然不会执行初始化操作(static代码块)
clazz2.newInstance();
S... | .version 52 0
.class public super LoadClassByApi
.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
* Mon Jul 04 00:37:04 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 00:37: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;
... | 150,867 |
WorkQueue | /*
* BSD License
*
* Copyright (c) 2007, The University of Manchester (UK)
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyri... | .version 52 0
.class public super WorkQueue
.super java/lang/Object
.field public x1 I
.field public y1 I
.field public x2 I
.field public y2 I
.field public nn I
.field public next LWorkQueue;
.method <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <in... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:52:29 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 17:52: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;
... | 150,868 |
EntityCompare | import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
public final class EntityCompare {
public static final int DECIMAL_DIGITS = 3;
/** 工具类是一系列静态成员或方法的集合,意味着它不可以被实例化 如果没有声明构造函数,则会默认有一个公有的构造函数 因此需要给工具类至少声明一个非公有的构造函数 */
private EntityCompare() {}
... | .version 52 0
.class public final super EntityCompare
.super java/lang/Object
.field public static final DECIMAL_DIGITS I = 3
.method private <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:48:52 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.MockDate;
import org.junit.runner.RunW... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:48: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;
... | 150,869 |
RemoveDuplicatesfromSortedArray | public class RemoveDuplicatesfromSortedArray {
public int removeDuplicates(int[] A) {
int i = 0, j = 0, len = 1;
if (A == null || A.length == 0) return 0;
for (; j < A.length; j++) {
if (A[i] != A[j]) {
A[i + 1] = A[j];
i++;
len++;
}
}
return len;
}
public ... | .version 52 0
.class public super RemoveDuplicatesfromSortedArray
.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 2
.end linenumberta... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:12: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 09:12: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;
... | 150,870 |
DictQueryDto | import java.io.Serializable;
/**
* <br>
* Created by hu ping on 10/22/2019
*
* <p>
*/
public class DictQueryDto implements Serializable {
private String name;
private String type;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Strin... | .version 52 0
.class public super DictQueryDto
.super java/lang/Object
.implements java/io/Serializable
.field private name Ljava/lang/String;
.field private type Ljava/lang/String;
.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 04:42: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 04:42: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;
... | 150,871 |
CsvWriter | import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
public class CsvWriter implements AutoCloseable {
private final PrintWriter writer;
private final String[] columns;
public CsvWriter(final String folder, final String fileName, final String... columns) {
if (columns.leng... | .version 52 0
.class public super CsvWriter
.super java/lang/Object
.implements java/lang/AutoCloseable
.field private final writer Ljava/io/PrintWriter;
.field private final columns [Ljava/lang/String;
.method public varargs <init> : (Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V
.code stack 5 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:33: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
* Mon Jul 04 14:33: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;
... | 150,872 |
Rectangle | /**
* Write a description of class Rectangle here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Rectangle {
// instance variables - replace the example below with your own
private int width, height;
/** Constructor for objects of class Rectangle */
public Rectangle(int w... | .version 52 0
.class public super Rectangle
.super java/lang/Object
.field private width I
.field private height I
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: iload_1
L5: iflt L12
L8: iload_2
L9: ifge ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:40:46 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 11:40:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 150,873 |
Add | import java.util.ArrayList;
import java.util.List;
public class Add {
public static void main(String[] args) {
List s1 = new ArrayList();
s1.add("a");
s1.add("b");
s1.add(1, "c");
List s2 = new ArrayList(s1.subList(1, 1));
s1.addAll(s2);
System.out.println(s1);
}
}
| .version 52 0
.class public super Add
.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 code
.end met... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:33:50 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:33: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;
... | 150,874 |
Javascript | public class Javascript {
private String executionStartTime;
private String executionStopTime;
private String executionTime;
private String instructionsUsed;
private String tableName;
/**
* @return The executionStartTime
*/
public String getExecutionStartTime() {
return executionStartTime;
}... | .version 52 0
.class public super Javascript
.super java/lang/Object
.field private executionStartTime Ljava/lang/String;
.field private executionStopTime Ljava/lang/String;
.field private executionTime Ljava/lang/String;
.field private instructionsUsed Ljava/lang/String;
.field private tableName Ljava/lang/Stri... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:06: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
* Sat Jul 02 16:06: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;
... | 150,875 |
Main | /*
* 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 Main {}
| .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 12
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03: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 03: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;
... | 150,876 |
ConfigReadWrite | import java.io.IOException;
import java.util.Properties;
/**
* @author zhuhengwei.com @Description:读取和设置配置文件
*/
public class ConfigReadWrite {
private Properties props;
/** 默认的配置文件,config源码包下的config.properties文件 */
public ConfigReadWrite() {
this.props = new Properties();
try {
props.load(this.... | .version 52 0
.class public super ConfigReadWrite
.super java/lang/Object
.field private props Ljava/util/Properties;
.method public <init> : ()V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new java/util/Properties
L8: dup
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:09:04 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 06:09: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;
... | 150,877 |
CollectionIterator | import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Scanner;
public class CollectionIterator {
static Iterator iterateToPound(List list) {
Iterator iterator = list.iterator();
while (iterator.hasNext()) {
Object element = iterator.next();
if (element i... | .version 52 0
.class public super CollectionIterator
.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... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:10:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.NoSuchElementException;
import org.evosuite.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:10: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;
... | 150,878 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 1
.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 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:04: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
* Fri Jul 01 17:04: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;
... | 150,879 |
MaxMoneyException | public class MaxMoneyException extends Exception {
private static final long serialVersionUID = 1L;
}
| .version 52 0
.class public super MaxMoneyException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:48:50 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:48: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;
... | 150,880 |
PagoSucursalesCheque | public class PagoSucursalesCheque {
private String banco;
private int noCheque;
public String getBanco() {
return banco;
}
public int getNoCheque() {
return noCheque;
}
public void setBanco(String banco) {
this.banco = banco;
}
public void setNoCheque(int noCheque) {
this.noCheque ... | .version 52 0
.class public super PagoSucursalesCheque
.super java/lang/Object
.field private banco Ljava/lang/String;
.field private noCheque I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.lin... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:03:15 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:03: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;
... | 150,881 |
Solution | public class Solution {
public int countBattleships(char[][] board) {
int cnt = 0;
for (int i = 0; i < board.length; i++) {
for (int j = 0; j < board[i].length; j++) {
if ('X' == board[i][j]
&& (0 == i || '.' == board[i - 1][j])
&& (0 == j || '.' == board[i][j - 1])) {
... | .version 52 0
.class public super Solution
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:34: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
* Mon Jul 04 14:34: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;
... | 150,882 |
StreamCollector | import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
public class StreamCollector implements Runnable {
private final InputStreamReader input;
private final StringBuilder buf = new StringBuilder(1024);
StreamCollector(InputStream input) {
this.input = new InputStreamR... | .version 52 0
.class public super StreamCollector
.super java/lang/Object
.implements java/lang/Runnable
.field private final input Ljava/io/InputStreamReader;
.field private final buf Ljava/lang/StringBuilder;
.method <init> : (Ljava/io/InputStream;)V
.code stack 4 locals 2
L0: aload_0
L1: invoke... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:04:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.ByteArrayInputStream;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(E... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:04: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;
... | 150,883 |
VolumeSnapshotResourceTest | //
// import org.junit.BeforeClass;
// import org.junit.Test;
//
// import com.huawei.esdk.fusionmanager.local.ServiceFactory;
// import com.huawei.esdk.fusionmanager.local.model.ClientProviderBean;
// import com.huawei.esdk.fusionmanager.local.model.storage.CreateVolumeSnapshotReq;
// import com.huawei.esdk.fusionmana... | .version 52 0
.class public super VolumeSnapshotResourceTest
.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 19
.end linenumbertable ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:10:51 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 05:10:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 150,884 |
Page | /*
* 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.
*/
import java.io.Serializable;
import java.util.List;
import java.util.Objects;
/**
* @author Zheng Wei
*/
public class Page implemen... | .version 52 0
.class public super Page
.super java/lang/Object
.implements java/io/Serializable
.field private link Ljava/lang/String;
.field private content Ljava/lang/StringBuilder;
.field private references Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattrib... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:13:38 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
* Mon Jul 04 13:13: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;
... | 150,885 |
Prey | class Prey {
double x, y;
int dir;
double wang, ang;
double sp;
private final double size;
private final long spawnTime;
Prey(double x, double y, double size, int dir, double wang, double ang, double sp) {
this.x = x;
this.y = y;
this.size = size;
this.dir = dir;
this.wang = wang;
... | .version 52 0
.class super Prey
.super java/lang/Object
.field x D
.field y D
.field dir I
.field wang D
.field ang D
.field sp D
.field private final size D
.field private final spawnTime J
.method <init> : (DDDIDDD)V
.code stack 3 locals 14
L0: aload_0
L1: invokespecial Method java/lang/Obj... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:27:40 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 11:27: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;
... | 150,886 |
PublicBean | // Copyright 2004 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | .version 52 0
.class public super PublicBean
.super java/lang/Object
.field private static r Ljava/util/Random;
.field public stringProperty Ljava/lang/String;
.field public objectProperty Ljava/lang/Object;
.field public longProperty J
.field private privateLongProperty J
.method public <init> : ()V
.cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:09:50 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 11:09: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;
... | 150,887 |
Substring | /**
* String comparison.
*
* @author Megger
* @version $Id$
* @since 0.1
*/
public class Substring {
/**
* @return boolean result.
* @param origin - origin string.
* @param sub - substring.
*/
boolean contains(String origin, String sub) {
char[] str = origin.toCharArray();
char[] strsub = ... | .version 52 0
.class public super Substring
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:32:25 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 07:32: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;
... | 150,888 |
SyntaxError | public class SyntaxError extends RuntimeException {
public final String message;
public final int line;
public final int column;
public SyntaxError(String message, int line, int column) {
super(message);
this.message = message;
this.line = line;
this.column = column;
}
}
| .version 52 0
.class public super SyntaxError
.super java/lang/RuntimeException
.field public final message Ljava/lang/String;
.field public final line I
.field public final column I
.method public <init> : (Ljava/lang/String;II)V
.code stack 2 locals 4
L0: aload_0
L1: aload_1
L2: invokespeci... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:36:59 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:36: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;
... | 150,889 |
MemoryFile | // Generated automatically from android.os.MemoryFile for testing purposes
import java.io.InputStream;
import java.io.OutputStream;
public class MemoryFile {
protected MemoryFile() {}
public InputStream getInputStream() {
return null;
}
public MemoryFile(String p0, int p1) {}
public OutputStream getO... | .version 52 0
.class public super MemoryFile
.super java/lang/Object
.method protected <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 cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:38:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.InputStream;
import java.io.OutputStream;
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
* Sat Jul 02 09:38: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;
... | 150,890 |
Euler | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Euler {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int testCaseCount = Integer.parseInt(br.readLine());
for (int t... | .version 52 0
.class super Euler
.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
.metho... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:25:01 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 07:25: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;
... | 150,891 |
OpcodeXX | /*
* This file is part of the Jikes RVM project (http://jikesrvm.org).
*
* This file is licensed to You under the Eclipse Public License (EPL);
* You may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.opensource.org/licenses/eclipse-1.0.... | .version 52 0
.class final super OpcodeXX
.super java/lang/Object
.field key I
.field form I
.field format I
.field mnemonic Ljava/lang/String;
.method <init> : (IIILjava/lang/String;)V
.code stack 2 locals 5
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:45: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
* Sat Jul 02 04:45: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;
... | 150,892 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String PACKAGE_NAME = "com.thalmic.android.sample.background.test";
public static final String BUILD_TYPE = "debug";
public static final Strin... | .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z
.field public static final PACKAGE_NAME Ljava/lang/String; = 'com.thalmic.android.sample.background.test'
.field public static final BUILD_TYPE Ljava/lang/String; = 'debug'
.field public static final FLA... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:12:24 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 10:12: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;
... | 150,893 |
TypeRichSummary | /*
* The MIT License
*
* Copyright 2016 Stefano Vannucci.
*
* 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 TypeRichSummary
.super java/lang/Object
.field private display_name Ljava/lang/String;
.field private url Ljava/lang/String;
.field private type_name Ljava/lang/String;
.field private transient actions [Ljava/lang/String;
.field private transient products [Ljava/lang/String;
.f... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:11: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 00:11: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;
... | 150,894 |
ColorComputation | import java.awt.Color;
public final class ColorComputation {
private Color color;
private ColorComputation(Color color) {
this.color = color;
}
public static ColorComputation of(Color color) {
return new ColorComputation(color);
}
/** Multiplies each component of each color by the other */
pu... | .version 52 0
.class public final super ColorComputation
.super java/lang/Object
.field private color Ljava/awt/Color;
.method private <init> : (Ljava/awt/Color;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfi... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:46:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.Color;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:46: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;
... | 150,895 |
SpecExample | public class SpecExample {
private final String section;
private final int exampleNumber;
private final String source;
private final String html;
public SpecExample(String section, int exampleNumber, String source, String html) {
this.section = section;
this.exampleNumber = exampleNumber;
this.s... | .version 52 0
.class public super SpecExample
.super java/lang/Object
.field private final section Ljava/lang/String;
.field private final exampleNumber I
.field private final source Ljava/lang/String;
.field private final html Ljava/lang/String;
.method public <init> : (Ljava/lang/String;ILjava/lang/String;Lja... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:53:59 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:53: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;
... | 150,896 |
Province | /** Created by MaTianQiong on 2016/4/10. */
public class Province {
private int id;
private String provinceName;
private String provinceCode;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getProvinceCode() {
return provinceCode;
}
public ... | .version 52 0
.class public super Province
.super java/lang/Object
.field private id I
.field private provinceName Ljava/lang/String;
.field private provinceCode Ljava/lang/String;
.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 10:20:45 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 10:20: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;
... | 150,897 |
Cobweb | /*
The MIT License (MIT)
Copyright (c) 2015 Renjith Mathew
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, modify, merge, ... | .version 52 0
.class public super Cobweb
.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 22
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:09: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 09:09: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;
... | 150,898 |
HexFormatUtil | /*
* Copyright (C) 2016-2022 ActionTech.
* based on code by MyCATCopyrightHolder Copyright (c) 2013, OpenCloudDB/MyCAT.
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher.
*/
import java.util.Arrays;
/**
* @author mycat
*/
public final class HexFormatUtil {
private HexFormatUtil() {}
p... | .version 52 0
.class public final super HexFormatUtil
.super java/lang/Object
.field private static final HEX_ARRAY [C
.method private <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
* Fri Jul 01 06:25:45 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 06:25: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;
... | 150,899 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.