Home
last modified time | relevance | path

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

/dports/games/edge/Edge-1.35-source/src/
H A Dsv_chunk.cc57 #define MAX_COMP_SIZE(orig) (compressBound(orig) + 4) macro
251 if ((orig_len & 3) != 0 || file_len > MAX_COMP_SIZE(orig_len)) in SV_VerifyContents()
386 SYS_ASSERT(file_len <= MAX_COMP_SIZE(orig_len)); in SV_PushReadChunk()
602 uLongf out_len = MAX_COMP_SIZE(len); in SV_PopWriteChunk()
626 SYS_ASSERT((int)out_len <= (int)MAX_COMP_SIZE(len)); in SV_PopWriteChunk()
/dports/archivers/zchunk/zchunk-1.1.16/src/lib/index/
H A Dindex_create.c84 index_malloc = MAX_COMP_SIZE * 2; in index_create()
91 index_malloc += zck->index.digest_size + MAX_COMP_SIZE*2; in index_create()
/dports/archivers/zchunk/zchunk-1.1.16/src/lib/
H A Dheader.c234 int header_malloc = zck->hash_type.digest_size + 4 + 2*MAX_COMP_SIZE; in preface_create()
266 char *header = zmalloc(MAX_COMP_SIZE); in sig_create()
286 int phs = 5 + 2*MAX_COMP_SIZE + zck->hash_type.digest_size; in lead_create()
398 int lead = 5 + 2*MAX_COMP_SIZE; in read_lead()
H A Dcompint.c71 if(count > MAX_COMP_SIZE || count > max_length || *val < old_val) { in compint_to_size()
H A Dzck.c46 return 5 + MAX_COMP_SIZE*2 + get_max_hash_size(); in zck_get_min_download_size()
H A Dzck_private.h15 #define MAX_COMP_SIZE (((sizeof(size_t) * 8) / 7) + 1) macro