Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,162 for index (0.04 sec)

  1. pkg/test/loadbalancersim/timer/queue.go

    }
    
    func (h timerHeap) Swap(i, j int) {
    	h[i], h[j] = h[j], h[i]
    	h[i].index = i
    	h[j].index = j
    }
    
    func (h *timerHeap) Push(x any) {
    	e := x.(*entry)
    	*h = append(*h, e)
    	e.index = len(*h) - 1
    }
    
    func (h *timerHeap) Pop() any {
    	n := h.Len()
    	e := (*h)[n-1]
    	*h = (*h)[:n-1]
    	e.index = -1
    	return e
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/autoscaling/v2beta1/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 01 06:06:37 UTC 2024
    - 142.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/admission/v1/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 01 06:06:37 UTC 2024
    - 46K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. pkg/config/analysis/analyzers/envoyfilter/envoyfilter.go

    		}
    
    		if line, ok := util.ErrorLine(r, fmt.Sprintf(util.EnvoyFilterConfigPath, index)); ok {
    			message.Line = line
    		}
    		c.Report(gvk.EnvoyFilter, message)
    
    	}
    }
    
    func (*EnvoyPatchAnalyzer) analyzeEnvoyFilterPatch(r *resource.Instance, c analysis.Context, patchFilterNames []string) []string {
    	ef := r.Message.(*network.EnvoyFilter)
    	for index, patch := range ef.ConfigPatches {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. src/net/interface_windows.go

    	if err != nil {
    		return nil, err
    	}
    	var ift []Interface
    	for _, aa := range aas {
    		index := aa.IfIndex
    		if index == 0 { // ipv6IfIndex is a substitute for ifIndex
    			index = aa.Ipv6IfIndex
    		}
    		if ifindex == 0 || ifindex == int(index) {
    			ifi := Interface{
    				Index: int(index),
    				Name:  windows.UTF16PtrToString(aa.FriendlyName),
    			}
    			if aa.OperStatus == windows.IfOperStatusUp {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 10:25:02 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/helpers.go

    func (a *index) generatePodUID(p *v1.Pod) string {
    	return a.ClusterID.String() + "//" + "Pod/" + p.Namespace + "/" + p.Name
    }
    
    // name format: <cluster>/<group>/<kind>/<namespace>/<name></section-name>
    // if the WorkloadEntry is inlined in the ServiceEntry, we may need section name. caller should use generateServiceEntryUID
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 22 20:35:23 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. src/sort/search.go

    // Search uses binary search to find and return the smallest index i
    // in [0, n) at which f(i) is true, assuming that on the range [0, n),
    // f(i) == true implies f(i+1) == true. That is, Search requires that
    // f is false for some (possibly empty) prefix of the input range [0, n)
    // and then true for the (possibly empty) remainder; Search returns
    // the first true index. If there is no such index, Search returns n.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 16:40:32 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. 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)
Back to top