Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 498 for rduration (0.19 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CachingResult.java

    import javax.annotation.Nullable;
    import java.time.Duration;
    
    public class CachingResult extends UpToDateResult {
    
        private final CachingState cachingState;
    
        public CachingResult(UpToDateResult parent, CachingState cachingState) {
            super(parent);
            this.cachingState = cachingState;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:30 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

      public FakeTicker advance(Duration duration) {
        return advance(duration.toNanos());
      }
    
      /**
       * Sets the increment applied to the ticker whenever it is queried.
       *
       * <p>The default behavior is to auto increment by zero. i.e: The ticker is left unchanged when
       * queried.
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/net/tcpconn_keepalive_illumos_test.go

    	if err != nil {
    		return
    	}
    	cfg = KeepAliveConfig{
    		Enable:   tcpKeepAlive != 0,
    		Idle:     time.Duration(tcpKeepAliveIdle) * time.Second,
    		Interval: time.Duration(tcpKeepAliveInterval) * time.Second,
    		Count:    tcpKeepAliveCount,
    	}
    	return
    }
    
    func verifyKeepAliveSettings(t *testing.T, fd fdType, oldCfg, cfg KeepAliveConfig) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults.go

    		obj.EtcdAPICall = &metav1.Duration{
    			Duration: constants.EtcdAPICallTimeout,
    		}
    	}
    	if obj.TLSBootstrap == nil {
    		obj.TLSBootstrap = &metav1.Duration{
    			Duration: constants.TLSBootstrapTimeout,
    		}
    	}
    	if obj.Discovery == nil {
    		obj.Discovery = &metav1.Duration{
    			Duration: constants.DiscoveryTimeout,
    		}
    	}
    	if obj.UpgradeManifests == nil {
    		obj.UpgradeManifests = &metav1.Duration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/FormatSupport.java

            double base = baselineVersion.getMedian().getValue().doubleValue();
            double current = currentVersion.getMedian().getValue().doubleValue();
            return (current - base) / base;
        }
    
        public static String getFormattedDifference(DataSeries<Duration> baselineVersion, DataSeries<Duration> currentVersion) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/CaptureOutputsAfterExecutionStepTest.groovy

        def "no state is captured if cache key calculated state is unavailable"() {
            def delegateDuration = Duration.ofMillis(123)
            delegateResult.duration >> delegateDuration
    
            when:
            def result = step.execute(work, context)
            then:
            !result.afterExecutionOutputState.present
            result.duration == delegateDuration
            assertNoOperation()
    
            1 * delegate.execute(work, _) >> delegateResult
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer.go

    	obj.APIServer.TimeoutForControlPlane = &metav1.Duration{
    		Duration: 0,
    	}
    	obj.ControllerManager.ExtraEnvs = []kubeadm.EnvVar{}
    	obj.APIServer.ExtraEnvs = []kubeadm.EnvVar{}
    	obj.Scheduler.ExtraEnvs = []kubeadm.EnvVar{}
    	obj.Etcd.Local.ExtraEnvs = []kubeadm.EnvVar{}
    	obj.EncryptionAlgorithm = kubeadm.EncryptionAlgorithmRSA2048
    	obj.Proxy.Disabled = false
    	obj.CertificateValidityPeriod = &metav1.Duration{Duration: constants.CertificateValidityPeriod}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/defaults.go

    	return RegisterDefaults(scheme)
    }
    
    func SetDefaults_WebhookConfiguration(obj *WebhookConfiguration) {
    	if obj.AuthorizedTTL.Duration == 0 {
    		obj.AuthorizedTTL.Duration = 5 * time.Minute
    	}
    	if obj.UnauthorizedTTL.Duration == 0 {
    		obj.UnauthorizedTTL.Duration = 30 * time.Second
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 18 06:03:17 UTC 2023
    - 987 bytes
    - Viewed (0)
  9. plugin/pkg/admission/imagepolicy/config_test.go

    				AllowTTL:     minAllowTTL - time.Duration(1),
    				DenyTTL:      minDenyTTL - time.Duration(1),
    				RetryBackoff: minRetryBackoff - time.Duration(1),
    			},
    			wantErr: true,
    		},
    		{
    			test: "config above normal ranges, error",
    			config: imagePolicyWebhookConfig{
    				AllowTTL:     time.Duration(1) + maxAllowTTL,
    				DenyTTL:      time.Duration(1) + maxDenyTTL,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PrettyCalculator.groovy

    import org.gradle.performance.measure.Duration
    
    import java.math.RoundingMode
    
    @CompileStatic
    class PrettyCalculator {
    
        static String toBytes(Amount<DataAmount> bytes) {
            return bytes.toUnits(DataAmount.BYTES).value.setScale(3, RoundingMode.HALF_UP).stripTrailingZeros().toString() + " B"
        }
    
        static String toMillis(Amount<Duration> duration) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top