- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for rank (0.04 sec)
-
src/cmd/compile/internal/ssa/compile.go
// which phases to dump IR before/after, etc. if f.Log() { f.Logf("compiling %s\n", f.Name) } var rnd *rand.Rand if checkEnabled { seed := int64(crc32.ChecksumIEEE(([]byte)(f.Name))) ^ int64(checkRandSeed) rnd = rand.New(rand.NewSource(seed)) } // hook to print function & phase if panic happens phaseName := "init" defer func() { if phaseName != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:55:18 UTC 2024 - 18.6K bytes - Viewed (0) -
src/bytes/buffer_test.go
var buf Buffer s := "" for i := 0; i < 50; i++ { wlen := rand.Intn(len(testString)) if i%2 == 0 { s = fillString(t, "TestMixedReadsAndWrites (1)", &buf, s, 1, testString[0:wlen]) } else { s = fillBytes(t, "TestMixedReadsAndWrites (1)", &buf, s, 1, testBytes[0:wlen]) } rlen := rand.Intn(len(testString)) fub := make([]byte, rlen) n, _ := buf.Read(fub) s = s[n:] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:31:36 UTC 2024 - 18.6K bytes - Viewed (0) -
doc/godebug.md
A future version of Go may change the defaults to `tarinsecurepath=0` and `zipinsecurepath=0`. Go 1.20 introduced automatic seeding of the [`math/rand`](/pkg/math/rand) global random number generator, controlled by the [`randautoseed` setting](/pkg/math/rand/#Seed). Go 1.20 introduced the concept of fallback roots for use during certificate verification,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 15.9K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
const int M = 100; int i; (void)p; for (i = 0; i < M; i++) { pthread_kill(pthread_self(), SIGCHLD); usleep(rand() % 20 + 5); } return NULL; } void testSendSIG() { const int N = 20; int i; pthread_t tid[N]; for (i = 0; i < N; i++) { usleep(rand() % 200 + 100); pthread_create(&tid[i], 0, thread, NULL); } for (i = 0; i < N; i++) pthread_join(tid[i], 0); } #endif
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0)