Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for timerC (0.2 sec)

  1. src/time/time.go

    //
    // Programs using times should typically store and pass them as values,
    // not pointers. That is, time variables and struct fields should be of
    // type [time.Time], not *time.Time.
    //
    // A Time value can be used by multiple goroutines simultaneously except
    // that the methods [Time.GobDecode], [Time.UnmarshalBinary], [Time.UnmarshalJSON] and
    // [Time.UnmarshalText] are not concurrency-safe.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    			// is running, not only the first ones in the list.
    			timer := c.timer
    			for _, watcher := range c.blockedWatchers {
    				if !watcher.add(event, timer) {
    					// fired, clean the timer by set it to nil.
    					timer = nil
    				}
    			}
    
    			// Stop the timer if it is not fired
    			if timer != nil && !timer.Stop() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  3. src/time/time_test.go

    	}},
    
    	{"Truncate", func(t1, t2 Time) bool { return t1.Truncate(Hour).Equal(t2.Truncate(Hour)) }},
    	{"Round", func(t1, t2 Time) bool { return t1.Round(Hour).Equal(t2.Round(Hour)) }},
    
    	{"== Time{}", func(t1, t2 Time) bool { return (t1 == Time{}) == (t2 == Time{}) }},
    }
    
    func TestDefaultLoc(t *testing.T) {
    	// Verify that all of Time's methods behave identically if loc is set to
    	// nil or UTC.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  4. src/runtime/mgcscavenge.go

    	}
    	lockInit(&s.lock, lockRankScavenge)
    	s.g = getg()
    
    	s.timer = new(timer)
    	f := func(s any, _ uintptr, _ int64) {
    		s.(*scavengerState).wake()
    	}
    	s.timer.init(f, s)
    
    	// input: fraction of CPU time actually used.
    	// setpoint: ideal CPU fraction.
    	// output: ratio of time worked to time slept (determines sleep time).
    	//
    	// The output of this controller is somewhat indirect to what we actually
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  5. src/net/http/transport.go

    	errc := make(chan error, 2)
    	var timer *time.Timer // for canceling TLS handshake
    	if d := pconn.t.TLSHandshakeTimeout; d != 0 {
    		timer = time.AfterFunc(d, func() {
    			errc <- tlsHandshakeTimeoutError{}
    		})
    	}
    	go func() {
    		if trace != nil && trace.TLSHandshakeStart != nil {
    			trace.TLSHandshakeStart()
    		}
    		err := tlsConn.HandshakeContext(ctx)
    		if timer != nil {
    			timer.Stop()
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  6. src/syscall/zerrors_solaris_amd64.go

    	22: "pollable Event",
    	23: "stopped (signal)",
    	24: "stopped (user)",
    	25: "continued",
    	26: "stopped (tty input)",
    	27: "stopped (tty output)",
    	28: "virtual Timer Expired",
    	29: "profiling Timer Expired",
    	30: "cpu Limit Exceeded",
    	31: "file Size Limit Exceeded",
    	32: "no runnable lwp",
    	33: "inter-lwp signal",
    	34: "checkpoint Freeze",
    	35: "checkpoint Thaw",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  7. src/syscall/zerrors_linux_386.go

    	19: "stopped (signal)",
    	20: "stopped",
    	21: "stopped (tty input)",
    	22: "stopped (tty output)",
    	23: "urgent I/O condition",
    	24: "CPU time limit exceeded",
    	25: "file size limit exceeded",
    	26: "virtual timer expired",
    	27: "profiling timer expired",
    	28: "window changed",
    	29: "I/O possible",
    	30: "power failure",
    	31: "bad system call",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 19 16:12:50 UTC 2022
    - 57.4K bytes
    - Viewed (0)
  8. src/syscall/zerrors_linux_amd64.go

    	19: "stopped (signal)",
    	20: "stopped",
    	21: "stopped (tty input)",
    	22: "stopped (tty output)",
    	23: "urgent I/O condition",
    	24: "CPU time limit exceeded",
    	25: "file size limit exceeded",
    	26: "virtual timer expired",
    	27: "profiling timer expired",
    	28: "window changed",
    	29: "I/O possible",
    	30: "power failure",
    	31: "bad system call",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 19 16:12:50 UTC 2022
    - 57.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go

    	{24, "SIGTSTP", "stopped (user)"},
    	{25, "SIGCONT", "continued"},
    	{26, "SIGTTIN", "stopped (tty input)"},
    	{27, "SIGTTOU", "stopped (tty output)"},
    	{28, "SIGVTALRM", "virtual Timer Expired"},
    	{29, "SIGPROF", "profiling Timer Expired"},
    	{30, "SIGXCPU", "cpu Limit Exceeded"},
    	{31, "SIGXFSZ", "file Size Limit Exceeded"},
    	{32, "SIGWAITING", "no runnable lwp"},
    	{33, "SIGLWP", "inter-lwp signal"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 59K bytes
    - Viewed (0)
  10. src/syscall/zerrors_linux_arm.go

    	19: "stopped (signal)",
    	20: "stopped",
    	21: "stopped (tty input)",
    	22: "stopped (tty output)",
    	23: "urgent I/O condition",
    	24: "CPU time limit exceeded",
    	25: "file size limit exceeded",
    	26: "virtual timer expired",
    	27: "profiling timer expired",
    	28: "window changed",
    	29: "I/O possible",
    	30: "power failure",
    	31: "bad system call",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 19 16:12:50 UTC 2022
    - 57.9K bytes
    - Viewed (0)
Back to top