index
int64
1
10.7k
class
stringclasses
782 values
comment_sentence
stringlengths
1
1.78k
partition
int64
0
0
combo
stringlengths
17
1.81k
labels
listlengths
7
7
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,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,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,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,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,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,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,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,718
IndentAction.java
* @param partition the comment partition
0
* @param partition the comment partition | 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,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,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,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,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,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,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,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,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,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,769
IndentAction.java
// only change the document if it is a real change
0
// only change the document if it is a real change | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,770
IndentAction.java
// set the caret offset so it can be used when setting the selection
0
// set the caret offset so it can be used when setting the selection | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,773
IndentAction.java
// standard C code indentation
0
// standard C code indentation | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,774
IndentAction.java
// line comment starting at position 0 -> indent inside
0
// line comment starting at position 0 -> indent inside | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,775
IndentAction.java
// where we start searching for non-WS; after the "//" in single line comments
0
// where we start searching for non-WS; after the "//" in single line comments | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,776
IndentAction.java
Indents a single line using the heuristic scanner. Multiline comments are * indented as specified by the <code>CCommentAutoIndentStrategy</code>.
0
Indents a single line using the heuristic scanner. Multiline comments are * indented as specified by the <code>CCommentAutoIndentStrategy</code>. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,777
IndentAction.java
// this is too intrusive, but will never get called anyway
0
// this is too intrusive, but will never get called anyway | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,778
IndentAction.java
* Selects the given range on the editor.
0
* Selects the given range on the editor. | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,780
IndentAction.java
always reset the selection if anything was replaced // but not when we had a single line non-tab invocation
0
always reset the selection if anything was replaced // but not when we had a single line non-tab invocation | IndentAction.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,781
TestLossyRetryInvocationHandler.java
@link HdfsClientConfigKeys#DFS_CLIENT_TEST_DROP_NAMENODE_RESPONSE_NUM_KEY
0
@link HdfsClientConfigKeys#DFS_CLIENT_TEST_DROP_NAMENODE_RESPONSE_NUM_KEY | TestLossyRetryInvocationHandler.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,782
TestLossyRetryInvocationHandler.java
This test makes sure that when * {@link HdfsClientConfigKeys#DFS_CLIENT_TEST_DROP_NAMENODE_RESPONSE_NUM_KEY} is set, * DFSClient instances can still be created within NN/DN (e.g., the fs instance * used by the trash emptier thread in NN)
0
This test makes sure that when * {@link HdfsClientConfigKeys#DFS_CLIENT_TEST_DROP_NAMENODE_RESPONSE_NUM_KEY} is set, * DFSClient instances can still be created within NN/DN (e.g., the fs instance * used by the trash emptier thread in NN) | TestLossyRetryInvocationHandler.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,783
TestLossyRetryInvocationHandler.java
// enable both trash emptier and dropping response
0
// enable both trash emptier and dropping response | TestLossyRetryInvocationHandler.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,784
CSourcePreviewerUpdater.java
Contributors: * QNX Software Systems - Initial API and implementation * Anton Leherbauer (Wind River Systems)
0
Contributors: * QNX Software Systems - Initial API and implementation * Anton Leherbauer (Wind River Systems) | CSourcePreviewerUpdater.java
[ 0, 1, 0, 0, 0, 0, 0 ]
6,786
CSourcePreviewerUpdater.java
* Registers a source preview updater for the given viewer, configuration and preference store.
0
* Registers a source preview updater for the given viewer, configuration and preference store. | CSourcePreviewerUpdater.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,787
CSourcePreviewerUpdater.java
* @param viewer the viewer
0
* @param viewer the viewer | CSourcePreviewerUpdater.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,788
CSourcePreviewerUpdater.java
* @param configuration the configuration
0
* @param configuration the configuration | CSourcePreviewerUpdater.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,789
CSourcePreviewerUpdater.java
* @param preferenceStore the preference store
0
* @param preferenceStore the preference store | CSourcePreviewerUpdater.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,790
CSourcePreviewerUpdater.java
* @param viewer
0
* @param viewer | CSourcePreviewerUpdater.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,791
CSourcePreviewerUpdater.java
* @param configuration
0
* @param configuration | CSourcePreviewerUpdater.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,792
CSourcePreviewerUpdater.java
* @param store
0
* @param store | CSourcePreviewerUpdater.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,794
CSourcePreviewerUpdater.java
* @see org.eclipse.jface.util.IPropertyChangeListener#propertyChange(org.eclipse.jface.util.PropertyChangeEvent)
0
* @see org.eclipse.jface.util.IPropertyChangeListener#propertyChange(org.eclipse.jface.util.PropertyChangeEvent) | CSourcePreviewerUpdater.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,795
CSourcePreviewerUpdater.java
* @see org.eclipse.swt.events.DisposeListener#widgetDisposed(org.eclipse.swt.events.DisposeEvent)
0
* @see org.eclipse.swt.events.DisposeListener#widgetDisposed(org.eclipse.swt.events.DisposeEvent) | CSourcePreviewerUpdater.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,798
ValueAggregator.java
* reset the aggregator
0
* reset the aggregator | ValueAggregator.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,799
ValueAggregator.java
* @param val the value to be added
0
* @param val the value to be added | ValueAggregator.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,800
ValueAggregator.java
* @return the string representation of the agregator
0
* @return the string representation of the agregator | ValueAggregator.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,801
ValueAggregator.java
* @return an array of values as the outputs of the combiner.
0
* @return an array of values as the outputs of the combiner. | ValueAggregator.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,802
CPathContainerWizard.java
Contributors: * QNX Software Systems - initial API and implementation
0
Contributors: * QNX Software Systems - initial API and implementation | CPathContainerWizard.java
[ 0, 1, 0, 0, 0, 0, 0 ]
6,803
CPathContainerWizard.java
@deprecated as of CDT 4.0. This wizard was used in property pages * for 3.X style projects.
0
@deprecated as of CDT 4.0. This wizard was used in property pages * for 3.X style projects. | CPathContainerWizard.java
[ 0, 0, 0, 0, 0, 1, 0 ]
6,804
CPathContainerWizard.java
@see IWizard#performFinish()
0
@see IWizard#performFinish() | CPathContainerWizard.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,805
CPathContainerWizard.java
@see IWizard#addPages()
0
@see IWizard#addPages() | CPathContainerWizard.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,806
CPathContainerWizard.java
@see IWizard#getNextPage(IWizardPage)
0
@see IWizard#getNextPage(IWizardPage) | CPathContainerWizard.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,807
CPathContainerWizard.java
@see IWizard#canFinish()
0
@see IWizard#canFinish() | CPathContainerWizard.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,808
CPathContainerWizard.java
Constructor for ClasspathContainerWizard.
0
Constructor for ClasspathContainerWizard. | CPathContainerWizard.java
[ 1, 0, 0, 0, 0, 0, 0 ]