Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Int32Sym (0.16 sec)

  1. src/cmd/internal/obj/sym.go

    		s.Size = 8
    		s.WriteFloat64(ctxt, 0, f)
    		s.Type = objabi.SRODATA
    		s.Set(AttrLocal, true)
    		s.Set(AttrContentAddressable, true)
    		ctxt.constSyms = append(ctxt.constSyms, s)
    	})
    }
    
    func (ctxt *Link) Int32Sym(i int64) *LSym {
    	name := fmt.Sprintf("$i32.%08x", uint64(i))
    	return ctxt.LookupInit(name, func(s *LSym) {
    		s.Size = 4
    		s.WriteInt(ctxt, 0, 4, i)
    		s.Type = objabi.SRODATA
    		s.Set(AttrLocal, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top