In this case, while age is actually a valid integer, conversion still fails because the value is not a short integer.
在这种情况下,虽然年龄实际上是一个有效的整数,但转换仍然会失败,因为该值不是短整型的。
That is, the first output from this process, before any integer is available on its input channel, is the configured integer itself.
也就是说,在这个进程的输出通道上有整数可用之前,第一个输出是预先配置的整数。
If that integer divides the input integer, it adds not only that integer but the input integer divided by the counter-integer, and adds them to a list.
如果该整数可以除输入整数,则不仅要加上该整数而且要加上除以计数整数的输入整数,并将它们添加到一个列表中。
The optimal solution would still be the integer point (2, 0), though more integer points are feasible now.
优化解决方案仍然是整数点(2,0),不过现在可行域中有更多整数点了。
Finally, I discussed feasible region visualization for an integer problem and the way it relates to the objective function for an integer and for the corresponding relaxed problem.
最后,我们讨论了整型问题的可行域的可视化问题,以及整型和相关放松限制问题的目标函数的处理方法。
The first step is to calculate the number of bytes required to hold the integer value (the content part of the integer structure).
第一步是计算容纳这个整数值(INTEGER结构的内容部分)所需要的字节数。
For example, assigning an integer value to a string property will cause the integer to be converted to a string.
例如,若为字符串属性指派一个整型值,整型值将被转换为字符串。
Let's say you want to send an integer through a socket: can you be certain that the receiver will interpret the integer in the same way?
比如说,您想要发送一个整数:您可以肯定,接收者将使用同样的方式来解释该整数吗?
Node 2 sends its integer to node 1, and node 4 sends its integer to node 3.
节点2将自己的整数发送给节点1,节点4将自己的整数发送给节点3。
For people who cannot easily convert from integer to binary in their heads, the following UDF, which converts integer to binary, may be helpful.
对于无法在头脑中轻易将整型数字转换成二进制数字的人们来说,下列将整型转换成二进制的UDF也许对他们很有帮助。
You can also choose which format the memory will be displayed in: Hex, ASCII, EBCDIC, signed integer, and unsigned integer.
您还可以选择内存以什么格式显示:十六进制、ASCII、EBCDIC、整数。
Under this definition, two Integer objects are equal only if they contain the same integer value.
在这个定义中,只有在包含相同的整数值的情况下这两个Integer对象是相等的。
Within the property definition, delegate refers to the value of this instance of the Integer; I'm keeping all my units of measure within my DSL in grams, so it returns the integer value.
在属性定义中,delegate指的是实例Integer的值;我使 DSL 中所有度量单位都是克,这样它会返回整数值。
An integer literal, followed by a plus sign, followed by another integer literal.
一个整数文字,后面跟一个加号,再跟另一个整数文字。
The begin and end attributes should be either static integer values or expressions evaluating to integer values.
begin和end属性要么是静态整数值,要么是可以得出整数值的表达式。
An integer (or an expression that evaluates to an integer) that represents the index of the desired object in the series.
表示想要的对象在序列中的索引的整数(或计算出整数的表达式)。
So at the very top, I've coded up the same thing as before: "Give me an integer between one and ten," or rather, -- "give me an integer between one and ten" -- a little different this time.
所以在顶部,我像之前那样对同样的东西进行编码:,“给我一个1到10的整数“,或者,“给我一个1到10的整数“,这次有点不同。
You use both the int and long types to hold integer values, the difference being that an int is a 32-bit integer value.
您可以使用int和long两种类型来保存整数值,它们的不同点在于int是一种32位的整数值。
This rule fires when an integer is encountered in the input stream, and the value of that integer (as text) is assigned to the instance variable, t.image.
当在输入流中遇到整数时会 触发该规则,该整数(象文本一样)的值被赋给实例变量 t.image 。
The AddOne method is not a very practical example because you would normally just receive a regular integer as a parameter and write the method as a function that returns a modified integer.
方法addone并不是一个很实际的示例,因为通常只需接收常规整数作为参数,并且作为能返回修改的整数的函数编写此方法。
The PrefixInt process then sends the integer as-is input to the PlusInt process to be added to the second integer in the stream, and so on.
然后 PrefixInt 进程把整数作为输入发送给PlusInt进程,并添加到流中的第二个整数,如此类推。
The first line contains two integers: a positive integer n (0
第一行包含两个数:一个正整数n(0
stdlib.h is needed for the atoi() function (ASCII to integer), which converts a string to an integer.
h是atoi()函数(将ASCII 码转换为整数)所需要的,该函数将字符串转换为整数。
This method takes an integer (value) as a parameter and returns the ASN.1 integer representation of the integer value.
这个方法取一个整数(value)作为参数并返回以asn . 1INTEGER表达的这个整数值。
The script "num" we defined earlier has the type script because it is a function that when executed yields an integer value (in this case the integer 42).
我们早先定义的脚本“num”具有Script类型,这是由于它本身就是一个在执行时会生成一个整数值的函数(在这个例子中,这个整数值是42)。
PrefixInt prefixes a (user-configured) integer to its integer input stream.
PrefixInt 在它的整数输入流之前加上一个(用户配置的)整数。
To verify that the function indeed works as designed, we, again, need to convert each integer to BINARY, perform EXLUSIVE or for each bit, and then convert the result back to integer.
为了验证该函数确实按照所设计的方式工作,我们需要再次将每个整型数字转换成二进制数字,对每一个位执行EXLUSIVE OR运算,然后将结果还原成integer。
This would require ensuring that we only use a single instance of the integer object corresponding to a particular integer value throughout our program.
这要求确保在我们的整个程序中,只能使用对应于特定整数值的Integer对象的一个实例。
The key isn't restricted to being an integer; it can be any nonmutable data type, including an integer, float, tuple, or string.
键并不限制为整数;它可以是任何不易变的数据类型,包括integer、float、tuple或string。
The key isn't restricted to being an integer; it can be any nonmutable data type, including an integer, float, tuple, or string.
键并不限制为整数;它可以是任何不易变的数据类型,包括integer、float、tuple或string。
应用推荐