MCPcopy Create free account
hub / github.com/Restream/reindexer / isSystemNamespaceNameFast

Function isSystemNamespaceNameFast

cpp_src/tools/stringstools.h:277–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275bool validateObjectName(std::string_view name, bool allowSpecialChars) noexcept;
276bool validateUserNsName(std::string_view name) noexcept;
277RX_ALWAYS_INLINE bool isSystemNamespaceNameFast(std::string_view name) noexcept { return !name.empty() && (name[0] == '#'); }
278RX_ALWAYS_INLINE bool isSystemNamespaceNameFastReplication(std::string_view name) noexcept {
279 return !name.empty() && (name[0] == '#' || name[0] == '@' || name[0] == '!');
280}

Callers 12

BuildForQueryMethod · 0.85
isSystemMethod · 0.85
checkSubQueryMethod · 0.85
modifyQMethod · 0.85
SelectMethod · 0.85
syncSystemNamespacesMethod · 0.85
DoSelectMethod · 0.85
commandDumpMethod · 0.85
CheckMethod · 0.85
EventsListenerClass · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected