Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,162 for index (0.05 sec)

  1. cmd/erasure-common.go

    	}
    	g := errgroup.WithNErrs(len(disks))
    	// Read files in parallel across disks.
    	for index := range disks {
    		index := index
    		g.Go(func() (err error) {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    			return disks[index].ReadMultiple(ctx, req, resps[index])
    		}, index)
    	}
    
    	dataArray := make([]ReadMultipleResp, 0, len(req.Files))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. operator/pkg/component/component.go

    type CommonComponentFields struct {
    	*Options
    	ComponentName name.ComponentName
    	// resourceName is the name of all resources for this component.
    	ResourceName string
    	// index is the index of the component (only used for components with multiple instances like gateways).
    	index int
    	// componentSpec for the actual component e.g. GatewaySpec, ComponentSpec.
    	componentSpec any
    	// started reports whether the component is in initialized and running.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/loadbalancer/loadbalancer.go

    	}
    	sort.Ints(priorities)
    	// 2.2 adjust LocalityLbEndpoints priority
    	// if the index and value of priorities array is not equal.
    	for i, priority := range priorities {
    		if i != priority {
    			// the LocalityLbEndpoints index in ClusterLoadAssignment.Endpoints
    			for _, index := range priorityMap[priority] {
    				loadAssignment.Endpoints[index].Priority = uint32(i)
    			}
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/idna/trie13.0.0.go

    	index := int(c >> indexShift)
    	if c&xorBit == 0 {
    		p := index
    		return append(b, mappings[mappingIndex[p]:mappingIndex[p+1]]...)
    	}
    	b = append(b, s...)
    	if c&inlineXOR == inlineXOR {
    		// TODO: support and handle two-byte inline masks
    		b[len(b)-1] ^= byte(index)
    	} else {
    		for p := len(b) - int(xorData[index]); p < len(b); p++ {
    			index++
    			b[p] ^= xorData[index]
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 872 bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    			fi := metadata[index]
    			// Assign index when index is initialized
    			if fi.Erasure.Index == 0 {
    				fi.Erasure.Index = index + 1
    			}
    
    			if !fi.IsValid() {
    				return errFileCorrupt
    			}
    			resp, err := disks[index].RenameData(ctx, srcBucket, srcEntry, fi, dstBucket, dstEntry, RenameOptions{})
    			if err != nil {
    				return err
    			}
    			diskVersions[index] = resp.Sign
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  6. internal/event/target/elasticsearch.go

    func (c *esClientV7) updateEntry(ctx context.Context, index string, key string, eventData event.Event) error {
    	doc := map[string]interface{}{
    		"Records": []event.Event{eventData},
    	}
    	var buf bytes.Buffer
    	enc := json.NewEncoder(&buf)
    	err := enc.Encode(doc)
    	if err != nil {
    		return err
    	}
    	res, err := c.Index(
    		index,
    		&buf,
    		c.Index.WithDocumentID(key),
    		c.Index.WithContext(ctx),
    	)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/typeparam.go

    	return typ
    }
    
    // Obj returns the type name for the type parameter t.
    func (t *TypeParam) Obj() *TypeName { return t.obj }
    
    // Index returns the index of the type param within its param list, or -1 if
    // the type parameter has not yet been bound to a type.
    func (t *TypeParam) Index() int {
    	return t.index
    }
    
    // Constraint returns the type constraint specified for t.
    func (t *TypeParam) Constraint() Type {
    	return t.bound
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/rewrite.go

    func (c *Cursor) Name() string { return c.name }
    
    // Index reports the index >= 0 of the current Node in the slice of Nodes that
    // contains it, or a value < 0 if the current Node is not part of a slice.
    // The index of the current node changes if InsertBefore is called while
    // processing the current node.
    func (c *Cursor) Index() int {
    	if c.iter != nil {
    		return c.iter.index
    	}
    	return -1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  9. src/html/template/exec_test.go

    	{"map[nil]", "{{index .MSI nil}}", "", tVal, false},
    	{"map[``]", "{{index .MSI ``}}", "0", tVal, true},
    	{"map[WRONG]", "{{index .MSI 10}}", "", tVal, false},
    	{"double index", "{{index .SMSI 1 `eleven`}}", "11", tVal, true},
    	{"nil[1]", "{{index nil 1}}", "", tVal, false},
    	{"map MI64S", "{{index .MI64S 2}}", "i642", tVal, true},
    	{"map MI32S", "{{index .MI32S 2}}", "two", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  10. src/index/suffixarray/sais.go

    	// The first difference is that the rightmost LMS-substring's end index is len(text),
    	// so the caller must pretend that sa[-1] == len(text), as noted above.
    	// The second difference is that the first leftmost LMS-substring start index
    	// does not end an earlier LMS-substring, so as an optimization we can omit
    	// that leftmost LMS-substring start index (the last one we wrote).
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 32.4K bytes
    - Viewed (0)
Back to top