Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Achain-Dev/Achain
/ string_lines_count
Function
string_lines_count
src/Chain/libraries/glua/glua_lutil.cpp:117–120 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
115
}
116
117
size_t string_lines_count(const std::string &str)
118
{
119
return std::count(str.begin(), str.end(),
'\n'
) + 1;
120
}
121
122
} // end namespace glua::util
123
} // end namespace glua
Callers
4
generate_record_constructor_code
Method · 0.85
_push_new_token
Method · 0.85
_parse_next_token
Method · 0.85
dump
Method · 0.85
Calls
3
count
Function · 0.50
begin
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected