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 |
|---|---|---|---|---|---|
Constant | /**
* Copyright (C) 2013-2014 EaseMob Technologies. All rights reserved.
*
* <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
* http://www.apache.org/licenses/LICENSE-2.0 Unless required by ... | .version 52 0
.class public super Constant
.super java/lang/Object
.field public static final NEW_FRIENDS_USERNAME Ljava/lang/String; = 'item_new_friends'
.field public static final GROUP_USERNAME Ljava/lang/String; = 'item_groups'
.field public static final CHAT_ROOM Ljava/lang/String; = 'item_chatroom'
.field p... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:44:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:44: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;
... | 133,700 |
Constant | /** Created with IntelliJ IDEA. User: KCJ Date: 2018/10/17 16:54 Description: */
public class Constant {
/** 每天登录标识* */
public static final String Every_Day_Integeral = "_Every_Day_Integeral_";
public static final String Gaode_webapi_key = "ccf7578e87bd52147d0584642060df77";
}
| .version 52 0
.class public super Constant
.super java/lang/Object
.field public static final Every_Day_Integeral Ljava/lang/String; = '_Every_Day_Integeral_'
.field public static final Gaode_webapi_key Ljava/lang/String; = 'ccf7578e87bd52147d0584642060df77'
.method public <init> : ()V
.code stack 1 locals 1... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:51:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:51: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;
... | 133,701 |
ZipUtils | import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.UnsupportedEncodingExce... | .version 52 0
.class public super ZipUtils
.super java/lang/Object
.field private static final BUFF_SIZE I = 1048576
.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
* Sun Jul 03 15:33:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import java.io.FileNotFoundException;
import java.net.URI;
import java.util.Collection;
import j... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 15:33: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;
... | 133,702 |
ServiceException | /**
* @author Serhii Bohutskyi
*/
public class ServiceException extends RuntimeException {
public ServiceException(String message) {
super(message);
}
public ServiceException(String message, Throwable cause) {
super(message, cause);
}
public ServiceException(Throwable cause) {
super(cause);
... | .version 52 0
.class public super ServiceException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
.li... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:15:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:15: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;
... | 133,703 |
AvailableRezervationPOJO | /** Created by EsberkSafak on 12.12.2015. */
public class AvailableRezervationPOJO {
private String c_id;
private String name;
private String address;
private String date;
private String time;
public String getC_id() {
return c_id;
}
public void setC_id(String c_id) {
this.c_id = c_id;
}
... | .version 52 0
.class public super AvailableRezervationPOJO
.super java/lang/Object
.field private c_id Ljava/lang/String;
.field private name Ljava/lang/String;
.field private address Ljava/lang/String;
.field private date Ljava/lang/String;
.field private time Ljava/lang/String;
.method public <init> : ()V
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:26:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:26: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;
... | 133,704 |
Constants | /*
* Copyright 2015, Yahoo Inc.
* Copyrights licensed under the Apache License.
* See the accompanying LICENSE file for terms.
*/
public class Constants {
// Analyzer version
public static final String VERSION = "2.0";
// Status
public static final int STATUS_OK = 0;
public static final int STATUS_BAD =... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final VERSION Ljava/lang/String; = '2.0'
.field public static final STATUS_OK I = 0
.field public static final STATUS_BAD I = -1
.field public static final DBM_ACTION_ADD_CLUSTER I = 0
.field public static final DBM_ACTION_A... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:19: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 20:19: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;
... | 133,705 |
R2RMLBase | public class R2RMLBase {
public String IRI;
/**
* @param iRI
*/
public R2RMLBase(String IRI) {
// super();
this.IRI = IRI;
}
public String getIRI() {
return IRI;
}
public void setIRI(String IRI) {
this.IRI = IRI;
}
}
| .version 52 0
.class public super R2RMLBase
.super java/lang/Object
.field public IRI Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Field R2R... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:37:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:37:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,706 |
Trade | public class Trade {
private String type;
private String ticker;
private int amount;
public Trade(String type, String ticker, int amount) {
this.type = type;
this.ticker = ticker;
this.amount = amount;
}
public String getType() {
return type;
}
public String getTicker() {
retur... | .version 52 0
.class public super Trade
.super java/lang/Object
.field private type Ljava/lang/String;
.field private ticker Ljava/lang/String;
.field private amount I
.method public <init> : (Ljava/lang/String;Ljava/lang/String;I)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:19:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:19: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;
... | 133,707 |
GuessNumberHigherOrLower | /**
* We are playing the Guess Game. The game is as follows:
*
* <p>I pick a number from 1 to n. You have to guess which number I picked.
*
* <p>Every time you guess wrong, I'll tell you whether the number is higher or lower.
*
* <p>You call a pre-defined API guess(int num) which returns 3 possible results (-1, ... | .version 52 0
.class public super GuessNumberHigherOrLower
.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 06:25: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
* Fri Jul 01 06:25: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;
... | 133,708 |
Pair | import java.io.*;
import java.math.*;
import java.util.*;
/*
* Author : joney_000[let_me_start]
* Algorithm : Maximum matching for bipartite graph. Hopcroft-Karp algorithm in O(E * sqrt(V))
* Platform : https://www.facebook.com/hackercup
*
*/
class Node {
// public int [] C = new int[3];
public long mat[]... | .version 52 0
.class super Pair
.super java/lang/Object
.implements java/lang/Comparable
.field public id I
.field public name Ljava/lang/String;
.field public b J
.field public a J
.field public c J
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/la... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:31:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:31: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;
... | 133,709 |
PathwithMaximumProbability | import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
public class PathwithMaximumProbability {
public static void main(String[] args) {
int n = 3;
double[] succProb = {0.5, 0.5, 0.2};
int start = 0;
int end = 2;
int[][] edges = {{0, 1}, {1, 2}, {0, 2}};
HashMap<Integer,... | .version 52 0
.class public super PathwithMaximumProbability
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:59:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:59: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;
... | 133,710 |
Restaurant | import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
/** 测试模拟生产者和消费者:厨师和服务员 */
public class Restaurant {
ExecutorService es = Executors.newCachedThreadPool();
Meal meal = null;
Waiter w = new Waiter(this);
Chef c = new Chef(this);
publi... | .version 52 0
.class public super Restaurant
.super java/lang/Object
.field es Ljava/util/concurrent/ExecutorService;
.field meal LMeal;
.field w LWaiter;
.field c LChef;
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: a... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:58:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:58: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;
... | 133,711 |
CSharpEnumNamer | /* Copyright 2016 Google Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | .version 52 0
.class public super CSharpEnumNamer
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 22
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:59:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:59:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,712 |
SourceConfig | /**
* Copyright (c) 2010-2018 by the respective copyright holders.
*
* <p>All rights reserved. This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | .version 52 0
.class public super SourceConfig
.super java/lang/Object
.field public url Ljava/lang/String;
.field public userName Ljava/lang/String;
.field public password Ljava/lang/String;
.field public refreshInterval I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invoke... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:38:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:38:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,713 |
LibraryItem | import java.text.SimpleDateFormat;
import java.util.Date;
/** Created by josebraulio on 22/04/2017. */
public abstract class LibraryItem {
protected String title;
protected String creator;
protected Date releaseDate;
private boolean checkedOut;
public LibraryItem(String title, Date releaseDate, String creat... | .version 52 0
.class public super abstract LibraryItem
.super java/lang/Object
.field protected title Ljava/lang/String;
.field protected creator Ljava/lang/String;
.field protected releaseDate Ljava/util/Date;
.field private checkedOut Z
.method public <init> : (Ljava/lang/String;Ljava/util/Date;Ljava/lang/Str... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:22:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:22:49 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... | 133,714 |
GoldenNumber | import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* Golden numbers are numbers whose only prime factors are 2, 3 or 5. By convention, 1 is also
* considered to be a golden number.
*
* @author debmalyajash
*/
public class GoldenNumber {
public static void main(String[] args) {... | .version 52 0
.class public super GoldenNumber
.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 14
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:55:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:55: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;
... | 133,715 |
GenericCommaObject | /*
* TopStack (c) Copyright 2012-2013 Transcend Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | .version 52 0
.class public super GenericCommaObject
.super java/lang/Object
.field private separator Ljava/lang/String;
.field protected list Ljava/util/List; .fieldattributes
.signature Ljava/util/List<TT;>;
.end fieldattributes
.field protected sampleObj Ljava/lang/Object; .fieldattributes
.signature... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:57:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:57: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;
... | 133,716 |
IntIterator | /*
* Copyright (C) 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | .version 52 0
.class public super IntIterator
.super java/lang/Object
.implements java/util/Iterator
.field private current I
.field private max 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: iconst_0... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:36:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.function.Consumer;
import org.evosuite.runt... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:36: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;
... | 133,717 |
Engine | public class Engine {}
| .version 52 0
.class public super Engine
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:32: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
* Sun Jul 03 20:32: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;
... | 133,718 |
FileProcesserV1 | import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Consumer;
/** Created by othon on 2/20/15. */
public class FileProcesserV1 {
private static List<String> files = new ArrayList<>();
public static void main(String[] args) {
Consumer<Str... | .version 52 0
.class public super FileProcesserV1
.super java/lang/Object
.field private static files Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method j... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:13:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:13: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;
... | 133,719 |
BitOutputStream | /**
* write bits-at-a-time where the number of bits is between 1 and 32 Client programs must call
* <code>flush</code> or <code>close</code> when finished writing or not all bits will be written.
*
* <p>Updated for version 2.0 to extend java.io.OutputStream
*
* @author Owen Astrachan
* @version 1.0, July 2000
*... | .version 52 0
.class public super BitOutputStream
.super java/io/OutputStream
.field private static final BIT_MASK [I
.field private static final BITS_PER_BYTE I = 8
.field private out Ljava/io/OutputStream;
.field private buffer I
.field private bitsRemaining I
.method public <init> : (Ljava/io/OutputStream;)... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:30:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.BufferedOutputStream;
import java.io.ByteArrayOutputStream;
import java.io.OutputStream;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtim... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:30: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;
... | 133,720 |
BitInputStreamFlexible | /*
* 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 super BitInputStreamFlexible
.super java/io/InputStream
.field private final is Ljava/io/InputStream;
.field private cache I
.field private cacheBitsRemaining I
.field private bytesRead J
.method <init> : (Ljava/io/InputStream;)V
.code stack 2 locals 2
L0: aload_0
L1: invokes... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:59:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.IOExcept... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:59:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,721 |
Location | /**
* Allows easy use of locations in a grid environment
*
* @author Stephen
*/
public class Location {
private int row; // row
private int column; // column
public Location(int row, int column) {
this.row = row;
this.column = column;
}
public Location() {}
public int getRow() {
return r... | .version 52 0
.class public super Location
.super java/lang/Object
.field private row I
.field private column I
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Location ro... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:08:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:08: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;
... | 133,722 |
HexNumberTest | /**
* @author amit.dixit
*/
public final class HexNumberTest {
public static final void main(final String... args) {
/* All valid HEX numbers: starting 0 to 15 */
System.out.println("0x0: " + 0x0);
System.out.println("0x1: " + 0x1);
System.out.println("0x2: " + 0x2);
System.out.println("0x3: "... | .version 52 0
.class public final super HexNumberTest
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:47: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 14:47: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;
... | 133,723 |
Credentials | /*
Copyright 2015 José Luis De la Cruz Morales <joseluis.delacruz@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 required ... | .version 52 0
.class public super Credentials
.super java/lang/Object
.field private name Ljava/lang/String;
.field private email Ljava/lang/String;
.field private token Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <ini... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:50:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:50:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,724 |
Main | // "Replace with toArray" "true"
import java.util.*;
public class Main {
public Object[] testToArray(List<String> data) {
return data.stream().filter(str -> !str.isEmpty()).distinct().sorted().toArray(String[]::new);
}
}
| .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:41:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
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
* Sat Jul 02 02:41: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;
... | 133,725 |
ActionNotCompletedException | public class ActionNotCompletedException extends Exception {}
| .version 52 0
.class public super ActionNotCompletedException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumber... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:19:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:19:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,726 |
Report | /***********************************************************************
*
* This file is part of KEEL-software, the Data Mining tool for regression,
* classification, clustering, pattern mining and so on.
*
* Copyright (C) 2004-2010
*
* F. Herrera (herrera@decsai.ugr.es)
* L. Sánchez (luciano@uniovi.es)
* J. ... | .version 52 0
.class super Report
.super java/lang/Object
.field private card [I
.field private length I
.field private value D
.method public <init> : ([IID)V
.code stack 4 locals 6
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_2
L6: putfiel... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:11: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:11: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;
... | 133,727 |
C1 | import java.util.Comparator;
public class C1 implements Comparator {
public C1() {
super();
}
public int compare(Object arg0, Object arg1) {
if ((Integer) arg0 > (Integer) arg1) {
return 1;
}
return 0;
}
}
| .version 52 0
.class public super C1
.super java/lang/Object
.implements java/util/Comparator
.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
L4 9
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:06: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 12:06: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;
... | 133,728 |
SendDataEntity | public class SendDataEntity {
public static String city = "";
public static String json = "json";
public static String ak = "iGs8rFvzh1e8c7C9DjXT5toK";
public static void setCity(String city) {
SendDataEntity.city = city;
}
public static void setJson(String json) {
SendDataEntity.json = json;
}... | .version 52 0
.class public super SendDataEntity
.super java/lang/Object
.field public static city Ljava/lang/String;
.field public static json Ljava/lang/String;
.field public static ak Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:21: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
* Mon Jul 04 02:21: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;
... | 133,729 |
AssertionUtil | public class AssertionUtil {
public static void assertArgumentEquals(Object anObject1, Object anObject2, String aMessage) {
if (!anObject1.equals(anObject2)) {
throw new IllegalArgumentException(aMessage);
}
}
public static void assertArgumentFalse(boolean aBoolean, String aMessage) {
if (aBoo... | .version 52 0
.class public super AssertionUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:14:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:14: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;
... | 133,730 |
CVCollector | public class CVCollector {
public static void main(String[] args) {}
}
| .version 52 0
.class public super CVCollector
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:54:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:54: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;
... | 133,731 |
FibonacciNumbers | import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
/** https://www.hackerrank.com/challenges/ctci-fibonacci-numbers */
public class FibonacciNumbers {
private static int fibonacci(int n) {
return fibonacci(n, new HashMap<>());
}
private static int fibonacci(int n, Map<Integer, Integer... | .version 52 0
.class public super FibonacciNumbers
.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
* Fri Jul 01 15:25:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:25: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;
... | 133,732 |
ClassWithCommentsOnLineOfCode | public class ClassWithCommentsOnLineOfCode {
public void run() {
int i = 5; // comment on line of code, ncloc should not be impacted
int j = 5;
/** test comment tst 2 comment */
int k = 5; /* another test comment
*/
}
}
| .version 52 0
.class public super ClassWithCommentsOnLineOfCode
.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 linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:20: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 00:20: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;
... | 133,733 |
ActionDelay | import java.time.Duration;
/**
* Represents an arbitrary delay that may precede the action.
*
* @author scaille
*/
public class ActionDelay {
public void waitFinished() {
// noop
}
public Duration applyOnTimeout(Duration currentDelay) {
return currentDelay;
}
}
| .version 52 0
.class public super ActionDelay
.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 03:20:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.Duration;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.c... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:20: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;
... | 133,734 |
NearestNeighbourComparator | import java.util.Comparator;
public class NearestNeighbourComparator implements Comparator<String> {
@Override
public int compare(String o1, String o2) {
int s1 = Integer.parseInt(o1.split(":")[2]);
int s2 = Integer.parseInt(o2.split(":")[2]);
if (s1 < s2) return 1;
else if (s1 > s2) return -1;
... | .version 52 0
.class public super NearestNeighbourComparator
.super java/lang/Object
.implements java/util/Comparator
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:47:20 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:47: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;
... | 133,735 |
CreateProperties | /**
* @FileName : CreateProperties.java @Project : NightHawk @Date : 2012. 8. 14. @작성자 : @author
* yion @변경이력 : @프로그램 설명 :
*/
/**
* @author yion
*/
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Iterator;
import java.util.Properties;
import java.util.Set;
publi... | .version 52 0
.class public super CreateProperties
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 24
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:37:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.testdata.FileSystemHandling;
import org.junit.runner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:37:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,736 |
DataNodeType | // PathVisio,
// a tool for data visualization and analysis using Biological Pathways
// Copyright 2006-2011 BiGCaT Bioinformatics
//
// 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
//
// ht... | .version 52 0
.class public super DataNodeType
.super java/lang/Object
.field private static final NAME_MAP Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;LDataNodeType;>;
.end fieldattributes
.field private static values Ljava/util/List; .fieldattributes
.signature Ljava/ut... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:32: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 03:32: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;
... | 133,737 |
drink | import java.util.Scanner;
public class drink {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scn = new Scanner(System.in);
System.out.print("½Ð¿é¤J¶¼®Æ©±¦WºÙ");
String N = scn.next();
System.out.print("½Ð¿é¤J¶¼®Æ¦WºÙ");
String D = scn.next();
System... | .version 52 0
.class public super drink
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:39:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.util.SystemInUtil;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:39: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;
... | 133,738 |
TestFrame | import java.awt.*;
import java.awt.event.*;
/// import java.awt.image.*;
import java.io.*;
import java.net.*;
import java.util.*;
public class TestFrame extends Frame {
private Image image = null;
public TestFrame() {
super();
}
public TestFrame(String title) {
super(title);
}
public void setIma... | .version 52 0
.class public super TestFrame
.super java/awt/Frame
.field private image Ljava/awt/Image;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/awt/Frame <init> ()V
L4: aload_0
L5: aconst_null
L6: putfield Field TestFrame image Ljav... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:27:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:27: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;
... | 133,739 |
Solution | /* Синхронизированные методы
Установить модификатор synchronized только тем методам, которым необходимо
*/
class Solution {
private final double param = Math.random();
private void method0() {
double i = method3();
}
protected synchronized void method1(String param1) {
Solution solution = new Soluti... | .version 52 0
.class super Solution
.super java/lang/Object
.field private final param D
.method <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: invokestatic Method java/lang/Math random ()D
L8: putfield Field Soluti... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:33:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:33:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,740 |
MarshallingSupport | /**
* 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 MarshallingSupport
.super java/lang/Object
.field public static final NULL B = 0
.field public static final BOOLEAN_TYPE B = 1
.field public static final BYTE_TYPE B = 2
.field public static final CHAR_TYPE B = 3
.field public static final SHORT_TYPE B = 4
.field public s... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:34:53 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.ByteArrayOutputStream;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:34: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;
... | 133,741 |
Score | public class Score {
private final long LZERO = -10000000000L;
private final long LSMALL = LZERO >> 1;
private final double minLogExp = -Math.log(-LZERO);
private double logprob;
public Score() {}
public double logPoissionTailProb(int k, double lambda) {
logprob = LZERO;
double plogprob;
do {... | .version 52 0
.class public super Score
.super java/lang/Object
.field private final LZERO J = -10000000000L
.field private final LSMALL J = -5000000000L
.field private final minLogExp D
.field private logprob D
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Meth... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:44:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:44: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;
... | 133,742 |
Article | /**
* 图文实体类
*
* @author LiuWenbin @2015年9月5日
*/
public class Article {
// 图文消息名称
private String Title;
// 图文消息描述
private String Description;
// 图片链接,支持JPG、PNG格式,较好的效果为大图640*320,小图80*80
private String PicUrl;
// 点击图文消息跳转链接
private String Url;
public String getTitle() {
return Title;
}
pub... | .version 52 0
.class public super Article
.super java/lang/Object
.field private Title Ljava/lang/String;
.field private Description Ljava/lang/String;
.field private PicUrl Ljava/lang/String;
.field private Url Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:01:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:01:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,743 |
Segment | /**
* The {@link Data} and segment objects together allow data about the user to be passed to bidders
* in the bid request. Segment objects convey specific units of information from the provider
* identified in the parent data object.
*
* <p>The segment object itself and all of its parameters are optional, so defa... | .version 52 0
.class public super Segment
.super java/lang/Object
.field private id Ljava/lang/String;
.field private name Ljava/lang/String;
.field private value Ljava/lang/String;
.field private ext Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespec... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:26:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:26: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;
... | 133,744 |
Photo | import java.util.Date;
public class Photo {
private int id;
private String key;
private int album_id;
private Date ts;
private String desc;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getKey() {
return key;
}
public void setKey(St... | .version 52 0
.class public super Photo
.super java/lang/Object
.field private id I
.field private key Ljava/lang/String;
.field private album_id I
.field private ts Ljava/util/Date;
.field private desc Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokes... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:47:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:47:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,745 |
KBArticleTable | /**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* <p>This library is free software; you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by the Free Software Foundation; either version
* 2.1 of the License, or (at your option) any la... | .version 52 0
.class public super KBArticleTable
.super java/lang/Object
.field public static final TABLE_COLUMNS [[Ljava/lang/Object;
.field public static final TABLE_NAME Ljava/lang/String; = 'KBArticle'
.field public static final TABLE_SQL_CREATE Ljava/lang/String; = [s40]
.field public static final TABLE_SQL_... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:45:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:45:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,746 |
Atomics | /*
*
*/
import java.util.concurrent.atomic.AtomicIntegerArray;
import java.util.concurrent.atomic.AtomicLongArray;
import java.util.concurrent.atomic.AtomicReferenceArray;
/**
* Copyright 2008 as per GPLv2
*
* <p>Useful methods for handling atomic integer/long/etc.
*
* @author Lyor G.
* @since Sep 14, 2008 9:... | .version 52 0
.class public final super Atomics
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 19
L4 21
.end linenumbe... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:15:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Comparator;
import java.util.concurrent.ato... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:15:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,747 |
Sample1 | public class Sample1 {
public native int intMethod(int n);
public native boolean booleanMethod(boolean bool);
public native String stringMethod(String text);
public native int intArrayMethod(int[] intArray);
public static void main(String[] args) {
System.loadLibrary("Sample1");
Sample1 sample = n... | .version 52 0
.class public super Sample1
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:21:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Futur... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:21: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;
... | 133,748 |
SubBean | import java.util.ArrayList;
import java.util.List;
public class SubBean {
private int receivedMessageSize = 0;
private int receivedCount = 0;
private double avgElapsedTime = 0f;
private List<String> contents = new ArrayList<String>();
public int getReceivedMessageSize() {
return receivedMessageSize;
... | .version 52 0
.class public super SubBean
.super java/lang/Object
.field private receivedMessageSize I
.field private receivedCount I
.field private avgElapsedTime D
.field private contents Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method publi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:10:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:10:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,749 |
ThisOldMan | /**
* Prints the verses to the song 'This Old Man'
*
* @author Ryan Closner
* @version 10/18/2012
*/
class ThisOldMan {
// How many verses are there?
private static final int VERSES = 9;
public static void main(String[] args) {
// Print each verse
for (int i = 0; i < VERSES; i++) {
String o... | .version 52 0
.class super ThisOldMan
.super java/lang/Object
.field private static final VERSES I = 9
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linen... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:25: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.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:25: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;
... | 133,750 |
BirthBeforeDeath | import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
/** User Story 5 */
public class BirthBeforeDeath {
public static boolean compare(String birthDateString, String deathDateString)
throws ParseException {
SimpleDateFormat format = new SimpleDateFormat("dd MMM yyyy");... | .version 52 0
.class public super BirthBeforeDeath
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:15:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.text.ParseException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParamete... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:15: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;
... | 133,751 |
FactorialSum | import java.math.BigDecimal;
/**
* 计算1 + 1/2! + 1/3! ··· 1/20!
*
* @version 1.0 2014-08-26
* @author ijlhjj
*/
public class FactorialSum {
public static void main(String[] args) {
BigDecimal sum = new BigDecimal("0.0"); // 结果和
BigDecimal factorial = new BigDecimal("1.0"); // 阶乘项的计算结果
for (int i = ... | .version 52 0
.class public super FactorialSum
.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
* Sun Jul 03 20:48:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:48: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;
... | 133,752 |
Client | /**
* @author Darong Mean
*/
public class Client {
public static void post(String title) {
System.out.println(title + "twon22");
}
}
| .version 52 0
.class public super Client
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:48:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:48:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,753 |
Login | // Generated Jun 1, 2013 7:24:08 PM by Hibernate Tools 3.2.1.GA
/** Login generated by hbm2java */
public class Login implements java.io.Serializable {
private String username;
private String password;
public Login() {}
public Login(String username) {
this.username = username;
}
public Login(String... | .version 52 0
.class public super Login
.super java/lang/Object
.implements java/io/Serializable
.field private username Ljava/lang/String;
.field private password Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:39:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:39: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;
... | 133,754 |
Element | /*
* Copyright 2015 xcnet
*
* 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 writi... | .version 52 0
.class public final super Element
.super java/lang/Object
.field private final name Ljava/lang/String;
.field private text Ljava/lang/String;
.field private parent LElement;
.field private children Ljava/util/List; .fieldattributes
.signature Ljava/util/List<LElement;>;
.end fieldattributes
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:06:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import ... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:06: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;
... | 133,755 |
Calendar | /**
* Project: PDB 2008 Authors: Ondrej Lengal, xlenga00@stud.fit.vutbr.cz Libor Polcak,
* xpolca03@stud.fit.vutbr.cz Boris Prochazka, xproch63@stud.fit.vutbr.cz Petr Zemek,
* xzemek02@stud.fit.vutbr.cz
*
* @brief Calendar that keeps information about the currently set date.
*/
import java.util.Date;
import java.... | .version 52 0
.class public super Calendar
.super java/util/Observable
.field private static final INSTANCE LCalendar;
.field private _currentDate Ljava/util/Date;
.method public static getInstance : ()LCalendar;
.code stack 1 locals 0
L0: getstatic Field Calendar INSTANCE LCalendar;
L3: areturn
L... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:43:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.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 23:43: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;
... | 133,756 |
FromByteCode | interface Function<T, R> {
R apply(T t);
}
@SuppressWarnings("javari")
class FromByteCode {
Function<String, String> f1 = String::toString;
}
| .version 52 0
.class super FromByteCode
.super java/lang/Object
.field f1 LFunction; .fieldattributes
.signature LFunction<Ljava/lang/String;Ljava/lang/String;>;
.end fieldattributes
.method <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:56:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:56:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,757 |
MetadataSyncImportException | /*
* Copyright (c) 2004-2018, University of Oslo
* 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
* list of cond... | .version 52 0
.class public super MetadataSyncImportException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:22:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:22:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,758 |
GetLeastNumbersDemo | import java.util.Arrays;
import java.util.Random;
import java.util.TreeSet;
/**
* @author WangZ ÃæÊÔÌâ30£º×îСµÄk¸öÊý 167Ò³
* ÌâÄ¿£ºÊäÈën¸öÕûÊý£¬ÕÒ³öÆäÖÐ×îСµÄk¸öÊý£¬ÀýÈçÊäÈë4¡¢5¡¢1¡¢6¡¢2¡¢7¡¢3¡¢8Õâ8¸öÊý×Ö£¬Ôò×îСµÄk¸öÊý×ÖÊÇ1¡¢2¡¢3¡¢4
*/
public class GetLeastNumbersDemo {
public static void main(String[] arg... | .version 52 0
.class public super GetLeastNumbersDemo
.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 14
.end linenumbertable
.e... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:04:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.TreeSet;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
imp... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:04:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,759 |
TokenNotFoundException | /*
* Copyright (c) 2018 Memorial Sloan-Kettering Cancer Center.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS
* FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder
* is on an "... | .version 52 0
.class public super TokenNotFoundException
.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 56
L... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:20: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
* Fri Jul 01 15:20: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;
... | 133,760 |
Utils | import java.io.File;
import java.io.PrintWriter;
/** Created by damho_000 on 3/25/14. */
public class Utils {
private Utils() {}
public static void d(String s) {
System.out.println("----" + s);
}
public static void createFile(File file) {
if (!file.exists()) {
PrintWriter writer = null;
... | .version 52 0
.class public super Utils
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
L4 12
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:02:50 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.MockFile;
import org.junit.runner.RunWit... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:02: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;
... | 133,761 |
L | /**
* 日志类
*
* <p>包含一些关键日志的开关,方便调试
*
* @author like
* @date 2017-09-22
*/
public class L {
public static boolean LOG_PIPELINE_CREATE = false;
public static boolean LOG_PIPELINE_DRAW = false;
public static boolean LOG_PIPELINE_CHANGE = false;
public static boolean LOG_PIPELINE_DESTROY = false;
public s... | .version 52 0
.class public super L
.super java/lang/Object
.field public static LOG_PIPELINE_CREATE Z
.field public static LOG_PIPELINE_DRAW Z
.field public static LOG_PIPELINE_CHANGE Z
.field public static LOG_PIPELINE_DESTROY Z
.field public static LOG_RENDER_DRAW Z
.field public static LOG_RENDER_DESTROY Z ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:47: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 08:47: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;
... | 133,762 |
Customer | /**
* Sencha GXT 4.0.1 - Sencha for GWT Copyright (c) 2006-2016, Sencha Inc.
*
* <p>licensing@sencha.com http://www.sencha.com/products/gxt/license/
*
* <p>================================================================================
* Evaluation/Trial License
* ===============================================... | .version 52 0
.class public super Customer
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 257625675029730084L
.field private name Ljava/lang/String;
.field private email Ljava/lang/String;
.field private age I
.method public <init> : ()V
.code sta... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:29:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:29:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,763 |
CollectionUtils | import java.util.Collection;
public class CollectionUtils {
/**
* 校验集合是否为空
*
* @param coll
* @return boolean
*/
public static boolean isEmpty(Collection<?> coll) {
return (coll == null || coll.isEmpty());
}
/**
* 校验集合是否不为空
*
* @param coll
* @return boolean
*/
public static... | .version 52 0
.class public super CollectionUtils
.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 co... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:11:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Collection;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:11:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,764 |
Supplementary | /*
* Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | .version 52 0
.class public super Supplementary
.super java/lang/Object
.field static final input [Ljava/lang/String;
.field static final golden1 [[I
.field static final golden2 [[I
.field static final golden3 [Ljava/lang/String;
.field static final testdata1 [[Ljava/lang/String;
.field static final At Z = 1
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:06:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:06: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;
... | 133,765 |
LineCommentAtTheEndOfFile | public class LineCommentAtTheEndOfFile {} // EOF on this line
| .version 52 0
.class public super LineCommentAtTheEndOfFile
.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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:33: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
* Sat Jul 02 04:33: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;
... | 133,766 |
JumpRangeCalculator | class JumpRangeCalculator {
private double lastJumpRange;
private double lastDistanceSag;
public double calcOptJumpRange(double jumpRange, double distanceSag) {
this.lastJumpRange = jumpRange;
this.lastDistanceSag = distanceSag;
int noJumps = (int) (1000 / jumpRange);
double jumpDistance = noJu... | .version 52 0
.class super JumpRangeCalculator
.super java/lang/Object
.field private lastJumpRange D
.field private lastDistanceSag D
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:42:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:42: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;
... | 133,767 |
Names | /** Created by roman on 14.02.16. */
public class Names {
public static final String FEED_INTERACTOR = "FEED_INTERACTOR";
public static final String RUBRICS_INTERACTOR = "RUBRICS_INTERACTOR";
public static final String TAGS_INTERACTOR = "TAGS_INTERACTOR";
public static final String MATERIAL_INTERACTOR = "MATERI... | .version 52 0
.class public super Names
.super java/lang/Object
.field public static final FEED_INTERACTOR Ljava/lang/String; = 'FEED_INTERACTOR'
.field public static final RUBRICS_INTERACTOR Ljava/lang/String; = 'RUBRICS_INTERACTOR'
.field public static final TAGS_INTERACTOR Ljava/lang/String; = 'TAGS_INTERACTOR'... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:34:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:34: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;
... | 133,768 |
TestMarshalledValue | /*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2008-present Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public... | .version 52 0
.class public super TestMarshalledValue
.super java/lang/Object
.field private text Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:35:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:35:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,769 |
Messages | /*
* JBoss, Home of Professional Open Source.
* Copyright 2012, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | .version 52 0
.class public super Messages
.super java/lang/Object
.field public static final LOGIN_TIMEOUT Ljava/lang/String; = 'loginTimeout'
.field public static final INVALID_USER Ljava/lang/String; = 'invalidUserMessage'
.field public static final INVALID_EMAIL Ljava/lang/String; = 'invalidEmailMessage'
.fie... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:11:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:11:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,770 |
MultiProperties | import java.util.*;
public class MultiProperties extends Properties {
private static final String DELIM = "%";
private MultiProperties parent = null;
private String myKey = "";
public MultiProperties getProperties(String key) {
MultiProperties out = new MultiProperties();
out.parent = this;
out.m... | .version 52 0
.class public super MultiProperties
.super java/util/Properties
.field private static final DELIM Ljava/lang/String; = '%'
.field private parent LMultiProperties;
.field private myKey Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:17:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Enumeration;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunne... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:17: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;
... | 133,771 |
ConfigurableDataException | /**
* @author andre
*/
public class ConfigurableDataException extends Exception {
private static final long serialVersionUID = -8601203755742890161L;
public ConfigurableDataException() {
super();
}
public ConfigurableDataException(String arg0, Throwable arg1) {
super(arg0, arg1);
}
public Conf... | .version 52 0
.class public super ConfigurableDataException
.super java/lang/Exception
.field private static final serialVersionUID J = -8601203755742890161L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:08: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
* Mon Jul 04 05:08: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;
... | 133,772 |
QuotationProductLiab | import java.io.Serializable;
import java.math.BigDecimal;
public class QuotationProductLiab implements Serializable {
private static final long serialVersionUID = 1103069770511483245L;
private Long liabId;
private String premIndi;
private BigDecimal sa;
private BigDecimal unit;
private Long applyDateT... | .version 52 0
.class public super QuotationProductLiab
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1103069770511483245L
.field private liabId Ljava/lang/Long;
.field private premIndi Ljava/lang/String;
.field private sa Ljava/math/BigDecimal;
.field ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:48:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:48:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,773 |
CswConstants | /* See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* Esri Inc. licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
... | .version 52 0
.class public super CswConstants
.super java/lang/Object
.field public static ElementSetType_Brief Ljava/lang/String;
.field public static ElementSetType_Summary Ljava/lang/String;
.field public static ElementSetType_Full Ljava/lang/String;
.field public static Operation_DescribeRecord Ljava/lang/St... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:45:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:45: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;
... | 133,774 |
Utils | import java.util.Arrays;
import java.util.Comparator;
/**
* @author Megacrafter127 Contains static unrelated convenience methods only. Currently easily
* stackable arraysorting.
*/
public class Utils {
/**
* Sorts the given array by its natural order of objects and then returns it, assuming the natural
... | .version 52 0
.class public super Utils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:46:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.util.Comparator;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParamet... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:46: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;
... | 133,775 |
Empleado | public class Empleado {
String nombre;
int edad, codigo;
double sueldo;
}
| .version 52 0
.class public super Empleado
.super java/lang/Object
.field nombre Ljava/lang/String;
.field edad I
.field codigo I
.field sueldo D
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:17:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:17:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,776 |
DateUtils | import java.time.Instant;
import java.time.temporal.ChronoUnit;
import java.util.Date;
public class DateUtils {
public static void main(String[] args) {
System.out.println("test");
System.out.println(new Date());
System.out.println(Instant.now());
long l = 330;
System.out.println(Instant.now().pl... | .version 52 0
.class public super DateUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:31: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
* Sat Jul 02 04:31: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;
... | 133,777 |
ApiTopUsersDTO | /*
*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | .version 52 0
.class public super ApiTopUsersDTO
.super java/lang/Object
.field private apiName Ljava/lang/String;
.field private version Ljava/lang/String;
.field private provider Ljava/lang/String;
.field private user Ljava/lang/String;
.field private requestCount J
.field private totalRequestCount J
.field ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:40:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:40: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;
... | 133,778 |
Graphics | public final class Graphics {
private int id, height, speed, rotation;
public Graphics(int id) {
this(id, 0, 0, 0);
}
public Graphics(int id, int speed, int height) {
this(id, speed, height, 0);
}
public Graphics(int id, int speed, int height, int rotation) {
this.id = id;
this.speed = s... | .version 52 0
.class public final super Graphics
.super java/lang/Object
.field private id I
.field private height I
.field private speed I
.field private rotation I
.method public <init> : (I)V
.code stack 5 locals 2
L0: aload_0
L1: iload_1
L2: iconst_0
L3: iconst_0
L4: iconst_0
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:03: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 02:03: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;
... | 133,779 |
WinItem | import java.io.Serializable;
public class WinItem implements Serializable {
/** */
private static final long serialVersionUID = 1L;
public Integer dice_score;
public Integer bet;
public String winning;
public Integer winning_percentage;
public Integer bonus_percentage = 0;
}
| .version 52 0
.class public super WinItem
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field public dice_score Ljava/lang/Integer;
.field public bet Ljava/lang/Integer;
.field public winning Ljava/lang/String;
.field public winning_percentage Ljav... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:32:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:32:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,780 |
LongWrapper | /** Created by simon on 10/1/14. */
public class LongWrapper {
private long result;
public LongWrapper() {}
public LongWrapper(long result) {
this.result = result;
}
public long getResult() {
return result;
}
public void setResult(long result) {
this.result = result;
}
}
| .version 52 0
.class public super LongWrapper
.super java/lang/Object
.field private result J
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
L4 11
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:22:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:22:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,781 |
Attribute | import java.io.Serializable;
public class Attribute implements Serializable {
private String type = null;
private String unit = null;
private String output = null;
public Attribute() {}
public Attribute(String type, String unit, String output) {
this.type = type;
this.unit = unit;
this.ou... | .version 52 0
.class public super Attribute
.super java/lang/Object
.implements java/io/Serializable
.field private type Ljava/lang/String;
.field private unit Ljava/lang/String;
.field private output Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespec... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:47: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 16:47: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;
... | 133,782 |
Leetcode438FindAllAnagramsinaString | // Copyright 2021 The KeepTry Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | .version 52 0
.class public super Leetcode438FindAllAnagramsinaString
.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 linenum... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:39:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:39: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;
... | 133,783 |
Solution | import java.util.HashSet;
public class Solution {
public int findMaximumXOR(int[] nums) {
int N = nums.length;
int max = 0, mask = 0;
for (int i = 31; i >= 0; i--) {
mask |= (1 << i);
HashSet<Integer> set = new HashSet<>();
for (int j = 0; j < N; j++) {
set.add(nums[j] & mask);
... | .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 7
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:38: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.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:38: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;
... | 133,784 |
MeetingDatesDataSets | /**
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* <p>Please see distribution for license.
*/
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
/** List of central bank meeting dates used for testing. */
public class MeetingDatesDataSets {
... | .version 52 0
.class public super MeetingDatesDataSets
.super java/lang/Object
.field public static final FOMC_MEETINGS_2015 Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/time/LocalDate;>;
.end fieldattributes
.field public static final FOMC_MEETINGS_2016 Ljava/util/List; .fieldattributes... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:13: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 01:13: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;
... | 133,785 |
EmptyOrderException | public class EmptyOrderException extends RuntimeException {
public EmptyOrderException(String s) {
super(s);
}
}
| .version 52 0
.class public super EmptyOrderException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:28:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import 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:28: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;
... | 133,786 |
Main | /**
*
*
* <h1>Longest Common Prefix</h1>
*
* <p>Problem from LeetCode.
*
* <h3>Description</h3>
*
* <p>Write a function to find the longest common prefix string amongst an array of strings.
*
* @since 30-07-2017 <br>
* @version 1.0 <br>
* @author RMatos <br>
* @see <a href="https://leetcode.com/problems/l... | .version 52 0
.class public super Main
.super java/lang/Object
.field private static final STRINGS [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
L... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:09:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:09: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;
... | 133,787 |
Close | /*
* Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundati... | .version 52 0
.class public super Close
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 32
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:57: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 18:57: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;
... | 133,788 |
DefCodFiscException | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author Luigi Rosini
*/
public class DefCodFiscException extends Exception {
@Override
public String toString() {
ret... | .version 52 0
.class public super DefCodFiscException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:08: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
* Sun Jul 03 23:08: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;
... | 133,789 |
MyCachedThreadPool | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author sanket
*/
public class MyCachedThreadPool {}
| .version 52 0
.class public super MyCachedThreadPool
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:10: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 03:10: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;
... | 133,790 |
ForkOutputStream | /**
* Copyright (c) 2014, the Railo Company Ltd. All rights reserved.
*
* <p>This library is free software; you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by the Free Software Foundation; either version
* 2.1 of the License, or (at your option) any ... | .version 52 0
.class public final super ForkOutputStream
.super java/io/OutputStream
.field private final os1 Ljava/io/OutputStream;
.field private final os2 Ljava/io/OutputStream;
.method public <init> : (Ljava/io/OutputStream;Ljava/io/OutputStream;)V
.code stack 2 locals 3
L0: aload_0
L1: invokes... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:11:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockPrintStream;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:11: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;
... | 133,791 |
StackExchange | import java.io.*;
import java.math.*;
import java.text.*;
import java.util.*;
import java.util.regex.*;
public class StackExchange {
static String[] topics = {
"gis",
"security",
"photo",
"mathematica",
"unix",
"wordpress",
"scifi",
"electronics",
"android",
"apple"
};
p... | .version 52 0
.class public super StackExchange
.super java/lang/Object
.field static topics [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 9
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:19:23 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 13:19:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,792 |
SystemConstant | /** Class: Created by se7enTina on 2016/6/29. Description: */
public class SystemConstant {
public static String LOGIN_FLAG = "LOGIN_FLAG";
public static String LOGIN_ROLE = "LOGIN_ROLE";
public static String LOGIN_ROLE_TEA = "0";
public static String LOGIN_ROLE_STU = "1";
}
| .version 52 0
.class public super SystemConstant
.super java/lang/Object
.field public static LOGIN_FLAG Ljava/lang/String;
.field public static LOGIN_ROLE Ljava/lang/String;
.field public static LOGIN_ROLE_TEA Ljava/lang/String;
.field public static LOGIN_ROLE_STU Ljava/lang/String;
.method public <init> : ()V... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:47: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 21:47: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;
... | 133,793 |
Solution | import java.util.Arrays;
import java.util.Comparator;
public class Solution {
public int findMinArrowShots(int[][] points) {
if (points == null || points.length == 0) return 0;
Arrays.sort(points, Comparator.comparingInt(o -> o[1]));
int count = 1;
for (int i = 0, last = points[0][1]; i < points.leng... | .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 8
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:01:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:01:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,794 |
Vertice | public class Vertice {
private int id;
private String nome;
private String rotulo;
public Vertice(int id) {
this.id = id;
this.nome = "q" + id;
}
public Vertice(int id, String rotulo) {
this(id);
this.nome = "q" + id;
this.rotulo = rotulo;
}
public int getId() {
return this.id... | .version 52 0
.class public super Vertice
.super java/lang/Object
.field private id I
.field private nome Ljava/lang/String;
.field private rotulo Ljava/lang/String;
.method public <init> : (I)V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:13:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:13:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,795 |
GlobalSettings | /**
* @author Ciaron Rider
*/
public class GlobalSettings {
private static String username = "username";
private static String password = "password";
private static String server = "server";
private static short port = 6789;
/**
* @return
*/
public static String getUsername() {
synchronized ... | .version 52 0
.class public super GlobalSettings
.super java/lang/Object
.field private static username Ljava/lang/String;
.field private static password Ljava/lang/String;
.field private static server Ljava/lang/String;
.field private static port S
.method public <init> : ()V
.code stack 1 locals 1
L0: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 17:00: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
* Mon Jul 04 17:00: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;
... | 133,796 |
PartidaTLOS | public class PartidaTLOS {}
| .version 52 0
.class public super PartidaTLOS
.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 03:30:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:30:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,797 |
IceColumn | /**
* 数据库列对象
*
* @author IceWater
* @version 2.0.0
*/
public class IceColumn {
private String columnName;
private String columnLabel;
private String columnTypeName;
private int columnType;
private int columnDisplaySize;
private int columnCount;
private int scale;
private String columnClassName;
p... | .version 52 0
.class public super IceColumn
.super java/lang/Object
.field private columnName Ljava/lang/String;
.field private columnLabel Ljava/lang/String;
.field private columnTypeName Ljava/lang/String;
.field private columnType I
.field private columnDisplaySize I
.field private columnCount I
.field priv... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:26:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:26:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,798 |
PrepareException | /** Created by andreas on 12/8/13. */
public class PrepareException extends Exception {
public PrepareException() {
super();
}
public PrepareException(String message) {
super(message);
}
public PrepareException(String message, Throwable cause) {
super(message, cause);
}
public PrepareExcept... | .version 52 0
.class public super PrepareException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 8
L4 9
.end lin... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:49: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
* Sat Jul 02 05:49: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;
... | 133,799 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.