Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for commonPrefixLenIgnoreCase (0.26 sec)

  1. src/strconv/atof.go

    import "math"
    
    var optimize = true // set to false to force slow-path conversions for testing
    
    // commonPrefixLenIgnoreCase returns the length of the common
    // prefix of s and prefix, with the character case of s ignored.
    // The prefix argument must be all lower-case.
    func commonPrefixLenIgnoreCase(s, prefix string) int {
    	n := len(prefix)
    	if n > len(s) {
    		n = len(s)
    	}
    	for i := 0; i < n; i++ {
    		c := s[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 18:50:50 UTC 2022
    - 15.9K bytes
    - Viewed (0)
Back to top