Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ num_leading_spaces
Function
num_leading_spaces
tensorflow/core/framework/op_def_builder.cc:441–447 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
439
}
440
441
int num_leading_spaces(StringPiece s) {
442
size_t i = 0;
443
while (i < s.size() && s[i] ==
' '
) {
444
++i;
445
}
446
return i;
447
}
448
449
bool ConsumeDocNameColon(StringPiece* sp, StringPiece* out) {
450
return Scanner(*sp)
Callers
1
FinalizeDoc
Function · 0.85
Calls
1
size
Method · 0.45
Tested by
no test coverage detected