@Override public BitmapIndex getBitmapIndex() throws IOException { return delegate().getBitmapIndex(); }
&& (excludeInPacks == null || excludeInPacks.length == 0); if (!shallowPack && useBitmaps) { BitmapIndex bitmapIndex = reader.getBitmapIndex(); if (bitmapIndex != null) { BitmapWalker bitmapWalker = new BitmapWalker(
PackWriterBitmapPreparer(ObjectReader reader, PackBitmapIndexBuilder writeBitmaps, ProgressMonitor pm, Set<? extends ObjectId> want, PackConfig config) throws IOException { this.reader = reader; this.writeBitmaps = writeBitmaps; this.pm = pm; this.want = want; this.commitBitmapIndex = new BitmapIndexImpl(writeBitmaps); this.bitmapRemapper = PackBitmapIndexRemapper.newPackBitmapIndex( reader.getBitmapIndex(), writeBitmaps); this.bitmapIndex = new BitmapIndexImpl(bitmapRemapper); this.contiguousCommitCount = config.getBitmapContiguousCommitCount(); this.recentCommitCount = config.getBitmapRecentCommitCount(); this.recentCommitSpan = config.getBitmapRecentCommitSpan(); this.distantCommitSpan = config.getBitmapDistantCommitSpan(); this.excessiveBranchCount = config.getBitmapExcessiveBranchCount(); long now = SystemReader.getInstance().getCurrentTime(); long ageInSeconds = config.getBitmapInactiveBranchAgeInDays() * DAY_IN_SECONDS; this.inactiveBranchTimestamp = (now / 1000) - ageInSeconds; }
@Override public BitmapIndex getBitmapIndex() throws IOException { return delegate().getBitmapIndex(); }
@Override public BitmapIndex getBitmapIndex() throws IOException { return delegate().getBitmapIndex(); }
BitmapIndex bitmapIndex = reader.getBitmapIndex(); if (bitmapIndex != null) { checkNotAdvertisedWantsUsingBitmap(
&& (excludeInPacks == null || excludeInPacks.length == 0); if (!shallowPack && useBitmaps) { BitmapIndex bitmapIndex = reader.getBitmapIndex(); if (bitmapIndex != null) { PackWriterBitmapWalker bitmapWalker = new PackWriterBitmapWalker(
&& (excludeInPacks == null || excludeInPacks.length == 0); if (!shallowPack && useBitmaps) { BitmapIndex bitmapIndex = reader.getBitmapIndex(); if (bitmapIndex != null) { BitmapWalker bitmapWalker = new BitmapWalker(
PackWriterBitmapPreparer(ObjectReader reader, PackBitmapIndexBuilder writeBitmaps, ProgressMonitor pm, Set<? extends ObjectId> want, PackConfig config) throws IOException { this.reader = reader; this.writeBitmaps = writeBitmaps; this.pm = pm; this.want = want; this.commitBitmapIndex = new BitmapIndexImpl(writeBitmaps); this.bitmapRemapper = PackBitmapIndexRemapper.newPackBitmapIndex( reader.getBitmapIndex(), writeBitmaps); this.bitmapIndex = new BitmapIndexImpl(bitmapRemapper); this.contiguousCommitCount = config.getBitmapContiguousCommitCount(); this.recentCommitCount = config.getBitmapRecentCommitCount(); this.recentCommitSpan = config.getBitmapRecentCommitSpan(); this.distantCommitSpan = config.getBitmapDistantCommitSpan(); this.excessiveBranchCount = config.getBitmapExcessiveBranchCount(); long now = SystemReader.getInstance().getCurrentTime(); long ageInSeconds = config.getBitmapInactiveBranchAgeInDays() * DAY_IN_SECONDS; this.inactiveBranchTimestamp = (now / 1000) - ageInSeconds; }
PackWriterBitmapPreparer(ObjectReader reader, PackBitmapIndexBuilder writeBitmaps, ProgressMonitor pm, Set<? extends ObjectId> want, PackConfig config) throws IOException { this.reader = reader; this.writeBitmaps = writeBitmaps; this.pm = pm; this.want = want; this.commitBitmapIndex = new BitmapIndexImpl(writeBitmaps); this.bitmapRemapper = PackBitmapIndexRemapper.newPackBitmapIndex( reader.getBitmapIndex(), writeBitmaps); this.bitmapIndex = new BitmapIndexImpl(bitmapRemapper); this.contiguousCommitCount = config.getBitmapContiguousCommitCount(); this.recentCommitCount = config.getBitmapRecentCommitCount(); this.recentCommitSpan = config.getBitmapRecentCommitSpan(); this.distantCommitSpan = config.getBitmapDistantCommitSpan(); this.excessiveBranchCount = config.getBitmapExcessiveBranchCount(); long now = SystemReader.getInstance().getCurrentTime(); long ageInSeconds = config.getBitmapInactiveBranchAgeInDays() * DAY_IN_SECONDS; this.inactiveBranchTimestamp = (now / 1000) - ageInSeconds; }
BitmapIndex bitmapIndex = reader.getBitmapIndex(); if (bitmapIndex != null) { checkNotAdvertisedWantsUsingBitmap(