File: dedupe_default.go

package info (click to toggle)
golang-github-segmentio-asm 1.2.0%2Bgit20231107.1cfacc8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 932 kB
  • sloc: asm: 6,093; makefile: 32
file content (28 lines) | stat: -rw-r--r-- 519 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//go:build purego || !amd64
// +build purego !amd64

package sortedset

func dedupe1(dst, src []byte) int {
	return dedupeGeneric(dst, src, 1)
}

func dedupe2(dst, src []byte) int {
	return dedupeGeneric(dst, src, 2)
}

func dedupe4(dst, src []byte) int {
	return dedupeGeneric(dst, src, 4)
}

func dedupe8(dst, src []byte) int {
	return dedupeGeneric(dst, src, 8)
}

func dedupe16(dst, src []byte) int {
	return dedupeGeneric(dst, src, 16)
}

func dedupe32(dst, src []byte) int {
	return dedupeGeneric(dst, src, 32)
}