Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ Assign
Method
Assign
tensorflow/stream_executor/lib/statusor_internals.h:131–139 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
129
}
130
131
void Assign(const T& value) {
132
if (ok()) {
133
data_.~T();
134
MakeValue(value);
135
} else {
136
MakeValue(value);
137
status_ = Status::OK();
138
}
139
}
140
141
void Assign(T&& value) {
142
if (ok()) {
Callers
5
test_ast_to_source
Method · 0.80
test_replace_code_block
Method · 0.80
generate_Assign
Method · 0.80
convert_func_to_ast
Function · 0.80
statusor.h
File · 0.80
Calls
no outgoing calls
Tested by
2
test_ast_to_source
Method · 0.64
test_replace_code_block
Method · 0.64