Lines Matching defs:Sum
31 uint32_t Sum = 0;
37 uint32_t PrevSum = Sum;
39 Sum += Weight;
40 assert(Sum > PrevSum); (void) PrevSum;
43 return Sum;
59 uint32_t Sum = getSumForBlock(Src);
63 return (uint64_t)Weight * 5 > (uint64_t)Sum * 4;
68 uint32_t Sum = 0;
76 uint32_t PrevSum = Sum;
78 Sum += Weight;
79 assert(Sum > PrevSum); (void) PrevSum;
88 if ((uint64_t)MaxWeight * 5 >= (uint64_t)Sum * 4)