Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for nextBoolean (0.18 seconds)

  1. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

        return RANDOM_SOURCE.nextBoolean() ? result : result.negate();
      }
    
      /**
       * Chooses a number in (-2^numBits, 2^numBits) at random, with density concentrated in numbers of
       * lower magnitude.
       */
      static BigInteger randomBigInteger(int numBits) {
        while (true) {
          if (RANDOM_SOURCE.nextBoolean()) {
            return randomNonNegativeBigInteger(numBits);
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

                    .version("version" + Long.toHexString(entropy.nextLong()))
                    .build();
            Activation a = Activation.newBuilder()
                    .activeByDefault(entropy.nextBoolean())
                    .jdk("jdk" + Long.toHexString(entropy.nextLong()))
                    .file(af)
                    .property(ap)
                    .os(ao)
                    .packaging("pom")
                    .build();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top