Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for intToStr (0.1 sec)

  1. src/cmd/vendor/golang.org/x/text/internal/language/lookup.go

    		v *= base
    		v += uint(s[i] - 'a')
    	}
    	return v
    }
    
    // converts the given integer to the original ASCII string passed to strToInt.
    // len(s) must match the number of characters obtained.
    func intToStr(v uint, s []byte) {
    	for i := len(s) - 1; i >= 0; i-- {
    		s[i] = byte(v%base) + 'a'
    		v /= base
    	}
    }
    
    // getLangISO3 returns the langID for the given 3-letter ISO language code
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top