简单调度程序网络测试的可能结果代码和描述。
Possible result codes and descriptions of simple dispatcher network tests.
通过一小段脚本将结果代码抽取出来并与期望值进行比对。
The result code is extracted and compared to the expected value thanks to a tiny script.
接下来,检查结果代码,看看这个事件是否与成功的查询有关。
Next, we check the result code to see if this event relates to a successful query.
So, inside of code, or inside of a script, there's no print, unless we make it explicit.
因此,在代码里面,或者在脚本里面,不会有显示结果的功能,除非我们让它这么做。
So things break if you try-- if the computer tries to take you too literally so it would not be correct generally to do something like that.
如果你把它分开-,那么电脑会逐字逐句地解析,你拆开写的代码,由此得到的结果一般都是错误的。
OK, what I would like you to see is I've been printing out, as I went along, actually let's back up slightly and look at the code. There's merge sort.
好的,我想让你们看就是我运行过后,打印出来的结果,我们再回头看一下这段代码,这就是归并排序,输入一个列表。
应用推荐