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 |
|---|---|---|---|---|---|
Term | /** */
/**
* Class defining term fields for a university semester
*
* @author Maximus Brandel
* @author Ibrahim Elsayed
* @author Christian Merchant
* @version 1.00 2015-11-21
*/
public class Term {
/** Instance variable containing the semester of the term, either SPRING, FALL, or SUMMER */
private String s... | .version 52 0
.class public super Term
.super java/lang/Object
.field private semester Ljava/lang/String;
.field private year 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
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:38:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:38:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,900 |
CdaSettingsReadException | /** Error finding or parsing a cda */
public class CdaSettingsReadException extends Exception {
public CdaSettingsReadException(String message, Throwable inner) {
super(message, inner);
}
private static final long serialVersionUID = 1L;
}
| .version 52 0
.class public super CdaSettingsReadException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokespecial Method j... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:40:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:40: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;
... | 149,901 |
Solution | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
/* Удали последнюю строку и вставь её в начало
1. Создай список строк.
2. Добавь в него 5 строчек с клавиатуры.
3. Удали последнюю строку и вставь её в начало. Повторить 13 раз.
4. Используя цикл выведи содержимое на экран, ка... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:08:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:08:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,902 |
ConnectionNotEstablishedException | /*
* Copyright (c) 2012 Alexander Diener,
*
* 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 ... | .version 52 0
.class public final super ConnectionNotEstablishedException
.super java/lang/Exception
.field private static final serialVersionUID J = 7704960463539566176L
.field private final natTraversalTechniqueName Ljava/lang/String;
.field private final cause Ljava/lang/Throwable;
.field private final message... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:55:28 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
* Sat Jul 02 17:55:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,903 |
X03 | /** 12345679 12345679 12345679 12345679 12345679 12345679 12345679 12345679 12345 */
public class X03 {
/** 12345679 12345679 12345679 12345679 12345679 12345679 12345679 12345679_1 */
void test() {}
}
| .version 52 0
.class public super X03
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end met... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:49:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:49: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;
... | 149,904 |
Test | public class Test {
public static void main(String[] args) {
int counter = 0;
do {
System.out.println(counter);
counter += 2;
} while (counter <= 10);
}
}
| .version 52 0
.class public super Test
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:45:42 GMT 2022
*/
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism =... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:45: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;
... | 149,905 |
ProcedureAfterDao | // ½Ã¼úÈıâ
public class ProcedureAfterDao {}
| .version 52 0
.class public super ProcedureAfterDao
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:36:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:36: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;
... | 149,906 |
SpiralMatrixII | /** Created by Administrator on 2016/4/11. */
public class SpiralMatrixII {
public static void main(String[] main) {
int n = 3;
int[][] ans = generateMatrix(n);
for (int[] i : ans) {
for (int j : i) {
System.out.print(j);
System.out.print(",");
}
System.out.println();
... | .version 52 0
.class public super SpiralMatrixII
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:51:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:51: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;
... | 149,907 |
NumberFormatter |
/** Created by mbanchik on 7/6/17. */
public class NumberFormatter {
private static char[] c = new char[] {'k', 'm', 'b', 't'};
public static String format(long n, int iteration) {
if (n < 1000) {
return String.valueOf(n);
}
double d = ((long) n / 100) / 10.0;
boolean isRound =
(d *... | .version 52 0
.class public super NumberFormatter
.super java/lang/Object
.field private static c [C
.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... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:44:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:44: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;
... | 149,908 |
TransactionInfo | /* ====================================================================
* Limited Evaluation License:
*
* This software is open source, but licensed. The license with this
* Loss of use, data, or profits; or any business interruption) however caused
* and on theory of liability, whether in contract, strict liabili... | .version 52 0
.class public super TransactionInfo
.super java/lang/Object
.field private transactionStatus I
.field private clientStatus [I
.field private recordCount [I
.field private transactionStart J
.field private transactionEnd J
.field private transactionRecords I
.field private abortRequested Z
.field... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:40: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 11:40: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;
... | 149,909 |
SensorScope2Packet | /**
* Global Sensor Networks (GSN) Source Code Copyright (c) 2006-2016, Ecole Polytechnique Federale de
* Lausanne (EPFL)
*
* <p>This file is part of GSN.
*
* <p>GSN 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 Fo... | .version 52 0
.class public super SensorScope2Packet
.super java/lang/Object
.field public bytes [B
.field timestamp J
.method public equals : (Ljava/lang/Object;)Z
.code stack 4 locals 3
L0: aload_0
L1: aload_1
L2: if_acmpne L7
L5: iconst_1
L6: ireturn
.stack same
L7: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:28:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:28: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;
... | 149,910 |
DataFetcher | /** Created by beracira on 25/12/16. */
public class DataFetcher {}
| .version 52 0
.class public super DataFetcher
.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
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:27: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 14:27: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;
... | 149,911 |
Template | /*
* Copyright 2014 by SCSK Corporation.
*
* This file is part of PrimeCloud Controller(TM).
*
* PrimeCloud Controller(TM) 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... | .version 52 0
.class public super Template
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private templateid Ljava/lang/String;
.field private hostid Ljava/lang/String;
.field private proxyHostid Ljava/lang/Integer;
.field private host Ljava/l... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:22:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:22:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,912 |
MamaBuffer | /* $Id$
*
* OpenMAMA: The open middleware agnostic messaging API
* Copyright (C) 2011 NYSE Technologies, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.... | .version 52 0
.class public super MamaBuffer
.super java/lang/Object
.field private arraySize I
.field private myByteArray [B
.field private myCharArray [C
.field private myByteBuffer Ljava/nio/ByteBuffer;
.field private myCharBuffer Ljava/nio/CharBuffer;
.method public <init> : ()V
.code stack 2 locals 1... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:05:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.R... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:05: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;
... | 149,913 |
User | public class User {
private String username;
public User() {}
public User(String username) {
super();
this.username = username;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
@Override
public String toSt... | .version 52 0
.class public super User
.super java/lang/Object
.field private username Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:05: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
* Mon Jul 04 16:05: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;
... | 149,914 |
Solution | /*
* @lc app=leetcode id=1007 lang=java
*
* [1007] Minimum Domino Rotations For Equal Row
*
* https://leetcode.com/problems/minimum-domino-rotations-for-equal-row/description/
*
* algorithms
* Medium (50.93%)
* Total Accepted: 112K
* Total Submissions: 219.9K
* Testcase Example: '[2,1,2,4,2,2]\n[5,2,6,2,... | .version 52 0
.class super Solution
.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 57
.end linenumbertable
.end code
.end method
.m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:49:40 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:49: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;
... | 149,915 |
NoSuchGroupException | /*
* Copyright 2014 Plain Solutions
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | .version 52 0
.class public super NoSuchGroupException
.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 29
L4 31
.e... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:26: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
* Sun Jul 03 20:26: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;
... | 149,916 |
KeyValueSlice | /**
* Copyright 2011-2021 Asakusa Framework Team.
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicab... | .version 52 0
.class public super KeyValueSlice
.super java/lang/Object
.field private static final EMPTY [B
.field private bytes [B
.field private offset I
.field private keyLength I
.field private valueLength I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Me... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:18:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:18: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;
... | 149,917 |
AtlonaPro3Utilities | /**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* <p>See the NOTICE file(s) distributed with this work for additional information.
*
* <p>This program and the accompanying materials are made available under the terms of the Eclipse
* Public License 2.0 which is available at http://www.eclipse.... | .version 52 0
.class public super AtlonaPro3Utilities
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 19
.end linenumbertable
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:02:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:02:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,918 |
OooStatus | /*
* © Copyright IBM Corp. 2013
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | .version 52 0
.class public super OooStatus
.super java/lang/Object
.field private _enabled Z
.field private _start Ljava/util/Date;
.field private _end Ljava/util/Date;
.field private _subject Ljava/lang/String;
.field private _message Ljava/lang/String;
.field private _sendExternal Z
.field private _appendRe... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:12:58 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
* Mon Jul 04 14:12: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;
... | 149,919 |
StringManipulation | public class StringManipulation {
public static String arrayToString(String[] array) {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < array.length; i++) sb.append(array[i]).append("\n");
return sb.toString();
}
}
| .version 52 0
.class public super StringManipulation
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:19:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:19: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;
... | 149,920 |
Handlers | public class Handlers {}
| .version 52 0
.class public super Handlers
.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 19:39:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:39: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;
... | 149,921 |
Persona | /** Created by Nacho González-Garilleti on 31/3/16. */
public class Persona {
private String nombre, dni, email, direccion;
private int edad;
public Persona(String nombre, String dni, String email, String direccion, int edad) {
this.nombre = nombre;
this.dni = dni;
this.email = email;
this.direc... | .version 52 0
.class public super Persona
.super java/lang/Object
.field private nombre Ljava/lang/String;
.field private dni Ljava/lang/String;
.field private email Ljava/lang/String;
.field private direccion Ljava/lang/String;
.field private edad I
.method public <init> : (Ljava/lang/String;Ljava/lang/String... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:27:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:27: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;
... | 149,922 |
InvalidFieldChangeException | //
// OpenVRML
//
// Copyright 2001 Thomas Flynn
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// ... | .version 52 0
.class public super InvalidFieldChangeException
.super java/lang/IllegalArgumentException
.field private static final serialVersionUID J = 0L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/IllegalArgumentException <init> ()V
L4: r... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:41:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:41: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;
... | 149,923 |
Input | import java.io.InputStream;
import java.util.Scanner;
public class Input {
private static Input input;
public static Input getInstance() {
if (input == null) {
input = new Input(System.in);
}
return input;
}
private Scanner scanner;
private Input(InputStream inputStream) {
scanner = ... | .version 52 0
.class public super Input
.super java/lang/Object
.field private static input LInput;
.field private scanner Ljava/util/Scanner;
.method public static getInstance : ()LInput;
.code stack 3 locals 0
L0: getstatic Field Input input LInput;
L3: ifnonnull L19
L6: new Input
L9: d... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:52: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
* Fri Jul 01 23:52: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;
... | 149,924 |
SearchResultKind | /*
* Copyright (c) 2014, the Dart project authors.
*
* Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.eclipse.org/legal/epl-v10.html
*
* Unless required by applicable law or... | .version 52 0
.class public super SearchResultKind
.super java/lang/Object
.field public static final DECLARATION Ljava/lang/String; = 'DECLARATION'
.field public static final INVOCATION Ljava/lang/String; = 'INVOCATION'
.field public static final READ Ljava/lang/String; = 'READ'
.field public static final READ_W... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:00:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:00: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;
... | 149,925 |
TestEvent | /*
* The MIT License (MIT)
*
* Copyright (c) 2016-2020 Patrick Reinhart
*
* 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
... | .version 52 0
.class public super TestEvent
.super java/lang/Object
.field private id Ljava/util/UUID;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: invokestatic Method java/util/UUID randomUUID ()Ljava/u... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:40: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
* Mon Jul 04 00:40: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;
... | 149,926 |
DataPacket | /**
* @author Sopheak Tuon
* @created on 29-May-17
*/
import java.io.Serializable;
import java.util.ArrayList;
public class DataPacket implements Serializable {
private static final long serialVersionUID = 1;
public int commandID;
public ArrayList<Byte> data;
public int length;
public DataPacket(int id, ... | .version 52 0
.class public super DataPacket
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field public commandID I
.field public data Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<Ljava/lang/Byte;>;
.end fieldattribute... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:12:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:12:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,927 |
Painel1 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author Jhonatan & Jéssica
*/
public class Painel1 extends javax.swing.JPanel {
/** Creates new form Painel1 */
public Pa... | .version 52 0
.class public super Painel1
.super javax/swing/JPanel
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method javax/swing/JPanel <init> ()V
L4: aload_0
L5: invokespecial Method Painel1 initComponents ()V
L8: return
L9:
.linenu... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:47:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:47: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;
... | 149,928 |
InputPropertyCatalog7Dup | // @formatter:off
public final class InputPropertyCatalog7Dup {
public static final int KEY1 = 0;
public static final int KEY2 = 2;
public static final String KEY3 = "2";
}
| .version 52 0
.class public final super InputPropertyCatalog7Dup
.super java/lang/Object
.field public static final KEY1 I = 0
.field public static final KEY2 I = 2
.field public static final KEY3 Ljava/lang/String; = '2'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespe... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:20:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:20: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;
... | 149,929 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "bluewave.org.uk.poomsaescorer.test";
public static final String BUILD_TYPE = "debug";
public static final String FLAV... | .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z
.field public static final APPLICATION_ID Ljava/lang/String; = 'bluewave.org.uk.poomsaescorer.test'
.field public static final BUILD_TYPE Ljava/lang/String; = 'debug'
.field public static final FLAVOR Lj... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:03:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:03:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,930 |
Player | /** Finally useful xD */
public class Player {
public boolean inGame = false;
public Player() {}
public Player(String n) {
name = n;
}
public Player(String n, int i) {
name = n;
id = i;
}
public Player(String n, boolean gamestate) {
inGame = gamestate;
name = n;
}
public Playe... | .version 52 0
.class public super Player
.super java/lang/Object
.field public inGame Z
.field public name Ljava/lang/String;
.field public id I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:06: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
* Sun Jul 03 23:06: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;
... | 149,931 |
Mangle | /*
* Copyright (C) 2005 Luca Veltri - University of Parma - Italy
*
* This file is part of MjSip (http://www.mjsip.org)
*
* MjSip is free software; you can redistribute it and/or modify
* it under the terms of the Affero GNU General Public License as published by
* the Free Software Foundation; either version 2 ... | .version 52 0
.class public super Mangle
.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 34
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:34:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:34:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,932 |
DialogoAutentifica | /*
* DialogoAutentifica.java
* Ventana para pedir password de seguridad al usuario
* Parte de proyecto: SADAA
* Author: Pedro Cardoso Rodriguez
* Mail: ingpedro@live.com
* Place: Zacatecas Mexico
*
Copyright © 2010 Pedro Cardoso Rodriguez
SADAA is free software: you can redistribute it and/or modify
it under... | .version 52 0
.class public super DialogoAutentifica
.super javax/swing/JDialog
.field private btnAcepta Ljavax/swing/JButton;
.field private jLabel1 Ljavax/swing/JLabel;
.field private jLabel2 Ljavax/swing/JLabel;
.field private lblAccion Ljavax/swing/JLabel;
.field private txtPsAuten Ljavax/swing/JPasswordFiel... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:22:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.Frame;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:22:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,933 |
Properties | public class Properties {
/** ANIM */
public static final long ANIMATION_DURATION = 600;
/** DIALOGS */
public static final int DIALOG_RESULT_CODE_CANCEL = 2;
public static final int DIALOG_RESULT_CODE_POSITIVE = 3;
}
| .version 52 0
.class public super Properties
.super java/lang/Object
.field public static final ANIMATION_DURATION J = 600L
.field public static final DIALOG_RESULT_CODE_CANCEL I = 2
.field public static final DIALOG_RESULT_CODE_POSITIVE I = 3
.method public <init> : ()V
.code stack 1 locals 1
L0: aloa... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:22: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
* Mon Jul 04 03:22: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;
... | 149,934 |
QuestionC | import java.util.HashSet;
public class QuestionC {
public static int counter = 0;
public static HashSet<Integer> allLengths(int k, int shorter, int longer) {
counter++;
HashSet<Integer> lengths = new HashSet<Integer>();
for (int nShorter = 0; nShorter <= k; nShorter++) {
int nLonger = k - nShort... | .version 52 0
.class public super QuestionC
.super java/lang/Object
.field public static counter 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 5
.end li... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:17:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:17: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;
... | 149,935 |
EventConstants | /*******************************************************************************
* Copyright (c) 2016, 2018 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are m... | .version 52 0
.class public final super EventConstants
.super java/lang/Object
.field public static final EVENT_ENDPOINT Ljava/lang/String; = 'event'
.field public static final EVENT_ENDPOINT_SHORT Ljava/lang/String; = 'e'
.field public static final EVENT_CONNECTION_NOTIFICATION_CONTENT_TYPE Ljava/lang/String; = '... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:28: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
* Sun Jul 03 22:28:53 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... | 149,936 |
UpdateParagraphRequest | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | .version 52 0
.class public super UpdateParagraphRequest
.super java/lang/Object
.field title Ljava/lang/String;
.field text 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:
.line... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:35: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 05: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;
... | 149,937 |
Attributes | /*
* This file is part of CandideRL.
*
* CandideRL 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.
*
* CandideRL is distributed... | .version 52 0
.class public super Attributes
.super java/lang/Object
.implements java/io/Serializable
.field protected maxHp I
.field protected strength I
.field protected dexterity I
.field protected intelligence I
.field protected armor I
.method public <init> : (IIIII)V
.code stack 2 locals 6
L0: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:26:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:26: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;
... | 149,938 |
CSSHelper | /**
* OLAT - Online Learning and Training<br>
* http://www.olat.org
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
*... | .version 52 0
.class public super CSSHelper
.super java/lang/Object
.field private static final CSS_CLASS_FILETYPE_FILE_PREFIX Ljava/lang/String; = 'b_filetype_'
.field public static final CSS_CLASS_FILETYPE_FILE Ljava/lang/String; = 'b_filetype_file'
.field public static final CSS_CLASS_FILETYPE_FOLDER Ljava/lang... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:17: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
* Mon Jul 04 12:17: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;
... | 149,939 |
PreferencesEditEvent | /*************** <auto-copyright.pl BEGIN do not edit this line> **************
*
* VR Juggler is (C) Copyright 1998-2007 by Iowa State University
*
* Original Authors:
* Allen Bierbaum, Christopher Just,
* Patrick Hartling, Kevin Meinert,
* Carolina Cruz-Neira, Albert Baker
*
* This library is free soft... | .version 52 0
.class public super PreferencesEditEvent
.super java/util/EventObject
.method public <init> : (Ljava/lang/Object;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/util/EventObject <init> (Ljava/lang/Object;)V
L5: return
L6:
.linenumb... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:30: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
* Mon Jul 04 15:30: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;
... | 149,940 |
Sort04 | public class Sort04 {
public static void main(String[] args) {
int[] array = new int[] {3, 5, 1, 9, 2, 7};
int[] sorted = ss(array);
for (int i = 0; i < sorted.length; i++) {
System.out.println(sorted[i]);
}
}
public static int[] ss(int[] array) {
int n = array.length;
int k;
f... | .version 52 0
.class public super Sort04
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:56:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:56:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,941 |
LoaderToolbar | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author Emil Simon
*/
public class LoaderToolbar extends javax.swing.JFrame {
/** Creates new form LoaderToolbar */
publi... | .version 52 0
.class public super LoaderToolbar
.super javax/swing/JFrame
.field private fileChooser Ljavax/swing/JFileChooser;
.field private jScrollPane1 Ljavax/swing/JScrollPane;
.field private loadResourceBtn Ljavax/swing/JButton;
.field private resourceBrowseBtn Ljavax/swing/JButton;
.field private resource... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:54:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:54: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;
... | 149,942 |
PrototipConexiuneAbstract | public abstract class PrototipConexiuneAbstract implements Cloneable {
String ipServer;
String bazaDeDate;
String user;
String password;
public abstract void conectare();
@Override
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
@Override
public String toStri... | .version 52 0
.class public super abstract PrototipConexiuneAbstract
.super java/lang/Object
.implements java/lang/Cloneable
.field ipServer Ljava/lang/String;
.field bazaDeDate Ljava/lang/String;
.field user Ljava/lang/String;
.field password Ljava/lang/String;
.method public abstract conectare : ()V
.end me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:33: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 05:33:12 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... | 149,943 |
RemoteInputCompatBase | class RemoteInputCompatBase {}
/* Location: E:\Progs\Dev\Android\Decompile\apktool\zssq\zssq-dex2jar.jar
* Qualified Name: android.support.v4.app.RemoteInputCompatBase
* JD-Core Version: 0.6.0
*/
| .version 52 0
.class super RemoteInputCompatBase
.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... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:24:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:24: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;
... | 149,944 |
UsersPassword | /**
* @author Budi Oktaviyan Suryanto (budi.oktaviyan@icloud.com)
*/
public class UsersPassword {
private String oldpassword;
private String newpassword;
public String getOldpassword() {
return oldpassword;
}
public void setOldpassword(String pOldpassword) {
oldpassword = pOldpassword;
}
publ... | .version 52 0
.class public super UsersPassword
.super java/lang/Object
.field private oldpassword Ljava/lang/String;
.field private newpassword 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 06:24: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 06:24: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;
... | 149,945 |
UniqueChars | public class UniqueChars {
public static boolean hasUniqueChars(String str) {
boolean[] checker = new boolean[26];
for (int i = 0; i < str.length(); i++) {
int val = str.charAt(i) - 'a';
if (checker[val]) {
return false;
}
checker[val] = true;
}
return true;
}
}
| .version 52 0
.class public super UniqueChars
.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 02:51:32 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 02:51:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,946 |
BeanA | public class BeanA {}
| .version 52 0
.class public super BeanA
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:14: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
* Mon Jul 04 11:14: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;
... | 149,947 |
MySQLNonTransientException | /*
Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/J is licensed under the terms of the GPLv2
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors.
There are special exceptions to the terms and conditions of the GPLv2 as it is appl... | .version 52 0
.class public super MySQLNonTransientException
.super java/sql/SQLException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/sql/SQLException <init> ()V
L4: return
L5:
.linenumbertable
L0 32
L4 33
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:48:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:48: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;
... | 149,948 |
UserHolder | public class UserHolder {
private String name = "";
private String personalID = "";
private String address = "";
private String postalCode = "";
private String postalAddress = "";
public UserHolder(
String name, String personalID, String address, String postalCode, String postalAddress) {
super()... | .version 52 0
.class public super UserHolder
.super java/lang/Object
.field private name Ljava/lang/String;
.field private personalID Ljava/lang/String;
.field private address Ljava/lang/String;
.field private postalCode Ljava/lang/String;
.field private postalAddress Ljava/lang/String;
.method public <init> :... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:19: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
* Sat Jul 02 10:19: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;
... | 149,949 |
JNINative | public class JNINative {
static {
System.loadLibrary("gnustl_shared");
System.loadLibrary("cuda_jni_example");
}
public static native float[] addArrays(float[] a, float[] b);
}
| .version 52 0
.class public super JNINative
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:15:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:15:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,950 |
FastByteBuffer | // Copyright (c) 2003-present, Jodd Team (jodd.org). All Rights Reserved.
/**
* Fast, fast <code>byte</code> buffer. This buffer implementation does not store all data in single
* array, but in array of chunks.
*/
public class FastByteBuffer {
private byte[][] buffers = new byte[16][];
private int buffersCount... | .version 52 0
.class public super FastByteBuffer
.super java/lang/Object
.field private buffers [[B
.field private buffersCount I
.field private currentBufferIndex I
.field private currentBuffer [B
.field private offset I
.field private size I
.field private final minChunkLen I
.method public <init> : ()V
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:22:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:22: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;
... | 149,951 |
Certificates | /* DigiDoc4J library
*
* This software is released under either the GNU Library General Public
* License (see LICENSE.LGPL).
*
* Note that the only valid version of the LGPL license as far as this
* project is concerned is the original GNU Library General Public License
* Version 2.1, February 1999
*/
public c... | .version 52 0
.class public super Certificates
.super java/lang/Object
.field public static final TS_CERTIFICATE Ljava/lang/String; = [s7]
.field public static final SIGNING_CERTIFICATE Ljava/lang/String; = [s9]
.field public static final OCSP_CERTIFICATE Ljava/lang/String; = [s11]
.method public <init> : ()V
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:33:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:33: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;
... | 149,952 |
NextChartFont | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | .version 52 0
.class public super NextChartFont
.super java/lang/Object
.field private weight Ljava/lang/String;
.field private size I
.field private family Ljava/lang/String;
.method public <init> : (Ljava/lang/String;ILjava/lang/String;)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Meth... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:12:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:12: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;
... | 149,953 |
Problem33 |
/** Created by mmax on 1/21/14. */
public class Problem33 {
public static int gcd(int a, int b) {
if (b == 0) return a;
return gcd(b, a % b);
}
public static void main(String[] args) {
int dProd = 1;
int nProd = 1;
for (int i = 1; i < 10; i++) {
for (int d = 1; d < i; d++) {
f... | .version 52 0
.class public super Problem33
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:02: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 09:02: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;
... | 149,954 |
Permutations | import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/** Created by vamsu on 8/21/17. */
public class Permutations {
static void printPermute(String input) {
printPermute(input.toCharArray(), 0, input.length(), "");
}
static void printPermute(char[] input, int start, int end, String o... | .version 52 0
.class public super Permutations
.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
* Mon Jul 04 02:41:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedList;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:41: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;
... | 149,955 |
GetEmailActivity | /** Created by matinal on 23/01/2018. */
public class GetEmailActivity {}
| .version 52 0
.class public super GetEmailActivity
.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 c... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:08:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:08: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;
... | 149,956 |
AmazonHelper | /** Created by jay on 1/14/16. */
public class AmazonHelper {
/*
*/
/* -- Key for Cognito Identity Pool in Android Manifest -- */
/*
private final static String COGNITO_IDENTITY_POOL = "com.afrozaar.wp_api_v2_client_android.IdentityPoolId";
*/
/* -- Key for Identity Pool Region in Android Manifest -- */... | .version 52 0
.class public super AmazonHelper
.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
* Mon Jul 04 02:41: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
* Mon Jul 04 02:41: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;
... | 149,957 |
DeviceResource | import java.io.Serializable;
public class DeviceResource implements Serializable {
private String id;
private String type;
private String mediaUrl;
private String mimeType;
public String getId() {
return id;
}
/** Returns type of the resource. May be 'icon', 'banner' and '' */
public String getT... | .version 52 0
.class public super DeviceResource
.super java/lang/Object
.implements java/io/Serializable
.field private id Ljava/lang/String;
.field private type Ljava/lang/String;
.field private mediaUrl Ljava/lang/String;
.field private mimeType Ljava/lang/String;
.method public <init> : ()V
.code stac... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:53: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
* Sat Jul 02 17:53: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;
... | 149,958 |
DisclosureTriangle | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author deane
*/
public class DisclosureTriangle {}
| .version 52 0
.class public super DisclosureTriangle
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:00:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:00:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,959 |
Utils | import java.io.PrintWriter;
import java.io.StringWriter;
final class Utils {
private static final boolean DEBUG = true;
static boolean isNullOrEmpty(String str) {
return str == null || str.isEmpty();
}
static String stackTraceToString(Throwable e) {
StringWriter stackTrace = new StringWriter();
e... | .version 52 0
.class final super Utils
.super java/lang/Object
.field private static final DEBUG Z = 1
.method static isNullOrEmpty : (Ljava/lang/String;)Z
.code stack 1 locals 1
L0: aload_0
L1: ifnull L11
L4: aload_0
L5: invokevirtual Method java/lang/String isEmpty ()Z
L8: ifeq L15 ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:37:36 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:37: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;
... | 149,960 |
RecursivePalindromeTester | import java.util.Scanner;
public class RecursivePalindromeTester {
private static boolean isPalindrome(String input) {
if (input.length() == 1) return true;
else if (input.length() == 2) return (input.charAt(0) == input.charAt(1));
else
return isPalindrome("" + input.charAt(0) + input.charAt(input.... | .version 52 0
.class public super RecursivePalindromeTester
.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
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:56:38 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
* Mon Jul 04 05:56: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;
... | 149,961 |
SeparationLock | import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.locks.ReentrantReadWriteLock;
/**
* 分离锁,使用{@link ReentrantReadWriteLock}
*
* <p>User : krisjin Date: 2015/9/14 Time: 9:29
*/
public class SeparationLock {
private final Map[] maps = null;
private final ReentrantReadWriteLock[] lock = ... | .version 52 0
.class public super SeparationLock
.super java/lang/Object
.field private final maps [Ljava/util/Map;
.field private final lock [Ljava/util/concurrent/locks/ReentrantReadWriteLock;
.field private seg I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:33:10 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:33: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;
... | 149,962 |
SearchInjection | public final class SearchInjection {
public static String Scan(Object literalValue) {
return (String) literalValue;
}
}
| .version 52 0
.class public final super SearchInjection
.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
.... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:16:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:16: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;
... | 149,963 |
StackQuickSort | import java.util.Arrays;
import java.util.Stack;
/*
* QuickSort를 비재귀방식으로?
* - 만일 입력 데이터 자료가 많다면 스택 오버플로우가 일어날 수도 있다.
* - 해결법 : 순환 호출법 구현
* - 자체적으로 스택을 만들어서 해결
*/
public class StackQuickSort {
public static void main(String[] args) {
int[] arr = {5, 2, 6, 1, 3, 4};
QuickSort(arr, arr.length - 1);... | .version 52 0
.class public super StackQuickSort
.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 co... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:05:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:05:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,964 |
SplittingStrategy | /*******************************************************************************
* Copyright (c) 2007, 2008 David Green and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is... | .version 52 0
.class public super abstract SplittingStrategy
.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 18
.end linenumbertable ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:28:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:28:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 149,965 |
Solution | /*
* @lc app=leetcode id=733 lang=java
*
* [733] Flood Fill
*
* https://leetcode.com/problems/flood-fill/description/
*
* algorithms
* Easy (55.67%)
* Total Accepted: 201.6K
* Total Submissions: 362.2K
* Testcase Example: '[[1,1,1],[1,1,0],[1,0,1]]\n1\n1\n2'
*
*
* An image is represented by a 2-D arra... | .version 52 0
.class super Solution
.super java/lang/Object
.field next [[I
.method <init> : ()V
.code stack 8 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_4
L6: anewarray [I
L9: dup
L10: iconst_0
L11: iconst_2
L12: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:59:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:59:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,966 |
deq | import java.util.*;
class deq {
int maxsize;
int q[];
int f, r;
public deq(int size) {
maxsize = size;
f = r = -1;
q = new int[maxsize];
}
public boolean isFull() {
if (f == 0) return true;
else return false;
}
public boolean isEmpty() {
if (f == -1) return true;
else ret... | .version 52 0
.class super deq
.super java/lang/Object
.field maxsize I
.field q [I
.field f I
.field r I
.method public <init> : (I)V
.code stack 4 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field deq maxsize I
L... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:50:42 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 20:50: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;
... | 149,967 |
Wire | // Copyright 2014 catchpole.net
//
// 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... | .version 52 0
.class public super Wire
.super java/lang/Object
.field private final resettable Z
.field private tripped Z
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L6: putfield Field Wi... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:38: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
* Mon Jul 04 07:38: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;
... | 149,968 |
Exercicio04 | import java.util.Scanner;
public class Exercicio04 {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.print("Digite a nota do primeiro bimestre: ");
double notaPrimeiroBimestre = scan.nextDouble();
System.out.print("Digite a nota do segundo bimestre: ");
... | .version 52 0
.class public super Exercicio04
.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 10:29:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.util.SystemInUtil;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:29: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;
... | 149,969 |
MP3Exception | /*
* Copyright 2013-2014 Odysseus Software GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | .version 52 0
.class public super MP3Exception
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:32:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:32: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;
... | 149,970 |
State | /*******************************************************************************
* This code is distributed under GPL v2 licence.
*
* This code is provided solely "as is".
* There is no warranty or other guarantee of fitness of this code.
* The author disclaims all responsibility and liability
* with respect to t... | .version 52 0
.class public super State
.super java/lang/Object
.field public name Ljava/lang/String;
.field public label Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:34: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
* Sun Jul 03 21:34: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;
... | 149,971 |
File1 | public class File1 {
public void dup() {
for (int i = 0; i < 10; i++) {
System.out.println(i);
}
}
}
| .version 52 0
.class public super File1
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:38: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:38: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;
... | 149,972 |
HallOfFame | /**
* Stats for past games
*
* @author Rachel Wiens
*/
public class HallOfFame {
private int gamesPlayed;
private int gamesWon;
private int bestTime;
HallOfFame() {
gamesPlayed = gamesWon = 0;
bestTime = Integer.MAX_VALUE;
}
/**
* Update the Hall of Fame records. Increment the number of gam... | .version 52 0
.class public super HallOfFame
.super java/lang/Object
.field private gamesPlayed I
.field private gamesWon I
.field private bestTime I
.method <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_0
L6: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:18: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 22:18: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;
... | 149,973 |
BitInteger | public class BitInteger {
public static int INTEGER_SIZE;
private boolean[] bits;
public BitInteger() {
bits = new boolean[INTEGER_SIZE];
}
/* Creates a number equal to given value. Takes time proportional
* to INTEGER_SIZE. */
public BitInteger(int value) {
bits = new boolean[INTEGER_SIZE];
... | .version 52 0
.class public super BitInteger
.super java/lang/Object
.field public static INTEGER_SIZE I
.field private bits [Z
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: getstatic Field BitInteger IN... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:02:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:02: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;
... | 149,974 |
SyntaxError | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author daimor
*/
public class SyntaxError {
public String message;
public int line;
public int charPositionInLine;
public int start;
public int stop;
}
| .version 52 0
.class public super SyntaxError
.super java/lang/Object
.field public message Ljava/lang/String;
.field public line I
.field public charPositionInLine I
.field public start I
.field public stop I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Metho... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:14: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
* Mon Jul 04 14:14: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;
... | 149,975 |
BinarySearchRotated | import java.util.ArrayList;
import java.util.List;
/*
* Suppose a sorted array is rotated at some pivot unknown to you beforehand.
* (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).
* How do you find an element in the rotated array efficiently?
* You may assume no duplicate exists in the array.
*/
public class ... | .version 52 0
.class public super BinarySearchRotated
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:05:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Collection;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunne... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:05:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,976 |
Fuel | public abstract class Fuel {
private int amount;
public int getAmount() {
return amount;
}
public void setAmount(int amount) {
this.amount = amount;
}
}
| .version 52 0
.class public super abstract Fuel
.super java/lang/Object
.field private amount 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 3
.end linen... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:01: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
* Sat Jul 02 17:01:23 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... | 149,977 |
Talent | public class Talent {
private int id;
private String name;
private int rank;
public int id() {
return id;
}
public String name() {
return name;
}
public int rank() {
return rank;
}
public Talent(String data) {
id = Integer.parseInt(data.substring(data.indexOf(':') + 1, data.inde... | .version 52 0
.class public super Talent
.super java/lang/Object
.field private id I
.field private name Ljava/lang/String;
.field private rank I
.method public id : ()I
.code stack 1 locals 1
L0: aload_0
L1: getfield Field Talent id I
L4: ireturn
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:38:40 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 12:38: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;
... | 149,978 |
ApplianceVmNicSpec | import java.io.Serializable;
/**
* Created with IntelliJ IDEA. User: frank Time: 11:44 PM To change this template use File |
* Settings | File Templates.
*/
public class ApplianceVmNicSpec implements Serializable {
private String l3NetworkUuid;
private String ip;
private String netmask;
private String gatew... | .version 52 0
.class public super ApplianceVmNicSpec
.super java/lang/Object
.implements java/io/Serializable
.field private l3NetworkUuid Ljava/lang/String;
.field private ip Ljava/lang/String;
.field private netmask Ljava/lang/String;
.field private gateway Ljava/lang/String;
.field private mac Ljava/lang/Str... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20: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 20: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;
... | 149,979 |
TestPopupMenu | import java.awt.*;
import java.awt.event.*;
/**
* Description: <br>
* Copyright (C), 2005-2008, Yeeku.H.Lee <br>
* This program is protected by copyright laws. <br>
* Program Name: <br>
* Date:
*
* @author Yeeku.H.Lee kongyeeku@163.com
* @version 1.0
*/
public class TestPopupMenu {
private TextArea ta = new... | .version 52 0
.class public super TestPopupMenu
.super java/lang/Object
.field private ta Ljava/awt/TextArea;
.field private f Ljava/awt/Frame;
.field pop Ljava/awt/PopupMenu;
.field autoWrap Ljava/awt/CheckboxMenuItem;
.field copyItem Ljava/awt/MenuItem;
.field pasteItem Ljava/awt/MenuItem;
.field format Ljav... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:45:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:45: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;
... | 149,980 |
WatcherRep1 | /*
* Copyright 2016, Stuart Douglas, and individual contributors as indicated
* by the @authors tag.
*
* 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/lice... | .version 52 0
.class public super WatcherRep1
.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 20
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:29: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 12:29: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;
... | 149,981 |
Greeting | public class Greeting {
private String content;
public Greeting() {}
public Greeting(String content) {
this.content = content;
}
public String getContent() {
return content;
}
}
| .version 52 0
.class public super Greeting
.super java/lang/Object
.field private content Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:42: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 01:42: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;
... | 149,982 |
CharacterEncodings | public class CharacterEncodings {
public static final String ISO_8859_1 = "ISO-8859-1";
public static final String UTF_8 = "UTF-8";
public static final String UTF_16BE = "UTF-16BE";
public static final String US_ASCII = "US-ASCII";
private CharacterEncodings() {}
}
| .version 52 0
.class public super CharacterEncodings
.super java/lang/Object
.field public static final ISO_8859_1 Ljava/lang/String; = 'ISO-8859-1'
.field public static final UTF_8 Ljava/lang/String; = 'UTF-8'
.field public static final UTF_16BE Ljava/lang/String; = 'UTF-16BE'
.field public static final US_ASCII... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:43: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
* Fri Jul 01 09:43:17 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... | 149,983 |
FindUserTables | import java.sql.*;
public class FindUserTables {
public static void main(String[] args) throws SQLException, ClassNotFoundException {
// Load the JDBC driver
Class.forName("com.mysql.jdbc.Driver");
System.out.println("Driver loaded");
// Establish a connection
Connection connection =
Dri... | .version 52 0
.class public super FindUserTables
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:59:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:59: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;
... | 149,984 |
SQLStorage | import java.sql.*;
public class SQLStorage {
public static void main(String[] args) {
String url = "jdbc:postgresql://localhost:5432/java_a_to_z";
String username = "postgres";
String password = "postgres";
Connection conn = null;
try {
conn = DriverManager.getConnection(url, username, pas... | .version 52 0
.class public super SQLStorage
.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 21:54:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:54: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;
... | 149,985 |
PreyException | /*******************************************************************************
* Created by Carlos Yaconi
* Copyright 2012 Fork Ltd. All rights reserved.
* License: GPLv3
* Full license at "/LICENSE"
******************************************************************************/
public class PreyException exten... | .version 52 0
.class public super PreyException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokespecial Method java/lang/Ex... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:49: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
* Sat Jul 02 15:49: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;
... | 149,986 |
UnmaskRange | /*
* #%L
* BroadleafCommerce Common Libraries
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/... | .version 52 0
.class public super UnmaskRange
.super java/lang/Object
.field public static final BEGINNINGTYPE I = 0
.field public static final ENDTYPE I = 1
.field private positionType I
.field private length I
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:00: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
* Sat Jul 02 08:00: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;
... | 149,987 |
NoSuchMethodException | /* Copyright (c) 2008, Avian Contributors
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice appear
in all copies.
There is NO WARRANTY for this software. See license.txt for
detai... | .version 52 0
.class public super NoSuchMethodException
.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:
.linenumbert... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:18: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
* Mon Jul 04 07:18: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;
... | 149,988 |
Point | import java.util.HashSet;
import java.util.Set;
public class Point {
@Override
public String toString() {
return "(" + getX() + ", " + getY() + ")"; // $NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
protected float _x, _y;
protected Point _bindX;
protected Point _bindY;
private Set<Point> _children = ne... | .version 52 0
.class public super Point
.super java/lang/Object
.field protected _x F
.field protected _y F
.field protected _bindX LPoint;
.field protected _bindY LPoint;
.field private _children Ljava/util/Set; .fieldattributes
.signature Ljava/util/Set<LPoint;>;
.end fieldattributes
.field private _pro... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:12:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:12: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;
... | 149,989 |
TerminationType | public class TerminationType {
public static final int OVERNIGHT = 1;
public static final int TERM = 2;
public static final int FLEXIBLE = 3;
public static final int OPEN = 4;
}
| .version 52 0
.class public super TerminationType
.super java/lang/Object
.field public static final OVERNIGHT I = 1
.field public static final TERM I = 2
.field public static final FLEXIBLE I = 3
.field public static final OPEN I = 4
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1:... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:03: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
* Fri Jul 01 20:03: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;
... | 149,990 |
MessageException | public class MessageException extends Exception {
private static final long serialVersionUID = 1L;
public MessageException() {
super();
}
public MessageException(Throwable t) {
super(t);
}
public MessageException(String m) {
super(m);
}
}
| .version 52 0
.class public super MessageException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:43: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 03:43: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;
... | 149,991 |
AWTUtil | import java.awt.*;
import java.awt.geom.*;
public class AWTUtil {
public static Point2D subtract(Point2D a, Point2D b) {
return new Point2D.Double(a.getX() - b.getX(), a.getY() - b.getY());
}
public static Point2D add(Point2D a, Point2D b) {
return new Point2D.Double(a.getX() + b.getX(), a.getY() + b.g... | .version 52 0
.class public super AWTUtil
.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
* Fri Jul 01 19:41:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.awt.Graphics2D;
import java.awt.geom.Point2D;
import org.evosuite.runtime.EvoRunner;
import org.evos... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:41: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;
... | 149,992 |
Assert | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author yy
*/
public class Assert {
public static void notNull(Object obj) {
if (obj == null) {
throw new NullPointerException();
}
}
public static void inRange(int index, int low, int high... | .version 52 0
.class public super Assert
.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 code
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:44:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:44: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;
... | 149,993 |
TimeZoneUtil | import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.TimeZone;
public class TimeZoneUtil {
public static Calendar convertToTimeZone(Calendar time, TimeZone timeZone) {
Calendar foreignTime = new GregorianCalendar(timeZone);
foreignTime.setTimeInMillis(time.getTimeInMillis());
... | .version 52 0
.class public super TimeZoneUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:53:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Calendar;
import java.util.TimeZone;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:53: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;
... | 149,994 |
Solution | public class Solution {
public int[] searchRange(int[] A, int target) {
int[] answer = {-1, -1};
int mid, low = 0, high = A.length - 1;
while (low <= high) {
mid = (low + high) / 2;
if (target == A[mid] && (mid == 0 || (mid > 0 && A[mid - 1] < target))) {
answer[0] = mid;
low =... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:02: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
* Mon Jul 04 02:02: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;
... | 149,995 |
SslKeyDto | /*
* Copyright 2014 by SCSK Corporation.
*
* This file is part of PrimeCloud Controller(TM).
*
* PrimeCloud Controller(TM) 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... | .version 52 0
.class public super SslKeyDto
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -2684249648440988501L
.field private keyName Ljava/lang/String;
.field private keyNo Ljava/lang/Long;
.field private keyId Ljava/lang/String;
.method public <ini... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:01: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
* Fri Jul 01 07:01:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 149,996 |
Scan | import java.util.Scanner;
public class Scan {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a;
System.out.println("Enter number");
while (!scanner.hasNextInt()) {
System.out.println("Try again:");
scanner.nextLine();
}
a = scanner.nextInt... | .version 52 0
.class public super Scan
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:48:31 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 04:48: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;
... | 149,997 |
RTTHandler | /*
* Copyright (c) 2014 mucaho (https://github.com/mucaho).
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/**
* SRTT = (1 - alpha) * SRTT + alpha * R' SRTT +... | .version 52 0
.class public final super RTTHandler
.super java/lang/Object
.field private static final ALPHA F = +0.125f
.field private static final BETA F = +0.25f
.field private final K I
.field private final G I
.field private rto J
.field private vto J
.field private lastBackoffTime Ljava/lang/Long;
.fiel... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:39:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:39: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;
... | 149,998 |
Shoes | /** Created by Shmily_Z on 2017/5/1. */
public class Shoes {
/**
* date : 2017.05 no : 二手 iid : 1 sex : 男士 miaoshu : 你是不是你手机十几万 picture :
* http://www.shmilyz.com/picture/20170526161415_1.jpg pictureamount : 1 size : 43 price : 1200
* picturename : 20170526161415 style : 篮球/足球 location : 天津市西青区 biaoti : 我爱你 ... | .version 52 0
.class public super Shoes
.super java/lang/Object
.field private id I
.field private date Ljava/lang/String;
.field private no Ljava/lang/String;
.field private iid Ljava/lang/String;
.field private sex Ljava/lang/String;
.field private miaoshu Ljava/lang/String;
.field private picture Ljava/lang... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:48:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:48: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;
... | 149,999 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.