Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 287 for index (0.09 sec)

  1. src/go/internal/gcimporter/gcimporter_test.go

    	if !ok {
    		t.Fatalf("go/types.Object type is %v; wanted named type", typ)
    	}
    
    	// lookup go/types.Object.Pkg method
    	m, index, indirect := types.LookupFieldOrMethod(typ, false, nil, "Pkg")
    	if m == nil {
    		t.Fatalf("go/types.Object.Pkg not found (index = %v, indirect = %v)", index, indirect)
    	}
    
    	// the method must belong to go/types
    	if m.Pkg().Path() != "go/types" {
    		t.Fatalf("found %v; want go/types", m.Pkg())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go

    func removeMatching(name string, start, end byte) string {
    	s := string(start) + string(end)
    	var nesting, first, current int
    	for index := strings.IndexAny(name[current:], s); index != -1; index = strings.IndexAny(name[current:], s) {
    		switch current += index; name[current] {
    		case start:
    			nesting++
    			if nesting == 1 {
    				first = current
    			}
    		case end:
    			nesting--
    			switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/go/types/infer.go

    	var maxUntyped map[*TypeParam]Type // lazily allocated (we may not need it)
    	for _, index := range untyped {
    		tpar := params.At(index).typ.(*TypeParam) // is type parameter (no alias) by construction of untyped
    		if u.at(tpar) == nil {
    			arg := args[index] // arg corresponding to tpar
    			if maxUntyped == nil {
    				maxUntyped = make(map[*TypeParam]Type)
    			}
    			max := maxUntyped[tpar]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go

    	"backoffLimitPerIndex":    "Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  5. src/compress/bzip2/bzip2.go

    // pass with the Huffman decoding.
    //
    // This also implements the “single array” method from the bzip2 source code
    // which leaves the output, still shuffled, in the bottom 8 bits of tt with the
    // index of the next byte in the top 24-bits. The index of the first byte is
    // returned.
    func inverseBWT(tt []uint32, origPtr uint, c []uint) uint32 {
    	sum := uint(0)
    	for i := 0; i < 256; i++ {
    		sum += c[i]
    		c[i] = sum - c[i]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    	}
    	if len(list) != 3 {
    		t.Errorf("unexpected list returned: %#v", list)
    	}
    	if indexUsed != "" {
    		t.Errorf("Used index %q but expected none to be used", indexUsed)
    	}
    
    	// list by label index.
    	matchValues := []storage.MatchValue{
    		{IndexName: "l:label", Value: "value1"},
    		{IndexName: "f:spec.nodeName", Value: "node2"},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  7. tests/integration/security/file_mounted_certs/main_test.go

    	return nil
    }
    
    func createCustomInstances(apps *deployment.SingleNamespaceView) error {
    	for index, namespacedName := range apps.EchoNamespace.All.NamespacedNames() {
    		switch {
    		case namespacedName.Name == "client":
    			client = apps.EchoNamespace.All[index]
    		case namespacedName.Name == "server":
    			server = apps.EchoNamespace.All[index]
    		}
    	}
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/ureader.go

    }
    
    func (pr *pkgReader) newReader(k pkgbits.RelocKind, idx pkgbits.Index, marker pkgbits.SyncMarker) *reader {
    	return &reader{
    		Decoder: pr.NewDecoder(k, idx, marker),
    		p:       pr,
    	}
    }
    
    func (pr *pkgReader) tempReader(k pkgbits.RelocKind, idx pkgbits.Index, marker pkgbits.SyncMarker) *reader {
    	return &reader{
    		Decoder: pr.TempDecoder(k, idx, marker),
    		p:       pr,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. pilot/pkg/xds/bench_test.go

    	for i := 0; i < 100; i++ {
    		index := strconv.Itoa(i)
    		services = append(services, &model.Service{
    			Hostname:   host.Name(ns + "some" + index + ".example.com"),
    			Attributes: model.ServiceAttributes{Namespace: "test" + index},
    		})
    		drs = append(drs, model.ConvertConsolidatedDestRule(&config.Config{Meta: config.Meta{Name: index, Namespace: index}}))
    	}
    
    	key := &route.Cache{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/decl.go

    		case *syntax.ConstDecl:
    			top := len(check.delayed)
    
    			// iota is the index of the current constDecl within the group
    			if first < 0 || s.Group == nil || list[index-1].(*syntax.ConstDecl).Group != s.Group {
    				first = index
    				last = nil
    			}
    			iota := constant.MakeInt64(int64(index - first))
    
    			// determine which initialization expressions to use
    			inherited := true
    			switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
Back to top