Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for chancap (0.22 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    		server, requestGetter := newHTTP2ServerWithClient(handler, time.Minute)
    		defer server.Close()
    
    		// send a request synchronously with a client timeout of 1m,  this minimizes the
    		// chance of a flake in ci, the cient waits long enough for the server to send a
    		// timeout response to the client.
    		var (
    			response *http.Response
    			err      error
    		)
    		func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  2. src/runtime/mprof.go

    	mpc.allocs++
    	mpc.alloc_bytes += size
    	unlock(&profMemFutureLock[index])
    
    	// Setprofilebucket locks a bunch of other mutexes, so we call it outside of
    	// the profiler locks. This reduces potential contention and chances of
    	// deadlocks. Since the object must be alive during the call to
    	// mProf_Malloc, it's fine to do this non-atomically.
    	systemstack(func() {
    		setprofilebucket(p, b)
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. src/index/suffixarray/sais2.go

    	// starts or ends with 0x00, so that present bytes can be
    	// distinguished from zero-padding in the top bits,
    	// so the length need not be separately encoded.
    	// Inverting the bytes increases the chance that a
    	// 4-byte encoding will still be ≥ len(text).
    	// In particular, if the first byte is ASCII (<= 0x7E, so +1 <= 0x7F)
    	// then the high bit of the inversion will be set,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  4. src/runtime/mgc.go

    	// Careful: another GC cycle may start now.
    
    	releasem(mp)
    	mp = nil
    
    	// now that gc is done, kick off finalizer thread if needed
    	if !concurrentSweep {
    		// give the queued finalizers, if any, a chance to run
    		Gosched()
    	}
    }
    
    // gcBgMarkStartWorkers prepares background mark worker goroutines. These
    // goroutines will not run until the mark phase, but they must be started while
    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/runtime/malloc.go

    		// ~258MB, so this isn't too bad. (We could reserve a
    		// smaller amount of space up front if this is a
    		// problem.)
    		//
    		// 2. We hint the heap to start right above the end of
    		// the binary so we have the best chance of keeping it
    		// contiguous.
    		//
    		// 3. We try to stake out a reasonably large initial
    		// heap reservation.
    
    		const arenaMetaSize = (1 << arenaBits) * unsafe.Sizeof(heapArena{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    		r.delegate.ServeHTTP(w, req)
    		return
    	}
    
    	if !apiextensionshelpers.HasServedCRDVersion(crd, requestInfo.APIVersion) {
    		r.delegate.ServeHTTP(w, req)
    		return
    	}
    
    	// There is a small chance that a CRD is being served because NamesAccepted condition is true,
    	// but it becomes "unserved" because another names update leads to a conflict
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    			// `add` will wait for the watcher to unblock. After timeout,
    			// `add` will not wait, but immediately close a still blocked watcher.
    			// Hence, every watcher gets the chance to unblock itself while timer
    			// is running, not only the first ones in the list.
    			timer := c.timer
    			for _, watcher := range c.blockedWatchers {
    				if !watcher.add(event, timer) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. src/go/types/expr.go

    	if allInteger(x.typ) || isUntyped(x.typ) && xval != nil && xval.Kind() == constant.Int {
    		// The lhs is of integer type or an untyped constant representable
    		// as an integer. Nothing to do.
    	} else {
    		// shift has no chance
    		check.errorf(x, InvalidShiftOperand, invalidOp+"shifted operand %s must be integer", x)
    		x.mode = invalid
    		return
    	}
    
    	// spec: "The right operand in a shift expression must have integer type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  9. src/net/http/request.go

    	if err != nil {
    		return nil, err
    	}
    
    	if req.isH2Upgrade() {
    		// Because it's neither chunked, nor declared:
    		req.ContentLength = -1
    
    		// We want to give handlers a chance to hijack the
    		// connection, but we need to prevent the Server from
    		// dealing with the connection further if it's not
    		// hijacked. Set Close to ensure that:
    		req.Close = true
    	}
    	return req, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    	// However, there are some limitations of this method:
    	//	1. When all dead containers were garbage collected, the container status could
    	//	not get the historical value and would be *inaccurate*. Fortunately, the chance
    	//	is really slim.
    	//	2. When working with old version containers which have no restart count label,
    	//	we can only assume their restart count is 0.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top