MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / getMappedFileName

Function getMappedFileName

src/utilities/ntrace/PluginLogWriter.cpp:56–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54#endif
55
56void getMappedFileName(PathName& file, PathName& mapFile)
57{
58 const ULONG hash = file.hash(0xFFFFFFFF);
59 mapFile.printf("%s_%08x", FB_TRACE_LOG_MUTEX, hash);
60}
61
62PluginLogWriter::PluginLogWriter(const char* fileName, size_t maxSize) :
63 m_fileName(*getDefaultMemoryPool()),

Callers 1

PluginLogWriterMethod · 0.70

Calls 2

hashMethod · 0.45
printfMethod · 0.45

Tested by

no test coverage detected