Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 78 of 78 for nextLine (0.05 sec)

  1. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      private long measureTotalTimeMillis(RateLimiter rateLimiter, int permits, Random random) {
        long startTime = stopwatch.instant;
        while (permits > 0) {
          int nextPermitsToAcquire = max(1, random.nextInt(permits));
          permits -= nextPermitsToAcquire;
          rateLimiter.acquire(nextPermitsToAcquire);
        }
        rateLimiter.acquire(1); // to repay for any pending debt
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/IntsTest.java

        Random r = new Random(5);
        byte[] b = new byte[Ints.BYTES];
    
        // total overkill, but, it takes 0.1 sec so why not...
        for (int i = 0; i < 10000; i++) {
          int num = r.nextInt();
          assertThat(Ints.fromByteArray(Ints.toByteArray(num))).isEqualTo(num);
    
          r.nextBytes(b);
          assertThat(Ints.toByteArray(Ints.fromByteArray(b))).isEqualTo(b);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/IntMathTest.java

        }
    
        // Then check 1000 deterministic pseudo-random int values.
        Random rand = new Random(1);
        for (int i = 0; i < 1000; i++) {
          int n = rand.nextInt(Integer.MAX_VALUE);
          assertEquals(LongMath.isPrime(n), IntMath.isPrime(n));
        }
      }
    
      public void testSaturatedAbs() {
        assertEquals(Integer.MAX_VALUE, IntMath.saturatedAbs(Integer.MIN_VALUE));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Streams.java

                    @Override
                    public boolean tryAdvance(Consumer<? super R> action) {
                      if (fromIterator.hasNext()) {
                        action.accept(function.apply(fromIterator.nextInt(), index++));
                        return true;
                      }
                      return false;
                    }
                  },
                  isParallel)
              .onClose(stream::close);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ShortsTest.java

        Random r = new Random(5);
        byte[] b = new byte[Shorts.BYTES];
    
        // total overkill, but, it takes 0.1 sec so why not...
        for (int i = 0; i < 10000; i++) {
          short num = (short) r.nextInt();
          assertThat(Shorts.fromByteArray(Shorts.toByteArray(num))).isEqualTo(num);
    
          r.nextBytes(b);
          assertThat(Shorts.toByteArray(Shorts.fromByteArray(b))).isEqualTo(b);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        Random r = new Random(5);
        byte[] b = new byte[Ints.BYTES];
    
        // total overkill, but, it takes 0.1 sec so why not...
        for (int i = 0; i < 10000; i++) {
          int num = r.nextInt();
          assertThat(Ints.fromByteArray(Ints.toByteArray(num))).isEqualTo(num);
    
          r.nextBytes(b);
          assertThat(Ints.toByteArray(Ints.fromByteArray(b))).isEqualTo(b);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  7. okhttp/src/androidMain/baseline-prof.txt

    HSPLkotlin/jvm/internal/TypeIntrinsics;->beforeCheckcastToFunctionOfArity(Ljava/lang/Object;I)Ljava/lang/Object;
    HSPLkotlin/random/AbstractPlatformRandom;-><init>()V
    HSPLkotlin/random/AbstractPlatformRandom;->nextInt()I
    HSPLkotlin/random/FallbackThreadLocalRandom$implStorage$1;-><init>()V
    HSPLkotlin/random/FallbackThreadLocalRandom$implStorage$1;->initialValue()Ljava/lang/Object;
    HSPLkotlin/random/FallbackThreadLocalRandom;-><init>()V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.20.md

    - Fix paging issues when Azure API returns empty values with non-empty nextLink ([#96211](https://github.com/kubernetes/kubernetes/pull/96211), [@feiskyer](https://github.com/feiskyer)) [SIG Cloud Provider]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
Back to top