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

Function SetDataDir

external/sentencepiece/src/util.cc:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void SetDataDir(absl::string_view data_dir) {
55 auto shared_data_dir =
56 std::make_shared<const std::string>(std::string(data_dir));
57 std::atomic_store(GetSharedDataDir(), std::move(shared_data_dir));
58}
59
60namespace logging {
61int GetMinLogLevel() { return g_minloglevel.load(); }

Callers 2

TESTFunction · 0.70
TESTFunction · 0.70

Calls 3

atomic_storeFunction · 0.85
GetSharedDataDirFunction · 0.85
stringFunction · 0.50

Tested by 2

TESTFunction · 0.56
TESTFunction · 0.56