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