MCPcopy Create free account
hub / github.com/OreosLab/bili / power

Method power

src/main/java/top/misec/utils/HelpUtil.java:24–31  ·  view source on GitHub ↗
(int a, int b)

Source from the content-addressed store, hash-verified

22 private static long add = 8728348608L;
23
24 public static long power(int a, int b) {
25 long power = 1;
26 for (int c = 0; c < b; c++) {
27 power *= a;
28 }
29
30 return power;
31 }
32
33 public static String bv2av(String s) {
34 long r = 0;

Callers 2

bv2avMethod · 0.95
av2bvMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected