MCPcopy Create free account
hub / github.com/ml-explore/mlx / seek

Method seek

python/src/load.cpp:372–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370 }
371
372 void seek(int64_t off, std::ios_base::seekdir way = std::ios_base::beg)
373 override {
374 nb::gil_scoped_acquire gil;
375 seek_func_(off, (int)way);
376 }
377
378 void write(const char* data, size_t n) override {
379 nb::gil_scoped_acquire gil;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected