Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for lite (0.17 sec)

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

                return secondary;
              }
            };
        ListenableFuture<Bar> f2 = transformAsync(f1, function, directExecutor());
        f1.cancel(true);
        assertTrue(f2.isCancelled());
        /*
         * We might like to propagate interruption, too, but it's not clear that it matters. For now, we
         * test for the behavior that we have today.
         */
        assertFalse(((AbstractFuture<?>) f2).wasInterrupted());
      }
    
      /*
    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)
  2. guava/src/com/google/common/cache/LocalCache.java

         * comments.
         */
    
        @Weak final LocalCache<K, V> map;
    
        /** The number of live elements in this segment's region. */
        volatile int count;
    
        /** The weight of the live elements in this segment's region. */
        @GuardedBy("this")
        long totalWeight;
    
        /**
    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)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        DummyEntry<Object, Object> entry = createDummyEntry(key, hash, value, null);
    
        // remove absent
        assertFalse(segment.removeEntry(entry, hash, RemovalCause.COLLECTED));
    
        // remove live
        segment.recordWrite(entry, 1, map.ticker.read());
        table.set(0, entry);
        segment.count = 1;
        assertTrue(segment.removeEntry(entry, hash, RemovalCause.COLLECTED));
    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)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        DummyEntry<Object, Object> entry = createDummyEntry(key, hash, value, null);
    
        // remove absent
        assertFalse(segment.removeEntry(entry, hash, RemovalCause.COLLECTED));
    
        // remove live
        segment.recordWrite(entry, 1, map.ticker.read());
        table.set(0, entry);
        segment.count = 1;
        assertTrue(segment.removeEntry(entry, hash, RemovalCause.COLLECTED));
    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)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

                return secondary;
              }
            };
        ListenableFuture<Bar> f2 = transformAsync(f1, function, directExecutor());
        f1.cancel(true);
        assertTrue(f2.isCancelled());
        /*
         * We might like to propagate interruption, too, but it's not clear that it matters. For now, we
         * test for the behavior that we have today.
         */
        assertFalse(((AbstractFuture<?>) f2).wasInterrupted());
      }
    
      /*
    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)
  6. android/guava/src/com/google/common/collect/Maps.java

        if (comparator != null) { // can't use ? : because of javac bug 5080917
          return comparator;
        }
        return (Comparator<E>) Ordering.natural();
      }
    
      /**
       * Returns a live {@link Map} view whose keys are the contents of {@code set} and whose values are
       * computed on demand using {@code function}. To get an immutable <i>copy</i> instead, use {@link
       * #toMap(Iterable, Function)}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/LocalCache.java

         * comments.
         */
    
        @Weak final LocalCache<K, V> map;
    
        /** The number of live elements in this segment's region. */
        volatile int count;
    
        /** The weight of the live elements in this segment's region. */
        @GuardedBy("this")
        long totalWeight;
    
        /**
    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)
  8. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * in which {@code Cursor} is {@code Closeable}. To support older versions, pass a wrapper
         * {@code Closeable} with a method reference like {@code cursor::close}.
         *
         * <p>Note that this method is still binary-compatible between flavors because the erasure of
         * its parameter type is {@code Object}, not {@code AutoCloseable} or {@code Closeable}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        public static final String LABELS_system_error_title = "{labels.system_error_title}";
    
        /** The key of the message: Contact the Site Administrator. */
        public static final String LABELS_contact_site_admin = "{labels.contact_site_admin}";
    
        /** The key of the message: Bad Request */
        public static final String LABELS_request_error_title = "{labels.request_error_title}";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 146.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

                        SmbTransport trans = SmbTransport.getSmbTransport(addr, url.getPort());
                        /* This is a key point. This is where we set the "tree" of this file which
                         * is like changing the rug out from underneath our feet.
                         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top