- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for mrandinit (0.12 sec)
-
src/runtime/rand.go
lock mutex seed [32]byte state chacha8rand.State init bool } var readRandomFailed bool // randinit initializes the global random state. // It must be called before any use of grand. func randinit() { lock(&globalRand.lock) if globalRand.init { fatal("randinit twice") } seed := &globalRand.seed if startupRand != nil { for i, c := range startupRand { seed[i%len(seed)] ^= c
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 14:32:47 UTC 2024 - 8K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main0.c
// int8_t DidInitRun(); // int8_t DidMainRun(); // int32_t FromPkg(); // uint32_t Divu(uint32_t, uint32_t); int main(void) { int8_t ran_init = DidInitRun(); if (!ran_init) { fprintf(stderr, "ERROR: DidInitRun returned unexpected results: %d\n", ran_init); return 1; } int8_t ran_main = DidMainRun(); if (ran_main) { fprintf(stderr, "ERROR: DidMainRun returned unexpected results: %d\n",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.1K bytes - Viewed (0) -
src/net/dnsclient.go
"golang.org/x/net/dns/dnsmessage" ) // provided by runtime // //go:linkname runtime_rand runtime.rand func runtime_rand() uint64 func randInt() int { return int(uint(runtime_rand()) >> 1) // clear sign bit } func randIntn(n int) int { return randInt() % n } // reverseaddr returns the in-addr.arpa. or ip6.arpa. hostname of the IP // address addr suitable for rDNS (PTR) record lookup or an error if it fails
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 5.7K bytes - Viewed (0)