Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for decodetypeUsegcprog (0.13 sec)

  1. src/cmd/link/internal/ld/decodesym.go

    // Type.commonType.kind
    func decodetypeKind(arch *sys.Arch, p []byte) abi.Kind {
    	return abi.Kind(p[2*arch.PtrSize+7]) & abi.KindMask //  0x13 / 0x1f
    }
    
    // Type.commonType.kind
    func decodetypeUsegcprog(arch *sys.Arch, p []byte) bool {
    	return abi.Kind(p[2*arch.PtrSize+7])&abi.KindGCProg != 0 //  0x13 / 0x1f
    }
    
    // Type.commonType.size
    func decodetypeSize(arch *sys.Arch, p []byte) int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/data.go

    	if debugGCProg {
    		fmt.Fprintf(os.Stderr, "gcprog sym: %s at %d (ptr=%d+%d)\n", ldr.SymName(s), ldr.SymValue(s), ldr.SymValue(s)/ptrsize, nptr)
    	}
    
    	sval := ldr.SymValue(s)
    	if !decodetypeUsegcprog(p.ctxt.Arch, typData) {
    		// Copy pointers from mask into program.
    		mask := decodetypeGcmask(p.ctxt, typ)
    		for i := int64(0); i < nptr; i++ {
    			if (mask[i/8]>>uint(i%8))&1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top