- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for RandUint64 (0.55 sec)
-
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/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) -
api/go1.23.txt
pkg structs, type HostLayout struct #66408 pkg sync, method (*Map) Clear() #61696 pkg sync/atomic, func AndInt32(*int32, int32) int32 #61395 pkg sync/atomic, func AndInt64(*int64, int64) int64 #61395 pkg sync/atomic, func AndUint32(*uint32, uint32) uint32 #61395 pkg sync/atomic, func AndUint64(*uint64, uint64) uint64 #61395 pkg sync/atomic, func AndUintptr(*uintptr, uintptr) uintptr #61395 pkg sync/atomic, func OrInt32(*int32, int32) int32 #61395
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 20:48:49 UTC 2024 - 8.4K bytes - Viewed (0) -
src/sync/atomic/type.go
// And atomically performs a bitwise AND operation on x using the bitmask // provided as mask and returns the old value. func (x *Uint64) And(mask uint64) (old uint64) { return AndUint64(&x.v, mask) } // Or atomically performs a bitwise OR operation on x using the bitmask // provided as mask and returns the old value. func (x *Uint64) Or(mask uint64) (new uint64) { return OrUint64(&x.v, mask) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 8.5K bytes - Viewed (0) -
src/runtime/race.go
func abigen_sync_atomic_AndUint32(addr *uint32, mask uint32) (old uint32) //go:linkname abigen_sync_atomic_AndInt64 sync/atomic.AndInt64 func abigen_sync_atomic_AndInt64(addr *int64, mask int64) (old int64) //go:linkname abigen_sync_atomic_AndUint64 sync/atomic.AndUint64 func abigen_sync_atomic_AndUint64(addr *uint64, mask uint64) (old uint64) //go:linkname abigen_sync_atomic_AndUintptr sync/atomic.AndUintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 20.4K bytes - Viewed (0) -
src/sync/atomic/atomic_test.go
after uint64 } magic64 := uint64(magic64) x.before = magic64 x.after = magic64 x.i = 0xfffffffffffffff j := x.i for mask := uint64(1); mask != 0; mask <<= 1 { old := x.i k := AndUint64(&x.i, ^mask) j &= ^mask if x.i != j || k != old { t.Fatalf("mask=%d i=%d j=%d k=%d old=%d", mask, x.i, j, k, old) } } if x.before != magic64 || x.after != magic64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 71.4K bytes - Viewed (0)