decord/source/759_SetCache.js

33 lines
698 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 759
2026-07-25 08:10:48 +00:00
// Function ID: 8826
2026-07-20 16:05:17 +00:00
// Name: SetCache
2026-07-23 10:11:24 +00:00
// Dependencies: [709, 760, 761]
2026-07-20 16:05:17 +00:00
// Module 759 (SetCache)
2026-07-23 10:11:24 +00:00
import setCacheAdd from "setCacheAdd";
2026-07-20 16:05:17 +00:00
let prototype;
let prototype2;
class SetCache {
constructor(arg0) {
self = this;
num = 0;
if (null != global) {
num = global.length;
}
2026-07-23 10:11:24 +00:00
tmp = require("MapCache");
2026-07-20 16:05:17 +00:00
tmp = new tmp();
self.__data__ = tmp;
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;
SetCache.prototype.has = require("setCacheHas");
2026-07-20 16:05:17 +00:00
export default SetCache;