MCPcopy Index your code
hub / github.com/CDSecLab/MJXT / Server_MJXTp

Method Server_MJXTp

src/main/java/server/Server_MJXTp.java:25–34  ·  view source on GitHub ↗
(Map<BigInteger, ArrayList<byte[]>> tset, Setup_JXTp[] table)

Source from the content-addressed store, hash-verified

23 private BigInteger stag1;
24
25 public Server_MJXTp(Map<BigInteger, ArrayList<byte[]>> tset, Setup_JXTp[] table) {
26 int table_num = table.length;
27 this.tset = tset;
28 f = new Bloom[table_num];
29 cset = new Map[table_num];
30 for (int i = 0; i < table_num; i++) {
31 f[i] = table[i].getF();
32 cset[i] = table[i].getCset();
33 }
34 }
35 /**
36 * Get the number of the first table's TSet entries
37 * @param stag1 the first table's stag

Callers

nothing calls this directly

Calls 2

getCsetMethod · 0.80
getFMethod · 0.45

Tested by

no test coverage detected