Searched refs:IntType (Results 1 – 4 of 4) sorted by relevance
162 template<typename IntType>163 inline IntType PortableRandomInRange(IntType limit) { in PortableRandomInRange()175 return static_cast<IntType>(limit * scaled_value); in PortableRandomInRange()
125 #define N_ONES_(IntType, N) \ argument126 ( (N) == 0 ? 0 : ((static_cast<IntType>(1) << ((N)-1))-1 + \127 (static_cast<IntType>(1) << ((N)-1))) )
1135 template<typename IntType>1136 static string PaddedHex(IntType value) { in PaddedHex()
1515 the intType constant to IntType.