FIND YOUR NEXT FEW LINES
Results for “Hashtables & object records”
Small, practical examples. Search by task or narrow things down below.
151 snippets foundClear filters
Set and inspect a memory limit
Apply a per-container limit when creating a container.
memory✓ Tested
Split a line into named fields
Read a simple delimiter-separated line into variables.
read✓ Tested
Start an existing container and attach to its output
Docker / Compose: create records the command; start with attach runs that existing container.
Docker / Compose✓ Tested
Sum typed values with reduce
Accumulate numeric array elements.
reduce✓ Tested
Trim surrounding whitespace from an Arduino String
Arduino / C: String.trim modifies the object in place.
Arduino / C✓ Tested
Type a dictionary with Record
Limit a lookup table to a known set of keys.
Record✓ Tested
Validate an unknown value with a type guard
Check a field before treating unknown data as a typed object.
unknown✓ Tested