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

Method _rQshift

systemvm/agent/noVNC/core/websock.js:119–125  ·  view source on GitHub ↗
(bytes)

Source from the content-addressed store, hash-verified

117
118 // TODO(directxman12): test performance with these vs a DataView
119 _rQshift(bytes) {
120 let res = 0;
121 for (let byte = bytes - 1; byte >= 0; byte--) {
122 res += this._rQ[this._rQi++] << (byte * 8);
123 }
124 return res >>> 0;
125 }
126
127 rQshiftStr(len) {
128 let str = "";

Callers 3

rQshift8Method · 0.95
rQshift16Method · 0.95
rQshift32Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected