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
5,482
IASTInitializerList.java
@deprecated Replaced by {@link #addClause(IASTInitializerClause)}.
0
@deprecated Replaced by {@link #addClause(IASTInitializerClause)}. | IASTInitializerList.java
[ 0, 0, 0, 0, 0, 1, 0 ]
5,484
IASTInitializerList.java
Returns the size of the initializer list, including trivial initializers. This size may * be larger than the length of the array returned by {@link #getInitializers()}.
0
Returns the size of the initializer list, including trivial initializers. This size may * be larger than the length of the array returned by {@link #getInitializers()}. | IASTInitializerList.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,485
IASTInitializerList.java
Returns the list of initializers. Depending on how the ast was created, this may omit * trivial initializers in order to save memory.
0
Returns the list of initializers. Depending on how the ast was created, this may omit * trivial initializers in order to save memory. | IASTInitializerList.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,486
IASTInitializerList.java
Add an initializer clause to the initializer list. Depending on how the AST is created the * initializer may be <code>null</code>. A <code>null</code> initializer will not be returned * by {@link #getInitializers()}, however it contributes to the actual element count (#getSize()).
0
Add an initializer clause to the initializer list. Depending on how the AST is created the * initializer may be <code>null</code>. A <code>null</code> initializer will not be returned * by {@link #getInitializers()}, however it contributes to the actual element count (#getSize()). | IASTInitializerList.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,487
IASTInitializerList.java
@link #getInitializers()
0
@link #getInitializers() | IASTInitializerList.java
[ 0, 0, 0, 0, 1, 0, 0 ]
5,489
DataNodeLayoutVersion.java
@param lv new layout version with the addition of this feature
0
@param lv new layout version with the addition of this feature | DataNodeLayoutVersion.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,490
DataNodeLayoutVersion.java
@param description description of the feature
0
@param description description of the feature | DataNodeLayoutVersion.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,492
DataNodeLayoutVersion.java
@param ancestorLV layout version from which the new lv is derived from.
0
@param ancestorLV layout version from which the new lv is derived from. | DataNodeLayoutVersion.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,496
DataNodeLayoutVersion.java
@code ancestoryLV
0
@code ancestoryLV | DataNodeLayoutVersion.java
[ 0, 0, 0, 0, 1, 0, 0 ]
5,497
DataNodeLayoutVersion.java
@code lv
0
@code lv | DataNodeLayoutVersion.java
[ 0, 0, 0, 0, 1, 0, 0 ]
5,498
DataNodeLayoutVersion.java
Enums for features that change the layout version. * <br><br> * To add a new layout version: * <ul> * <li>Define a new enum constant with a short enum name, the new layout version * and description of the added feature.</li>
0
Enums for features that change the layout version. * <br><br> * To add a new layout version: * <ul> * <li>Define a new enum constant with a short enum name, the new layout version * and description of the added feature.</li> | DataNodeLayoutVersion.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,499
DataNodeLayoutVersion.java
DataNodeFeature that is added at layout version {@code lv} - 1.
0
DataNodeFeature that is added at layout version {@code lv} - 1. | DataNodeLayoutVersion.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,500
DataNodeLayoutVersion.java
DataNode feature that is added at layout version {@code ancestoryLV}.
0
DataNode feature that is added at layout version {@code ancestoryLV}. | DataNodeLayoutVersion.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,501
DataNodeLayoutVersion.java
<li>When adding a layout version with an ancestor that is not same as * its immediate predecessor, use the constructor where a specific ancestor * can be passed.
0
<li>When adding a layout version with an ancestor that is not same as * its immediate predecessor, use the constructor where a specific ancestor * can be passed. | DataNodeLayoutVersion.java
[ 0, 0, 0, 0, 0, 0, 1 ]
5,503
ASTCache.java
@since 4.0
0
@since 4.0 | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,504
ASTCache.java
* @param lang the language with which the AST has been created.
0
* @param lang the language with which the AST has been created. | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,506
ASTCache.java
* @return a status object
0
* @return a status object | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,507
ASTCache.java
* @param tUnit the translation unit
0
* @param tUnit the translation unit | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,510
ASTCache.java
* @param progressMonitor the progress monitor or <code>null</code>
0
* @param progressMonitor the progress monitor or <code>null</code> | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,511
ASTCache.java
* @return the AST or <code>null</code> if the AST is not available
0
* @return the AST or <code>null</code> if the AST is not available | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,512
ASTCache.java
@param tUnit * the translation unit
0
@param tUnit * the translation unit | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,513
ASTCache.java
@param wait * <code>true</code> if the AST should be computed or waited
0
@param wait * <code>true</code> if the AST should be computed or waited | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,514
ASTCache.java
* @param monitor a progress monitor, may be <code>null</code>
0
* @param monitor a progress monitor, may be <code>null</code> | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,515
ASTCache.java
* @param astRunnable the runnable taking the AST
0
* @param astRunnable the runnable taking the AST | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,516
ASTCache.java
* @return the status returned by the ASTRunnable
0
* @return the status returned by the ASTRunnable | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,517
ASTCache.java
@param tUnit the translation unit
0
@param tUnit the translation unit | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,519
ASTCache.java
@param wait if <code>true</code>, wait for AST to be computed * (might compute a new AST)
0
@param wait if <code>true</code>, wait for AST to be computed * (might compute a new AST) | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,521
ASTCache.java
* @return the AST or <code>null</code> if the AST is not available
0
* @return the AST or <code>null</code> if the AST is not available | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,522
ASTCache.java
* @param ast the AST to release.
0
* @param ast the AST to release. | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,524
ASTCache.java
* @param tUnit the translation unit
0
* @param tUnit the translation unit | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,529
ASTCache.java
* @param tUnit the translation unit
0
* @param tUnit the translation unit | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,530
ASTCache.java
* @param tUnit the translation unit
0
* @param tUnit the translation unit | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,534
ASTCache.java
* @param tUnit the translation unit
0
* @param tUnit the translation unit | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,535
ASTCache.java
* @param tUnit the translation unit
0
* @param tUnit the translation unit | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,537
ASTCache.java
* @param tUnit the translation unit
0
* @param tUnit the translation unit | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,538
ASTCache.java
* @return a string used for debugging
0
* @return a string used for debugging | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,539
ASTCache.java
* @param ast the translation unit AST
0
* @param ast the translation unit AST | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,540
ASTCache.java
* @return a string used for debugging
0
* @return a string used for debugging | ASTCache.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,542
ASTCache.java
* Returns a string for the given C element used for debugging.
0
* Returns a string for the given C element used for debugging. | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,545
ASTCache.java
Informs that reconciling (computation of the AST) for the given element * is about to be started.
0
Informs that reconciling (computation of the AST) for the given element * is about to be started. | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,546
ASTCache.java
* Check whether the given translation unit is the active element of this cache.
0
* Check whether the given translation unit is the active element of this cache. | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,547
ASTCache.java
* Set the given translation unit as active element to cache an AST for.
0
* Set the given translation unit as active element to cache an AST for. | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,548
ASTCache.java
* Creates a new translation unit AST.
0
* Creates a new translation unit AST. | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,549
ASTCache.java
* Disposes the cached AST.
0
* Disposes the cached AST. | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,550
ASTCache.java
* Caches the given AST for the given translation unit.
0
* Caches the given AST for the given translation unit. | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,551
ASTCache.java
Releases a shared AST previously acquired by calling * {@link #acquireSharedAST(ITranslationUnit, IIndex, boolean, IProgressMonitor)}.
0
Releases a shared AST previously acquired by calling * {@link #acquireSharedAST(ITranslationUnit, IIndex, boolean, IProgressMonitor)}. | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,552
ASTCache.java
* Provides a shared AST of a single translation unit at a time.
0
* Provides a shared AST of a single translation unit at a time. | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,554
ASTCache.java
@see #runOnAST(ILanguage, IASTTranslationUnit)
0
@see #runOnAST(ILanguage, IASTTranslationUnit) | ASTCache.java
[ 0, 0, 0, 0, 1, 0, 0 ]
5,555
ASTCache.java
@link ASTRunnable#runOnAST(ILanguage, IASTTranslationUnit)
0
@link ASTRunnable#runOnAST(ILanguage, IASTTranslationUnit) | ASTCache.java
[ 0, 0, 0, 0, 1, 0, 0 ]
5,556
ASTCache.java
@link #releaseSharedAST(IASTTranslationUnit)
0
@link #releaseSharedAST(IASTTranslationUnit) | ASTCache.java
[ 0, 0, 0, 0, 1, 0, 0 ]
5,557
ASTCache.java
// Signal AST change
0
// Signal AST change | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,560
ASTCache.java
Can be called by a thread other than the one that acquired the AST.
0
Can be called by a thread other than the one that acquired the AST. | ASTCache.java
[ 0, 0, 0, 0, 0, 0, 1 ]
5,561
ASTCache.java
The AST can be released by a thread other than the one that acquired it. * <p> * Clients are not allowed to modify the AST and must hold an index read * lock prior to calling this method and continue to hold the lock as long * as the AST is being used.
0
The AST can be released by a thread other than the one that acquired it. * <p> * Clients are not allowed to modify the AST and must hold an index read * lock prior to calling this method and continue to hold the lock as long * as the AST is being used. | ASTCache.java
[ 0, 0, 1, 0, 0, 0, 0 ]
5,562
ASTCache.java
Returns a shared AST for the given translation unit and locks it for * exclusive access. An AST obtained from this method has to be released * by calling {@link #releaseSharedAST(IASTTranslationUnit)}. * Subsequent call to this method will block until the AST is released.
0
Returns a shared AST for the given translation unit and locks it for * exclusive access. An AST obtained from this method has to be released * by calling {@link #releaseSharedAST(IASTTranslationUnit)}. * Subsequent call to this method will block until the AST is released. | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,563
ASTCache.java
Executes {@link ASTRunnable#runOnAST(ILanguage, IASTTranslationUnit)} with the AST * provided by this cache for the given translation unit. Handles acquiring * and releasing the index read-lock for the client.
0
Executes {@link ASTRunnable#runOnAST(ILanguage, IASTTranslationUnit)} with the AST * provided by this cache for the given translation unit. Handles acquiring * and releasing the index read-lock for the client. | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,565
ASTCache.java
// try again
0
// try again | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,566
ASTCache.java
// Check whether active element is still valid
0
// Check whether active element is still valid | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,567
ASTCache.java
// Wait for AST
0
// Wait for AST | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,568
ASTCache.java
// no cached AST, but wait
0
// no cached AST, but wait | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,569
ASTCache.java
// no AST, no wait - we are done
0
// no AST, no wait - we are done | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,570
ASTCache.java
// no cached AST
0
// no cached AST | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,571
ASTCache.java
if (!wait) { // no AST, no wait - we are done if (DEBUG) System.out.println(DEBUG_PREFIX + getThreadName() + "returning null (WAIT_NO) for: " + tUnit.getElementName()); //$NON-NLS-1$ return null; }
0
if (!wait) { // no AST, no wait - we are done if (DEBUG) System.out.println(DEBUG_PREFIX + getThreadName() + "returning null (WAIT_NO) for: " + tUnit.getElementName()); //$NON-NLS-1$ return null; } | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,572
ASTCache.java
// cached AST is valid
0
// cached AST is valid | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,573
ASTCache.java
// AST has been invalidated by index write access
0
// AST has been invalidated by index write access | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,574
ASTCache.java
// AST is cached
0
// AST is cached | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,575
ASTCache.java
Returns a shared translation unit AST for the given translation unit. * <p> * Clients are not allowed to modify the AST and must hold an index read * lock prior to calling this method and continue to hold the lock as long * as the AST is being used.
0
Returns a shared translation unit AST for the given translation unit. * <p> * Clients are not allowed to modify the AST and must hold an index read * lock prior to calling this method and continue to hold the lock as long * as the AST is being used. | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,576
ASTCache.java
* Create a new AST cache.
0
* Create a new AST cache. | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,577
ASTCache.java
/** Indicates whether the AST is currently being computed */
0
/** Indicates whether the AST is currently being computed */ | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,578
ASTCache.java
The timestamp of the last index write access at the time * the AST got cached. A cached AST becomes invalid on any index * write access afterwards.
0
The timestamp of the last index write access at the time * the AST got cached. A cached AST becomes invalid on any index * write access afterwards. | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,580
ASTCache.java
/** The active translation unit for which to cache the AST */
0
/** The active translation unit for which to cache the AST */ | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,581
ASTCache.java
* Do something with the given AST.
0
* Do something with the given AST. | ASTCache.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,583
TestSwiftFileSystemBlocksize.java
Tests that blocksize is never zero for a file, either in the FS default * or the FileStatus value of a queried file
0
Tests that blocksize is never zero for a file, either in the FS default * or the FileStatus value of a queried file | TestSwiftFileSystemBlocksize.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,585
Check.java
* @param name the name to use in the exception message.
0
* @param name the name to use in the exception message. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,588
Check.java
* @param name the name to use in the exception message.
0
* @param name the name to use in the exception message. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,591
Check.java
* @param name the name to use in the exception message.
0
* @param name the name to use in the exception message. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,593
Check.java
* @return the value.
0
* @return the value. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,594
Check.java
* @param name the name to use in the exception message.
0
* @param name the name to use in the exception message. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,595
Check.java
* @param value integer value.
0
* @param value integer value. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,597
Check.java
* @param name the name to use in the exception message.
0
* @param name the name to use in the exception message. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,599
Check.java
* @param value string to check if it is a valid identifier.
0
* @param value string to check if it is a valid identifier. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,600
Check.java
* @return the variable.
0
* @return the variable. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,601
Check.java
* @param name the name to use in the exception message.
0
* @param name the name to use in the exception message. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,603
Check.java
* @return the variable.
0
* @return the variable. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,604
Check.java
* @param name the name to use in the exception message.
0
* @param name the name to use in the exception message. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,606
Check.java
* @return the list.
0
* @return the list. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,607
Check.java
* @param name the name to use in the exception message.
0
* @param name the name to use in the exception message. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,609
Check.java
* @return the variable.
0
* @return the variable. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,610
Check.java
* @param name the name to use in the exception message.
0
* @param name the name to use in the exception message. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,611
Check.java
* @param obj the variable to check.
0
* @param obj the variable to check. | Check.java
[ 0, 0, 0, 1, 0, 0, 0 ]
5,614
Check.java
Verifies a list does not have any NULL elements.
0
Verifies a list does not have any NULL elements. | Check.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,616
Check.java
Verifies a string list is not NULL and not emtpy
0
Verifies a string list is not NULL and not emtpy | Check.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,617
Check.java
Verifies a value is a valid identifier, * <code>[a-zA-z_][a-zA-Z0-9_\-]*</code>, up to a maximum length.
0
Verifies a value is a valid identifier, * <code>[a-zA-z_][a-zA-Z0-9_\-]*</code>, up to a maximum length. | Check.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,618
Check.java
Verifies an integer is greater than zero.
0
Verifies an integer is greater than zero. | Check.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,620
Check.java
Verifies an long is greater or equal to zero.
0
Verifies an long is greater or equal to zero. | Check.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,623
ManualLocalTransactionsTest.java
@author Dhanji R. Prasanna (dhanji@gmail.com)
0
@author Dhanji R. Prasanna (dhanji@gmail.com) | ManualLocalTransactionsTest.java
[ 0, 1, 0, 0, 0, 0, 0 ]
5,624
ManualLocalTransactionsTest.java
//try to query them back out
0
//try to query them back out | ManualLocalTransactionsTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,627
ManualLocalTransactionsTest.java
//startup persistence
0
//startup persistence | ManualLocalTransactionsTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,628
ManualLocalTransactionsTest.java
For instance, a session-per-request strategy will control the opening and closing of the EM at * its own (manual) discretion. As opposed to a transactional unit of work. *
0
For instance, a session-per-request strategy will control the opening and closing of the EM at * its own (manual) discretion. As opposed to a transactional unit of work. * | ManualLocalTransactionsTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,629
SecretKeyHolder.java
Interface for getting a secret key associated with some application.
0
Interface for getting a secret key associated with some application. | SecretKeyHolder.java
[ 1, 0, 0, 0, 0, 0, 0 ]
5,630
SecretKeyHolder.java
Gets an appropriate SASL User for the given appId.
0
Gets an appropriate SASL User for the given appId. | SecretKeyHolder.java
[ 1, 0, 0, 0, 0, 0, 0 ]