在书中Linux Kernel Development by Robert Love ,我找到了以下行(Pg:100 - 101)。
The Linux kernel provides a simple and efficient map data structure, but it is not a general-purpose map. Instead, it is designed for one specific use case: mapping a unique identification number (UID) to a pointer.
在这种情况下,“指针的唯一标识号 (UID)”是什么意思?
最佳答案
What does "Unique identification number (UID) to a pointer" mean in this context?
没有。您错误地解析了句子。
The map data structure maps $X to $Y.
$X 是“唯一标识号 (UID)”。
$Y 是“指针”。
换句话说,“ map 数据结构”是一个字典,其中的键是 UID,值是指针。
关于linux - 什么是指针的唯一标识 (UID) 编号?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47748132/