Searched refs:number_of_bits (Results 1 – 3 of 3) sorted by relevance
80 int number_of_bits = atoi(parts[1].c_str()); in ParseCIDRBlock() local83 if (number_of_bits < 0 || in ParseCIDRBlock()84 number_of_bits > static_cast<int>(ip_number->size() * 8)) in ParseCIDRBlock()87 *prefix_length_in_bits = static_cast<size_t>(number_of_bits); in ParseCIDRBlock()
90 number_of_bits = 3291 number_of_steps = 1 << number_of_bits95 lowest_quantized = -(1 << (number_of_bits - 1))
51 const int number_of_bits = sizeof(T) * 8; in FloatToQuantizedUnclamped() local52 const int64 number_of_steps = static_cast<int64>(1) << number_of_bits; in FloatToQuantizedUnclamped()93 const int number_of_bits = sizeof(T) * 8; in QuantizedToFloat() local94 const int64 number_of_steps = static_cast<int64>(1) << number_of_bits; in QuantizedToFloat()160 static constexpr int number_of_bits = sizeof(T) * 8; member162 << number_of_bits;183 static constexpr int number_of_bits = sizeof(T) * 8; member185 << number_of_bits;