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 |
|---|---|---|---|---|---|
8,474 | BlockPoolSliceStorage.java | /**
* Create a rolling upgrade marker file for each BP storage root, if it
* does not exist already.
*/ | 0 | /**
* Create a rolling upgrade marker file for each BP storage root, if it
* does not exist already.
*/ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,475 | BlockPoolSliceStorage.java | /**
* Check whether the rolling upgrade marker file exists for each BP storage
* root. If it does exist, then the marker file is cleared and more
* importantly the layout upgrade is finalized.
*/ | 0 | /**
* Check whether the rolling upgrade marker file exists for each BP storage
* root. If it does exist, then the marker file is cleared and more
* importantly the layout upgrade is finalized.
*/ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,476 | BlockPoolSliceStorage.java | /** trash is enabled if at least one storage directory contains trash root */ | 0 | /** trash is enabled if at least one storage directory contains trash root */ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,477 | BlockPoolSliceStorage.java | * Delete all files and directories in the trash directories. | 0 | * Delete all files and directories in the trash directories. | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,478 | BlockPoolSliceStorage.java | * @return the target directory to restore a previously deleted block file. | 0 | * @return the target directory to restore a previously deleted block file. | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,480 | BlockPoolSliceStorage.java | * @return root directory for block pool storage | 0 | * @return root directory for block pool storage | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,482 | BlockPoolSliceStorage.java | * @param bpID block pool ID | 0 | * @param bpID block pool ID | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,483 | BlockPoolSliceStorage.java | * @param fromDir directory where the snapshot is stored | 0 | * @param fromDir directory where the snapshot is stored | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,484 | BlockPoolSliceStorage.java | * @param toDir the current data directory | 0 | * @param toDir the current data directory | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,485 | BlockPoolSliceStorage.java | * @param bpSd Block pool storage directory at <SD>/current/<bpid> | 0 | * @param bpSd Block pool storage directory at <SD>/current/<bpid> | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,486 | BlockPoolSliceStorage.java | * @param detachDir detach directory | 0 | * @param detachDir detach directory | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,487 | BlockPoolSliceStorage.java | * @param bpSd storage directory <SD>/current/<bpid> | 0 | * @param bpSd storage directory <SD>/current/<bpid> | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,489 | BlockPoolSliceStorage.java | * @param sd storage directory <SD>/current/<bpid> | 0 | * @param sd storage directory <SD>/current/<bpid> | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,490 | BlockPoolSliceStorage.java | * @param nsInfo namespace info | 0 | * @param nsInfo namespace info | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,491 | BlockPoolSliceStorage.java | * @param startOpt startup option | 0 | * @param startOpt startup option | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,492 | BlockPoolSliceStorage.java | * @return true if the new properties has been written. | 0 | * @return true if the new properties has been written. | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,493 | BlockPoolSliceStorage.java | @param absPathToRemove the absolute path of the root for the block pool
* level storage to remove. | 0 | @param absPathToRemove the absolute path of the root for the block pool
* level storage to remove. | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,494 | BlockPoolSliceStorage.java | * @param bpSdir the block pool storage | 0 | * @param bpSdir the block pool storage | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,495 | BlockPoolSliceStorage.java | * @param nsInfo the name space info | 0 | * @param nsInfo the name space info | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,496 | BlockPoolSliceStorage.java | * @param dnCurDir DataStorage current directory | 0 | * @param dnCurDir DataStorage current directory | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,497 | BlockPoolSliceStorage.java | * @param nsInfo the name space info | 0 | * @param nsInfo the name space info | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,499 | BlockPoolSliceStorage.java | * @param dataDirs storage directories of block pool | 0 | * @param dataDirs storage directories of block pool | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,500 | BlockPoolSliceStorage.java | * @param startOpt startup option | 0 | * @param startOpt startup option | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,501 | BlockPoolSliceStorage.java | * @param nsInfo namespace information | 0 | * @param nsInfo namespace information | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,503 | BlockPoolSliceStorage.java | * @param startOpt startup option | 0 | * @param startOpt startup option | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,504 | BlockPoolSliceStorage.java | * @return an array of loaded block pool directories. | 0 | * @return an array of loaded block pool directories. | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,507 | BlockPoolSliceStorage.java | * @param startOpt startup option | 0 | * @param startOpt startup option | BlockPoolSliceStorage.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,512 | BlockPoolSliceStorage.java | /**
* Get a target subdirectory under current/ for a given block file that is being
* restored from trash.
*
* The subdirectory structure under trash/ mirrors that under current/ to keep
* implicit memory of where the files are to be restored.
*
* @return the target directory to restore a previously deleted block file.
*/ | 0 | /**
* Get a target subdirectory under current/ for a given block file that is being
* restored from trash.
*
* The subdirectory structure under trash/ mirrors that under current/ to keep
* implicit memory of where the files are to be restored.
*
* @return the target directory to restore a previously deleted block file.
*/ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,515 | BlockPoolSliceStorage.java | /**
* Get a block pool storage root based on data node storage root
* @param bpID block pool ID
* @param dnCurDir data node storage root directory
* @return root directory for block pool storage
*/ | 0 | /**
* Get a block pool storage root based on data node storage root
* @param bpID block pool ID
* @param dnCurDir data node storage root directory
* @return root directory for block pool storage
*/ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,518 | BlockPoolSliceStorage.java | // do the link
// hardlink finalized blocks in tmpDir | 0 | // do the link
// hardlink finalized blocks in tmpDir | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,520 | BlockPoolSliceStorage.java | // delete finalized.tmp dir in a separate thread | 0 | // delete finalized.tmp dir in a separate thread | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,521 | BlockPoolSliceStorage.java | // rename previous to finalized.tmp | 0 | // rename previous to finalized.tmp | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,522 | BlockPoolSliceStorage.java | // already finalized | 0 | // already finalized | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,525 | BlockPoolSliceStorage.java | // 3. delete removed.tmp dir | 0 | // 3. delete removed.tmp dir | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,526 | BlockPoolSliceStorage.java | // 2. rename previous to current | 0 | // 2. rename previous to current | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,528 | BlockPoolSliceStorage.java | // We allow rollback to a state, which is either consistent with
// the namespace state or can be further upgraded to it.
// In another word, we can only roll back when ( storedLV >= software LV)
// && ( DN.previousCTime <= NN.ctime) | 0 | // We allow rollback to a state, which is either consistent with
// the namespace state or can be further upgraded to it.
// In another word, we can only roll back when ( storedLV >= software LV)
// && ( DN.previousCTime <= NN.ctime) | BlockPoolSliceStorage.java | [
0,
0,
1,
0,
0,
0,
0
] |
8,531 | BlockPoolSliceStorage.java | // If <SD>/previous directory exists delete it | 0 | // If <SD>/previous directory exists delete it | BlockPoolSliceStorage.java | [
0,
0,
0,
0,
0,
0,
1
] |
8,532 | BlockPoolSliceStorage.java | <ol>
* <li>If <SD>/current/<bpid>/previous exists then delete it</li>
* <li>Rename <SD>/current/<bpid>/current to
* <SD>/current/bpid/current/previous.tmp</li>
* <li>Create new <SD>current/<bpid>/current directory</li>
* <ol>
* <li>Hard links for block files are created from previous.tmp to current</li>
* <li>Save new version file in current directory</li>
* </ol>
* <li>Rename previous.tmp to previous</li> </ol> | 0 | <ol>
* <li>If <SD>/current/<bpid>/previous exists then delete it</li>
* <li>Rename <SD>/current/<bpid>/current to
* <SD>/current/bpid/current/previous.tmp</li>
* <li>Create new <SD>current/<bpid>/current directory</li>
* <ol>
* <li>Hard links for block files are created from previous.tmp to current</li>
* <li>Save new version file in current directory</li>
* </ol>
* <li>Rename previous.tmp to previous</li> </ol> | BlockPoolSliceStorage.java | [
0,
0,
0,
0,
0,
0,
1
] |
8,533 | BlockPoolSliceStorage.java | Rollback if previousLV >= LAYOUT_VERSION && prevCTime <= namenode.cTime.
* Upgrade if this.LV > LAYOUT_VERSION || this.cTime < namenode.cTime Regular
* startup if this.LV = LAYOUT_VERSION && this.cTime = namenode.cTime | 0 | Rollback if previousLV >= LAYOUT_VERSION && prevCTime <= namenode.cTime.
* Upgrade if this.LV > LAYOUT_VERSION || this.cTime < namenode.cTime Regular
* startup if this.LV = LAYOUT_VERSION && this.cTime = namenode.cTime | BlockPoolSliceStorage.java | [
0,
0,
0,
0,
0,
0,
1
] |
8,534 | BlockPoolSliceStorage.java | /**
* Manages storage for the set of BlockPoolSlices which share a particular
* block pool id, on this DataNode.
*
* This class supports the following functionality:
* <ol>
* <li> Formatting a new block pool storage</li>
* <li> Recovering a storage state to a consistent state (if possible></li>
* <li> Taking a snapshot of the block pool during upgrade</li>
* <li> Rolling back a block pool to a previous snapshot</li>
* <li> Finalizing block storage by deletion of a snapshot</li>
* </ul>
*
* @see Storage
*/ | 0 | /**
* Manages storage for the set of BlockPoolSlices which share a particular
* block pool id, on this DataNode.
*
* This class supports the following functionality:
* <ol>
* <li> Formatting a new block pool storage</li>
* <li> Recovering a storage state to a consistent state (if possible></li>
* <li> Taking a snapshot of the block pool during upgrade</li>
* <li> Rolling back a block pool to a previous snapshot</li>
* <li> Finalizing block storage by deletion of a snapshot</li>
* </ul>
*
* @see Storage
*/ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,535 | BlockPoolSliceStorage.java | // id of the blockpool | 0 | // id of the blockpool | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,536 | BlockPoolSliceStorage.java | /**
* These maps are used as an optimization to avoid one filesystem operation
* per storage on each heartbeat response.
*/ | 0 | /**
* These maps are used as an optimization to avoid one filesystem operation
* per storage on each heartbeat response.
*/ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,537 | BlockPoolSliceStorage.java | /**
* Load one storage directory. Recover from previous transitions if required.
*
* @param nsInfo namespace information
* @param dataDir the root path of the storage directory
* @param startOpt startup option
* @return the StorageDirectory successfully loaded.
* @throws IOException
*/ | 0 | /**
* Load one storage directory. Recover from previous transitions if required.
*
* @param nsInfo namespace information
* @param dataDir the root path of the storage directory
* @param startOpt startup option
* @return the StorageDirectory successfully loaded.
* @throws IOException
*/ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,538 | BlockPoolSliceStorage.java | // format | 0 | // format | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,539 | BlockPoolSliceStorage.java | // recovery part is common | 0 | // recovery part is common | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,540 | BlockPoolSliceStorage.java | // 2. Do transitions
// Each storage directory is treated individually.
// During startup some of them can upgrade or roll back
// while others could be up-to-date for the regular startup. | 0 | // 2. Do transitions
// Each storage directory is treated individually.
// During startup some of them can upgrade or roll back
// while others could be up-to-date for the regular startup. | BlockPoolSliceStorage.java | [
0,
0,
1,
0,
0,
0,
0
] |
8,541 | BlockPoolSliceStorage.java | /**
* Analyze and load storage directories. Recover from previous transitions if
* required.
*
* The block pool storages are either all analyzed or none of them is loaded.
* Therefore, a failure on loading any block pool storage results a faulty
* data volume.
*
* @param nsInfo namespace information
* @param dataDirs storage directories of block pool
* @param startOpt startup option
* @return an array of loaded block pool directories.
* @throws IOException on error
*/ | 0 | /**
* Analyze and load storage directories. Recover from previous transitions if
* required.
*
* The block pool storages are either all analyzed or none of them is loaded.
* Therefore, a failure on loading any block pool storage results a faulty
* data volume.
*
* @param nsInfo namespace information
* @param dataDirs storage directories of block pool
* @param startOpt startup option
* @return an array of loaded block pool directories.
* @throws IOException on error
*/ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,542 | BlockPoolSliceStorage.java | // sd is locked but not opened | 0 | // sd is locked but not opened | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,544 | BlockPoolSliceStorage.java | /**
* Format a block pool slice storage.
* @param dnCurDir DataStorage current directory
* @param nsInfo the name space info
* @throws IOException Signals that an I/O exception has occurred.
*/ | 0 | /**
* Format a block pool slice storage.
* @param dnCurDir DataStorage current directory
* @param nsInfo the name space info
* @throws IOException Signals that an I/O exception has occurred.
*/ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,545 | BlockPoolSliceStorage.java | /**
* Format a block pool slice storage.
* @param bpSdir the block pool storage
* @param nsInfo the name space info
* @throws IOException Signals that an I/O exception has occurred.
*/ | 0 | /**
* Format a block pool slice storage.
* @param bpSdir the block pool storage
* @param nsInfo the name space info
* @throws IOException Signals that an I/O exception has occurred.
*/ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,547 | BlockPoolSliceStorage.java | /**
* Remove block pool level storage directory.
* @param absPathToRemove the absolute path of the root for the block pool
* level storage to remove.
*/ | 0 | /**
* Remove block pool level storage directory.
* @param absPathToRemove the absolute path of the root for the block pool
* level storage to remove.
*/ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,549 | BlockPoolSliceStorage.java | /** Validate and set block pool ID */ | 0 | /** Validate and set block pool ID */ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,553 | BlockPoolSliceStorage.java | // regular startup | 0 | // regular startup | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,554 | BlockPoolSliceStorage.java | // upgrade | 0 | // upgrade | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,556 | BlockPoolSliceStorage.java | /**
* Upgrade to any release after 0.22 (0.22 included) release e.g. 0.22 => 0.23
* Upgrade procedure is as follows:
* <ol>
* <li>If <SD>/current/<bpid>/previous exists then delete it</li>
* <li>Rename <SD>/current/<bpid>/current to
* <SD>/current/bpid/current/previous.tmp</li>
* <li>Create new <SD>current/<bpid>/current directory</li>
* <ol>
* <li>Hard links for block files are created from previous.tmp to current</li>
* <li>Save new version file in current directory</li>
* </ol>
* <li>Rename previous.tmp to previous</li> </ol>
*
* @param bpSd storage directory <SD>/current/<bpid>
* @param nsInfo Namespace Info from the namenode
* @throws IOException on error
*/ | 0 | /**
* Upgrade to any release after 0.22 (0.22 included) release e.g. 0.22 => 0.23
* Upgrade procedure is as follows:
* <ol>
* <li>If <SD>/current/<bpid>/previous exists then delete it</li>
* <li>Rename <SD>/current/<bpid>/current to
* <SD>/current/bpid/current/previous.tmp</li>
* <li>Create new <SD>current/<bpid>/current directory</li>
* <ol>
* <li>Hard links for block files are created from previous.tmp to current</li>
* <li>Save new version file in current directory</li>
* </ol>
* <li>Rename previous.tmp to previous</li> </ol>
*
* @param bpSd storage directory <SD>/current/<bpid>
* @param nsInfo Namespace Info from the namenode
* @throws IOException on error
*/ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,558 | BlockPoolSliceStorage.java | // get <SD>/previous directory | 0 | // get <SD>/previous directory | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,559 | BlockPoolSliceStorage.java | // 1. Delete <SD>/current/<bpid>/previous dir before upgrading | 0 | // 1. Delete <SD>/current/<bpid>/previous dir before upgrading | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,561 | BlockPoolSliceStorage.java | /**
* Cleanup the detachDir.
*
* If the directory is not empty report an error; Otherwise remove the
* directory.
*
* @param detachDir detach directory
* @throws IOException if the directory is not empty or it can not be removed
*/ | 0 | /**
* Cleanup the detachDir.
*
* If the directory is not empty report an error; Otherwise remove the
* directory.
*
* @param detachDir detach directory
* @throws IOException if the directory is not empty or it can not be removed
*/ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,562 | BlockPoolSliceStorage.java | /**
* Restore all files from the trash directory to their corresponding
* locations under current/
*/ | 0 | /**
* Restore all files from the trash directory to their corresponding
* locations under current/
*/ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,563 | BlockPoolSliceStorage.java | // Recurse to process subdirectories. | 0 | // Recurse to process subdirectories. | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,564 | BlockPoolSliceStorage.java | // Failsafe - we should not hit this case but let's make sure
// we never overwrite a newer version of a block file with an
// older version. | 0 | // Failsafe - we should not hit this case but let's make sure
// we never overwrite a newer version of a block file with an
// older version. | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,565 | BlockPoolSliceStorage.java | /*
* Roll back to old snapshot at the block pool level
* If previous directory exists:
* <ol>
* <li>Rename <SD>/current/<bpid>/current to removed.tmp</li>
* <li>Rename * <SD>/current/<bpid>/previous to current</li>
* <li>Remove removed.tmp</li>
* </ol>
*
* Do nothing if previous directory does not exist.
* @param bpSd Block pool storage directory at <SD>/current/<bpid>
*/ | 0 | /*
* Roll back to old snapshot at the block pool level
* If previous directory exists:
* <ol>
* <li>Rename <SD>/current/<bpid>/current to removed.tmp</li>
* <li>Rename * <SD>/current/<bpid>/previous to current</li>
* <li>Remove removed.tmp</li>
* </ol>
*
* Do nothing if previous directory does not exist.
* @param bpSd Block pool storage directory at <SD>/current/<bpid>
*/ | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,566 | BlockPoolSliceStorage.java | // regular startup if previous dir does not exist | 0 | // regular startup if previous dir does not exist | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,568 | BlockPoolSliceStorage.java | // cannot rollback | 0 | // cannot rollback | BlockPoolSliceStorage.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,571 | CPPASTName.java | Contributors:
* John Camelon(IBM) - Initial API and implementation
* Markus Schorn (Wind River Systems)
* Bryan Wilkinson (QNX)
* Anton Leherbauer (Wind River Systems) | 0 | Contributors:
* John Camelon(IBM) - Initial API and implementation
* Markus Schorn (Wind River Systems)
* Bryan Wilkinson (QNX)
* Anton Leherbauer (Wind River Systems) | CPPASTName.java | [
0,
1,
0,
0,
0,
0,
0
] |
8,572 | CPPASTName.java | // The lookup does not find the binding, that is defined by this name | 0 | // The lookup does not find the binding, that is defined by this name | CPPASTName.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,573 | CPPASTName.java | /**
* Unqualified name, also base class for operator and conversion name.
*/ | 0 | /**
* Unqualified name, also base class for operator and conversion name.
*/ | CPPASTName.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,574 | FileNameGenerator.java | // this will support up to 32**20 = 2**100 = 10**30 files | 0 | // this will support up to 32**20 = 2**100 = 10**30 files | FileNameGenerator.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,579 | MembersInjector.java | @code instance | 0 | @code instance | MembersInjector.java | [
0,
0,
0,
0,
1,
0,
0
] |
8,580 | MembersInjector.java | @code T | 0 | @code T | MembersInjector.java | [
0,
0,
0,
0,
1,
0,
0
] |
8,583 | MembersInjector.java | * @param <T> type to inject members of | 0 | * @param <T> type to inject members of | MembersInjector.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,586 | MembersInjector.java | * @param instance to inject members on. May be {@code null}. | 0 | * @param instance to inject members on. May be {@code null}. | MembersInjector.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,587 | MembersInjector.java | /**
* Injects dependencies into the fields and methods on instances of type {@code T}. Ignores the
* presence or absence of an injectable constructor.
*
* @param <T> type to inject members of
*
* @author crazybob@google.com (Bob Lee)
* @author jessewilson@google.com (Jesse Wilson)
* @since 2.0
*/ | 0 | /**
* Injects dependencies into the fields and methods on instances of type {@code T}. Ignores the
* presence or absence of an injectable constructor.
*
* @param <T> type to inject members of
*
* @author crazybob@google.com (Bob Lee)
* @author jessewilson@google.com (Jesse Wilson)
* @since 2.0
*/ | MembersInjector.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,588 | MembersInjector.java | /**
* Injects dependencies into the fields and methods of {@code instance}. Ignores the presence or
* absence of an injectable constructor.
*
* <p>Whenever Guice creates an instance, it performs this injection automatically (after first
* performing constructor injection), so if you're able to let Guice create all your objects for
* you, you'll never need to use this method.
*
* @param instance to inject members on. May be {@code null}.
*/ | 0 | /**
* Injects dependencies into the fields and methods of {@code instance}. Ignores the presence or
* absence of an injectable constructor.
*
* <p>Whenever Guice creates an instance, it performs this injection automatically (after first
* performing constructor injection), so if you're able to let Guice create all your objects for
* you, you'll never need to use this method.
*
* @param instance to inject members on. May be {@code null}.
*/ | MembersInjector.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,589 | ZlibCompressor.java | * @return the total (non-negative) number of uncompressed bytes input so far | 0 | * @return the total (non-negative) number of uncompressed bytes input so far | ZlibCompressor.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,590 | ZlibCompressor.java | * @return the total (non-negative) number of compressed bytes output so far | 0 | * @return the total (non-negative) number of compressed bytes output so far | ZlibCompressor.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,591 | ZlibCompressor.java | * @param conf Configuration storing new settings | 0 | * @param conf Configuration storing new settings | ZlibCompressor.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,592 | ZlibCompressor.java | * @param directBufferSize Size of the direct buffer to be used. | 0 | * @param directBufferSize Size of the direct buffer to be used. | ZlibCompressor.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,593 | ZlibCompressor.java | * @param header Compression header #CompressionHeader | 0 | * @param header Compression header #CompressionHeader | ZlibCompressor.java | [
0,
0,
0,
1,
0,
0,
0
] |
8,596 | ZlibCompressor.java | @link Compressor | 0 | @link Compressor | ZlibCompressor.java | [
0,
0,
0,
0,
1,
0,
0
] |
8,597 | ZlibCompressor.java | /**
* A {@link Compressor} based on the popular
* zlib compression algorithm.
* http://www.zlib.net/
*
*/ | 0 | /**
* A {@link Compressor} based on the popular
* zlib compression algorithm.
* http://www.zlib.net/
*
*/ | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,598 | ZlibCompressor.java | /**
* The compression level for zlib library.
*/ | 0 | /**
* The compression level for zlib library.
*/ | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,599 | ZlibCompressor.java | /**
* Compression level for no compression.
*/ | 0 | /**
* Compression level for no compression.
*/ | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,600 | ZlibCompressor.java | * Compression level for fastest compression. | 0 | * Compression level for fastest compression. | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,601 | ZlibCompressor.java | * Compression level 2. | 0 | * Compression level 2. | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,602 | ZlibCompressor.java | * Compression level 3. | 0 | * Compression level 3. | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,603 | ZlibCompressor.java | THREE (3), | 0 | THREE (3), | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,604 | ZlibCompressor.java | * Compression level 4. | 0 | * Compression level 4. | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,605 | ZlibCompressor.java | * Compression level 5. | 0 | * Compression level 5. | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,606 | ZlibCompressor.java | * Compression level 6. | 0 | * Compression level 6. | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,607 | ZlibCompressor.java | * Compression level 7. | 0 | * Compression level 7. | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,609 | ZlibCompressor.java | * Compression level for best compression. | 0 | * Compression level for best compression. | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,611 | ZlibCompressor.java | /**
* Compression strategy best used for data consisting mostly of small
* values with a somewhat random distribution. Forces more Huffman coding
* and less string matching.
*/ | 0 | /**
* Compression strategy best used for data consisting mostly of small
* values with a somewhat random distribution. Forces more Huffman coding
* and less string matching.
*/ | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,613 | ZlibCompressor.java | * Compression strategy to limit match distances to one
* (run-length encoding). | 0 | * Compression strategy to limit match distances to one
* (run-length encoding). | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,614 | ZlibCompressor.java | Compression strategy to prevent the use of dynamic Huffman codes,
* allowing for a simpler decoder for special applications. | 0 | Compression strategy to prevent the use of dynamic Huffman codes,
* allowing for a simpler decoder for special applications. | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,616 | ZlibCompressor.java | * The type of header for compressed data. | 0 | * The type of header for compressed data. | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,617 | ZlibCompressor.java | * No headers/trailers/checksums. | 0 | * No headers/trailers/checksums. | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,619 | ZlibCompressor.java | * Simple gzip headers/trailers. | 0 | * Simple gzip headers/trailers. | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,620 | ZlibCompressor.java | // Initialize the native library | 0 | // Initialize the native library | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
8,621 | ZlibCompressor.java | // Ignore failure to load/initialize native-zlib | 0 | // Ignore failure to load/initialize native-zlib | ZlibCompressor.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.