Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 356 for index (0.04 sec)

  1. pkg/test/echo/server/forwarder/util.go

    	}
    
    	g := e.NewGroup()
    	for index := 0; index < cfg.count; index++ {
    		index := index
    		workFn := func() error {
    			st := time.Now()
    			resp, err := doReq(ctx, cfg, index)
    			if err != nil {
    				fwLog.Debugf("request failed: %v", err)
    				return err
    			}
    			fwLog.Debugf("got resp: %v", resp)
    
    			responsesMu.Lock()
    			responses[index] = resp
    			responseTimes[index] = time.Since(st)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. test/for.go

    	for i = range [5]struct{}{} {
    	}
    	assertequal(i, 4, " incorrect index value after range loop")
    
    	i = 0
    	var a1 [5]struct{}
    	for i = range a1 {
    		a1[i] = struct{}{}
    	}
    	assertequal(i, 4, " incorrect index value after array with zero size elem range clear")
    
    	i = 0
    	var a2 [5]int
    	for i = range a2 {
    		a2[i] = 0
    	}
    	assertequal(i, 4, " incorrect index value after array range clear")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 10 16:36:41 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go

    			check.goBuildLine(pos, text)
    		}
    	}
    	if strings.HasPrefix(text, "/*") {
    		if i := strings.Index(text, "\n"); i >= 0 {
    			// multiline /* */ comment - process interior lines
    			check.inStar = true
    			i++
    			pos += token.Pos(i)
    			text = text[i:]
    			for text != "" {
    				i := strings.Index(text, "\n")
    				if i < 0 {
    					i = len(text)
    				} else {
    					i++
    				}
    				line := text[:i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/cases/trieval.go

    // stores some basic case data and an index into an array with additional data.
    //
    // The per-rune values have the following format:
    //
    //	if (exception) {
    //	  15..4  unsigned exception index
    //	} else {
    //	  15..8  XOR pattern or index to XOR pattern for case mapping
    //	         Only 13..8 are used for XOR patterns.
    //	      7  inverseFold (fold to upper, not to lower)
    //	      6  index: interpret the XOR pattern as an index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/mime/mediatype.go

    			offset := 0
    			for index := 0; index < len(value); index++ {
    				ch := value[index]
    				// {RFC 2231 section 7}
    				// attribute-char := <any (US-ASCII) CHAR except SPACE, CTLs, "*", "'", "%", or tspecials>
    				if ch <= ' ' || ch >= 0x7F ||
    					ch == '*' || ch == '\'' || ch == '%' ||
    					isTSpecial(rune(ch)) {
    
    					b.WriteString(value[offset:index])
    					offset = index + 1
    
    					b.WriteByte('%')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. src/strconv/bytealg_bootstrap.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build compiler_bootstrap
    
    package strconv
    
    // index returns the index of the first instance of c in s, or -1 if missing.
    func index(s string, c byte) int {
    	for i := 0; i < len(s); i++ {
    		if s[i] == c {
    			return i
    		}
    	}
    	return -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 401 bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/crypto/internal/alias/alias.go

    // corresponding) index. The memory beyond the slice length is ignored.
    func AnyOverlap(x, y []byte) bool {
    	return len(x) > 0 && len(y) > 0 &&
    		uintptr(unsafe.Pointer(&x[0])) <= uintptr(unsafe.Pointer(&y[len(y)-1])) &&
    		uintptr(unsafe.Pointer(&y[0])) <= uintptr(unsafe.Pointer(&x[len(x)-1]))
    }
    
    // InexactOverlap reports whether x and y share memory at any non-corresponding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/internal/alias/alias_purego.go

    // because the unsafe package and cgo are disallowed.
    
    import "reflect"
    
    // AnyOverlap reports whether x and y share memory at any (not necessarily
    // corresponding) index. The memory beyond the slice length is ignored.
    func AnyOverlap(x, y []byte) bool {
    	return len(x) > 0 && len(y) > 0 &&
    		reflect.ValueOf(&x[0]).Pointer() <= reflect.ValueOf(&y[len(y)-1]).Pointer() &&
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. pkg/apis/core/pods/helpers.go

    	fldPath := specPath.Child("initContainers")
    	for i := range podSpec.InitContainers {
    		if !visitor(&podSpec.InitContainers[i], fldPath.Index(i)) {
    			return false
    		}
    	}
    	fldPath = specPath.Child("containers")
    	for i := range podSpec.Containers {
    		if !visitor(&podSpec.Containers[i], fldPath.Index(i)) {
    			return false
    		}
    	}
    	fldPath = specPath.Child("ephemeralContainers")
    	for i := range podSpec.EphemeralContainers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:35:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/net/http/pprof/pprof_test.go

    		{"/debug/pprof/mutex", Index, http.StatusOK, "application/octet-stream", `attachment; filename="mutex"`, nil},
    		{"/debug/pprof/block?seconds=1", Index, http.StatusOK, "application/octet-stream", `attachment; filename="block-delta"`, nil},
    		{"/debug/pprof/goroutine?seconds=1", Index, http.StatusOK, "application/octet-stream", `attachment; filename="goroutine-delta"`, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top