Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/PhotonLibOS
/ set_input
Method
set_input
common/memory-stream/memory-stream.h:56–59 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
54
std::string_view _inv;
55
public:
56
void set_input(std::string_view in) {
57
_in.assign(in.data(), in.size());
58
_inv = {_in};
59
}
60
void set_input(std::string_view in, bool copy) {
61
if (!copy) _inv = in;
62
else set_input(in);
Callers
1
TEST
Function · 0.45
Calls
3
assign
Method · 0.45
data
Method · 0.45
size
Method · 0.45
Tested by
1
TEST
Function · 0.36