- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for Rnd (0.1 sec)
-
cmd/dynamic-timeouts_test.go
func testDynamicTimeoutAdjust(t *testing.T, timeout *dynamicTimeout, f func() float64) { const successTimeout = 20 * time.Second for i := 0; i < dynamicTimeoutLogSize; i++ { rnd := f() duration := time.Duration(float64(successTimeout) * rnd) if duration < 100*time.Millisecond { duration = 100 * time.Millisecond } if duration >= time.Minute { timeout.LogFailure() } else {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Oct 14 10:08:40 UTC 2022 - 5.4K bytes - Viewed (0) -
src/cmd/link/internal/riscv64/obj.go
case objabi.Hlinux, objabi.Hfreebsd, objabi.Hopenbsd: ld.Elfinit(ctxt) ld.HEADR = ld.ELFRESERVE if *ld.FlagRound == -1 { *ld.FlagRound = 0x10000 } if *ld.FlagTextAddr == -1 { *ld.FlagTextAddr = ld.Rnd(0x10000, *ld.FlagRound) + int64(ld.HEADR) } default: ld.Exitf("unknown -H option: %v", ctxt.HeadType) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 17:46:04 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/link/internal/s390x/obj.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 19:32:19 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/test/framework/components/namespace/kube.go
kube2 "istio.io/istio/pkg/test/kube" "istio.io/istio/pkg/test/scopes" "istio.io/istio/pkg/test/util/retry" ) // nolint: gosec // Test only code var ( idctr int64 rnd = rand.New(rand.NewSource(time.Now().UnixNano())) mu sync.Mutex ) // kubeNamespace represents a Kubernetes namespace. It is tracked as a resource. type kubeNamespace struct { ctx resource.Context
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 9K bytes - Viewed (0) -
src/cmd/link/internal/mips/obj.go
case objabi.Hlinux: /* mips elf */ ld.Elfinit(ctxt) ld.HEADR = ld.ELFRESERVE if *ld.FlagRound == -1 { *ld.FlagRound = 0x10000 } if *ld.FlagTextAddr == -1 { *ld.FlagTextAddr = ld.Rnd(0x10000, *ld.FlagRound) + int64(ld.HEADR) } } } func adddynrel(target *ld.Target, ldr *loader.Loader, syms *ld.ArchSyms, s loader.Sym, r loader.Reloc, rIdx int) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 3.3K bytes - Viewed (0) -
src/math/big/alias_test.go
return checkAliasingTwoArgs(t, (*big.Int).Quo, v.Int, x.Int, y.Int) }, "Rand": func(v, x bigInt, seed int64) bool { return checkAliasingOneArg(t, func(v, x *big.Int) *big.Int { rnd := rand.New(rand.NewSource(seed)) return v.Rand(rnd, x) }, v.Int, x.Int) }, "Rem": func(v, x bigInt, y notZeroInt) bool { return checkAliasingTwoArgs(t, (*big.Int).Rem, v.Int, x.Int, y.Int) },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 15:49:05 UTC 2022 - 8.8K bytes - Viewed (0)