见事件处理函数要求。
一个标签处理函数类。
注意,这些元素上设置了与鼠标操作相关的三个事件处理函数。
Notice that these elements have three different mouse action-related event handlers.
一旦字符串处理函数失败,就把目标缓冲区设成NULL。
mysig_handler是在接收到信号时要调用的处理函数。
mysig_handler is the handler function that will be invoked at the time of signal delivery.
现在的中断处理函数的返回代码是一个 irqreturn_t类型。
The interrupt handler function now has a return code of type irqreturn_t.
然后把这个事件处理函数分配给onreadystatechange属性。
This handler function was then assigned to the onreadystatechange property.
operation-要处理的函数或过程的名称。
在这个程序中,我们添加了另一个用于错误处理的函数。
In this program, we add another function for error handling.
在回调函数中处理服务器的响应。
此指示符告知编译器要专门处理那个特殊的函数。
This directive instructs the compiler to give special treatment to that particular function.
编写处理onclick事件的函数,见清单8。
Write the function for handling the onclick event, shown in Listing 8.
然后,您可以定义函数来处理成功和失败响应。
You then define functions to handle a successful response and a failure.
清单3中的第二个函数将处理文本区域中的每次击键。
The second function in Listing 3 processes each keystroke in the text area.
避免使用eval函数来处理JSON数据块。
Avoiding use of the eval function to process a block of JSON data.
第二个参数是真正处理请求的一个函数。
The second argument is a function that will actually handle the request.
函数参数与其他本地数据的处理稍有不同。
Function parameters are handled a little differently from other local data.
因为符号链接需要特殊的处理,所以这里使用了lstat函数。
Because symbolic links get special treatment, use the lstat function here.
response是一个用来处理非json返回值的函数。
Response is a function that handles return values that are not JSON.
这个成员函数确保每个消息都被处理。
This member function ensures that every message is processed.
定义回调函数,以处理通信状态和响应数据。
Define a call-back function to process the communication states and the response data.
定义一个函数以处理事件;特别是,要实现以下任务。
Define a function to handle the event; specifically, implement these tasks.
这样,当服务器处理完请求后就会自动调用该函数。
Then, when the server has processed the request, it will automatically call that function.
函数calculate_bounds专门用于处理该任务。
这些函数处理或返回字符串。
这些函数将处理或返回日期和时间值。
Shell脚本处理参数的方式与函数处理参数的方式相同。
Shell scripts handle parameters in the same way as functions.
注意该处理器函数必须具备由委托定义的签名。
Note that the handler function must have the signature defined by the delegate.
本系统使用一组可事后进行清理的处理程序函数。
This system uses a set of handler functions that can clean up after themselves.
当请求类型与正规表达式匹配时,就会调用处理器函数。
The handler function is called when the request type and the regular expression match.
应用推荐