编写函数,输出图的遍历序列。
将查询链接在一起是编写函数转换的一个关键部分。
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.
如果仔细看一下此代码,就会发现这完全由静态方法组成,所以它也可以在无需更改扩展行为的情况下作为一系列函数编写。
If you look at the code, this is made up entirely of static methods, so it could have also been written as a series of functions without changing the extension's behavior.
另外一种选择是编写一个函数,只获取用户选择的插件的直接依赖性清单。
An alternative is to write a function that fetches only the immediate dependency list for a user-selected plug-in.
在编写扩展函数时,应谨慎处理根据实参类型进行的方法重载。
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.
请注意在SPE上编写深度递归函数有些问题,原因是在SPE上没有任何堆栈溢出保护,而且本地存储也很小。
Just note that writing deeply recursive functions on the SPE is problematic because there is no stack overflow protection on the SPE, and the local store is small to begin with.
提供页面元素的任务由编写该函数的开发人员负责。
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.
如果您调用一个可能抛出检查异常的已有函数,您应编写一个包装器函数,捕获并处理此类异常,然后在XSLT中调用包装器方法。
If you invoke a preexisting function that can throw a checked exception, you should write a wrapper function that catches and handles that exception; then, invoke the wrapper method from XSLT instead.
与编写使用关系数据类型的用户定义函数相比,编写使用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.
现在,您可以开始编写更多的函数来指定其他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.
开始时我尝试使用正则表达式和index函数来编写Algorithm:InversionList。
At first, I tried to write Algorithm: : InversionList using regular expressions and the index function.
假设您的新函数是用Clojure的内置函数编写的,则它将能够自动支持所有相同的类型。
Assuming your new function is written in terms of Clojure's built-in functions, it will automatically be able to support all the same types.
正如在第一篇文章中看到的,py . test和nose都支持编写为简单函数的测试,这会大大简化python测试的编写。
As you saw in the first article, both py.test and nose have made tests in Python vastly easier to write by supporting tests that are written as simple functions, like.
正如在第一篇文章中看到的,py . test和nose都支持编写为简单函数的测试,这会大大简化python测试的编写。
As you saw in the first article, both py.test and nose have made tests in Python vastly easier to write by supporting tests that are written as simple functions, like.
应用推荐