Listing 6. xev example program output.
清单6 . xev示例程序输出。
Putting all the pieces together produces the example program in Listing 7.
将所有代码段放在一起可产生清单 7中的示例程序。
This section begins with an example program that finds the largest of three Numbers.
本节首先给出一个示例程序,它寻找三个数字中的最大者。
Listing 1 gives a simple example program that makes use of a few J2SE 5.0 features.
清单1给出了一个简单的示例程序,其中使用了一些J2SE 5.0特性。
Listing 2 provides an example program written in PIR and executed by the Parrot VM.
清单2提供用PIR编写、由ParrotVM执行的示例程序。
The include files for the example program later on defines the interfaces this way.
后面的示例程序的包含文件用这种方式定义接口。
The example program for this section implements a selection sort on an array of integers.
本节的示例程序在一个整数数组上实现选择排序。
This example program creates a cloned thread sharing memory space with the parent process.
这个程序例子创建了一个与其父进程共享存储器空间的克隆线程。
In the example program, that task is to just sleep for a half second, 100 different times.
在示例程序中,这个任务就是休眠半秒100次。
The example program report2.4gl describes the report using 4gl feature, as shown in Listing 13.
程序报告2.4gl示例描述了使用4gl特性的报告,如清单13所示。
In the count example program, a stem variable maps a word to the number of times that word occurs.
在count示例程序中,它使用一个stem变量将单个字映射到该字的出现次数。
It is also easy to see the virtual memory savings when running the example program in more than one JVM.
在多个JVM中运行示例程序时,很容易看出虚拟内存的节省。
We would also take you through some critical commands in the example program which require explanation.
我们也会使您了解一些需要解释的示例程序中的关键命令。
Listing 8 shows the entire example program and Listing 9 shows an execution example of the completed program.
清单8展示了整个示例程序,而清单9展示了完整程序的执行示例。
The first example program combines these snippets into a simple script that returns the number of files currently selected.
第一个示例程序将多个程序段合并成一个简单脚本,来返回当前所选文件的数量。
UDP protocol is described in detail in the article and a example program applying to client port and server port is given.
介绍UDP协议,并提供一个适用于客户端和服务器端的实例子程序。
To pull all of this information together, we'll run a simple command-line example. The example program contains three jar files.
综合这些信息,我们将运行一个简单的命令行示例。
The example program has many configuration files and deployment plans, nearly all of which are found in the src/resources subtree of the project.
示例程序有许多配置文件和部署计划,几乎所有的这些东西都能在项目的src/resources子树中找到。
For illustration purposes, our example program throughout this article is a hypothetical computer game called Kill Bad Aliens. In it, you will control a spaceship.
为了便于解释,本文全篇都将使用一个示例太空游戏程序,称为KillBadAliens。
This paper discusses the contents and the implementation of the operating system course design and provides a flow chart and parts of the eXample program code.
本文主要叙述了《操作系统课程设计》的内容和实现方式,并给出流程框图和部分程序代码。
The example program would benefit from such enhancements as keeping the buffers synchronized or checking if the complete buffer must be redrawn when contents are lost.
示例程序将受益于一些增强功能:如使缓冲区保持同步,或者检查当内容丢失时是否必须重新绘制整个缓冲区。
The example program purposely does not synchronize buffers by remembering what wasn't drawn to the current buffer — letting you see multiple buffers at work more clearly.
示例程序通过记住什么东西没有绘制到当前缓冲区来有意不让缓冲区同步—以便让您更清楚地了解同时工作的多个缓冲区。
To our second example program just before the call to MainLoop, the program will print out the canvas coordinates to the console whenever we click the left mouse button over the canvas window.
放到我们第二个示例程序中的MainLoop调用之前,那么当我们在画布窗口中单击鼠标左键时,画布坐标将显示在屏幕上。
This article's example program (see Download) — NumberInput, shown in Figure 1 — is a Swing application that lets you explore several methods for converting textual input to a numerical value.
本文的样例程序(参见下载)——NumberInput,如图1所示,是一个Swing应用程序,该程序考察几种将文本型输入转换为数值的方法。
In this case GDB will take control and interrupt the program, allowing you to examine the state of everything and hopefully find out why. To provoke this scenario we'll use an example program.
这种情况下,gdb会获得控制并中断程序,从而可以让您检查所有事物的状态,如果运气好的话,可以找出原因。
Whetheryou're reading an example program, learning the background to a particularprocess, or being introduced to a new chapter, the style and form used allowthe reader to grasp concepts quickly.
不管你是阅读一个编程实例,还是理解某个进程的前因后果,或者是阅读新章节的前文介绍,作者的行文风格与形式都使得读者更易掌握新的概念。
You can see the functions in action in the example program demo.jdic.FileExtensionDemo. The top part of the application lets you to browse for a file and then open it, as you can see in Figure 4.
可以在示例程序demo . jdic . FileExtensionDemo中看到这些函数的实际作用。
According to the designing and implementing of the CGI component, the realization methods of dynamic data exchange are discussed based on CGI technology. At last, an example program is listed.
结合CGI组件的设计和实现,对基于CGI技术实现动态数据交互的方法进行了探讨,并给出部分程序实例。
Tuition for the Master of Social Work program, for example, will cost twenty-seven thousand dollars in the coming year.
例如,接下来一年社会工作硕士项目的学费将会是27000美元。
Tuition for the Master of Social Work program, for example, will cost twenty-seven thousand dollars in the coming year.
例如,接下来一年社会工作硕士项目的学费将会是27000美元。
应用推荐