(slotId uint8, hash16 uint16, offset int64)
| 380 | } |
| 381 | |
| 382 | func (seg *segment) delEntryPtrByOffset(slotId uint8, hash16 uint16, offset int64) { |
| 383 | slot := seg.getSlot(slotId) |
| 384 | idx, match := seg.lookupByOff(slot, hash16, offset) |
| 385 | if !match { |
| 386 | return |
| 387 | } |
| 388 | seg.delEntryPtr(slotId, slot, idx) |
| 389 | } |
| 390 | |
| 391 | func (seg *segment) delEntryPtr(slotId uint8, slot []entryPtr, idx int) { |
| 392 | offset := slot[idx].offset |
no test coverage detected