| 69 | } |
| 70 | |
| 71 | unsigned int RandSeed() { |
| 72 | struct timespec now; |
| 73 | clock_gettime(CLOCK_REALTIME, &now); |
| 74 | return now.tv_nsec + pthread_self(); |
| 75 | } |
| 76 | |
| 77 | /// Randomly fills the contents of 'string' up to the given length. |
| 78 | void RandomlyFillString(char* string, const int length) { |
no outgoing calls
no test coverage detected