也可以像清单27这样编写函数。
那么让我们投入进去,开始编写函数吧。
编写函数,输出图的遍历序列。
编写函数时的主要思想是,尽量减少从其它代码对其的调用。
The idea is to write a function to minimize calls to it from other code.
将查询链接在一起是编写函数转换的一个关键部分。
Chaining queries together is a key part of writing functional transformations.
正如您可以看到的一样,使用简化的PowerPCABI编写函数非常简单。
As you can see, writing functions using the simplified PowerPC ABI is very straightforward.
如果您决定编写函数而不是方法,我还将向您展示一个样例,介绍如何设置插件架构。
I'd also like to show you an example of how you'd set up your plug-in architecture if you decided to write a function, as opposed to a method.
你可以通过编写函数来选择菜单选项,弹出对话框,设定变量值或发布命令。
You can write functions to select a menu choice, pull up a dialog, set a value for a variable, or issue a command.
给定一个无向图,编写函数找出所有的最小高度树,并返回其根标号的列表。
Given such a graph, write a function to find all the MHTs and return a list of their root labels.
稍后还会看到(在编写函数中)这些函数如何构成了Haskell中众多递归函数的基础。
You'll see later (in Writing functions) how these functions form the backbone of many recursive functions in Haskell.
DojoToolkit包含大量小部件,可用来在HTML内声明式使用,减少了手工编写函数的需要。
The Dojo Toolkit contains a wealth of widgets that can be used declaratively within HTML, reducing the need for you to hand code the function.
特别地,要使用Pyrex,需要用类似python的语言编写函数,这种语言将类型声明添加到所选变量中。
In particular, to use Pyrex, you write functions in a Python-like language that adds type-declarations to selected variables.
这种方法要求我为添加的每个函数编写单元测试,并且要维护这些测试。
This methodology requires that I write unit tests for every function I add, and that I maintain those tests.
还可以立即保存在命令行上编写的任何函数。
You can also instantly save any function you write at the command line.
在编写扩展函数时,应谨慎处理根据实参类型进行的方法重载。
Be cautious about method overloading based on argument type when you write extension functions.
相反,编写一个函数,当调用它时,返回生成器。
Instead, one writes a function that, when called, returns a generator.
用其他语言编写自己的扩展函数通常费时费力。
To write your own extension function in another language is often complex and time consuming.
提供页面元素的任务由编写该函数的开发人员负责。
The burden of supplying the page elements rests with the plug-in developer writing the function.
清单6给出一个用定制编程语言编写的函数。
Listing 6 shows a function defined in your custom programming language.
与编写使用关系数据类型的用户定义函数相比,编写使用XML 的用户定义函数的差异并不大。
Writing user-defined functions that work with XML isn't much different from writing user-defined functions that work with relational data types.
如果是在应用程序中编写这个函数,而不是将其定义为udf,那么SQL查询工具(例如CLP)的用户将不能访问这个函数。
If you write the function in an application program instead of a UDF, then users of SQL query tools such as CLP will not be able to access your function.
编写这种递归函数需要执行的步骤如下所示,清单3给出了这个函数的源代码。
The steps required to write such a recursive function are listed below, and Listing 3 presents the source code of the function itself.
PHP5中对面向对象的函数进行了重新编写,允许更多函数和功能提供更佳的性能。
The object-oriented function was rewritten for PHP 5, allowing for better performance with more function and features.
接下来,编写一个函数显示blog中的这些post。
现在,您可以开始编写更多的函数来指定其他X FormsXHTML标记的内容。
You may now begin writing more functions that specify the contents of other XForms XHTML tags.
要解决这个问题,需要在ajax函数编写完html后将Datepicker绑定到日期输入字段。
To fix this, you bind the Datepicker to the date input field after the Ajax function writes the HTML.
Test提供了许多自动编写测试脚本的函数。
Test provides a number of functions that automate writing test scripts.
在编写递归函数时,命名let能够相当程度地减少键盘输入以及出现错误的数量。
The named let cuts down considerably on the amount of typing and mistakes made when writing recursive functions.
我们需要使用回调函数来编写代码。
我们需要使用回调函数来编写代码。
应用推荐