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,978
|
TestDomainSocketWatcher.java
|
@param interruptCheckPeriodMs interrupt check period passed to
* DomainSocketWatcher
| 0
|
@param interruptCheckPeriodMs interrupt check period passed to
* DomainSocketWatcher | TestDomainSocketWatcher.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
6,979
|
TestDomainSocketWatcher.java
|
* @return new DomainSocketWatcher
| 0
|
* @return new DomainSocketWatcher | TestDomainSocketWatcher.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
6,980
|
TestDomainSocketWatcher.java
|
Creates a new DomainSocketWatcher and tracks its thread for termination due
* to an unexpected exception. At the end of each test, if there was an
* unexpected exception, then that exception is thrown to force a failure of
* the test.
| 0
|
Creates a new DomainSocketWatcher and tracks its thread for termination due
* to an unexpected exception. At the end of each test, if there was an
* unexpected exception, then that exception is thrown to force a failure of
* the test. | TestDomainSocketWatcher.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
6,981
|
NMLeveldbStateStoreService.java
|
// Don't load container without StartContainerRequest
| 0
|
// Don't load container without StartContainerRequest | NMLeveldbStateStoreService.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
6,982
|
NMLeveldbStateStoreService.java
|
// remove container without StartContainerRequest
| 0
|
// remove container without StartContainerRequest | NMLeveldbStateStoreService.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
6,983
|
NMLeveldbStateStoreService.java
|
// start with '/'
| 0
|
// start with '/' | NMLeveldbStateStoreService.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
6,984
|
NMLeveldbStateStoreService.java
|
// New value will overwrite old values for the same key
| 0
|
// New value will overwrite old values for the same key | NMLeveldbStateStoreService.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
6,985
|
NMLeveldbStateStoreService.java
|
// store version
| 0
|
// store version | NMLeveldbStateStoreService.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
6,986
|
NMLeveldbStateStoreService.java
|
// if version is not stored previously, treat it as CURRENT_VERSION_INFO.
| 0
|
// if version is not stored previously, treat it as CURRENT_VERSION_INFO. | NMLeveldbStateStoreService.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
6,987
|
NMLeveldbStateStoreService.java
|
// Only used for test
| 0
|
// Only used for test | NMLeveldbStateStoreService.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
6,988
|
NMLeveldbStateStoreService.java
|
Versioning scheme: major.minor. For e.g. 1.0, 1.1, 1.2...1.25, 2.0 etc.
* 2) Any incompatible change of state-store is a major upgrade, and any
* compatible change of state-store is a minor upgrade.
* 3) Within a minor upgrade, say 1.1 to 1.2:
* overwrite the version info and proceed as normal.
* 4) Within a major upgrade, say 1.2 to 2.0:
* throw exception and indicate user to use a separate upgrade tool to
* upgrade NM state or remove incompatible old state.
| 0
|
Versioning scheme: major.minor. For e.g. 1.0, 1.1, 1.2...1.25, 2.0 etc.
* 2) Any incompatible change of state-store is a major upgrade, and any
* compatible change of state-store is a minor upgrade.
* 3) Within a minor upgrade, say 1.1 to 1.2:
* overwrite the version info and proceed as normal.
* 4) Within a major upgrade, say 1.2 to 2.0:
* throw exception and indicate user to use a separate upgrade tool to
* upgrade NM state or remove incompatible old state. | NMLeveldbStateStoreService.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
6,990
|
Messages.java
|
// Initialize resource bundle.
| 0
|
// Initialize resource bundle. | Messages.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
6,993
|
NewManagedProject.java
|
* @noinstantiate This class is not intended to be instantiated by clients.
| 0
|
* @noinstantiate This class is not intended to be instantiated by clients. | NewManagedProject.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
6,994
|
NewManagedProject.java
|
setOptionValue
| 0
|
setOptionValue | NewManagedProject.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
6,995
|
NewManagedProject.java
|
* Creates a new Project in the workspace.
| 0
|
* Creates a new Project in the workspace. | NewManagedProject.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
6,996
|
ConfigBuilder.java
|
* Helper class for building configs, mostly used in tests
| 0
|
* Helper class for building configs, mostly used in tests | ConfigBuilder.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
6,997
|
ConfigBuilder.java
|
/** The built config */
| 0
|
/** The built config */ | ConfigBuilder.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
6,998
|
ConfigBuilder.java
|
* Default constructor
| 0
|
* Default constructor | ConfigBuilder.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
6,999
|
ConfigBuilder.java
|
* Add a property to the config
| 0
|
* Add a property to the config | ConfigBuilder.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,000
|
ConfigBuilder.java
|
* Save the config to a file
| 0
|
* Save the config to a file | ConfigBuilder.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,001
|
ConfigBuilder.java
|
* Return a subset configuration (so getParent() can be used.)
| 0
|
* Return a subset configuration (so getParent() can be used.) | ConfigBuilder.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,002
|
ConfigBuilder.java
|
* @param key of the property
| 0
|
* @param key of the property | ConfigBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
7,003
|
ConfigBuilder.java
|
* @return self
| 0
|
* @return self | ConfigBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
7,004
|
ConfigBuilder.java
|
* @param filename to save
| 0
|
* @param filename to save | ConfigBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
7,005
|
ConfigBuilder.java
|
* @return self
| 0
|
* @return self | ConfigBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
7,006
|
ConfigBuilder.java
|
* @param prefix of the subset
| 0
|
* @param prefix of the subset | ConfigBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
7,007
|
ConfigBuilder.java
|
* @return the subset config
| 0
|
* @return the subset config | ConfigBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
7,008
|
ChangeBuildConfigContextAction.java
|
Contributors:
* Intel Corporation - initial API and implementation
| 0
|
Contributors:
* Intel Corporation - initial API and implementation | ChangeBuildConfigContextAction.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
7,009
|
ChangeBuildConfigContextAction.java
|
* This context menu action is used to change active build configuration for the project
| 0
|
* This context menu action is used to change active build configuration for the project | ChangeBuildConfigContextAction.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,010
|
ChangeBuildConfigContextAction.java
|
* @see org.eclipse.ui.IObjectActionDelegate#setActivePart(org.eclipse.jface.action.IAction, org.eclipse.ui.IWorkbenchPart)
| 0
|
* @see org.eclipse.ui.IObjectActionDelegate#setActivePart(org.eclipse.jface.action.IAction, org.eclipse.ui.IWorkbenchPart) | ChangeBuildConfigContextAction.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
7,011
|
ChangeBuildConfigContextAction.java
|
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
| 0
|
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction) | ChangeBuildConfigContextAction.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
7,012
|
ChangeBuildConfigContextAction.java
|
* @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
| 0
|
* @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection) | ChangeBuildConfigContextAction.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
7,013
|
ChangeBuildConfigContextAction.java
|
* @see org.eclipse.jface.action.IMenuCreator#dispose()
| 0
|
* @see org.eclipse.jface.action.IMenuCreator#dispose() | ChangeBuildConfigContextAction.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
7,014
|
ChangeBuildConfigContextAction.java
|
* @see org.eclipse.jface.action.IMenuCreator#getMenu(org.eclipse.swt.widgets.Control)
| 0
|
* @see org.eclipse.jface.action.IMenuCreator#getMenu(org.eclipse.swt.widgets.Control) | ChangeBuildConfigContextAction.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
7,015
|
ChangeBuildConfigContextAction.java
|
* @see org.eclipse.jface.action.IMenuCreator#getMenu(org.eclipse.swt.widgets.Menu)
| 0
|
* @see org.eclipse.jface.action.IMenuCreator#getMenu(org.eclipse.swt.widgets.Menu) | ChangeBuildConfigContextAction.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
7,016
|
ChangeBuildConfigContextAction.java
|
// this method is never called
| 0
|
// this method is never called | ChangeBuildConfigContextAction.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
7,017
|
ChangeBuildConfigContextAction.java
|
// do nothing
| 0
|
// do nothing | ChangeBuildConfigContextAction.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,018
|
ChangeBuildConfigContextAction.java
|
// do nothing
| 0
|
// do nothing | ChangeBuildConfigContextAction.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,019
|
ChangeBuildConfigContextAction.java
|
// do nothing
| 0
|
// do nothing | ChangeBuildConfigContextAction.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,020
|
FindAction.java
|
Contributors:
* IBM Corp. - Rational Software - initial implementation
* Sergey Prigogin (Google)
| 0
|
Contributors:
* IBM Corp. - Rational Software - initial implementation
* Sergey Prigogin (Google) | FindAction.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
7,021
|
AutotoolsEnvironmentVariableSupplier.java
|
Contributors:
* Marc-Andre Laperle (Ericsson) - initial API and implementation
| 0
|
Contributors:
* Marc-Andre Laperle (Ericsson) - initial API and implementation | AutotoolsEnvironmentVariableSupplier.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
7,022
|
AutotoolsEnvironmentVariableSupplier.java
|
@noreference This class is not intended to be referenced by clients.
| 0
|
@noreference This class is not intended to be referenced by clients. | AutotoolsEnvironmentVariableSupplier.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
7,024
|
AutotoolsEnvironmentVariableSupplier.java
|
Supplies some default environment variables for the Autotools toolchain. For
* example, V=1 to enable verbose output necessary for proper GCC output
* parsing.
| 0
|
Supplies some default environment variables for the Autotools toolchain. For
* example, V=1 to enable verbose output necessary for proper GCC output
* parsing. | AutotoolsEnvironmentVariableSupplier.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,025
|
AutotoolsEnvironmentVariableSupplier.java
|
// Windows has case insensitive env var names
| 0
|
// Windows has case insensitive env var names | AutotoolsEnvironmentVariableSupplier.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,026
|
CleanerTask.java
|
* @param conf
| 0
|
* @param conf | CleanerTask.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
7,027
|
CleanerTask.java
|
* @param store
| 0
|
* @param store | CleanerTask.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
7,028
|
CleanerTask.java
|
* @param metrics
| 0
|
* @param metrics | CleanerTask.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
7,029
|
CleanerTask.java
|
@param cleanerTaskLock lock that ensures a serial execution of cleaner
* task
| 0
|
@param cleanerTaskLock lock that ensures a serial execution of cleaner
* task | CleanerTask.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
7,030
|
CleanerTask.java
|
* @return an instance of a CleanerTask
| 0
|
* @return an instance of a CleanerTask | CleanerTask.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
7,031
|
CleanerTask.java
|
/** The cleaner task ran into an error while processing the resource **/
| 0
|
/** The cleaner task ran into an error while processing the resource **/ | CleanerTask.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
7,032
|
CleanerTask.java
|
/** Resource was successfully deleted **/
| 0
|
/** Resource was successfully deleted **/ | CleanerTask.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
7,033
|
CleanerTask.java
|
/** Resource was successfully processed, but not deleted **/
| 0
|
/** Resource was successfully processed, but not deleted **/ | CleanerTask.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
7,034
|
CleanerTask.java
|
A status indicating what happened with the processing of a given cache
* resource.
| 0
|
A status indicating what happened with the processing of a given cache
* resource. | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,035
|
CleanerTask.java
|
// we were unable to remove it for some reason: it's best to leave
// it at that
| 0
|
// we were unable to remove it for some reason: it's best to leave
// it at that | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,036
|
CleanerTask.java
|
// the directory can be removed safely now
// log the original path
| 0
|
// the directory can be removed safely now
// log the original path | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,037
|
CleanerTask.java
|
// rename the directory to make the delete atomic
| 0
|
// rename the directory to make the delete atomic | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,038
|
CleanerTask.java
|
// record the processing
| 0
|
// record the processing | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,039
|
CleanerTask.java
|
we did not delete the resource because it contained application
// ids
| 0
|
we did not delete the resource because it contained application
// ids | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,040
|
CleanerTask.java
|
// remove the resource from the file system
| 0
|
// remove the resource from the file system | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,041
|
CleanerTask.java
|
// remove the resource from scm (checks for appIds as well)
| 0
|
// remove the resource from scm (checks for appIds as well) | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,042
|
CleanerTask.java
|
this is the path to the cache resource directory
// the directory name is the resource key (i.e. a unique identifier)
| 0
|
this is the path to the cache resource directory
// the directory name is the resource key (i.e. a unique identifier) | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,043
|
CleanerTask.java
|
// indicates the processing status of the resource
| 0
|
// indicates the processing status of the resource | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,044
|
CleanerTask.java
|
* Processes a single shared cache resource directory.
| 0
|
* Processes a single shared cache resource directory. | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,045
|
CleanerTask.java
|
* Returns a path for the root directory for the shared cache.
| 0
|
* Returns a path for the root directory for the shared cache. | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,046
|
CleanerTask.java
|
restore the interrupt
| 0
|
restore the interrupt | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,047
|
CleanerTask.java
|
// add sleep time between cleaning each directory if it is non-zero
| 0
|
// add sleep time between cleaning each directory if it is non-zero | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,048
|
CleanerTask.java
|
check for interruption so it can abort in a timely manner in case
// of shutdown
| 0
|
check for interruption so it can abort in a timely manner in case
// of shutdown | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,049
|
CleanerTask.java
|
now traverse individual directories and process them
// the directory structure is specified by the nested level parameter
// (e.g. 9/c/d/<checksum>)
| 0
|
now traverse individual directories and process them
// the directory structure is specified by the nested level parameter
// (e.g. 9/c/d/<checksum>) | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,050
|
CleanerTask.java
|
// mark the beginning of the run in the metrics
| 0
|
// mark the beginning of the run in the metrics | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,051
|
CleanerTask.java
|
Sweeps and processes the shared cache area to clean up stale and orphaned
* files.
| 0
|
Sweeps and processes the shared cache area to clean up stale and orphaned
* files. | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,052
|
CleanerTask.java
|
this is set to false regardless of if it is a scheduled or on-demand
// task
| 0
|
this is set to false regardless of if it is a scheduled or on-demand
// task | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,053
|
CleanerTask.java
|
// we're now ready to process the shared cache area
| 0
|
// we're now ready to process the shared cache area | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,054
|
CleanerTask.java
|
// there is already another task running
| 0
|
// there is already another task running | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,055
|
CleanerTask.java
|
Creates a cleaner task based on the root directory location and the
* filesystem.
| 0
|
Creates a cleaner task based on the root directory location and the
* filesystem. | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,056
|
CleanerTask.java
|
// get the root directory for the shared cache
| 0
|
// get the root directory for the shared cache | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,057
|
CleanerTask.java
|
Creates a cleaner task based on the configuration. This is provided for
* convenience.
| 0
|
Creates a cleaner task based on the configuration. This is provided for
* convenience. | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,058
|
CleanerTask.java
|
The task that runs and cleans up the shared cache area for stale entries and
* orphaned files. It is expected that only one cleaner task runs at any given
* point in time.
| 0
|
The task that runs and cleans up the shared cache area for stale entries and
* orphaned files. It is expected that only one cleaner task runs at any given
* point in time. | CleanerTask.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,060
|
CContainerInfo.java
|
* Constructs a new C Model Info
| 0
|
* Constructs a new C Model Info | CContainerInfo.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,061
|
CContainerInfo.java
|
// Check if the folder is not itself a sourceEntry.
| 0
|
// Check if the folder is not itself a sourceEntry. | CContainerInfo.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,062
|
CContainerInfo.java
|
// move back to the sourceroot.
| 0
|
// move back to the sourceroot. | CContainerInfo.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,064
|
IDocumentElementAnnotationProvider.java
|
Provides context sensitive annotations for source elements.
*
* This interface is experimental.
| 0
|
Provides context sensitive annotations for source elements.
*
* This interface is experimental. | IDocumentElementAnnotationProvider.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,065
|
IDocumentElementAnnotationProvider.java
|
@param updates each update specifies the element and context
* for which annotations are requested and stores the results
| 0
|
@param updates each update specifies the element and context
* for which annotations are requested and stores the results | IDocumentElementAnnotationProvider.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
7,066
|
IDocumentElementAnnotationProvider.java
|
Updates the annotations of the specified source elements.
| 0
|
Updates the annotations of the specified source elements. | IDocumentElementAnnotationProvider.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,067
|
package-info.java
|
Common annotation types. This package is a part of the open-source
* <a href="http://github.com/google/guava">Guava</a> library.
| 0
|
Common annotation types. This package is a part of the open-source
* <a href="http://github.com/google/guava">Guava</a> library. | package-info.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,068
|
IKVSerializer.java
|
/**
* serializes key-value pair
*/
| 0
|
/**
* serializes key-value pair
*/ | IKVSerializer.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,069
|
IKVSerializer.java
|
/**
* update the length field of SizedWritable
*/
| 0
|
/**
* update the length field of SizedWritable
*/ | IKVSerializer.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,071
|
JdkFutureAdaptersTest.java
|
@link JdkFutureAdapters
| 0
|
@link JdkFutureAdapters | JdkFutureAdaptersTest.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
7,072
|
JdkFutureAdaptersTest.java
|
// Now test an additional addListener call, which will be run in-thread:
| 0
|
// Now test an additional addListener call, which will be run in-thread: | JdkFutureAdaptersTest.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,073
|
JdkFutureAdaptersTest.java
|
// Now give the get() thread time to finish:
| 0
|
// Now give the get() thread time to finish: | JdkFutureAdaptersTest.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,074
|
JdkFutureAdaptersTest.java
|
This will occur before the waiting get() in the
* listenInPoolThread-spawned thread completes:
| 0
|
This will occur before the waiting get() in the
* listenInPoolThread-spawned thread completes: | JdkFutureAdaptersTest.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,075
|
JdkFutureAdaptersTest.java
|
The compiler recognizes that "input instanceof ListenableFuture" is
* impossible. We want the test, though, in case that changes in the future,
* so we use isInstance instead.
| 0
|
The compiler recognizes that "input instanceof ListenableFuture" is
* impossible. We want the test, though, in case that changes in the future,
* so we use isInstance instead. | JdkFutureAdaptersTest.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,076
|
JdkFutureAdaptersTest.java
|
// synchronized so that checkState works as expected.
| 0
|
// synchronized so that checkState works as expected. | JdkFutureAdaptersTest.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,077
|
JdkFutureAdaptersTest.java
|
If isDone is true during the call to listenInPoolThread,
* listenInPoolThread doesn't start a thread. Make sure it's false the
* first time through (and forever after, since no one else cares about
* it).
| 0
|
If isDone is true during the call to listenInPoolThread,
* listenInPoolThread doesn't start a thread. Make sure it's false the
* first time through (and forever after, since no one else cares about
* it). | JdkFutureAdaptersTest.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
7,078
|
JdkFutureAdaptersTest.java
|
Wait a little to give us time to call addListener before the future's
* value is set in addition to the call we'll make after then.
| 0
|
Wait a little to give us time to call addListener before the future's
* value is set in addition to the call we'll make after then. | JdkFutureAdaptersTest.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,079
|
JdkFutureAdaptersTest.java
|
A Future that doesn't implement ListenableFuture, useful for testing
* listenInPoolThread.
| 0
|
A Future that doesn't implement ListenableFuture, useful for testing
* listenInPoolThread. | JdkFutureAdaptersTest.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,080
|
JdkFutureAdaptersTest.java
|
Don't shut down until the listenInPoolThread task has been accepted to
* run. We want to see what happens when it's interrupted, not when it's
* rejected.
| 0
|
Don't shut down until the listenInPoolThread task has been accepted to
* run. We want to see what happens when it's interrupted, not when it's
* rejected. | JdkFutureAdaptersTest.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,081
|
JdkFutureAdaptersTest.java
|
'spy' should have been ignored since 'abstractFuture' was done before
// a listener was added.
| 0
|
'spy' should have been ignored since 'abstractFuture' was done before
// a listener was added. | JdkFutureAdaptersTest.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,082
|
JdkFutureAdaptersTest.java
|
#addListener() will run the listener immediately because the Future is
// already finished (we explicitly set the result of it above).
| 0
|
#addListener() will run the listener immediately because the Future is
// already finished (we explicitly set the result of it above). | JdkFutureAdaptersTest.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,083
|
JdkFutureAdaptersTest.java
|
// We call AbstractFuture#set above.
| 0
|
// We call AbstractFuture#set above. | JdkFutureAdaptersTest.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
7,084
|
JdkFutureAdaptersTest.java
|
Unit tests for {@link JdkFutureAdapters}.
| 0
|
Unit tests for {@link JdkFutureAdapters}. | JdkFutureAdaptersTest.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.