Finally, you might want to have an "annotated source" listing, which prints out the source code to the application, with notes on how many times each function is called.
最后,我们可能会希望获得一个“带注解的源代码”清单,它会将源代码输出到应用程序中,并加上每个函数被调用了多少次的注释。
The Client-Side Click-to-Action source object code is updated, as shown in Listing 3.
客户端的点击操作源对象代码得到了更新,如列表3所示。
The steps required to write such a recursive function are listed below, and Listing 3 presents the source code of the function itself.
编写这种递归函数需要执行的步骤如下所示,清单3给出了这个函数的源代码。
After you added the extension point in the previous steps, the source should look like the code shown in listing 7.
在前面步骤中添加了扩展点之后,源代码类似于清单7。
Software tools designed to support code reviews have features for browsing the source code, making annotations at any location within the code, and listing the annotations.
支持源代码检查的软件工具具有浏览源代码、注释源代码和列出注释的功能。
The first method is one that doesn't even appear in the source code for my template class back in Listing 1, the default constructor for the class.
清单1中的模板类源代码是类的默认构造函数,第一个方法没有出现在其中。
Open the MySQLDatabaseSystemUnitValidator class and add a new class attribute for the validator identifier to your source code (see Listing 8).
打开mysqldatabasesystemunitvalidator类,并为确认器标识符向源代码添加一个新的类属性(见于代码清单8)。
Listing 1 gives the source code for my StringArray class, a wrapper for ordered arrays of Strings.
清单1给出了StringArray类的源代码,这个类是String有序数组的一个包装器。
Listing 22. Source code for boost: : swap.
清单22.boost:swap的源代码。
Listing 1 USES Ant, UMLGraph, and Graphviz to document source code.
清单1使用Ant、UMLGraph以及Graphviz对源代码进行文档化。
For an application as simple as this one, this is the only activity needed. For this application, a class called Converter is listed, and its source code is shown in Listing 4.
对于像本文这样简单的应用程序,有一个converter类,清单4中显示了它的源代码。
Replace its content in the Source TAB with the code shown in the following listing, then save the file.
以如下代码代替Source标签中的内容,然后保存文件。
Listing 1. p2p_ibm_portlet.html (source code of QuickSearch Web page to communicate with the IBM API portlet).
清单1 . p 2p_ibm _ portlet . html(用于与ibmAPI portlet通信的QuickSearch We b页的源代码)。
Listing 16 shows the source code for both.
清单16展示了这两个函数的源代码。
Listing 8 contains the RPG source code example for redefining the input indicator array to a data structure.
清单8包含将输入指示符数组重新定义到一个数据结构的rpg源代码示例。
Listing 10 shows the source code of the DLL with the relevant changes.
清单10显示了DLL的源代码,其中包括相关的更改。
Listing 4 shows the source code for this controller.
清单4展示了该控制器的源代码。
Listing 2 shows the source code of this pop-up window.
清单2显示了此弹出窗口的源代码。
Replace the contents of this file by entering or pasting the source code from Listing 2.
输入或粘贴清单2中的源代码作为这个文件的内容。
Listing 2. Unzip and extract the source code folders.
清单2.解压缩出源代码文件夹。
Listing 7 provides the source code examples for the data structure definitions.
清单7提供数据结构定义的源代码示例。
The newly created method is added to both the class diagram ( Figure 27) and the source code ( Listing 2).
新创建的方法会添加至类图(图27)与源代码( 代码清单 2)中。
Comments in the source code in Listing 3 break the functionality into several steps.
清单3中的源代码注释将功能分为几个步骤。
Listing 9 shows the PHP source code for the page.
清单9显示了该页面的php源代码。
Listing 2 shows the source code clips of using the SCSI generic API.
清单2显示了使用SCSI通用API的源代码片段。
The HTML code shown in Listing 22 is also added in the source view.
列表22中的HTML代码也会添加至源视图中。
The source code example in Listing 3 illustrates the technique of applying a custom compensation framework to the original application source code in Listing 1
清单3中的源代码示例阐释了将自定义补偿框架应用到 清单1 中的原始应用程序源代码的技术
Most of the needed components use the make system and can be compiled and installed on your system by switching to the directory of the unpacked source code, as shown in Listing 4.
大部分需要的组件使用make系统,可以通过切换到未打包的源代码所在的目录来在您的系统上编译和安装,如清单4所示。
Listing 2 shows a customization file for Jibx2Wsdl that adds additional information beyond what's present in the Listing 1 source code.
清单2显示了用于Jibx2Wsdl的自定义文件,它增加了没有在清单1源代码中描述的额外信息。
After you download the xinetd source code, unpack the tarball, run the configuration script (see Listing 2), and build the software.
下载xinetd的源代码之后,解压压缩文件,运行配置脚本(见清单2)并构建软件。
应用推荐