Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 376 for timeEnd (0.13 sec)

  1. pkg/controller/deployment/util/deployment_util_test.go

    			nowFn:    func() time.Time { return timeFn(1, 20) },
    			expected: false,
    		},
    		{
    			name: "infinite progressDeadlineSeconds specified - no timeout",
    
    			d:        deployment(apps.DeploymentProgressing, v1.ConditionTrue, "", &infinite, timeFn(1, 9)),
    			nowFn:    func() time.Time { return timeFn(1, 20) },
    			expected: false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection_test.go

    	raw := spdyConn.(*connection).conn
    	if err := raw.Wait(15 * time.Second); err != nil {
    		t.Fatalf("client: timed out waiting for connection closure: %v", err)
    	}
    
    	expired := time.NewTimer(15 * time.Second)
    	defer expired.Stop()
    	i := 0
    	for {
    		select {
    		case <-expired.C:
    			t.Fatalf("timed out waiting for proxy and/or server closure")
    		case <-serverDone:
    			i++
    		case <-proxyDone:
    			i++
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 11:58:57 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/wait/error.go

    //
    // Deprecated: This type will be made private in favor of Interrupted()
    // for checking errors or ErrorInterrupted(err) for returning a wrapped error.
    var ErrWaitTimeout = ErrorInterrupted(errors.New("timed out waiting for the condition"))
    
    // Interrupted returns true if the error indicates a Poll, ExponentialBackoff, or
    // Until loop exited for any reason besides the condition returning true or an
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. test/typeparam/chansimp.dir/main.go

    	}
    }
    
    func TestSink() {
    	c := a.Sink[int](context.Background())
    	after := time.NewTimer(time.Minute)
    	defer after.Stop()
    	send := func(v int) {
    		select {
    		case c <- v:
    		case <-after.C:
    			panic("timed out sending to Sink")
    		}
    	}
    	send(1)
    	send(2)
    	send(3)
    	close(c)
    }
    
    func TestExclusive() {
    	val := 0
    	ex := a.MakeExclusive(&val)
    
    	var wg sync.WaitGroup
    	f := func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go

    	SYS_TIMER_CREATE         = 235 // { int|sys||timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid); }
    	SYS_TIMER_DELETE         = 236 // { int|sys||timer_delete(timer_t timerid); }
    	SYS_TIMER_GETOVERRUN     = 239 // { int|sys||timer_getoverrun(timer_t timerid); }
    	SYS_FDATASYNC            = 241 // { int|sys||fdatasync(int fd); }
    	SYS_MLOCKALL             = 242 // { int|sys||mlockall(int flags); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/finisher/finisher_test.go

    		reason                     string
    	}{
    		{
    			name:            "ResultFunc function returns a result after the request had timed out",
    			object:          &example.Pod{},
    			postTimeoutWait: 5 * time.Minute,
    		},
    		{
    			name:            "ResultFunc function returns an error after the request had timed out",
    			err:             errors.New("my error"),
    			postTimeoutWait: 5 * time.Minute,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 14:20:33 UTC 2021
    - 8.2K bytes
    - Viewed (0)
  7. src/internal/trace/event/event.go

    	// trace reader.
    	//
    	// Events that are not "timed" are considered "structural"
    	// since they either need significant reinterpretation or
    	// otherwise aren't actually surfaced by the trace reader.
    	IsTimedEvent bool
    
    	// HasData is true if the event has trailer consisting of a
    	// varint length followed by unencoded bytes of some data.
    	//
    	// An event may not be both a timed event and have data.
    	HasData bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/syscall/zsysnum_freebsd_amd64.go

    	SYS_KTIMER_DELETE            = 236 // { int ktimer_delete(int timerid); }
    	SYS_KTIMER_SETTIME           = 237 // { int ktimer_settime(int timerid, int flags, \
    	SYS_KTIMER_GETTIME           = 238 // { int ktimer_gettime(int timerid, struct \
    	SYS_KTIMER_GETOVERRUN        = 239 // { int ktimer_getoverrun(int timerid); }
    	SYS_NANOSLEEP                = 240 // { int nanosleep(const struct timespec *rqtp, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_freebsd_arm.go

    	SYS_KTIMER_DELETE            = 236 // { int ktimer_delete(int timerid); }
    	SYS_KTIMER_SETTIME           = 237 // { int ktimer_settime(int timerid, int flags, \
    	SYS_KTIMER_GETTIME           = 238 // { int ktimer_gettime(int timerid, struct \
    	SYS_KTIMER_GETOVERRUN        = 239 // { int ktimer_getoverrun(int timerid); }
    	SYS_NANOSLEEP                = 240 // { int nanosleep(const struct timespec *rqtp, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_netbsd_amd64.go

    	SYS_TIMER_CREATE         = 235 // { int|sys||timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid); }
    	SYS_TIMER_DELETE         = 236 // { int|sys||timer_delete(timer_t timerid); }
    	SYS_TIMER_GETOVERRUN     = 239 // { int|sys||timer_getoverrun(timer_t timerid); }
    	SYS_FDATASYNC            = 241 // { int|sys||fdatasync(int fd); }
    	SYS_MLOCKALL             = 242 // { int|sys||mlockall(int flags); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 25.7K bytes
    - Viewed (0)
Back to top