To highlight the fact that JET doesn't need to be used only to generate code, the following example is a template that generates e-mail messages of varying moods.
为强调JET不仅仅可用来生成代码,我们给出了下面这个实例,这是一个模板,生成具有不同语气的电子邮件消息。
The other developers then only need to apply the transformation to generate code for fulfilling the pattern; they don’t need to know the details of the implementation.
其他的开发人员只需要应用转换来生成满足模式的代码,而无需知道实现的细节。
Some generate code such that instance becomes non-null only after the constructor executes.
一些生成了代码,从而只在构造函数执行后使instance成为非null。
Research has shown that most virtual invocations have only a single target for all receiver objects, and JIT compilers can generate more-efficient code for a direct call than for a virtual invocation.
研究表明:大多数虚调用只有一个目标对应于所有的接收方对象,而JIT编译器可以为直接调用生成比虚调用更有效率的代码。
Many compilers can generate more efficient code for this by putting the tables in read-only memory.
很多编译器通过将表放入只读内存中可以生成更高效的代码。
It goes without saying that this file is created only when the source code of the filedep file is parsed to generate a dynamic assembly.
不用说就知道这个文件是在源代码文件分析为动态程序集时创建的。
In addition to making the property read-only, the hash code function will only use these 'key' fields to generate the hash code.
另外要使属性只读的话,哈希码函数会只用那些Key字段产生哈希码。
For example, to generate a distinctive style sheet in a post only found within a specific category, the code might look like this.
例如,给一个特别类别中的文章创建一个样式表,代码可能看起来像这样的。
Generate sync style code only (Default: off). Takes precedence over -a.
s生成同步代码(默认关闭)。优先权高于选项- a。
Generate sync style code only (Default: off). Takes precedence over -a.
s生成同步代码(默认关闭)。优先权高于选项- a。
应用推荐