• If a function needs to maintain the state of some data over successive calls, such as a working buffer or a pointer, the caller should provide this data.

    如果函数需要在一系列调用期间维持某些数据的状态,比如工作缓存或指针,那么调用者应该提供此数据。

    youdao

  • You can then use the return pointer to configure other aspects of the virtual file, such as the function to call when a read is performed on the file.

    然后就可以使用这个返回的指针来配置这个虚拟文件的其他参数,例如在对该文件执行读操作时应该调用的函数。

    youdao

  • You use the access_ok function to check the validity of the pointer in user space that you intend to access.

    您可以使用 access_ok函数在您想要访问的用户空间检查指针的有效性。

    youdao

  • You open the file by calling the in function of the DL_Dxf object and passing a pointer to a class that inherits from the DL_CreationAdapter abstract class.

    通过调用 DL_Dxf对象的in函数并将指针传递给一个继承 DL_CreationAdapter抽象类来打开此文件。

    youdao

  • However, the method copies a pointer to the selected function into a local variable, and then calls the function with the call method of the function object, rather than calling it directly.

    但是,这个方法将所选函数的指针复制到一个局部变量中,然后用function对象的call方法调用这个函数。而不是直接调用它。

    youdao

  • Listing 8 is slightly more complex than the previous example because of the sigset function, which assigns a function pointer to a signal handler.

    由于使用了sigset函数(它向信号处理程序分配一个函数指针),清单8比前一个示例稍微复杂一点,。

    youdao

  • The clear_user function is used to zero a block of memory in user space. This function takes a pointer in user space and a size to zero, which is defined in bytes.

    clear_user函数被用于将用户空间的内存块清零。

    youdao

  • If a function is executing, then the stack pointer is pointing to the top of the whole stack, which is also the top of that function's activation record.

    如果一个函数正在执行,那么堆栈指针就会指向整个堆栈的顶部,这也是该函数活动记录的顶部。

    youdao

  • During normal operation of a program, when a function is called, any arguments for the called function along with a pointer to the return location are placed onto the stack.

    在程序的正常操作过程中,当调用一个函数时,被调用函数的所有参数以及返回位置的指针都放在栈中。

    youdao

  • Does not return a pointer to static data; all data is provided by the caller of the function?

    不返回指向静态数据的指针;所有数据都由函数的调用者提供。

    youdao

  • Values of this type can now be allocated using the built-in function new, which returns a pointer to the value in memory with all slots initialized to the zero value.

    现在这一类型的值可以通过内建的函数new来分配,这将返回一个指针,指向一块内存单元,其所占内存槽初始化为零。

    youdao

  • A pointer to a variable of this type is passed to the process_args function, and on return, the variable contains values obtained from arg processing.

    指向该类型变量的指针被传递到process_args函数,返回该指针时,它包含从参数处理过程获得的值。

    youdao

  • You can simulate this yourself by using a printf call and the strerror function, which returns a pointer to the textual representation of the current errno value.

    您可以通过使用printf调用和strerror函数(该函数返回当前errno值的文字表示形式的指针)来模拟此程序。

    youdao

  • An array is converted to a pointer to the type of the array; a function is converted to the appropriate pointer to function type.

    将数组转换为指向数组类型的指针,将函数转换为指向函数类型的适当指针。

    youdao

  • If the function is virtual and the call is through a reference or pointer, then the compiler generates code to determine which version to run based on the dynamic type of the object.

    如果函数是虚函数,并且调用是通过引用或者指针,编译器基于动态类型生成代码确定调用哪个版本。

    youdao

  • The reset() function moves the internal pointer to the first element of the array.

    函数的作用是:将数组内部的指针移动到数组中的第一个元素。

    youdao

  • Recall that when we pass an argument of array or function type, that argument is automatically converted to an pointer.

    回忆一下,传递数组或函数类型实参的时候,该实参自动转换为一个指针。

    youdao

  • Pointer to the callback function table of the native application.

    指向本地应用程序的回调函数表。

    youdao

  • If the application needs to subclass a window, it fills in the function pointer with the address of its own function.

    如果程序需要为一个窗口生成子类,就在函数指针里填上自己函数的地址。

    youdao

  • C plus plus language has the powerful function in pointer and array and object-oriented programming (OOP) technology which are in favor of programming.

    语言在指针和数组方面的强大功能,以及面向对象技术,极大地方便了程序的编写。

    youdao

  • The static analysis of member call is defined as determining the type of member function pointer or reference in compiling stage.

    在面向对象程序设计中,成员调用的静态分析是指在编译阶段确定调用成员函数指针或引用的类型。

    youdao

  • The rewind function "rewinds" the position of the file pointer to the beginning of the file.

    函数的作用是:将文件指针的位置倒回到文件的开头。

    youdao

  • This function moves the file pointer from its current position to a new position, forward or backward, specified by the number of bytes.

    整个函数将文件指针从当前位置向前或向后移动移动到一个新的位置。

    youdao

  • The layout of the buttons meets the human engineering design specifications, presenting comfortable feeling and integrating the function of laser pointer.

    按键布局符合人体工程学设计规范,手感舒适,集成了激光教鞭的功能。

    youdao

  • Specifically, I give the application this chance by way of a function pointer.

    我通过一个函数指针给程序这个机会。

    youdao

  • The probability of the failure depends on the time between marshaling the delegate and the callback on the function pointer as well as the frequency of garbage collections.

    该故障发生的可能性取决于从封送委托到对函数指针发出回调之间的时间以及垃圾回收的频率。

    youdao

  • The probability of the failure depends on the time between marshaling the delegate and the callback on the function pointer as well as the frequency of garbage collections.

    该故障发生的可能性取决于从封送委托到对函数指针发出回调之间的时间以及垃圾回收的频率。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定