MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / splitOnce

Function splitOnce

Libraries/HttpClient/HttpClientSession.cpp:300–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 realm = sliceString(value, valueStart, idx);
299 return true;
300 }
301 if (idx < end)
302 {
303 idx += 1;
304 }
305 }
306 else
307 {
308 const size_t valueStart = idx;
309 while (idx < end and bytes[idx] != ',' and bytes[idx] != ' ' and bytes[idx] != '\t')
310 {
311 idx += 1;
312 }
313 if (isRealm)
314 {
315 realm = sliceString(value, valueStart, idx);
316 return true;

Callers 1

captureSetCookieMethod · 0.85

Calls 2

sliceStringFunction · 0.85
sizeInBytesMethod · 0.45

Tested by

no test coverage detected