File: murmur_appengine.go

package info (click to toggle)
golang-github-gocql-gocql 0.0~git20191102.0.9faa4c0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,012 kB
  • sloc: sh: 84; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 227 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
// +build appengine

package murmur

import "encoding/binary"

func getBlock(data []byte, n int) (int64, int64) {
	k1 := binary.LittleEndian.Int64(data[n*16:])
	k2 := binary.LittleEndian.Int64(data[(n*16)+8:])
	return k1, k2
}