Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
task_id
string
rambo_task_id
string
relative_path
string
proj_name
string
class_name
string
func_name
string
masked_class
string
tiny_masked_class
string
prediction
string
ground_truth
string
project
string
bug_id
int64
testmethods
sequence
ground_truth.types
sequence
ground_truth.methods
sequence
00d7c6b6a6994c27e69876288bc2ce39cc52e82cc0f70764ee5f6568c56ab343
FasterXML_jackson-databind/0
jackson-databind/src/main/java/com/fasterxml/jackson/databind/module/SimpleModule.java
FasterXML_jackson-databind
SimpleModule
addSerializer
class SimpleModule extends com.fasterxml.jackson.databind.Module implements java.io.Serializable { private static final long serialVersionUID = 1L; // 2.5.0 protected final String _name; protected final Version _version; protected SimpleSerializers _serializers = null; protected SimpleDese...
class SimpleModule extends com.fasterxml.jackson.databind.Module implements java.io.Serializable { protected SimpleSerializers _keySerializers = null; protected SimpleKeyDeserializers _keyDeserializers = null; /** * Lazily-constructed resolver used for storing mappings from * abstract cla...
_checkNotNull(type, "type"); _checkNotNull(ser, "serializer"); if (_serializers == null) { _serializers = new SimpleSerializers(); } _serializers.addSerializer(type, ser); return this;
_checkNotNull(type, "type to register serializer for"); _checkNotNull(ser, "serializer"); if (_serializers == null) { _serializers = new SimpleSerializers(); } _serializers.addSerializer(type, ser); return this;
JacksonDatabind
112
[ "com.fasterxml.jackson.databind.module.SimpleModuleTest::testMultipleModules" ]
[ "JsonSerializer<T>", "SimpleSerializers", "JsonSerializer<?>", "Class<? extends T>", "Class<?>", "Class<T>" ]
[ "_checkNotNull", "addSerializer", "SimpleSerializers" ]
0119a0554439984af179af7564f0e878e0038e946c0a9a26cf21bcee84eca469
jfree_jfreechart/1
jfreechart/source/org/jfree/data/category/DefaultIntervalCategoryDataset.java
jfree_jfreechart
DefaultIntervalCategoryDataset
generateKeys
class DefaultIntervalCategoryDataset extends AbstractSeriesDataset implements IntervalCategoryDataset { /** The series keys. */ private Comparable[] seriesKeys; /** The category keys. */ private Comparable[] categoryKeys; /** Storage for the start value data. */ private Number[][] sta...
class DefaultIntervalCategoryDataset extends AbstractSeriesDataset implements IntervalCategoryDataset { /** * Returns the data value for one category in a series. * <P> * This method is part of the CategoryDataset interface. Not particularly * meaningful for this class...returns the en...
Comparable[] result = new Comparable[count]; for (int i = 0; i < count; i++) { result[i] = new StringBuffer(prefix).append(i + 1).toString(); } return result;
Comparable[] result = new Comparable[count]; String name; for (int i = 0; i < count; i++) { name = prefix + (i + 1); result[i] = name; } return result;
Chart
1
[ "org.jfree.data.category.junit.DefaultIntervalCategoryDatasetTests::testGetValue", "org.jfree.data.category.junit.DefaultIntervalCategoryDatasetTests::testGetRowAndColumnCount", "org.jfree.data.category.junit.DefaultIntervalCategoryDatasetTests::testEquals" ]
[ "Comparable[]", "Number[][]" ]
[]
0183c109cc6a51cd012f3447706660f08bd929d681b1e8b4aeb4d0f99a1dc0d3
apache_commons-lang/2
commons-lang/src/main/java/org/apache/commons/lang3/Conversion.java
apache_commons-lang
Conversion
byteArrayToLong
class Conversion { /** * <p> * Converts a hexadecimal digit into an int using the default (Lsb0) bit ordering. * </p> * <p> * '1' is converted to 1 * </p> * * @param hexDigit the hexadecimal digit to convert * @return an int equals to {@code hexDigit} * @throws Ill...
class Conversion { /** * <p> * Converts an array of int into a long using the default (little endian, Lsb0) byte and bit * ordering. * </p> * * @param src the int array to convert * @param srcPos the position in {@code src}, in int unit, from where to start the * ...
if ((src.length == 0 && srcPos == 0) || 0 == nBytes) { return dstInit; } if ((nBytes - 1) * 8 + dstPos >= 64) { throw new IllegalArgumentException( "(nBytes-1)*8+dstPos is greather or equal to than 64"); } long out = dstInit; int sh...
if ((src.length == 0 && srcPos == 0) || 0 == nBytes) { return dstInit; } if ((nBytes - 1) * 8 + dstPos >= 64) { throw new IllegalArgumentException( "(nBytes-1)*8+dstPos is greather or equal to than 64"); } long out = dstInit; int s...
Lang
1
[ "org.apache.commons.lang3.ConversionTest::testByteArrayToUuid", "org.apache.commons.lang3.ConversionTest::testByteArrayToLong" ]
[ "UUID" ]
[ "IllegalArgumentException" ]
02d83b0019bace69bbe286a809f3140783da861edb53cf17ab1f6631ed128ee2
jfree_jfreechart/3
jfreechart/source/org/jfree/data/gantt/TaskSeriesCollection.java
jfree_jfreechart
TaskSeriesCollection
getPercentComplete
class TaskSeriesCollection extends AbstractSeriesDataset implements GanttCategoryDataset, Cloneable, PublicCloneable, Serializable { /** For serialization. */ private static final long serialVersionUID = -2065799050738449903L; /** * Storage for aggregate task keys (the task...
class TaskSeriesCollection extends AbstractSeriesDataset implements GanttCategoryDataset, Cloneable, PublicCloneable, Serializable { /** * Adds a series to the dataset and sends a * {@link org.jfree.data.general.DatasetChangeEvent} to all registered * listeners. * ...
Number result = null; int row = getRowIndex(rowKey); TaskSeries series = (TaskSeries) this.data.get(row); Task task = series.get(columnKey.toString()); if (task != null) { result = new Double(task.getPercentComplete()); } return result;
Number result = null; int row = getRowIndex(rowKey); TaskSeries series = (TaskSeries) this.data.get(row); Task task = series.get(columnKey.toString()); if (task != null) { result = task.getPercentComplete(); } return result;
Chart
1
[ "org.jfree.data.gantt.junit.TaskSeriesCollectionTests::testGetPercentComplete" ]
[ "List", "Task", "Comparable", "TaskSeries", "Number" ]
[ "getRowIndex", "toString", "get", "getPercentComplete" ]
0370917ec7f90da7c60ce4f962cafdd4e79606c89c781be2e9b23578d896b8a6
apache_commons-lang/4
commons-lang/src/main/java/org/apache/commons/lang3/text/StrBuilder.java
apache_commons-lang
StrBuilder
deleteFirst
"class StrBuilder implements CharSequence, Appendable, Serializable, Builder<String> {\n\n /**\n (...TRUNCATED)
"class StrBuilder implements CharSequence, Appendable, Serializable, Builder<String> {\n\n /**\n (...TRUNCATED)
" final int len = (str == null ? 0 : str.length());\n if (len > 0) {\n fina(...TRUNCATED)
"\n final int len = (str == null ? 0 : str.length());\n if (len > 0) {\n fi(...TRUNCATED)
Lang
1
["org.apache.commons.lang3.text.StrBuilderTest::testDeleteFirst_String","org.apache.commons.lang3.te(...TRUNCATED)
[ "StrBuilder" ]
[ "indexOf", "length", "deleteImpl" ]
03ab7a19a52de8480bc7bcbb078ea407935a637e14a712e1d32d88238054bbba
apache_commons-collections/5
commons-collections/src/main/java/org/apache/commons/collections4/IteratorUtils.java
apache_commons-collections
IteratorUtils
asIterable
"class IteratorUtils {\n // validation is done in this class in certain cases because the\n //(...TRUNCATED)
"class IteratorUtils {\n // validation is done in this class in certain cases because the\n //(...TRUNCATED)
" if (iterator == null) {\n throw new NullPointerException(\"Iterator must not be (...TRUNCATED)
"\n if (iterator == null) {\n throw new NullPointerException(\"Iterator must not b(...TRUNCATED)
Collections
28
["org.apache.commons.collections4.IteratorUtilsTest::testAsIterable","org.apache.commons.collections(...TRUNCATED)
[ "Iterator<?>", "Iterator<E>", "Iterator<? extends I>", "Iterator<? extends E>" ]
[ "IteratorIterable<E>", "NullPointerException" ]
04eba5a210e670ef3bd02de904f75255cf47e262de7050691488cc2543447418
apache_commons-math/6
commons-math/src/main/java/org/apache/commons/math3/optimization/direct/CMAESOptimizer.java
apache_commons-math
CMAESOptimizer
diag
"class CMAESOptimizer\n extends BaseAbstractMultivariateSimpleBoundsOptimizer<MultivariateFunctio(...TRUNCATED)
"class CMAESOptimizer\n extends BaseAbstractMultivariateSimpleBoundsOptimizer<MultivariateFunctio(...TRUNCATED)
" if (m.getColumnDimension() == 1) {\n final double[][] d = new double[m.getRowDim(...TRUNCATED)
"\n if (m.getColumnDimension() == 1) {\n final double[][] d = new double[m.getRowD(...TRUNCATED)
Math
1
["org.apache.commons.math3.optimization.direct.CMAESOptimizerTest::testMath864","org.apache.commons.(...TRUNCATED)
[ "RealMatrix" ]
[ "getRowDimension", "Array2DRowRealMatrix", "getColumnDimension", "getEntry" ]
06b18153831ceb9c48e13370f32ecdeb08121962c75d97ca3b78ac7e4df44824
jfree_jfreechart/7
jfreechart/source/org/jfree/data/statistics/Statistics.java
jfree_jfreechart
Statistics
getCorrelation
"class Statistics {\n\n /**\n * Returns the mean of an array of numbers. This is equivalent (...TRUNCATED)
"class Statistics {\n\n /**\n * Calculates the median for a sublist within a list of values\n(...TRUNCATED)
"\n if (data1 == null) {\n throw new IllegalArgumentException(\"Null 'data1' argum(...TRUNCATED)
"\n if (data1 == null) {\n throw new IllegalArgumentException(\"Null 'data1' argum(...TRUNCATED)
Chart
1
["org.jfree.data.statistics.junit.StatisticsTests::testCorrelation1","org.jfree.data.statistics.juni(...TRUNCATED)
[ "Number[]" ]
[ "pow", "doubleValue", "IllegalArgumentException" ]
082fa1aa803e996b13544902df4784d48909e5cffd6b2e89f5cf097a9170f7cf
apache_commons-math/8
commons-math/src/main/java/org/apache/commons/math3/linear/BlockRealMatrix.java
apache_commons-math
BlockRealMatrix
createBlocksLayout
"class BlockRealMatrix extends AbstractRealMatrix implements Serializable {\n /** Block size. */\(...TRUNCATED)
"class BlockRealMatrix extends AbstractRealMatrix implements Serializable {\n /**\n * Create (...TRUNCATED)
" final int blockRows = (rows + BLOCK_SIZE - 1) / BLOCK_SIZE;\n final int blockColu(...TRUNCATED)
"\n final int blockRows = (rows + BLOCK_SIZE - 1) / BLOCK_SIZE;\n final int blockCo(...TRUNCATED)
Math
1
["org.apache.commons.math3.linear.BlockRealMatrixTest::testCopyFunctions","org.apache.commons.math3.(...TRUNCATED)
[]
[ "min" ]
0958559065a1bfefe316223fe66a5ea93965fb8ec8cf7367b51b625b893c8b6f
apache_commons-lang/9
commons-lang/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java
apache_commons-lang
FieldUtils
readStaticField
"class FieldUtils {\n\n /**\n * FieldUtils instances should NOT be constructed in standard pr(...TRUNCATED)
"class FieldUtils {\n\n /**\n * Gets an accessible <code>Field</code> by name breaking scope (...TRUNCATED)
" if (field == null) {\n throw new IllegalArgumentException(\"The field must not b(...TRUNCATED)
"\n if (field == null) {\n throw new IllegalArgumentException(\"The field must not(...TRUNCATED)
Lang
1
["org.apache.commons.lang3.reflect.FieldUtilsTest::testReadStaticFieldIllegalArgumentException1","or(...TRUNCATED)
[ "Field" ]
[ "getModifiers", "getName", "isStatic", "readField", "IllegalArgumentException" ]
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
8