Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antlr/codebuff
/ squareMod
Method
squareMod
output/java_guava/1.4.16/LongMath.java:1181–1184 ·
view source on GitHub ↗
(long a, long m)
Source
from the content-addressed store, hash-verified
1179
}
1180
1181
@Override
1182
long squareMod(long a, long m) {
1183
return
(a * a) % m;
1184
}
1185
},
1186
/**
1187
* Works
for
all nonnegative signed longs.
Callers
2
powMod
Method · 0.95
testWitness
Method · 0.95
Calls
3
times2ToThe32Mod
Method · 0.95
remainder
Method · 0.95
plusMod
Method · 0.95
Tested by
no test coverage detected