Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for incrementing (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top