Supply crates carry four “bars’” worth of supply, with each bar representing 25% of your total ammo or health. When you touch a crate, all of your missing resources are restored, provided there’s enough in the crate. If there are supplies left, you can return later to resupply again.
Crates do not automatically refill over time in Single-Player as they do in Multiplayer modes.