Replace core:* to base:* where appropriate

This commit is contained in:
gingerBill
2024-01-28 22:18:51 +00:00
parent 6a07effdd2
commit 3e7e779abf
180 changed files with 225 additions and 225 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
package hash
import "core:intrinsics"
import "base:intrinsics"
@(optimization_mode="speed")
crc32 :: proc(data: []byte, seed := u32(0)) -> u32 #no_bounds_check {
+1 -1
View File
@@ -1,7 +1,7 @@
package hash
import "core:mem"
import "core:intrinsics"
import "base:intrinsics"
@(optimization_mode="speed")
adler32 :: proc(data: []byte, seed := u32(1)) -> u32 #no_bounds_check {
+2 -2
View File
@@ -9,8 +9,8 @@
*/
package xxhash
import "core:intrinsics"
import "core:runtime"
import "base:intrinsics"
import "base:runtime"
mem_copy :: runtime.mem_copy
byte_swap :: intrinsics.byte_swap
+1 -1
View File
@@ -10,7 +10,7 @@
package xxhash
import "core:mem"
import "core:intrinsics"
import "base:intrinsics"
/*
=== XXH3 128-bit streaming ===
+1 -1
View File
@@ -9,7 +9,7 @@
*/
package xxhash
import "core:intrinsics"
import "base:intrinsics"
/*
*************************************************************************
+1 -1
View File
@@ -9,7 +9,7 @@
*/
package xxhash
import "core:intrinsics"
import "base:intrinsics"
/*
32-bit hash functions
+1 -1
View File
@@ -9,7 +9,7 @@
*/
package xxhash
import "core:intrinsics"
import "base:intrinsics"
/*
64-bit hash functions