Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for eclair (0.15 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value);
        entry.setValueReference(valueRef);
    
        // reclaim absent
        assertFalse(segment.reclaimValue(key, hash, valueRef));
    
        // reclaim live
        segment.recordWrite(entry, 1, map.ticker.read());
        table.set(0, entry);
        segment.count = 1;
        assertTrue(segment.reclaimValue(key, hash, valueRef));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value);
        entry.setValueReference(valueRef);
    
        // reclaim absent
        assertFalse(segment.reclaimValue(key, hash, valueRef));
    
        // reclaim live
        segment.recordWrite(entry, 1, map.ticker.read());
        table.set(0, entry);
        segment.count = 1;
        assertTrue(segment.reclaimValue(key, hash, valueRef));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        try {
          getList().subList(1, 0);
          fail("subList(1, 0) should throw");
        } catch (IndexOutOfBoundsException expected) {
        } catch (IllegalArgumentException expected) {
          /*
           * The subList() docs claim that this should be an
           * IndexOutOfBoundsException, but many JDK implementations throw
           * IllegalArgumentException:
           * http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4506427
           */
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

       * executor promptly, or else the returned {@code ListenableFuture} may fail to work. The task's
       * execution consists of blocking until the input future is {@linkplain Future#isDone() done}, so
       * each call to this method may claim and hold a thread for an arbitrary length of time. Use of
       * bounded executors or other executors that may fail to execute a task promptly may result in
       * deadlocks.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        try {
          getList().subList(1, 0);
          fail("subList(1, 0) should throw");
        } catch (IndexOutOfBoundsException expected) {
        } catch (IllegalArgumentException expected) {
          /*
           * The subList() docs claim that this should be an
           * IndexOutOfBoundsException, but many JDK implementations throw
           * IllegalArgumentException:
           * http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4506427
           */
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top