refactor: naming cleanup and crypto package improvements (#551)

* refactor: naming cleanup across all packages
This commit is contained in:
Roger authored and GitHub committed 2026-04-05 16:51:56 +08:00
1 parent 4af2ded428
commit 410bffe643
49 files changed
+716 -510

No files matched your search

+2 -2
View File
@@ -20,7 +20,7 @@ const (
statusInfoLengthMismatch = 0xC0000004
fileMAPRead = 0x0004
fileMapRead = 0x0004
pageReadonly = 0x02
fileTypeDisk = 0x0001
)
@@ -288,7 +288,7 @@ func readViaFileMapping(handle windows.Handle, size int) ([]byte, error) {
defer windows.CloseHandle(windows.Handle(mapping))
viewPtr, _, err := procMapViewOfFile.Call(
mapping, fileMAPRead,
mapping, fileMapRead,
0, 0, 0,
)
if viewPtr == 0 {