This blocks the main thread but executes the code on another thread.
这阻塞了主线程但是在另一个线程上执行代码。
All references to objects of schema MAIN in the code will need to be prefixed with schema name MAIN.
代码中对MAIN模式中的对象的所有引用都需要在前面加上模式名MAIN。
The main difference is that the code is installed on a code server, and not on the individual workstations.
主要区别是它的代码安装在一个代码服务器上,而不是安装在单独的工作站中。
The logging code is irrelevant to the main purpose of the application, and it can also be very intrusive in the code.
日志记录代码与应用程序的主要目的无关,并且它还有可能对代码产生很大干扰。
Among other things, it defines a global error handler, and it is where you would place any platform-specific code to run before executing main application logic.
除了其他事情外,它定义一个全局错误处理程序,在此将放置在执行主应用程序逻辑之前要运行的特定于平台的代码。
Version them and evolve them outside the main code so it is easier to integrate on newer projects.
在主干代码之外对它们进行版本化和演进,以便更容易地在新项目中集成。
Very often adding tracking or logging requires additional code to be written after the main software is complete.
通常情况下,在主体软件完成之后,跟踪和日志都需要额外添加代码。
Listing 6 shows the main parts of the test code I'll use to check out the performance.
清单6显示用于检查性能的测试代码的主要部分。
Note that the SPE code is written as a new main program and code is generated for it prior to embedding through the handle into the PPE code.
注意,SPE代码被编写为一个新的主程序,并在通过句柄嵌入PPE 代码之前为它生成代码。
We took the same approach when converting the main code: over a number of weeks, as we touched a bit of code, we converted it.
在重写产品代码的时候,我们用了同样的办法:在几周的时间里,每碰到一点代码,就重写一点。
The HEAD stream is the main code stream that users should be integrating to (if they want to branch off on their own and then merge with the HEAD stream later, that's fine).
HEAD条目是用户应集成的主要代码流(如果它们需要自己分叉并稍后与HEAD流合并,这主意不错)。
Like Axis2, though, it generally seems fairly solid, and the integration of the security code into the main release makes complete failures less likely than with Axis2.
尽管和axis2一样,Metro通常是比较可靠的,但是将安全性代码集成到主要版本,比起使用Axis2发生故障的几率小一点。
In this code, the main thing that can go wrong is that the ST_Transform function cannot compute a proper point value in projected coordinates from the given latitude and longitude.
在此代码中,可能导致出错的主要情况是ST _ Transform函数无法从给定的纬度和经度计算出投影坐标中的正确点值。
The code in Listing 6 consists of the following main steps.
清单6中的代码由以下主要步骤组成。
Often you will only require a single extra line of code, compared to atoms. The main advantage is coordination.
与atoms对比,它通常只需要一行额外的代码,其主要优势是协调。
I will use two code samples; first is an example of poorly structured code and has single Main method.
我会使用两个代码示例。第一个例子代码结构简陋,且只有一个单独的Main方法。
Listing 12 shows the code in main and its implementation of this order.
清单12展示了main中的代码和对此顺序的实现。
To enable sorting of the columns, you must add the following code to the main method before calling the Shell.open method.
要对列启用排序功能,您必须在调用Shell . open方法前向main方法中添加以下代码。
Next, we need to add some code to the main method to instantiate the class and run the SWT code.
接着,我们需要向main方法添加一些代码,以便实例化该类并且运行SWT代码。
As a quick application of the framework, I'll rebenchmark the code in Listing 1 by replacing main with the code in Listing 2
为了演示这个框架的使用方法,我把main 替换为清单 2中的代码,从而重新对 清单1 中的代码进行基准测试
Make sure you have a main statement in your code, even if your module holds only functions.
即使模块只包含函数,也要确保代码中有一个main语句。
After you have added the new variables to your classes, add the handler code to the main method of the OGAdmin class.
向类添加了新变量后,请将处理程序代码添加到ogadmin类的main方法。
Developers can have the freedom to flesh out concepts outside of the main code branch without impacting stable configurations.
开发人员可以在主代码分支之外自由地试验新概念,而不会影响稳定的配置。
To implement this listener class, we'll code an anonymous class in the main Explorer Window.
为了实现该侦听器类,我们将在主资源管理器窗口中编码一个匿名类。
Then, if the concept is accepted, the result is reviewed again before integration into the main code repository.
然后,如果概念被接受,那么成果会在集成到主代码库之前再审核。
Currently, business rules are closely coupled with the main code, necessitating the need for care while making changes and also increasing testing requirements.
目前,业务规则与主代码紧密耦合,使得在做出更改时必须小心谨慎,同时还增加了测试需求。
All that remains to complete the scoring code upgrade is to modify the main program logic flow from Listing 7 to Listing 8.
完成评分代码升级剩下的全部操作就是将主程序逻辑流程从清单7修改为清单8。
These will all be used to make access to stack frame offsets much clearer in the main body of code.
上述这些做法目的是使在代码的主体访问堆栈框架变得更为清楚明了。
There are two main scenarios for using WTE to test you code artifacts.
这里有两种场景您要使用WTE来测试您的代码构件。
It actually requires that the main code be written so that the PPE manages the resources.
实际上,它要求编写主代码以便由PPE管理资源。
应用推荐