sizeof

sizeof

 英

  • 网络类型名;字节数;运算符

例句

Although you can use the SizeOf method, the value returned by this method is not always the same as the value returned by sizeof.

虽然可以使用SizeOf方法方法返回sizeof返回并不总是相同

This request asks for sizeof(data) bytes of data copied from the address in main memory denoted by argp to be copied into the object data.

这个请求要求sizeofdata字节数据argp指向主存地址拷贝data对象

The debugger supports the typeof and sizeof operator by transforming it into the equivalent. NET Framework function.

调试器支持typeofsizeof运算符方法转换等效.NETFramework函数

An unsigned integer and the result of the sizeof operator.

一个符号执行sizeof操作结果

The API prints out the memory state of sizeof(buf)+1 bytes, starting at memory address buf.

API打印sizeofbuf)+1bytes内存状态内存地址buf开始

The values returned by the sizeof operator are of the type int.

sizeof运算符返回int类型

The role of the sizeof operator returns an object or type name length, length in bytes.

sizeof操作符作用返回一个对象类型长度长度单位字节

The Marshal. SizeOf method determines the size, in bytes, of the unmanaged structure.

Marshal.SizeOf方法确定非托管结构大小字节单位)。

C++0x also defines the sizeof. . . operator, which displays the number of arguments.

C++0x定义sizeof操作符显示参数数量

On the first invocation, sizeof. . . (args) displays 2, because there are only two arguments for the variable args list.

对于第一调用sizeof…(args显示2,因为可变args列表只有两个参数

This warning indicates that a variable holding a sizeof result is being added to or subtracted from a pointer or countof expression.

警告意味正在指针countof表达式添加删除存放sizeof结果变量

The expression cannot use sizeof or a type-cast operator.

表达式不能使用sizeof运算符或者一个强制类型转换

The 64-bit return value from sizeof in the following statement is truncated to 32-bits when assigned to bufferSize.

下面语句bufferSize进行sizeof返回64截断32

For example, this problem occurs if the length of an argument that is a SOCKADDR structure is smaller than the sizeof(SOCKADDR) value.

例如如果SOCKADDR结构参数长度小于sizeofSOCKADDR出现问题

For example, the assumption sizeof (int) = sizeof (long) = sizeof (pointer) is valid for the ILP32 data model, but not valid for others.

例如sizeofint)=sizeof(long)=sizeof(pointer假设对于ILP32数据模型有效但是对于其他数据模型无效

Warning C6334: sizeof operator applied to an expression with an operator may yield unexpected results

警告C6334:sizeof运算符应用带有运算符表达式可能产生意外结果

Allow sizeof to work on members of classes without an explicit object

允许sizeof这个成员没有指定明确对象

Warning C6305: potential mismatch between sizeof and countof quantities

警告C6305:sizeofcountof之间可能不一致

Warning C6384: dividing sizeof a pointer by another value

警告C6384:指针sizeof