Meta returns a pointer to the metadata section of the page.
()
| 84 | |
| 85 | // Meta returns a pointer to the metadata section of the page. |
| 86 | func (p *Page) Meta() *Meta { |
| 87 | return (*Meta)(UnsafeAdd(unsafe.Pointer(p), unsafe.Sizeof(*p))) |
| 88 | } |
| 89 | |
| 90 | func (p *Page) FastCheck(id Pgid) { |
| 91 | if p.id != id { |
no test coverage detected