I can just whip out a variable, and this time it's gonna be dynamically stored there.
我可以拿出一个变量,并且这次它会被动态地存储在那里。
The added code just saves the start time to a local variable, then computes the elapsed time at the end of the method and prints it to the console.
添加的代码只是将开始时间保存为局部变量,然后在方法结束时计算持续时间并打印到控制台。
For example, a compiler may choose to optimize a loop index variable by storing it in a register, or the cache may delay flushing a new value of a variable to main memory until a more opportune time.
例如,编译器为了优化一个循环索引变量,可能会选择把它存储到一个寄存器中,或者缓存会延迟到一个更适合的时间,才把一个新的变量值存入主存。
Change it to a constructor argument at the same time, and make the caller have a member variable for that same dependency.
同时给构造函数加上相应的参数,给构造函数的调用者加上一个成员变量来体现依赖关系。
The very large memory model, like the large memory model, can be enabled for an executable at compile time with a linker option or at run time using the LDR_CNTRL environment variable.
与大内存模型类似,可以通过一个链接器选项或在运行时使用LDR_CNTRL环境变量来为编译时的可执行程序启用超大内存模型。
If you want to measure how long it takes to execute your scripts, you can store the start time into a variable as shown below.
若想估量执行脚本所需时间,可以将开始时间存储到一个变量内,如下所示。
I can just whip out a variable, this time it's gonna be dynamically stored there.
我们可以临时分配一个变量,将这个值暂时存放在这个变量中。
The default expression calculates a value to assign to the global variable the first time it is referenced.
在第一次引用时,默认表达式将为全局变量计算一个值。
OK, so, yeah that's a strong suggestion that if you've forgotten everything about single variable calculus, now would be a good time to actually brush up on integrals.
我强烈建议,如果你忘记了单变量积分的知识,现在就是一个很好的复习机会。
You will get an E_NOTICE any time an uninitialized variable is used in a way that assumes it has a value.
每当使用未初始化的变量(假定具有值)时,您将得到一条 E_NOTICE。
To create a variable that indicates the time when the user first connects, use the following statements.
要创建表示用户第一次连接时间的变量,使用以下语句。
Suppose a signal is generated during the very small time gap between setting the errno variable by the close system call and its return.
假定信号在close系统调用设置errno变量到其返回之前这一极小的时间片段内生成。
In the Linux kernel, time is measured by a global variable named jiffies, which identifies the number of ticks that have occurred since the system was booted.
在Linux内核中,时间由一个名为jiffies的全局变量衡量,该变量标识系统启动以来经过的滴答数。
The input message to the compensation service is a snapshot of given variable data at the point in time that the corresponding forward service completed successfully.
补偿服务的输入消息是特定变量数据在相应的forward服务成功完成时刻的快照。
To get @@error and @@rowcount at the same time, include both in same statement and store them in a local variable. SELECT @RC = @@ROWCOUNT, @ER = @@ERROR
为了在同一时间获得@@Error和@@Rowcount,我们应将二者包括在同一语句中并将它们存储在局部变量中。
Now that you have a clean way to retrieve the list of courses and maintain that data in a context variable managed by Seam, it is time to branch off from the course listing.
既然已经清楚检索课程列表以及在seam托管的上下文变量中维护该值的方法,下面研究课程列表以外的内容。
Here the self identifier declares a thread local variable time.
这里的self标识符声明一个线程局部变量time。
You have a pre-defined variable named total_time for the wall-clock time of the whole data collection.
有一个预定义的变量 total_time,它代表整个数据收集过程的时钟时间。
Scheme is a dynamically typed language; therefore, the type of a variable is not generally known until run time.
Scheme是一种动态类型语言;因此,变量的类型通常只有到了运行时才知道。
For example, a manager could change the variable of the time frame in which to search for enough fraud warnings if too many false positives are being registered.
例如,如果登记了太多的负面事件,经理可以去更改时帧(time frame)变量,以便搜索出足够的欺诈(fraud)警告。
For the first time, you see that a for clause can define more than one variable.
您第一次看到for子句可以定义多个变量。
A random variable, such as time in the example above, is associated with properties that are different from those associated with a single value.
随机变量,如上例中的时间,与一些特性相关,这些特性不同于那些与单个值相关的特性。
So the task duration is not a single real number, rather it is a random variable that describes the likelihood of completion within a certain range of time.
所以任务持续时间不是一个单一的实数,而是描述一定时间范围内完成的可能性的随机变量。
Modification of this variable is key to determining what amount of variability is acceptable during a click-time signature match.
修改此变量对于确定在匹配单击时间签名时可以接受的可变性非常关键。
You can avoid this embarrassing fate a couple of ways: suppress the troublesome new line, or set the appropriate string as a variable ahead of time.
可以用两种方法避免这种尴尬的现象:禁止这种令人讨厌的新行,或者提前设置适当的字符串作为变量。
However, sporadically, in time or space, some species may grow rapidly to damaging numbers, developing outbreaks which may persist for a variable length of time before subsiding.
但是,在某些时间或空间,一些物种会迅速生长到足以造成危害的数量,导致病虫害爆发,持续时间不定。
This will result in PHP reporting a warning every time an uninitialized variable is used, each bad file access, and other (mostly) harmless errors, but might also represent a potential attack vector.
设置更改后,每当使用未初始化的变量、进行错误的文件访问及发生其他(大多数)无害错误时,PHP都会报告一条警告消息,但也存在这是一个潜在攻击矢量的可能性。
Next time you need to generate the declaration of a local variable, you can go back to this source and use it as reference.
下一次需要生成本地变量的声明时,您可以回到此源,并以此为参考。
Every time you write to a tied scalar variable, you invoke its STORE method.
每次写绑定标量变量时,都会调用它的STORE方法。
Every time you write to a tied scalar variable, you invoke its STORE method.
每次写绑定标量变量时,都会调用它的STORE方法。
应用推荐