Go to the SVN repository for this file.
44CRangeListImpl::TRangeVector::const_iterator random_range =
47 intdiff = random_range->second - random_range->first;
49 returndiff <= 0 ? random_range->first :
50random_range->first + (random_number % (diff + 1));
CRangeListImpl::TRangeVector m_RangeVector
unsigned GetNextValue() const
Uint4 TValue
Type of the generated integer value and/or the seed value.
TValue GetRand(void)
Get the next random number in the interval [0..GetMax()] (inclusive)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4