v1
1/10/2019 by bryc -00
Setup HTML - click to add setup HTML
Setup JS - click to add setup JavaScript
delete caserun single casemove downdrag and drop case


ready



function FNV1a(key) {
    var hval = 2166136261 | 0;
    for(var i = 0; i < key.length; i++) {
        hval = Math.imul(hval ^ key[i], 16777619);
    }
    return hval >>> 0;
}

FNV1a([34,123,221,5,87,12]);
delete caserun single casemove updrag and drop case


ready



function FNV1a(key) {
    var hval = 2166136261 | 0;
    for(var i = 0; i < key.length; i++) {
        hval = hval ^ key[i];
        hval += (hval << 1) + (hval << 4) + (hval << 7) + (hval << 8) + (hval << 24);
    }
    return hval >>> 0;
}

FNV1a([34,123,221,5,87,12]);
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN