Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for toSeconds (0.04 sec)

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

        // waited and assert based on that time. Empirically, the race where the thread ends up waiting
        // for 5.5 seconds happens about 2% of the time.
        boolean longWait = NANOSECONDS.toSeconds(thread.timeSpentBlocked) >= 5;
        // Count how long it actually took to return; we'll accept any number between the expected delay
        // and the approximate actual delay, to be robust to variance in thread scheduling.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top