hex.xor_hex_to_ptr (arity 2)ΒΆ

Effectively:  hex.xor *ptr, hex
ptr is a hex[:w/4] that holds an address, which we assume is an hex-variable, which is dw-aligned.

SignatureΒΆ

def xor_hex_to_ptr ptr, hex { ... }

Defined in hex/pointers/xor_to_pointer.fj β€” lines 36–39 (view on GitHub).

ComplexityΒΆ

  • Time: w(0.5@+2)  + 5@+12

  • Space: w(0.5@+14) + 5@+76

See the complexity glossary for what @, w, dw, dbit, n mean.

SourceΒΆ

Depends onΒΆ

Used byΒΆ

Example usesΒΆ


← Previous: hex.ptr_flip_dbit Next: hex.xor_byte_to_ptr/2 β†’