MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / SetRange

Method SetRange

tensorflow/core/platform/cloud/curl_http_request.cc:181–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181void CurlHttpRequest::SetRange(uint64 start, uint64 end) {
182 CheckNotSent();
183 CHECK_CURL_OK(libcurl_->curl_easy_setopt(
184 curl_, CURLOPT_RANGE, strings::StrCat(start, "-", end).c_str()));
185}
186
187void CurlHttpRequest::AddHeader(const string& name, const string& value) {
188 CheckNotSent();

Callers 3

LoadBufferFromGCSMethod · 0.45
TESTFunction · 0.45
ReadMethod · 0.45

Calls 3

c_strMethod · 0.80
StrCatFunction · 0.50
curl_easy_setoptMethod · 0.45

Tested by 1

TESTFunction · 0.36