- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 38 for spurious (0.21 seconds)
-
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
* converts that into a <a * href="https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/concurrent/locks/Condition.html#implementation-considerations-heading">spurious * wakeup</a>. This means that resulting wait is not "uninterruptible" in the normal sense of * {@link Uninterruptibles}. Still, this method allows callers to write <a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 23:24:32 GMT 2026 - 22.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java
static void parkNanos(@Nullable Object blocker, long nanos) { // Even in the extremely unlikely event that a thread unblocks itself early after only 68 years, // this is indistinguishable from a spurious wakeup, which LockSupport allows. LockSupport.parkNanos(blocker, min(nanos, MAX_NANOSECONDS_THRESHOLD)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 1.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
* occur except for those produced by awaitUninterruptibly itself in response to interrupts. * * This isn't guaranteed to work, so any further spurious wakeups would probably cause failures in * tests that assert that a certain amount of time has passed, that the method returned `false`, * or even that an interrupt occurred (if the spurious wakeup happens before the interrupt). *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
* occur except for those produced by awaitUninterruptibly itself in response to interrupts. * * This isn't guaranteed to work, so any further spurious wakeups would probably cause failures in * tests that assert that a certain amount of time has passed, that the method returned `false`, * or even that an interrupt occurred (if the spurious wakeup happens before the interrupt). *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
} catch (InterruptedException ie) { // continue } LockSupport.unpark(Thread.currentThread()); // simulate a spurious wakeup. return null; } @Override boolean isDone() { return false; } @Override String toPendingString() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
} catch (InterruptedException ie) { // continue } LockSupport.unpark(Thread.currentThread()); // simulate a spurious wakeup. return null; } @Override boolean isDone() { return false; } @Override String toPendingString() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AtomicDouble.java
* href="#bitEquals">bitwise equal</a> to the expected value. * * <p>May <a * href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/package-summary.html#Spurious"> * fail spuriously</a> and does not provide ordering guarantees, so is only rarely an appropriate * alternative to {@code compareAndSet}. * * @param expect the expected value * @param update the new value
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
* value is <a href="#bitEquals">bitwise equal</a> to the expected value. * * <p>May <a * href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/package-summary.html#Spurious"> * fail spuriously</a> and does not provide ordering guarantees, so is only rarely an appropriate * alternative to {@code compareAndSet}. * * @param i the index * @param expect the expected value
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8.1K bytes - Click Count (0) -
src/cmd/asm/internal/asm/endtoend_test.go
} if len(output) > 0 && output[0] == want { output = output[1:] } else { t.Errorf("missing output: %q", want) } } for len(output) > 0 { if output[0] == "" { // spurious blank caused by Split on "\n" output = output[1:] continue } t.Errorf("unexpected output: %q", output[0]) output = output[1:] } // Checked printing. // Now check machine code layout.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Mar 20 17:02:17 GMT 2026 - 12.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
RangeMap<Integer, Integer> copy = TreeRangeMap.copyOf(rangeMap); assertEquals(rangeMap.asMapOfRanges(), copy.asMapOfRanges()); } // Overriding testEquals because it seems that we get spurious failures when it things empty // should be unequal to empty. public void testEquals() { TreeRangeMap<Integer, Integer> empty = TreeRangeMap.create();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 30.1K bytes - Click Count (0)