MCPcopy
hub / github.com/unkeyed/unkey / Float64

Method Float64

pkg/fuzz/get.go:71–74  ·  view source on GitHub ↗

Float64 extracts a float64 value from the Consumer (8 bytes).

()

Source from the content-addressed store, hash-verified

69
70// Float64 extracts a float64 value from the Consumer (8 bytes).
71func (c *Consumer) Float64() float64 {
72 bits := binary.BigEndian.Uint64(c.take(8))
73 return math.Float64frombits(bits)
74}
75
76// String extracts a length-prefixed string from the Consumer.
77// Uses a uint16 for the length, limiting strings to 65535 bytes.

Callers 15

jitterDurationFunction · 0.80
SampleMethod · 0.80
selectEventMethod · 0.80
TestKeyVerificationsFunction · 0.80
createVerificationsFunction · 0.80
createRatelimitsFunction · 0.80
generateRandomIPFunction · 0.80
TestGet_FloatsFunction · 0.80
fillValueFunction · 0.80
SliceFunction · 0.80
InsertVerificationsMethod · 0.80

Calls 2

takeMethod · 0.95
Uint64Method · 0.45

Tested by 6

TestKeyVerificationsFunction · 0.64
createVerificationsFunction · 0.64
createRatelimitsFunction · 0.64
generateRandomIPFunction · 0.64
TestGet_FloatsFunction · 0.64