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
|
|---|---|---|---|---|---|
4,369
|
TestUTF8.java
|
// Decode back to String using our own decoder
| 0
|
// Decode back to String using our own decoder | TestUTF8.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,370
|
TestUTF8.java
|
* Test that decoding invalid UTF8 throws an appropriate error message.
| 0
|
* Test that decoding invalid UTF8 throws an appropriate error message. | TestUTF8.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,371
|
TestUTF8.java
|
* Test for a 5-byte UTF8 sequence, which is now considered illegal.
| 0
|
* Test for a 5-byte UTF8 sequence, which is now considered illegal. | TestUTF8.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,372
|
TestUTF8.java
|
Test that decoding invalid UTF8 due to truncation yields the correct
* exception type.
| 0
|
Test that decoding invalid UTF8 due to truncation yields the correct
* exception type. | TestUTF8.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,373
|
TestUTF8.java
|
// Truncated CAT FACE character -- this is a 4-byte sequence, but we
// only have the first three bytes.
| 0
|
// Truncated CAT FACE character -- this is a 4-byte sequence, but we
// only have the first three bytes. | TestUTF8.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
4,376
|
CImperativeSymbolTable.java
|
Used to compute binding resolution during the parse.
*
* Imperative style symbol table with destructive update.
| 0
|
Used to compute binding resolution during the parse.
*
* Imperative style symbol table with destructive update. | CImperativeSymbolTable.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,377
|
CImperativeSymbolTable.java
|
Consists of two data structures, a hash table for fast lookup
* of bindings given their names, and a stack used to keep track
* of scopes.
| 0
|
Consists of two data structures, a hash table for fast lookup
* of bindings given their names, and a stack used to keep track
* of scopes. | CImperativeSymbolTable.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
4,378
|
CImperativeSymbolTable.java
|
* Represents a scope in the C language.
| 0
|
* Represents a scope in the C language. | CImperativeSymbolTable.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,379
|
CImperativeSymbolTable.java
|
List of buckets that have been modified in the current scope.
* When the scope is closed these buckets are popped, returning the
* symbol table to the state it was in before the scope was opened.
| 0
|
List of buckets that have been modified in the current scope.
* When the scope is closed these buckets are popped, returning the
* symbol table to the state it was in before the scope was opened. | CImperativeSymbolTable.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,380
|
CImperativeSymbolTable.java
|
* A bucket object used to hold elements in the hash table.
| 0
|
* A bucket object used to hold elements in the hash table. | CImperativeSymbolTable.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,381
|
CImperativeSymbolTable.java
|
open the global scope
| 0
|
open the global scope | CImperativeSymbolTable.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,382
|
CImperativeSymbolTable.java
|
* Hashes a key into an index in the hash table.
| 0
|
* Hashes a key into an index in the hash table. | CImperativeSymbolTable.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,383
|
CImperativeSymbolTable.java
|
* Adds a binding to the symbol table in the current scope.
| 0
|
* Adds a binding to the symbol table in the current scope. | CImperativeSymbolTable.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,384
|
CImperativeSymbolTable.java
|
Returns the binding associated with the given identifier, or
* null if there is none.
| 0
|
Returns the binding associated with the given identifier, or
* null if there is none. | CImperativeSymbolTable.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,385
|
CImperativeSymbolTable.java
|
Opens a new inner scope for identifiers.
| 0
|
Opens a new inner scope for identifiers. | CImperativeSymbolTable.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,386
|
CImperativeSymbolTable.java
|
@param mask A bit mask used to identify the namespace of the identifier.
| 0
|
@param mask A bit mask used to identify the namespace of the identifier. | CImperativeSymbolTable.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
4,387
|
CImperativeSymbolTable.java
|
@param mask A bit mask used to identify the namespace of the identifier.
| 0
|
@param mask A bit mask used to identify the namespace of the identifier. | CImperativeSymbolTable.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
4,388
|
CImperativeSymbolTable.java
|
If an identifier is added that already exists in an outer scope
* then it will be shadowed.
| 0
|
If an identifier is added that already exists in an outer scope
* then it will be shadowed. | CImperativeSymbolTable.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
4,389
|
CImperativeSymbolTable.java
|
* Remove all the symbols defined in the scope that is being closed.
| 0
|
* Remove all the symbols defined in the scope that is being closed. | CImperativeSymbolTable.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,390
|
CImperativeSymbolTable.java
|
// pop each bucket that was modified in the scope
| 0
|
// pop each bucket that was modified in the scope | CImperativeSymbolTable.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,391
|
CImperativeSymbolTable.java
|
// pop the scopeStack
| 0
|
// pop the scopeStack | CImperativeSymbolTable.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,392
|
CImperativeSymbolTable.java
|
@param scope An IScope object that will be used to represent this scope.
| 0
|
@param scope An IScope object that will be used to represent this scope. | CImperativeSymbolTable.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
4,394
|
TestTextInputFormat.java
|
// A reporter that does nothing
| 0
|
// A reporter that does nothing | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,395
|
TestTextInputFormat.java
|
// for a variety of lengths
| 0
|
// for a variety of lengths | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,396
|
TestTextInputFormat.java
|
// create a file with length entries
| 0
|
// create a file with length entries | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,397
|
TestTextInputFormat.java
|
// try splitting the file in a variety of sizes
| 0
|
// try splitting the file in a variety of sizes | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,398
|
TestTextInputFormat.java
|
// check each split
| 0
|
// check each split | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,399
|
TestTextInputFormat.java
|
// Create the codec
| 0
|
// Create the codec | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,400
|
TestTextInputFormat.java
|
// A reporter that does nothing
| 0
|
// A reporter that does nothing | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,401
|
TestTextInputFormat.java
|
// for a variety of lengths
| 0
|
// for a variety of lengths | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,402
|
TestTextInputFormat.java
|
// create a file with length entries
| 0
|
// create a file with length entries | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,403
|
TestTextInputFormat.java
|
// try splitting the file in a variety of sizes
| 0
|
// try splitting the file in a variety of sizes | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,404
|
TestTextInputFormat.java
|
// check each split
| 0
|
// check each split | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,405
|
TestTextInputFormat.java
|
Test readLine for various kinds of line termination sequneces.
* Varies buffer size to stress test. Also check that returned
* value matches the string length.
| 0
|
Test readLine for various kinds of line termination sequneces.
* Varies buffer size to stress test. Also check that returned
* value matches the string length. | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,406
|
TestTextInputFormat.java
|
//"a"\n
| 0
|
//"a"\n | TestTextInputFormat.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
4,407
|
TestTextInputFormat.java
|
//"bb"\n
| 0
|
//"bb"\n | TestTextInputFormat.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
4,408
|
TestTextInputFormat.java
|
//""\n
| 0
|
//""\n | TestTextInputFormat.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
4,409
|
TestTextInputFormat.java
|
//"ccc"\r
| 0
|
//"ccc"\r | TestTextInputFormat.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
4,410
|
TestTextInputFormat.java
|
//dddd\r
| 0
|
//dddd\r | TestTextInputFormat.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
4,411
|
TestTextInputFormat.java
|
//""\r
| 0
|
//""\r | TestTextInputFormat.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
4,412
|
TestTextInputFormat.java
|
//""\r\n
| 0
|
//""\r\n | TestTextInputFormat.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
4,413
|
TestTextInputFormat.java
|
//""\r\n
| 0
|
//""\r\n | TestTextInputFormat.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
4,414
|
TestTextInputFormat.java
|
//"eeeee"EOF
| 0
|
//"eeeee"EOF | TestTextInputFormat.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
4,415
|
TestTextInputFormat.java
|
Test readLine for correct interpretation of maxLineLength
* (returned string should be clipped at maxLineLength, and the
* remaining bytes on the same line should be thrown out).
* Also check that returned value matches the string length.
* Varies buffer size to stress test.
| 0
|
Test readLine for correct interpretation of maxLineLength
* (returned string should be clipped at maxLineLength, and the
* remaining bytes on the same line should be thrown out).
* Also check that returned value matches the string length.
* Varies buffer size to stress test. | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,416
|
TestTextInputFormat.java
|
// max LRR pos + LineReader buf
| 0
|
// max LRR pos + LineReader buf | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,417
|
TestTextInputFormat.java
|
/**
*
| 0
|
/**
* | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,418
|
TestTextInputFormat.java
|
* @param args
| 0
|
* @param args | TestTextInputFormat.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
4,419
|
TestTextInputFormat.java
|
* Parse the command line arguments into lines and display the result.
| 0
|
* Parse the command line arguments into lines and display the result. | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,420
|
TestTextInputFormat.java
|
* Test using the gzip codec and an empty input file
| 0
|
* Test using the gzip codec and an empty input file | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,421
|
TestTextInputFormat.java
|
* Test using the gzip codec for reading
| 0
|
* Test using the gzip codec for reading | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,422
|
TestTextInputFormat.java
|
// test another constructor
| 0
|
// test another constructor | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,423
|
TestTextInputFormat.java
|
// used by LRR
| 0
|
// used by LRR | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,424
|
TestTextInputFormat.java
|
// max LRR pos + LineReader buf
| 0
|
// max LRR pos + LineReader buf | TestTextInputFormat.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,425
|
OrderBy.java
|
OrderBy represents a sorting rule to be applied to a query made by the
* SQLContainer's QueryDelegate.
*
* The sorting rule is simple and contains only the affected column's name and
* the direction of the sort.
| 0
|
OrderBy represents a sorting rule to be applied to a query made by the
* SQLContainer's QueryDelegate.
*
* The sorting rule is simple and contains only the affected column's name and
* the direction of the sort. | OrderBy.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,426
|
OrderBy.java
|
* Prevent instantiation without required parameters.
| 0
|
* Prevent instantiation without required parameters. | OrderBy.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,428
|
BreakpointImageProvider.java
|
* @see org.eclipse.ui.texteditor.IAnnotationImageProvider#getManagedImage(org.eclipse.jface.text.source.Annotation)
| 0
|
* @see org.eclipse.ui.texteditor.IAnnotationImageProvider#getManagedImage(org.eclipse.jface.text.source.Annotation) | BreakpointImageProvider.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
4,429
|
BreakpointImageProvider.java
|
* @see org.eclipse.ui.texteditor.IAnnotationImageProvider#getImageDescriptorId(org.eclipse.jface.text.source.Annotation)
| 0
|
* @see org.eclipse.ui.texteditor.IAnnotationImageProvider#getImageDescriptorId(org.eclipse.jface.text.source.Annotation) | BreakpointImageProvider.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
4,430
|
BreakpointImageProvider.java
|
* @see org.eclipse.ui.texteditor.IAnnotationImageProvider#getImageDescriptor(java.lang.String)
| 0
|
* @see org.eclipse.ui.texteditor.IAnnotationImageProvider#getImageDescriptor(java.lang.String) | BreakpointImageProvider.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
4,431
|
BreakpointImageProvider.java
|
* Provides breakpoint's image information.
| 0
|
* Provides breakpoint's image information. | BreakpointImageProvider.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,433
|
Include.java
|
// Try the current directory.
| 0
|
// Try the current directory. | Include.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,434
|
ReferenceCountMap.java
|
@link ReferenceCounter
| 0
|
@link ReferenceCounter | ReferenceCountMap.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
4,435
|
ReferenceCountMap.java
|
@param key Key to put in reference map
| 0
|
@param key Key to put in reference map | ReferenceCountMap.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
4,436
|
ReferenceCountMap.java
|
* @return Referenced instance
| 0
|
* @return Referenced instance | ReferenceCountMap.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
4,437
|
ReferenceCountMap.java
|
* @param key Key to remove the reference.
| 0
|
* @param key Key to remove the reference. | ReferenceCountMap.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
4,438
|
ReferenceCountMap.java
|
* @return
| 0
|
* @return | ReferenceCountMap.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
4,439
|
ReferenceCountMap.java
|
* Interface for the reference count holder
| 0
|
* Interface for the reference count holder | ReferenceCountMap.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,440
|
ReferenceCountMap.java
|
* Clear the contents
| 0
|
* Clear the contents | ReferenceCountMap.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,441
|
ReferenceCountMap.java
|
* Get the number of unique elements
| 0
|
* Get the number of unique elements | ReferenceCountMap.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,442
|
ReferenceCountMap.java
|
* Get the reference count for the key
| 0
|
* Get the reference count for the key | ReferenceCountMap.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,443
|
ReferenceCountMap.java
|
* Get entries in the reference Map.
| 0
|
* Get entries in the reference Map. | ReferenceCountMap.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,444
|
ReferenceCountMap.java
|
*
* Delete the reference. Decrease the reference count for the instance, if
* any. On all references removal delete the instance from the map.
| 0
|
*
* Delete the reference. Decrease the reference count for the instance, if
* any. On all references removal delete the instance from the map. | ReferenceCountMap.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,445
|
ReferenceCountMap.java
|
Add the reference. If the instance already present, just increase the
* reference count.
| 0
|
Add the reference. If the instance already present, just increase the
* reference count. | ReferenceCountMap.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,446
|
ReferenceCountMap.java
|
Class for de-duplication of instances. <br>
* Hold the references count to a single instance. If there are no references
* then the entry will be removed.<br>
| 0
|
Class for de-duplication of instances. <br>
* Hold the references count to a single instance. If there are no references
* then the entry will be removed.<br> | ReferenceCountMap.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,447
|
ReferenceCountMap.java
|
Type E should implement {@link ReferenceCounter}<br>
| 0
|
Type E should implement {@link ReferenceCounter}<br> | ReferenceCountMap.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
4,448
|
ReferenceCountMap.java
|
* Note: This class is NOT thread-safe.
| 0
|
* Note: This class is NOT thread-safe. | ReferenceCountMap.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
4,451
|
TestGetSplitHosts.java
|
// Contributions By Racks are
// Rack1 175
// Rack2 275
// Rack3 150
// So, Rack2 hosts, host4 and host 3 should be returned
// even if their individual contribution is not the highest
| 0
|
// Contributions By Racks are
// Rack1 175
// Rack2 275
// Rack3 150
// So, Rack2 hosts, host4 and host 3 should be returned
// even if their individual contribution is not the highest | TestGetSplitHosts.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
4,452
|
TestGetSplitHosts.java
|
// Now Create the blocks without topology information
| 0
|
// Now Create the blocks without topology information | TestGetSplitHosts.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,453
|
TestGetSplitHosts.java
|
// host1 makes the highest contribution among all hosts
// So, that should be returned before others
| 0
|
// host1 makes the highest contribution among all hosts
// So, that should be returned before others | TestGetSplitHosts.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
4,454
|
ShellBasedIdMapping.java
|
@link IdMappingServiceProvider
| 0
|
@link IdMappingServiceProvider | ShellBasedIdMapping.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
4,455
|
ShellBasedIdMapping.java
|
* A simple shell-based implementation of {@link IdMappingServiceProvider}
* Map id to user name or group name. It does update every 15 minutes. Only a
* single instance of this class is expected to be on the server.
| 0
|
* A simple shell-based implementation of {@link IdMappingServiceProvider}
* Map id to user name or group name. It does update every 15 minutes. Only a
* single instance of this class is expected to be on the server. | ShellBasedIdMapping.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,456
|
ShellBasedIdMapping.java
|
The maps are incrementally updated as described below:
* 1. Initialize the maps as empty.
* 2. Incrementally update the maps
* - When ShellBasedIdMapping is requested for user or group name given
* an ID, or for ID given a user or group name, do look up in the map
* first, if it doesn't exist, find the corresponding entry with shell
* command, and insert the entry to the maps.
* - When group ID is requested for a given group name, and if the
* group name is numerical, the full group map is loaded. Because we
* don't have a good way to find the entry for a numerical group name,
* loading the full map helps to get in all entries.
* 3. Periodically refresh the maps for both user and group, e.g,
* do step 1.
| 0
|
The maps are incrementally updated as described below:
* 1. Initialize the maps as empty.
* 2. Incrementally update the maps
* - When ShellBasedIdMapping is requested for user or group name given
* an ID, or for ID given a user or group name, do look up in the map
* first, if it doesn't exist, find the corresponding entry with shell
* command, and insert the entry to the maps.
* - When group ID is requested for a given group name, and if the
* group name is numerical, the full group map is loaded. Because we
* don't have a good way to find the entry for a numerical group name,
* loading the full map helps to get in all entries.
* 3. Periodically refresh the maps for both user and group, e.g,
* do step 1. | ShellBasedIdMapping.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
4,457
|
ShellBasedIdMapping.java
|
Note: for testing purpose, step 1 may initial the maps with full mapping
* when using constructor
| 0
|
Note: for testing purpose, step 1 may initial the maps with full mapping
* when using constructor | ShellBasedIdMapping.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
4,458
|
ShellBasedIdMapping.java
|
@link ShellBasedIdMapping#ShellBasedIdMapping(Configuration, boolean)
| 0
|
@link ShellBasedIdMapping#ShellBasedIdMapping(Configuration, boolean) | ShellBasedIdMapping.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
4,459
|
ShellBasedIdMapping.java
|
/** Shell commands to get users and groups */
| 0
|
/** Shell commands to get users and groups */ | ShellBasedIdMapping.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,460
|
ShellBasedIdMapping.java
|
// Last time the static map was modified, measured time difference in
// milliseconds since midnight, January 1, 1970 UTC
| 0
|
// Last time the static map was modified, measured time difference in
// milliseconds since midnight, January 1, 1970 UTC | ShellBasedIdMapping.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,461
|
ShellBasedIdMapping.java
|
// Used for parsing the static mapping file.
| 0
|
// Used for parsing the static mapping file. | ShellBasedIdMapping.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,462
|
ShellBasedIdMapping.java
|
// Maps for id to name map. Guarded by this object monitor lock
| 0
|
// Maps for id to name map. Guarded by this object monitor lock | ShellBasedIdMapping.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,463
|
ShellBasedIdMapping.java
|
Last time maps were updated
| 0
|
Last time maps were updated | ShellBasedIdMapping.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,465
|
ShellBasedIdMapping.java
|
@param conf the configuration
| 0
|
@param conf the configuration | ShellBasedIdMapping.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
4,466
|
ShellBasedIdMapping.java
|
@param constructFullMapAtInit initialize the maps with full mapping when
* true, otherwise initialize the maps to empty. This parameter is
* intended for testing only, its default is false.
| 0
|
@param constructFullMapAtInit initialize the maps with full mapping when
* true, otherwise initialize the maps to empty. This parameter is
* intended for testing only, its default is false. | ShellBasedIdMapping.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
4,467
|
ShellBasedIdMapping.java
|
// Minimal interval is 1 minute
| 0
|
// Minimal interval is 1 minute | ShellBasedIdMapping.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,468
|
ShellBasedIdMapping.java
|
Constructor
* initialize user and group maps to empty
| 0
|
Constructor
* initialize user and group maps to empty | ShellBasedIdMapping.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,469
|
ShellBasedIdMapping.java
|
* @param conf the configuration
| 0
|
* @param conf the configuration | ShellBasedIdMapping.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
4,470
|
ShellBasedIdMapping.java
|
// If can't update the maps, will keep using the old ones
| 0
|
// If can't update the maps, will keep using the old ones | ShellBasedIdMapping.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
4,471
|
ShellBasedIdMapping.java
|
uid and gid are defined as uint32 in linux. Some systems create
* (intended or unintended) <nfsnobody, 4294967294> kind of <name,Id>
* mapping, where 4294967294 is 2**32-2 as unsigned int32. As an example,
* https://bugzilla.redhat.com/show_bug.cgi?id=511876.
| 0
|
uid and gid are defined as uint32 in linux. Some systems create
* (intended or unintended) <nfsnobody, 4294967294> kind of <name,Id>
* mapping, where 4294967294 is 2**32-2 as unsigned int32. As an example,
* https://bugzilla.redhat.com/show_bug.cgi?id=511876. | ShellBasedIdMapping.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,472
|
ShellBasedIdMapping.java
|
Because user or group id are treated as Integer (signed integer or int32)
* here, the number 4294967294 is out of range. The solution is to convert
* uint32 to int32, so to map the out-of-range ID to the negative side of
* Integer, e.g. 4294967294 maps to -2 and 4294967295 maps to -1.
| 0
|
Because user or group id are treated as Integer (signed integer or int32)
* here, the number 4294967294 is out of range. The solution is to convert
* uint32 to int32, so to map the out-of-range ID to the negative side of
* Integer, e.g. 4294967294 maps to -2 and 4294967295 maps to -1. | ShellBasedIdMapping.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
4,473
|
ShellBasedIdMapping.java
|
Get the list of users or groups returned by the specified command,
* and save them in the corresponding map.
| 0
|
Get the list of users or groups returned by the specified command,
* and save them in the corresponding map. | ShellBasedIdMapping.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,474
|
ShellBasedIdMapping.java
|
// HDFS can't differentiate duplicate names with simple authentication
| 0
|
// HDFS can't differentiate duplicate names with simple authentication | ShellBasedIdMapping.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,475
|
ShellBasedIdMapping.java
|
// silently ignore equivalent entries
| 0
|
// silently ignore equivalent entries | ShellBasedIdMapping.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
4,476
|
ShellBasedIdMapping.java
|
// only got here if we didn't return false
| 0
|
// only got here if we didn't return false | ShellBasedIdMapping.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.