Searched refs:record_t (Results 1 – 2 of 2) sorted by relevance
79 typedef size_t record_t; typedef80 static unsigned int record_size = sizeof(record_t);82 static record_t **mem;293 mem = alloc_mem(chunks * sizeof(record_t *)); in allocate()296 hole_mem = alloc_mem(chunks * sizeof(record_t *)); in allocate()299 mem[i] = (record_t *) alloc_mem(chunk_size); in allocate()320 mem[i][j] = (record_t) j; in write_pattern()329 static void *linear_search(record_t key, record_t * base, size_t size) in linear_search()331 record_t *p; in linear_search()332 record_t *end = base + (size / record_size); in linear_search()[all …]
56 typedef size_t record_t; typedef57 record_t **array_of_chunks;58 record_t tmp;170 array_of_chunks = malloc(sizeof(record_t *) * num_of_chunks); in allocate_memory()188 limit = chunk_size / sizeof(record_t); in allocate_memory()