MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / reset

Method reset

src/framework/io/binary.cpp:113–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111#endif
112 }
113#else
114 (void) offset;
115 (void) size;
116#endif
117}
118
119void BinaryBlob::reset() noexcept {
120#if defined(__unix__) || defined(__APPLE__)
121 if (mapped_ != nullptr) {
122 munmap(const_cast<std::byte *>(mapped_), size_);
123 mapped_ = nullptr;
124 size_ = 0;
125 }
126#elif defined(_WIN32)
127 if (mapped_ != nullptr) {
128 UnmapViewOfFile(mapped_);
129 mapped_ = nullptr;

Callers 8

runMethod · 0.45
release_runtime_cacheMethod · 0.45
predict_f0_lockedMethod · 0.45
GraphMethod · 0.45
GraphMethod · 0.45
prepare_host_graph_planFunction · 0.45
configure_loggingFunction · 0.45
run_streamingFunction · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected