Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for iface_dtype (0.12 sec)

  1. src/runtime/runtime-gdb.py

    		go_type_ptr = obj['tab']['_type']
    	elif is_eface(obj):
    		go_type_ptr = obj['_type']
    	else:
    		return
    
    	return go_type_ptr.cast(gdb.lookup_type("struct reflect.rtype").pointer()).dereference()
    
    
    def iface_dtype(obj):
    	"Decode type of the data field of an eface or iface struct."
    	# known issue: dtype_name decoded from runtime.rtype is "nested.Foo"
    	# but the dwarf table lists it as "full/path/to/nested.Foo"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  2. src/encoding/asn1/asn1.go

    	if offset == len(bytes) {
    		if !setDefaultValue(v, params) {
    			err = SyntaxError{"sequence truncated"}
    		}
    		return
    	}
    
    	// Deal with the ANY type.
    	if ifaceType := fieldType; ifaceType.Kind() == reflect.Interface && ifaceType.NumMethod() == 0 {
    		var t tagAndLength
    		t, offset, err = parseTagAndLength(bytes, offset)
    		if err != nil {
    			return
    		}
    		if invalidLength(offset, t.length, len(bytes)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  3. src/cmd/internal/dwarf/dwarf.go

    		DW_CHILDREN_yes,
    		[]dwAttrForm{
    			{DW_AT_name, DW_FORM_string},
    			{DW_AT_byte_size, DW_FORM_udata},
    			{DW_AT_go_kind, DW_FORM_data1},
    			{DW_AT_go_runtime_type, DW_FORM_addr},
    		},
    	},
    
    	/* IFACETYPE */
    	{
    		DW_TAG_typedef,
    		DW_CHILDREN_yes,
    		[]dwAttrForm{
    			{DW_AT_name, DW_FORM_string},
    			{DW_AT_type, DW_FORM_ref_addr},
    			{DW_AT_go_kind, DW_FORM_data1},
    			{DW_AT_go_runtime_type, DW_FORM_addr},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
Back to top