github.com/puzpuzpuz/xsync/v2@v2.5.2-0.20231021165734-92b8269e19a9/export_mapof_test.go (about) 1 //go:build go1.18 2 // +build go1.18 3 4 package xsync 5 6 type ( 7 BucketOfPadded = bucketOfPadded 8 ) 9 10 func CollectMapOfStats[K comparable, V any](m *MapOf[K, V]) MapStats { 11 return MapStats{m.stats()} 12 }