Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ml-explore/mlx-data
/ reset
Method
reset
mlx/data/stream/Prefetch.cpp:58–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
}
57
58
void Prefetch::reset() {
59
std::unique_lock lock(mutex_);
60
61
while (prefetchCache_.size()) {
62
prefetchCache_.front().get();
63
prefetchCache_.pop();
64
}
65
stream_->reset();
66
}
67
68
} // namespace stream
69
} // namespace data
Callers
nothing calls this directly
Calls
2
size
Method · 0.45
get
Method · 0.45
Tested by
no test coverage detected