是无符号的长一样有效,在C无符号长吗?
这是一个无符号的应用程序,所以你需要签字。
This is an unsigned application, so you will need to sign it.
这两个除法都会避免调用除法函数,另外,无符号的除法要比有符号的除法使用更少的指令。
Both divisions will avoid calling the division function and the unsigned division will take fewer instructions than the signed division.
产生的完美hash()函数返回一个无符号的int值,范围为 0..(k-1),其中k 值为最大关键字散列值加 1。
The resulting perfect hash() function returns an unsigned int value in the range 0..(k-1), where k is the maximum keyword hash value +1.
如果看到关于强制转换到无符号格式的错误消息,不必惊慌,因为这实际上并不是错误行为。
If you see error messages regarding forcing the format to unsigned, don't panic as this is not actually an error condition.
年和月组件的值可以是一个无符号整数。
The value of the year and month components allow an unsigned integer.
所有这些整数类型都有相应的无符号数类型。
All these integer types also have corresponding unsigned types.
现在我们让问题变得复杂点:你有一个二维的无符号整形数组,你想要找到具有最小和的那一行。
Now let's complicate the problem a bit: you have a two-dimensional array of unsigned integers, and you want to find the row with the smallest sum.
CCSID是一个16位的无符号整数,惟一地标识一个特定的代码页。
A CCSID is a 16-bit unsigned integer that uniquely identifies a particular code page.
将字符指针和字符字节声明为无符号类型的,这样可以防止8位字符的符号扩展问题。
Declare character Pointers and character bytes as unsigned to avoid sign extension problems with 8-bit characters.
它加载的是18位的无符号值,这是PS 3上的本地存储地址的首选大小。
It loads 18-bit unsigned values, which is the perfect size for local store addresses on the PS3.
正如我们在无符号整型的例子中所看到的,你必须保持一定的警惕性以保证你的应用程序能够正常工作。
As we saw in the case of unsigned integers, there is a level of vigilance you must uphold to ensure your applications work as expected.
在多数情况下这不会发生问题,但是当一个IDL无符号整数取值正好落在最高位所限制的取值范围中时,类型转换就会发生不匹配的错误。
In most situations this does not pose a problem but for the translation of an IDL unsigned integer type whose value falls inside the number range of its highest order bit there will be a mismatch.
如果是无符号数,它要比有符号的快得多。
And if it is unsigned, then it will be more faster than the signed division.
如果一个操作数是无符号整数,另外一个操作数是有符号整数,那么表达式的结果就是无符号整数。
If one of the operands is unsigned and the other is a signed int, the expression becomes an unsigned.
确保使用无符号整数来防止符号扩展的问题。
Ensure that an unsigned int is used where appropriate to prevent sign extension.
如果我们能够确定其中的一个操作数为unsigned,那么使用无符号除法将会更好,因为它要比有符号除法快得多。
It will be better to use unsigned division by ensuring that one of the operands is unsigned, as this is faster than signed division.
这是一个无符号整型,是执行size of操作的结果。
如果一个没有后缀的16进制的常量是32位的,并且其高位被置位了,那么它就可以作为无符号整型进行定义。
Hexadecimal constants without a suffix are defined as an unsigned int if it will fit into 32-bits and if the high order bit is turned on.
每个分数需要转换成合适的无符号字节码(unsignedbyte - code)。
Each score should be translated to its appropriate unsigned byte-code.
如果在表达式中混合使用无符号和有符号的32位整数,并将其赋值给一个有符号的long类型,那么将其中一个操作数转换成64位的类型。
In cases where unsigned and signed 32-bit integers are mixed in an expression and assigned to a signed long, cast one of the operands to its 64-bit type.
类似地,秒组件的值也支持任意的无符号xs:decimal。
Similarly, the values of the seconds component allows an arbitrary unsigned xs: decimal.
天数、小时和分钟组件的值不受限制,支持任意的无符号xs:integer。
The values of the days, hours, and minutes components are not restricted, but allow an arbitrary unsigned xs: integer.
在将有符号整型和无符号整型的和作为long 类型传递时就会出现问题。
The problem arises when passing the sum of signed and unsigned ints as long.
这样,单个的无符号字节将决定一个预测值,而预测 6,005,940 个测试集中的打分需要 6,005,940 个字节。
Thus, a single unsigned byte would be dedicated for a predicted value, and predicting the 6,005,940 ratings of the test set would require 6,005,940 bytes.
一些处理器在处理无符号整型数要比处理符号整型数快得多,这也是一个好的习惯,有利于代码的自我文档化(self- documenting)。
Some processors can handle unsigned integer arithmetic considerably faster than signed (this is also good practice, and helps make for self-documenting code).
科学家早就发现,鸟类的歌唱并不是杂乱无章的,而是一连串有规则的语言符号。
Scientists already know that birds don’t sing haphazardly, but in a way that is governed by a set of linguistic rules that form strings of sounds.
科学家早就发现,鸟类的歌唱并不是杂乱无章的,而是一连串有规则的语言符号。
Scientists already know that birds don't sing haphazardly, but in a way that is governed by a set of linguistic rules that form strings of sounds.
是C99标准保证无符号整数的二进制表示形式?
Does the C99 standard guaranteed the binary representation of unsigned int?
是C99标准保证无符号整数的二进制表示形式?
Does the C99 standard guaranteed the binary representation of unsigned int?
应用推荐