- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for MaxCountScale (0.23 sec)
-
src/testing/quick/quick.go
type Config struct { // MaxCount sets the maximum number of iterations. // If zero, MaxCountScale is used. MaxCount int // MaxCountScale is a non-negative scale factor applied to the // default maximum. // A count of zero implies the default, which is usually 100 // but can be set by the -quickchecks flag. MaxCountScale float64 // Rand specifies a source of random numbers.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:47 UTC 2023 - 10.1K bytes - Viewed (0) -
src/crypto/internal/edwards25519/field/fe_test.go
// given factor if the -short flag is not set. func quickCheckConfig(slowScale int) *quick.Config { cfg := new(quick.Config) if !testing.Short() { cfg.MaxCountScale = float64(slowScale) } return cfg } func generateFieldElement(rand *mathrand.Rand) Element { const maskLow52Bits = (1 << 52) - 1 return Element{ rand.Uint64() & maskLow52Bits,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:26:17 UTC 2023 - 13.9K bytes - Viewed (0) -
src/image/draw/draw_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 18:07:05 UTC 2023 - 26K bytes - Viewed (0)