protected static final int dataBucketOffset ( final long pDataKey ) { // INDIRECT_BUCKET_COUNT[3] is only taken to get the difference between 2^7 and the actual // datakey as offset. It has nothing to do with the levels. final long dataBucketOffset = ( pDataKey - ( ( pDataKey >> IConstants . INDIRECT_BUCKET_COUNT [ 3 ] ) << IConstants . INDIRECT_BUCKET_COUNT [ 3 ] ) ) ; return ( int ) dataBucketOffset ; }
Calculate data bucket offset for a given data key .