Searched refs:approx_size (Results 1 – 1 of 1) sorted by relevance
52 int approx_size = 0; in MakeProto() local55 while (approx_size < size) { in MakeProto()56 int item_size = std::min(size - approx_size, 1024); in MakeProto()58 approx_size += item_size + 3; // +3 for encoding overhead. in MakeProto()