The first thing we have to do is initialize the object.
首先,我们必须做的是初始化的对象。
Do you recall that the purpose of a setup method is to initialize the object under test.
您是否还记得一个set方法的主要目的是对测试下的目标进行初始化。
The result is that your final object executes the minimum amount of code to properly initialize the object.
结果就是,最终的对象执行最少数量的代码来恰当的初始化对象。
If a class does not have a constructor, a default constructor is automatically generated and default values are used to initialize the object fields.
如果类别没有任何的建构函式,则会自动产生预设建构函式,而预设值会用于初始化栏位。
To create a new object (in this case, the string that will be returned), first alloc the object and then initialize it.
要创建一个新对象(这里是将返回的字符串),首先分配对象,然后初始化对象。
The code to initialize and destroy the threads will be under #ifdef INTR_SIMULATION, so that under normal compilation this code will not affect the release version of the driver object.
用来对这些线程进行初始化和销毁的代码都在 #ifdef INTR_SIMULATION 之下,这样在普通模式下编译的代码不会影响驱动程序对象的发行版本。
As indicated by the "mandatory initialization" line in Listing 5, you have to initialize the global Google object before using it.
正如清单5中的“mandatoryinitialization”代码行所示,在使用前,必须初始化这个全局的google对象。
In line 5, TestCase.setUp is overridden to initialize or instantiate the object under test.
在第五行中,TestCase . setUp被重载,从而对测试下的对象进行初始化或者实例化。
Jeff found that the amount of time required to initialize a regular object in the kernel exceeded the amount of time required to allocate and deallocate it.
Jeff发现对内核中普通对象进行初始化所需的时间超过了对其进行分配和释放所需的时间。
If the portlet window state is currently in maximized state, initialize the various change URLs (back, configure, edit, and minimize) within the PortletInfo object.
如果当前Portlet窗口状态是最大化状态,请初始化portletinfo对象中的各种更改url(后退、配置、编辑和最小化)。
The designated initializer syntax allows you to initialize members by name, without regard to the order in which they appear in an object.
指定的初始化程序语法允许您通过名字初始化成员,不用理会它们在对象中出现的顺序。
初始化目标对象。
Add methods to the mock object that allow you to initialize it properly for your tests.
在模拟对象里添加方法,使得您的测试正确地初始化。
The syntax for a compound literal allows a brace-enclosed series of values to be used to initialize an automatic object of the appropriate type.
复合文字的语法允许用大括号括起来的一系列值来初始化适当类型的自动对象。
Their job is to initialize all the members of an object.
它们的工作是初始化一个对象的所有成员。
Create and initialize the search object.
创建和初始化搜索对象。
Create and initialize the PortletInfo object associated with the current portlet being rendered on a page.
创建和初始化与当前在页面中呈现的Portlet相关联的PortletInfo对象。
The engine will automatically construct a new instance of the object then call the init method on that object, so that the object has a chance to initialize itself from the context object.
这个引擎将自动地为该对象构造的一个新的实例,然后调用其init方法,以便该对象能够有机会根据上下文对象对自己进行初始化。
If the AddressStore object isn't initialized, then you initialize it.
如果AddressStore对象还没有初始化,那么要初始化该对象。
Before the String constructor runs, the constructor for Object will initialize all fields, including the final length and offset fields, with their default values.
在String构造函数运行之前,Object的构造函数将用它们默认的值初始化所有字段,包括决定性的长度和偏移字段。
I then re-initialize the cipher with the new iv object.
然后我用新的iv对象重新初始化这个密码。
Because the JNDI lookup can be expensive, it is good practice to store the provider object as a member variable of the portlet, and to initialize it in the init method.
因为JNDI查找开销非常大,所以最好的做法是将提供程序对象存储为Portlet的成员变量,并在init方法中对其初始化。
Calling super constructors works just as with plain Ruby code, which means that the frame title can be set by calling super (" JRuby Object Browser ") on the first line of the initialize-method.
调用父类的构造方法就和普通的Ruby代码一样,这意味着我们可以在initialize方法的第一行通过调用super (“JRubyObjectBrowser ”)来设定窗口的标题。
Note: to initialize the Logical Disk object, you need to run the Diskperf tool and restart the system.
注意:为了初始化logicalDisk对象,需要运行Diskperf工具并重启系统。
Object and initialize it with the proper name and type.
对象,并用正确的名称和类型将其初始化。
The syntax for a compound literal allows a brace -enclosed series of values to be used to initialize an automatic object of the appropriate type.
复合文字的语法允许用大括号括起来的一系列值来初始化适当类型的自动对象。
Failed to initialize object picker for the target domain.
为目标域初始化对象选取器失败。
It puts the burden on the programmer to initialize every member of every object.
将初始化每个对象的每个成员的负担放在程序员身上。
They are often used to initialize the data of an object.
它们通常用于初始化对象的数据。
They are often used to initialize the data of an object.
它们通常用于初始化对象的数据。
应用推荐