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 |
|---|---|---|---|---|---|
HajjIndicator | public class HajjIndicator {
private String indication_id;
private String indication_title;
private String indication_detail;
public String getIndication_id() {
return indication_id;
}
public void setIndication_id(String indication_id) {
this.indication_id = indication_id;
}
public String ge... | .version 52 0
.class public super HajjIndicator
.super java/lang/Object
.field private indication_id Ljava/lang/String;
.field private indication_title Ljava/lang/String;
.field private indication_detail Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokesp... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:57:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:57: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;
... | 151,200 |
ShibAuthConstants | /*
Copyright (c) 2008-2012, Shibboleth Authenticator for Confluence Team
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this l... | .version 52 0
.class public super ShibAuthConstants
.super java/lang/Object
.field public static final PROPERTIES_FILE Ljava/lang/String; = '/remoteUserAuthenticator.properties'
.field public static final SEPARATOR Ljava/lang/String; = '[,; ]'
.field public static final DEFAULT_EMAIL_DOMAIN_PROPERTY Ljava/lang/Str... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:54: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
* Fri Jul 01 10:54: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;
... | 151,201 |
Employee | public class Employee implements Comparable<Employee> {
private String firstName;
private String lastName;
private int emplyeeCode;
public Employee(String fistName, String lastName, int emplyeeCode) {
this.firstName = fistName;
this.lastName = lastName;
this.emplyeeCode = emplyeeCode;
}
publi... | .version 52 0
.class public super Employee
.super java/lang/Object
.implements java/lang/Comparable
.field private firstName Ljava/lang/String;
.field private lastName Ljava/lang/String;
.field private emplyeeCode I
.method public <init> : (Ljava/lang/String;Ljava/lang/String;I)V
.code stack 2 locals 4
L0... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:24: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
* Mon Jul 04 02:24: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;
... | 151,202 |
Rsa | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.math.BigInteger;
import java.security.SecureRandom;
/**
* @author Mario Codes Sánchez
*/
public class Rsa {
private f... | .version 52 0
.class public super Rsa
.super java/lang/Object
.field private final CLAVE_PROPIA_PUBLICA [Ljava/math/BigInteger;
.field private final CLAVE_PROPIA_PRIVADA [Ljava/math/BigInteger;
.field private CLAVE_AJENA_PUBLICA [Ljava/math/BigInteger;
.field private n Ljava/math/BigInteger;
.field private d Lja... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:20:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.math.BigInteger;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:20: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;
... | 151,203 |
DuplicateNameException | /*
* Copyright 2002-2015 by bafeimao.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 DuplicateNameException
.super java/lang/Exception
.field private static final serialVersionUID J = 8668209900919154257L
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc 'Duplicated Name.'
L3: invokespecial Method java/lang/Exception <init>... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:05: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 07:05: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;
... | 151,204 |
TimeStamp | /*
* ******************************************************************************
* sdrtrunk
* Copyright (C) 2014-2018 Dennis Sheirer
*
* 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, e... | .version 52 0
.class public super TimeStamp
.super java/lang/Object
.field public static DATE_FORMAT Ljava/text/SimpleDateFormat;
.field public static TIME_FORMAT Ljava/text/SimpleDateFormat;
.field public static DATE_WITH_MILLISECONDS_FORMAT Ljava/text/SimpleDateFormat;
.field public static DATE_TIME_FORMAT Ljav... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:09:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.text.DateFormatSymbols;
import java.text.SimpleDateFormat;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 22:09:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,205 |
NoSuchFurnishingIDError | public class NoSuchFurnishingIDError extends RuntimeException {
public NoSuchFurnishingIDError() {
super();
}
public NoSuchFurnishingIDError(
String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
... | .version 52 0
.class public super NoSuchFurnishingIDError
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 5
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:11:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:11:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,206 |
Print | /** Created by Mats on 3-5-16. */
public class Print {
public static void main(String[] args) {
if (args.length == 0) {
System.out.println("No args given");
exit(1);
}
for (String s : args) {
try {
Byte i = Byte.parseByte(s);
System.out.println(String.format("%d => %02X"... | .version 52 0
.class public super Print
.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 m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:46:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.S... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:46:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,207 |
Timer | public class Timer {
private float time;
public float getTicks() {
return time;
}
public void update(float delta) {
time += delta;
}
public void reset() {
time = 0;
}
public boolean reached(float millis) {
return time >= millis;
}
}
| .version 52 0
.class public super Timer
.super java/lang/Object
.field private time F
.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
* Sat Jul 02 15:56:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:56: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;
... | 151,208 |
numbersOnATree | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class numbersOnATree {
public static void main(String[] args) throws IOException {
BufferedReader lector = new BufferedReader(new InputStreamReader(System.in));
String[] arr = lector.readLine().split(" ");
... | .version 52 0
.class public super numbersOnATree
.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
* Sat Jul 02 19:41:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.u... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:41:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,209 |
Cache | import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/** Created by LJT on 2015/12/1. */
public class Cache {
// map key
private int index = 0;
// cache map
private Map<Integer, Object> cacheMap = new HashMap<Integer, Object>();
// cmd map
private Map<Intege... | .version 52 0
.class public super Cache
.super java/lang/Object
.field private index I
.field private cacheMap Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/Object;>;
.end fieldattributes
.field private optionMap Ljava/util/Map; .fieldattributes
.signature Ljav... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:31: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
* Fri Jul 01 10:31: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;
... | 151,210 |
Bug4396021SpecialMessages | /*
* Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foun... | .version 52 0
.class public super Bug4396021SpecialMessages
.super java/util/ListResourceBundle
.field private static final contents [[Ljava/lang/Object;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/util/ListResourceBundle <init> ()V
L4: aload_0
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:40:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.MissingResourceException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunn... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:40: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;
... | 151,211 |
AttributeKeys | /*
* 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 AttributeKeys
.super java/lang/Object
.field public static final DRIVER_CONFIG Ljava/lang/String; = 'driverConfig'
.field public static final DRIVER_ADMIN_CONFIG Ljava/lang/String; = 'driverAdminConfig'
.field public static final PORTLET_CONTAINER Ljava/lang/String; = 'portletCont... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16: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.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:40:08 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... | 151,212 |
Tee | import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
import java.io.UnsupportedEncodingException;
import java.nio.charset.Charset;
public class Tee extends OutputStream {
private final PrintStream wrapped;
private final ByteArrayOutputStream buf... | .version 52 0
.class public super Tee
.super java/io/OutputStream
.field private final wrapped Ljava/io/PrintStream;
.field private final buffer Ljava/io/ByteArrayOutputStream;
.field private volatile capture Z
.field private volatile echo Z
.method public <init> : (Ljava/io/PrintStream;)V
.code stack 3 lo... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:59:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.PrintStream;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFileOutp... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:59:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,213 |
OrderFlowContext | import java.util.HashMap;
import java.util.Map;
public class OrderFlowContext {
private String traceId;
private String orderId;
private String pickId;
private String shipmentId;
public static OrderFlowContext fromMap(Map<String, Object> values) {
OrderFlowContext context = new OrderFlowContext();
c... | .version 52 0
.class public super OrderFlowContext
.super java/lang/Object
.field private traceId Ljava/lang/String;
.field private orderId Ljava/lang/String;
.field private pickId Ljava/lang/String;
.field private shipmentId Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: al... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:06:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:06: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;
... | 151,214 |
Arraylist | import java.util.ArrayList;
public class Arraylist {
public static void main(String args[]) {
ArrayList<String> obj = new ArrayList<String>();
obj.add("santhosh");
obj.add("sathiesh");
obj.add("pandi");
obj.add("santhosh");
obj.add("dsds");
obj.add("cdcsd");
System.out.println("the ... | .version 52 0
.class public super Arraylist
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:30:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:30:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,215 |
Organization | /*
* 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 Organization
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field public name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:59:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:59:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,216 |
ConfigurationBean | public class ConfigurationBean {
private String configurationKey;
private Integer configurationCategoryId;
private String username;
private String configurationValue;
private String configurationDescription;
/** Creates a new instance of ConfigurationBean */
public ConfigurationBean() {}
public Strin... | .version 52 0
.class public super ConfigurationBean
.super java/lang/Object
.field private configurationKey Ljava/lang/String;
.field private configurationCategoryId Ljava/lang/Integer;
.field private username Ljava/lang/String;
.field private configurationValue Ljava/lang/String;
.field private configurationDes... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:14: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 23:14: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;
... | 151,217 |
GTUtil | /** GT Constants */
public class GTUtil {
/** SCS[1:0]* Low Decode Address */
public static final int GT_SCS10LD = 0x8;
/** SCS[1:0]* High Decode Address */
public static final int GT_SCS10HD = 0x10;
/** SCS[3:2]* Low Decode Address */
public static final int GT_SCS32LD = 0x18;
/** SCS[3:2]* High Decode ... | .version 52 0
.class public super GTUtil
.super java/lang/Object
.field public static final GT_SCS10LD I = 8
.field public static final GT_SCS10HD I = 16
.field public static final GT_SCS32LD I = 24
.field public static final GT_SCS32HD I = 32
.field public static final GT_CS20LD I = 40
.field public static fin... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:18: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 04:18: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;
... | 151,218 |
ManaPurifier | public class ManaPurifier {}
| .version 52 0
.class public super ManaPurifier
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:25: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
* Sat Jul 02 05:25: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;
... | 151,219 |
ControllerFilter | /** Copyright 2013 Mat Booth <mbooth@apache.org> */
public class ControllerFilter {
public final String field;
public final String operator;
public final Object value;
public ControllerFilter(final String field, final String operator, final Object value) {
this.field = field;
this.operator = operator;
... | .version 52 0
.class public super ControllerFilter
.super java/lang/Object
.field public final field Ljava/lang/String;
.field public final operator Ljava/lang/String;
.field public final value Ljava/lang/Object;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V
.code stack 2... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:20: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 16:20: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;
... | 151,220 |
FolderData | public class FolderData implements Comparable<FolderData> {
private String name;
public FolderData() {}
public FolderData(String foldername) {
this.name = foldername;
}
@Override
public String toString() {
return "FolderData [name=" + name + "]";
}
@Override
public int hashCode() {
fin... | .version 52 0
.class public super FolderData
.super java/lang/Object
.implements java/lang/Comparable
.field private name 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:
.linenum... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:47:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:47: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;
... | 151,221 |
Comparar | /*
* Copyright [13/03/2014] [Einar Meyerson Uriarte]
*
* 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 Ap... | .version 52 0
.class public super Comparar
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 23
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:00:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.t... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:00:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,222 |
HttpWebResponse | // Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// 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, in... | .version 52 0
.class public super HttpWebResponse
.super java/lang/Object
.field private final mStatusCode I
.field private final mResponseBody Ljava/lang/String;
.field private final mResponseHeaders Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/Strin... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:25:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:25: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;
... | 151,223 |
Production9617 | public class Production9617 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
public String getProperty1() {
return property1;
}
public void setProperty1(String value)... | .version 52 0
.class public super Production9617
.super java/lang/Object
.field private property0 Ljava/lang/String;
.field private property1 Ljava/lang/String;
.field private property2 Ljava/lang/String;
.field private property3 Ljava/lang/String;
.field private property4 Ljava/lang/String;
.field private prop... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:55:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:55:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,224 |
QQFaceUtil | import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* 表情操作类
*
* @author sunlight
*/
public class QQFaceUtil {
/**
* 判断是否是QQ表情
*
* @param content
* @return
*/
public static boolean isQqFace(String content) {
boolean result = false;
// 判断QQ表情的正则表达式
String qqfaceRegex =
... | .version 52 0
.class public super QQFaceUtil
.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
* Sat Jul 02 15:04:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:04: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;
... | 151,225 |
MinimumCostOfRopes | /**
* http://practice.geeksforgeeks.org/problems/minimum-cost-of-ropes/0 Medium Connect n ropes with
* minimum cost There are given n ropes of different lengths, we need to connect these ropes into
* one rope. The cost to connect two ropes is equal to sum of their lengths. We need to connect the
* ropes with minimu... | .version 52 0
.class public super MinimumCostOfRopes
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 21
.end linenumbertable
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:17:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:17:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,226 |
Ortho | import java.util.Arrays;
/** provides a simple orthographic projection */
public class Ortho {
public float[] projector;
public Ortho() {
projector = new float[16];
projector[0] = projector[5] = projector[10] = projector[15] = 1f;
}
public void size(float width, float height, float depth) {
Arra... | .version 52 0
.class public super Ortho
.super java/lang/Object
.field public projector [F
.method public <init> : ()V
.code stack 10 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: bipush 16
L7: newarray float
L9: putfield Field Ortho pr... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:05: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 02:05: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;
... | 151,227 |
IntakeCHospitalization | /**
* Copyright (c) 2005-2012. Centre for Research on Inner City Health, St. Michael's Hospital,
* Toronto. All Rights Reserved. This software is published under the GPL GNU General Public
* License. This program is free software; you can redistribute it and/or modify it under the terms
* of the GNU General Public ... | .version 52 0
.class public super IntakeCHospitalization
.super java/lang/Object
.field private date Ljava/lang/String;
.field private length Ljava/lang/String;
.field private psychiatric Z
.field private physicalHealth Z
.field private unknown Z
.method public <init> : ()V
.code stack 2 locals 1
L0: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:27:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:27:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,228 |
RptRendimientoPojo | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.io.Serializable;
/**
* @author Alejandro
*/
public class RptRendimientoPojo implements Serializable {
private String... | .version 52 0
.class public super RptRendimientoPojo
.super java/lang/Object
.implements java/io/Serializable
.field private grado Ljava/lang/String;
.field private seccion Ljava/lang/String;
.field private materia Ljava/lang/String;
.field private alumnos Ljava/lang/String;
.field private tipoEvaluacion Ljava/... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:55:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:55:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,229 |
InjectConstants | public class InjectConstants {
public static final String SCAN_PACK_PLUGIN_INJECT = "cn.com.warlock.wisp.plugin.injector";
}
| .version 52 0
.class public super InjectConstants
.super java/lang/Object
.field public static final SCAN_PACK_PLUGIN_INJECT Ljava/lang/String; = 'cn.com.warlock.wisp.plugin.injector'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:09:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:09: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;
... | 151,230 |
FileWriterStdout | /*
* This file is part of the L2J Global project.
*
* 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 pro... | .version 52 0
.class public super FileWriterStdout
.super java/io/BufferedWriter
.method public <init> : (Ljava/io/FileWriter;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/io/BufferedWriter <init> (Ljava/io/Writer;)V
L5: return
L6:
.linenumber... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:40:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFileWriter;
import org.junit.runner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:40: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;
... | 151,231 |
WrongPackage | public class WrongPackage {
private int i;
}
| .version 52 0
.class public super WrongPackage
.super java/lang/Object
.field private i 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 linenumbert... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:25:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:25: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;
... | 151,232 |
Prime | import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class Prime {
public boolean checkPrime(int... values) {
if (values == null || values.length == 0) {
throw new IllegalArgumentException("Paremeter ist null");
}
final List<Integer> prime... | .version 52 0
.class public super Prime
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:04:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:04: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;
... | 151,233 |
Sample | /*
* Blumoon Technologies Corp.
* Copyright 2013.
*/
/**
* @author Gene Diaz Jr. <gene@blumoon.mobi>
*/
public class Sample {
private String sample;
/**
* @return the sample
*/
public String getSample() {
return sample;
}
/**
* @param sample the sample to set
*/
public void setS... | .version 52 0
.class public super Sample
.super java/lang/Object
.field private sample 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 11
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:42:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:42: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;
... | 151,234 |
Solution | // https://www.hackerrank.com/challenges/find-median
import java.io.*;
public class Solution {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
// Create array
int N = Integer.parseInt(br.readLine());
int[] ar = new ... | .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 4
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:53:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.u... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:53: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;
... | 151,235 |
ResourcesBean | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author leokassio
*/
public class ResourcesBean {}
| .version 52 0
.class public super ResourcesBean
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:30:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:30:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,236 |
PhotoFilter | import java.io.File;
import java.io.FileFilter;
/**
* @author Aaron
*/
public class PhotoFilter implements FileFilter {
private static final String[] extensions = {".gif", ".tiff", ".png", ".jpg", ".jpeg"};
@Override
public boolean accept(File file) {
for (String ext : extensions) {
if (file.getNam... | .version 52 0
.class public super PhotoFilter
.super java/lang/Object
.implements java/io/FileFilter
.field private static final extensions [Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:36:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFile;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:36: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;
... | 151,237 |
EqualSumCombinations | import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
/**
* Iterator over all combinations of nonnegative integers that have equal sum.
*
* <p>Example Iteration: (2 0 0) -> (1 1 0) -> (1 0 1) -> (0 2 0) -> (0 1 1) -> (0 0 2)
*
* @author Logan Ward
*/
public class EqualSumCombinations imp... | .version 52 0
.class public super EqualSumCombinations
.super java/lang/Object
.implements java/lang/Iterable
.field private start [I
.field private sum I
.method public <init> : (II)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:56: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 08:56: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;
... | 151,238 |
Arrays | import java.util.function.Predicate;
public class Arrays {
public static <T> void printAll(T[] elements, Predicate<? super T> filter) {
for (T e : elements) if (filter.test(e)) System.out.println(e.toString());
}
}
| .version 52 0
.class public super Arrays
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:08:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.function.Predicate;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(E... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:08: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;
... | 151,239 |
ModelRunStatus | /**
* 类名称:模型运行结果记录类 公司: 吉贝克信息技术(北京)有限公司 文件名:ModelRunStatus.java 作者: 徐涛 创建时间: 2013-10-30 10:49 最后更新:
* 2013-10-30 10:49
*
* <p>1.作者: 徐涛 2013-10-30 10:49 初始版本 本类提供以下方法:
*
* <p>*(如要修改,请注释 修改人、修改时间、修改说明)
*/
public class ModelRunStatus {
private String runId; // 总表序号
private String modelId; // 模型编号
private Str... | .version 52 0
.class public super ModelRunStatus
.super java/lang/Object
.field private runId Ljava/lang/String;
.field private modelId Ljava/lang/String;
.field private aduitogn Ljava/lang/String;
.field private aduitstart Ljava/lang/String;
.field private aduitend Ljava/lang/String;
.field private otherparam ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:24: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 05:24: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;
... | 151,240 |
WSManConstants | /*
* Copyright 2015, The OpenNMS Group
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | .version 52 0
.class public super WSManConstants
.super java/lang/Object
.field public static final XML_NS_DMTF_WSMAN_V1 Ljava/lang/String; = 'http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd'
.field public static final XML_NS_DMTF_WSMAN_IDENTITY_V1 Ljava/lang/String; = 'http://schemas.dmtf.org/wbem/wsman/identity/1/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:06:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:06: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;
... | 151,241 |
UniquePathsII091 | /**
* ±¾ÌâÌâÒ⣺¸ø³öÒ»¸ö¶þά¾ØÕ󣬾ØÕóÖеÄ1±íʾÕϰ 0±íʾ¿Õ¸ñ¿ÉÐÐ ÎÊ´Ó×óÉϽǵ½ÓÒϽÇÒ»¹²ÓжàÉÙÖÖ·¾¶
*
* <p>±¾Ìâ˼·£ºÍ¨¹ýdpµÄ·½Ê½¼ÆËãÊýÖµ¡£
*
* <p>×¢Òâµã£º³õʼ»¯µÄʱºò£¬±ðÍüÁËÊ£ÓàλÖÃÒ²Òª¸³ÖµÎª-1
*/
public class UniquePathsII091 {
public int uniquePathsWithObstacles(int[][] obstacleGrid) {
int m = obstac... | .version 52 0
.class public super UniquePathsII091
.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 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:01:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:01: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;
... | 151,242 |
BestHotel | import java.util.*;
/** Hello world! */
public class BestHotel {
private static boolean flag = false;
private static int B = 0;
private static int H = 0;
static {
Scanner sc = new Scanner(System.in);
B = sc.nextInt();
H = sc.nextInt();
if (B <= 0 || H <= 0) {
System.out.println("java.lan... | .version 52 0
.class public super BestHotel
.super java/lang/Object
.field private static flag Z
.field private static B I
.field private static H I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:31: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
* Sun Jul 03 18:31: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;
... | 151,243 |
MarkerException | /** Created by volzotan on 17.08.16. */
public class MarkerException extends Exception {
public MarkerException(String msg) {
super(msg);
}
}
| .version 52 0
.class public super MarkerException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:29:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:29: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;
... | 151,244 |
Constants | /*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. The ASF licenses this file to You
* under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final GRANITE_SERVICE Ljava/lang/String; = 'SystemManager'
.field public static final GRANITE_CHANNEL Ljava/lang/String; = 'SystemManagerChannel'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:44:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:44:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,245 |
Account | public class Account {
private int balance = 50;
public void withdraw(int amount) {
balance = balance - amount;
}
public int getBalance() {
return balance;
}
public void setBalance(int balance) {
this.balance = balance;
}
}
| .version 52 0
.class public super Account
.super java/lang/Object
.field private balance 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: bipush 50
L7: putfield Field Account balance I
L10: return... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:57:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:57: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;
... | 151,246 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:53: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 06:53: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;
... | 151,247 |
HigestNumDivisibleByThree |
// https://www.careercup.com/question?id=5746456070717440
public class HigestNumDivisibleByThree {
private static int[] a = {3, 1, 4, 1, 5, 9, 3, 1, 4, 1, 5, 5, 5};
public static void main(String[] args) {
long startTime = System.currentTimeMillis();
// Core Function here
System.out.println(getHighe... | .version 52 0
.class public super HigestNumDivisibleByThree
.super java/lang/Object
.field private static a [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
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:03: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 04:03: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;
... | 151,248 |
CSVParser | /*
* CSVParser.java - CSVParser implementation in Java.
*
* Copyright (C) 2001, 2002 Takashi Okamoto
* Takashi Okamoto <tora@debian.org>
*
* 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 Foun... | .version 52 0
.class public super CSVParser
.super java/lang/Object
.field private reader Ljava/io/BufferedReader;
.field private line Ljava/lang/String;
.field private pos I
.method public <init> : (Ljava/io/InputStream;)V
.code stack 6 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Obje... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:01:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.FileNotFoundException;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:01: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;
... | 151,249 |
InfluxDbConstants | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class public final super InfluxDbConstants
.super java/lang/Object
.field public static final MEASUREMENT_NAME Ljava/lang/String; = 'camelInfluxDB.MeasurementName'
.field public static final RETENTION_POLICY_HEADER Ljava/lang/String; = 'camelInfluxDB.RetentionPolicy'
.field public static final DBNAM... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:39: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 17:39:27 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... | 151,250 |
Ellipse | import java.awt.Rectangle;
import java.awt.Shape;
import java.awt.geom.AffineTransform;
import java.awt.geom.PathIterator;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
/**
* <XXX:/> <b>Unvollständig und Unbenutzt!</b> Sollte ursprünglich eine Alternative
* Kollisions-Masken-Form darstellen.
*/
pu... | .version 52 0
.class public super Ellipse
.super java/lang/Object
.implements java/awt/Shape
.field private x I
.field private y I
.field private a I
.field private b I
.method public <init> : (III)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:04:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.Dimension;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.geom.AffineTransform;
import java.awt.geom.Dimension2D;
import java.awt.geom... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:04: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;
... | 151,251 |
DefaultMethodInvoker | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | .version 52 0
.class public super DefaultMethodInvoker
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 24
.end linenumbertable
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:37: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
* Fri Jul 01 22:37: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;
... | 151,252 |
DateTimeFormat | /**
* DateTimeFormat Patterns used to parse given date {@link DateTimeUtils} will use those pattern
*
* @author thunder413
* @version 1.0
*/
@SuppressWarnings("WeakerAccess")
public class DateTimeFormat {
/** Typical MySqL/SQL dateTime format with dash as separator */
public static final String DATE_TIME_PATTE... | .version 52 0
.class public super DateTimeFormat
.super java/lang/Object
.field public static final DATE_TIME_PATTERN_1 Ljava/lang/String; = 'yyyy-MM-dd HH:mm:ss'
.field public static final DATE_TIME_PATTERN_2 Ljava/lang/String; = 'dd/MM/yyyy HH:mm:ss'
.field public static final DATE_PATTERN_1 Ljava/lang/String; =... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04: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 04: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;
... | 151,253 |
ArrayList | /**
* @author Apache Harmony software http://harmony.apache.org/
* http://www.docjar.com/html/api/java/util/ArrayList.java.html
*/
public class ArrayList {
/**
* @Modifies_Everything; @Requires arrayList!=null; @Ensures return==true;
*/
public static boolean showInstance(/*@ nullable @*/ ArrayList arr... | .version 52 0
.class public super ArrayList
.super java/lang/Object
.field private firstIndex I
.field private lastIndex I
.field private array [Ljava/lang/Object;
.field private modCount I
.method public static showInstance : (LArrayList;)Z
.code stack 2 locals 1
L0: aload_0
L1: getfield Field A... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:43:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:43: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;
... | 151,254 |
DispatcherTestOne | public class DispatcherTestOne {}
| .version 52 0
.class public super DispatcherTestOne
.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
* Mon Jul 04 04:56:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:56: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;
... | 151,255 |
TarHeader | /**
* Copyright 2010 Xeus Technologies
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or a... | .version 52 0
.class public super TarHeader
.super java/lang/Object
.field public static final NAMELEN I = 100
.field public static final MODELEN I = 8
.field public static final UIDLEN I = 8
.field public static final GIDLEN I = 8
.field public static final SIZELEN I = 12
.field public static final MODTIMELEN ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:24:48 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 05:24:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,256 |
PersistenceException | /*******************************************************************************
* Copyright 2011 Google Inc. All Rights Reserved.
*
* 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 ... | .version 52 0
.class public super PersistenceException
.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:
.linenumberta... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:32:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:32:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,257 |
Production9445 | public class Production9445 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
public String getProperty1() {
return property1;
}
public void setProperty1(String value)... | .version 52 0
.class public super Production9445
.super java/lang/Object
.field private property0 Ljava/lang/String;
.field private property1 Ljava/lang/String;
.field private property2 Ljava/lang/String;
.field private property3 Ljava/lang/String;
.field private property4 Ljava/lang/String;
.field private prop... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:00: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
* Sun Jul 03 20:00: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;
... | 151,258 |
BoundEdge | import java.io.Serializable;
/**
* Bound edges for molecular structure
*
* <p>Bounds between atoms are represented as edges in graph structure. It is just storing bound
* type, later on it might be extended.
*/
public class BoundEdge implements Serializable {
private int bondType;
// TODO: check constrains ... | .version 52 0
.class public super BoundEdge
.super java/lang/Object
.implements java/io/Serializable
.field private bondType I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Fie... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:24:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:24:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,259 |
BulkOperationReporter | /*
* Copyright 2021 NAVER Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | .version 52 0
.class public super BulkOperationReporter
.super java/lang/Object
.field private final rejectedCount Ljava/util/concurrent/atomic/LongAdder;
.field private final flushCount Ljava/util/concurrent/atomic/AtomicLong;
.field private volatile lastFlushTimeMillis J
.method public <init> : ()V
.code ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:11:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.System;
import org.junit.runner.RunWith;
@RunWith(Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:11: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;
... | 151,260 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:24:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:24: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;
... | 151,261 |
Equivalence | // operators/Equivalence.java
// (c)2017 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
public class Equivalence {
public static void main(String[] args) {
Integer n1 = 47;
Integer n2 = 47;
System.out.... | .version 52 0
.class public super Equivalence
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:31:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:31: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;
... | 151,262 |
ifsatser2 | /**
* 1. Prompt the user for a number and print good if the number is between 8 & 10 or greater than
* 33. Otherwise, print bad. Use the || operator in your if statement.
*/
import java.util.Scanner;
public class ifsatser2 {
public static void main(String[] args) {
for (; ; ) {
Scanner userScanner = ... | .version 52 0
.class public super ifsatser2
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:35:52 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 06:35: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;
... | 151,263 |
SortUtils | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.util.Arrays;
import java.util.Random;
/**
* @author Cam
*/
public class SortUtils {
/**
* Create an array of inte... | .version 52 0
.class public super SortUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 15
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:54:59 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:54:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,264 |
Thread1 | /**
* @author wangtonghe
* @date 2017/5/5 12:50
*/
public class Thread1 extends Thread {
@Override
public void run() {
System.out.println("hello world");
}
}
| .version 52 0
.class public super Thread1
.super java/lang/Thread
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Thread <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:03:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:03:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,265 |
DivideByZeroException | public class DivideByZeroException extends Exception {
/** */
private static final long serialVersionUID = 1L;
/*
* @param String reason
* @purpose calls super constructor of same param
*/
public DivideByZeroException(String reason) {
super(reason);
} // DivideByZeroException(String)
/*
* ... | .version 52 0
.class public super DivideByZeroException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/Str... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:22:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:22:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,266 |
X9f | /*
* Copyright (C) 2015 Giuseppe Cardone <ippatsuman@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | .version 52 0
.class super X9f
.super java/lang/Object
.field public static final map [Ljava/lang/String;
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 23
.end l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:27:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:27:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,267 |
GRegMediaTypeConstants | public class GRegMediaTypeConstants {
public static final String MEDIA_TYPE_GAR = "application/vnd.wso2.governance-archive";
}
| .version 52 0
.class public super GRegMediaTypeConstants
.super java/lang/Object
.field public static final MEDIA_TYPE_GAR Ljava/lang/String; = 'application/vnd.wso2.governance-archive'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:56:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:56: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;
... | 151,268 |
COSStandardOutputStream | /*
* 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 COSStandardOutputStream
.super java/io/FilterOutputStream
.field public static final CRLF [B
.field public static final LF [B
.field public static final EOL [B
.field private position J
.field private onNewLine Z
.method public <init> : (Ljava/io/OutputStream;)V
.code sta... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:51:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import java.io.OutputStream;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.moc... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:51: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;
... | 151,269 |
LibraryReference | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.util.Objects;
/**
* @author Topology
*/
public class LibraryReference {
private final String library;
private fina... | .version 52 0
.class public super LibraryReference
.super java/lang/Object
.field private final library Ljava/lang/String;
.field private final theory Ljava/lang/String;
.field private final 'module' Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.code s... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:30:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:30: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;
... | 151,270 |
ExcelNoSikiObujekuto | public class ExcelNoSikiObujekuto {
public String seru = null;
public String taipu = null;
public String atai = null;
public ExcelNoSikiObujekuto(String seru, String taipu, String atai) {
this.seru = seru;
this.taipu = taipu;
this.atai = atai;
}
public String toString() {
return "{" + ser... | .version 52 0
.class public super ExcelNoSikiObujekuto
.super java/lang/Object
.field public seru Ljava/lang/String;
.field public taipu Ljava/lang/String;
.field public atai Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 4
L0: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:39:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:39:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,271 |
LongestCommonSubsequence | /** Find the longest common subsequence between two strings. */
public class LongestCommonSubsequence {
public static String lcs(String x, String y) {
if (x == null || y == null) {
return null;
}
int[][] dpTable = new int[x.length() + 1][y.length() + 1];
for (int row = 1; row <= x.length(); row... | .version 52 0
.class public super LongestCommonSubsequence
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:56:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:56: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;
... | 151,272 |
Token | /* Generated By:JavaCC: Do not edit this line. Token.java Version 5.0 */
/* JavaCCOptions:TOKEN_EXTENDS=,KEEP_LINE_COL=null,SUPPORT_CLASS_VISIBILITY_PUBLIC=false */
/** Describes the input token stream. */
class Token implements java.io.Serializable {
/**
* The version identifier for this Serializable class. Inc... | .version 52 0
.class super Token
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field public kind I
.field public beginLine I
.field public beginColumn I
.field public endLine I
.field public endColumn I
.field public image Ljava/lang/String;
.fi... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:49:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:49: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;
... | 151,273 |
NameCache | import java.util.*;
/**
* Caching and conversion of names in both internal and external form.
*
* @author Abe White
*/
public class NameCache {
static final Object[][] _codes =
new Object[][] {
{byte.class, "B"},
{char.class, "C"},
{double.class, "D"},
{float.class, "F"},
... | .version 52 0
.class public super NameCache
.super java/lang/Object
.field static final _codes [[Ljava/lang/Object;
.field private final _internal Ljava/util/Map;
.field private final _internalDescriptor Ljava/util/Map;
.field private final _external Ljava/util/Map;
.field private final _externalHuman Ljava/util... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:05:48 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 22:05:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,274 |
NetworkManagementScopes | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | .version 52 0
.class public super NetworkManagementScopes
.super java/lang/Object
.field public static final CLOUD_PLATFORM Ljava/lang/String; = 'https://www.googleapis.com/auth/cloud-platform'
.method public static all : ()Ljava/util/Set;
.code stack 2 locals 1
L0: new java/util/HashSet
L3: dup
L4... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:51:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Set;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class)... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:51:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,275 |
ErrorResponse | public class ErrorResponse {
public ErrorResponse(String code, String message) {
this.code = code;
this.message = message;
}
public String code;
public String message;
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getM... | .version 52 0
.class public super ErrorResponse
.super java/lang/Object
.field public code Ljava/lang/String;
.field public message 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> ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:06: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 04:06: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;
... | 151,276 |
DesignPhoneDirectory | import java.util.*;
/**
* https://leetcode.com/problems/design-phone-directory/description/
*
* <p>HashMap + ArrayList
*/
public class DesignPhoneDirectory {
Map<Integer, Boolean> map;
List<Integer> list;
Random rand;
/**
* Initialize your data structure here
*
* @param maxNumbers - The maximum nu... | .version 52 0
.class public super DesignPhoneDirectory
.super java/lang/Object
.field map Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/Boolean;>;
.end fieldattributes
.field list Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Integer;>;... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:22:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:22:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,277 |
DockedTabEvent | /*
* DockedTabEvent.java
*
* Copyright (C) 2002-2013 Takis Diakoumis
*
* 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 any later version.
*
* This... | .version 52 0
.class public super DockedTabEvent
.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:
.linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:10:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:10: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;
... | 151,278 |
Footer | /**
* @author Keene. Mail: waterzhj@ustc.edu.cn
* <p>该代码遵循MIT License, 详细见 https://mit-license.org/
* <p>Copyright {2017} {Keene}
* <p>designed by Keene, implemented by {Keene}
* <p>尾注
*/
public class Footer {
private static Footer footer = new Footer();
private Footer() {}
public static F... | .version 52 0
.class public super Footer
.super java/lang/Object
.field private static footer LFooter;
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 17
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:50:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07: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;
... | 151,279 |
Document | import java.util.ArrayList;
public class Document {
private ArrayList<Integer> words;
private int docId;
public Document(int id, ArrayList<Integer> w) {
docId = id;
words = w;
}
public ArrayList<Integer> getWords() {
return words;
}
public int getId() {
return docId;
}
public int ... | .version 52 0
.class public super Document
.super java/lang/Object
.field private words Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<Ljava/lang/Integer;>;
.end fieldattributes
.field private docId I
.method public <init> : (ILjava/util/ArrayList;)V
.code stack 2 locals 3
L0: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:41:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:41:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,280 |
SeqNavRequests | /*******************************************************************************
**
** Advanced Distributed Learning Co-Laboratory (ADL Co-Lab) Hub grants you
** ("Licensee") a non-exclusive, royalty free, license to use, modify and
** redistribute this software in source and binary code form, provided that
** i) ... | .version 52 0
.class public super SeqNavRequests
.super java/lang/Object
.field public static final NAV_NONE I = 0
.field public static final NAV_START I = 1
.field public static final NAV_RESUMEALL I = 2
.field public static final NAV_CONTINUE I = 3
.field public static final NAV_PREVIOUS I = 4
.field public s... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:37: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
* Sun Jul 03 15:37:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,281 |
PathPoint | /** Created by chenjishi on 15/3/23. */
public class PathPoint {
public float x, y;
public PathPoint(float x, float y) {
this.x = x;
this.y = y;
}
}
| .version 52 0
.class public super PathPoint
.super java/lang/Object
.field public x F
.field public y F
.method public <init> : (FF)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: fload_1
L6: putfield Field PathPoint x F
L9: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:28: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
* Sun Jul 03 19:28: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;
... | 151,282 |
BeerService | /**
* Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable.
*
* <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-... | .version 52 0
.class public super BeerService
.super java/lang/Object
.field private id Ljava/lang/String;
.field private name 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:
.li... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:35:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:35:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,283 |
GeneratedContent | public class GeneratedContent {
private final String filename;
private final String content;
private final String generatorname;
public GeneratedContent(final String filename, final String content, final String generatorname) {
super();
this.filename = filename;
this.content = content;
this.gen... | .version 52 0
.class public super GeneratedContent
.super java/lang/Object
.field private final filename Ljava/lang/String;
.field private final content Ljava/lang/String;
.field private final generatorname Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:30:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:30:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,284 |
TaskBindingModel | public class TaskBindingModel {
private int id;
private String title;
private String comments;
public TaskBindingModel() {}
public TaskBindingModel(String title, String comments) {
this.title = title;
this.comments = comments;
}
public String getTitle() {
return title;
}
public void se... | .version 52 0
.class public super TaskBindingModel
.super java/lang/Object
.field private id I
.field private title Ljava/lang/String;
.field private comments Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4:... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:50:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:50:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,285 |
InterTest | public class InterTest {
public static void main(String[] args) {}
}
| .version 52 0
.class public super InterTest
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:43: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 12:43: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;
... | 151,286 |
ObjectPayload | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class public super ObjectPayload
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 121277L
.field public payload Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/la... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:17: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 00:17: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;
... | 151,287 |
LocalizedStrings | public class LocalizedStrings {
private String de;
public String de() {
return de;
}
@Override
public String toString() {
return "LocalizedStrings{" + "de='" + de + '\'' + '}';
}
}
| .version 52 0
.class public super LocalizedStrings
.super java/lang/Object
.field private de 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 3
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:56:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:56: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;
... | 151,288 |
ParsedSignature | import java.security.cert.X509Certificate;
public class ParsedSignature {
private final X509Certificate signingCertificate;
private final String name;
private final String personNummer;
public ParsedSignature(X509Certificate signingCertificate, String name, String personNummer) {
this.signingCertificate ... | .version 52 0
.class public super ParsedSignature
.super java/lang/Object
.field private final signingCertificate Ljava/security/cert/X509Certificate;
.field private final name Ljava/lang/String;
.field private final personNummer Ljava/lang/String;
.method public <init> : (Ljava/security/cert/X509Certificate;Lja... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:59:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.security.cert.X509Certificate;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:59: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;
... | 151,289 |
Asserts | /**
* 常用的校验功能
*
* @author desheng.tu
* @since 2015年6月16日 上午10:01:40
*/
public final class Asserts {
public static void main(String[] args) {}
public static void hasText(String str) {
notNull(str);
if (str.length() == 0) {}
}
public static void notNull(Object obj) {}
}
| .version 52 0
.class public final super Asserts
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:02: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 01:02: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;
... | 151,290 |
L10nValidationException | /*******************************************************************************
* Copyright (c) 2012 Romain Quinio (http://code.google.com/p/l10n-maven-plugin)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to de... | .version 52 0
.class public super L10nValidationException
.super java/lang/RuntimeException
.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 Me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:14:12 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 11:14: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;
... | 151,291 |
Vote | /*******************************************************************************
* Copyright (c) 2014 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache... | .version 52 0
.class public super Vote
.super java/lang/Object
.field private votes Ljava/util/TreeMap; .fieldattributes
.signature Ljava/util/TreeMap<Ljava/lang/Integer;Ljava/lang/Integer;>;
.end fieldattributes
.field private voteID Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:25:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.TreeMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:25:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,292 |
ObservationIdConverter | public class ObservationIdConverter {
private static final char SEPARATOR = '.';
public static String getObservationCode(String observationProtocolIdentifier) {
String observationCode = observationProtocolIdentifier;
int idx;
// remove catalog version
idx = observationCode.lastIndexOf(SEPARATOR);
... | .version 52 0
.class public super ObservationIdConverter
.super java/lang/Object
.field private static final SEPARATOR C = 46
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:33: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 04:33: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;
... | 151,293 |
LiftOff | public class LiftOff implements Runnable {
protected int countDown = 10;
private static int taskCount = 0;
private final int id = taskCount++;
public LiftOff() {
// TODO Auto-generated constructor stub
}
public LiftOff(int countDown) {
this.countDown = countDown;
}
public String status() {
... | .version 52 0
.class public super LiftOff
.super java/lang/Object
.implements java/lang/Runnable
.field protected countDown I
.field private static taskCount I
.field private final id I
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init>... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:24:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:24: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;
... | 151,294 |
StackTrace | public class StackTrace {
public static String stackTraceToString(Throwable e) {
String stackTrace = e.toString();
for (StackTraceElement ste : e.getStackTrace()) {
stackTrace += "\n\tat " + ste;
}
return stackTrace;
}
}
| .version 52 0
.class public super StackTrace
.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
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:31:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:31: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;
... | 151,295 |
ThirdLargest | import java.util.Collections;
import java.util.HashSet;
import java.util.PriorityQueue;
import java.util.Set;
/** Created by sherxon on 2016-12-26. */
public class ThirdLargest {
public int thirdMax(int[] a) {
if (a.length == 0) return 0;
long max1 = Long.MIN_VALUE;
long max2 = Long.MIN_VALUE;
long m... | .version 52 0
.class public super ThirdLargest
.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... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:49:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:49:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,296 |
SJ01 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* 非递归求两整数最大公因子,并控制输出格式
*
* @author Kuloud
*/
public class SJ01 {
public static StringBuffer strProcess;
public static long getMaxDivisor(long a, long b) {
strProcess = new StringBuffer();
strProces... | .version 52 0
.class public super SJ01
.super java/lang/Object
.field public static strProcess Ljava/lang/StringBuffer;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:30:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:30:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 151,297 |
CountingSort2 | import java.util.Scanner;
public class CountingSort2 {
private static Scanner sc;
public static void main(String[] args) {
sc = new Scanner(System.in);
int n = sc.nextInt();
int[] a = new int[100];
for (int i = 0; i < n; i++) {
a[sc.nextInt()]++;
}
for (int i = 0; i < 100; i++) {
... | .version 52 0
.class public super CountingSort2
.super java/lang/Object
.field private static sc Ljava/util/Scanner;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:13:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:13: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;
... | 151,298 |
CharStreamDemo | import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
/**
* 如果是文本文件,建议使用字符流 如果是非文本文件,建议使用字节流比如图像,音频等
*
* @author Administrator
*/
public class CharStreamDemo {
/** 字符输出流 */
publ... | .version 52 0
.class public super CharStreamDemo
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 17
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:18:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:18: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;
... | 151,299 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.