Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,144 for index (0.11 sec)

  1. cmd/erasure-healing.go

    	g := errgroup.WithNErrs(len(storageDisks))
    	var mu sync.Mutex
    	for index := range storageDisks {
    		index := index
    		g.Go(func() error {
    			if storageDisks[index] == nil {
    				// we ignore disk not found errors
    				return nil
    			}
    			volsInfo, err := storageDisks[index].ListVols(ctx)
    			if err != nil {
    				return err
    			}
    			for _, volInfo := range volsInfo {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. association.go

    	for _, assignBack := range assignBacks {
    		fieldValue := reflect.Indirect(association.Relationship.Field.ReflectValueOf(association.DB.Statement.Context, assignBack.Source))
    		if assignBack.Index > 0 {
    			reflect.Indirect(assignBack.Dest).Set(fieldValue.Index(assignBack.Index - 1))
    		} else {
    			reflect.Indirect(assignBack.Dest).Set(fieldValue)
    		}
    	}
    }
    
    func (association *Association) buildCondition() *DB {
    	var (
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v1.go

    	// ParityBlocks is the number of parity blocks for erasure-coding
    	ParityBlocks int `json:"parity"`
    	// BlockSize is the size of one erasure-coded block
    	BlockSize int64 `json:"blockSize"`
    	// Index is the index of the current disk
    	Index int `json:"index"`
    	// Distribution is the distribution of the data and parity blocks
    	Distribution []int `json:"distribution"`
    	// Checksums holds all bitrot checksums of all erasure encoded blocks
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    			}
    			obj = structType.Field(index)
    			t = nil
    
    		case opMethod:
    			switch t := t.(type) {
    			case *types.Interface:
    				if index >= t.NumMethods() {
    					return nil, fmt.Errorf("method index %d out of range [0-%d)", index, t.NumMethods())
    				}
    				obj = t.Method(index) // Id-ordered
    
    			case *types.Named:
    				if index >= t.NumMethods() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. pkg/test/loadbalancersim/loadbalancer/edf.go

    // Less implements heap.Interface/sort.Interface
    func (pq priorityQueue) Less(i, j int) bool {
    	// Flip logic to make this a min queue.
    	if pq[i].deadline == pq[j].deadline {
    		return pq[i].index < pq[j].index
    	}
    	return pq[i].deadline < pq[j].deadline
    }
    
    // Swap implements heap.Interface/sort.Interface
    func (pq priorityQueue) Swap(i, j int) {
    	pq[i], pq[j] = pq[j], pq[i]
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. pkg/util/iptables/save_restore.go

    // chain defined in that table.
    func GetChainsFromTable(save []byte) sets.Set[Chain] {
    	chainsSet := sets.New[Chain]()
    
    	for {
    		i := bytes.Index(save, []byte("\n:"))
    		if i == -1 {
    			break
    		}
    		start := i + 2
    		save = save[start:]
    		end := bytes.Index(save, []byte(" "))
    		if end == -1 {
    			// shouldn't happen, but...
    			break
    		}
    		chain := Chain(save[:end])
    		chainsSet.Insert(chain)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/index_test.go

    	pvBadMode.Spec.AccessModes = []v1.PersistentVolumeAccessMode{v1.ReadOnlyMany}
    
    	index := newPersistentVolumeOrderedIndex()
    	index.store.Add(pv1)
    	index.store.Add(pv5)
    	index.store.Add(pv8)
    	index.store.Add(pvBadSize)
    	index.store.Add(pvBadMode)
    
    	// expected exact match on size
    	volume, _ := index.findBestMatchForClaim(claim, false)
    	if volume.Name != pv1.Name {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go

    	Version   uint8
    	Type      uint8
    	Index     uint16
    	Flags     int32
    	Addrs     int32
    	Addrflags int32
    	Metric    int32
    }
    
    type IfmaMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Index   uint16
    	Flags   int32
    	Addrs   int32
    }
    
    type IfAnnounceMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Index   uint16
    	Name    [16]int8
    	What    uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top