Find slice declarations that could potentially be pre-allocated. Signed-off-by: Kai Xia <kaix+github@fastmail.com>