FIND YOUR NEXT FEW LINES

Results for “TOP”

Small, practical examples. Search by task or narrow things down below.

60 snippets foundClear filters
TypeScriptSafe data handling

Read a nested optional value

Avoid dereferencing a missing nested object.

optional chaining✓ Tested
SQLWindow analytics

Read the last value of the complete partition

SQL: Specify an unbounded-following frame so LAST_VALUE does not stop at the current row.

SQL✓ Tested
SQL ServerWindow analytics

Read the last value of the complete partition

SQL Server: Specify an unbounded-following frame so LAST_VALUE does not stop at the current row.

SQL Server✓ Tested
PostgresWindow analytics

Read the last value of the complete partition

Postgres: Specify an unbounded-following frame so LAST_VALUE does not stop at the current row.

Postgres✓ Tested
SQLiteWindow analytics

Read the last value of the complete partition

SQLite: Specify an unbounded-following frame so LAST_VALUE does not stop at the current row.

SQLite✓ Tested
Docker / ComposeContainer commands

Run a one-off container

Run a command and remove its stopped container automatically.

run✓ Tested
C++Sequence algorithms

Test any and all elements with predicates

C++: These algorithms stop as soon as their result is known.

C++✓ Tested
Arduino / CGetting Started

Understand setup() and loop()

Arduino / C: See initialization run once and the main loop run repeatedly.

Arduino / C✓ Tested
C++Containers & compound values

Use a last-in first-out stack

C++: Read top before pop because pop does not return the removed value.

C++✓ Tested
CNumeric parsing & arithmetic

Validate a complete floating-point input

C: strtod exposes both the stopping position and range errors; reject nonfinite results when required.

C✓ Tested
Docker / ComposeContainer lifecycle

Wait for a container to exit

Docker / Compose: wait blocks until the container stops and prints its exit code.

Docker / Compose✓ Tested
Docker / ComposeCompose service options

Wait for a healthy Compose dependency

Docker / Compose: The service_healthy dependency condition waits for the dependency’s health command to succeed.

Docker / Compose✓ Tested