hex/pointers/pointer_arithmetics.fjΒΆ

β€”β€”β€”- Ptr ++/–/+=/-=

View source on GitHub

MacrosΒΆ

hexΒΆ

  • hex.ptr_inc β€” ptr[:w/4] += 2w

  • hex.ptr_dec β€” ptr[:w/4] -= 2w

  • hex.ptr_add β€” @note: The complexity is calculated with n_const=2, and for log(w) in 16,32,64,128.

  • hex.ptr_sub β€” @note: The complexity is calculated with n_const=2, and for log(w) in 16,32,64,128.