Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for 50 (0.15 sec)

  1. 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)
  2. 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)
  3. android/guava-tests/test/com/google/common/collect/QueuesTest.java

                new Callable<@Nullable Void>() {
                  @Override
                  public @Nullable Void call() throws InterruptedException {
                    new Producer(q, 50).call();
                    new Interrupter(mainThread).run();
                    new Producer(q, 50).call();
                    return null;
                  }
                });
        List<Object> buf = newArrayList();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 30.9K bytes
    - Viewed (0)
  8. 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)
  9. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

      }
    
      public void testRoundToDouble_oneThird() {
        new RoundToDoubleTester(
                BigDecimal.ONE.divide(BigDecimal.valueOf(3), new MathContext(50, HALF_EVEN)))
            .roundUnnecessaryShouldThrow()
            .setExpectation(0.33333333333333337, UP, CEILING)
            .setExpectation(0.3333333333333333, HALF_EVEN, FLOOR, DOWN, HALF_UP, HALF_DOWN)
            .test();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  10. 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)
Back to top