Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sumThenReset (0.04 sec)

  1. android/guava/src/com/google/common/cache/LongAdder.java

       * concurrent with this method, the returned value is not guaranteed to be the final
       * value occurring before the reset.
       *
       * @return the sum
       */
      public long sumThenReset() {
        long sum = base;
        Cell[] as = cells;
        base = 0L;
        if (as != null) {
          int n = as.length;
          for (int i = 0; i < n; ++i) {
            Cell a = as[i];
            if (a != null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top