Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for incrementing (0.07 sec)

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

            counters.add(listener);
            assertEquals(expected.count(listener), counters.count(listener));
          }
    
          @Override
          public String toString() {
            return "incrementing";
          }
        };
      }
    
      private static <T> ImmutableMultiset<T> multiset(T value, int count) {
        return multiset(ImmutableMap.of(value, count));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

            counters.add(listener);
            assertEquals(expected.count(listener), counters.count(listener));
          }
    
          @Override
          public String toString() {
            return "incrementing";
          }
        };
      }
    
      private static <T> ImmutableMultiset<T> multiset(T value, int count) {
        return multiset(ImmutableMap.of(value, count));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/InetAddresses.java

        byte[] addr = address.getAddress();
        int i = addr.length - 1;
        while (i >= 0 && addr[i] == (byte) 0xff) {
          addr[i] = 0;
          i--;
        }
    
        checkArgument(i >= 0, "Incrementing %s would wrap.", address);
    
        addr[i]++;
        return bytesToInetAddress(addr, null);
      }
    
      /**
       * Returns true if the InetAddress is either 255.255.255.255 for IPv4 or
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

        byte[] addr = address.getAddress();
        int i = addr.length - 1;
        while (i >= 0 && addr[i] == (byte) 0xff) {
          addr[i] = 0;
          i--;
        }
    
        checkArgument(i >= 0, "Incrementing %s would wrap.", address);
    
        addr[i]++;
        return bytesToInetAddress(addr, null);
      }
    
      /**
       * Returns true if the InetAddress is either 255.255.255.255 for IPv4 or
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. internal/bucket/bandwidth/measurement.go

    }
    
    // exponentialMovingAverage calculates the exponential moving average
    func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 {
    	return (1-beta)*incrementAvg + beta*previousAvg
    }
    
    // getExpMovingAvgBytesPerSecond returns the exponential moving average for the bucket in bytes
    func (m *bucketMeasurement) getExpMovingAvgBytesPerSecond() float64 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 03 20:41:51 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.13.md

    - OpenAPI spec now correctly marks delete request's body parameter as optional ([#70032](https://github.com/kubernetes/kubernetes/pull/70032), [@iamneha](https://github.com/iamneha))
    - The rules for incrementing `metadata.generation` of custom resources changed: ([#69059](https://github.com/kubernetes/kubernetes/pull/69059), [@caesarxuchao](https://github.com/caesarxuchao))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 273.1K bytes
    - Viewed (0)
  7. cmd/bucket-replication-metrics.go

    	m.expMovingAvg = exponentialMovingAverage(beta, m.expMovingAvg, increment)
    }
    
    // exponentialMovingAverage calculates the exponential moving average
    func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 {
    	return (1-beta)*incrementAvg + beta*previousAvg
    }
    
    // getExpMovingAvgBytesPerSecond returns the exponential moving average for the bucket/target in bytes
    func (m *rateMeasurement) getExpMovingAvgBytesPerSecond() float64 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.18.md

    ### Other notable announcements
    
    SIG Network is moving IPv6 to Beta in Kubernetes 1.18, after incrementing significantly the test coverage with new CI jobs.
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      }
    
      /*
       * ConcurrentMap operations which we may eventually add.
       *
       * The problem with these is that remove(K, long) has to be done in two phases by definition ---
       * first decrementing to zero, and then removing. putIfAbsent or replace could observe the
       * intermediate zero-state. Ways we could deal with this are:
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

         * entry must be removed if it is a zombie.
         */
        internal var currentEditor: Editor? = null
    
        /**
         * Sources currently reading this entry before a write or delete can proceed. When decrementing
         * this to zero, the entry must be removed if it is a zombie.
         */
        internal var lockingSourceCount = 0
    
        /** The sequence number of the most recently committed edit to this entry. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top