REPEAT_BYTE_U32(9)
β¨ REPEAT_BYTE_U32(9) β¨
okay so bestie, welcome to the Kernel API Manual, section 9 β this is the REPEAT_BYTE_U32 page and it's literally so tiny you could read it in a group chat between classes π
πΈ NAME πΈ
REPEAT_BYTE_U32 β repeat the value @x multiple times as a u32 value π
Like, it takes one little byte-ish value and smears it across a whole 32-bit word. Copy-paste energy but for bits, iykyk β¨
π¦ SYNOPSIS π¦
REPEAT_BYTE_U32 (x );
That's the whole vibe. One argument. No drama. No cap π«Ά
π ARGUMENTS π
xβ the value to repeat π like, this is the thing getting duplicated, okay?
β οΈ NOTE β οΈ
bestie. listen. πxis not checked for> 0xffβ so any value larger than0xffwill produce odd results. Not "quirky results", not "fun surprises" β odd results. So maybe don't do that unless you enjoy chaos π
π SEE ALSO π
- Kernel file β
./tools/testing/selftests/powerpc/primitives/linux/wordpart.hποΈ upper_32_bits(9)lower_32_bits(9)upper_16_bits(9)lower_16_bits(9)REPEAT_BYTE(9)
go read those too, they're giving the same friend-group energy fr fr π§
so yeah, that's the whole page π this gem lives in ./tools/testing/selftests/powe... (yes the path is literally truncated like that in the footer, we don't gatekeep), dated October 2026, and it's from the Kernel API Manual, section 9 β mwah, slay, periodt π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms