Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for index (0.04 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    				t.Errorf("%s: expecting rev = %d, but get %d", tt.name, tt.expectedRev, rev)
    			}
    		})
    	}
    }
    
    func BenchmarkStore_GetList(b *testing.B) {
    	generateBigPod := func(index int, total int, expect int) runtime.Object {
    		l := map[string]string{}
    		if index%(total/expect) == 0 {
    			l["foo"] = "bar"
    		}
    		terminationGracePeriodSeconds := int64(42)
    		activeDeadlineSeconds := int64(42)
    		pod := &examplev1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. pilot/pkg/model/sidecar.go

    	return l != nil && l.Port.GetNumber() != 0 &&
    		protocol.Parse(l.Port.Protocol) != protocol.HTTP_PROXY
    }
    
    type sidecarServiceIndex struct {
    	svc   *Service
    	index int // index record the position of the svc in slice
    }
    
    // append services to the sidecar scope, and merge services with the same hostname.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  3. schema/relationship.go

    			PkgPath: ownField.StructField.PkgPath,
    			Type:    ownField.StructField.Type,
    			Tag: removeSettingFromTag(appendSettingFromTag(ownField.StructField.Tag, "primaryKey"),
    				"column", "autoincrement", "index", "unique", "uniqueindex"),
    		})
    	}
    
    	for idx, relField := range refForeignFields {
    		joinFieldName := cases.Title(language.Und, cases.NoLower).String(relation.FieldSchema.Name) + relField.Name
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/echotest/filters_test.go

    		Network:            "n1",
    		PrimaryClusterName: "cls1",
    		ConfigClusterName:  "cls1",
    		Index:              0,
    		AllClusters:        allClusters,
    	}}
    	cls2 = &kube.Cluster{Topology: cluster.Topology{
    		ClusterName:        "cls2",
    		Network:            "n2",
    		PrimaryClusterName: "cls2",
    		ConfigClusterName:  "cls2",
    		Index:              1,
    		AllClusters:        allClusters,
    	}}
    
    	// simple pod
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom.go

    				part.Number,
    				NewPutObjReader(hr),
    				ObjectOptions{
    					PreserveETag: part.ETag, // Preserve original ETag to ensure same metadata.
    					IndexCB: func() []byte {
    						return part.Index // Preserve part Index to ensure decompression works.
    					},
    					NoAuditLog: true,
    				})
    			if err != nil {
    				return fmt.Errorf("decommissionObject: PutObjectPart() %w", err)
    			}
    			parts[i] = CompletePart{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 14:30:43 UTC 2024
    - 41.5K bytes
    - Viewed (1)
  6. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    			wl := slices.Map(res, func(e model.WorkloadInfo) *workloadapi.Workload {
    				return e.Workload
    			})
    			assert.Equal(t, wl, tt.result)
    		})
    	}
    }
    
    func newAmbientUnitTest() *index {
    	return &index{
    		networkUpdateTrigger: krt.NewRecomputeTrigger(),
    		ClusterID:            testC,
    		Network: func(endpointIP string, labels labels.Instance) network.ID {
    			return testNW
    		},
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. cmd/apierrorcode_string.go

    // Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[ErrNone-0]
    	_ = x[ErrAccessDenied-1]
    	_ = x[ErrBadDigest-2]
    	_ = x[ErrEntityTooSmall-3]
    	_ = x[ErrEntityTooLarge-4]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/api.go

    // parameters and more. Useful for debugging.
    func (err Error) FullError() string {
    	return fmt.Sprintf("%s: %s", err.Pos, err.Full)
    }
    
    // An ArgumentError holds an error associated with an argument index.
    type ArgumentError struct {
    	Index int
    	Err   error
    }
    
    func (e *ArgumentError) Error() string { return e.Err.Error() }
    func (e *ArgumentError) Unwrap() error { return e.Err }
    
    // An Importer resolves import paths to Packages.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. src/runtime/gc_test.go

    		if got.Len() != want.Len() {
    			t.Logf("len(%s): got %v, want %v", prefix, got, want)
    			return
    		}
    		for i := 0; i < got.Len(); i++ {
    			logDiff(t, fmt.Sprintf("%s[%d]", prefix, i), got.Index(i), want.Index(i))
    		}
    	case reflect.Struct:
    		for i := 0; i < typ.NumField(); i++ {
    			gf, wf := got.Field(i), want.Field(i)
    			logDiff(t, prefix+"."+typ.Field(i).Name, gf, wf)
    		}
    	case reflect.Map:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    func calcCommonWritesDeletes(infos []DiskInfo, readQuorum int) (commonWrite, commonDelete uint64) {
    	deletes := make([]uint64, len(infos))
    	writes := make([]uint64, len(infos))
    	for index, di := range infos {
    		deletes[index] = di.Metrics.TotalDeletes
    		writes[index] = di.Metrics.TotalWrites
    	}
    
    	filter := func(list []uint64) (commonCount uint64) {
    		max := 0
    		signatureMap := map[uint64]int{}
    		for _, v := range list {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top