Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,963 for tims (0.05 sec)

  1. src/runtime/testdata/testprog/vdso.go

    	// so running for 1 second should be sufficient.
    	for t1.Sub(t0) < time.Second {
    		t1 = time.Now()
    	}
    
    	pprof.StopCPUProfile()
    
    	name := f.Name()
    	if err := f.Close(); err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(2)
    	}
    
    	if err := os.Remove(name); err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(2)
    	}
    
    	fmt.Println("success")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 30 16:04:50 UTC 2022
    - 1005 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/configuration/configuration_manager.go

    limitations under the License.
    */
    
    package configuration
    
    import (
    	"fmt"
    	"sync"
    	"time"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/util/wait"
    )
    
    const (
    	defaultInterval             = 1 * time.Second
    	defaultFailureThreshold     = 5
    	defaultBootstrapRetries     = 5
    	defaultBootstrapGraceperiod = 5 * time.Second
    )
    
    var (
    	ErrNotReady = fmt.Errorf("configuration is not ready")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 06 02:02:38 UTC 2017
    - 4.3K bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/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: Tue Nov 09 02:34:54 UTC 2021
    - 5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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/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)
  9. 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)
  10. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetcondition.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 *StatefulSetConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *StatefulSetConditionApplyConfiguration {
    	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.7K bytes
    - Viewed (0)
Back to top