Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for created (0.31 sec)

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

                  | (usesAccessQueue ? ACCESS_MASK : 0)
                  | (usesWriteQueue ? WRITE_MASK : 0);
          return factories[flags];
        }
    
        /**
         * Creates a new entry.
         *
         * @param segment to create the entry for
         * @param key of the entry
         * @param hash of the key
         * @param next entry in the same bucket
         */
        abstract <K, V> ReferenceEntry<K, V> newEntry(
    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. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testCompletionOrder() throws Exception {
        SettableFuture<Long> future1 = SettableFuture.create();
        SettableFuture<Long> future2 = SettableFuture.create();
        SettableFuture<Long> future3 = SettableFuture.create();
        SettableFuture<Long> future4 = SettableFuture.create();
        SettableFuture<Long> future5 = SettableFuture.create();
    
        ImmutableList<ListenableFuture<Long>> futures =
            inCompletionOrder(
    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)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        int hash = map.hash(key);
        Object value = new Object();
        int index = hash & (table.length() - 1);
    
        DummyEntry<Object, Object> entry = DummyEntry.create(key, hash, null);
        DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value);
        entry.setValueReference(valueRef);
        table.set(index, entry);
        segment.count++;
    
        assertSame(value, map.get(key, loader));
    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

        int hash = map.hash(key);
        Object value = new Object();
        int index = hash & (table.length() - 1);
    
        DummyEntry<Object, Object> entry = DummyEntry.create(key, hash, null);
        DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value);
        entry.setValueReference(valueRef);
        table.set(index, entry);
        segment.count++;
    
        assertSame(value, map.get(key, loader));
    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

      public void testCompletionOrder() throws Exception {
        SettableFuture<Long> future1 = SettableFuture.create();
        SettableFuture<Long> future2 = SettableFuture.create();
        SettableFuture<Long> future3 = SettableFuture.create();
        SettableFuture<Long> future4 = SettableFuture.create();
        SettableFuture<Long> future5 = SettableFuture.create();
    
        ImmutableList<ListenableFuture<Long>> futures =
            inCompletionOrder(
    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/util/concurrent/ClosingFuture.java

       *     begins. Consider replacing code that creates {@link ListenableFuture}s of closeable types,
       *     including those that pass them to this method, with {@link #submit(ClosingCallable,
       *     Executor)} in order to ensure that resources do not leak. Or, to start a pipeline with a
       *     {@link ListenableFuture} that doesn't create values that should be closed, use {@link
       *     ClosingFuture#from}.
       */
    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)
  7. android/guava/src/com/google/common/cache/LocalCache.java

                  | (usesAccessQueue ? ACCESS_MASK : 0)
                  | (usesWriteQueue ? WRITE_MASK : 0);
          return factories[flags];
        }
    
        /**
         * Creates a new entry.
         *
         * @param segment to create the entry for
         * @param key of the entry
         * @param hash of the key
         * @param next entry in the same bucket
         */
        abstract <K, V> ReferenceEntry<K, V> newEntry(
    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/collect/Maps.java

      }
    
      /**
       * Creates a <i>mutable</i>, empty {@code HashMap} instance.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableMap#of()} instead.
       *
       * <p><b>Note:</b> if {@code K} is an {@code enum} type, use {@link #newEnumMap} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
    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)
Back to top