MCPcopy Create free account
hub / github.com/KTH-RPL/dufomap / make_key

Method make_key

src/toml.hpp:15219–15228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15217 }
15218
15219 TOML_NODISCARD
15220 key make_key(size_t segment_index) const
15221 {
15222 TOML_ASSERT(key_buffer.size() > segment_index);
15223
15224 return key{
15225 key_buffer[segment_index],
15226 source_region{ key_buffer.starts[segment_index], key_buffer.ends[segment_index], root.source().path }
15227 };
15228 }
15229
15230 TOML_NODISCARD
15231 TOML_NEVER_INLINE

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected