long hash = 0; for(int i = 0; i < VD_KEY_SIZE; i++) { hash = hash * 127 + data[index + i]; }
int hash = 0; hash += (data[index] & 0xFF); hash += hash*127 + (data[index + 1] & 0xFF); hash += hash*127 + (data[index + 2] & 0xFF); hash += hash*127 + (data[index + 3] & 0xFF);
        public int getBucketIndex(byte[] data, int index) {            long hash = 0;            for(int i = 0; i < VD_KEY_SIZE; i++) {                hash = hash * 127 + data[index + i];            }            hash = hash % myBuckets.length;            return Math.abs((int) hash);        }