Android-cuttlefish cvd tool
Classes | Functions | Variables
cuttlefish::anonymous_namespace{file_monitor_source.cc} Namespace Reference

Classes

struct  FileData
 

Functions

Result< FileDataGetLastNLines (ReaderSeeker &rs, size_t n, std::function< Result< bool >(std::string_view)> &filter_line, std::string name)
 

Variables

constexpr size_t kChunkReadSize = 1 << 20
 
constexpr size_t kMaximumScrollback = 1 << 24
 

Function Documentation

◆ GetLastNLines()

Result< FileData > cuttlefish::anonymous_namespace{file_monitor_source.cc}::GetLastNLines ( ReaderSeeker rs,
size_t  n,
std::function< Result< bool >(std::string_view)> &  filter_line,
std::string  name 
)

Variable Documentation

◆ kChunkReadSize

constexpr size_t cuttlefish::anonymous_namespace{file_monitor_source.cc}::kChunkReadSize = 1 << 20
constexpr

◆ kMaximumScrollback

constexpr size_t cuttlefish::anonymous_namespace{file_monitor_source.cc}::kMaximumScrollback = 1 << 24
constexpr