CURRENT PATH:
/
opt
/
golang
/
1.22.0
/
test
/
fixedbugs
/
issue4879.dir
/
KEMBALI
|
HOME
Upload File Local:
Upload
Upload via URL:
Download
Dir Baru
File Baru
Editing:
a.go
package a import ( "unsafe" ) type Collection struct { root unsafe.Pointer } type nodeLoc struct{} type slice []int type maptype map[int]int func MakePrivateCollection() *Collection { return &Collection{ root: unsafe.Pointer(&nodeLoc{}), } } func MakePrivateCollection2() *Collection { return &Collection{ root: unsafe.Pointer(&slice{}), } } func MakePrivateCollection3() *Collection { return &Collection{ root: unsafe.Pointer(&maptype{}), } }
SIMPAN
BATAL