Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/runtime/print.go

    	i--
    	buf[i] = '0'
    	gwrite(buf[i:])
    }
    
    func printpointer(p unsafe.Pointer) {
    	printhex(uint64(uintptr(p)))
    }
    func printuintptr(p uintptr) {
    	printhex(uint64(p))
    }
    
    func printstring(s string) {
    	gwrite(bytes(s))
    }
    
    func printslice(s []byte) {
    	sp := (*slice)(unsafe.Pointer(&s))
    	print("[", len(s), "/", cap(s), "]")
    	printpointer(sp.array)
    }
    
    func printeface(e eface) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.printbool", 1},
    	{"runtime.printfloat", 1},
    	{"runtime.printint", 1},
    	{"runtime.printhex", 1},
    	{"runtime.printuint", 1},
    	{"runtime.printcomplex", 1},
    	{"runtime.printstring", 1},
    	{"runtime.printpointer", 1},
    	{"runtime.printuintptr", 1},
    	{"runtime.printiface", 1},
    	{"runtime.printeface", 1},
    	{"runtime.printslice", 1},
    	{"runtime.printnl", 1},
    	{"runtime.printsp", 1},
    	{"runtime.printlock", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/runtime/abi_test.go

    var regConfirmRun atomic.Int32
    
    //go:registerparams
    func regFinalizerPointer(v *TintPointer) (int, float32, [10]byte) {
    	regConfirmRun.Store(int32(*(*int)(v.p)))
    	return 5151, 4.0, [10]byte{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
    }
    
    //go:registerparams
    func regFinalizerIface(v Tinter) (int, float32, [10]byte) {
    	regConfirmRun.Store(int32(*(*int)(v.(*TintPointer).p)))
    	return 5151, 4.0, [10]byte{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top