decord/source/738_mapCacheSet.js

19 lines
383 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 738
2026-07-21 22:01:30 +00:00
// Function ID: 8779
2026-07-20 16:05:17 +00:00
// Name: mapCacheSet
// Dependencies: []
// Module 738 (mapCacheSet)
export default function mapCacheSet(arg0, arg1) {
const self = this;
const obj = require(dependencyMap[0])(this, arg0);
const result = obj.set(arg0, arg1);
let num = 1;
if (obj.size == obj.size) {
num = 0;
}
self.size = this.size + num;
return self;
};