FIND YOUR NEXT FEW LINES

Results for “fixed”

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

103 snippets foundClear filters
CArrays

Count matching values

Count even numbers in a fixed C array.

C✓ Tested
JavaPrecise numeric calculations

Display an integer as unsigned

Java: Use unsigned conversion methods when interpreting a fixed-width bit pattern.

Java✓ Tested
PythonGetting Started

Explain a calculation with a comment

Python: Keep the code executable while documenting why a fixed input is used.

Python✓ Tested
C#Getting Started

Explain a calculation with a comment

C#: Keep the code executable while documenting why a fixed input is used.

C#✓ Tested
JavaGetting Started

Explain a calculation with a comment

Java: Keep the code executable while documenting why a fixed input is used.

Java✓ Tested
JavaScriptGetting Started

Explain a calculation with a comment

JavaScript: Keep the code executable while documenting why a fixed input is used.

JavaScript✓ Tested
TypeScriptGetting Started

Explain a calculation with a comment

TypeScript: Keep the code executable while documenting why a fixed input is used.

TypeScript✓ Tested
C++Getting Started

Explain a calculation with a comment

C++: Keep the code executable while documenting why a fixed input is used.

C++✓ Tested
CGetting Started

Explain a calculation with a comment

C: Keep the code executable while documenting why a fixed input is used.

C✓ Tested
Arduino / CArrays & embedded state

Find a value in a small lookup table

Arduino / C: A linear scan is simple and predictable for a small fixed array.

Arduino / C✓ Tested
GitCommits & history

Find commits by message

Search commit subjects and bodies for a phrase.

log✓ Tested
JavaNumbers & dates

Format a decimal number

Format a Java decimal with two digits and a fixed locale.

Java✓ Tested