Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for compareInternal (0.18 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/version/version.go

    	}
    	if v.buildMetadata != "" {
    		buffer.WriteString("+")
    		buffer.WriteString(v.buildMetadata)
    	}
    
    	return buffer.String()
    }
    
    // compareInternal returns -1 if v is less than other, 1 if it is greater than other, or 0
    // if they are equal
    func (v *Version) compareInternal(other *Version) int {
    
    	vLen := len(v.components)
    	oLen := len(other.components)
    	for i := 0; i < vLen && i < oLen; i++ {
    		switch {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 18 19:25:29 UTC 2023
    - 10.5K bytes
    - Viewed (0)
Back to top