MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / sum

Method sum

src/main/java/gregapi/util/UT.java:1701–1705  ·  view source on GitHub ↗
(byte... aArray)

Source from the content-addressed store, hash-verified

1699 }
1700
1701 public static long sum(byte... aArray) {
1702 long rAmount = 0;
1703 for (byte tNumber : aArray) rAmount += tNumber;
1704 return rAmount;
1705 }
1706
1707 public static long sum(short... aArray) {
1708 long rAmount = 0;

Callers 6

averageBytesMethod · 0.95
averageShortsMethod · 0.95
averageIntsMethod · 0.95
averageLongsMethod · 0.95
getCurrentValueMethod · 0.80
onTick2Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected