MCPcopy Create free account
hub / github.com/Tencent/RapidView / toint

Method toint

luaj_virtual_machine/src/core/org/luaj/vm2/Varargs.java:445–445  ·  view source on GitHub ↗

Return argument i as a java int value, discarding any fractional part and truncating, or 0 if not a number. @param i the index of the argument to convert, 1 is the first argument @return int value with fraction discarded and truncated if necessary if argument i is number, otherwise 0

(int i)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

testToIntMethod · 0.45
checkintMethod · 0.45
rawgetMethod · 0.45
rawsetMethod · 0.45
lengthMethod · 0.45
nextMethod · 0.45
hashsetMethod · 0.45
defaultEntryMethod · 0.45
dumpStringMethod · 0.45
toJavaMethod · 0.45

Calls 1

argMethod · 0.95

Tested by 4

testToIntMethod · 0.36
testDirectEvaluationMethod · 0.36