MCPcopy Create free account
hub / github.com/e2wugui/zeze / getComputeCount

Method getComputeCount

ZezeJava/ZezeJava/src/main/java/Zeze/Game/Rank.java:227–232  ·  view source on GitHub ↗

排行榜中间数据的数量。【有默认值】

(int rankType)

Source from the content-addressed store, hash-verified

225 * 排行榜中间数据的数量。【有默认值】
226 */
227 public final int getComputeCount(int rankType) {
228 var factor = computeFactor;
229 if (factor < 2)
230 factor = 2;
231 return (int)(getConcurrentLevel(rankType) * factor);
232 }
233
234 /**
235 * 删除rank

Callers 2

updateRankMethod · 0.95
mergeRankMethod · 0.95

Calls 1

getConcurrentLevelMethod · 0.95

Tested by

no test coverage detected