MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / IndexFilePath

Method IndexFilePath

oneflow/core/embedding/persistent_table.cpp:567–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565
566template<typename Key, typename Engine>
567std::string PersistentTableImpl<Key, Engine>::IndexFilePath(const std::string& name,
568 uint64_t chunk_id) const {
569 return PosixFile::JoinPath(SnapshotDirPath(name), kIndexFileNamePrefix + GetChunkName(chunk_id));
570}
571
572template<typename Key, typename Engine>
573std::string PersistentTableImpl<Key, Engine>::SnapshotDirPath(const std::string& name) const {

Callers

nothing calls this directly

Calls 2

JoinPathFunction · 0.85
GetChunkNameFunction · 0.85

Tested by

no test coverage detected