Package org.eclipse.jgit.generated.storage.dht.proto.GitStore.ChunkMeta

Examples of org.eclipse.jgit.generated.storage.dht.proto.GitStore.ChunkMeta.BaseChunk


    List<BaseChunk> baseChunks = meta.getBaseChunkList();
    int high = baseChunks.size();
    int low = 0;
    while (low < high) {
      final int mid = (low + high) >>> 1;
      final BaseChunk base = baseChunks.get(mid);

      if (position > base.getRelativeStart()) {
        low = mid + 1;

      } else if (mid == 0 || position == base.getRelativeStart()) {
        return base;

      } else if (baseChunks.get(mid - 1).getRelativeStart() < position) {
        return base;
View Full Code Here

TOP

Related Classes of org.eclipse.jgit.generated.storage.dht.proto.GitStore.ChunkMeta.BaseChunk

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.