Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 8,625 for tims (0.06 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/upload/date.go

    	parsed, err := u.parseCountFile(fname)
    	if err != nil {
    		return time.Time{}, time.Time{}, err
    	}
    	timeBegin, ok := parsed.Meta["TimeBegin"]
    	if !ok {
    		return time.Time{}, time.Time{}, fmt.Errorf("missing counter metadata for TimeBegin")
    	}
    	begin, err = time.Parse(time.RFC3339, timeBegin)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversioncondition.go

    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the LastTransitionTime field is set to the value of the last call.
    func (b *StorageVersionConditionApplyConfiguration) WithLastTransitionTime(value v1.Time) *StorageVersionConditionApplyConfiguration {
    	b.LastTransitionTime = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  3. pkg/kubelet/metrics/metrics.go

    func GetGather() metrics.Gatherer {
    	return legacyregistry.DefaultGatherer
    }
    
    // SinceInSeconds gets the time since the specified start in seconds.
    func SinceInSeconds(start time.Time) float64 {
    	return time.Since(start).Seconds()
    }
    
    // SetNodeName sets the NodeName Gauge to 1.
    func SetNodeName(name types.NodeName) {
    	NodeName.WithLabelValues(string(name)).Set(1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 15:13:25 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  4. src/runtime/testdata/testwinsignal/main.go

    		log.Fatal("post message failed: ", err)
    	}
    
    	sig := <-c
    
    	// Allow some time for the handler to complete if it's going to.
    	//
    	// (In https://go.dev/issue/41884 the handler returned immediately,
    	// which caused Windows to terminate the program before the goroutine
    	// that received the SIGTERM had a chance to actually clean up.)
    	time.Sleep(time.Second)
    
    	// Print the signal's name: "terminated" makes the test succeed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 07:37:53 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalerstatus.go

    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the LastScaleTime field is set to the value of the last call.
    func (b *HorizontalPodAutoscalerStatusApplyConfiguration) WithLastScaleTime(value v1.Time) *HorizontalPodAutoscalerStatusApplyConfiguration {
    	b.LastScaleTime = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/filters/request_deadline_test.go

    				t.Errorf("expected the request handler to be invoked %d times, but was actually invoked %d times", test.handlerCallCountExpected, callCount)
    			}
    
    			if test.hasDeadlineExpected != hasDeadlineGot {
    				t.Errorf("expected the request context to have deadline set: %t but got: %t", test.hasDeadlineExpected, hasDeadlineGot)
    			}
    
    			deadlineGot = deadlineGot.Truncate(time.Second)
    			if test.deadlineExpected != deadlineGot {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 14 23:04:34 UTC 2022
    - 16.7K bytes
    - Viewed (0)
  7. src/testing/internal/testdeps/deps.go

    	log.mu.Lock()
    	log.w = bufio.NewWriter(w)
    	if !log.set {
    		// Tests that define TestMain and then run m.Run multiple times
    		// will call StartTestLog/StopTestLog multiple times.
    		// Checking log.set avoids calling testlog.SetLogger multiple times
    		// (which will panic) and also avoids writing the header multiple times.
    		log.set = true
    		testlog.SetLogger(&log)
    		log.w.WriteString("# test log\n") // known to cmd/go/internal/test/test.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics/metrics.go

    var (
    	lockLastFromStorage   sync.Mutex
    	lockLastToStorage     sync.Mutex
    	lockRecordKeyID       sync.Mutex
    	lockRecordKeyIDStatus sync.Mutex
    
    	lastFromStorage                                 time.Time
    	lastToStorage                                   time.Time
    	keyIDHashTotalMetricLabels                      *lru.Cache
    	keyIDHashStatusLastTimestampSecondsMetricLabels *lru.Cache
    	cacheSize                                       = 100
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 09 22:31:32 UTC 2023
    - 12K bytes
    - Viewed (0)
  9. staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollercondition.go

    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the LastTransitionTime field is set to the value of the last call.
    func (b *ReplicationControllerConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ReplicationControllerConditionApplyConfiguration {
    	b.LastTransitionTime = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetcondition.go

    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the LastTransitionTime field is set to the value of the last call.
    func (b *DaemonSetConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *DaemonSetConditionApplyConfiguration {
    	b.LastTransitionTime = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.6K bytes
    - Viewed (0)
Back to top