Home
last modified time | relevance | path

Searched refs:bytes_to_corrupt (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/leveldatabase/src/db/
Dcorruption_test.cc126 void Corrupt(FileType filetype, int offset, int bytes_to_corrupt) { in Corrupt() argument
161 if (offset + bytes_to_corrupt > sbuf.st_size) { in Corrupt()
162 bytes_to_corrupt = sbuf.st_size - offset; in Corrupt()
169 for (int i = 0; i < bytes_to_corrupt; i++) { in Corrupt()