Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Atof64 (0.07 sec)

  1. src/runtime/string.go

    	}
    
    	return n, true
    }
    
    // atoi is like atoi64 but for integers
    // that fit into an int.
    func atoi(s string) (int, bool) {
    	if n, ok := atoi64(s); n == int64(int(n)) {
    		return int(n), ok
    	}
    	return 0, false
    }
    
    // atoi32 is like atoi but for integers
    // that fit into an int32.
    func atoi32(s string) (int32, bool) {
    	if n, ok := atoi64(s); n == int64(int32(n)) {
    		return int32(n), ok
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/debug/dwarf/typeunit.go

    			return err
    		}
    		asize := b.uint8()
    		sig := b.uint64()
    
    		var toff uint32
    		if !dwarf64 {
    			toff = b.uint32()
    		} else {
    			to64 := b.uint64()
    			if to64 != uint64(uint32(to64)) {
    				b.error("type unit type offset overflow")
    				return b.err
    			}
    			toff = uint32(to64)
    		}
    
    		boff := b.off
    		d.typeSigs[sig] = &typeUnit{
    			unit: unit{
    				base:   base,
    				off:    boff,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top