Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for exponentialMovingAverage (0.22 sec)

  1. internal/bucket/bandwidth/monitor_test.go

    	test2Want2 := make(map[BucketOptions]Details)
    	test2Want2[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = Details{
    		LimitInBytesPerSecond:            1024 * 1024,
    		CurrentBandwidthInBytesPerSecond: exponentialMovingAverage(betaBucket, float64(oneMiB), 2*float64(oneMiB)),
    	}
    
    	test1ActiveBuckets := make(map[BucketOptions]*bucketMeasurement)
    	test1ActiveBuckets[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = m0
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 06 03:21:59 GMT 2023
    - 4.3K bytes
    - Viewed (0)
Back to top