Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antlr/codebuff
/ squareMod
Method
squareMod
output/java_guava/1.4.19/LongMath.java:1162–1165 ·
view source on GitHub ↗
(long a, long m)
Source
from the content-addressed store, hash-verified
1160
}
1161
1162
@Override
1163
long squareMod(long a, long m) {
1164
return
(a * a) % m;
1165
}
1166
},
1167
/**
1168
* 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