Math to find the group, then the position in the group, given a global position?

前端 未结 0 1097
余生分开走
余生分开走 2021-02-07 12:07

Say I have a bunch of "slabs" (as in a slab memory allocator), each slab being 4096 bytes. We can have a "cache" which consists of multiple slabs. Each cache

相关标签:
回答
  • 消灭零回复
提交回复
热议问题