Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for Updated (0.2 sec)

  1. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       */
      public final boolean compareAndSet(int i, double expect, double update) {
        return longs.compareAndSet(i, doubleToRawLongBits(expect), doubleToRawLongBits(update));
      }
    
      /**
       * Atomically sets the element at position {@code i} to the given updated value if the current
       * value is <a href="#bitEquals">bitwise equal</a> to the expected value.
       *
       * <p>May <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ComputationException.java

     *     ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. Any
     *     code that is still catching {@code ComputationException} may need to be updated to catch some
     *     of those types instead. (Note that this type, though deprecated, is not planned to be removed
     *     from Guava.)
     */
    @Deprecated
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 04 13:28:27 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hasher.java

       * other words, no character encoding is performed; the low byte and high byte of each {@code
       * char} are hashed directly (in that order). The input must not be updated while this method is
       * in progress.
       *
       * <p><b>Warning:</b> This method will produce different output than most other languages do when
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/GraphsTest.java

          assertThat(directedGraph.outDegree(node)).isSameInstanceAs(transpose.inDegree(node));
        }
    
        assertThat(transpose.successors(N1)).doesNotContain(N2);
        directedGraph.putEdge(N2, N1);
        // View should be updated.
        assertThat(transpose.successors(N1)).contains(N2);
        AbstractGraphTest.validateGraph(transpose);
      }
    
      @Test
      public void transpose_undirectedValueGraph() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 24.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/Graphs.java

       *
       * <p>This is a "snapshot" based on the current topology of {@code graph}, rather than a live view
       * of the transitive closure of {@code graph}. In other words, the returned {@link Graph} will not
       * be updated after modifications to {@code graph}.
       *
       * @since 33.1.0 (present with return type {@code Graph} since 20.0)
       */
      // TODO(b/31438252): Consider potential optimizations for this algorithm.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ComputationException.java

     *     ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. Any
     *     code that is still catching {@code ComputationException} may need to be updated to catch some
     *     of those types instead. (Note that this type, though deprecated, is not planned to be removed
     *     from Guava.)
     */
    @Deprecated
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 04 13:28:27 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/Striped64.java

      /**
       * Computes the function of current and new value. Subclasses should open-code this update
       * function for most uses, but the virtualized form is needed within retryUpdate.
       *
       * @param currentValue the current value (of either base or a cell)
       * @param newValue the argument from a user update call
       * @return result of the update function
       */
      abstract long fn(long currentValue, long newValue);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Striped64.java

      /**
       * Computes the function of current and new value. Subclasses should open-code this update
       * function for most uses, but the virtualized form is needed within retryUpdate.
       *
       * @param currentValue the current value (of either base or a cell)
       * @param newValue the argument from a user update call
       * @return result of the update function
       */
      abstract long fn(long currentValue, long newValue);
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

    import java.util.Map.Entry;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.atomic.AtomicLong;
    import javax.annotation.CheckForNull;
    
    /**
     * A map containing {@code long} values that can be atomically updated. While writes to a
     * traditional {@code Map} rely on {@code put(K, V)}, the typical mechanism for writing to this map
     * is {@code addAndGet(K, long)}, which adds a {@code long} to the value currently associated with
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * configured with. The initial value of this is the same as the {@code permitsPerSecond} argument
       * passed in the factory method that produced this {@code RateLimiter}, and it is only updated
       * after invocations to {@linkplain #setRate}.
       */
      public final double getRate() {
        synchronized (mutex()) {
          return doGetRate();
        }
      }
    
      abstract double doGetRate();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
Back to top