- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for randByteOrder (0.11 sec)
-
src/internal/fuzz/mutator.go
} func newMutator() *mutator { return &mutator{r: newPcgRand()} } func (m *mutator) rand(n int) int { return m.r.intn(n) } func (m *mutator) randByteOrder() binary.ByteOrder { if m.r.bool() { return binary.LittleEndian } return binary.BigEndian } // chooseLen chooses length of range mutation in range [1,n]. It gives // preference to shorter ranges.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 20:01:34 UTC 2023 - 6.6K bytes - Viewed (0)