github.com/egonelbre/exp@v0.0.0-20240430123955-ed1d3aa93911/reflectmap/common.go (about)

     1  package reflectmap
     2  
     3  import "unsafe"
     4  
     5  const bucketSize = 8
     6  
     7  type hashBucket [bucketSize]byte
     8  
     9  type reflectvalue struct {
    10  	typ uintptr
    11  	ptr unsafe.Pointer
    12  }