Lines Matching defs:bytes
7 arbitrary bytes at arbitrary positions of a file previously created.
89 // we are lazy tester, minimum read size is 4 bytes
90 int32 bytes = (rand() % BUFFER_SIZE) + 4;
92 if (max > bytes)
93 max = bytes;
95 bytes = max;
97 ssize_t bytesRead = file.ReadAt(pos, buffer, bytes);
99 printf(" Could not read %ld bytes at offset %lld: %s\n",
100 bytes, pos, strerror(bytesRead));
102 printf(" Could only read %ld bytes instead of %ld at offset %lld\n",
103 bytesRead, bytes, pos);
130 "%ld, should be %08lx, is %08lx)!\n", pos, bytes,
148 "is %08lx)!\n", pos, bytes, bufferPos, num, *numBuffer);
174 "%ld, should be %08lx, is %08lx)!\n", pos, bytes,