MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / count

Method count

common/script/scriptargs.cpp:134–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134int ScriptArgs::count(int i) const
135{
136 const int n = intAt(i);
137 if (n < 0 || n > kMaxListItems) {
138 fail("argument %d is a count of %d, must be between 0 and %d", i + 1, n, kMaxListItems);
139 }
140 return n;
141}
142
143/* ---- strings ----------------------------------------------------------- */
144

Callers 12

requestMethod · 0.80
invalidateMethod · 0.80
restoreMethod · 0.80
rebuildRowsMethod · 0.80
loadTitlesMethod · 0.80
requestMethod · 0.80
mainFunction · 0.80
countFunction · 0.80
logMethod · 0.80
ckpt_gui_pick_oneFunction · 0.80
ckpt_gui_pick_manyFunction · 0.80
sampleIoRateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected