- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 678 for index (0.41 sec)
-
staging/src/k8s.io/api/events/v1beta1/generated.pb.go
return err } iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthGenerated } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 35.6K bytes - Viewed (0) -
staging/src/k8s.io/api/storagemigration/v1alpha1/generated.pb.go
iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthGenerated } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 04:18:56 UTC 2024 - 43.7K bytes - Viewed (0) -
src/internal/pkgbits/decoder.go
func (pr *PkgDecoder) Fingerprint() [8]byte { var fp [8]byte copy(fp[:], pr.elemData[len(pr.elemData)-8:]) return fp } // AbsIdx returns the absolute index for the given (section, index) // pair. func (pr *PkgDecoder) AbsIdx(k RelocKind, idx Index) int { absIdx := int(idx) if k > 0 { absIdx += int(pr.elemEndsEnds[k-1]) } if absIdx >= int(pr.elemEndsEnds[k]) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 20:58:46 UTC 2022 - 13.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption_test.go
} }) } } func TestKey(t *testing.T) { root := field.NewPath("resources") path := root.Index(0).Child("provider").Index(0).Child("key").Index(0) testCases := []struct { desc string in apiserver.Key want field.ErrorList }{{ desc: "valid key", in: apiserver.Key{Name: "foo", Secret: "c2VjcmV0IGlzIHNlY3VyZQ=="},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 20:54:24 UTC 2023 - 33.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)