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
8,779
CfgScannerConfigProfileManagerTests.java
/** * Basic testing of Config based ScannerConfigProfile management. * * This test runs through some of the funcationality used by the DiscoveryTab * @throws CoreException */
0
/** * Basic testing of Config based ScannerConfigProfile management. * * This test runs through some of the funcationality used by the DiscoveryTab * @throws CoreException */ | CfgScannerConfigProfileManagerTests.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,780
CfgScannerConfigProfileManagerTests.java
// Test changing ICfgScannerConfigBuilderInfo2Set settings
0
// Test changing ICfgScannerConfigBuilderInfo2Set settings | CfgScannerConfigProfileManagerTests.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,781
CfgScannerConfigProfileManagerTests.java
// Test changing settings on one of the ScannerConfigBuilderInfos
0
// Test changing settings on one of the ScannerConfigBuilderInfos | CfgScannerConfigProfileManagerTests.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,782
CfgScannerConfigProfileManagerTests.java
// Get all the settings and invert them
0
// Get all the settings and invert them | CfgScannerConfigProfileManagerTests.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,783
CfgScannerConfigProfileManagerTests.java
// Persist the changes
0
// Persist the changes | CfgScannerConfigProfileManagerTests.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,784
CfgScannerConfigProfileManagerTests.java
// Save the project description
0
// Save the project description | CfgScannerConfigProfileManagerTests.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,785
CfgScannerConfigProfileManagerTests.java
// Check that the changes have persisted
0
// Check that the changes have persisted | CfgScannerConfigProfileManagerTests.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,786
CfgScannerConfigProfileManagerTests.java
// Check that the changes have persisted
0
// Check that the changes have persisted | CfgScannerConfigProfileManagerTests.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,787
CfgScannerConfigProfileManagerTests.java
// Test restore defaults
0
// Test restore defaults | CfgScannerConfigProfileManagerTests.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,788
CfgScannerConfigProfileManagerTests.java
// Save the project description
0
// Save the project description | CfgScannerConfigProfileManagerTests.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,789
CfgScannerConfigProfileManagerTests.java
// Check settings are back to original
0
// Check settings are back to original | CfgScannerConfigProfileManagerTests.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,790
NativeCodeLoader.java
@return <code>true</code> if native-hadoop is loaded, * else <code>false</code>
0
@return <code>true</code> if native-hadoop is loaded, * else <code>false</code> | NativeCodeLoader.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,791
NativeCodeLoader.java
* Check if native-hadoop code is loaded for this platform.
0
* Check if native-hadoop code is loaded for this platform. | NativeCodeLoader.java
[ 0, 0, 0, 0, 0, 0, 1 ]
8,792
NativeCodeLoader.java
* Returns true only if this build was compiled with support for snappy.
0
* Returns true only if this build was compiled with support for snappy. | NativeCodeLoader.java
[ 0, 0, 0, 0, 0, 0, 1 ]
8,793
NativeCodeLoader.java
* Returns true only if this build was compiled with support for ISA-L.
0
* Returns true only if this build was compiled with support for ISA-L. | NativeCodeLoader.java
[ 0, 0, 0, 0, 0, 0, 1 ]
8,794
NativeCodeLoader.java
* Returns true only if this build was compiled with support for openssl.
0
* Returns true only if this build was compiled with support for openssl. | NativeCodeLoader.java
[ 0, 0, 0, 0, 0, 0, 1 ]
8,795
NativeCodeLoader.java
/** * A helper to load the native hadoop code i.e. libhadoop.so. * This handles the fallback to either the bundled libhadoop-Linux-i386-32.so * or the default java implementations where appropriate. * */
0
/** * A helper to load the native hadoop code i.e. libhadoop.so. * This handles the fallback to either the bundled libhadoop-Linux-i386-32.so * or the default java implementations where appropriate. * */ | NativeCodeLoader.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,796
NativeCodeLoader.java
// Try to load native hadoop library and set fallback flag appropriately
0
// Try to load native hadoop library and set fallback flag appropriately | NativeCodeLoader.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,797
NativeCodeLoader.java
// Ignore failure to load
0
// Ignore failure to load | NativeCodeLoader.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,798
CPPASTUnaryExpression.java
Contributors: * John Camelon (IBM) - Initial API and implementation * Sergey Prigogin (Google) * Mike Kucera (IBM) * Markus Schorn (Wind River Systems) * Sergey Prigogin (Google)
0
Contributors: * John Camelon (IBM) - Initial API and implementation * Sergey Prigogin (Google) * Mike Kucera (IBM) * Markus Schorn (Wind River Systems) * Sergey Prigogin (Google) | CPPASTUnaryExpression.java
[ 0, 1, 0, 0, 0, 0, 0 ]
8,799
CPPASTUnaryExpression.java
* Unary expression in c++
0
* Unary expression in c++ | CPPASTUnaryExpression.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,800
MulticoreVisualizerThread.java
Contributors: * William R. Swanson (Tilera Corporation) - initial API and implementation * Xavier Raynaud (Kalray) - Bug 431690, 432151, 431935
0
Contributors: * William R. Swanson (Tilera Corporation) - initial API and implementation * Xavier Raynaud (Kalray) - Bug 431690, 432151, 431935 | MulticoreVisualizerThread.java
[ 0, 1, 0, 0, 0, 0, 0 ]
8,801
MulticoreVisualizerThread.java
* MulticoreVisualizer Thread object.
0
* MulticoreVisualizer Thread object. | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,802
MulticoreVisualizerThread.java
/** Thread "pixie" spot width/height */
0
/** Thread "pixie" spot width/height */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,803
MulticoreVisualizerThread.java
/** Minimum containing object size to allow thread to draw itself. */
0
/** Minimum containing object size to allow thread to draw itself. */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,804
MulticoreVisualizerThread.java
/** Parent CPU. */
0
/** Parent CPU. */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,805
MulticoreVisualizerThread.java
/** Visualizer model thread. */
0
/** Visualizer model thread. */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,806
MulticoreVisualizerThread.java
/** Whether this thread is part of a currently selected process. */
0
/** Whether this thread is part of a currently selected process. */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,807
MulticoreVisualizerThread.java
/** Constructor */
0
/** Constructor */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,808
MulticoreVisualizerThread.java
/** Dispose method */
0
/** Dispose method */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,809
MulticoreVisualizerThread.java
/** Gets parent Core. */
0
/** Gets parent Core. */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,810
MulticoreVisualizerThread.java
/** Sets parent Core. */
0
/** Sets parent Core. */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,811
MulticoreVisualizerThread.java
/** Gets thread model object. */
0
/** Gets thread model object. */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,812
MulticoreVisualizerThread.java
/** Gets Process ID. */
0
/** Gets Process ID. */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,813
MulticoreVisualizerThread.java
/** Gets Thread ID. */
0
/** Gets Thread ID. */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,814
MulticoreVisualizerThread.java
/** Gets thread state. */
0
/** Gets thread state. */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,815
MulticoreVisualizerThread.java
/** Sets whether thread's process is selected. */
0
/** Sets whether thread's process is selected. */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,816
MulticoreVisualizerThread.java
/** Gets whether thread's process is selected. */
0
/** Gets whether thread's process is selected. */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,817
MulticoreVisualizerThread.java
/** Gets thread color based on current state. */
0
/** Gets thread color based on current state. */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,818
MulticoreVisualizerThread.java
/** Invoked to allow element to paint itself on the viewer canvas */
0
/** Invoked to allow element to paint itself on the viewer canvas */ | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,819
MulticoreVisualizerThread.java
// draw an alpha-shaded "pixie" light for each thread
0
// draw an alpha-shaded "pixie" light for each thread | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,820
MulticoreVisualizerThread.java
// special case: for the "process" thread, draw an enclosing circle
0
// special case: for the "process" thread, draw an enclosing circle | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,821
MulticoreVisualizerThread.java
// Subtract one from the width and height // in the case of drawOval because that method // adds a pixel to each value for some reason
0
// Subtract one from the width and height // in the case of drawOval because that method // adds a pixel to each value for some reason | MulticoreVisualizerThread.java
[ 0, 0, 1, 0, 0, 0, 0 ]
8,822
MulticoreVisualizerThread.java
// draw text annotations
0
// draw text annotations | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,823
MulticoreVisualizerThread.java
// if it has an associated debugger, add a marker // (for now, every thread is debugged.)
0
// if it has an associated debugger, add a marker // (for now, every thread is debugged.) | MulticoreVisualizerThread.java
[ 0, 0, 0, 0, 0, 0, 1 ]
8,824
MulticoreVisualizerThread.java
// draw TID
0
// draw TID | MulticoreVisualizerThread.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,825
MulticoreVisualizerThread.java
// draw selection marker, if any
0
// draw selection marker, if any | MulticoreVisualizerThread.java
[ 0, 0, 0, 0, 0, 0, 1 ]
8,826
PDOMClassUtil.java
// don't visit the method
0
// don't visit the method | PDOMClassUtil.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,827
PDOMClassUtil.java
* For implementation sharing between PDOMCPPClassType and PDOMCPPClassSpecialization
0
* For implementation sharing between PDOMCPPClassType and PDOMCPPClassSpecialization | PDOMClassUtil.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,828
PDOMClassUtil.java
Contributors: * QNX - Initial API and implementation * Markus Schorn (Wind River Systems)
0
Contributors: * QNX - Initial API and implementation * Markus Schorn (Wind River Systems) | PDOMClassUtil.java
[ 0, 1, 0, 0, 0, 0, 0 ]
8,829
BreakpointVMModelProxyStrategy.java
Contributors: * Wind River Systems - initial API and implementation
0
Contributors: * Wind River Systems - initial API and implementation | BreakpointVMModelProxyStrategy.java
[ 0, 1, 0, 0, 0, 0, 0 ]
8,830
BreakpointVMModelProxyStrategy.java
* @since 2.1
0
* @since 2.1 | BreakpointVMModelProxyStrategy.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,831
BreakpointVMModelProxyStrategy.java
* Breakpoints VM model proxy that includes an ICheckboxModelProxy implementation.
0
* Breakpoints VM model proxy that includes an ICheckboxModelProxy implementation. | BreakpointVMModelProxyStrategy.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,832
Target.java
Contributors: * QNX Software Systems - Initial API and implementation
0
Contributors: * QNX Software Systems - Initial API and implementation | Target.java
[ 0, 1, 0, 0, 0, 0, 0 ]
8,834
CDocumentSetupParticipant.java
* @see org.eclipse.core.filebuffers.IDocumentSetupParticipantExtension#setup(org.eclipse.jface.text.IDocument, org.eclipse.core.runtime.IPath, org.eclipse.core.filebuffers.LocationKind)
0
* @see org.eclipse.core.filebuffers.IDocumentSetupParticipantExtension#setup(org.eclipse.jface.text.IDocument, org.eclipse.core.runtime.IPath, org.eclipse.core.filebuffers.LocationKind) | CDocumentSetupParticipant.java
[ 0, 0, 0, 0, 1, 0, 0 ]
8,835
CDocumentSetupParticipant.java
* @see org.eclipse.core.filebuffers.IDocumentSetupParticipant#setup(org.eclipse.jface.text.IDocument)
0
* @see org.eclipse.core.filebuffers.IDocumentSetupParticipant#setup(org.eclipse.jface.text.IDocument) | CDocumentSetupParticipant.java
[ 0, 0, 0, 0, 1, 0, 0 ]
8,836
CDocumentSetupParticipant.java
* CDocumentSetupParticipant
0
* CDocumentSetupParticipant | CDocumentSetupParticipant.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,837
CDocumentSetupParticipant.java
Contributors: * QNX Software Systems - Initial API and implementation * Andrew Ferguson (Symbian)
0
Contributors: * QNX Software Systems - Initial API and implementation * Andrew Ferguson (Symbian) | CDocumentSetupParticipant.java
[ 0, 1, 0, 0, 0, 0, 0 ]
8,839
ActionMessages.java
Contributors: * Mentor Graphics - Initial API and implementation
0
Contributors: * Mentor Graphics - Initial API and implementation | ActionMessages.java
[ 0, 1, 0, 0, 0, 0, 0 ]
8,840
ActionMessages.java
// initialize resource bundle
0
// initialize resource bundle | ActionMessages.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,841
CPPASTSimpleTypeConstructorExpression.java
// for class types: the constructor being called
0
// for class types: the constructor being called | CPPASTSimpleTypeConstructorExpression.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,842
CPPASTSimpleTypeConstructorExpression.java
Contributors: * John Camelon (IBM) - Initial API and implementation * Markus Schorn (Wind River Systems) * Sergey Prigogin (Google)
0
Contributors: * John Camelon (IBM) - Initial API and implementation * Markus Schorn (Wind River Systems) * Sergey Prigogin (Google) | CPPASTSimpleTypeConstructorExpression.java
[ 0, 1, 0, 0, 0, 0, 0 ]
8,843
ServiceStateModel.java
* @param state the starting state
0
* @param state the starting state | ServiceStateModel.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,844
ServiceStateModel.java
* @return the state
0
* @return the state | ServiceStateModel.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,845
ServiceStateModel.java
* @param proposed proposed new state
0
* @param proposed proposed new state | ServiceStateModel.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,846
ServiceStateModel.java
* @return the state
0
* @return the state | ServiceStateModel.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,847
ServiceStateModel.java
* @param expectedState the desired state
0
* @param expectedState the desired state | ServiceStateModel.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,848
ServiceStateModel.java
* @param proposed proposed new state
0
* @param proposed proposed new state | ServiceStateModel.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,849
ServiceStateModel.java
* @return the original state
0
* @return the original state | ServiceStateModel.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,850
ServiceStateModel.java
* @param name name of the service (can be null)
0
* @param name name of the service (can be null) | ServiceStateModel.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,851
ServiceStateModel.java
* @param state current state
0
* @param state current state | ServiceStateModel.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,852
ServiceStateModel.java
* @param proposed proposed new state
0
* @param proposed proposed new state | ServiceStateModel.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,853
ServiceStateModel.java
* @param current current state
0
* @param current current state | ServiceStateModel.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,854
ServiceStateModel.java
* @return true if the transition to a new state is valid
0
* @return true if the transition to a new state is valid | ServiceStateModel.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,855
ServiceStateModel.java
* @param proposed proposed new state
0
* @param proposed proposed new state | ServiceStateModel.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,856
ServiceStateModel.java
* @return the current state's description
0
* @return the current state's description | ServiceStateModel.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,857
ServiceStateModel.java
* return the state text as the toString() value
0
* return the state text as the toString() value | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,858
ServiceStateModel.java
/** * Is a state transition valid? * There are no checks for current==proposed * as that is considered a non-transition. * * using an array kills off all branch misprediction costs, at the expense * of cache line misses.
0
/** * Is a state transition valid? * There are no checks for current==proposed * as that is considered a non-transition. * * using an array kills off all branch misprediction costs, at the expense * of cache line misses. | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,859
ServiceStateModel.java
/** * Check that a state tansition is valid and * throw an exception if not
0
/** * Check that a state tansition is valid and * throw an exception if not | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,860
ServiceStateModel.java
//atomic write of the new state
0
//atomic write of the new state | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,861
ServiceStateModel.java
Enter a state -thread safe.
0
Enter a state -thread safe. | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,862
ServiceStateModel.java
* Verify that that a service is in a given state.
0
* Verify that that a service is in a given state. | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,863
ServiceStateModel.java
* Query that the state is in a specific state
0
* Query that the state is in a specific state | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,864
ServiceStateModel.java
* Query the service state. This is a non-blocking operation.
0
* Query the service state. This is a non-blocking operation. | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,865
ServiceStateModel.java
* Create a service state model instance in the chosen state
0
* Create a service state model instance in the chosen state | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,866
ServiceStateModel.java
@link Service.STATE#NOTINITED
0
@link Service.STATE#NOTINITED | ServiceStateModel.java
[ 0, 0, 0, 0, 1, 0, 0 ]
8,867
ServiceStateModel.java
Create the service state model in the {@link Service.STATE#NOTINITED} * state.
0
Create the service state model in the {@link Service.STATE#NOTINITED} * state. | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,868
ServiceStateModel.java
* The name of the service: used in exceptions
0
* The name of the service: used in exceptions | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,869
ServiceStateModel.java
* The state of the service
0
* The state of the service | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,870
ServiceStateModel.java
// uninited inited started stopped
0
// uninited inited started stopped | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,871
ServiceStateModel.java
/* uninited */
0
/* uninited */ | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,872
ServiceStateModel.java
/* inited */
0
/* inited */ | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,873
ServiceStateModel.java
/* started */
0
/* started */ | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,874
ServiceStateModel.java
/* stopped */
0
/* stopped */ | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,875
ServiceStateModel.java
/** * Map of all valid state transitions * [current] [proposed1, proposed2, ...] */
0
/** * Map of all valid state transitions * [current] [proposed1, proposed2, ...] */ | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,876
ServiceStateModel.java
* Implements the service state model.
0
* Implements the service state model. | ServiceStateModel.java
[ 1, 0, 0, 0, 0, 0, 0 ]
8,877
AutoconfMacroProposalContextInformation.java
* @param contextDisplayString the string to be used when presenting the context
0
* @param contextDisplayString the string to be used when presenting the context | AutoconfMacroProposalContextInformation.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,878
AutoconfMacroProposalContextInformation.java
* @param informationDisplayString the string to be displayed when presenting the context information
0
* @param informationDisplayString the string to be displayed when presenting the context information | AutoconfMacroProposalContextInformation.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,879
AutoconfMacroProposalContextInformation.java
* @param image the image to display when presenting the context information
0
* @param image the image to display when presenting the context information | AutoconfMacroProposalContextInformation.java
[ 0, 0, 0, 1, 0, 0, 0 ]
8,880
AutoconfMacroProposalContextInformation.java
* @param contextDisplayString the string to be used when presenting the context
0
* @param contextDisplayString the string to be used when presenting the context | AutoconfMacroProposalContextInformation.java
[ 0, 0, 0, 1, 0, 0, 0 ]