Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 386 for eduration (0.04 sec)

  1. internal/dsync/utils.go

    )
    
    func backoffWait(minSleep, unit, maxSleep time.Duration) func(*rand.Rand, uint) time.Duration {
    	if unit > time.Hour {
    		// Protect against integer overflow
    		panic("unit cannot exceed one hour")
    	}
    	return func(r *rand.Rand, attempt uint) time.Duration {
    		sleep := minSleep
    		sleep += unit * time.Duration(attempt)
    		if sleep > maxSleep {
    			sleep = maxSleep
    		}
    		sleep -= time.Duration(r.Float64() * float64(sleep))
    		return sleep
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Nov 11 14:51:43 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

                    .append(resource.getResourceName())
                    .append(" (");
            format.format(message, contentLength);
    
            long duration = System.currentTimeMillis() - resource.getTransferStartTime();
            if (duration > 0L) {
                double bytesPerSecond = contentLength / (duration / 1000.0);
                message.append(" at ");
                format.format(message, (long) bytesPerSecond);
                message.append("/s");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.4.md

    * Federation binaries and their corresponding docker images - `federation-apiserver` and `federation-controller-manager` are now folded in to the `hyperkube` binary. If you were using one of these binaries or docker images, please switch to using the `hyperkube` version. Please refer to the federation manifests - `federation/manifests/federation-apiserver.yaml` and `federation/manifests/federation-controller-manager-deployment.yaml` for examples. ...
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 133.5K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        assertEquals(6000000000L, ticker.read());
      }
    
      @GwtIncompatible // java.time.Duration
      @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents.
      public void testAutoIncrementStep_duration() {
        FakeTicker ticker = new FakeTicker().setAutoIncrementStep(Duration.ofMillis(1));
        assertEquals(0, ticker.read());
        assertEquals(1000000, ticker.read());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. docs_src/custom_request_and_route/tutorial003_py39.py

                before = time.time()
                response: Response = await original_route_handler(request)
                duration = time.time() - before
                response.headers["X-Response-Time"] = str(duration)
                print(f"route duration: {duration}")
                print(f"route response: {response}")
                print(f"route response headers: {response.headers}")
                return response
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        try {
          builder.callTimeout(Duration.ofNanos(1))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
          builder.connectTimeout(Duration.ofNanos(1))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
          builder.writeTimeout(Duration.ofNanos(1))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
          builder.readTimeout(Duration.ofNanos(1))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (1)
  7. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

         * Gets the lease flags from the break response
         * @return the lease flags
         */
        public int getLeaseFlags() {
            return flags;
        }
    
        /**
         * Gets the lease duration from the break response
         * @return the lease duration
         */
        public long getLeaseDuration() {
            return leaseDuration;
        }
    
        @Override
        protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. cmd/speedtest.go

    						opts.concurrencyStart, opts.duration)
    				}
    
    				// if the default concurrency yields zero results, throw an error.
    				if throughputHighestResults[i].Uploads == 0 && opts.concurrencyStart == concurrency {
    					errStr = fmt.Sprintf("no results for uploads upon first attempt, concurrency %d and duration %s",
    						opts.concurrencyStart, opts.duration)
    				}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. internal/dsync/dsync-server_test.go

    	l.lockNotFound = !refreshed
    }
    
    func (l *lockServer) setResponseDelay(responseDelay time.Duration) {
    	atomic.StoreInt64(&l.responseDelay, int64(responseDelay))
    }
    
    func (l *lockServer) Lock(args *LockArgs) (reply bool, err error) {
    	if d := atomic.LoadInt64(&l.responseDelay); d != 0 {
    		time.Sleep(time.Duration(d))
    	}
    
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/AbstractMavenTransferListener.java

            message.resetStyle().append(resource.getResourceName());
            message.style(STYLE).append(" (").append(format.format(contentLength));
    
            Duration duration = Duration.between(resource.getStartTime(), MonotonicClock.now());
            long nanos = duration.toNanos();
            if (nanos > 0) {
                double seconds = nanos / (double) TimeUnit.SECONDS.toNanos(1); // Convert to fractional seconds
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top