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
6,666
MakeTargetTransferDropTargetListener.java
* Constructor setting a viewer such as TreeViewer to pull selection from later on.
0
* Constructor setting a viewer such as TreeViewer to pull selection from later on. | MakeTargetTransferDropTargetListener.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,667
MakeTargetTransferDropTargetListener.java
{@code MakeTargetTransferDropTargetListener} handles drop of make targets * onto Make Target View. {@link MakeTargetTransfer} is used as the transfer agent and * provides for drag/drop and copy/paste between different eclipse sessions.
0
{@code MakeTargetTransferDropTargetListener} handles drop of make targets * onto Make Target View. {@link MakeTargetTransfer} is used as the transfer agent and * provides for drag/drop and copy/paste between different eclipse sessions. | MakeTargetTransferDropTargetListener.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,669
ManagedBuildCommandLineInfo.java
* Command line info for use with ManagedBuildCommandLineGenerator
0
* Command line info for use with ManagedBuildCommandLineGenerator | ManagedBuildCommandLineInfo.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,670
ManagedBuildCommandLineInfo.java
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getOutputPrefix()
0
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getOutputPrefix() | ManagedBuildCommandLineInfo.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,671
ManagedBuildCommandLineInfo.java
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getOutputFlag()
0
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getOutputFlag() | ManagedBuildCommandLineInfo.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,672
ManagedBuildCommandLineInfo.java
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getOutput()
0
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getOutput() | ManagedBuildCommandLineInfo.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,673
ManagedBuildCommandLineInfo.java
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getInputs()
0
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getInputs() | ManagedBuildCommandLineInfo.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,674
ManagedBuildCommandLineInfo.java
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getFlags()
0
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getFlags() | ManagedBuildCommandLineInfo.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,675
ManagedBuildCommandLineInfo.java
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getCommandName()
0
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getCommandName() | ManagedBuildCommandLineInfo.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,676
ManagedBuildCommandLineInfo.java
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getCommandLine()
0
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getCommandLine() | ManagedBuildCommandLineInfo.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,677
ManagedBuildCommandLineInfo.java
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getCommandLinePattern()
0
@see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getCommandLinePattern() | ManagedBuildCommandLineInfo.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,678
LoggingUtils.java
Contributors: * Freescale Semiconductor - initial API and implementation
0
Contributors: * Freescale Semiconductor - initial API and implementation | LoggingUtils.java
[ 0, 1, 0, 0, 0, 0, 0 ]
6,680
LoggingUtils.java
Some general purpose functions that can be useful for logging/tracing * activities. This is a duplicate of LoggingUtils in * org.eclipse.cdt.internal.core. The idea is for core parts of DSF (ones that * don't have debug in package name) to have very limited dependencies on other * plugins.
0
Some general purpose functions that can be useful for logging/tracing * activities. This is a duplicate of LoggingUtils in * org.eclipse.cdt.internal.core. The idea is for core parts of DSF (ones that * don't have debug in package name) to have very limited dependencies on other * plugins. | LoggingUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,681
LoggingUtils.java
Return a string that uniquely identifies a Java object reference, in the * form "classname@id", where 'classname' is the simple or package qualified * name of the object's class, and 'id' is the hash code.
0
Return a string that uniquely identifies a Java object reference, in the * form "classname@id", where 'classname' is the simple or package qualified * name of the object's class, and 'id' is the hash code. | LoggingUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,682
LoggingUtils.java
Why not just use obj.toString()? That method is often overridden, and so * cannot be relied on for a representation that uniquely identifies the * object in the VM space.
0
Why not just use obj.toString()? That method is often overridden, and so * cannot be relied on for a representation that uniquely identifies the * object in the VM space. | LoggingUtils.java
[ 0, 0, 0, 0, 0, 0, 1 ]
6,683
LoggingUtils.java
@param str * the string
0
@param str * the string | LoggingUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,684
LoggingUtils.java
@return the string without trailing newlines
0
@return the string without trailing newlines | LoggingUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,685
LoggingUtils.java
@param strings * the array of string
0
@param strings * the array of string | LoggingUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,686
LoggingUtils.java
@return the flattened representation
0
@return the flattened representation | LoggingUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,687
LoggingUtils.java
@param obj * the object reference to stringify
0
@param obj * the object reference to stringify | LoggingUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,688
LoggingUtils.java
@param simpleClassName * if true, use the class's simple name, otherwise the package
0
@param simpleClassName * if true, use the class's simple name, otherwise the package | LoggingUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,689
LoggingUtils.java
@return the stringified representation of the object reference
0
@return the stringified representation of the object reference | LoggingUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,690
LoggingUtils.java
* Equivalent to toString(obj, false)
0
* Equivalent to toString(obj, false) | LoggingUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,691
LoggingUtils.java
Flatten out an array of strings into one string, in the form * "{s1, s2, s3, ...}"
0
Flatten out an array of strings into one string, in the form * "{s1, s2, s3, ...}" | LoggingUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,692
LoggingUtils.java
// remove the trailing comma and space
0
// remove the trailing comma and space | LoggingUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,693
LoggingUtils.java
/** * General string utility for removing newline and space character from the * end of a string. Typically used when logging an object's toString() *
0
/** * General string utility for removing newline and space character from the * end of a string. Typically used when logging an object's toString() * | LoggingUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,695
IndentAction.java
@see org.eclipse.cdt.internal.ui.text.CHeuristicScanner
0
@see org.eclipse.cdt.internal.ui.text.CHeuristicScanner | IndentAction.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,696
IndentAction.java
@see org.eclipse.cdt.internal.ui.text.CIndenter
0
@see org.eclipse.cdt.internal.ui.text.CIndenter | IndentAction.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,697
IndentAction.java
* @return the current selection, never <code>null</code>
0
* @return the current selection, never <code>null</code> | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,698
IndentAction.java
* @return the current document or <code>null</code>
0
* @return the current document or <code>null</code> | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,699
IndentAction.java
* @return <code>true</code> if smart mode is on, <code>false</code> otherwise
0
* @return <code>true</code> if smart mode is on, <code>false</code> otherwise | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,700
IndentAction.java
* @return <code>true</code> if the selection is valid for an indent operation
0
* @return <code>true</code> if the selection is valid for an indent operation | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,701
IndentAction.java
* @return the editor's selection provider or <code>null</code>
0
* @return the editor's selection provider or <code>null</code> | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,702
IndentAction.java
@see org.eclipse.ui.texteditor.IUpdate#update()
0
@see org.eclipse.ui.texteditor.IUpdate#update() | IndentAction.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,703
IndentAction.java
@return the <code>ICProject</code> of the current editor input, or * <code>null</code> if it cannot be found
0
@return the <code>ICProject</code> of the current editor input, or * <code>null</code> if it cannot be found | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,704
IndentAction.java
* @return the value of the preference
0
* @return the value of the preference | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,705
IndentAction.java
* @param def the default value
0
* @param def the default value | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,706
IndentAction.java
* @param key the key of the preference
0
* @param key the key of the preference | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,707
IndentAction.java
* @return the value of the preference
0
* @return the value of the preference | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,708
IndentAction.java
* @param key the key of the preference
0
* @param key the key of the preference | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,709
IndentAction.java
* @return <code>true</code> if line comments at column 0 should be indented inside, <code>false</code> otherwise.
0
* @return <code>true</code> if line comments at column 0 should be indented inside, <code>false</code> otherwise. | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,710
IndentAction.java
* @return <code>true</code> if empty lines should be indented, <code>false</code> otherwise
0
* @return <code>true</code> if empty lines should be indented, <code>false</code> otherwise | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,711
IndentAction.java
* @return the indent size as defined in the current formatter preferences
0
* @return the indent size as defined in the current formatter preferences | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,712
IndentAction.java
* @return the tab size as defined in the current formatter preferences
0
* @return the tab size as defined in the current formatter preferences | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,713
IndentAction.java
* @return <code>true</code> if tabs and spaces should be used
0
* @return <code>true</code> if tabs and spaces should be used | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,714
IndentAction.java
* @return <code>true</code> if only spaces should be used
0
* @return <code>true</code> if only spaces should be used | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,715
IndentAction.java
* @return the size in characters of a string
0
* @return the size in characters of a string | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,716
IndentAction.java
* @param indent the string to be measured.
0
* @param indent the string to be measured. | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,717
IndentAction.java
* @return the indent, or <code>null</code> if not computable
0
* @return the indent, or <code>null</code> if not computable | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,718
IndentAction.java
* @param partition the comment partition
0
* @param partition the comment partition | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,719
IndentAction.java
* @param line the line in document
0
* @param line the line in document | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,720
IndentAction.java
* @param document the document
0
* @param document the document | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,721
IndentAction.java
* @return the indent, or <code>null</code> if not computable
0
* @return the indent, or <code>null</code> if not computable | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,722
IndentAction.java
* @param partition the comment partition
0
* @param partition the comment partition | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,723
IndentAction.java
* @param line the line in document
0
* @param line the line in document | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,724
IndentAction.java
* @param scanner the scanner
0
* @param scanner the scanner | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,725
IndentAction.java
* @param document the document
0
* @param document the document | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,726
IndentAction.java
* @return string with trailing spaces removed
0
* @return string with trailing spaces removed | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,727
IndentAction.java
* @param indent
0
* @param indent | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,728
IndentAction.java
* @param bundle the resource bundle
0
* @param bundle the resource bundle | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,729
IndentAction.java
* @param prefix the prefix to use for keys in <code>bundle</code>
0
* @param prefix the prefix to use for keys in <code>bundle</code> | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,730
IndentAction.java
* @param editor the text editor
0
* @param editor the text editor | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,731
IndentAction.java
* @param isTabAction whether the action should insert tabs if over the indentation
0
* @param isTabAction whether the action should insert tabs if over the indentation | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,732
IndentAction.java
* @param newOffset the selection offset
0
* @param newOffset the selection offset | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,733
IndentAction.java
* @param newLength the selection range
0
* @param newLength the selection range | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,734
IndentAction.java
* @param document the document
0
* @param document the document | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,735
IndentAction.java
* @param line the line to be indented
0
* @param line the line to be indented | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,736
IndentAction.java
* @param caret the caret position
0
* @param caret the caret position | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,737
IndentAction.java
* @param indenter the indenter
0
* @param indenter the indenter | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,738
IndentAction.java
* @param multiLine <code>true</code> if more than one line is being indented
0
* @param multiLine <code>true</code> if more than one line is being indented | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,739
IndentAction.java
* @param scanner the heuristic scanner
0
* @param scanner the heuristic scanner | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,740
IndentAction.java
* @return <code>true</code> if <code>document</code> was modified, <code>false</code> otherwise
0
* @return <code>true</code> if <code>document</code> was modified, <code>false</code> otherwise | IndentAction.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,741
IndentAction.java
Indents a line or range of lines in a C document to its correct position. No complete * AST must be present, the indentation is computed using heuristics. The algorithm used is fast for * single lines, but does not store any information and therefore not so efficient for large line * ranges.
0
Indents a line or range of lines in a C document to its correct position. No complete * AST must be present, the indentation is computed using heuristics. The algorithm used is fast for * single lines, but does not store any information and therefore not so efficient for large line * ranges. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,742
IndentAction.java
/** The caret offset after an indent operation. */
0
/** The caret offset after an indent operation. */ | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,743
IndentAction.java
Whether this is the action invoked by TAB. When <code>true</code>, indentation behaves * differently to accommodate normal TAB operation.
0
Whether this is the action invoked by TAB. When <code>true</code>, indentation behaves * differently to accommodate normal TAB operation. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,744
IndentAction.java
* Creates a new instance.
0
* Creates a new instance. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,745
IndentAction.java
// Update has been called by the framework
0
// Update has been called by the framework | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,746
IndentAction.java
// check for marginal (zero-length) lines
0
// check for marginal (zero-length) lines | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,747
IndentAction.java
// will only happen on concurrent modification
0
// will only happen on concurrent modification | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,748
IndentAction.java
// update caret position: move to new position when indenting just one line // keep selection when indenting multiple
0
// update caret position: move to new position when indenting just one line // keep selection when indenting multiple | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,749
IndentAction.java
// null object
0
// null object | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,750
IndentAction.java
Returns the selection on the editor or an invalid selection if none can be obtained. Returns * never <code>null</code>.
0
Returns the selection on the editor or an invalid selection if none can be obtained. Returns * never <code>null</code>. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,751
IndentAction.java
Returns the document currently displayed in the editor, or <code>null</code> if none can be * obtained.
0
Returns the document currently displayed in the editor, or <code>null</code> if none can be * obtained. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,752
IndentAction.java
* Returns the smart preference state.
0
* Returns the smart preference state. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,753
IndentAction.java
/ either the selection has to be empty and the caret in the WS at the line start // or the selection has to extend over multiple lines
0
/ either the selection has to be empty and the caret in the WS at the line start // or the selection has to extend over multiple lines | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,754
IndentAction.java
Returns if the current selection is valid, i.e. whether it is empty and the caret in the * whitespace at the start of a line, or covers multiple lines.
0
Returns if the current selection is valid, i.e. whether it is empty and the caret in the * whitespace at the start of a line, or covers multiple lines. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,755
IndentAction.java
* Returns the editor's selection provider.
0
* Returns the editor's selection provider. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,756
IndentAction.java
Returns the <code>ICProject</code> of the current editor input, or * <code>null</code> if it cannot be found.
0
Returns the <code>ICProject</code> of the current editor input, or * <code>null</code> if it cannot be found. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,757
IndentAction.java
Returns the possibly project-specific core preference defined under <code>key</code>, or * <code>def</code> if the value is not a integer. *
0
Returns the possibly project-specific core preference defined under <code>key</code>, or * <code>def</code> if the value is not a integer. * | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,758
IndentAction.java
* Returns the possibly project-specific core preference defined under <code>key</code>.
0
* Returns the possibly project-specific core preference defined under <code>key</code>. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,759
IndentAction.java
* Returns <code>true</code> if line comments at column 0 should be indented inside, <code>false</code> otherwise.
0
* Returns <code>true</code> if line comments at column 0 should be indented inside, <code>false</code> otherwise. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,760
IndentAction.java
* Returns <code>true</code> if empty lines should be indented, <code>false</code> otherwise.
0
* Returns <code>true</code> if empty lines should be indented, <code>false</code> otherwise. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,761
IndentAction.java
Returns the indent size used by the editor, which is deduced from the * formatter preferences.
0
Returns the indent size used by the editor, which is deduced from the * formatter preferences. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,762
IndentAction.java
Returns the tab size used by the editor, which is deduced from the * formatter preferences.
0
Returns the tab size used by the editor, which is deduced from the * formatter preferences. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,763
IndentAction.java
Returns whether mixed tabs/spaces should be used for indentation, depending on the editor and * formatter preferences.
0
Returns whether mixed tabs/spaces should be used for indentation, depending on the editor and * formatter preferences. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,764
IndentAction.java
Returns whether spaces should be used exclusively for indentation, depending on the editor and * formatter preferences.
0
Returns whether spaces should be used exclusively for indentation, depending on the editor and * formatter preferences. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,765
IndentAction.java
Returns the size in characters of a string. All characters count one, tabs count the editor's * preference for the tab display
0
Returns the size in characters of a string. All characters count one, tabs count the editor's * preference for the tab display | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,766
IndentAction.java
* Computes and returns the indentation for a preprocessor line.
0
* Computes and returns the indentation for a preprocessor line. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,767
IndentAction.java
* Computes and returns the indentation for a block comment line.
0
* Computes and returns the indentation for a block comment line. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,768
IndentAction.java
* Strip trailing space characters.
0
* Strip trailing space characters. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]