MCPcopy Create free account
hub / github.com/comaps/comaps / JoinIterator

Method JoinIterator

libs/indexer/string_slice.cpp:7–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace search
6{
7JoinIterator::JoinIterator(StringSliceBase const & slice, Position position) : m_slice(slice)
8{
9 if (position == Position::Begin)
10 {
11 m_string = 0;
12 m_offset = 0;
13 Normalize();
14 }
15 else
16 {
17 m_string = GetMaxSize();
18 m_offset = 0;
19 }
20}
21
22// static
23JoinIterator JoinIterator::Begin(StringSliceBase const & slice)

Callers

nothing calls this directly

Calls 1

NormalizeFunction · 0.50

Tested by

no test coverage detected