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

* refactor: naming cleanup across all packages
This commit is contained in:
Roger
2026-04-05 16:51:56 +08:00
committed by GitHub
parent 4af2ded428
commit 410bffe643
49 changed files with 716 additions and 510 deletions
+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 {