Spdk/test/unit/lib/util/string.c
Dariusz Stojaczyk ec6a1afbdb util: add a helper function for parsing capacities (1K, 128M, 2G)
Also used it in parsing `-m` SPDK app param,
meaning that it can now accept numbers
followed by a binary prefix - like 512M or 2G.

Change-Id: If458dc08429237f2cb3f3f661bcaf382468df0f0
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/391670
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-12-13 21:19:53 -05:00
..
.gitignore test: move lib/util unit tests to test/unit 2017-06-20 13:46:07 -04:00
Makefile build: include spdk.app.mk in all app Makefiles 2017-11-15 17:57:07 -05:00
string_ut.c util: add a helper function for parsing capacities (1K, 128M, 2G) 2017-12-13 21:19:53 -05:00