HomeSort by relevance Sort by last modified time
    Searched refs:scoped_mmap_ (Results 1 - 2 of 2) sorted by null

  /external/libtextclassifier/lang_id/fb_model/
model-provider-from-fb.cc 31 // unmapped only when the field scoped_mmap_ is destructed, the model bytes
33 : scoped_mmap_(new ScopedMmap(filename)) {
34 Initialize(scoped_mmap_->handle().to_stringpiece());
40 // unmapped only when the field scoped_mmap_ is destructed, the model bytes
42 : scoped_mmap_(new ScopedMmap(fd)) {
43 Initialize(scoped_mmap_->handle().to_stringpiece());
model-provider-from-fb.h 87 // If filename-based constructor is used, scoped_mmap_ keeps the file mmapped
90 const std::unique_ptr<ScopedMmap> scoped_mmap_; member in class:libtextclassifier3::mobile::lang_id::ModelProviderFromFlatbuffer
94 // (a) [if filename constructor was used:] the bytes mmapped by scoped_mmap_

Completed in 509 milliseconds