You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gopsutil/mem
Max Altgelt 7411b4e266
fix: use err from Syscall instead of calling GetLastError
Call() already returns the last error, see
https://pkg.go.dev/syscall?GOOS=windows#Proc.Call.

However, some code called GetLastError() afterwards, which is racy;
if the go routine switches threads between Call() and GetLastError(),
it may return a different error than expected, or possibly nil.
1 week ago
..
testdata Add support for reading AnonHugePages from /proc/meminfo 2 years ago
ex_linux.go [mem][linux]: add ExLinux on mem package and move VirtualMemoryEx info on it 12 months ago
ex_windows.go fix: use err from Syscall instead of calling GetLastError 1 week ago
mem.go add SPDX License, remove old build tag, and replace import 12 months ago
mem_aix.go fix: golangci lint with max -> maxConn 9 months ago
mem_aix_cgo.go add SPDX License, remove old build tag, and replace import 12 months ago
mem_aix_nocgo.go add SPDX License, remove old build tag, and replace import 12 months ago
mem_bsd.go add SPDX License, remove old build tag, and replace import 12 months ago
mem_bsd_test.go chore(golangci-lint): GOOS and GOARCH matrix 3 months ago
mem_darwin.go chore: enable unused-parameter from revive 2 months ago
mem_darwin_test.go chore: use testify instead of testing 2 months ago
mem_fallback.go chore: enable unused-parameter from revive 2 months ago
mem_freebsd.go Merge pull request #1783 from mmorel-35/revive/unused-parameter 2 months ago
mem_linux.go chore: enable gocritic linter 2 months ago
mem_linux_test.go chore: enable begin rule from thelper 2 months ago
mem_netbsd.go chore: enable unused-parameter from revive 2 months ago
mem_openbsd.go chore: enable unused-parameter from revive 2 months ago
mem_openbsd_386.go add SPDX License, remove old build tag, and replace import 12 months ago
mem_openbsd_amd64.go add SPDX License, remove old build tag, and replace import 12 months ago
mem_openbsd_arm.go add SPDX License, remove old build tag, and replace import 12 months ago
mem_openbsd_arm64.go add SPDX License, remove old build tag, and replace import 12 months ago
mem_openbsd_riscv64.go add SPDX License, remove old build tag, and replace import 12 months ago
mem_plan9.go chore: enable unused-parameter from revive 2 months ago
mem_plan9_test.go chore: enable begin rule from thelper 2 months ago
mem_solaris.go fix: address `//nolint:contextcheck` 2 months ago
mem_solaris_test.go chore(golangci-lint): GOOS and GOARCH matrix 3 months ago
mem_test.go chore: enable begin rule from thelper 2 months ago
mem_windows.go fix: use err from Syscall instead of calling GetLastError 1 week ago
types_openbsd.go add SPDX License, remove old build tag, and replace import 12 months ago