Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 267 for index (0.04 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    				t.Errorf("%s: expecting rev = %d, but get %d", tt.name, tt.expectedRev, rev)
    			}
    		})
    	}
    }
    
    func BenchmarkStore_GetList(b *testing.B) {
    	generateBigPod := func(index int, total int, expect int) runtime.Object {
    		l := map[string]string{}
    		if index%(total/expect) == 0 {
    			l["foo"] = "bar"
    		}
    		terminationGracePeriodSeconds := int64(42)
    		activeDeadlineSeconds := int64(42)
    		pod := &examplev1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. src/go/types/decl.go

    				bound = Typ[Invalid]
    			}
    		} else {
    			bound = Typ[Invalid]
    		}
    		for i := range f.Names {
    			tparams[index+i].bound = bound
    		}
    		index += len(f.Names)
    	}
    }
    
    func (check *Checker) bound(x ast.Expr) Type {
    	// A type set literal of the form ~T and A|B may only appear as constraint;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  3. src/text/template/exec.go

    	mark := s.mark()
    	oneIteration := func(index, elem reflect.Value) {
    		if len(r.Pipe.Decl) > 0 {
    			if r.Pipe.IsAssign {
    				// With two variables, index comes first.
    				// With one, we use the element.
    				if len(r.Pipe.Decl) > 1 {
    					s.setVar(r.Pipe.Decl[0].Ident[0], index)
    				} else {
    					s.setVar(r.Pipe.Decl[0].Ident[0], elem)
    				}
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  4. src/go/types/builtins.go

    		// works as expected.
    		tpar := NewTypeName(nopos, check.pkg, tp.obj.name, nil)
    		ptyp := check.newTypeParam(tpar, NewInterfaceType(nil, []Type{NewUnion(terms)})) // assigns type to tpar as a side-effect
    		ptyp.index = tp.index
    
    		return ptyp
    	}
    
    	return f(x.typ)
    }
    
    // makeSig makes a signature for the given argument and result types.
    // Default types are used for untyped arguments, and res may be nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. src/cmd/trace/regions.go

    			{{$Region := .}}
    			{{range $.NonOverlappingStats}}
    				{{$Time := index $Region.NonOverlappingStats .}}
    				{{if $Time}}
    					<span {{barStyle . $Time $.MaxTotal}}>&nbsp;</span>
    				{{end}}
    			{{end}}
    			</div>
    		</td>
    		{{$Region := .}}
    		{{range $.NonOverlappingStats}}
    			{{$Time := index $Region.NonOverlappingStats .}}
    			<td> {{$Time.String}}</td>
    		{{end}}
    	</tr>
    {{end}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. src/go/types/call.go

    		goto Error
    	}
    
    	obj, index, indirect = lookupFieldOrMethod(x.typ, x.mode == variable, check.pkg, sel, false)
    	if obj == nil {
    		// Don't report another error if the underlying type was invalid (go.dev/issue/49541).
    		if !isValid(under(x.typ)) {
    			goto Error
    		}
    
    		if index != nil {
    			// TODO(gri) should provide actual type where the conflict happens
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  7. pilot/pkg/model/sidecar.go

    	return l != nil && l.Port.GetNumber() != 0 &&
    		protocol.Parse(l.Port.Protocol) != protocol.HTTP_PROXY
    }
    
    type sidecarServiceIndex struct {
    	svc   *Service
    	index int // index record the position of the svc in slice
    }
    
    // append services to the sidecar scope, and merge services with the same hostname.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  8. src/debug/elf/file.go

    		}
    
    		// If the section name string table section index is greater than or
    		// equal to SHN_LORESERVE (0xff00), this member has the value
    		// SHN_XINDEX (0xffff) and the actual index of the section name
    		// string table section is contained in the sh_link field of the
    		// section header at index 0.
    		if shstrndx == int(SHN_XINDEX) {
    			shstrndx = int(link)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  9. src/crypto/rsa/rsa.go

    	//   index: the offset of the first 0x01 byte
    	//   invalid: 1 iff we saw a non-zero byte before the 0x01.
    	var lookingForIndex, index, invalid int
    	lookingForIndex = 1
    	rest := db[hash.Size():]
    
    	for i := 0; i < len(rest); i++ {
    		equals0 := subtle.ConstantTimeByteEq(rest[i], 0)
    		equals1 := subtle.ConstantTimeByteEq(rest[i], 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "MOVWBRstoreidx", argLength: 4, reg: gpstoreidx, asm: "MOVWBR", typ: "Mem"}, // store word reversed byte using index reg
    		{name: "MOVDBRstoreidx", argLength: 4, reg: gpstoreidx, asm: "MOVDBR", typ: "Mem"}, // store double word reversed byte using index reg
    
    		// The following ops store 0 into arg0+aux+auxint arg1=mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top