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
|
|---|---|---|---|---|---|
5,528
|
ASTCache.java
|
* @return an AST for the translation unit, or <code>null</code> if the operation was cancelled
| 0
|
* @return an AST for the translation unit, or <code>null</code> if the operation was cancelled | 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,531
|
ASTCache.java
|
* @return <code>true</code>, if this cache manages the given translation unit
| 0
|
* @return <code>true</code>, if this cache manages the given translation unit | ASTCache.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
5,532
|
ASTCache.java
|
* @param tUnit the translation unit
| 0
|
* @param tUnit the translation unit | ASTCache.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
5,533
|
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,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,536
|
ASTCache.java
|
* @return <code>true</code> if reported as currently being reconciled
| 0
|
* @return <code>true</code> if reported as currently being reconciled | 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,541
|
ASTCache.java
|
Returns a string for the given AST used for debugging.
| 0
|
Returns a string for the given AST used for debugging. | ASTCache.java
|
[
1,
0,
0,
0,
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,543
|
ASTCache.java
|
Tells whether the given C element is the one
* reported as currently being reconciled.
| 0
|
Tells whether the given C element is the one
* reported as currently being reconciled. | ASTCache.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
5,544
|
ASTCache.java
|
* Informs that reconciling of the AST of the given translation unit has finished.
| 0
|
* Informs that reconciling of the AST of the given translation unit has finished. | 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,553
|
ASTCache.java
|
* Tells whether this class is in debug mode.
| 0
|
* Tells whether this class is in debug mode. | 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,558
|
ASTCache.java
|
// don't report call from disposeAST()
| 0
|
// don't report call from disposeAST() | ASTCache.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
5,559
|
ASTCache.java
|
// don't report call from disposeAST()
| 0
|
// don't report call from disposeAST() | 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,564
|
ASTCache.java
|
// other reconciler was faster, still need to trigger notify
| 0
|
// other reconciler was faster, still need to trigger notify | 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,579
|
ASTCache.java
|
/** The cached AST if any */
| 0
|
/** The cached AST if any */ | 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,582
|
ASTCache.java
|
* Do something with an AST.
| 0
|
* Do something with an 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,584
|
Check.java
|
* @return the value.
| 0
|
* @return the value. | Check.java
|
[
0,
0,
0,
1,
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,586
|
Check.java
|
* @param value integer value.
| 0
|
* @param value integer value. | Check.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
5,587
|
Check.java
|
* @return the value.
| 0
|
* @return the value. | 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,589
|
Check.java
|
* @param value integer value.
| 0
|
* @param value integer value. | Check.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
5,590
|
Check.java
|
* @return the value.
| 0
|
* @return the value. | 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,592
|
Check.java
|
* @param value long value.
| 0
|
* @param value long value. | 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,596
|
Check.java
|
* @return the value.
| 0
|
* @return the 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,598
|
Check.java
|
* @param maxLen maximun length.
| 0
|
* @param maxLen maximun length. | 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,602
|
Check.java
|
* @param list the list to check.
| 0
|
* @param list the list to check. | 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,605
|
Check.java
|
* @param str the variable to check.
| 0
|
* @param str the variable to check. | 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,608
|
Check.java
|
* @param list the list to check.
| 0
|
* @param list the list to check. | 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,612
|
Check.java
|
Utility methods to check preconditions.
* <p>
* Commonly used for method arguments preconditions.
| 0
|
Utility methods to check preconditions.
* <p>
* Commonly used for method arguments preconditions. | Check.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
5,613
|
Check.java
|
Verifies a variable is not NULL.
| 0
|
Verifies a variable is not NULL. | Check.java
|
[
1,
0,
0,
0,
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,615
|
Check.java
|
Verifies a string is not NULL and not emtpy
| 0
|
Verifies a string is not NULL and not emtpy | 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,619
|
Check.java
|
Verifies an integer is greater or equal to zero.
| 0
|
Verifies an integer is greater or equal to 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,622
|
LocaleService.java
|
Date / time etc. localisation service for all widgets. Caches all loaded
* locales as JSONObjects.
| 0
|
Date / time etc. localisation service for all widgets. Caches all loaded
* locales as JSONObjects. | LocaleService.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,625
|
ManualLocalTransactionsTest.java
|
//persisted entity should remain in the same em (which should still be open)
| 0
|
//persisted entity should remain in the same em (which should still be open) | ManualLocalTransactionsTest.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
5,626
|
ManualLocalTransactionsTest.java
|
//pretend that the request was started here
| 0
|
//pretend that the request was started here | 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
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.