Lines Matching defs:Sum
273 uint32_t Sum = 0;
278 uint32_t PrevSum = Sum;
280 Sum += Weight;
281 assert(Sum > PrevSum); (void) PrevSum;
284 return Sum;
290 uint32_t Sum = getSumForBlock(Src);
294 return (uint64_t)Weight * 5 > (uint64_t)Sum * 4;
298 uint32_t Sum = 0;
305 uint32_t PrevSum = Sum;
307 Sum += Weight;
308 assert(Sum > PrevSum); (void) PrevSum;
317 if ((uint64_t)MaxWeight * 5 > (uint64_t)Sum * 4)