- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for probability (0.51 seconds)
-
guava-tests/test/com/google/common/math/MathBenchmarking.java
} else { return new BigInteger(digits, RANDOM_SOURCE).setBit(digits); } } /** * Equivalent to calling randomPositiveBigInteger(numBits) and then flipping the sign with 50% * probability. */ static BigInteger randomNonZeroBigInteger(int numBits) { BigInteger result = randomPositiveBigInteger(numBits); return RANDOM_SOURCE.nextBoolean() ? result : result.negate(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/MathBenchmarking.java
} else { return new BigInteger(digits, RANDOM_SOURCE).setBit(digits); } } /** * Equivalent to calling randomPositiveBigInteger(numBits) and then flipping the sign with 50% * probability. */ static BigInteger randomNonZeroBigInteger(int numBits) { BigInteger result = randomPositiveBigInteger(numBits); return RANDOM_SOURCE.nextBoolean() ? result : result.negate(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 4.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMultiset.java
* saving space. */ @VisibleForTesting static final double MAX_LOAD_FACTOR = 1.0; /** * Maximum allowed false positive probability of detecting a hash flooding attack given random * input. */ @VisibleForTesting static final double HASH_FLOODING_FPP = 0.001; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.8K bytes - Click Count (0) -
misc/cgo/gmp/gmp.go
a.doinit() b.doinit() C.mpz_gcdext(&d.i[0], &x.i[0], &y.i[0], &a.i[0], &b.i[0]) } // ProbablyPrime performs n Miller-Rabin tests to check whether z is prime. // If it returns true, z is prime with probability 1 - 1/4^n. // If it returns false, z is not prime. func (z *Int) ProbablyPrime(n int) bool { z.doinit() return int(C.mpz_probab_prime_p(&z.i[0], C.int(n))) > 0
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 9.5K bytes - Click Count (0) -
src/buildall.bash
# Usage: buildall.bash [-e] [pattern] # # buildall.bash builds the standard library for all Go-supported # architectures. # # Originally the Go build system used it as a smoke test to quickly # flag portability issues in builders named "misc-compile" or "all-compile". # As of CL 464955, the build system uses make.bash -compile-only instead, # so this script no longer runs in any automated fashion. # # Options:
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Apr 23 17:45:23 GMT 2024 - 2.1K bytes - Click Count (0)