@Override int outputType() { return pending.outputType(); }
@Override int outputType() { return source.outputType(); }
@Override int outputType() { return pending.outputType(); }
@Override int outputType() { return source.outputType() & ~NEEDS_REWRITE; }
@Override int outputType() { return g.outputType() | HAS_UNINTERESTING; }
BlockRevQueue(Generator s) throws MissingObjectException, IncorrectObjectTypeException, IOException { free = new BlockFreeList(); outputType = s.outputType(); s.shareFreeList(this); for (;;) { final RevCommit c = s.next(); if (c == null) break; add(c); } }
/** * Create a new sorter and completely spin the generator. * <p> * When the constructor completes the supplied generator will have no * commits remaining, as all of the commits will be held inside of this * generator's internal buffer. * * @param s * generator to pull all commits out of, and into this buffer. * @throws MissingObjectException * @throws IncorrectObjectTypeException * @throws IOException */ TopoSortGenerator(Generator s) throws MissingObjectException, IncorrectObjectTypeException, IOException { pending = new FIFORevQueue(); outputType = s.outputType() | SORT_TOPO; s.shareFreeList(pending); for (;;) { final RevCommit c = s.next(); if (c == null) break; for (RevCommit p : c.parents) p.inDegree++; pending.add(c); } }
@Override int outputType() { return pending.outputType(); }
@Override int outputType() { return g.outputType() | HAS_UNINTERESTING; }
@Override int outputType() { return source.outputType(); }
@Override int outputType() { return source.outputType(); }
@Override int outputType() { return pending.outputType(); }
@Override int outputType() { return g.outputType() | HAS_UNINTERESTING; }
@Override int outputType() { return pending.outputType(); }
@Override int outputType() { return pending.outputType(); }
@Override int outputType() { return source.outputType() & ~NEEDS_REWRITE; }
if ((g.outputType() & NEEDS_REWRITE) != 0) { && (g.outputType() & SORT_TOPO) == 0) g = new TopoSortGenerator(g); if (walker.hasRevSort(RevSort.REVERSE))
BlockRevQueue(final Generator s) throws MissingObjectException, IncorrectObjectTypeException, IOException { free = new BlockFreeList(); outputType = s.outputType(); s.shareFreeList(this); for (;;) { final RevCommit c = s.next(); if (c == null) break; add(c); } }
BlockRevQueue(Generator s) throws MissingObjectException, IncorrectObjectTypeException, IOException { free = new BlockFreeList(); outputType = s.outputType(); s.shareFreeList(this); for (;;) { final RevCommit c = s.next(); if (c == null) break; add(c); } }
BlockRevQueue(Generator s) throws MissingObjectException, IncorrectObjectTypeException, IOException { free = new BlockFreeList(); outputType = s.outputType(); s.shareFreeList(this); for (;;) { final RevCommit c = s.next(); if (c == null) break; add(c); } }