MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / rotl64

Method rotl64

lib/tokenizer.js:264–267  ·  view source on GitHub ↗

* @param {MutableLong} v * @param {Number} n

(v, n)

Source from the content-addressed store, hash-verified

262 * @param {Number} n
263 */
264 rotl64(v, n) {
265 const left = v.clone().shiftLeft(n);
266 v.shiftRightUnsigned(64 - n).or(left);
267 }
268
269 /** @param {MutableLong} k */
270 fmix(k) {

Callers 2

hashMethod · 0.95
tokenizer-tests.jsFile · 0.80

Calls 4

shiftLeftMethod · 0.80
orMethod · 0.80
shiftRightUnsignedMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected