Searched refs:SlotWeight (Results 1 – 2 of 2) sorted by relevance
82 const unsigned SlotWeight = 8; in setWeight() local83 const unsigned MaskWeight = SlotWeight - 1; in setWeight()87 assert(SlotWeight * s < 32 && "Argument to setWeight too large."); in setWeight()93 (Key << (SlotWeight * s)) * ((MaskWeight - countPopulation(getUnits())) in setWeight()
91 const unsigned SlotWeight = 8; in setWeight() local92 const unsigned MaskWeight = SlotWeight - 1; in setWeight()99 if (Key == 0 || Units == 0 || (SlotWeight * s >= 32)) in setWeight()104 Weight = (1u << (SlotWeight * s)) * ((MaskWeight - Ctpop) << Cttz); in setWeight()