#include <sort.hh>

Classes | |
| struct | Entry |
Public Member Functions | |
| Offsets (int fd) | |
| int | File () const |
| void | Append (uint64_t length) |
| void | FinishedAppending () |
| uint64_t | RemainingBlocks () const |
| uint64_t | TotalOffset () const |
| uint64_t | PeekSize () const |
| uint64_t | NextSize () |
| void | Reset () |
Definition at line 47 of file sort.hh.
| util::stream::Offsets::Offsets | ( | int | fd | ) | [inline, explicit] |
| void util::stream::Offsets::Append | ( | uint64_t | length | ) | [inline] |
Definition at line 55 of file sort.hh.
References util::WriteOrThrow().
Referenced by util::stream::BlockSorter< Compare >::Run(), and util::stream::MergingReader< Compare, Combine >::Run().


| int util::stream::Offsets::File | ( | ) | const [inline] |
Definition at line 53 of file sort.hh.
Referenced by util::stream::OwningMergingReader< Compare, Combine >::Run().

| void util::stream::Offsets::FinishedAppending | ( | ) | [inline] |
Definition at line 67 of file sort.hh.
References util::ReadOrThrow(), util::SeekOrThrow(), and util::WriteOrThrow().
Referenced by util::stream::BlockSorter< Compare >::Run().


| uint64_t util::stream::Offsets::NextSize | ( | ) | [inline] |
Definition at line 86 of file sort.hh.
References util::ReadOrThrow().
Referenced by util::stream::MergingReader< Compare, Combine >::Run().


| uint64_t util::stream::Offsets::PeekSize | ( | ) | const [inline] |
Definition at line 82 of file sort.hh.
Referenced by util::stream::MergingReader< Compare, Combine >::Run().

| uint64_t util::stream::Offsets::RemainingBlocks | ( | ) | const [inline] |
Definition at line 78 of file sort.hh.
Referenced by util::stream::Sort< Compare, Combine >::Merge(), and util::stream::MergingReader< Compare, Combine >::Run().

| void util::stream::Offsets::Reset | ( | ) | [inline] |
Definition at line 101 of file sort.hh.
References util::ResizeOrThrow(), and util::SeekOrThrow().
Referenced by Offsets().


| uint64_t util::stream::Offsets::TotalOffset | ( | ) | const [inline] |
Definition at line 80 of file sort.hh.
Referenced by util::stream::MergingReader< Compare, Combine >::Run().

1.5.9