新增单进程模式

This commit is contained in:
flswld committed 2024-07-18 00:56:30 +08:00
1 parent 669a524153
commit 6136e57919
73 files changed
+1900 -153

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
//go:build !xxhash
// +build !xxhash
package kcp
func byte_check_hash(data []byte) uint32 {
switch byteCheckMode {
case 0:
return 0
case 1:
return 0
case 2:
return 0
default:
return 0
}
}