- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for RandUint64 (0.13 sec)
-
pkg/apis/autoscaling/fuzzer/fuzzer.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 15 06:03:59 UTC 2022 - 5.1K bytes - Viewed (0) -
src/hash/maphash/maphash_runtime.go
return uint64(hi)<<32 | uint64(lo) } func rthashString(s string, state uint64) uint64 { buf := unsafe.Slice(unsafe.StringData(s), len(s)) return rthash(buf, state) } func randUint64() uint64 { return runtime_rand()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 1.2K bytes - Viewed (0) -
pkg/apis/batch/fuzzer/fuzzer.go
if c.RandBool() { c.Fuzz(j.ManagedBy) } }, func(sj *batch.CronJobSpec, c fuzz.Continue) { c.FuzzNoCustom(sj) suspend := c.RandBool() sj.Suspend = &suspend sds := int64(c.RandUint64()) sj.StartingDeadlineSeconds = &sds sj.Schedule = c.RandString() successfulJobsHistoryLimit := int32(c.Rand.Int31()) sj.SuccessfulJobsHistoryLimit = &successfulJobsHistoryLimit
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 17:25:15 UTC 2024 - 3K bytes - Viewed (0) -
src/hash/maphash/maphash_purego.go
if len(buf) == 0 { return seed } return wyhash(buf, seed, uint64(len(buf))) } func rthashString(s string, state uint64) uint64 { return rthash([]byte(s), state) } func randUint64() uint64 { buf := make([]byte, 8) _, _ = rand.Read(buf) return byteorder.LeUint64(buf) } // This is a port of wyhash implementation in runtime/hash64.go, // without using unsafe for purego. const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 12 05:36:29 UTC 2024 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go
// APIVersion and Kind must remain blank in memory. j.APIVersion = "" j.Kind = "" }, func(j *metav1.ObjectMeta, c fuzz.Continue) { c.FuzzNoCustom(j) j.ResourceVersion = strconv.FormatUint(c.RandUint64(), 10) j.UID = types.UID(c.RandString()) // Fuzzing sec and nsec in a smaller range (uint32 instead of int64), // so that the result Unix time is a valid date and can be parsed into RFC3339 format.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 15:12:26 UTC 2024 - 9.9K bytes - Viewed (0) -
pkg/apis/core/fuzzer/fuzzer.go
// APIVersion and Kind must remain blank in memory. j.APIVersion = c.RandString() j.Kind = c.RandString() j.Namespace = c.RandString() j.Name = c.RandString() j.ResourceVersion = strconv.FormatUint(c.RandUint64(), 10) j.FieldPath = c.RandString() }, func(j *core.PodExecOptions, c fuzz.Continue) { j.Stdout = true j.Stderr = true }, func(j *core.PodAttachOptions, c fuzz.Continue) { j.Stdout = true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 04:32:01 UTC 2024 - 18.5K bytes - Viewed (0) -
src/hash/maphash/maphash.go
func (h *Hash) Sum64() uint64 { h.initSeed() return rthash(h.buf[:h.n], h.state.s) } // MakeSeed returns a new random seed. func MakeSeed() Seed { var s uint64 for { s = randUint64() // We use seed 0 to indicate an uninitialized seed/hash, // so keep trying until we get a non-zero seed. if s != 0 { break } } return Seed{s: s} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 19:15:34 UTC 2023 - 7.9K bytes - Viewed (0) -
src/sync/atomic/asm.s
TEXT ·AndUint32(SB),NOSPLIT,$0 JMP internal∕runtime∕atomic·And32(SB) TEXT ·AndUintptr(SB),NOSPLIT,$0 JMP internal∕runtime∕atomic·Anduintptr(SB) TEXT ·AndInt64(SB),NOSPLIT,$0 JMP internal∕runtime∕atomic·And64(SB) TEXT ·AndUint64(SB),NOSPLIT,$0 JMP internal∕runtime∕atomic·And64(SB) TEXT ·OrInt32(SB),NOSPLIT,$0 JMP internal∕runtime∕atomic·Or32(SB) TEXT ·OrUint32(SB),NOSPLIT,$0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 3K bytes - Viewed (0) -
src/sync/atomic/doc.go
func AndUint32(addr *uint32, mask uint32) (old uint32) // AndInt64 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask // and returns the old value. // Consider using the more ergonomic and less error-prone [Int64.And] instead. func AndInt64(addr *int64, mask int64) (old int64) // AndUint64 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 11.7K bytes - Viewed (0) -
src/testing/quick/quick.go
case reflect.Int16: v.SetInt(randInt64(rand)) case reflect.Int32: v.SetInt(randInt64(rand)) case reflect.Int64: v.SetInt(randInt64(rand)) case reflect.Int8: v.SetInt(randInt64(rand)) case reflect.Int: v.SetInt(randInt64(rand)) case reflect.Uint16: v.SetUint(uint64(randInt64(rand))) case reflect.Uint32: v.SetUint(uint64(randInt64(rand))) case reflect.Uint64:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:47 UTC 2023 - 10.1K bytes - Viewed (0)