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

Function CreateURI

tensorflow/core/lib/io/path.cc:259–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259string CreateURI(StringPiece scheme, StringPiece host, StringPiece path) {
260 if (scheme.empty()) {
261 return string(path);
262 }
263 return strings::StrCat(scheme, "://", host, path);
264}
265
266// Returns a unique number every time it is called.
267int64 UniqueId() {

Callers 2

FlushFileSystemCachesMethod · 0.85
RecursivelyCreateDirMethod · 0.85

Calls 2

StrCatFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected