index
int64
0
10.7k
class
stringclasses
867 values
comment_sentence
stringlengths
1
1.78k
partition
int64
0
0
combo
stringlengths
17
1.81k
labels
listlengths
7
7
4,241
GDBBreakpoints_7_0.java
@param context * @param reference * @param ignoreCount * @param rm
0
@param context * @param reference * @param ignoreCount * @param rm | GDBBreakpoints_7_0.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,245
HdfsDataOutputStream.java
@link FSDataOutputStream
0
@link FSDataOutputStream | HdfsDataOutputStream.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,246
HdfsDataOutputStream.java
@see FSDataOutputStream#hsync()
0
@see FSDataOutputStream#hsync() | HdfsDataOutputStream.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,247
HdfsDataOutputStream.java
/** * Sync the data to DataNode, close the current block, and allocate a new * block */
0
/** * Sync the data to DataNode, close the current block, and allocate a new * block */ | HdfsDataOutputStream.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,248
HdfsDataOutputStream.java
/** * When doing sync to DataNodes, also update the metadata (block length) in * the NameNode. */
0
/** * When doing sync to DataNodes, also update the metadata (block length) in * the NameNode. */ | HdfsDataOutputStream.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,249
HdfsDataOutputStream.java
@param syncFlags * Indicate the detailed semantic and actions of the hsync.
0
@param syncFlags * Indicate the detailed semantic and actions of the hsync. | HdfsDataOutputStream.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,250
HdfsDataOutputStream.java
@return the number of valid replicas of the current block
0
@return the number of valid replicas of the current block | HdfsDataOutputStream.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,251
HdfsDataOutputStream.java
Sync buffered data to DataNodes (flush to disk devices).
0
Sync buffered data to DataNodes (flush to disk devices). | HdfsDataOutputStream.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,252
HdfsDataOutputStream.java
* Get the actual number of replicas of the current block.
0
* Get the actual number of replicas of the current block. | HdfsDataOutputStream.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,253
HdfsDataOutputStream.java
This can be different from the designated replication factor of the file * because the namenode does not maintain replication for the blocks which are * currently being written to. Depending on the configuration, the client may * continue to write to a block even if a few datanodes in the write pipeline * have failed, or the client may add a new datanodes once a datanode has * failed.
0
This can be different from the designated replication factor of the file * because the namenode does not maintain replication for the blocks which are * currently being written to. Depending on the configuration, the client may * continue to write to a block even if a few datanodes in the write pipeline * have failed, or the client may add a new datanodes once a datanode has * failed. | HdfsDataOutputStream.java
[ 0, 0, 0, 0, 0, 0, 1 ]
4,254
HdfsDataOutputStream.java
* The Hdfs implementation of {@link FSDataOutputStream}.
0
* The Hdfs implementation of {@link FSDataOutputStream}. | HdfsDataOutputStream.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,256
ProcessClosure.java
* Forces the termination the launched process
0
* Forces the termination the launched process | ProcessClosure.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,257
ProcessClosure.java
The same functionality as "isAlive()" * but does not affect out streams, * because they can be shared among processes
0
The same functionality as "isAlive()" * but does not affect out streams, * because they can be shared among processes | ProcessClosure.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,258
ProcessClosure.java
// it seems that thread termination and stream closing is working // without // any help
0
// it seems that thread termination and stream closing is working // without // any help | ProcessClosure.java
[ 0, 0, 1, 0, 0, 0, 0 ]
4,259
ProcessClosure.java
Live links the launched process with the configured in/out streams using * reader threads.
0
Live links the launched process with the configured in/out streams using * reader threads. | ProcessClosure.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,260
ProcessClosure.java
@param outputStream * prcess stdout is written to this stream. Cannot be <code>null</code>. * @param errorStream * prcess stderr is written to this stream. Cannot be <code>null</code>.
0
@param outputStream * prcess stdout is written to this stream. Cannot be <code>null</code>. * @param errorStream * prcess stderr is written to this stream. Cannot be <code>null</code>. | ProcessClosure.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,261
ProcessClosure.java
Creates a process closure and connects the launched process with a * console document.
0
Creates a process closure and connects the launched process with a * console document. | ProcessClosure.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,262
ProcessClosure.java
Thread which continuously reads from a input stream and pushes the read * data to an output stream which is immediately flushed afterwards.
0
Thread which continuously reads from a input stream and pushes the read * data to an output stream which is immediately flushed afterwards. | ProcessClosure.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,263
ProcessClosure.java
Bundled state of a launched process including the threads linking the process * in/output to console documents.
0
Bundled state of a launched process including the threads linking the process * in/output to console documents. | ProcessClosure.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,265
TypeDataStore.java
/** * Maps connector class -> state property name -> hander method data */
0
/** * Maps connector class -> state property name -> hander method data */ | TypeDataStore.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,266
TypeDataStore.java
this is a very inefficient implementation for getting all the identifiers // for a class
0
this is a very inefficient implementation for getting all the identifiers // for a class | TypeDataStore.java
[ 0, 0, 0, 0, 0, 0, 1 ]
4,267
TypeDataStore.java
@param type
0
@param type | TypeDataStore.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,268
TypeDataStore.java
@return
0
@return | TypeDataStore.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,269
TypeDataStore.java
@deprecated As of 7.0.1, use {@link #getPropertiesAsArray(Type)} instead * for improved performance
0
@deprecated As of 7.0.1, use {@link #getPropertiesAsArray(Type)} instead * for improved performance | TypeDataStore.java
[ 0, 0, 0, 0, 0, 1, 0 ]
4,270
TypeDataStore.java
@link #getPropertiesAsArray(Type)
0
@link #getPropertiesAsArray(Type) | TypeDataStore.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,271
TypeDataStore.java
// Create Property instances for each property name
0
// Create Property instances for each property name | TypeDataStore.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,272
TypeDataStore.java
This method sets up prototypes chain for <code>baseClassName</code>. * Precondition is : <code>superClassName</code> had to be handled before * its child <code>baseClassName</code>.
0
This method sets up prototypes chain for <code>baseClassName</code>. * Precondition is : <code>superClassName</code> had to be handled before * its child <code>baseClassName</code>. | TypeDataStore.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,273
TypeDataStore.java
It makes all properties defined in the <code>superClassName</code> * available for <code>baseClassName</code> as well.
0
It makes all properties defined in the <code>superClassName</code> * available for <code>baseClassName</code> as well. | TypeDataStore.java
[ 0, 0, 0, 0, 0, 0, 1 ]
4,274
TypeDataStore.java
Gets data for all methods annotated with {@link OnStateChange} in the * given connector type.
0
Gets data for all methods annotated with {@link OnStateChange} in the * given connector type. | TypeDataStore.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,275
TypeDataStore.java
Adds data about a method annotated with {@link OnStateChange} for the * given connector type.
0
Adds data about a method annotated with {@link OnStateChange} for the * given connector type. | TypeDataStore.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,276
TypeDataStore.java
* Checks whether the provided method is annotated with {@link NoLayout}.
0
* Checks whether the provided method is annotated with {@link NoLayout}. | TypeDataStore.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,277
TypeDataStore.java
* Checks whether the provided property is annotated with {@link NoLayout}.
0
* Checks whether the provided property is annotated with {@link NoLayout}. | TypeDataStore.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,278
TypeDataStore.java
@link NoLayout
0
@link NoLayout | TypeDataStore.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,279
TypeDataStore.java
@link NoLayout
0
@link NoLayout | TypeDataStore.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,280
TypeDataStore.java
@param property * the property to check
0
@param property * the property to check | TypeDataStore.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,282
TypeDataStore.java
@return <code>true</code> if the property has a NoLayout annotation; * otherwise <code>false</code>
0
@return <code>true</code> if the property has a NoLayout annotation; * otherwise <code>false</code> | TypeDataStore.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,283
TypeDataStore.java
@param method * the rpc method to check
0
@param method * the rpc method to check | TypeDataStore.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,285
TypeDataStore.java
@return <code>true</code> if the method has a NoLayout annotation; * otherwise <code>false</code>
0
@return <code>true</code> if the method has a NoLayout annotation; * otherwise <code>false</code> | TypeDataStore.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,286
TypeDataStore.java
@since 7.2
0
@since 7.2 | TypeDataStore.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,287
TypeDataStore.java
@param clazz * the connector type
0
@param clazz * the connector type | TypeDataStore.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,288
TypeDataStore.java
@param method * the state change method data
0
@param method * the state change method data | TypeDataStore.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,289
TypeDataStore.java
@since 7.2
0
@since 7.2 | TypeDataStore.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,290
TypeDataStore.java
@param type * the connector type
0
@param type * the connector type | TypeDataStore.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,291
TypeDataStore.java
@return a map of state property names to handler method data
0
@return a map of state property names to handler method data | TypeDataStore.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,293
RegularImmutableSet.java
@link RegularImmutableSet
0
@link RegularImmutableSet | RegularImmutableSet.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,294
RegularImmutableSet.java
GWT emulation of {@link RegularImmutableSet}.
0
GWT emulation of {@link RegularImmutableSet}. | RegularImmutableSet.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,295
NoOverCommitPolicy.java
This policy enforce a simple physical cluster capacity constraints, by * validating that the allocation proposed fits in the current plan. This * validation is compatible with "updates" and in verifying the capacity * constraints it conceptually remove the prior version of the reservation.
0
This policy enforce a simple physical cluster capacity constraints, by * validating that the allocation proposed fits in the current plan. This * validation is compatible with "updates" and in verifying the capacity * constraints it conceptually remove the prior version of the reservation. | NoOverCommitPolicy.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,296
NoOverCommitPolicy.java
// check updates are using same name
0
// check updates are using same name | NoOverCommitPolicy.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,297
NoOverCommitPolicy.java
// for every instant in time, check we are respecting cluster capacity
0
// for every instant in time, check we are respecting cluster capacity | NoOverCommitPolicy.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,298
NoOverCommitPolicy.java
// check the cluster is never over committed
0
// check the cluster is never over committed | NoOverCommitPolicy.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,299
NoOverCommitPolicy.java
// this policy has no "memory" so the valid window is set to zero
0
// this policy has no "memory" so the valid window is set to zero | NoOverCommitPolicy.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,300
NoOverCommitPolicy.java
// nothing to do for this policy
0
// nothing to do for this policy | NoOverCommitPolicy.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,301
TestStreamingKeyValue.java
/** * This class tests hadoopStreaming in MapReduce local mode. * This testcase looks at different cases of tab position in input. */
0
/** * This class tests hadoopStreaming in MapReduce local mode. * This testcase looks at different cases of tab position in input. */ | TestStreamingKeyValue.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,302
TestStreamingKeyValue.java
// First line of input has 'key' 'tab' 'value' // Second line of input starts with a tab character. // So, it has empty key and the whole line as value. // Third line of input does not have any tab character. // So, the whole line is the key and value is empty.
0
// First line of input has 'key' 'tab' 'value' // Second line of input starts with a tab character. // So, it has empty key and the whole line as value. // Third line of input does not have any tab character. // So, the whole line is the key and value is empty. | TestStreamingKeyValue.java
[ 0, 0, 0, 0, 0, 0, 1 ]
4,303
TestStreamingKeyValue.java
// During tests, the default Configuration will use a local mapred // So don't specify -config or -cluster
0
// During tests, the default Configuration will use a local mapred // So don't specify -config or -cluster | TestStreamingKeyValue.java
[ 0, 0, 0, 0, 0, 0, 1 ]
4,304
TestStreamingKeyValue.java
* Run the job with the indicating the input format key should be emitted.
0
* Run the job with the indicating the input format key should be emitted. | TestStreamingKeyValue.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,305
TestStreamingKeyValue.java
* Run the job the default way (the input format key is not emitted).
0
* Run the job the default way (the input format key is not emitted). | TestStreamingKeyValue.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,306
CustomProgressBarElement.java
@since 7.5.6
0
@since 7.5.6 | CustomProgressBarElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,307
CustomProgressBarElement.java
@param indicator * @param string
0
@param indicator * @param string | CustomProgressBarElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,310
IASTSimpleDeclSpecifier.java
* This represents a declaration specifier for a built-in type.
0
* This represents a declaration specifier for a built-in type. | IASTSimpleDeclSpecifier.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,312
IASTSimpleDeclSpecifier.java
* @noimplement This interface is not intended to be implemented by clients.
0
* @noimplement This interface is not intended to be implemented by clients. | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,314
IASTSimpleDeclSpecifier.java
Used for omitted declaration specifiers. E.g. for declaration of constructors, * or in plain c, where this defaults to an integer.
0
Used for omitted declaration specifiers. E.g. for declaration of constructors, * or in plain c, where this defaults to an integer. | IASTSimpleDeclSpecifier.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,322
IASTSimpleDeclSpecifier.java
* @since 5.5
0
* @since 5.5 | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,323
IASTSimpleDeclSpecifier.java
* @since 5.5
0
* @since 5.5 | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,324
IASTSimpleDeclSpecifier.java
* @since 5.10
0
* @since 5.10 | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,325
IASTSimpleDeclSpecifier.java
* @since 5.10
0
* @since 5.10 | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,326
IASTSimpleDeclSpecifier.java
* @since 5.10
0
* @since 5.10 | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,327
IASTSimpleDeclSpecifier.java
* @since 5.1
0
* @since 5.1 | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,337
IASTSimpleDeclSpecifier.java
* @deprecated all constants must be defined in this interface
0
* @deprecated all constants must be defined in this interface | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 0, 0, 1, 0 ]
4,338
IASTSimpleDeclSpecifier.java
// used only in subclasses
0
// used only in subclasses | IASTSimpleDeclSpecifier.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,339
IASTSimpleDeclSpecifier.java
* Not allowed on frozen ast.
0
* Not allowed on frozen ast. | IASTSimpleDeclSpecifier.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,340
IASTSimpleDeclSpecifier.java
* Not allowed on frozen ast.
0
* Not allowed on frozen ast. | IASTSimpleDeclSpecifier.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,341
IASTSimpleDeclSpecifier.java
* Not allowed on frozen ast.
0
* Not allowed on frozen ast. | IASTSimpleDeclSpecifier.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,342
IASTSimpleDeclSpecifier.java
* Not allowed on frozen ast.
0
* Not allowed on frozen ast. | IASTSimpleDeclSpecifier.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,343
IASTSimpleDeclSpecifier.java
* Not allowed on frozen ast.
0
* Not allowed on frozen ast. | IASTSimpleDeclSpecifier.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,344
IASTSimpleDeclSpecifier.java
* Not allowed on frozen ast.
0
* Not allowed on frozen ast. | IASTSimpleDeclSpecifier.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,345
IASTSimpleDeclSpecifier.java
@link IASTSimpleDeclSpecifier#t_decltype
0
@link IASTSimpleDeclSpecifier#t_decltype | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,346
IASTSimpleDeclSpecifier.java
@link IASTSimpleDeclSpecifier#t_typeof
0
@link IASTSimpleDeclSpecifier#t_typeof | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,347
IASTSimpleDeclSpecifier.java
@see #getType()
0
@see #getType() | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,348
IASTSimpleDeclSpecifier.java
@link IBasicType.Kind
0
@link IBasicType.Kind | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,349
IASTSimpleDeclSpecifier.java
@see #isSigned()
0
@see #isSigned() | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,350
IASTSimpleDeclSpecifier.java
@see #isUnsigned()
0
@see #isUnsigned() | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,351
IASTSimpleDeclSpecifier.java
@see #isShort()
0
@see #isShort() | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,352
IASTSimpleDeclSpecifier.java
@see #isLong()
0
@see #isLong() | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,353
IASTSimpleDeclSpecifier.java
@see #isLongLong()
0
@see #isLongLong() | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,354
IASTSimpleDeclSpecifier.java
@see #isComplex()
0
@see #isComplex() | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,355
IASTSimpleDeclSpecifier.java
@see #isImaginary()
0
@see #isImaginary() | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,356
IASTSimpleDeclSpecifier.java
@see #getDeclTypeExpression()
0
@see #getDeclTypeExpression() | IASTSimpleDeclSpecifier.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,357
TestUTF8.java
/** Unit tests for UTF8. */
0
/** Unit tests for UTF8. */ | TestUTF8.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,358
TestUTF8.java
// generate a random string
0
// generate a random string | TestUTF8.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,359
TestUTF8.java
// Check that the bytes are stored correctly in Modified-UTF8 format. // Note that the DataInput and DataOutput interfaces convert between // bytes and Strings using the Modified-UTF8 format.
0
// Check that the bytes are stored correctly in Modified-UTF8 format. // Note that the DataInput and DataOutput interfaces convert between // bytes and Strings using the Modified-UTF8 format. | TestUTF8.java
[ 0, 0, 1, 0, 0, 0, 0 ]
4,360
TestUTF8.java
// generate a random string
0
// generate a random string | TestUTF8.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,361
TestUTF8.java
// write it
0
// write it | TestUTF8.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,362
TestUTF8.java
// test that it reads correctly
0
// test that it reads correctly | TestUTF8.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,363
TestUTF8.java
// test that it reads correctly with DataInput
0
// test that it reads correctly with DataInput | TestUTF8.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,364
TestUTF8.java
* Test encoding and decoding of UTF8 outside the basic multilingual plane.
0
* Test encoding and decoding of UTF8 outside the basic multilingual plane. | TestUTF8.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,365
TestUTF8.java
* This is a regression test for HADOOP-9103.
0
* This is a regression test for HADOOP-9103. | TestUTF8.java
[ 0, 0, 0, 0, 0, 0, 1 ]
4,366
TestUTF8.java
See http://www.fileformat.info/info/unicode/char/1f431/index.htm
0
See http://www.fileformat.info/info/unicode/char/1f431/index.htm | TestUTF8.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,367
TestUTF8.java
// Test using the "CAT FACE" character (U+1F431)
0
// Test using the "CAT FACE" character (U+1F431) | TestUTF8.java
[ 0, 0, 1, 0, 0, 0, 0 ]
4,368
TestUTF8.java
// This encodes to 4 bytes in UTF-8:
0
// This encodes to 4 bytes in UTF-8: | TestUTF8.java
[ 1, 0, 0, 0, 0, 0, 0 ]