MCPcopy Create free account
hub / github.com/apache/cloudstack / _getContext

Method _getContext

systemvm/agent/noVNC/core/decoders/h264.js:274–277  ·  view source on GitHub ↗
(x, y, width, height)

Source from the content-addressed store, hash-verified

272 }
273
274 _getContext(x, y, width, height) {
275 let context = this._contexts[this._contextId(x, y, width, height)];
276 return context !== undefined ? context : this._createContext(x, y, width, height);
277 }
278
279 _resetContext(x, y, width, height) {
280 delete this._contexts[this._contextId(x, y, width, height)];

Callers 1

decodeRectMethod · 0.95

Calls 2

_contextIdMethod · 0.95
_createContextMethod · 0.95

Tested by

no test coverage detected