MCPcopy Create free account

hub / github.com/aixcoder-plugin/nl2code-dataset / functions

Functions939 in github.com/aixcoder-plugin/nl2code-dataset

MethodEvaluation82
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation82.java:49
MethodEvaluation83
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation83.java:12
MethodEvaluation84
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation84.java:29
MethodEvaluation85
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation85.java:37
MethodEvaluation86
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation86.java:42
MethodEvaluation87
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation87.java:38
MethodEvaluation88
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation88.java:19
MethodEvaluation89
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation89.java:37
MethodEvaluation9
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation9.java:14
MethodEvaluation90
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation90.java:37
MethodEvaluation91
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation91.java:37
MethodEvaluation92
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation92.java:46
MethodEvaluation93
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation93.java:19
MethodEvaluation94
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation94.java:15
MethodEvaluation95
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation95.java:33
MethodEvaluation96
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation96.java:9
MethodEvaluation97
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation97.java:9
MethodEvaluation98
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation98.java:19
MethodEvaluation99
(String basePackage, String prefix)
src/main/java/com/aixcode/autoTest/evaluation/Evaluation99.java:15
MethodStudent
()
src/main/java/com/aixcode/sampleHelper/Student.java:14
MethodaddAll
(Set<Integer> set, Collection<Integer> collection)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:76
MethodaddTo
(float[] arrayA, float[] arrayB)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:177
MethodaddTo
Adds a given vector (array) to another one. Every element of the second array (missing element is treated to be zero) is added to the corresponding el
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod156.java:9
MethodaddToSet
(Map<String, HashSet<Integer>> map, String key, Integer value)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:113
MethodaddToSet
Add the value to the HashSet given by map.get(key), creating a new HashSet if the HashSet is null
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod90.java:12
Methodappend
(List<String> list, String item)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:147
MethodappendTrailing
(String str, String trailing)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:108
MethodappendTrailing
If the string passed in is not blank or null and did not end with the trailing value, then appended the trailing value to it and return the result
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod85.java:9
Methodarray2List
(T[] array)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:186
Methodarray2List
将数组转为 List
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod167.java:12
MethodarrayToMatrix
(int[] m, int width, int height)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:129
MethodarrayToMatrix
一维数组转为二维数组,width表示列数,height表示行数
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod106.java:10
MethodasObjectArray
(int[] array)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:173
MethodasObjectArray
Converts from an int array to an Integer array.
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod151.java:9
Methodaverage
(int a, int b)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:114
Methodaverage
Calculate and return the average of the two values rounded DOWN.
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod91.java:9
Methodbase64decode
(String base64string)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:184
Methodbase64decode
Decode base64 string to bytes
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod165.java:9
MethodbigDecimalSubtract
(String str, String str1)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:191
MethodbigDecimalSubtract
十进制数值减法,字符串表示每一个数
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod172.java:9
MethodboolToString
(boolean b)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:122
MethodboolToString
Convert a boolean value into a string.
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod99.java:9
MethodbytesToHex
(byte[] bytes)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:86
MethodbytesToHex
convert byte array to a hex string
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod60.java:9
MethodbytesToHexString
(byte[] src)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:78
MethodbytesToHexString
将byte数组转化为16进制字符串
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod50.java:9
MethodcalculateC2
(byte[] m, byte[] t)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:175
MethodcalculateC2
计算 C2 = M xor t
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod153.java:9
Methodcall
()
src/main/java/com/aixcode/autoTest/evaluation/Evaluation79.java:26
MethodcanonicalEncodingName
(String encoding)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:123
MethodcanonicalEncodingName
Convert an arbitrary text encoding to its canonical name
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod100.java:9
MethodcharsetForName
(String charsetName)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:45
MethodcharsetForName
Parses character set name to Charset object
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod17.java:12
MethodcheckNotNullOrEmpty
(int[] array)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:130
MethodcheckNotNullOrEmpty
Verifies that the given array is not null or empty.
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod107.java:10
MethodcheckOverflow
(int x, int y)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:112
MethodcheckOverflow
Add two integers, checking for overflow.
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod89.java:9
MethodcheckRange
(int value, int min, int max)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:115
MethodcheckRange
Check if #MIN_VALUE <= value <= #MAX_VALUE and if not an IllegalArgumentException is thrown.
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod92.java:9
MethodcheckUsername
(String username)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:88
MethodcheckUsername
检验用户名是否合法,只能包括a-z,A-Z,0-9和下划线_,不能以下划线结尾 用户名有最小长度和最大长度限制,比如用户名必须是4-20位
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod63.java:9
Methodcheckbracket
(String str)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:181
Methodcheckbracket
括号匹配检测.
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod162.java:9
MethodclearTo
(Calendar c, int field)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:151
MethodclearTo
Clear the given calendar, setting to zero all time values less than or equal to that of the given field. For example, clearing to Calendar#HOUR will f
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod128.java:12
MethodcollectionToCommaDelimitedString
(List<String> coll)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:28
MethodcollectionToCommaDelimitedString
Take a collection of Strings and return a combined string as a comma separated list with 'and' between the final pair. For example: [a, b, c] to \"a,
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod0.java:12
Methodcombinatorial
(int n, int m)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:87
Methodcombinatorial
Calculates combinatorial number C(n,m).
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod62.java:9
Methodcompare
(double double1, double double2)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:143
Methodcompare
Compares the two specified double values,return 1 if the first value is greater than the second value,-1 if the first value is less than the second va
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod120.java:10
Methodconcat
(T[] a, T[] b)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:120
Methodconcat
Concatenate two arrays of T type
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod97.java:9
MethodcontainsKey
(Collection<String> collection, String key)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:109
MethodconvertMnemonicString
(String text)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:121
MethodconvertMnemonicString
Convert the text '&' mnemonic string to text string. The '&' symbol is treated as the mnemonic pointer. The double "&&" symbols are treated as the sin
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod98.java:9
Methodcopy
(int[] arr)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:124
Methodcopy
Create a copy of the Integer array
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod101.java:9
MethodcopyFile
(String sourcePath, String destPath)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:43
MethodcopyFile
Copy a file from source path to destination path
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod15.java:11
Methodcrc32
(byte[] bytes)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:96
Methodcrc32
Compute the CRC32 of an array of bytes.
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod71.java:9
MethodcreateHttpConnection
(URL url, int connectTimeout, Map<String, String> requestProperties)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:30
MethodcreateHttpConnection
Create and returns a HttpURLConnection connection to a webpage
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod2.java:13
MethodcreatePadding
(int length, char padChar)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:29
MethodcreatePadding
Creates a padding string of a certain length
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod1.java:9
MethodcurrentMonthStartUnixTime
()
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:156
MethodcurrentMonthStartUnixTime
返回当月开始时间
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod133.java:11
Methoddate2String
(final Date date, final DateFormat format)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:37
Methoddate2String
将 Date 类型转为时间字符串,格式为 format
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod9.java:12
Methoddelete
(List<T> list, int start, int end)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:98
Methoddiff
(java.util.Map<String, String> map1, java.util.Map<String, String> map2)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:105
Methoddiff
Debug helper function that returns the diff of two property maps, only displaying the key that is different and in which map it exists compared to the
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod82.java:9
Methoddistance
(float x0, float y0, float x1, float y1)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:51
Methoddistance
Returns the distance for the two given point
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod23.java:9
MethoddoDrawRandom
(List<String> users, int count)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:179
MethoddoDrawRandom
随机抽取指定数量的用户,作为中奖用户
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod160.java:12
MethodelapsedTime
(Calendar start, Calendar end)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:95
MethodelapsedTime
Calculate the elapsed time between two times specified in milliseconds.
src/main/java/com/aixcode/autoTest/generate/copilot/GenerateMethod70.java:11
MethodensureNotNull
(Object obj)
src/main/java/com/aixcode/autoTest/GenerateMethodBase.java:63
← previousnext →401–500 of 939, ranked by callers