Searched refs:COPY_BUF_SIZE (Results 1 – 2 of 2) sorted by relevance
96 #define COPY_BUF_SIZE (1024*1024) macro100 char copy_buf[COPY_BUF_SIZE]; in copy_data()105 size_t num_to_read = remaining > COPY_BUF_SIZE ? COPY_BUF_SIZE : remaining; in copy_data()
49 static constexpr int64_t COPY_BUF_SIZE = 1024 * 1024; variable109 chunk = std::min(len, COPY_BUF_SIZE); in GetCrc32()232 for (i = 0; i < (COPY_BUF_SIZE / sizeof(fill_val)); i++) { in process_fill_chunk()237 chunk = std::min(len, COPY_BUF_SIZE); in process_fill_chunk()255 memset(copybuf, 0, COPY_BUF_SIZE); in process_skip_chunk()258 int chunk = std::min(len, COPY_BUF_SIZE); in process_skip_chunk()346 copybuf = (char*)malloc(COPY_BUF_SIZE); in sparse_file_read_sparse()