Home
last modified time | relevance | path

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

/io/
A Dtst-copy_file_range.c151 for (int shift = 0; shift < 2; ++shift) in short_copy() local
154 printf ("info: shift=%d\n", shift); in short_copy()
157 xwrite (infd, random_data, current_size - !shift); in short_copy()
161 inoff = shift; in short_copy()
167 xlseek (infd, shift, SEEK_SET); in short_copy()
179 TEST_VERIFY (memcmp (buffer, random_data + shift, current_size - 1) in short_copy()
185 TEST_COMPARE (inoff, current_size - 1 + shift); in short_copy()
189 TEST_COMPARE (xlseek (infd, 0, SEEK_CUR), current_size - 1 + shift); in short_copy()
204 TEST_COMPARE (inoff, current_size - 1 + shift); in short_copy()
208 TEST_COMPARE (xlseek (infd, 0, SEEK_CUR), current_size - 1 + shift); in short_copy()

Completed in 3 milliseconds