MCPcopy Create free account
hub / github.com/CDSecLab/MJXT / tset_table_cnt

Method tset_table_cnt

src/main/java/server/Server_MJXT.java:40–47  ·  view source on GitHub ↗

Get the number of the both table's TSet entries @param stag the both table's stag @return the numbers of the matching TSet entries

(BigInteger[] stag)

Source from the content-addressed store, hash-verified

38 * @return the numbers of the matching TSet entries
39 */
40 public int[] tset_table_cnt(BigInteger[] stag){
41 this.stag = stag;
42 int[] cnt = new int[table_num];
43 for (int i = 0; i < table_num; i++) {
44 cnt[i] = tset.get(stag[i]).size();
45 }
46 return cnt;
47 }
48
49 /**
50 * the server operations of the search algorithm for MJXT

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by 1

mainMethod · 0.76