Skip to main content

Mojo function

compute_offset

compute_offset[padding: Int, //](offset: Int) -> Int

Computes the offset with the padding if needed.

Returns:

Int

Was this page helpful?