Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 598 for index (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/erasure-multipart.go

    	// checksum which are different on each disks.
    	for index := range partsMetadata {
    		if partsMetadata[index].IsValid() {
    			partsMetadata[index].Size = fi.Size
    			partsMetadata[index].ModTime = fi.ModTime
    			partsMetadata[index].Metadata = fi.Metadata
    			partsMetadata[index].Parts = fi.Parts
    			partsMetadata[index].Checksum = fi.Checksum
    			partsMetadata[index].Versioned = opts.Versioned || opts.VersionSuspended
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  7. cmd/erasure-metadata_test.go

    	for _, testCase := range testCases {
    		if index := objectPartIndex(fi.Parts, testCase.partNum); index != testCase.expectedIndex {
    			t.Fatalf("%+v: expected = %d, got: %d", testCase, testCase.expectedIndex, index)
    		}
    	}
    }
    
    // Test FileInfo.ObjectToPartOffset().
    func TestObjectToPartOffset(t *testing.T) {
    	// Setup.
    	fi := newFileInfo("test-object", 8, 8)
    	fi.Erasure.Index = 1
    	if !fi.IsValid() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 20:57:37 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/internal/coverage/defs.go

    //  | <uleb128> num units: 3
    //  | <uleb128> func name: S1 (index into string table)
    //  | <uleb128> file: S0 (index into string table)
    //  | <unit 0>:  S0   L6     L8    2
    //  | <unit 1>:  S0   L9     L9    1
    //  | <unit 2>:  S0   L11    L11   1
    //  --func 1------
    //  | <uleb128> num units: 1
    //  | <uleb128> func name: S2 (index into string table)
    //  | <uleb128> file: S0 (index into string table)
    //  | <unit 0>:  S0   L15    L19   5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 12:51:16 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. pilot/pkg/xds/ads_test.go

    			vsIndexes: []struct {
    				index int
    				hosts []string
    				dest  string
    			}{{index: 4}},
    			expectedUpdates: []string{v3.ClusterType},
    		},
    		{
    			desc: "Add delegation virtual service for scoped service with transitively scoped dest svc",
    			ev:   model.EventAdd,
    			delegatevsIndexes: []struct {
    				index int
    				hosts []string
    				dest  string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/lookup.go

    //  3. the list of fields of a struct type.
    //
    // The earlier index entries are the indices of the embedded struct fields
    // traversed to get to the found entry, starting at depth 0.
    //
    // If no entry is found, a nil object is returned. In this case, the returned
    // index and indirect values have the following meaning:
    //
    //   - If index != nil, the index sequence points to an ambiguous entry
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top