Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Idle (0.18 sec)

  1. src/runtime/mgcpacer.go

    	//
    	// The bottom int32 is the current number of idle mark workers executing.
    	//
    	// The top int32 is the maximum number of idle mark workers allowed to
    	// execute concurrently. Normally, this number is just gomaxprocs. However,
    	// during periodic GC cycles it is set to 0 because the system is idle
    	// anyway; there's no need to go full blast on all of GOMAXPROCS.
    	//
    	// The maximum number of idle mark workers is used to prevent new workers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  2. src/net/http/transport.go

    	// connections per host, including connections in the dialing,
    	// active, and idle states. On limit violation, dials will block.
    	//
    	// Zero means no limit.
    	MaxConnsPerHost int
    
    	// IdleConnTimeout is the maximum amount of time an idle
    	// (keep-alive) connection will remain idle before closing
    	// itself.
    	// Zero means no limit.
    	IdleConnTimeout time.Duration
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    	req, idle := ust.uss.qs.StartRequest(ctx, &fcrequest.WorkEstimate{InitialSeats: ust.uc.initialSeats, FinalSeats: ust.uc.finalSeats, AdditionalLatency: ust.uc.padDuration}, ust.uc.hash, "", ust.fsName, ust.uss.name, []int{ust.i, ust.j, k}, nil)
    	ust.uss.t.Logf("%s: %d, %d, %d got req=%p, idle=%v", ust.uss.clk.Now().Format(nsTimeFmt), ust.i, ust.j, k, req, idle)
    	if req == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  4. src/runtime/mgc.go

    	// mcache before allocating, but idle Ps may not. Since this
    	// is necessary to sweep all spans, we need to ensure all
    	// mcaches are flushed before we start the next GC cycle.
    	//
    	// While we're here, flush the page cache for idle Ps to avoid
    	// having pages get stuck on them. These pages are hidden from
    	// the scavenger, so in small idle heaps a significant amount
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/load.go

    	allPatternIsRoot bool // Is the "all" pattern an additional root?
    
    	listRoots func(rs *Requirements) []string
    }
    
    func (ld *loader) reset() {
    	select {
    	case <-ld.work.Idle():
    	default:
    		panic("loader.reset when not idle")
    	}
    
    	ld.roots = nil
    	ld.pkgCache = new(par.Cache[string, *loadPkg])
    	ld.pkgs = nil
    }
    
    // error reports an error via either os.Stderr or base.Error,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     * your HTTP calls. This is because each client holds its own connection pool and thread pools.
     * Reusing connections and threads reduces latency and saves memory. Conversely, creating a client
     * for each request wastes resources on idle pools.
     *
     * Use `new OkHttpClient()` to create a shared instance with the default settings:
     *
     * ```java
     * // The singleton HTTP client.
     * public final OkHttpClient client = new OkHttpClient();
     * ```
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modget/get.go

    	for _, q := range r.wildcardQueries {
    		q := q
    		r.work.Add(func() {
    			if q.version == "none" {
    				r.queryNone(ctx, q)
    			} else {
    				r.queryWildcard(ctx, q)
    			}
    		})
    	}
    	<-r.work.Idle()
    }
    
    // queryWildcard adds a candidate set to q for each module for which:
    //   - some version of the module is already in the build list, and
    //   - that module exists at some version matching q.version, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/buildlist.go

    					enqueue(r, nextPruning)
    				}
    			}
    		})
    	}
    
    	mustHaveGoRoot(roots)
    	for _, m := range roots {
    		enqueue(m, pruning)
    	}
    	<-loadQueue.Idle()
    
    	// Reload any dependencies of the main modules which are not
    	// at their selected versions at workspace mode, because the
    	// requirements don't accurately reflect the transitive imports.
    	if pruning == workspace {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  9. cmd/kubelet/app/server.go

    		// Kubelet needs to be able to recover from stale http connections.
    		// HTTP2 has a mechanism to detect broken connections by sending periodical pings.
    		// HTTP1 only can have one persistent connection, and it will close all Idle connections
    		// once the Kubelet heartbeat fails. However, since there are many edge cases that we can't
    		// control, users can still opt-in to the previous behavior for closing the connections by
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  10. src/crypto/tls/conn.go

    // reset back to smaller records after the connection becomes idle. See "High
    // Performance Web Networking", Chapter 4, or:
    // https://www.igvita.com/2013/10/24/optimizing-tls-record-size-and-buffering-latency/
    //
    // In the interests of simplicity and determinism, this code does not attempt
    // to reset the record size once the connection is idle, however.
    func (c *Conn) maxPayloadSizeForWrite(typ recordType) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top