Next, I need to author the nonce field, which wraps a random number as an integer.
下面,需要生成nonce字段,它包装了一个随机数作为一个整数。
Begin by creating a simple gadget that generates a random number between 0 and 100.
我们先创建一个简单的、能随机生成数字0到100的gadget。
The third parameter would allow us to override JSSE's random number generator (RNG).
第三个参数允许我们覆盖JSSE的随机数生成器(RNG)。
So, let's say we go ahead and add a mutex that surrounds the random number generator.
所以,让我们更进一步,在产生随机数的地方加一个互斥量。
In this case, you're using some math functions to create a random number from 0 to 100.
在本例中,我们用一些数学函数创建0到100之间的一个随机数。
Try thinking of two utterly random nouns and mixing in a random number, and change them often.
试着想想两个完全无关的名词结合一串无序的阿拉伯数字,而且经常要更改它们。
The first bean will make a choice, based on a random number, to either call the second bean or not.
第一个bean将基于一个随机数做出是否调用第二个bean的选择。
It then picks a random number in 0, 1, that is, in the interval from zero inclusive to one exclusive.
然后它会在0,1中取一个随机数,也就是0到1之间包括0但不包括1。
UDRs, like random number generators and current date/time functions, are variant and therefore cannot be used.
和随机数生成程序、当前日期/时间函数一样,UDR通常是变化的,因此不能用于函数索引。
I get a random number between 0 and 89999 inclusively and add 10000 to it to get a number in the desired range.
我获得0和89999之间的一个随机数,并且加上10000,以获得所需范围内的数字。
Essentially, there's no difference between rolling a six-sided die and picking a random number between 1 and 6.
实际上,滚动一个六面骰子就是从1到6之间选择一个随机数字。
The module now has a button that retrieves the random number from the server and compares it to your click count.
模块现在有一个按钮,它用于从服务器中检索随机数并将其与单击次数相比较。
I find the constructor for the object using reflection and instantiate it providing a random number between 1 and 10.
我使用反射(reflection)查找这个对象的构造程序,并提供1到10之间的一个随机数字对其实例化。
CwMtx has no built-in random number generator, and there is no class function that fills a matrix with random elements.
CwMtx没有内置的随机数生成器,也没有用随机元素填充矩阵的类函数。
Here are the specs for our sample application passed down from the "boss" : Create a random number generator RESTful API.
下面是“老板”交代的关于我们的样例应用程序的具体要求:创建一个随机数字生成器RESTful API。
There may be some situations in which you need a random number that represents a probability (as in, 30 percent or 55 percent).
您很可能遇到过这样的情况:需要一个随机的数来代表一个概率(比如,30% 或 55%)。
Uuid is a unique random number that gets generated with uuidgen utility which USES network address information and system time.
uuid是一个惟一的随机数,是由uuidgen实用程序使用网络地址信息和系统时间生成的。
Before the Rnd function can be called, a call to the Randomize procedure must be made to initialize the random number generator.
调用Rnd前,必须先调用Randomize过程以初始化随机数字生成器。
The first line of the output contains the random number of seconds selected for the sleep time, followed by the name of the script.
输出的第一行包含随机选择的睡眠秒数,然后是脚本的名称。
The application will then return a random number that's between 0 and this parameter, and return that generated number to the caller.
然后,应用程序返回一个介于 0和该参数之间的随机数字,并将生成的数字返回给调用者。
A random number will be generated to determine if a row will be selected or not (similar to flipping a coin with a probability of P/100).
将生成一个随机数来确定是否选择一行(类似于以 P/100的概率扔钱币)。
The Boost random interface is divided into two parts: a random-number generator and a distribution within which the random number must lie.
Boost随机接口划分为两个部分:随机数生成器和随机数必须位于其中的分布。
A good example is to make it extremely difficult to guess process identifiers by randomly allocating Numbers from a reasonable large random number pool.
一个好的例子是,通过从一个适当大的随机数池中随机分配数字,使得猜测进程标识符极为困难。
An option that controls whether the database ID generated for each audit should be a pseudo-random number (a value of true) or sequential (a value of false).
一个选项,用来控制为每个审计生成的数据库id应该是一个伪随机数(值为true)还是一个序列(值为false)。
This (I hope) will be unique within the scope of the trace, and the combination of thread ID and random number should afford you uniqueness across multiple JVMs.
它(我希望如此)在跟踪的范围内将是唯一的,而线程ID和随机数的组合应该能够满足跨越多个JVM的唯一性。
RAND_LOOKUP, a random lookup function that selects a value for the destination column from a lookup table based on a random number as the subscript in the lookup table.
RAND _ LOOKUP,随机查找函数,该函数根据作为查找表中下标的随机数从查找表中选择目标列的值。
You may, however, decide that this is unnecessary and only adds more clutter to the trace output, given that you have to pass the random number as a parameter to the called programs.
然而,您可能认为这样是不必要的,并且只会给跟踪输出添加更多混乱,因为您必须将该随机数作为一个参数传递给被调用的程序。
Pick passwords that no one will guess (don't use your favorite band or your dog's birthday; try thinking of two utterly random nouns and mixing in a random number), and change them often.
设置一个别人不会猜到的密码(不要用你喜欢的牌子,或你狗狗的生日;试着想想两个完全无关的名词结合一串无序的阿拉伯数字),而且经常要更改它们。
Virtualization might have flawed mechanisms for tapping that entropy source, or hav-ing several VMEs on the same host might exhaust the available entropy, leading to weak random number generation.
虚拟化可能在利用这样的信息源上存在缺陷,或者说在同一台主机上容纳多个虚拟机运行环境可能会穷尽可用的信息源,导致薄弱的随机数生成机制。
Virtualization might have flawed mechanisms for tapping that entropy source, or hav-ing several VMEs on the same host might exhaust the available entropy, leading to weak random number generation.
虚拟化可能在利用这样的信息源上存在缺陷,或者说在同一台主机上容纳多个虚拟机运行环境可能会穷尽可用的信息源,导致薄弱的随机数生成机制。
应用推荐