MCPcopy Create free account
hub / github.com/awnumar/fastrand / TestReadConcurrent

Function TestReadConcurrent

fastrand_test.go:131–181  ·  view source on GitHub ↗

TestReadConcurrent tests that concurrent calls to 'Read' will not result result in identical entropy being produced. Note that for this test to work, the points at which 'counter' and 'innerCounter' get incremented need to be reduced substantially, to a value like '64'. (larger than the number of th

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

ReadFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…