| 481 | ) |
| 482 | |
| 483 | type pageRef struct { |
| 484 | buffer [2]*page |
| 485 | pages contiguousPages |
| 486 | offset int64 |
| 487 | cursor int64 |
| 488 | length uint32 |
| 489 | once uint32 |
| 490 | } |
| 491 | |
| 492 | func (ref *pageRef) unref() { |
| 493 | if atomic.CompareAndSwapUint32(&ref.once, 0, 1) { |
nothing calls this directly
no outgoing calls
no test coverage detected