| 126 | } |
| 127 | |
| 128 | const char* TOpaqueTrieIterator::GetValuePtr() const { |
| 129 | if (!Forks.Empty()) { |
| 130 | const TFork& lastFork = Forks.Top(); |
| 131 | Y_ASSERT(lastFork.Node.IsFinal() && lastFork.CurrentDirection == D_FINAL); |
| 132 | return Trie.Data + lastFork.GetValueOffset(); |
| 133 | } |
| 134 | Y_ASSERT(AtEmptyValue); |
| 135 | return EmptyValue; |
| 136 | } |
| 137 | |
| 138 | //------------------------------------------------------------------------- |
| 139 |
nothing calls this directly
no test coverage detected