Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 152 for udpate (0.2 sec)

  1. android/guava/src/com/google/common/hash/AbstractByteHasher.java

      /** Updates this hasher with the given byte. */
      protected abstract void update(byte b);
    
      /** Updates this hasher with the given bytes. */
      protected void update(byte[] b) {
        update(b, 0, b.length);
      }
    
      /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */
      protected void update(byte[] b, int off, int len) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/LongAdder.java

     * (method {@link #add}) are contended across threads, the set of variables may grow dynamically to
     * reduce contention. Method {@link #sum} (or, equivalently, {@link #longValue}) returns the current
     * total combined across the variables maintaining the sum.
     *
     * <p>This class is usually preferable to {@link AtomicLong} when multiple threads update a common
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

        assertThat(c.asMap().computeIfAbsent("hash-2", k -> "")).isEqualTo("");
      }
    
      public void testComputeIfPresent() {
        cache.put(key, "1");
        // simultaneous update for same key, expect count successful updates
        doParallelCacheOp(
            count,
            n -> {
              cache.asMap().computeIfPresent(key, (k, v) -> v + delimiter + n);
            });
        assertEquals(1, cache.size());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

            AbstractFuture<?> future, @CheckForNull Waiter expect, @CheckForNull Waiter update) {
          return waitersUpdater.compareAndSet(future, expect, update);
        }
    
        @Override
        boolean casListeners(AbstractFuture<?> future, @CheckForNull Listener expect, Listener update) {
          return listenersUpdater.compareAndSet(future, expect, update);
        }
    
        /** Performs a GAS operation on the {@link #listeners} field. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

      private class TestHasher extends AbstractByteHasher {
    
        private final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
        @Override
        protected void update(byte b) {
          out.write(b);
        }
    
        @Override
        protected void update(byte[] b, int off, int len) {
          out.write(b, off, len);
        }
    
        byte[] bytes() {
          return out.toByteArray();
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  6. futures/README.md

    The modules under this directory will be released exactly once each. Once that
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 12 21:42:09 GMT 2018
    - 141 bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/HashMultimap.java

     * views are modifiable.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly if the last write <i>happens-before</i> any reads. To allow
     * concurrent update operations, wrap your multimap with a call to {@link
     * Multimaps#synchronizedSetMultimap}.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SortedSetMultimap.java

      /**
       * Returns a collection view of all values associated with a key. If no mappings in the multimap
       * have the provided key, an empty collection is returned.
       *
       * <p>Changes to the returned collection will update the underlying multimap, and vice versa.
       *
       * <p>Because a {@code SortedSetMultimap} has unique sorted values for a given key, this method
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ArrayListMultimap.java

     * implement {@link java.util.RandomAccess}.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly. To allow concurrent update operations, wrap your multimap
     * with a call to {@link Multimaps#synchronizedListMultimap}.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

        assertThat(setToTest).isEqualTo(wrappedSet);
        assertThat(setToTest).isEqualTo(copyOfWrappedSet);
    
        // invalidate setToTest
        wrappedSet.remove(1);
        // sanity check on update of wrappedSet
        assertThat(wrappedSet).isNotEqualTo(copyOfWrappedSet);
    
        ImmutableSet<Integer> copyOfModifiedSet = ImmutableSet.copyOf(wrappedSet); // {2,3}
        // sanity check on construction of copyOfModifiedSet
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top