SBT控制台-如何初始化运行的东西?
如果您依赖它,那么在安装或初始化期间运行小测试来确保它能正确工作,这样做将是明智的。
If you depend on it, it's wise to run a small test during installation or initialization to make sure it works correctly.
正如前面提到的,需要在运行工作负载的服务器(SUT)上创建和初始化邮件数据库。
As we mentioned previously, we need to create and initialize mail databases on the server (SUT) to run our workload against.
在运行模拟之前,必须初始化模拟器。
Before running a simulation, you must initialize the simulator.
不过,在实际的应用程序中,可能需要在运行脚本之前进行初始化并在脚本执行完后进行最后的清理工作。
In a real application, however, you'll probably want to do some initialization before running the script and some finalization after the script's execution.
如果尝试在未初始化的情况下使用它们,它们将会在运行时引发异常。
If you try to use them without initializating them, they will throw exceptions at runtime.
忘记初始化,忘记初始化变量是一个很常见的错误,运行完一个循环之后,当需要再次初始化时。
Initialization. A very common bug is to initialize a variable. Go through a loop, and then forget to reinitialize it when it needs to be reinitialized again.
如果您的系统能够加载内核,但无法成功运行init,您可以通过指定一个替代初始化程序来尝试修复。
If your system will load a kernel, but cannot run init successfully, you may try to recover by specifying an alternate initialization program.
配置一个MySQL主数据库(masterdatabase):创建schema,然后运行数据库初始化脚本。
Configure a MySQL master database: create the schema, and run your database initialization scripts.
图20显示了在Start活动运行时要初始化的相关集设置。
Figure 20 shows setting the correlation set to be initialized when the Start activity runs.
这就意味着为了使devfsd能在恰当的时间启动和运行,您必须修改系统初始化脚本。
This means that tweaks to your system initializations scripts will be required in order to get devfsd up and running at just the right time.
调用Web服务时,运行代码来以恰当的值初始化所有全局枚举对象(在本例中是创建一个BookTypeInitializer类的实例来完成的)。
When the Web service is called, run code to initialize all the global enumeration objects with proper values (in our case, by creating an instance of the BookTypeInitializer class).
setup函数用于初始化,由Processing运行时执行一次。
The setup function is used for initialization and is executed once by the Processing run time.
接着,打开一个新的命令窗口并转到c: \mqjms \batch目录,运行classpath . cmd变量来初始化classpath变量。
Next, open a new command window and change the directory to c: \ MQJMS \ batch and run the classpath.cmd variable to initialize the classpath variable.
一旦此文件系统被安装,初始化过程运行带有- a选项的mount命令来自动安装一个文件系统集合。
Once this filesystem is mounted, the initialization process runs mount with the -a option to automatically mount a set of filesystems.
注意:为了初始化logicalDisk对象,需要运行Diskperf工具并重启系统。
Note: to initialize the Logical Disk object, you need to run the Diskperf tool and restart the system.
如果支持运行时编译,CVM需要做JIT的相关初始化,包括初始化编辑策略,编译器后端,代码缓存等等。
If runtime compiler (JIT) is supported, the VM needs to do JIT related initialization, including initializing the compilation policy, compiler back end, code cache, etc.
DBUnit是关于跨测试执行(testruns)去维护数据库完整性(事实上,在Twist测试中,你可以使用DBUnit作为测试初始化和运行结束的一部分)。
DBUnit is about maintaining database integrity across test runs (and in fact you can use DBUnit as part of the set up and tear down of your tests in Twist).
因此,您在自己的小程序中承载转换器,这个程序在启动并初始化后将始终运行,可以随时通过远程API从任何程序对其进行调用。
So you host your converter in its own little program that starts up, initializes, and is always running and can always be called from any of your programs through a remote API.
服务器RPC应用程序初始化期间它会向RPC运行时库注册接口。
During the server RPC application initialization, it registers the interface with RPC runtime library.
在运行时初始化期间填充这个字段。
This field is populated during initialization of the runtime.
在我们第一次使用的时候,这些初始化活动对服务器来说是无法避免的,而且我们必须多次运行以得到所有的已登录用户,至少也有一次。
This initial activity was somewhat overwhelming for the servers when we first tried this, and we had to make multiple runs to get all of the users logged in at least once.
如果您尝试使用它们而未首先对其进行初始化,则会获得运行时异常。
If you try to use them without initializing them, you will get a run-time exception.
运行库在何时初始化静态字段?
另外,基本api有许多只在运行时出现的错误;例如,地址或协议不匹配或未初始化的数据成员。
Also, a lot of errors with the native API only appear at run time-for example, a mismatch in address or protocol or uninitialized data members.
原因是运行时的参数值是同初始化软件在同样的文件中被声明的。
The reason is that the runtime parameter values are declared in the same file as the initializers.
如果应用程序已在运行,则TCP客户机将被初始化并把URL实参传递给在运行的RCP应用程序中等待收到此类通知的嵌入式TCP服务器。
If the application is already running, a TCP client would be initialized and pass the URL arguments to the embedded TCP server waiting to receive such notification in the running RCP application.
它依赖许多按以下顺序运行的其他目标:清理、初始化、签出、构建、安装、启动、停止和卸载。
It has dependencies to a number of other targets that are run in this sequence: clean, init, checkout, build, install, start, test, stop, and uninstall.
为此,要运行工作负载的初始化步骤;完成之后,就可以运行实际的工作负载。
To do this, run a workload's initialization workload; when it's finished, you can run the actual workload.
现在只剩下两个次要的任务 ——初始化互斥锁和启动线程运行可上传的文件的列表。
This just leaves us with a couple of minor bookkeeping tasks -- initializing the mutex and starting a thread to run through the list of uploadable files.
应用推荐