Commit Graph

20 Commits (4f2f472f0d414270a98556751d8e7bec0731815f)

Author SHA1 Message Date
Matthieu MOREL 9ce2ec161e chore: enable golangci-lint on Windows and MacOS
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 month ago
uubulb 3773f6fe43 fix(mem): possible memory leak on Windows 5 months ago
shirou 1221983189 [windows][mem]: change to use Performance Counter on SwapMemory. 8 months ago
shirou bc060cc227 add SPDX License, remove old build tag, and replace import 10 months ago
mmorel-35 1e6b445a8a gofumpt 3 years ago
shirou 0969c9436b delete v2 directory, move v3 to top #1078 3 years ago
Tom Barker 84a665b712 Add mem.SwapDevices() method. 4 years ago
Simon Thoby 3b64944534 Set the 'free' memory value to the 'available' memory on windows 5 years ago
GameXG 144c67833a
fix #863 Swap.UsedPercent is inconsistent 5 years ago
Steven Lee 3adcafe5fd mem[windows]: if no swap, just return 0 used percent default 7 years ago
shirou 0f1576d63c mem[windows]: if no swap, total and/or used is 0. 7 years ago
Chevy 699deed6c6
Fix float64 casting 7 years ago
shirou 4c73494c78 Add WithContext functions. 7 years ago
Derek Brown 7c807c86e4 Add implementation of SwapMemory() for windows 8 years ago
Sean Chittenden 635b971c0e
Move from the `syscall` package to the `golang.org/x/sys/{unix,windows}` 8 years ago
Shirou WAKAYAMA 613a8a90e1 fixed by golint. 9 years ago
Shirou WAKAYAMA 7288e9a5af common[all]: add internal 10 years ago
Shirou WAKAYAMA 13cd195a7e change package name. 10 years ago
WAKAYAMA Shirou 9f2c985a28 fix windows build. 10 years ago
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24 10 years ago