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
7,924
TreeRangeMap.java
// we know ( [ )
0
// we know ( [ ) | TreeRangeMap.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,925
TreeRangeMap.java
// we know ( [ ] ), so insert the range ] ) back into the map -- // it's being split apart
0
// we know ( [ ] ), so insert the range ] ) back into the map -- // it's being split apart | TreeRangeMap.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,926
TreeRangeMap.java
// overwrite mapEntryToTruncateBelow with a truncated range
0
// overwrite mapEntryToTruncateBelow with a truncated range | TreeRangeMap.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,927
TreeRangeMap.java
// we know ( ]
0
// we know ( ] | TreeRangeMap.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,928
TreeRangeMap.java
// we know ( ] ), and since we dealt with truncating below already, // we know [ ( ] )
0
// we know ( ] ), and since we dealt with truncating below already, // we know [ ( ] ) | TreeRangeMap.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,929
TreeRangeMap.java
// it's safe to upcast iterables
0
// it's safe to upcast iterables | TreeRangeMap.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,930
TreeRangeMap.java
// we catch ClassCastExceptions
0
// we catch ClassCastExceptions | TreeRangeMap.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,931
TreeRangeMap.java
// r could be truncated on the left
0
// r could be truncated on the left | TreeRangeMap.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,932
TreeRangeMap.java
// it's definitely in the map, so safe
0
// it's definitely in the map, so safe | TreeRangeMap.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,933
TreeRangeMap.java
// this might not be true e.g. at the start of the iteration
0
// this might not be true e.g. at the start of the iteration | TreeRangeMap.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,934
TestChecksumFileSystem.java
// Exercise some boundary cases - a divisor of the chunk size // the chunk size, 2x chunk size, and +/-1 around these.
0
// Exercise some boundary cases - a divisor of the chunk size // the chunk size, 2x chunk size, and +/-1 around these. | TestChecksumFileSystem.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,935
TestChecksumFileSystem.java
//copying the wrong checksum file
0
//copying the wrong checksum file | TestChecksumFileSystem.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,936
TestChecksumFileSystem.java
//now setting verify false, the read should succeed
0
//now setting verify false, the read should succeed | TestChecksumFileSystem.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,937
TestChecksumFileSystem.java
// Exercise some boundary cases - a divisor of the chunk size // the chunk size, 2x chunk size, and +/-1 around these.
0
// Exercise some boundary cases - a divisor of the chunk size // the chunk size, 2x chunk size, and +/-1 around these. | TestChecksumFileSystem.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,938
TestChecksumFileSystem.java
Test to ensure that if the checksum file is truncated, a * ChecksumException is thrown
0
Test to ensure that if the checksum file is truncated, a * ChecksumException is thrown | TestChecksumFileSystem.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,939
TestChecksumFileSystem.java
// Read in the checksum
0
// Read in the checksum | TestChecksumFileSystem.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,940
TestChecksumFileSystem.java
// Now rewrite the checksum file with the last byte missing
0
// Now rewrite the checksum file with the last byte missing | TestChecksumFileSystem.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,941
TestChecksumFileSystem.java
// Now reading the file should fail with a ChecksumException
0
// Now reading the file should fail with a ChecksumException | TestChecksumFileSystem.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,942
TestChecksumFileSystem.java
// telling it not to verify checksums, should avoid issue.
0
// telling it not to verify checksums, should avoid issue. | TestChecksumFileSystem.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,943
TestChecksumFileSystem.java
// write a file to generate checksum
0
// write a file to generate checksum | TestChecksumFileSystem.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,944
TestChecksumFileSystem.java
// alter file directly so checksum is invalid
0
// alter file directly so checksum is invalid | TestChecksumFileSystem.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,945
TestChecksumFileSystem.java
// checksum didn't change on disk
0
// checksum didn't change on disk | TestChecksumFileSystem.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,946
TestChecksumFileSystem.java
// ensure file + checksum are moved
0
// ensure file + checksum are moved | TestChecksumFileSystem.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,947
TestChecksumFileSystem.java
// create a file with no checksum, rename, ensure dst checksum is removed
0
// create a file with no checksum, rename, ensure dst checksum is removed | TestChecksumFileSystem.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,948
TestChecksumFileSystem.java
// create file with checksum, rename over prior dst with no checksum
0
// create file with checksum, rename over prior dst with no checksum | TestChecksumFileSystem.java
[ 1, 0, 0, 0, 0, 0, 0 ]
7,949
AutoconfM4WordDetector.java
Contributors: * Red Hat Incorporated - initial API and implementation
0
Contributors: * Red Hat Incorporated - initial API and implementation | AutoconfM4WordDetector.java
[ 0, 1, 0, 0, 0, 0, 0 ]
7,951
ICElement.java
@code getChildren
0
@code getChildren | ICElement.java
[ 0, 0, 0, 0, 1, 0, 0 ]
7,958
ICElement.java
@see CoreModel#create(java.lang.String)
0
@see CoreModel#create(java.lang.String) | ICElement.java
[ 0, 0, 0, 0, 1, 0, 0 ]
7,964
ICElement.java
@link ICElement
0
@link ICElement | ICElement.java
[ 0, 0, 0, 0, 1, 0, 0 ]
7,968
ICElement.java
@link IMethodDeclaration#isFriend()
0
@link IMethodDeclaration#isFriend() | ICElement.java
[ 0, 0, 0, 0, 1, 0, 0 ]
7,969
ICElement.java
@link IMember#getVisibility()
0
@link IMember#getVisibility() | ICElement.java
[ 0, 0, 0, 0, 1, 0, 0 ]
7,970
ICElement.java
@link IMember#getVisibility()
0
@link IMember#getVisibility() | ICElement.java
[ 0, 0, 0, 0, 1, 0, 0 ]
7,971
ICElement.java
@link IMember#getVisibility()
0
@link IMember#getVisibility() | ICElement.java
[ 0, 0, 0, 0, 1, 0, 0 ]
7,972
ICElement.java
@link IDeclaration#isStatic()
0
@link IDeclaration#isStatic() | ICElement.java
[ 0, 0, 0, 0, 1, 0, 0 ]
7,973
ICElement.java
@link IMethodDeclaration#isDestructor()
0
@link IMethodDeclaration#isDestructor() | ICElement.java
[ 0, 0, 0, 0, 1, 0, 0 ]
7,974
ICElement.java
@link IMethodDeclaration#isConstructor()
0
@link IMethodDeclaration#isConstructor() | ICElement.java
[ 0, 0, 0, 0, 1, 0, 0 ]
7,975
ICElement.java
Contributors: * QNX Software Systems - Initial API and implementation * Markus Schorn (Wind River Systems) * Anton Leherbauer (Wind River Systems)
0
Contributors: * QNX Software Systems - Initial API and implementation * Markus Schorn (Wind River Systems) * Anton Leherbauer (Wind River Systems) | ICElement.java
[ 0, 1, 0, 0, 0, 0, 0 ]
7,976
ICElement.java
* @noextend This interface is not intended to be extended by clients.
0
* @noextend This interface is not intended to be extended by clients. | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,977
ICElement.java
* @noimplement This interface is not intended to be implemented by clients.
0
* @noimplement This interface is not intended to be implemented by clients. | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,978
ICElement.java
/** @since 5.6 */
0
/** @since 5.6 */ | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,979
ICElement.java
* @since 5.0
0
* @since 5.0 | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,980
ICElement.java
* @return {@code true} if this element exists in the C model
0
* @return {@code true} if this element exists in the C model | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,981
ICElement.java
* @param ancestorType the given type
0
* @param ancestorType the given type | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,982
ICElement.java
@return the first ancestor of this C element that has the given type, {@code null} if no such * an ancestor can be found
0
@return the first ancestor of this C element that has the given type, {@code null} if no such * an ancestor can be found | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,983
ICElement.java
* @since 2.0
0
* @since 2.0 | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,984
ICElement.java
* @return the element name
0
* @return the element name | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,985
ICElement.java
* @return the kind of element; one of the constants declared in {@link ICElement}
0
* @return the kind of element; one of the constants declared in {@link ICElement} | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,986
ICElement.java
* @return the C model
0
* @return the C model | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,987
ICElement.java
@return the containing C project, or {@code null} if this element is * not contained in a C project
0
@return the containing C project, or {@code null} if this element is * not contained in a C project | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,988
ICElement.java
* @return the parent element, or {@code null} if this element has no parent
0
* @return the parent element, or {@code null} if this element has no parent | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,990
ICElement.java
* @since 5.0
0
* @since 5.0 | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,991
ICElement.java
* @return the URI corresponding to the location
0
* @return the URI corresponding to the location | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,992
ICElement.java
* @return the underlying resource, or {@code null} if none
0
* @return the underlying resource, or {@code null} if none | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,993
ICElement.java
* @return the corresponding resource, or {@code null} if none
0
* @return the corresponding resource, or {@code null} if none | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,994
ICElement.java
* @return {@code true} if this element is read-only
0
* @return {@code true} if this element is read-only | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,995
ICElement.java
* @return {@code true} if the structure of this element is known
0
* @return {@code true} if the structure of this element is known | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,996
ICElement.java
* @param visitor
0
* @param visitor | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,997
ICElement.java
* @return the string handle identifier, or {@code null} if the element type is not supported
0
* @return the string handle identifier, or {@code null} if the element type is not supported | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,998
ICElement.java
* @since 5.0
0
* @since 5.0 | ICElement.java
[ 0, 0, 0, 1, 0, 0, 0 ]
7,999
ICElement.java
* @deprecated use {@link IMethodDeclaration#isFriend()}
0
* @deprecated use {@link IMethodDeclaration#isFriend()} | ICElement.java
[ 0, 0, 0, 0, 0, 1, 0 ]
8,000
ICElement.java
* @deprecated use {@link IMember#getVisibility()}
0
* @deprecated use {@link IMember#getVisibility()} | ICElement.java
[ 0, 0, 0, 0, 0, 1, 0 ]
8,001
ICElement.java
* @deprecated use {@link IMember#getVisibility()}
0
* @deprecated use {@link IMember#getVisibility()} | ICElement.java
[ 0, 0, 0, 0, 0, 1, 0 ]
8,002
ICElement.java
* @deprecated use {@link IMember#getVisibility()}
0
* @deprecated use {@link IMember#getVisibility()} | ICElement.java
[ 0, 0, 0, 0, 0, 1, 0 ]
8,003
ICElement.java
* @deprecated not used anymore
0
* @deprecated not used anymore | ICElement.java
[ 0, 0, 0, 0, 0, 1, 0 ]
8,004
ICElement.java
* @deprecated use {@link IDeclaration#isStatic()}
0
* @deprecated use {@link IDeclaration#isStatic()} | ICElement.java
[ 0, 0, 0, 0, 0, 1, 0 ]
8,005
ICElement.java
* @deprecated use {@link IMethodDeclaration#isDestructor()}
0
* @deprecated use {@link IMethodDeclaration#isDestructor()} | ICElement.java
[ 0, 0, 0, 0, 0, 1, 0 ]
8,006
ICElement.java
* @deprecated use {@link IMethodDeclaration#isConstructor()}
0
* @deprecated use {@link IMethodDeclaration#isConstructor()} | ICElement.java
[ 0, 0, 0, 0, 0, 1, 0 ]
8,007
ICElement.java
* Common protocol for all elements provided by the C model.
0
* Common protocol for all elements provided by the C model. | ICElement.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,008
ICElement.java
/** * IResource from 10-20 */
0
/** * IResource from 10-20 */ | ICElement.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,009
ICElement.java
/** * Constant representing a C Root workspace (IWorkspaceRoot object). * A C element with this type can be safely cast to <code>ICModel</code>. */
0
/** * Constant representing a C Root workspace (IWorkspaceRoot object). * A C element with this type can be safely cast to <code>ICModel</code>. */ | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,010
ICElement.java
/** * Constant representing a C project (IProject object). * A C element with this type can be safely cast to <code>ICProject</code>. */
0
/** * Constant representing a C project (IProject object). * A C element with this type can be safely cast to <code>ICProject</code>. */ | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,011
ICElement.java
/** * Constant representing a folder (ICContainer object). * A C element with this type can be safely cast to <code>ICContainer</code>. */
0
/** * Constant representing a folder (ICContainer object). * A C element with this type can be safely cast to <code>ICContainer</code>. */ | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,012
ICElement.java
* Virtual container serving as a place holder.
0
* Virtual container serving as a place holder. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,013
ICElement.java
* Constant representing a C/C++ children of a Translation Unit
0
* Constant representing a C/C++ children of a Translation Unit | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,014
ICElement.java
Declaration of a class without the definition. * class C;
0
Declaration of a class without the definition. * class C; | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,015
ICElement.java
* Declaration of a structure without the definition. * struct C;
0
* Declaration of a structure without the definition. * struct C; | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,016
ICElement.java
* Constant representing a struct structure.
0
* Constant representing a struct structure. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,017
ICElement.java
* * Declaration of a union without the definition. * struct C;
0
* * Declaration of a union without the definition. * struct C; | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,018
ICElement.java
* Constant representing a union structure.
0
* Constant representing a union structure. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,019
ICElement.java
* A method definition part of a structure(class, struct, union).
0
* A method definition part of a structure(class, struct, union). | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,020
ICElement.java
* A method declaration part of a structure(class, struct, union).
0
* A method declaration part of a structure(class, struct, union). | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,021
ICElement.java
* A Field definition part of a structure(class, struct, union).
0
* A Field definition part of a structure(class, struct, union). | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,022
ICElement.java
* a C/C++ function prototype.
0
* a C/C++ function prototype. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,023
ICElement.java
* a C/C++ function definition.
0
* a C/C++ function definition. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,024
ICElement.java
* Preprocessor #include directive.
0
* Preprocessor #include directive. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,025
ICElement.java
* C++ template class declaration without a definition.
0
* C++ template class declaration without a definition. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,026
ICElement.java
* C++ template class with definition.
0
* C++ template class with definition. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,027
ICElement.java
* C++ template struct.
0
* C++ template struct. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,028
ICElement.java
* C++ template struct.
0
* C++ template struct. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,029
ICElement.java
* C++ template union.
0
* C++ template union. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,030
ICElement.java
* C++ template union.
0
* C++ template union. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,031
ICElement.java
* C++ template function declaration.
0
* C++ template function declaration. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,032
ICElement.java
* C++ template function.
0
* C++ template function. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,033
ICElement.java
* C++ template method.
0
* C++ template method. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,034
ICElement.java
* C++ template method.
0
* C++ template method. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,035
ICElement.java
* C++ template variable.
0
* C++ template variable. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,036
ICElement.java
/** * An unknown ICElement. Mainly used to determine what elements are not yet implemented. * i.e. the new DOM Parser supports open declaration on labels, while the old parser did not */
0
/** * An unknown ICElement. Mainly used to determine what elements are not yet implemented. * i.e. the new DOM Parser supports open declaration on labels, while the old parser did not */ | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,037
ICElement.java
/** * Returns the path to the innermost resource enclosing this element. * If this element is not included in an external archive, * the path returned is the full, absolute path to the underlying resource, * relative to the workbench. * If this element is included in an external archive, * the path returned is the absolute path to the archive in the file system. * This is a handle-only method. */
0
/** * Returns the path to the innermost resource enclosing this element. * If this element is not included in an external archive, * the path returned is the full, absolute path to the underlying resource, * relative to the workbench. * If this element is included in an external archive, * the path returned is the absolute path to the archive in the file system. * This is a handle-only method. */ | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,038
ICElement.java
/** * Returns whether the structure of this element is known. For example, for a * translation unit that could not be parsed, {@code false} is returned. * If the structure of an element is unknown, navigations will return reasonable * defaults. For example, {@code getChildren} will return an empty collection. * <p> * Note: This does not imply anything about consistency with the * underlying resource/buffer contents.
0
/** * Returns whether the structure of this element is known. For example, for a * translation unit that could not be parsed, {@code false} is returned. * If the structure of an element is unknown, navigations will return reasonable * defaults. For example, {@code getChildren} will return an empty collection. * <p> * Note: This does not imply anything about consistency with the * underlying resource/buffer contents. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,039
ICElement.java
/** * Returns a string representation of this element handle. The format of the * string is not specified; however, the identifier is stable across * workspace sessions, and can be used to recreate this handle via the * <code>CoreModel.create(String)</code> method. * <p> * Some element types, like binaries, do not support handle identifiers and * return {@code null}.
0
/** * Returns a string representation of this element handle. The format of the * string is not specified; however, the identifier is stable across * workspace sessions, and can be used to recreate this handle via the * <code>CoreModel.create(String)</code> method. * <p> * Some element types, like binaries, do not support handle identifiers and * return {@code null}. | ICElement.java
[ 0, 0, 1, 0, 0, 0, 0 ]