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

Method rQshiftStr

systemvm/agent/noVNC/core/websock.js:127–135  ·  view source on GitHub ↗
(len)

Source from the content-addressed store, hash-verified

125 }
126
127 rQshiftStr(len) {
128 let str = "";
129 // Handle large arrays in steps to avoid long strings on the stack
130 for (let i = 0; i < len; i += 4096) {
131 let part = this.rQshiftBytes(Math.min(4096, len - i), false);
132 str += String.fromCharCode.apply(null, part);
133 }
134 return str;
135 }
136
137 rQshiftBytes(len, copy=true) {
138 this._rQi += len;

Callers 8

_handleSecurityReasonMethod · 0.80
_negotiateTightAuthMethod · 0.80
_negotiateServerInitMethod · 0.80
_handleServerCutTextMethod · 0.80
_handleServerFenceMsgMethod · 0.80
_handleDesktopNameMethod · 0.80

Calls 2

rQshiftBytesMethod · 0.95
applyMethod · 0.65

Tested by

no test coverage detected