Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 315 for kduration (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/base/SuppliersTest.java

      }
    
      @J2ktIncompatible // Duration
      @GwtIncompatible // Duration
      public void testMemoizeWithExpiration_durationNegative() throws InterruptedException {
        assertThrows(
            IllegalArgumentException.class,
            () -> Suppliers.memoizeWithExpiration(() -> "", Duration.ZERO));
    
        assertThrows(
            IllegalArgumentException.class,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/SuppliersTest.java

      }
    
      @J2ktIncompatible // Duration
      @GwtIncompatible // Duration
      public void testMemoizeWithExpiration_durationNegative() throws InterruptedException {
        assertThrows(
            IllegalArgumentException.class,
            () -> Suppliers.memoizeWithExpiration(() -> "", Duration.ZERO));
    
        assertThrows(
            IllegalArgumentException.class,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  3. internal/rest/client.go

    }
    
    // computes the exponential backoff duration according to
    // https://www.awsarchitectureblog.com/2015/03/backoff.html
    func exponentialBackoffWait(r *rand.Rand, unit, maxSleep time.Duration) func(uint) time.Duration {
    	if unit > time.Hour {
    		// Protect against integer overflow
    		panic("unit cannot exceed one hour")
    	}
    	return func(attempt uint) time.Duration {
    		if attempt > 16 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  4. internal/bucket/bandwidth/measurement.go

    		return
    	}
    
    	duration := endTime.Sub(m.startTime)
    
    	bytesSinceLastWindow := atomic.SwapUint64(&m.bytesSinceLastWindow, 0)
    
    	if m.expMovingAvg == 0 {
    		// Should address initial calculation and should be fine for resuming from 0
    		m.expMovingAvg = float64(bytesSinceLastWindow) / duration.Seconds()
    		return
    	}
    
    	increment := float64(bytesSinceLastWindow) / duration.Seconds()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Jun 03 20:41:51 GMT 2023
    - 2.9K bytes
    - Click Count (0)
  5. internal/logger/help.go

    			Description: `sleep between each retries, allowed maximum value is '1m' e.g. '10s'`,
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         httpTimeout,
    			Description: `defines the maximum duration for each http request`,
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         config.Comment,
    			Description: config.DefaultComment,
    			Optional:    true,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Sep 11 22:20:42 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  6. internal/config/api/api.go

    	TransitionWorkers           int           `json:"transition_workers"`
    	StaleUploadsCleanupInterval time.Duration `json:"stale_uploads_cleanup_interval"`
    	StaleUploadsExpiry          time.Duration `json:"stale_uploads_expiry"`
    	DeleteCleanupInterval       time.Duration `json:"delete_cleanup_interval"`
    	EnableODirect               bool          `json:"enable_odirect"`
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.5K bytes
    - Click Count (1)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.execution;
    
    import java.time.Duration;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.artifact.ArtifactUtils;
    import org.apache.maven.plugin.descriptor.PluginDescriptor;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 6K bytes
    - Click Count (0)
  8. cmd/xl-storage-disk-id-check.go

    }
    
    func storageTrace(s storageMetric, startTime time.Time, duration time.Duration, path string, size int64, err string, custom map[string]string) madmin.TraceInfo {
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceStorage,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  "storage." + s.String(),
    		Duration:  duration,
    		Bytes:     size,
    		Path:      path,
    		Error:     err,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  9. internal/deadlineconn/deadlineconn.go

    type DeadlineConn struct {
    	net.Conn
    	readDeadline            time.Duration // sets the read deadline on a connection.
    	readSetAt               time.Time
    	writeDeadline           time.Duration // sets the write deadline on a connection.
    	writeSetAt              time.Time
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Dec 02 13:21:17 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  10. cmd/site-replication-metrics.go

    				Max:  epHealth.latency.peak,
    			}
    		}
    		m[dID] = metric
    	}
    	return m
    }
    
    func (srs *SRStatus) updateXferRate(sz int64, duration time.Duration) {
    	if sz > minLargeObjSize {
    		srs.XferRateLrg.addSize(sz, duration)
    	} else {
    		srs.XferRateSml.addSize(sz, duration)
    	}
    }
    
    func newSRStats() *SRStats {
    	s := SRStats{
    		M:               make(map[string]*SRStatus),
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top