Thus, the binding is hard-coded to use a specific service and is permanent. 因此,硬编码该绑定来使用特定的服务,并且绑定是永久性的。
This code provides the coordinates to send to MapServer: Width and height can be whatever you want ( hard-coded in this example). 这段代码提供了发送给MapServer的坐标:宽度和高度可以任意(本例中是硬编码)。
All the orders are hard-coded in this class. 所有订单都硬编码在这个类中。
The hard-coded data is usually repeated in more than a single test and dispersed throughout the script. 硬编码的数据通常会在多个测试中重复,并分散在整个脚本中。
I've hard-coded the controller in for now because you haven't implemented REST support in the other controllers. 由于还没有在其他控制器中实现REST支持,所以我暂时对控制器进行了硬编码。
Add the hard-coded string "Moe" to the names Vector. 将硬编码字符串“Moe”添加到namesVector。
Finally, I hard-coded a value that I can use while testing to shut down the IM service cleanly. 最后,我硬编码了一个值,以便在测试时使用它干净地关闭IM服务。
A hard-coded ID has been used in this case, but you could use an ID sourced from your database or UUID. 本例中使用了一个硬编码的ID,但是您也可以使用来自数据库的ID或UUID。
A user name, which is also used in the time entry field, is hard-coded. 一个用户名(它也用于这个时间输入字段)是硬编码的。
Again, to make this handler generally useful, hard-coded configuration information is avoided. 还有,要使这个处理器普遍可用,我们应该尽量避免硬编码配置信息。
At last you both see what the problem is: David's compile script hard-coded an old directory that does not exist on this new server. 最后大家都能看到问题所在:David的编译脚本对一个不在此新服务器上的旧目录进行了硬编码。
This script eliminates the need to have a separate AutoYaST file with a hard-coded IP address for each LPAR. 有了这个脚本之后,就不需要单独为每个LPAR准备硬编码IP地址的AutoYaST文件。
In this example, you have hard-coded the30-second interval. 在这个示例中,您使用的是硬编码的30秒时间间隔。
In the simplest case, the endpoint address could be hard-coded in a service consumer â™ s implementation. 在最简单的情况下,端点地址可以硬编码到服务使用者的实现中。
This is useful for removing hard-coded numbers and strings from your code. 这在将硬编码的数字和字符串从代码中去除的时候非常有用。
The sample application contains hard-coded names and phone numbers that you must change. 样例应用程序包含了硬编码的名称和电话号码,您必须对这些内容进行修改。
If it is, the username and password are checked against hard-coded values using the strncmp() function. 如果需要,则使用strncmp()函数来将用户名和密码与硬编码的值进行比较。
The defineScriptFunction() method also invokes the script engine's eval() method with a hard-coded snippet of JavaScript. defineScriptFunction()方法还使用一段硬编码的JavaScript代码调用脚本引擎的eval()方法。
To keep things simple for this example, the login information is compared against some hard-coded strings. 为了简化这个示例,登录信息将与一些硬编码的字符串进行比较。
These messages are not hard-coded. 这些消息不是硬编码的。
Also note that the Configurator Web service itself is not configurable; rather it is hard-coded in the UI. 配置程序Web服务本身是不可配置的;相反,它被硬编码在UI中,这一点也需要引起注意。
Individual users authenticate themselves at the application server, but the application itself presents to DB2 a generic authorization ID and password that are hard-coded in a program. 各个用户可在应用服务器上对自身进行验证,但应用程序本身会向DB2提供一个将硬编码到程序中的通用授权ID和密码。
Other REST servers, like the one you're going to implement here, have hard-coded response formats. 其他REST服务器,比如您将在这里实现的服务器,拥有硬编码的响应格式。
The Package Name, on the other hand, is a hard-coded value. 另一方面,PackageName是硬编码的值。
But a hard-coded join needs to be rewritten. 但是需要重写硬编码的连接。
Applications are freed from hard-coded dependencies on a particular data engine or storage schema. 应用程序在编码上不依赖于特定的数据引擎或存储架构。
In the example, the valid credentials are hard-coded into the page code. 在本示例中,有效凭据被硬编码到页代码中。
All antiprimes required for this problem can be computed in advance and hard-coded into the source. 这个题目用到的全部反素数可以提前计算出来直接写到源代码中。
The reason for this is that hard-coded locators tightly coupled with the test code are being used. 原因在于硬编码的定位器和使用的测试代码耦合太紧密了。