成功函数将通过一个单独的position类型的参数传递。
The success function will get passed a single parameter of type Position.
如果您忽略函数的返回状态,当它们失败或部分成功的时候,您也许会迷失。
If you ignore the return status of functions, you may miss when they fail or partially succeed.
它的参数是回调函数:一个用于成功,一个用于失败。
Its parameters are callback functions: one for success, and one for failure.
然后,您可以定义函数来处理成功和失败响应。
You then define functions to handle a successful response and a failure.
在成功打开信号量之后,这个函数就会返回这个信号量的句柄,这样就可以在后续的调用中使用它了。
Upon a successful opening, this function returns the handle to the semaphore so that it can be used in the subsequent calls.
一旦返回一个带有我们的用户名的表清单,就可以确认连接成功,从而可以在我们编写的脚本的剩余部分重用该连接函数。
Once we have confirmed that the connection is successful by returning a list of the tables with our user name, we can re-use that connection function within the rest of the scripts that we write.
贫民区是成功的劳动力市场和失灵的土地市场的一个函数。
Slums are a function of successful labor markets and failed land markets.
通过成功处理程序和错误处理程序函数执行查询。
The query is executed with a success handler and an error handler function.
成功遍历xml树之后,该函数就用PHP关联数组转换和存储了所有的XML元素(根元素和所有的孩子元素)。
At the end of a successful XML tree walk, this function will convert and store all the XML elements (the root element and all the child elements) in a PHP associative array.
代码中包含服务成功响应异步请求时调用的回调函数。
This code includes a callback function when your service responds successfully to your asynchronous request.
一个回调函数,在语句成功执行时调用。
A callback function invoked if the statement is executed successfully.
函数返回错误代码或成功代码;如果是错误代码,则代码本身可用于指出何处出错。
The function returns an error or success code; if it's an error code, the code itself can be used to figure out what went wrong.
如果函数成功,则返回值非零。
函数调用成功时返回零,失败时返回非零的错误代码。
This call either returns zero on success or a non-zero error code on failure.
在成功完成了的请求上调用abort不起任何作用,并且仅当浏览器收到一个对旧请求的延时响应的情况下,onreadystatechange才被设置为一个空函数。
Calling abort on a successfully completed request won't do anything and onreadystatechange is set to an empty function just in case the browser gets a delayed response for an old request.
和copy _ to_user一样,该函数在成功时,返回0,否则返回一个非零数,指出不能复制的字节数。
As with copy_to_user, the function returns zero on success and non-zero to indicate a failure to copy some number of bytes.
该函数在成功时,返回0,否则返回一个非零数,指出不能发送的字节数。
The function returns zero on success or non-zero to indicate the number of bytes that weren't transferred.
回调函数首先通过访问响应的第一个节点来确定调用是成功还是失败:PHP文件以一个名为successorerror的节点返回结果。
The callback function first determines whether the call was a success or a failure by accessing the first node in the response: the PHP file returns this result as a node named success or error.
那个操作成功后,该脚本调用updateauthorstable函数,使用这个新行更新显示。
When that operation is successful, it then calls the updateAuthorsTable function to update the display with the new row.
在这个函数成功返回之后,进程的新能力状态完全由cap _ p的内容决定。
The new capability state of the process will be completely determined by the contents of cap_p upon successful return from this function.
您只需做一件事:添加一个函数,以便装载成功的JSON请求,并填充hotels。
You have just one more thing to do: add a function to load the successful JSON request and populate the hotels.
如果编译成功,便可以在函数名上单击右键并选择Run。
If the build is successful, you can now right-click the function name and select Run.
成功连接上链接后,db 2将返回一个连接处理资源,该资源一直处于活动状态直至使用db2_close函数将其关闭。
Once the link is successfully connected, db2 returns a connection handle resource that remains active until it is closed using the db2_close function.
最后一个字段success是Web服务器返回成功响应时调用的函数。
The final field, success, is a function that will be called when the Web server returns a successful response.
如果调用成功(返回HTTP 200),则会调用update函数。
If the call is successful (returning an HTTP 200), the update function is called. Listing 15 USES Prototype for the Ajax call.
当Ajax请求从服务器成功返回时,该函数也采用另一函数作为一个回调。
The function also takes another function as a callback for when the Ajax request returns successfully from the server.
第三个参数也是可选的,是Ajax函数成功返回时所要执行的函数。
The third argument, also optional, is a function to execute if the Ajax function returns successfully.
函数semop原子地执行sops中包含的一组操作(只在所有操作都可以同时成功执行时,才会将所有的操作同时一次执行完)。
The function semop performs a set of operations contained in sops atomically (all operations performed at the same time only if they can be performed at the same time).
由于确实还有这样的函数,所以它执行转换,编译成功。
Indeed, there is, so it performs this conversion, and all is well.
每一次当我们调用任何更新函数,或是更新成功完成后,我们写入一个日志消息。
Every time we call any of the updating functions and the update succeeds, we write a logging message.
应用推荐