Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xShug0/audio.cpp
/ require_positive
Function
require_positive
src/framework/modules/positional_modules.cpp:9–13 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
8
namespace engine::modules {
9
namespace {
10
11
void require_positive(int64_t value, const char * name) {
12
if (value <= 0) {
13
throw std::runtime_error(std::string(name) +
" must be positive"
);
14
}
15
}
16
Callers
1
RoPEModule
Method · 0.70
Calls
1
string
Function · 0.50
Tested by
no test coverage detected