|
@@ -138,16 +138,6 @@ default_hasher_cstring :: proc "contextless" (data: rawptr, seed: uintptr) -> ui
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
-source_code_location_hash :: proc(s: Source_Code_Location) -> uintptr {
|
|
|
- hash := _fnv64a(transmute([]byte)s.file_path);
|
|
|
- hash = hash ~ (u64(s.line) * 0x100000001b3);
|
|
|
- hash = hash ~ (u64(s.column) * 0x100000001b3);
|
|
|
- return uintptr(hash);
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
__get_map_header :: proc "contextless" (m: ^$T/map[$K]$V) -> Map_Header {
|
|
|
header := Map_Header{m = (^Raw_Map)(m)};
|
|
|
Entry :: struct {
|