decord/source/782_SetCache.js

32 lines
742 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 782
// Function ID: 783
2026-07-20 16:05:17 +00:00
// Name: SetCache
2026-07-29 08:29:29 +00:00
// Dependencies: [732, 783, 784]
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
// Module 782 (SetCache)
2026-08-24 06:08:38 +00:00
import MapCache from "MapCache" /* 732 */;
import setCacheHas from "setCacheHas" /* 784 */;
import setCacheAdd from "setCacheAdd" /* 783 */;
2026-07-23 10:11:24 +00:00
2026-07-20 16:05:17 +00:00
class SetCache {
constructor(arg0) {
num = 0;
if (null != global) {
num = global.length;
}
2026-07-29 08:29:29 +00:00
self = this;
tmp = new require("MapCache")();
this.__data__ = tmp;
2026-07-20 16:05:17 +00:00
for (let num2 = 0; num2 < num; num2 = num2 + 1) {
addResult = self.add(global[num2]);
}
return;
}
}
({ prototype, prototype: prototype2 } = SetCache);
2026-07-23 10:11:24 +00:00
prototype2.push = setCacheAdd;
prototype.add = setCacheAdd;
2026-08-24 06:08:38 +00:00
SetCache.prototype.has = setCacheHas;
2026-07-20 16:05:17 +00:00
export default SetCache;