Searched refs:kBytesPerBucket (Results 1 – 2 of 2) sorted by relevance
84 const size_t kBytesPerBucket = 2 * sizeof(HistogramBase::AtomicCount); in CalculateRequiredCountsBytes() local89 if (bucket_count > std::numeric_limits<size_t>::max() / kBytesPerBucket) in CalculateRequiredCountsBytes()92 return bucket_count * kBytesPerBucket; in CalculateRequiredCountsBytes()
91 const size_t kBytesPerBucket = 2 * sizeof(HistogramBase::AtomicCount); in CalculateRequiredCountsBytes() local96 if (bucket_count > std::numeric_limits<size_t>::max() / kBytesPerBucket) in CalculateRequiredCountsBytes()99 return bucket_count * kBytesPerBucket; in CalculateRequiredCountsBytes()