int64 指“64 位有符号整数”这一数据类型,通常用于编程语言和数据库中表示范围较大的整数(一般范围为 −2^63 到 2^63−1)。在不同语言/平台里也可能写作 int64_t、Int64 等。
/ˌɪnt sɪksti ˈfɔːr/
I stored the ID as an int64.
我把这个 ID 以 int64 类型存储。
Because the counter can exceed 2^31−1, we use int64 to avoid overflow in long-running tasks.
因为计数器可能超过 2^31−1,我们用 int64 来避免长时间运行任务中的溢出问题。
int 是 integer(整数) 的常见缩写,64 表示该整数使用 64 位(bits) 来存储;因此 int64 直观地表示“64 位整数”。这一命名方式源于计算机系统中以“位宽”区分整数类型大小的传统。