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
4,608
DirectoryWithQuotaFeature.java
/** Verify if the namespace quota is violated after applying delta. */
0
/** Verify if the namespace quota is violated after applying delta. */ | DirectoryWithQuotaFeature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,611
DirectoryWithQuotaFeature.java
* @param delta the change of the namespace/space/type usage
0
* @param delta the change of the namespace/space/type usage | DirectoryWithQuotaFeature.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,612
DirectoryWithQuotaFeature.java
* @param tsQuotas type space counts for all storage types supporting quota
0
* @param tsQuotas type space counts for all storage types supporting quota | DirectoryWithQuotaFeature.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,613
DirectoryWithQuotaFeature.java
* @param counts counts to be added with current quota usage
0
* @param counts counts to be added with current quota usage | DirectoryWithQuotaFeature.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,614
DirectoryWithQuotaFeature.java
* @return counts that have been added with the current qutoa usage
0
* @return counts that have been added with the current qutoa usage | DirectoryWithQuotaFeature.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,615
DirectoryWithQuotaFeature.java
/** @return the quota set or -1 if it is not set. */
0
/** @return the quota set or -1 if it is not set. */ | DirectoryWithQuotaFeature.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,618
DirectoryWithQuotaFeature.java
@param type Storage type of the storage space quota to be set. * To set storagespace/namespace quota, type must be null.
0
@param type Storage type of the storage space quota to be set. * To set storagespace/namespace quota, type must be null. | DirectoryWithQuotaFeature.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,619
DirectoryWithQuotaFeature.java
* Quota feature for {@link INodeDirectory}.
0
* Quota feature for {@link INodeDirectory}. | DirectoryWithQuotaFeature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,620
DirectoryWithQuotaFeature.java
/** Set this directory's quota
0
/** Set this directory's quota | DirectoryWithQuotaFeature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,621
DirectoryWithQuotaFeature.java
/** Set storage type quota in a batch. (Only used by FSImage load)
0
/** Set storage type quota in a batch. (Only used by FSImage load) | DirectoryWithQuotaFeature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,622
DirectoryWithQuotaFeature.java
* Add current quota usage to counts and return the updated counts
0
* Add current quota usage to counts and return the updated counts | DirectoryWithQuotaFeature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,624
DirectoryWithQuotaFeature.java
// The following steps are important: // check quotas in this inode and all ancestors before changing counts // so that no change is made if there is any quota violation. // (1) verify quota in this inode
0
// The following steps are important: // check quotas in this inode and all ancestors before changing counts // so that no change is made if there is any quota violation. // (1) verify quota in this inode | DirectoryWithQuotaFeature.java
[ 0, 0, 1, 0, 0, 0, 0 ]
4,625
DirectoryWithQuotaFeature.java
// (2) verify quota and then add count in ancestors
0
// (2) verify quota and then add count in ancestors | DirectoryWithQuotaFeature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,627
DirectoryWithQuotaFeature.java
/** Update the space/namespace/type usage of the tree
0
/** Update the space/namespace/type usage of the tree | DirectoryWithQuotaFeature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,628
DirectoryWithQuotaFeature.java
Sets namespace and storagespace take by the directory rooted * at this INode. This should be used carefully. It does not check * for quota violations.
0
Sets namespace and storagespace take by the directory rooted * at this INode. This should be used carefully. It does not check * for quota violations. | DirectoryWithQuotaFeature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,630
DockerLaunchPreferencePage.java
@see * org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
0
@see * org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench) | DockerLaunchPreferencePage.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,631
DockerLaunchPreferencePage.java
Creates the field editors. Field editors are abstractions of the common * GUI blocks needed to manipulate various types of preferences. Each field * editor knows how to save and restore itself.
0
Creates the field editors. Field editors are abstractions of the common * GUI blocks needed to manipulate various types of preferences. Each field * editor knows how to save and restore itself. | DockerLaunchPreferencePage.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,633
CodanApplication.java
* Application to support headless build
0
* Application to support headless build | CodanApplication.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,634
CodanApplication.java
* @noextend This class is not intended to be extended by clients.
0
* @noextend This class is not intended to be extended by clients. | CodanApplication.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,635
CodanApplication.java
* @noinstantiate This class is not intended to be instantiated by clients.
0
* @noinstantiate This class is not intended to be instantiated by clients. | CodanApplication.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,636
CodanApplication.java
* @param string
0
* @param string | CodanApplication.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,640
HumanReadableHistoryViewerPrinter.java
@link PrintStream
0
@link PrintStream | HumanReadableHistoryViewerPrinter.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,641
HumanReadableHistoryViewerPrinter.java
* @param ps the {@link PrintStream} to print to
0
* @param ps the {@link PrintStream} to print to | HumanReadableHistoryViewerPrinter.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,642
HumanReadableHistoryViewerPrinter.java
Print out the Job History to the given {@link PrintStream} in a * human-readable format.
0
Print out the Job History to the given {@link PrintStream} in a * human-readable format. | HumanReadableHistoryViewerPrinter.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,643
HumanReadableHistoryViewerPrinter.java
@link HistoryViewer
0
@link HistoryViewer | HumanReadableHistoryViewerPrinter.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,645
ConstantFactory.java
@author crazybob@google.com (Bob Lee)
0
@author crazybob@google.com (Bob Lee) | ConstantFactory.java
[ 0, 1, 0, 0, 0, 0, 0 ]
4,646
BaseTestCase.java
Contributors: * Markus Schorn - initial API and implementation * Andrew Ferguson (Symbian) * Sergey Prigogin (Google)
0
Contributors: * Markus Schorn - initial API and implementation * Andrew Ferguson (Symbian) * Sergey Prigogin (Google) | BaseTestCase.java
[ 0, 1, 0, 0, 0, 0, 0 ]
4,648
BaseTestCase.java
The GCC version to emulate when running tests. * We emulate the latest version whose extensions we support.
0
The GCC version to emulate when running tests. * We emulate the latest version whose extensions we support. | BaseTestCase.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,649
BaseTestCase.java
// Logged by the resources plugin.
0
// Logged by the resources plugin. | BaseTestCase.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,650
BaseTestCase.java
// Iff we don't run as a JUnit Plugin Test.
0
// Iff we don't run as a JUnit Plugin Test. | BaseTestCase.java
[ 0, 0, 0, 0, 0, 0, 1 ]
4,652
BaseTestCase.java
If the logged number of non-OK status objects * differs from the last value passed, the test is failed. If this method is not called * at all, the expected number defaults to zero.
0
If the logged number of non-OK status objects * differs from the last value passed, the test is failed. If this method is not called * at all, the expected number defaults to zero. | BaseTestCase.java
[ 0, 0, 0, 0, 0, 0, 1 ]
4,653
BaseTestCase.java
@param count the expected number of logged error and warning messages
0
@param count the expected number of logged error and warning messages | BaseTestCase.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,654
BaseTestCase.java
Some test steps need synchronizing against a CModel event. This class * is a very basic means of doing that.
0
Some test steps need synchronizing against a CModel event. This class * is a very basic means of doing that. | BaseTestCase.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,656
BaseTestCase.java
// Assertion helpers
0
// Assertion helpers | BaseTestCase.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,657
PopupDateFieldValueChangeEvents.java
* @author Vaadin Ltd
0
* @author Vaadin Ltd | PopupDateFieldValueChangeEvents.java
[ 0, 1, 0, 0, 0, 0, 0 ]
4,659
PopupDateFieldValueChangeEvents.java
* @see com.vaadin.tests.components.AbstractTestUI#getTestDescription()
0
* @see com.vaadin.tests.components.AbstractTestUI#getTestDescription() | PopupDateFieldValueChangeEvents.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,660
PopupDateFieldValueChangeEvents.java
@see com.vaadin.tests.components.AbstractTestUI#setup(com.vaadin.server. * VaadinRequest)
0
@see com.vaadin.tests.components.AbstractTestUI#setup(com.vaadin.server. * VaadinRequest) | PopupDateFieldValueChangeEvents.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,661
PopupDateFieldValueChangeEvents.java
@since
0
@since | PopupDateFieldValueChangeEvents.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,663
SetPathEntriesOperation.java
* An empty array of strings indicating that a project doesn't have any prerequesite projects.
0
* An empty array of strings indicating that a project doesn't have any prerequesite projects. | SetPathEntriesOperation.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,664
SetPathEntriesOperation.java
* @see org.eclipse.cdt.internal.core.model.CModelOperation#executeOperation()
0
* @see org.eclipse.cdt.internal.core.model.CModelOperation#executeOperation() | SetPathEntriesOperation.java
[ 0, 0, 0, 0, 1, 0, 0 ]
4,665
SetPathEntriesOperation.java
// project reference updated - may throw an exception if unable to write .cdtproject file updateProjectReferencesIfNecessary();
0
// project reference updated - may throw an exception if unable to write .cdtproject file updateProjectReferencesIfNecessary(); | SetPathEntriesOperation.java
[ 0, 0, 0, 0, 0, 0, 1 ]
4,666
SetPathEntriesOperation.java
// ensure that if changed, the order is consistent
0
// ensure that if changed, the order is consistent | SetPathEntriesOperation.java
[ 0, 0, 0, 0, 0, 0, 1 ]
4,668
ExternalBuildRunner.java
* @author dschaefer
0
* @author dschaefer | ExternalBuildRunner.java
[ 0, 1, 0, 0, 0, 0, 0 ]
4,670
ExternalBuildRunner.java
// now treated as the same!
0
// now treated as the same! | ExternalBuildRunner.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,672
ExternalBuildRunner.java
// fallback to CWD
0
// fallback to CWD | ExternalBuildRunner.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,673
CASTAmbiguousDeclarator.java
// populate containing scope, so that it will not be affected by the alternative branches.
0
// populate containing scope, so that it will not be affected by the alternative branches. | CASTAmbiguousDeclarator.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,674
CASTAmbiguousDeclarator.java
Contributors: * Markus Schorn - Initial API and implementation * Sergey Prigogin (Google) * Thomas Corbat (IFS)
0
Contributors: * Markus Schorn - Initial API and implementation * Sergey Prigogin (Google) * Thomas Corbat (IFS) | CASTAmbiguousDeclarator.java
[ 0, 1, 0, 0, 0, 0, 0 ]
4,675
CASTAmbiguousDeclarator.java
Handles ambiguities when parsing declarators. * <br> * Example: void f(int (D)); // is D a type?
0
Handles ambiguities when parsing declarators. * <br> * Example: void f(int (D)); // is D a type? | CASTAmbiguousDeclarator.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,676
CASTAmbiguousDeclarator.java
@since 5.0.1
0
@since 5.0.1 | CASTAmbiguousDeclarator.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,677
SwiftTestUtils.java
Utilities used across test cases
0
Utilities used across test cases | SwiftTestUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,678
SwiftTestUtils.java
Get the test URI
0
Get the test URI | SwiftTestUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,679
SwiftTestUtils.java
Assert that a property in the property set matches the expected value
0
Assert that a property in the property set matches the expected value | SwiftTestUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,680
SwiftTestUtils.java
Write a file and read it in, validating the result. Optional flags control * whether file overwrite operations should be enabled, and whether the * file should be deleted afterwards.
0
Write a file and read it in, validating the result. Optional flags control * whether file overwrite operations should be enabled, and whether the * file should be deleted afterwards. | SwiftTestUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,681
SwiftTestUtils.java
Write a file. * Optional flags control * whether file overwrite operations should be enabled
0
Write a file. * Optional flags control * whether file overwrite operations should be enabled | SwiftTestUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,682
SwiftTestUtils.java
* Read the file and convert to a byte dataset
0
* Read the file and convert to a byte dataset | SwiftTestUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,683
SwiftTestUtils.java
* Assert that the array src[0..len] and dest[] are equal
0
* Assert that the array src[0..len] and dest[] are equal | SwiftTestUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,684
SwiftTestUtils.java
the range either side of the first error to print // this is a purely arbitrary number, to aid user debugging
0
the range either side of the first error to print // this is a purely arbitrary number, to aid user debugging | SwiftTestUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,685
SwiftTestUtils.java
Convert a byte to a character for printing. If the * byte value is &lt; 32 -and hence unprintable- the byte is * returned as a two digit hex value
0
Convert a byte to a character for printing. If the * byte value is &lt; 32 -and hence unprintable- the byte is * returned as a two digit hex value | SwiftTestUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,687
SwiftTestUtils.java
report an overridden test as unsupported
0
report an overridden test as unsupported | SwiftTestUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,691
SwiftTestUtils.java
Assert that a path refers to a directory
0
Assert that a path refers to a directory | SwiftTestUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,692
SwiftTestUtils.java
Write the text to a file, returning the converted byte array * for use in validating the round trip
0
Write the text to a file, returning the converted byte array * for use in validating the round trip | SwiftTestUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,693
SwiftTestUtils.java
Touch a file: fails if it is already there
0
Touch a file: fails if it is already there | SwiftTestUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,695
SwiftTestUtils.java
Assert that a file exists and whose {@link FileStatus} entry * declares that this is a file and not a symlink or directory.
0
Assert that a file exists and whose {@link FileStatus} entry * declares that this is a file and not a symlink or directory. | SwiftTestUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,701
SwiftTestUtils.java
Assert that a FileSystem.listStatus on a dir finds the subdir/child entry
0
Assert that a FileSystem.listStatus on a dir finds the subdir/child entry | SwiftTestUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
4,702
SwiftTestUtils.java
* @param conf configuration
0
* @param conf configuration | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,703
SwiftTestUtils.java
* @param props property set
0
* @param props property set | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,704
SwiftTestUtils.java
* @param key property name
0
* @param key property name | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,710
SwiftTestUtils.java
@param delete should the file be deleted afterwards? -with a verification * that it worked. Deletion is not attempted if an assertion has failed * earlier -it is not in a <code>finally{}</code> block.
0
@param delete should the file be deleted afterwards? -with a verification * that it worked. Deletion is not attempted if an assertion has failed * earlier -it is not in a <code>finally{}</code> block. | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,711
SwiftTestUtils.java
* @param fs filesystem
0
* @param fs filesystem | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,716
SwiftTestUtils.java
* @param path path to read from
0
* @param path path to read from | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,717
SwiftTestUtils.java
* @param len length of data to read
0
* @param len length of data to read | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,718
SwiftTestUtils.java
* @return the bytes
0
* @return the bytes | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,719
SwiftTestUtils.java
* @param len length of bytes to compare
0
* @param len length of bytes to compare | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,720
SwiftTestUtils.java
* @param src source data
0
* @param src source data | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,721
SwiftTestUtils.java
* @param dest actual
0
* @param dest actual | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,724
SwiftTestUtils.java
* @param message text message
0
* @param message text message | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,725
SwiftTestUtils.java
* @param failure what failed
0
* @param failure what failed | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,727
SwiftTestUtils.java
* @param message message to use in the text
0
* @param message message to use in the text | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,728
SwiftTestUtils.java
* @param fs filesystem
0
* @param fs filesystem | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,729
SwiftTestUtils.java
* @param path path of the file
0
* @param path path of the file | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,730
SwiftTestUtils.java
* @param expected expected length
0
* @param expected expected length | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,731
SwiftTestUtils.java
* @param fs filesystem
0
* @param fs filesystem | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,732
SwiftTestUtils.java
* @param path path of the directory
0
* @param path path of the directory | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,734
SwiftTestUtils.java
* @param fs filesystem
0
* @param fs filesystem | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,735
SwiftTestUtils.java
* @param path path of file
0
* @param path path of file | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,737
SwiftTestUtils.java
* @param text text to write
0
* @param text text to write | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,739
SwiftTestUtils.java
* @param fs filesystem
0
* @param fs filesystem | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,740
SwiftTestUtils.java
* @param path path
0
* @param path path | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,741
SwiftTestUtils.java
* @param fs filesystem
0
* @param fs filesystem | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,742
SwiftTestUtils.java
* @param path path to read
0
* @param path path to read | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,744
SwiftTestUtils.java
* @return the bytes read and converted to a string
0
* @return the bytes read and converted to a string | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,746
SwiftTestUtils.java
* @param filename name of the file
0
* @param filename name of the file | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,747
SwiftTestUtils.java
* @param len length of data
0
* @param len length of data | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,749
SwiftTestUtils.java
* @return the newly generated dataset
0
* @return the newly generated dataset | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,750
SwiftTestUtils.java
* @param modulo the modulo
0
* @param modulo the modulo | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,752
SwiftTestUtils.java
* @param message message to include in the assertion failure message
0
* @param message message to include in the assertion failure message | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,753
SwiftTestUtils.java
* @param path path in the filesystem
0
* @param path path in the filesystem | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,754
SwiftTestUtils.java
* @param fileSystem filesystem to examine
0
* @param fileSystem filesystem to examine | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,755
SwiftTestUtils.java
* @param message message to include in the assertion failure message
0
* @param message message to include in the assertion failure message | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]
4,756
SwiftTestUtils.java
* @param path path in the filesystem
0
* @param path path in the filesystem | SwiftTestUtils.java
[ 0, 0, 0, 1, 0, 0, 0 ]