Check sample size in addition to container size

Also add comments and fix line length

Change-Id: Iaac8ade2b53c3cc6951dc94413bbe996e1d5e925
4 files changed
tree: b46055d7ff8cd7f6857165dbd6c1e526f30504db
  1. doc/
  2. include/
  3. src/
  4. tests/
  5. tools/