Running a different function based on compile-time constant parameters I have this function to fill a buffer with a repeating pattern of N bytes.