Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 245 for populator (0.2 sec)

  1. src/sync/pool_test.go

    	b.ReportMetric(float64(pauses[len(pauses)*95/100]), "p95-ns/STW")
    	b.ReportMetric(float64(pauses[len(pauses)*50/100]), "p50-ns/STW")
    }
    
    func BenchmarkPoolExpensiveNew(b *testing.B) {
    	// Populate a pool with items that are expensive to construct
    	// to stress pool cleanup and subsequent reconstruction.
    
    	// Create a ballast so the GC has a non-zero heap size and
    	// runs at reasonable times.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. src/go/types/example_test.go

    	// Cannot use typecheck helper.
    	fset := token.NewFileSet()
    	f := mustParse(fset, input)
    
    	// Type-check the package.
    	// We create an empty map for each kind of input
    	// we're interested in, and Check populates them.
    	info := types.Info{
    		Types: make(map[ast.Expr]types.TypeAndValue),
    		Defs:  make(map[*ast.Ident]types.Object),
    		Uses:  make(map[*ast.Ident]types.Object),
    	}
    	var conf types.Config
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    	// NOTE: We assume that <store> is thread-safe.
    	store cache.Indexer
    
    	// ResourceVersion up to which the watchCache is propagated.
    	resourceVersion uint64
    
    	// ResourceVersion of the last list result (populated via Replace() method).
    	listResourceVersion uint64
    
    	// This handler is run at the end of every successful Replace() method.
    	onReplace func()
    
    	// This handler is run at the end of every Add/Update/Delete method
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    				//   1. SetUnstructuredContent retains the "items" key in the list's
    				//      Object field. It is omitted from Object when decoding with
    				//      UnstructuredJSONScheme.
    				//   2. SetUnstructuredContent does not populate "apiVersion" and
    				//      "kind" on each entry of its Items
    				//      field. UnstructuredJSONScheme does, inferring the singular
    				//      Kind from the list Kind.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/go/types/resolver.go

    		if check.conf.FakeImportC && check.conf.go115UsesCgo {
    			check.error(at, BadImportPath, "cannot use FakeImportC and go115UsesCgo together")
    		}
    		imp = NewPackage("C", "C")
    		imp.fake = true // package scope is not populated
    		imp.cgo = check.conf.go115UsesCgo
    	} else {
    		// ordinary import
    		var err error
    		if importer := check.conf.Importer; importer == nil {
    			err = fmt.Errorf("Config.Importer not installed")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. src/runtime/traceback.go

    //
    // On return, u.frame contains:
    //   - fp is the stack pointer of the caller.
    //   - lr is the program counter that called fn.
    //   - varp, argp, and continpc are populated for the current frame.
    //
    // If fn is a stack-jumping function, resolveInternal can change the entire
    // frame state to follow that stack jump.
    //
    // This is internal to unwinder.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // Package symbolizer provides a routine to populate a profile with
    // symbol, file and line number information. It relies on the
    // addr2liner and demangle packages to do the actual work.
    package symbolizer
    
    import (
    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval_test.go

    	// completely and then some more - 10 here is
    	// arbitrary.
    	const capacity = 2*bufferSize + 10
    
    	cases := []struct {
    		name string
    		// The total number of events that the watch
    		// cache will be populated with to start with.
    		eventsAddedToWatchcache int
    		intervalStartIndex      int
    	}{
    		{
    			name:                    "watchCache empty, eventsAddedToWatchcache = 0",
    			eventsAddedToWatchcache: 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go

    	return krt.NewCollection(Gateways, func(ctx krt.HandlerContext, gateway *v1beta1.Gateway) *Waypoint {
    		if len(gateway.Status.Addresses) == 0 {
    			// gateway.Status.Addresses should only be populated once the Waypoint's deployment has at least 1 ready pod, it should never be removed after going ready
    			// ignore Kubernetes Gateways which aren't waypoints
    			return nil
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. cmd/auth-handler.go

    		if err != nil {
    			authZLogIf(ctx, err, logger.ErrorKind)
    			return ErrMalformedXML
    		}
    
    		// Populate payload to extract location constraint.
    		r.Body = io.NopCloser(bytes.NewReader(payload))
    		region, s3Err = parseLocationConstraint(r)
    		if s3Err != ErrNone {
    			return s3Err
    		}
    
    		// Populate payload again to handle it in HTTP handler.
    		r.Body = io.NopCloser(bytes.NewReader(payload))
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top