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

Method sQpush32

systemvm/agent/noVNC/core/websock.js:189–195  ·  view source on GitHub ↗
(num)

Source from the content-addressed store, hash-verified

187 }
188
189 sQpush32(num) {
190 this._sQensureSpace(4);
191 this._sQ[this._sQlen++] = (num >> 24) & 0xff;
192 this._sQ[this._sQlen++] = (num >> 16) & 0xff;
193 this._sQ[this._sQlen++] = (num >> 8) & 0xff;
194 this._sQ[this._sQlen++] = (num >> 0) & 0xff;
195 }
196
197 sQpushString(str) {
198 let bytes = str.split('').map(chr => chr.charCodeAt(0));

Callers 11

_negotiatePlainAuthMethod · 0.80
_negotiateTightAuthMethod · 0.80
keyEventFunction · 0.80
QEMUExtendedKeyEventFunction · 0.80
clientCutTextFunction · 0.80
setDesktopSizeFunction · 0.80
clientFenceFunction · 0.80
clientEncodingsFunction · 0.80

Calls 1

_sQensureSpaceMethod · 0.95

Tested by

no test coverage detected