blob: ca61f6f081bdfb46e9fd78f6e3388466f63e443f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright (c) 2012-2020 Ugorji Nwoke. All rights reserved.
// Use of this source code is governed by a MIT license found in the LICENSE file.
//go:build !safe && !codec.safe && !appengine && !go1.24
package codec
import "unsafe"
// retrofited from hIter struct
type unsafeMapIterPadding struct {
_ [6]unsafe.Pointer // padding: *maptype, *hmap, buckets, *bmap, overflow, oldoverflow,
_ [4]uintptr // padding: uintptr, uint8, bool fields
_ uintptr // padding: wasted (try to fill cache-line at multiple of 4)
}
|