Home
last modified time | relevance | path

Searched refs:known_good_dst (Results 1 - 1 of 1) sorted by relevance

/third_party/lz4/examples/
H A Dcompress_functions.c110 const char *known_good_dst, in bench()
127 // remains matching to known_good_dst between successive calls. in bench()
135 if (memcmp(known_good_dst, dst, max_dst_size) != 0) in bench()
136 run_screaming("According to memcmp(), the compressed dst we got doesn't match the known_good_dst... ruh roh.", 1); in bench()
148 if (memcmp(known_good_dst, dst, max_dst_size) != 0) in bench()
149 run_screaming("According to memcmp(), the compressed dst we got doesn't match the known_good_dst... ruh roh.", 1); in bench()
161 if (memcmp(known_good_dst, dst, max_dst_size) != 0) in bench()
162 run_screaming("According to memcmp(), the compressed dst we got doesn't match the known_good_dst... ruh roh.", 1); in bench()
179 // if (memcmp(known_good_dst, dst, max_dst_size) != 0) in bench()
180 // run_screaming("According to memcmp(), the compressed dst we got doesn't match the known_good_dst in bench()
109 bench( const char *known_good_dst, const int function_id, const int iterations, const char *src, char *dst, const size_t src_size, const size_t max_dst_size, const size_t comp_size ) bench() argument
253 char *known_good_dst = calloc(1, max_dst_size); main() local
[all...]

Completed in 1 milliseconds