Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for scanBasePrefix (2.3 sec)

  1. src/fmt/scan.go

    	if x != int64(r) {
    		s.errorString("overflow on character value " + string(r))
    	}
    	return int64(r)
    }
    
    // scanBasePrefix reports whether the integer begins with a base prefix
    // and returns the base, digit string, and whether a zero was found.
    // It is called only if the verb is %v.
    func (s *ss) scanBasePrefix() (base int, digits string, zeroFound bool) {
    	if !s.peek("0") {
    		return 0, decimalDigits + "_", false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
Back to top