In this case, I introduced an error to the code generation handling a collection, adding an extra item to the stack in the body of the item unmarshalling loop.
在这个示例中,我在处理集合的代码生成中引入了一个错误,在项目反编排循环的循环体中,向堆栈添加了一个额外项目。
For each of those business item attributes, the code determines which processes or components the attributes serve as inputs to or outputs of and makes a list of these dependent processes.
对于那些业务项目属性,代码确定这些属性充当哪些流程或组件的输入或输出,并制作这些相关流程的列表。
You can change a parameter, a line of code, or a workload item, and rerun your benchmark to get a good measurement of the impact of the change.
您还可以改变参数,某行代码,或者工作负载项,甚至可以重新运行基准测试以获得好的度量结果。
The code we provide allows you to create a "fake" monitor set that has the full functionality of a monitor set, but must be created through the ordinary business item editor.
我们提供的代码可以允许您创建一个“伪”监测集,它具备监测集的完整功能,但必须通过普通业务项目编辑器来创建它。
The next step in this example is not only to send back the updated item list, but also to provide status information letting the client know what the server did as shown in the following code listing.
本例的下一步不仅包括回发更新的项目列表,还包括提供状态信息,以使客户机了解服务器进行了怎样的操作,如以下代码清单所示。
The first item that we require is a plug-in project where our code and extension will reside.
我们需要的第一个条目是一个插件项目,我们的代码和扩展将放在这个插件项目中。
The code in Listing 8 fetches the item where you want to add the new child.
清单8中的代码获取您想要添加新子级的项目。
For example, if you have three partitions, and your key's hash code is 7, then 7 divided by 3 is 2, remainder 1, so the item goes in and comes from partition 1.
例如,如果您有3个分区,键的散列码为7,7除以3得2余1,所以项应该位于分区1。
Before you begin writing the mapping code for items in your repository, you need a solid understanding of what an item is to II CE.
在编写存储库的映射代码之前,需要充分理解II CE中的条目是什么。
When the loop is finished, the code will have a fully populated Channel object and a list of fully populated Item objects.
循环结束时,代码将拥有一个完全填充的Channel对象和一个完全填充的Item对象列表。
The rest of the code prints out the top-level feed details, and a stanza for each item.
剩下的代码打印顶层消息包的细节和每个条目。
Note that if you manually fix a result item, you must re-run Code Review to verify that it doesn't report a problem any more.
请注意如果你手工处理一个结果项,那么必须重新运行CodeReview以证实它不再报告问题。
In this above code, even if the Order or Item class is mapped with an annotation, a separate XML file, or not at all (I would then have to map each field), I can still override it with this XML.
在上面的代码中,即使使用注释、单独的XML文件或不使用任何内容(必须映射每个字段)来映射order或item类,我仍能够使用此XML覆盖它。
Links are static code, while the link for the status symbol (the red X and the green checkmark) and item subject must be rendered on-the-fly.
链接是静态代码,而状态符号(红色的X及绿色的对号)链接及项目主题必须动态呈现。
The following code snippet of ExecuteActivityServlet in our sample demonstrates how to claim and complete a work item.
在我们的样本中,接下来的ExecuteActivityServlet代码片断演示了如何声明及完成工作项。
One item in this code snippet that should raise some eyebrows is the reference to the ServiceLocatorManager class.
代码片断中有一项应该增加一些内容,这是对servicelocatormanager类的引用。
The one line of code in the class body of Order defines its relationship to the Item object.
在Order类体中有一行代码定义了它与Item对象的关系。
In the test Data section of the test editor, you should now see that the item query is substituted with the custom code GetTestData, as shown in Figure 11.
在这个测试编辑器的TestData部分,您现在可以看到项目查询已经被自定义代码GetTestData所取代,如图11所示。
For example, in a well-designed GUI application, the code that adds an Exit menu item would run on a Windows PC but not a Mac.
例如,在一个设计良好的GUI应用程序中,添加一个exit菜单项的代码可以在WindowsPC上运行,但它不能在mac机上运行。
To generate this code, you use attribute value templates (the code inside the curly braces ) with the current value of the context item. Each table row is defined like this.
要创建这种代码,在属性值模板(放在花括号中的代码)中使用上下文项的值。
It means that the code is working properly and that the value of the imgpath configuration item is being set and read properly.
这个结果意味着代码运行正常并且正常设定和读取了imgpath配置项的值。
If dividing the context item by 2 leaves a remainder of 1, the stylesheet generates the CSS code background: gray; color: white;.
如果上下文项除2余1,样式表就生成CSS代码background:gray;color:white;。
The Directly remove Sol menu item in the Transaction Demo application provides an example of how to call transaction code from the Web application's perspective.
TransactionDemo应用程序的Directlyremove Sol菜单项提供了一个例子,说明如何从Web 应用程序角度调用事务代码。
The following code snippet of GetWorkItemServlet in the sample demonstrates how to display the input message of a work item.
在我们的样本中,接下来的GetWorkItemServlet代码片断演示了如何显示工作列表的输入信息。
To create a File menu with an Exit menu item, add the code in Listing 11 to Gwitter.groovy
为了创建包含Exit菜单项的File 菜单,在Gwitter.groovy 中添加清单11 中的代码
When explicit type information for variables is written in the code, these type annotations follow the colon after the item name (i.e., Pascal-like syntax).
当在代码里显式地为变量指定类型信息时,类型注解应该跟在变量名的冒号后面(也就是类pascal语法)。
Although the query looks simpler than the XQuery, we must query the database for each item in the cart, resulting in increased database traffic and slightly more loop-oriented application code.
虽然查询看起来比XQuery简单,但我们必须为购物车中的每个货品查询数据库,导致数据库流量增加,应用程序代码有些更面向循环。
Next, the code defines the items that should appear in the form. For this example, there is a single item, the num field.
接着,代码定义了应该在表单中出现的条目,在本例中,只有一条num字段。
To place an item in the cache, WebSphere eXtreme Scale calculates the key's hash code, divides by the number of partitions, and the remainder identifies the partition to store the item.
要将项放入缓存,WebSphereeXtremeScale计算键的散列码,除以分区的编号,余数标识存储项的分区。
The following code example removes an item from the purchaseorder table and gives the modified document as a result of the query.
以下代码示例从purchaseorder表中删除一个条目,并将修改后的文档作为查询结果。
应用推荐