Searched refs:splayTree (Results 1 – 5 of 5) sorted by relevance
41 var splayTree = null; variable71 } while (splayTree.find(key) != null);72 splayTree.insert(key, GeneratePayloadTree(kSplayTreePayloadDepth, key));79 splayTree = new SplayTree();88 var keys = splayTree.exportKeys();89 splayTree = null;110 var greatest = splayTree.findGreatestLessThan(key);111 if (greatest == null) splayTree.remove(key);112 else splayTree.remove(greatest.key);
46 var splayTree = null; variable76 } while (splayTree.find(key) != null);78 splayTree.insert(key, payload);85 splayTree = new SplayTree();94 var keys = splayTree.exportKeys();95 splayTree = null;116 var greatest = splayTree.findGreatestLessThan(key);117 if (greatest == null) splayTree.remove(key);118 else splayTree.remove(greatest.key);
41 var splayTree = null; variable71 } while (splayTree.find(key) != null);73 splayTree.insert(key, payload);80 splayTree = new SplayTree();89 var keys = splayTree.exportKeys();90 splayTree = null;111 var greatest = splayTree.findGreatestLessThan(key);112 if (greatest == null) splayTree.remove(key);113 else splayTree.remove(greatest.key);
59 var splayTree = void 0; variable159 do { key = GenerateKey(); } while (splayTree.find(key) != null);168 splayTree.insert(key, point);184 var greatest = splayTree.findGreatestLessThan(key);186 var point = splayTree.remove(key).value;188 var point = splayTree.remove(greatest.key).value;480 splayTree = new SplayTree();