Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 98 for Idle (0.04 sec)

  1. src/context/x_test.go

    	veryLongDuration = 1000 * time.Hour     // an arbitrary upper bound on the test's running time
    )
    
    // quiescent returns an arbitrary duration by which the program should have
    // completed any remaining work and reached a steady (idle) state.
    func quiescent(t *testing.T) time.Duration {
    	deadline, ok := t.Deadline()
    	if !ok {
    		return 5 * time.Second
    	}
    
    	const arbitraryCleanupMargin = 1 * time.Second
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. src/internal/trace/gc.go

    					ps[ev.Proc()].gc--
    				}
    			}
    			states[g] = new
    		case EventLabel:
    			l := ev.Label()
    			if flags&UtilBackground != 0 && strings.HasPrefix(l.Label, "GC ") && l.Label != "GC (idle)" {
    				// Background mark worker.
    				//
    				// If we're in per-proc mode, we don't
    				// count dedicated workers because
    				// they kick all of the goroutines off
    				// that P, so don't directly
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. api/go1.11.txt

    pkg crypto/tls, method (*ConnectionState) ExportKeyingMaterial(string, []uint8, int) ([]uint8, error)
    pkg database/sql, method (IsolationLevel) String() string
    pkg database/sql, type DBStats struct, Idle int
    pkg database/sql, type DBStats struct, InUse int
    pkg database/sql, type DBStats struct, MaxIdleClosed int64
    pkg database/sql, type DBStats struct, MaxLifetimeClosed int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 22 03:48:56 UTC 2018
    - 25K bytes
    - Viewed (0)
  4. src/runtime/os_linux.go

    	// into (0,period].
    	//
    	// Otherwise, this would show up as a bias away from short-lived threads and
    	// from threads that are only occasionally active: for example, when the
    	// garbage collector runs on a mostly-idle system, the additional threads it
    	// activates may do a couple milliseconds of GC-related work and nothing
    	// else in the few seconds that the profiler observes.
    	spec := new(itimerspec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. cmd/common-main.go

    	ctxt.Interface = ctx.String("interface")
    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    	ctxt.SendBufSize = ctx.Int("send-buf-size")
    	ctxt.RecvBufSize = ctx.Int("recv-buf-size")
    	ctxt.IdleTimeout = ctx.Duration("idle-timeout")
    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    	ctxt.ShutdownTimeout = ctx.Duration("shutdown-timeout")
    
    	if conf := ctx.String("config"); len(conf) > 0 {
    		err = mergeServerCtxtFromConfigFile(conf, ctxt)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  6. src/net/dial_test.go

    	}{
    		{-1, -1},
    		{0, 0},
    		{5 * time.Second, 5 * time.Second},
    		{30 * time.Second, 30 * time.Second},
    	}
    
    	var got time.Duration = -1
    	testHookSetKeepAlive = func(cfg KeepAliveConfig) { got = cfg.Idle }
    
    	for _, test := range tests {
    		got = -1
    		d := Dialer{KeepAlive: test.ka}
    		c, err := d.Dial("tcp", ls.Listener.Addr().String())
    		if err != nil {
    			t.Fatal(err)
    		}
    		c.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. docs/en/docs/async.md

    ---
    
    Imagine you are the computer / program 🤖 in that story.
    
    While you are at the line, you are just idle 😴, waiting for your turn, not doing anything very "productive". But the line is fast because the cashier is only taking the orders (not preparing them), so that's fine.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. pilot/cmd/pilot-agent/status/server.go

    				DialContext:     d.DialContext,
    				// https://github.com/kubernetes/kubernetes/blob/0153febd9f0098d4b8d0d484927710eaf899ef40/pkg/probe/http/http.go#L55
    				// Match Kubernetes logic. This also ensures idle timeouts do not trigger probe failures
    				DisableKeepAlives: !ProbeKeepaliveConnections,
    			})
    			if err != nil {
    				return nil, err
    			}
    			// Construct a http client and cache it in order to reuse the connection.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  9. src/os/file.go

    // That error implements the Timeout method, and calling the Timeout
    // method will return true, but there are other possible errors for which
    // the Timeout will return true even if the deadline has not been exceeded.
    //
    // An idle timeout can be implemented by repeatedly extending
    // the deadline after successful Read or Write calls.
    //
    // A zero value for t means I/O operations will not time out.
    func (f *File) SetDeadline(t time.Time) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  10. src/os/signal/signal_test.go

    		// Older linux kernels seem to have some hiccups delivering the signal
    		// in a timely manner on ppc64 and ppc64le. When running on a
    		// ppc64le/ubuntu 16.04/linux 4.4 host the time can vary quite
    		// substantially even on an idle system. 5 seconds is twice any value
    		// observed when running 10000 tests on such a system.
    		settleTime = 5 * time.Second
    	} else if s := os.Getenv("GO_TEST_TIMEOUT_SCALE"); s != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
Back to top