Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for 50 (0.19 sec)

  1. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.putAll(ImmutableMap.of(10, 20, 30, 50, 60, 90));
    
        assertEquals(Integer.valueOf(20), cache.getIfPresent(10));
        assertEquals(Integer.valueOf(50), cache.getIfPresent(30));
        assertEquals(Integer.valueOf(90), cache.getIfPresent(60));
    
        cache.asMap().putAll(ImmutableMap.of(10, 50, 30, 20, 60, 70, 5, 5));
    
        assertEquals(Integer.valueOf(50), cache.getIfPresent(10));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 15.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      }
    
      public void testJoinSingleInterrupt() {
        TimedThread thread = TimedThread.createWithDelay(50);
        requestInterruptIn(10);
        thread.joinSuccessfully();
        assertInterrupted();
      }
    
      public void testJoinTimeoutSingleInterruptNoExpire() {
        TimedThread thread = TimedThread.createWithDelay(50);
        requestInterruptIn(10);
        thread.joinSuccessfully(LONG_DELAY_MS);
        assertInterrupted();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 31.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        byte[] bytes = newPreFilledByteArray(100);
        skipHelper(0, 0, new ByteArrayInputStream(bytes));
        skipHelper(50, 50, new ByteArrayInputStream(bytes));
        skipHelper(50, 50, new SlowSkipper(new ByteArrayInputStream(bytes), 1));
        skipHelper(50, 50, new SlowSkipper(new ByteArrayInputStream(bytes), 0));
        skipHelper(100, -1, new ByteArrayInputStream(bytes));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

            1,
            3,
            new long[] {GREATEST - 1, GREATEST - 2, 1, 2});
      }
    
      public void testDivide() {
        assertThat(UnsignedLongs.divide(14, 5)).isEqualTo(2);
        assertThat(UnsignedLongs.divide(0, 50)).isEqualTo(0);
        assertThat(UnsignedLongs.divide(0xfffffffffffffffeL, 0xfffffffffffffffdL)).isEqualTo(1);
        assertThat(UnsignedLongs.divide(0xfffffffffffffffdL, 0xfffffffffffffffeL)).isEqualTo(0);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        byte[] bytes = newPreFilledByteArray(100);
        skipHelper(0, 0, new ByteArrayInputStream(bytes));
        skipHelper(50, 50, new ByteArrayInputStream(bytes));
        skipHelper(50, 50, new SlowSkipper(new ByteArrayInputStream(bytes), 1));
        skipHelper(50, 50, new SlowSkipper(new ByteArrayInputStream(bytes), 0));
        skipHelper(100, -1, new ByteArrayInputStream(bytes));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (1)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.putAll(ImmutableMap.of(10, 20, 30, 50, 60, 90));
    
        assertEquals(Integer.valueOf(20), cache.getIfPresent(10));
        assertEquals(Integer.valueOf(50), cache.getIfPresent(30));
        assertEquals(Integer.valueOf(90), cache.getIfPresent(60));
    
        cache.asMap().putAll(ImmutableMap.of(10, 50, 30, 20, 60, 70, 5, 5));
    
        assertEquals(Integer.valueOf(50), cache.getIfPresent(10));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 15K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          return; // TODO: b/136041958 - Running very slowly on Windows CI.
        }
        final CyclicBarrier barrier =
            new CyclicBarrier(
                6 // for the setter threads
                    + 50 // for the listeners
                    + 50 // for the blocking get threads,
                    + 1); // for the main thread
        final ExecutorService executor = Executors.newFixedThreadPool(barrier.getParties());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/IntMathTest.java

        for (int n = 0; n <= 50; n++) {
          for (int k = 0; k <= n; k++) {
            BigInteger expectedBig = BigIntegerMath.binomial(n, k);
            int expectedInt = fitsInInt(expectedBig) ? expectedBig.intValue() : Integer.MAX_VALUE;
            assertEquals(expectedInt, IntMath.binomial(n, k));
          }
        }
      }
    
      public void testBinomialOutside() {
        for (int n = 0; n <= 50; n++) {
          try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
Back to top