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 |
|---|---|---|---|---|---|
DummySocket | /*
* This file is part of DrFTPD, Distributed FTP Daemon.
*
* DrFTPD is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* DrFTPD... | .version 52 0
.class public super DummySocket
.super java/net/Socket
.field private final _out Ljava/io/ByteArrayOutputStream;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/net/Socket <init> ()V
L4: aload_0
L5: new java/io/ByteArrayOutputStrea... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:34:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayOutputStream;
import java.net.InetAddress;
import java.net.SocketAddress;
import java.net.Soc... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:34: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;
... | 136,700 |
MSPastryCommonConfig | /**
* Fixed Parameters of a pastry network. They have a default value and can be configured at startup
* of the network, once only.
*
* <p>Title: MSPASTRY
*
* <p>Description: MsPastry implementation for PeerSim
*
* <p>Copyright: Copyright (c) 2007
*
* <p>Company: The Pastry Group
*
* @author Elisa Bisoffi, ... | .version 52 0
.class public super MSPastryCommonConfig
.super java/lang/Object
.field public static final DIGITS I = 32
.field public static final BITS I = 128
.field public static B I
.field public static BASE I
.field public static L I
.field public static BD I
.field public static RR I
.field public static... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:53:23 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 14:53: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;
... | 136,701 |
SessionStaleException | /*
* Copyright (C) 2011 Whisper Systems
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is di... | .version 52 0
.class public super SessionStaleException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 23
L4 24
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:32:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:32:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 136,702 |
TreaterException | public class TreaterException extends Exception {
public TreaterException() {
// TODO Auto-generated constructor stub
}
public TreaterException(String message) {
super(message);
// TODO Auto-generated constructor stub
}
public TreaterException(Throwable cause) {
super(cause);
// TODO Au... | .version 52 0
.class public super TreaterException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 5
L4 7
.end lin... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:32: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
* Sun Jul 03 15:32: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;
... | 136,703 |
HiveConstants | /*******************************************************************************
* Copyright (c) 2004, 2013 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is av... | .version 52 0
.class public super HiveConstants
.super java/lang/Object
.field public static final PLUGIN_ID Ljava/lang/String; = 'org.eclipse.birt.report.data.oda.hive'
.field public static final DRIVER_CLASS Ljava/lang/String; = 'org.eclipse.birt.report.data.oda.hive.HiveDriver'
.field public static final DRIVER... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:29:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:29: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;
... | 136,704 |
GoogleResponse | import java.util.ArrayList;
import java.util.List;
/******************************************************************************
* Class that holds the response and confidence of a Google recognizer request
*
* @author Luke Kuza, Duncan Jauncey, Aaron Gokaslan
****************************************************... | .version 52 0
.class public super GoogleResponse
.super java/lang/Object
.field private response Ljava/lang/String;
.field private confidence Ljava/lang/String;
.field private otherPossibleResponses Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.meth... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:54:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.List;
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 12:54: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;
... | 136,705 |
Constants | /** Created by smdojt on 3/15/2017. */
public class Constants {
public static final String ROOT_URL = "http://192.168.15.186/ManilaFame/register/";
public static final String URL_REGISTER = ROOT_URL + "registerBuyer.php";
}
| .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final ROOT_URL Ljava/lang/String; = 'http://192.168.15.186/ManilaFame/register/'
.field public static final URL_REGISTER Ljava/lang/String; = 'http://192.168.15.186/ManilaFame/register/registerBuyer.php'
.method public <init>... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:55: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
* Fri Jul 01 20:55: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;
... | 136,706 |
SequentialSearch | import java.util.Scanner;
public class SequentialSearch {
public static int[] array = {
49, 38, 65, 97, 76, 13, 27, 49, 78, 34, 12, 64, 5, 4, 62, 99, 98, 54, 56, 17, 18, 23, 34, 15,
35, 25, 53, 51, 41, 338, 625, 937, 746, 163, 277, 491, 783, 344, 172, 364, 25, 14, 262, 3994,
958, 544, 526, 137, 148, 253,... | .version 52 0
.class public super SequentialSearch
.super java/lang/Object
.field public static array [I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:58:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:58: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;
... | 136,707 |
MD5Util | import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.util.Arrays;
public class MD5Util {
private static final String HEX_NUMS_STR = "0123456789ABCDEF";
private static final Integer SALT_LENGTH... | .version 52 0
.class public super MD5Util
.super java/lang/Object
.field private static final HEX_NUMS_STR Ljava/lang/String; = '0123456789ABCDEF'
.field private static final SALT_LENGTH Ljava/lang/Integer;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:38: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 03:38: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;
... | 136,708 |
WriteByteArrayToFile | /**
* Write byte array to file using BufferedOutputStream This example shows how to write a byte array
* to file using java BufferedOutputStream.
*
* @author Keeyana Jones <keeyanajones@yahoo.com>
*/
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.File... | .version 52 0
.class public super WriteByteArrayToFile
.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
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:45:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.testdata.EvoSuiteFile;
import org.evosuite.runtime.te... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:45: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;
... | 136,709 |
Lexer | /* Copyright 2015 Mikołaj Olszewski
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | .version 52 0
.class public super Lexer
.super java/lang/Object
.field public static final INVALID I = -2
.field public static final END I = -1
.field public static final NONE I = 0
.field public static final VARIABLE I = 1
.field public static final NUMBER I = 2
.field public static final LEFT I = 10
.field p... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:12:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.FileDescriptor;
import org.evosuite.runtime.EvoRu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22: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;
... | 136,710 |
HanoiTowersPuzzle | // Copyright 2016 The Sawdust Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | .version 52 0
.class public super HanoiTowersPuzzle
.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 31
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:02:29 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 19:02:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 136,711 |
AppiumConfi | /** Created by tecdesdev on 06/07/15. */
public class AppiumConfi {}
| .version 52 0
.class public super AppiumConfi
.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
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:48: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 21:48: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;
... | 136,712 |
FileTransforms | /*
* Copyright (C) 2011 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 applicab... | .version 52 0
.class public super FileTransforms
.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 24
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:04:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.zip.Zi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:04: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;
... | 136,713 |
DateTimeFunctions | /**
* @user Dahai CAO
* @date 13/10/2011 10:17:15 AM
*/
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
public class DateTimeFunctions {
/**
* Return Gregorian calendar from <code>date</code>.
*
* @date 13/10/2011 11:18:47 AM
* ... | .version 52 0
.class public super DateTimeFunctions
.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... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:22:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:22: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;
... | 136,714 |
AssertionTest | // Ensures assertions are enabled during testing.
public class AssertionTest {
public static void main(String[] args) {
try {
assert false;
} catch (AssertionError e) {
System.out.println("Caught assertion error.");
}
}
}
| .version 52 0
.class public super AssertionTest
.super java/lang/Object
.field static final synthetic $assertionsDisabled Z
.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:20: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
* Fri Jul 01 04:20: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;
... | 136,715 |
PlugwiseInitializationException | /**
* Copyright (c) 2010-2015, openHAB.org and others.
*
* <p>All rights reserved. This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
/**
* Exc... | .version 52 0
.class public super PlugwiseInitializationException
.super java/lang/Exception
.field private static final serialVersionUID J = 2095258016390913221L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exce... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:34:57 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
* Sun Jul 03 23:34: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;
... | 136,716 |
ClientQueryForm | public class ClientQueryForm {}
| .version 52 0
.class public super ClientQueryForm
.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 co... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:57: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
* Sun Jul 03 18:57: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;
... | 136,717 |
JavaCondicionalesAvanzados | /**
* @created on : 02-ago-2017, 14:22:48
* @see
* @since
* @version
* @author Raul Vela Salas
*/
public class JavaCondicionalesAvanzados {
private static String presion;
private static String humedad;
public static void main(String[] args) {
System.out.println("Presion : " + presion);
System.out... | .version 52 0
.class public super JavaCondicionalesAvanzados
.super java/lang/Object
.field private static presion Ljava/lang/String;
.field private static humedad 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
* Mon Jul 04 08:04:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 08:04: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;
... | 136,718 |
Solution | import java.util.HashMap;
import java.util.Map;
public class Solution {
private static Map<String, Integer> values;
static {
values = new HashMap<String, Integer>();
// 1 digit
values.put("I", 1);
values.put("V", 5);
values.put("IV", 4);
values.put("IX", 9);
// 2 digit
values.put("... | .version 52 0
.class public super Solution
.super java/lang/Object
.field private static values Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespeci... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:44:53 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 11:44: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;
... | 136,719 |
User | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | .version 52 0
.class public super User
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private path Ljava/lang/String;
.field private userName Ljava/lang/String;
.field private userId Ljava/lang/String;
.field private arn Ljava/lang/String;
.field private createD... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:35:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.Instant;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:35: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;
... | 136,720 |
PythonWrapperError | /** Represents some kind of python-wrapper runtime error. */
public class PythonWrapperError extends Error {
public PythonWrapperError(String message) {
super(message);
}
}
| .version 52 0
.class public super PythonWrapperError
.super java/lang/Error
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Error <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:35: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
* Sun Jul 03 20:35: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;
... | 136,721 |
ByteBufferInputStream | import java.io.*;
import java.nio.BufferUnderflowException;
import java.nio.ByteBuffer;
/**
* Class using {@link ByteBuffer} and implementing {@link DataInput}.
*
* @author Bela Ban
* @since 3.5
*/
public class ByteBufferInputStream extends InputStream implements DataInput {
protected final ByteBuffer buf;
p... | .version 52 0
.class public super ByteBufferInputStream
.super java/io/InputStream
.implements java/io/DataInput
.field protected final buf Ljava/nio/ByteBuffer;
.method public <init> : (Ljava/nio/ByteBuffer;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/io/InputStream <init> (... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:58:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.EOFException;
import java.io.IOException;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:58: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;
... | 136,722 |
Solution027 | import java.util.ArrayList;
import java.util.List;
public class Solution027 {
static List<Integer> primes;
public static void main(String[] args) {
createPrimeNumbersTo(1000);
int maxFound = 0;
int pro = 0;
for (int b : primes) {
for (int a = -999; a < 1000; a++) {
int n = 0;
... | .version 52 0
.class public super Solution027
.super java/lang/Object
.field static primes Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Integer;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/O... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:10: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
* Fri Jul 01 07:10: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;
... | 136,723 |
ConfigPropertyRepresentation | /*******************************************************************************
* Copyright 2016 Sistcoop, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with... | .version 52 0
.class public super ConfigPropertyRepresentation
.super java/lang/Object
.field protected name Ljava/lang/String;
.field protected label Ljava/lang/String;
.field protected helpText Ljava/lang/String;
.field protected type Ljava/lang/String;
.field protected defaultValue Ljava/lang/Object;
.field ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:16:34 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 00:16: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;
... | 136,724 |
MessageUtil | /*
* Created on 31 Mar 2008
*/
import java.text.MessageFormat;
public class MessageUtil {
public static final String NOT_FOUND = "[Message for key {0} not found]";
public static String renderDefaultMessage(String key) {
MessageFormat mf = new MessageFormat(NOT_FOUND);
return mf.format(new Object[] {key... | .version 52 0
.class public super MessageUtil
.super java/lang/Object
.field public static final NOT_FOUND Ljava/lang/String; = '[Message for key {0} not found]'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:47:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:47: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;
... | 136,725 |
Constants | /*
* 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 Constants
.super java/lang/Object
.field static final SESSION_STATISTICS_MBEAN_NAME Ljava/lang/String; = 'org.apache:type=SessionStatistics,name=sessionStatistics'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Obje... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:59:14 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:59: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;
... | 136,726 |
Collections | import java.util.Arrays;
import java.util.List;
/** Created by roman.pianov on 29.04.2016. */
public class Collections {
public static void main(String[] args) {
String[] langs = {"Java", "C#", "Python", "PHP"};
List<String> languages = Arrays.asList("Java", "C#", "Python", "PHP");
for (String l : lang... | .version 52 0
.class public super Collections
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:37: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
* Sun Jul 03 19:37: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;
... | 136,727 |
App | /**
* 捐赠后获取源码 商用下载jfinalshop 4.0二次开发,详细介绍请先联系QQ:187048359 技术交流群2:304061112,群1已满。 查看演示环境
* http://demo.jfinalshop.com http://demo.jfinalshop.com/admin jack 123456
*/
public class App {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
| .version 52 0
.class public super App
.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 me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:45:49 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 06:45: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;
... | 136,728 |
SelectionSort | import java.util.Arrays;
public class SelectionSort {
public int[] sortOneFunction(int[] array) {
int[] res = Arrays.copyOf(array, array.length);
for (int i = 0; i < res.length - 1; i++) {
int min = Integer.MAX_VALUE;
int pos = 0;
for (int j = i; j < res.length; j++) {
if (res[j] <... | .version 52 0
.class public super SelectionSort
.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 21:26:57 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 21:26: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;
... | 136,729 |
a500plus | // This file is automatically generated.
/*
* Lenovo
*
* DEVICE: a500plus
* MODEL: Lenovo A500+
*/
final class a500plus {
public static final String DATA = "Lenovo||";
}
| .version 52 0
.class final super a500plus
.super java/lang/Object
.field public static final DATA Ljava/lang/String; = 'Lenovo||'
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:10: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
* Mon Jul 04 03:10: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;
... | 136,730 |
Main | import java.io.*;
import java.util.ArrayList;
import java.util.List;
public class Main {
public static void main(String[] args) {
List<String> allLines = null;
try {
allLines = readFile(new File(args[0]));
} catch (IOException e) {
e.printStackTrace();
}
for (String singleLine : all... | .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 7
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:30: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.evosuite.runtime.t... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:30: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;
... | 136,731 |
Time | import java.util.Calendar;
public class Time {
private int second;
private int minute;
private int hour;
public Time() {
Calendar calendar = Calendar.getInstance();
this.second = calendar.get(13);
this.minute = calendar.get(12);
this.hour = calendar.get(10);
}
public Time subtract(Time ti... | .version 52 0
.class public super Time
.super java/lang/Object
.field private second I
.field private minute I
.field private hour I
.method public <init> : ()V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: invokestatic Method java/util/Calendar g... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:26: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
* Fri Jul 01 18:26: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;
... | 136,732 |
IterativeExample | public class IterativeExample {
static int[] numbers = new int[] {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
/**
* Factorial function used to test for loops
*
* @param number
* @return
*/
public static int factorialForFunction(int number) {
int sum = number;
for (int i = number - 1; i > 0; i--) {
... | .version 52 0
.class public super IterativeExample
.super java/lang/Object
.field static numbers [I
.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 l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:15:38 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:15: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;
... | 136,733 |
LolWut | // "volatile" is a Java keyword which means that the variable
// will be read from main memory *every* time it is accessed.
// It will not be hoisted or read from CPU cache.
// Threading can result in really, really fun and interesting
// bugs, which will react differently based on slight changes
// in code. Sometime... | .version 52 0
.class public super LolWut
.super java/lang/Object
.field public static final NUM_TIMES I = 10000
.field public static volatile allDoneVolatile Z
.field public static allDone Z
.field public static volatile v I
.field public static nv I
.method public <init> : ()V
.code stack 1 locals 1
L0:... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:42: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
* Mon Jul 04 01:42: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;
... | 136,734 |
SameEndsTest | public class SameEndsTest {
public static void main(String[] args) {
SameEndsTest test = new SameEndsTest();
System.out.println(test.sameEnds(new int[] {5, 6, 45, 99, 13, 5, 6}, 1));
System.out.println(test.sameEnds(new int[] {5, 6, 45, 99, 13, 5, 6}, 2));
System.out.println(test.sameEnds(new int[] ... | .version 52 0
.class public super SameEndsTest
.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
* Fri Jul 01 15:48:43 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 15:48:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 136,735 |
Province | /** Province表实体类 Created by E-Kunt on 2016/1/20. */
public class Province {
private int id;
private String provinceName;
private String provinceCode;
public void setId(int id) {
this.id = id;
}
public void setProvinceCode(String provinceCode) {
this.provinceCode = provinceCode;
}
public void ... | .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
* Mon Jul 04 14:20:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:20: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;
... | 136,736 |
RoutingHash | public class RoutingHash {
public static int hashKey(String key, int numServers) {
return Math.abs(key.hashCode()) % numServers;
}
}
| .version 52 0
.class public super RoutingHash
.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 16:28:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:28: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;
... | 136,737 |
ZonedDateTimeRange | import java.time.ZonedDateTime;
public class ZonedDateTimeRange {
public final ZonedDateTime start;
public final ZonedDateTime end;
public ZonedDateTimeRange(ZonedDateTime start, ZonedDateTime end) {
this.start = start;
this.end = end;
}
@Override
public boolean equals(Object o) {
if (this ==... | .version 52 0
.class public super ZonedDateTimeRange
.super java/lang/Object
.field public final start Ljava/time/ZonedDateTime;
.field public final end Ljava/time/ZonedDateTime;
.method public <init> : (Ljava/time/ZonedDateTime;Ljava/time/ZonedDateTime;)V
.code stack 2 locals 3
L0: aload_0
L1: inv... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:59:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.Clock;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.ZoneOffset;
import java.time.ZonedDateTime;
import org.evosuite.runtime... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:59: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;
... | 136,738 |
Ex1201 | /** Diogo Daniel Soares Ferreira, 2014 */
import static java.lang.System.*;
import java.util.Scanner;
public class Ex1201 {
static final Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
int lin1, col1, lin2, col2;
int[][] a, b, m;
do {
out.println("Primeira matriz... | .version 52 0
.class public super Ex1201
.super java/lang/Object
.field static final sc Ljava/util/Scanner;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:04: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
* Mon Jul 04 01:04: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;
... | 136,739 |
Order | /** */
/**
* @author Dr. Bernd Bohnet, 14.08.2011
*/
public final class Order implements Comparable<Order> {
StringBuilder nodes = new StringBuilder();
float p = 0;
Order left, right;
/**
* @param o1
* @param order
* @param f
*/
public Order(Order left, Order right, float f) {
this.left ... | .version 52 0
.class public final super Order
.super java/lang/Object
.implements java/lang/Comparable
.field nodes Ljava/lang/StringBuilder;
.field p F
.field left LOrder;
.field right LOrder;
.method public <init> : (LOrder;LOrder;F)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:33:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.CharBuffer;
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
* Mon Jul 04 04:33: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;
... | 136,740 |
Conversion | public class Conversion {
public int numConversionBits(int n, int m) {
int x = n ^ m;
return countOnes(x);
}
private int countOnes(int n) {
int counter = 0;
while (n > 0) {
n = (n & (n - 1));
counter++;
}
return counter;
}
}
| .version 52 0
.class public super Conversion
.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 12:54:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:54:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 136,741 |
PacketException | public class PacketException extends Exception {
public PacketException() {}
public PacketException(String message, Throwable cause) {
super(message, cause);
}
public PacketException(String message) {
super(message);
}
public PacketException(Throwable cause) {
super(cause);
}
}
| .version 52 0
.class public super PacketException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 6
L4 7
.end line... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:24: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
* Sun Jul 03 20:24: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;
... | 136,742 |
Comment | import java.util.Date;
public class Comment {
Date created;
String author;
String body;
String image;
String local;
public String getLocal() {
return local;
}
public void setLocal(String local) {
this.local = local;
}
public String getImage() {
return image;
}
public void setIm... | .version 52 0
.class public super Comment
.super java/lang/Object
.field created Ljava/util/Date;
.field author Ljava/lang/String;
.field body Ljava/lang/String;
.field image Ljava/lang/String;
.field local Ljava/lang/String;
.method public getLocal : ()Ljava/lang/String;
.code stack 1 locals 1
L0: a... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:46:33 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 16:46:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 136,743 |
OnScheduleAddedListener | public abstract class OnScheduleAddedListener {
/**
* Callback function for describing behavior upon successful addition of schedule in database.
*
* @param success True if schedule added, false otherwise
*/
public abstract void onScheduleAdded(boolean success);
}
| .version 52 0
.class public super abstract OnScheduleAddedListener
.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 linenumbert... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:09:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:09:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 136,744 |
SettingsXML | /*Copyright (c) 2004,University of Illinois at Urbana-Champaign. All rights reserved.
Developed by:
Chemistry and Computational Biology Group
NCSA, University of Illinois at Urbana-Champaign
http://ncsa.uiuc.edu/GridChem
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software ... | .version 52 0
.class public final super SettingsXML
.super java/lang/Object
.field private final kerberosOK Z = 1
.field private final globusOK Z = 1
.field private final sshOK Z = 1
.field private final gridchemOK Z = 1
.method private <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokesp... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:32:14 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:32: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;
... | 136,745 |
Solution | import java.util.Stack;
/*
Живем своим умом
*/
public class Solution implements Thread.UncaughtExceptionHandler {
@Override
public void uncaughtException(Thread t, Throwable e) {
t.interrupt();
Stack<Throwable> exceptions = new Stack<>();
exceptions.push(e);
Throwable throwable = e.getCause();
... | .version 52 0
.class public super Solution
.super java/lang/Object
.implements java/lang/Thread$UncaughtExceptionHandler
.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 23:26:45 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.evosuite.runtim... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:26: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;
... | 136,746 |
MigrationClientException | /*
* Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | .version 52 0
.class public super MigrationClientException
.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:
.linenumb... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:32:26 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 06:32: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;
... | 136,747 |
WorkerReport | import java.io.Serializable;
/** Created by kafi on 12/02/2016. */
public class WorkerReport implements Serializable {
private Long id;
private Long docsCount;
private String status;
private Long workerExecutionTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
... | .version 52 0
.class public super WorkerReport
.super java/lang/Object
.implements java/io/Serializable
.field private id Ljava/lang/Long;
.field private docsCount Ljava/lang/Long;
.field private status Ljava/lang/String;
.field private workerExecutionTime Ljava/lang/Long;
.method public <init> : ()V
.cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:09: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 04:09: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;
... | 136,748 |
StringUtils | /**
* $Id: StringUtils.java 2 2008-10-01 10:04:26Z azeckoski $ $URL:
* http://reflectutils.googlecode.com/svn/trunk/src/main/java/org/azeckoski/reflectutils/StringUtils.java
* $ StringUtils.java - genericdao - Sep 18, 2008 5:15:22 PM - azeckoski
* ********************************************************************... | .version 52 0
.class public super StringUtils
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:54:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileDescriptor;
import java.io.InputStream;
import java.io.PushbackInputStream;
import org.evosuite.ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:54: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;
... | 136,749 |
DALException | public class DALException extends Exception {
public DALException() {
// TODO Auto-generated constructor stub
}
public DALException(String arg0) {
super(arg0);
// TODO Auto-generated constructor stub
}
public DALException(Throwable arg0) {
super(arg0);
// TODO Auto-generated constructor... | .version 52 0
.class public super DALException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 5
L4 7
.end linenum... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:32: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
* Fri Jul 01 16:32: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;
... | 136,750 |
ConfigHelper | /** Created with IntelliJ IDEA. User: alekspo Date: 16.11.14 Time: 16:52 */
public class ConfigHelper {
public static final String CREDENTIAL_STORE_FILE_PATH = "/Users/alekspo/.datastore";
}
| .version 52 0
.class public super ConfigHelper
.super java/lang/Object
.field public static final CREDENTIAL_STORE_FILE_PATH Ljava/lang/String; = '/Users/alekspo/.datastore'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: r... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:14:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:14: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;
... | 136,751 |
BoneWeight | import java.io.DataInputStream;
import java.io.IOException;
class BoneWeight {
float index1;
float index2;
float weight1;
float weight2;
BoneWeight() {}
void read(DataInputStream in) throws IOException {
index1 = in.readByte();
index2 = in.readByte();
weight1 = in.readFloat();
weight2 = i... | .version 52 0
.class super BoneWeight
.super java/lang/Object
.field index1 F
.field index2 F
.field weight1 F
.field weight2 F
.method <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 23:13:19 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.EOFException;
import org.evosuite... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:13: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;
... | 136,752 |
NewStreamPumper | /*************************GO-LICENSE-START*********************************
* Copyright 2015 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache... | .version 52 0
.class public super NewStreamPumper
.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 21
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:47:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.InputStream;
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
* Mon Jul 04 11:47: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;
... | 136,753 |
ReverseInteger | /**
* Reverse digits of an integer.
*
* <p>Example1: x = 123, return 321 Example2: x = -123, return -321
*
* <p>The input is assumed to be a 32-bit signed integer. Your function should return 0 when the
* reversed integer overflows.
*/
public class ReverseInteger {
public int reverseString(int x) {
// Spe... | .version 52 0
.class public super ReverseInteger
.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
.end co... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:45: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 14:45: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;
... | 136,754 |
Main | import java.io.*;
import java.util.*;
public class Main {
public static final Scanner scanner = new Scanner(System.in);
public static final int MAX_NUMBER = 10000;
public static final boolean isPrime[] = new boolean[MAX_NUMBER + 1];
/**
* "number"에서 한 글자를 변경해 만들 수 있는 모든 1000~9999사이의 소수를 반환해주는 함수
*
*... | .version 52 0
.class public super Main
.super java/lang/Object
.field public static final scanner Ljava/util/Scanner;
.field public static final MAX_NUMBER I = 10000
.field public static final isPrime [Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/l... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:13:09 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 11:13:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 136,755 |
Base52 | /**
* @author li
* @version 1 (2015年4月28日 上午10:09:57)
* @since Java7
*/
public class Base52 {
private static final String baseDigits = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
private static final int BASE = baseDigits.length();
private static final char[] digitsChar = baseDigits.toCharArray(... | .version 52 0
.class public super Base52
.super java/lang/Object
.field private static final baseDigits Ljava/lang/String; = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
.field private static final BASE I
.field private static final digitsChar [C
.method public <init> : ()V
.code stack 1 locals 1 ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:44:56 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 17:44: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;
... | 136,756 |
RegularExpressionMatching | /*
http://oj.leetcode.com/problems/regular-expression-matching/
*/
public class RegularExpressionMatching {
public boolean isMatch(String s, String p) {
if (s == null) return p == null;
return m(s, p, 0, 0);
}
public boolean m(String s, String p, int i, int j) {
if (j == p.length()) return i == s.le... | .version 52 0
.class public super RegularExpressionMatching
.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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:43:38 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 05:43: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;
... | 136,757 |
HistoryTuple | /*
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2015 University Health Network
* %%
* 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... | .version 52 0
.class super HistoryTuple
.super java/lang/Object
.implements java/lang/Comparable
.field private myId Ljava/lang/Long;
.field private myIsHistory Z
.field private myUpdated Ljava/util/Date;
.method public <init> : (ZLjava/util/Date;Ljava/lang/Long;)V
.code stack 2 locals 4
L0: aload_0
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:15:25 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
* Fri Jul 01 05:15: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;
... | 136,758 |
DynamicService | public class DynamicService {}
| .version 52 0
.class public super DynamicService
.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
* Fri Jul 01 22:41:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:41: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;
... | 136,759 |
CommandException | /*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... | .version 52 0
.class public super CommandException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 30
L4 31
.end l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:35:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.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 13:35:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 136,760 |
InvalidBase64CharacterException | /*
* Copyright 2014-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | .version 52 0
.class super InvalidBase64CharacterException
.super java/lang/IllegalArgumentException
.method <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/IllegalArgumentException <init> (Ljava/lang/String;)V
L5: return
L6:... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:37: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
* Fri Jul 01 14:37: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;
... | 136,761 |
Arista | public class Arista implements Comparable<Arista> {
private final Integer u;
private final Integer v;
public int getU() {
return u;
}
public int getV() {
return v;
}
private final int weight;
public Arista(int a, int b, int peso) {
this.u = a;
this.v = b;
this.weight = peso;
}... | .version 52 0
.class public super Arista
.super java/lang/Object
.implements java/lang/Comparable
.field private final u Ljava/lang/Integer;
.field private final v Ljava/lang/Integer;
.field private final weight I
.method public getU : ()I
.code stack 1 locals 1
L0: aload_0
L1: getfield Field Ari... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:40:10 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:40: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;
... | 136,762 |
TeamIOUtils | public class TeamIOUtils {
public static final String MOD_ID = "teamioutils";
public static final String VERSION = "1.0";
public static final String ITEM_HAMMER = "hammer";
}
| .version 52 0
.class public super TeamIOUtils
.super java/lang/Object
.field public static final MOD_ID Ljava/lang/String; = 'teamioutils'
.field public static final VERSION Ljava/lang/String; = '1.0'
.field public static final ITEM_HAMMER Ljava/lang/String; = 'hammer'
.method public <init> : ()V
.code stac... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:39:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:39: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;
... | 136,763 |
AssetNotFoundException | /** Thrown when an asset with the given name and type could not be found. */
public class AssetNotFoundException extends Exception {
public AssetNotFoundException(String type, String name) {
super(String.format("Asset of type '%s' with name '%s' could not be found.", type, name));
}
}
| .version 52 0
.class public super AssetNotFoundException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 6 locals 3
L0: aload_0
L1: ldc "Asset of type '%s' with name '%s' could not be found."
L3: iconst_2
L4: anewarray java/lang/Object ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:42:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:42:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 136,764 |
ImposibleMoveException | /** Created by Nikolay on 14.03.2017. */
public class ImposibleMoveException extends Exception {
/**
* Give exception is imposible move.
*
* @param ime msg
*/
public ImposibleMoveException(String ime) {
super(ime);
}
}
| .version 52 0
.class public super ImposibleMoveException
.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:
.linenumber... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:01: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 18:01: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;
... | 136,765 |
ThreadPool | /**
* Class ThreadPool.
*
* @author Andrey Kustov
* @version $1.0$
* @since 02.08.2017
*/
public class ThreadPool {
/** lock. */
private final Object lock = new Object();
/** threads. */
private int freeThreads;
/**
* constructor.
*
* @param freeThreads threads.
*/
public ThreadPool(int f... | .version 52 0
.class public super ThreadPool
.super java/lang/Object
.field private final lock Ljava/lang/Object;
.field private freeThreads I
.method public <init> : (I)V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new java/lang... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:33: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
* Fri Jul 01 21:33: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;
... | 136,766 |
Worker | import java.util.List;
import java.util.concurrent.CountDownLatch;
public class Worker implements Runnable {
private final List<String> outputScraper;
private final CountDownLatch countDownLatch;
Worker(final List<String> outputScraper, final CountDownLatch countDownLatch) {
this.outputScraper = outputScrap... | .version 52 0
.class public super Worker
.super java/lang/Object
.implements java/lang/Runnable
.field private final outputScraper Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.field private final countDownLatch Ljava/util/concurrent/CountDownLatch;
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:16:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.concurrent.CountDownLatch;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:16: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;
... | 136,767 |
BannerData | import java.util.List;
/** Created by jiangxq170307 on 2017/9/13. */
public class BannerData {
List<String> pics;
List<String> title;
List<String> herf;
public List<String> getPics() {
return pics;
}
public void setPics(List<String> pics) {
this.pics = pics;
}
public List<String> getTitle() ... | .version 52 0
.class public super BannerData
.super java/lang/Object
.field pics Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.field title Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.fi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:42:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:42: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;
... | 136,768 |
OAuth2Support | /** Created by Binh Vu (github: yobavu) on 3/25/17. */
/** Utility for managing and creating OAuth 2.0 credentials. */
public class OAuth2Support {
private final String clientId;
private final String clientSecret;
private final String redirectUri;
public OAuth2Support(String clientId, String clientSecret, Str... | .version 52 0
.class public super OAuth2Support
.super java/lang/Object
.field private final clientId Ljava/lang/String;
.field private final clientSecret Ljava/lang/String;
.field private final redirectUri Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:52:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:52: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;
... | 136,769 |
Constants | /** Application constants. */
public final class Constants {
// Regex for acceptable logins
public static final String LOGIN_REGEX = "^[_'.@A-Za-z0-9-]*$";
public static final String SYSTEM_ACCOUNT = "system";
public static final String ANONYMOUS_USER = "anonymoususer";
private Constants() {}
}
| .version 52 0
.class public final super Constants
.super java/lang/Object
.field public static final LOGIN_REGEX Ljava/lang/String; = "^[_'.@A-Za-z0-9-]*$"
.field public static final SYSTEM_ACCOUNT Ljava/lang/String; = 'system'
.field public static final ANONYMOUS_USER Ljava/lang/String; = 'anonymoususer'
.metho... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:12: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
* Sat Jul 02 02:12:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 136,770 |
ParsedCompactionStrategyOption | public class ParsedCompactionStrategyOption {
private String name;
private String value;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = val... | .version 52 0
.class public super ParsedCompactionStrategyOption
.super java/lang/Object
.field private name 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... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:21: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
* Fri Jul 01 15:21: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;
... | 136,771 |
RDIResult | public class RDIResult {
private String status;
private double rdi;
public RDIResult(String status, double rdi) {
this.status = status;
this.rdi = rdi;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public double getRd... | .version 52 0
.class public super RDIResult
.super java/lang/Object
.field private status Ljava/lang/String;
.field private rdi D
.method public <init> : (Ljava/lang/String;D)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:14: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 03:14: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;
... | 136,772 |
PhotoLimits | public class PhotoLimits {
private String maxDisplay;
private String maxUpload;
/**
* Maximum photo display pixels
*
* @return String max pixels
*/
public String getMaxDisplay() {
return maxDisplay;
}
public void setMaxDisplay(String maxDisplay) {
this.maxDisplay = maxDisplay;
}
... | .version 52 0
.class public super PhotoLimits
.super java/lang/Object
.field private maxDisplay Ljava/lang/String;
.field private maxUpload 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: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:27: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 23:27: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;
... | 136,773 |
NoSuchKeywordException | /*
************************************************************************
******************* CANADIAN ASTRONOMY DATA CENTRE *******************
************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES **************
*
* (c) 2009. (c) 2009.
* Government of Canada ... | .version 52 0
.class public super NoSuchKeywordException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: new java/lang/StringBuilder
L4: dup
L5: invokespecial Method java/lang/StringBuilder <init> ()V
L8: ldc 'No such keyw... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:46: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:46: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;
... | 136,774 |
Module | import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
public class Module {
private Class<?> module = null;
private Method method = null;
public Module method(String methodName, Class<?>... parametersTypes)
throws NoSuchMethodException {
this.method = this.module.getMeth... | .version 52 0
.class public super Module
.super java/lang/Object
.field private 'module' Ljava/lang/Class; .fieldattributes
.signature Ljava/lang/Class<*>;
.end fieldattributes
.field private method Ljava/lang/reflect/Method;
.method public varargs method : (Ljava/lang/String;[Ljava/lang/Class;)LModule;
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:35: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
* Mon Jul 04 07:35: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;
... | 136,775 |
TestFinalField | public class TestFinalField {
private final Object field;
TestFinalField(Object y) {
field = y;
}
private Object getField() {
return field;
}
}
| .version 52 0
.class public super TestFinalField
.super java/lang/Object
.field private final field Ljava/lang/Object;
.method <init> : (Ljava/lang/Object;)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 11:31:27 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:31:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 136,776 |
MapleCoolDownValueHolder | public class MapleCoolDownValueHolder {
public int skillId;
public long startTime;
public long length;
public MapleCoolDownValueHolder(int skillId, long startTime, long length) {
super();
this.skillId = skillId;
this.startTime = startTime;
this.length = length;
}
}
| .version 52 0
.class public super MapleCoolDownValueHolder
.super java/lang/Object
.field public skillId I
.field public startTime J
.field public length J
.method public <init> : (IJJ)V
.code stack 3 locals 6
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:31: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
* Mon Jul 04 04:31: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;
... | 136,777 |
BoxPlotDatum | public class BoxPlotDatum {
private final Double minimum;
private final Double maximum;
private final Double average;
private final Double median;
private final Double lowerQuartile;
private final Double upperQuartile;
public BoxPlotDatum(
final Double pMinimum,
final Double pMaximum,
... | .version 52 0
.class public super BoxPlotDatum
.super java/lang/Object
.field private final minimum Ljava/lang/Double;
.field private final maximum Ljava/lang/Double;
.field private final average Ljava/lang/Double;
.field private final median Ljava/lang/Double;
.field private final lowerQuartile Ljava/lang/Doubl... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:04:09 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:04:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 136,778 |
Main | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
try {
System.out.println(primo(n) ? "Verdadeiro" : "Falso");
} catch (Exception ex) {
System.out.println(ex.getMessage());
}
}
public static boolea... | .version 52 0
.class super Main
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end method
.method... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:32:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:32: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;
... | 136,779 |
CachingInputStream | /*
* krypt-core API - Java version
*
* Copyright (c) 2011-2013
* Hiroshi Nakamura <nahi@ruby-lang.org>
* Martin Bosslet <martin.bosslet@gmail.com>
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
... | .version 52 0
.class public super CachingInputStream
.super java/io/FilterInputStream
.field private final baos Ljava/io/ByteArrayOutputStream;
.field private final singleByte [B
.method public <init> : (Ljava/io/InputStream;)V
.code stack 3 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial M... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:25:06 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.FileNotF... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:25: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;
... | 136,780 |
DynamicException | public class DynamicException extends Exception {
public DynamicException(String message) {
super(message);
}
}
| .version 52 0
.class public super DynamicException
.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:
.linenumbertable ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:29: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
* Mon Jul 04 16:29: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;
... | 136,781 |
SecurityActions | /*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify i... | .version 52 0
.class super SecurityActions
.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 32
.end linenumbertable
.end code
.end meth... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:53:57 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 01:53: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;
... | 136,782 |
Abilities | public final strictfp class Abilities {
public static final int NONE = 0;
public static final int BUILD = 1;
public static final int ATTACK = 2;
public static final int HARVEST = 4;
public static final int SUPPLY_CONTAINER = 8;
public static final int BUILD_ARMIES = 16;
public static final int REPRODUCE =... | .version 52 0
.class public final super Abilities
.super java/lang/Object
.field public static final NONE I = 0
.field public static final BUILD I = 1
.field public static final ATTACK I = 2
.field public static final HARVEST I = 4
.field public static final SUPPLY_CONTAINER I = 8
.field public static final BUI... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:31: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
* Fri Jul 01 22:31: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;
... | 136,783 |
person | /** Created by SamMFFL on 2016/4/18. */
public class person {}
| .version 52 0
.class public super person
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:33: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
* Sat Jul 02 03:33: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;
... | 136,784 |
Client | import java.io.*;
import java.net.*;
import java.util.Scanner;
class Client {
private String ip;
private int port;
private Socket server = null;
private String in;
public Client(String ip, int port) {
this.ip = ip;
this.port = port;
}
public void sendMsg(String[] msg) {
try {
server =... | .version 52 0
.class super Client
.super java/lang/Object
.field private ip Ljava/lang/String;
.field private port I
.field private server Ljava/net/Socket;
.field private in Ljava/lang/String;
.method public <init> : (Ljava/lang/String;I)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Met... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:47:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:47: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;
... | 136,785 |
PuntoVentaController | public class PuntoVentaController {}
| .version 52 0
.class public super PuntoVentaController
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:46:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:46: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;
... | 136,786 |
PWriter | import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.Writer;
public class PWriter extends PrintWriter {
private String lineSeparator = System.getProperty("line.separator");
private StringWriter stringWriter;
public static PWriter create() {
StringWriter stri... | .version 52 0
.class public super PWriter
.super java/io/PrintWriter
.field private lineSeparator Ljava/lang/String;
.field private stringWriter Ljava/io/StringWriter;
.method public static create : ()LPWriter;
.code stack 3 locals 2
L0: new java/io/StringWriter
L3: dup
L4: invokespecial Metho... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:47:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import java.io.StringWriter;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.moc... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:47: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;
... | 136,787 |
ArrayUtility | import java.util.ArrayList;
public class ArrayUtility {
/**
* Checks if an array contains and object, going through all objects in the array using the lowest
* implementation of their equals method
*
* @param array
* @param object
* @return true if the array contains the object in question
*/
... | .version 52 0
.class public super ArrayUtility
.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
* Fri Jul 01 22:23:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:23: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;
... | 136,788 |
Categoria | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author Julen
*/
public class Categoria {
// Atributos
private int idCategoria;
private String categoria;
private String subcategoria;
// Constructor
public Categoria() {}
public Categoria(int p... | .version 52 0
.class public super Categoria
.super java/lang/Object
.field private idCategoria I
.field private categoria Ljava/lang/String;
.field private subcategoria Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:25:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:25: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;
... | 136,789 |
LiveViewMessage | public abstract class LiveViewMessage {
private byte id;
public byte getId() {
return id;
}
public void setId(byte id) {
this.id = id;
}
public LiveViewMessage(byte id) {
this.id = id;
}
}
| .version 52 0
.class public super abstract LiveViewMessage
.super java/lang/Object
.field private id B
.method public getId : ()B
.code stack 1 locals 1
L0: aload_0
L1: getfield Field LiveViewMessage id B
L4: ireturn
L5:
.linenumbertable
L0 9
.end linenumbert... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:47:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:47:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 136,790 |
APIClientException | /*
* Copyright 2013 MachineLinking S.r.l.
*
* 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 APIClientException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;Ljava/lang/Exception;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;Ljava/lang/Thr... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:06:17 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.MockException;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:06:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 136,791 |
MathQuiz | import java.util.Scanner;
public class MathQuiz {
public static void main(String[] args) {
// setup our scanner to read user input
Scanner input = new Scanner(System.in);
// generate two random numbers between 1 and 10 inclusive
int x = (int) (Math.random() * 10) + 1;
int y = (int) (Math.rando... | .version 52 0
.class public super MathQuiz
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:23:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:23:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 136,792 |
UString | /*
* The MIT License (MIT)
*
* Copyright (c) 2014 Christian Gärtner
*
* 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... | .version 52 0
.class public super UString
.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 32
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:46:27 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:46:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 136,793 |
PrintCooc | import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.PrintWriter;
import java.util.BitSet;
public class PrintCooc {
public static int[] trainInts;
public static PrintWriter printWriter;
public static BitSet[] coocIsNonzeroArr;
public static short[][] coocArrByInd;
public static short[][] ... | .version 52 0
.class public super PrintCooc
.super java/lang/Object
.field public static trainInts [I
.field public static printWriter Ljava/io/PrintWriter;
.field public static coocIsNonzeroArr [Ljava/util/BitSet;
.field public static coocArrByInd [[S
.field public static coocArrByRel [[S
.field public static ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:59: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 19:59: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;
... | 136,794 |
FailReadCloseException | /*
* Copyright 2015 Brent Douglas and other contributors
* as indicated by the @author tags. 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.or... | .version 52 0
.class public super FailReadCloseException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 21
.end linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:10:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:10:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 136,795 |
UnsupportedOperatingSystemException | /*
* Copyright 2011 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | .version 52 0
.class public super UnsupportedOperatingSystemException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -221782446524784377L
.method public static raise : ()V
.code stack 2 locals 0
L0: new UnsupportedOperatingSystemException
L3: dup
L4: invokesp... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:24:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.m... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:24: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;
... | 136,796 |
ECRMode | /*
* The MIT License
*
* Copyright 2017 Kamnev Georgiy <nt.gocha@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 limitation the rig... | .version 52 0
.class public super ECRMode
.super java/lang/Object
.field private static final logger Ljava/util/logging/Logger;
.field public final mode I
.field public final mode8Status I
.field public final description Ljava/lang/String;
.field public final advancedMode I
.field public final advancedModeDescr... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:43: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 04:43: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;
... | 136,797 |
RealmPropertyDTO | /*
* Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... | .version 52 0
.class public super RealmPropertyDTO
.super java/lang/Object
.field private name 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:
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:23: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
* Mon Jul 04 15:23: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;
... | 136,798 |
InternetDatabase | /*
* Concept profile generation tool suite
* Copyright (C) 2015 Biosemantics Group, Erasmus University Medical Center,
* Rotterdam, The Netherlands
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free So... | .version 52 0
.class public super InternetDatabase
.super java/lang/Object
.implements java/io/Serializable
.field public ID I
.field public name Ljava/lang/String;
.field public URLFragments [Ljava/lang/String;
.field private static final serialVersionUID J = 1L
.method public <init> : ()V
.code stack 1 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:01: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
* Sat Jul 02 18:01: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;
... | 136,799 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.