Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readUnaligned64 (2.26 sec)

  1. src/runtime/traceback.go

    			return true
    		}
    		bits := *(*uint8)(add(liveInfo, uintptr(liveIdx)+uintptr(slotIdx/8)))
    		return bits&(1<<(slotIdx%8)) != 0
    	}
    
    	print1 := func(off, sz, slotIdx uint8) {
    		x := readUnaligned64(add(argp, uintptr(off)))
    		// mask out irrelevant bits
    		if sz < 8 {
    			shift := 64 - sz*8
    			if goarch.BigEndian {
    				x = x >> shift
    			} else {
    				x = x << shift >> shift
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top