Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dobin/RedEdr
/ wstring_starts_with
Function
wstring_starts_with
RedEdrShared/utils.cpp:483–488 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
481
482
483
bool wstring_starts_with(const std::wstring& str, const std::wstring& prefix) {
484
if (str.size() < prefix.size()) {
485
return false;
486
}
487
return str.compare(0, prefix.size(), prefix) == 0;
488
}
Callers
1
KrabsEtwEventToJsonStr
Function · 0.85
Calls
1
size
Method · 0.45
Tested by
no test coverage detected