MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / read

Method read

src/python/subprocess.cpp:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 ssize_t SubProcess::read(char* buf, size_t len) {
67 if (stdout_fd_ < 0)
68 return -1;
69
70 const ssize_t n = ::read(stdout_fd_, buf, len);
71 if (n < 0 && (errno == EAGAIN || errno == EWOULDBLOCK))
72 return 0;
73 return n;
74 }
75
76 bool SubProcess::is_running() const {
77 if (pid_ <= 0)

Callers 15

pollMethod · 0.45
_download_thumbnailFunction · 0.45
_sniff_headerMethod · 0.45
_parse_spz_headerMethod · 0.45
_count_colmap_camerasMethod · 0.45
_count_colmap_pointsMethod · 0.45
_fetch_repo_metadataFunction · 0.45
_fetch_jsonMethod · 0.45
_download_with_progressFunction · 0.45
_copy_streamFunction · 0.45
open_and_validateFunction · 0.45

Calls 1

readFunction · 0.85

Tested by

no test coverage detected