Searched refs:SINGLE_READ_SIZE (Results 1 – 1 of 1) sorted by relevance
125 static const int SINGLE_READ_SIZE = 5 * 1024 * 1024; in PrereadLibFile() local126 char* buf = new (std::nothrow) char[SINGLE_READ_SIZE]; in PrereadLibFile()135 int readCnt = stats.st_size / SINGLE_READ_SIZE; in PrereadLibFile()136 if (readCnt * SINGLE_READ_SIZE < stats.st_size) { in PrereadLibFile()141 (void)read(fd, buf, SINGLE_READ_SIZE); in PrereadLibFile()