| 51 | static uint umin(uint a, uint b) { return (a <= b) ? a : b; } |
| 52 | |
| 53 | static uint getSampleCount(uint dividend) |
| 54 | { |
| 55 | return ((dividend % SAMPLE_STRIDE) != 0) ? (dividend / SAMPLE_STRIDE + 1) : (dividend / SAMPLE_STRIDE); |
| 56 | } |
| 57 | |
| 58 | static uint nextPowerOfTwo(uint x) |
| 59 | { |
no outgoing calls
no test coverage detected