decord/source/738_mapCacheSet.js
2026-07-25 08:10:48 +00:00

18 lines
390 B
JavaScript

// Module ID: 738
// Function ID: 8787
// Name: mapCacheSet
// Dependencies: [734]
// Module 738 (mapCacheSet)
export default function mapCacheSet(arg0, arg1) {
const self = this;
const obj = require(734) /* getMapData */(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;
};