为了解决这一问题,工作函数中的延迟应该保持最小或者干脆不要。
To alleviate this, delays in worker functions should be kept to a minimum or avoided altogether.
顺便说一下,如果新增的众多2.0函数有一个能够完成这项工作,可能就不需要使用扩展函数了。
Incidentally, you might no longer need the extension function if one of the many new 2.0 functions can do the job.
这个设计允许在这些函数中完成额外的工作,并且不再多个函数实现之间重复。
This design allows additional work to be done in these functions, and not duplicated across multiple function implementations.
在构造类的过程中,执行了所有注册工作,包括扩展注册和函数注册。
During the process of class constructing, all the registration work is done, including extension and function registration.
现在来看看每个单独函数是如何工作的。
假设您想要一个脚本或函数来操作当前工作目录中的所有文件或目录。
Suppose you want a script or function that operates on all files or perhaps directories in the current working directory.
下面的例子说明了几个核心的工作队列api函数。
The following example illustrates a few of the core work queue API functions.
清单3提供了全局工作存储,可由程序中定义的所有函数访问。
Listing 3 provides the global working storage that is accessible by all functions defined in this program.
这项工作之所以放到构造函数中来做,是为了只执行一次;随后,将从方法缓存中重用这个类。
This work is done in the constructor so that it is only performed once; subsequently, this class will be reused from the method cache.
这是加载模块的主要函数,它利用许多其他函数完成困难的工作。
This is the main function for module loading, making use of numerous other functions to do the difficult work.
一个空的函数,它作为实际执行所需工作的代码的占位代码。
An empty function as a placeholder for the code that will actually perform the desired work.
在探究新的内置函数如何工作之前,您应该先要熟悉新的DB 2数据类型,即XML数据类型。
Before examining how the new built-in functions work, you should become familiar with a new DB2 data type, the "XML data type".
现在,让我们看一下能够用于工作队列的API函数。
Now, let's look at the API functions that can be found for work queues.
手工验证一下该函数,可知其工作正常。
A manual verification shows that the functions are indeed working as desired.
还有一些帮助函数用于清理或取消工作队列中的任务。
There are also a number of helper functions that you can use to flush or cancel work on work queues.
SOAP大大简化了交换消息和调用远程函数的工作。
SOAP has significantly simplified how you can exchange messages and call remote functions.
这些操作并非都是必需的,但是一个文件系统要想正常工作,就需要其中的很多函数。
None of these operations are absolutely essential, but many are needed for a filesystem to work properly.
扩展的HTML页面间也需要通信,因为扩展下面的所有HTML页面都在一个进程下工作,可以互相调用函数。
The HTML pages within an extension often need to communicate. Because all of an extension's pages execute in same process on the same thread, the pages can make direct function calls to each other.
创建一个函数来做这个工作又有,什么意义呢?对不起我没听清?
例如,如果希望了解某个特定的maxima函数是如何工作的,那么就可以简单地输入example (desolve),然后它会提供很多样例用法。
For example, if you want to know how a particular Maxima function works, you can simply type example (desolve) and it provides a number of example usages.
在教程的末尾,您将拥有自己的XQuery函数示例,它能够正常工作并且可以满足业务需求。
At the end of this tutorial, you will have a working example of an XQuery function and its applicability to a business requirement.
不过,如果您初次使用Ajax的经验与我类似的话,您可能已经做了太多的工作—手动实现各种函数、经历创建一个受ajax驱动页面的艰难过程。
If your first experience with Ajax was anything like mine, however, you probably did too much work - hand-rolling your functions and struggling through the process of creating an Ajax-driven page.
比如,可以使用Vim的内置getcwd函数为当前的工作目录创建缩写,如下所示。
For example, you could use Vim's built-in getcwd function to create an abbreviation for the current working directory, like so.
就我个人而言,获悉jQuery之前,若想添加ajax函数往往需要大量工作。
Personally, I know that before jQuery, the idea of adding Ajax functions everywhere seemed like a lot of work.
本文假设您拥有Linux命令行函数的工作知识,理解Samba配置的基础知识。
This article assumes that you have a working knowledge of Linux command-line functions and that you understand the basics of Samba configuration.
注意,为了单点登录身份认证正确工作,您必须在onActivityResult()函数中包含一个对authorizeCallback()方法的调用。
Note that for the single sign-on authentication to properly work, you must include a call to the authorizeCallback() method in your onActivityResult() function.
这些工作由EmitFragment函数完成,其中包含了大约250行的switch语句。
The bulk of the work is done by the 250 line switch statement that makes up the EmitFragment function.
要让这个购物车可以更好地工作,产品的add - to - cart函数需要调用Ajax,这样不用对页面进行刷新。
To make this shopping cart example buzzword compliant, the product add-to-cart function is done with an Ajax call without refreshing the page.
上述函数要正常工作,必须在代码开头按如下方式正确设置变量 $dev
The above functions behave correctly if the variable $dev is set correctly at the beginning of the code, as follows
上述函数要正常工作,必须在代码开头按如下方式正确设置变量 $dev
The above functions behave correctly if the variable $dev is set correctly at the beginning of the code, as follows
应用推荐