Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for is_eface (0.09 sec)

  1. src/runtime/runtime-gdb.py

    # fields to python attributes in gdb.py isn't complete: you can't test
    # for presence other than by trapping.
    
    
    def is_iface(val):
    	try:
    		return str(val['tab'].type) == "struct runtime.itab *" and str(val['data'].type) == "void *"
    	except gdb.error:
    		pass
    
    
    def is_eface(val):
    	try:
    		return str(val['_type'].type) == "struct runtime._type *" and str(val['data'].type) == "void *"
    	except gdb.error:
    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/runtime/gcinfo_test.go

    	verifyGCInfo(t, "bss BigStruct", &bssBigStruct, infoBigStruct())
    	verifyGCInfo(t, "bss string", &bssString, infoString)
    	verifyGCInfo(t, "bss slice", &bssSlice, infoSlice)
    	verifyGCInfo(t, "bss eface", &bssEface, infoEface)
    	verifyGCInfo(t, "bss iface", &bssIface, infoIface)
    
    	verifyGCInfo(t, "data Ptr", &dataPtr, infoPtr)
    	verifyGCInfo(t, "data ScalarPtr", &dataScalarPtr, infoScalarPtr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:58:08 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top