Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xShug0/audio.cpp
/ name_or_default
Function
name_or_default
src/framework/core/module.cpp:31–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
}
30
31
std::string name_or_default(const char * name) {
32
return name == nullptr ? std::string(
"tensor"
) : std::string(name);
33
}
34
35
} // namespace
36
Callers
3
validate_shape
Function · 0.85
validate_last_dim
Function · 0.85
validate_rank_between
Function · 0.85
Calls
1
string
Function · 0.50
Tested by
no test coverage detected