Home | History | Annotate | Download | only in fst

Lines Matching refs:MappedFile

44 class MappedFile {
46 virtual ~MappedFile();
56 // Returns a MappedFile object that contains the contents of the input
59 // or else mapping will fail. If mapping is not possible, then a MappedFile
61 static MappedFile* Map(istream* s, const FstReadOptions& opts, size_t size);
63 // Creates a MappedFile object with a new[]'ed block of memory of size.
65 static MappedFile* Allocate(size_t size);
67 // Creates a MappedFile object pointing to a borrowed reference to data.
68 // This block of memory is not owned by the MappedFile object and will not
71 static MappedFile* Borrow(void *data);
76 explicit MappedFile(const MemoryRegion &region);
79 DISALLOW_COPY_AND_ASSIGN(MappedFile);