Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,160 for index (0.06 sec)

  1. cmd/erasure-sets.go

    	var storageInfo madmin.StorageInfo
    
    	storageInfos := make([]madmin.StorageInfo, len(s.sets))
    
    	g := errgroup.WithNErrs(len(s.sets))
    	for index := range s.sets {
    		index := index
    		g.Go(func() error {
    			storageInfos[index] = s.sets[index].StorageInfo(ctx)
    			return nil
    		}, index)
    	}
    
    	// Wait for the go routines.
    	g.Wait()
    
    	for _, lstorageInfo := range storageInfos {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  2. src/crypto/md5/gen.go

    func rotate() string {
    	data.a, data.b, data.c, data.d = data.d, data.a, data.b, data.c
    	return "" // no output
    }
    
    func idx(round, index int) int {
    	v := 0
    	switch round {
    	case 1:
    		v = index
    	case 2:
    		v = (1 + 5*index) & 15
    	case 3:
    		v = (5 + 3*index) & 15
    	case 4:
    		v = (7 * index) & 15
    	}
    	return v
    }
    
    func seq(i int) []int {
    	s := make([]int, i)
    	for i := range s {
    		s[i] = i
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/internal/match.go

    		if err != nil {
    			ct = t
    		}
    		conf := language.Exact
    		for {
    			if index, ok := m.index[ct]; ok {
    				return ct, index, conf
    			}
    			if ct == language.Und {
    				break
    			}
    			ct = ct.Parent()
    			conf = language.High
    		}
    	}
    	return language.Und, 0, language.No
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/internal/language/compact/language.go

    	p := strings.Index(s[1:], "-")
    	if p == -1 {
    		return s[1:], ""
    	}
    	p++
    	return s[1:p], s[p:]
    }
    
    // LanguageID returns an index, where 0 <= index < NumCompactTags, for tags
    // for which data exists in the text repository.The index will change over time
    // and should not be stored in persistent storage. If t does not match a compact
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/runtime/mpagealloc.go

    // See #51913 for details.
    func maxSearchAddr() offAddr { return maxOffAddr }
    
    // Global chunk index.
    //
    // Represents an index into the leaf level of the radix tree.
    // Similar to arenaIndex, except instead of arenas, it divides the address
    // space into chunks.
    type chunkIdx uint
    
    // chunkIndex returns the global index of the palloc chunk containing the
    // pointer p.
    func chunkIndex(p uintptr) chunkIdx {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  6. src/go/internal/typeparams/typeparams.go

    	Indices []ast.Expr // index expressions
    	Rbrack  token.Pos  // position of "]"
    }
    
    func (x *IndexExpr) Pos() token.Pos {
    	return x.Orig.Pos()
    }
    
    func UnpackIndexExpr(n ast.Node) *IndexExpr {
    	switch e := n.(type) {
    	case *ast.IndexExpr:
    		return &IndexExpr{
    			Orig:    e,
    			X:       e.X,
    			Lbrack:  e.Lbrack,
    			Indices: []ast.Expr{e.Index},
    			Rbrack:  e.Rbrack,
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/route/interface_classic.go

    	}
    	m := &InterfaceAddrMessage{
    		Version: int(b[2]),
    		Type:    int(b[3]),
    		Flags:   int(nativeEndian.Uint32(b[8:12])),
    		raw:     b[:l],
    	}
    	if runtime.GOOS == "netbsd" {
    		m.Index = int(nativeEndian.Uint16(b[16:18]))
    	} else {
    		m.Index = int(nativeEndian.Uint16(b[12:14]))
    	}
    	var err error
    	m.Addrs, err = parseAddrs(uint(nativeEndian.Uint32(b[4:8])), parseKernelInetAddr, b[w.bodyOff:])
    	if err != nil {
    		return nil, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. test/fixedbugs/issue33275_run.go

    import (
    	"os/exec"
    	"strings"
    )
    
    func main() {
    	out, _ := exec.Command("go", "run", "fixedbugs/issue33275.go").CombinedOutput()
    	if strings.Contains(string(out), "index out of range") {
    		panic(`go run issue33275.go reported "index out of range"`)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 717 bytes
    - Viewed (0)
  9. src/cmd/internal/goobj/objfile.go

    // as the symRef struct above.
    //
    // PkgIdx is either a predeclared index (see PkgIdxNone below) or
    // an index of an imported package. For the latter case, PkgIdx is the
    // index of the package in the PkgIndex array. 0 is an invalid index.
    //
    // SymIdx is the index of the symbol in the given package.
    // - If PkgIdx is PkgIdxSelf, SymIdx is the index of the symbol in the
    //   SymbolDefs array.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  10. pkg/apis/resource/structured/namedresources/validation/validation_test.go

    			resources:    testResources([]resourceapi.NamedResourcesInstance{{Name: goodName, Attributes: []resourceapi.NamedResourcesAttribute{{Name: goodName}}}}),
    		},
    		"duplicate-value": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top