Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for udpate (0.19 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

       * exceeded.
       *
       * The page replacement algorithm's data structures are kept casually consistent with the map. The
       * ordering of writes to a segment is sequentially consistent. An update to the map and recording
       * of reads may not be immediately reflected on the algorithm's data structures. These structures
       * are guarded by a lock and operations are applied in batches to avoid lock contention. The
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        valueRef.clear();
        assertNotSame(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
        assertEquals(1, segment.count);
      }
    
      @AndroidIncompatible // Perhaps emulator clock does not update between the two get() calls?
      public void testComputeExpiredEntry() throws ExecutionException {
        CacheBuilder<Object, Object> builder =
            createCacheBuilder().expireAfterWrite(1, TimeUnit.NANOSECONDS);
    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)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        valueRef.clear();
        assertNotSame(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
        assertEquals(1, segment.count);
      }
    
      @AndroidIncompatible // Perhaps emulator clock does not update between the two get() calls?
      public void testComputeExpiredEntry() throws ExecutionException {
        CacheBuilder<Object, Object> builder =
            createCacheBuilder().expireAfterWrite(1, TimeUnit.NANOSECONDS);
    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)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // Memoized get also retains the value.
        assertEquals(6, getDoneFromTimeoutOverload(transformedFuture).intValue());
    
        // Unsurprisingly, recomposing the future will return an updated value.
        assertEquals(8, getDone(transform(immediateFuture, adder, directExecutor())).intValue());
    
        // Repeating, with the timeout version
        assertEquals(
            8,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // Memoized get also retains the value.
        assertEquals(6, getDoneFromTimeoutOverload(transformedFuture).intValue());
    
        // Unsurprisingly, recomposing the future will return an updated value.
        assertEquals(8, getDone(transform(immediateFuture, adder, directExecutor())).intValue());
    
        // Repeating, with the timeout version
        assertEquals(
            8,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

       * exceeded.
       *
       * The page replacement algorithm's data structures are kept casually consistent with the map. The
       * ordering of writes to a segment is sequentially consistent. An update to the map and recording
       * of reads may not be immediately reflected on the algorithm's data structures. These structures
       * are guarded by a lock and operations are applied in batches to avoid lock contention. The
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
Back to top