Python在模块装入时调用初始化函数。
Python calls the initialization function when the module loads.
TBSCAN(10)初始化函数中的本地变量。
TBSCAN (10) initializes the local variables in the function.
在这个应用程序中,我们在初始化函数中打开了数据库。
In this application, we open the database in the initialize function.
在XSLT的主体中调用这个初始化函数,如清单4所示。
Call this initialization function from within the main body of the XSLT, as in Listing 4.
每个STDLL必须至少提供一个特定于令牌的初始化函数。
Each STDLL must provide at least a token-specific initialization function.
除了初始化函数外,还需为服务器、客户机和组插件实现一些插件api。
In addition to the initialization functions, there are several plug-in APIs that you need to implement for the server, client, and group plug-ins.
顺便说一下,初始化函数必须是文件中唯一未被声明为static 的全局标识符。
The init function, by the way, should be the only global identifier in the file that isn't declared static.
c (当然,您可以随意命名它)文件包含三项内容:一个方法表,一个初始化函数和其余的代码。
The foomain.c file (you can call it anything you want, of course) contains three things: a method table, an initialization function, and the rest of the code.
逗号操作符(如本小节)中描述不能出现在上下文中使用逗号分隔列表中的条目(如参数初始化函数或列表)。
The comma operator (as described in this subclause) cannot appear in contexts where a comma is used to separate items in a list (such as arguments to functions or lists of initializers).
通过调用start_kernel,会调用一系列初始化函数来设置中断,执行进一步的内存配置,并加载初始ram磁盘。
With the call to start_kernel, a long list of initialization functions are called to set up interrupts, perform further memory configuration, and load the initial RAM disk.
初始化函数将完成模块所要求的所有初始化操作,但更重要的是,它还把一个指向方法表的指针传回给Python。
It does whatever initialization is required for the module, if any, but most crucially, it also passes a pointer to the method table back to Python.
TopologyHelper 类中的初始化函数和setupNames() 函数帮助为数据模型设置默认值。
The initialize function on the TopologyHelper class and the setupNames() function help to set up the default values into our data model.
一旦装入内核并给予其控制,就首先调用这些函数,然后初始化系统的其余部分。
These functions are called first once the kernel is loaded and given control, then the rest of the system is initialized.
我们没有声明构造函数用其它值来初始化它。
There is no constructor defined to initialize it to another value.
因此,若无密码键入,传递到该函数的是未初始化的变量和脚本错误结果。
Hence, with no password entered, the function is passed an uninitialized variable and a script error results.
宏 INIT_WORK提供必需的初始化数据以及处理程序函数的配置(由用户传递进来)。
The INIT_WORK macro provides for the necessary initialization and setting of the handler function (passed by the user).
工作队列API提供三个函数来初始化任务(通过一个事先分配的缓存);参见清单6。
The work queue API provides three functions to initialize work (from an allocated buffer); see Listing 6.
recvmsg和recvit函数初始化各种数组和结构,将接收的数据从内核发送到进程。
The recvmsg and recvit functions initialize various arrays and structures to send the received data to the process from the kernel.
测试类中包含测试装置(fixture),它们在setUp函数中初始化。
The test class contains test fixtures, which are initialized in a setUp function.
onLoad — 在此函数中放置初始化代码。
onLoad — This function is where you place initialization code.
在初始化dom以后调用文档ready函数。
The document ready function is called after the DOM has been initialized.
setup函数用于初始化,由Processing运行时执行一次。
The setup function is used for initialization and is executed once by the Processing run time.
初始化您的工厂(在构造函数中)。
类的这种重构也会改进代码,因为我们将初始化逻辑从对象的构造函数分离出来了。
This refactoring of the class also improves the code so that we have separated the initialization code from the object construction code.
为了避免这个问题,应当在构造函数中初始化复杂属性;然而,对于字符串、布尔值等简单属性则不需要这样做。
To avoid this problem, complex attributes should be initialized in the constructor; however, this is not necessary for simple attributes such as strings, booleans, and so on.
它们只通过构造函数初始化。
在构造函数中,您将初始化这两个变量。
在构造函数中,您将初始化这两个变量。
应用推荐