网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Flag field
释义

Flag field

中文百科

旗标

旗标英语:flag)在编程是指保存有分配意义的2进位值或编码之暂存器。通常见于已定义的数据结构之中,像是数据库字段,包含在旗标内的字段值的含意,往往被定义在与数据结构有关的部分。许多情况下,一个旗标的二进位值将被解读为代表一或多个阶段或状态。在其他情况,二进位值可能代表比特栏(bit field)的一或多个属性,该比特栏通常与属性或权限有相关,如「可被写入至」或「可被删除」。许多其他含意也可以被分配至旗标值。

英语百科

Flag field 旗标

In computer programming, a flag field is an integer interpreted as a sequence of boolean bits, each called a "flag". A single flag has two possible states: 0, representing "false" or "off", and 1, representing "true" or "on".

Flags are typically found as members of a defined data structure, such as a database record, and the meaning of the value contained in a flag will generally be defined in relation to the data structure it is part of. In many cases, the binary value of a flag will be understood to represent one of several possible states or statuses. In other cases, the binary values may represent one or more attributes in a bit field, often related to abilities or permissions, such as "can be written to" or "can be deleted". However, there are many other possible meanings that can be assigned to flag values. One common use of flags is to mark or designate data structures for future processing.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/17 18:41:57