Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 113 for index (0.14 sec)

  1. pkg/controller/endpointslice/endpointslice_controller_test.go

    }
    
    func expectAction(t *testing.T, actions []k8stesting.Action, index int, verb, resource string) {
    	t.Helper()
    	if len(actions) <= index {
    		t.Fatalf("Expected at least %d actions, got %d", index+1, len(actions))
    	}
    
    	action := actions[index]
    	if action.GetVerb() != verb {
    		t.Errorf("Expected action %d verb to be %s, got %s", index, verb, action.GetVerb())
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  2. 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)
  3. schema/naming.go

    }
    
    // CheckerName generate checker name
    func (ns NamingStrategy) CheckerName(table, column string) string {
    	return ns.formatName("chk", table, column)
    }
    
    // IndexName generate index name
    func (ns NamingStrategy) IndexName(table, column string) string {
    	return ns.formatName("idx", table, ns.toDBName(column))
    }
    
    // UniqueName generate unique constraint name
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. 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 (0)
  5. pkg/ctrlz/ctrlz.go

    		router.HandleFunc("/debug/pprof/profile", pprof.Profile)
    		router.HandleFunc("/debug/pprof/symbol", pprof.Symbol)
    		router.HandleFunc("/debug/pprof/trace", pprof.Trace)
    		router.PathPrefix("/debug/pprof/").HandlerFunc(pprof.Index)
    	}
    	registerHome(router, mainLayout)
    
    	addr := o.Address
    	if addr == "*" {
    		addr = ""
    	}
    
    	// Canonicalize the address and resolve a dynamic port if necessary
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 21:22:53 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  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. pkg/controller/job/job_controller.go

    		return false
    	}
    	if hasBackoffLimitPerIndex(jobCtx.job) {
    		if index := getCompletionIndex(pod.Annotations); index != unknownCompletionIndex {
    			if p, ok := jobCtx.podsWithDelayedDeletionPerIndex[index]; ok && p.UID == pod.UID {
    				logger.V(3).Info("Delaying pod finalizer removal to await for pod recreation within the index", "pod", klog.KObj(pod))
    				return false
    			}
    		}
    	}
    	return true
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    			}
    			a := s.expr(n.X)
    			i := s.expr(n.Index)
    			len := s.newValue1(ssa.OpStringLen, types.Types[types.TINT], a)
    			i = s.boundsCheck(i, len, ssa.BoundsIndex, n.Bounded())
    			ptrtyp := s.f.Config.Types.BytePtr
    			ptr := s.newValue1(ssa.OpStringPtr, ptrtyp, a)
    			if ir.IsConst(n.Index, constant.Int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top