Home
last modified time | relevance | path

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

/FileX-v6.2.1/test/regression_test/
Dfilex_fault_tolerant_file_random_seek_test.c103 UINT seek_position; in ftest_0_entry() local
223 seek_position = (UINT)(rand() % TOTAL_SIZE); in ftest_0_entry()
225 if (seek_position > overwrite_position) in ftest_0_entry()
227 overwrite_size = (UINT)rand() % (TOTAL_SIZE - seek_position); in ftest_0_entry()
235 status = fx_file_relative_seek(&my_file, seek_position, FX_SEEK_BEGIN); in ftest_0_entry()
239 memcpy(&write_buffer[seek_position], &overwrite_buffer[overwrite_position], in ftest_0_entry()