在一个初始化块中,仅在构造函数之前执行。
In an initializer block, which executes just before the constructor.
初始化块是按照声明的顺序执行的。
Initilializer blocks are executed in the order of declaration.
在一个静态初始化块中,在加载类时执行。
In a static initializer block, which executes when the class is loaded.
使用与关系数据库一起提供的块载入工具来初始化数据库表。
Use the bulk load tools that are provided with relational databases to initialize database tables.
第一个块包括数据存储和视图的初始化代码,如清单2所示。
The first block contains the initialization code for the data storage and the view, as shown in Listing 2.
然后,一个线程进入synchronized块来初始化instance,而另一个线程则被阻断。
Then, one thread enters the synchronized block to initialize instance, while the other is blocked.
您可以向Buffer引入一个附加参数,用以指定每个内存块的大小,并且可以在抽象缓冲区的初始化期间,将该参数设置为一个可取的值。
You can introduce an additional parameter into Buffer to specify each memory block's size, and you can set it to a preferred value during the initialization of an abstract buffer.
在清单2中,该函数分配了包含一个Buffer的内存块,并初始化它的条目以指明它是一个空抽象缓冲区。
In Listing 2, the function allocates a piece of memory containing a buffer and initializes its entries to indicate an empty abstract buffer.
第一组闭合括弧划定一个匿名内部类的构造,第二组划定匿名内部类的实例初始化语句块。
The first set of enclosing braces delineates the construction of an anonymous inner class, and the second set delineates the instance initializer for the anonymous inner class.
有关操作、引用以及基本属性的元数据在一个静态初始程序块中被初始化,如清单3所示。
Metadata about operations, references, and basic attributes are initialized in a static block initializer, as shown in Listing 3.
在这个示例中,我们定义了一个定制工厂,并将一些初始化代码从_ main _块移到了该工厂。
In this case, we define a custom factory and move some of the initialization from the _main_ block to the factory.
由于会反复调用该类,因此应将初始化WebSphereTXAPI的代码移动到一个静态块中
Since this class will be invoked repeatedly, move the code that initializes the WebSphere TX API into a static block
完成所有必要的Internet控制块结构指针初始化之后,该控制返回到tcp_attach 。
All the necessary initializing of the Internet control block structure pointer is done and the control returns to tcp_attach .
构造函数要处理来自构造函数初始化式的异常,唯一的方法是将构造函数编写为函数测试块。
The only way for a constructor to handle an exception from a constructor initializer is to write the constructor as a function try block.
实例初始化语句块只有在它建立后才会被执行。
Instance initializer (s) gets executed ONLY IF the objects are constructed.
警告:如果你去做这件事,你最好确定你的内存块初始化,会让不同的子程序使用它之前。
WARNING: If you go about doing this, you better make sure you reinitialize that block of memory before going to let a different subroutine use it.
标准块大小是通过初始化参数DB_BLOCK_SIZE特别指定的。
The standard block size is specified by the DB_BLOCK_SIZE initialization parameter.
本发明揭示用于在总线业务减少的情况下执行存储器块初始化及复制功能的存储器控制器及方法。
A memory controller and methods for performing memory block initialization and copy functions with reduced bus traffic are disclosed.
不管代码是否执行该块,这些初始化都会生效。
These initializations take effect whether or not your code ever executes the block.
软件分为五块:主程序中的初始化模块、换相子程序模块、电流调节、速度调节子程序模块,定时器中断程序模块。
The system software involves five main modules: initialization module, phase-changing module, current-regulating module, speed-regulating module and timer interrupt module.
若要避免在这种情况下出现意外结果,最好在块的开头对块变量进行初始化。
To avoid unexpected results in such a case, it is wise to initialize block variables at the beginning of the block.
作者提出了一种任务控制块静态初始化的方法,和一种动态分配片内存储空间的方法,来解决单片机资源紧张的问题。
The author issues a method of statically initializing task control blocks, and a method of sharing on-chip memory dynamically, in order to save the insufficient resource on micro-controllers.
依据何时何地计时器被初始化(计时器初始化完毕后就会开始计时),计时器实际上会在第一个代码块执行完毕前被触发。
Due to where and when the timer was started it actually fires before we actually complete the first block of code.
依据何时何地计时器被初始化(计时器初始化完毕后就会开始计时),计时器实际上会在第一个代码块执行完毕前被触发。
Due to where and when the timer was started it actually fires before we actually complete the first block of code.
应用推荐