Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for maxDur (0.03 sec)

  1. cmd/dynamic-timeouts.go

    		// We are hitting the timeout relatively few times,
    		// so decrease the timeout towards 25 % of maximum time spent.
    		maxDur = maxDur * 125 / 100
    
    		timeout := atomic.LoadInt64(&dt.timeout)
    		if maxDur < time.Duration(timeout) {
    			// Move 50% toward the max.
    			timeout = (int64(maxDur) + timeout) / 2
    		}
    		if timeout < dt.minimum {
    			timeout = dt.minimum
    		}
    		atomic.StoreInt64(&dt.timeout, timeout)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. cmd/erasure-metadata-utils.go

    	maxCnt := 0
    	for err, count := range errorCounts {
    		switch {
    		case maxCnt < count:
    			maxCnt = count
    			maxErr = err
    
    		// Prefer `nil` over other error values with the same
    		// number of occurrences.
    		case maxCnt == count && err == nil:
    			maxErr = err
    		}
    	}
    	return maxCnt, maxErr
    }
    
    // reduceQuorumErrs behaves like reduceErrs by only for returning
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/BaseConfiguration.java

         * @param maxStr string representation of maximum protocol version
         */
        protected void initProtocolVersions(final String minStr, final String maxStr) {
            final DialectVersion min = minStr != null && !minStr.isEmpty() ? DialectVersion.valueOf(minStr) : null;
            final DialectVersion max = maxStr != null && !maxStr.isEmpty() ? DialectVersion.valueOf(maxStr) : null;
            initProtocolVersions(min, max);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top