• This function returns the size of the value buffer on success and 0 if the name specified is not a valid environment variable name.

    如果成功,则此函数返回值缓存的大小,如果指定的名称并不是一个合法的环境变量名,则返回0。

    youdao

  • 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

  • An attacker may be able to exploit a buffer overflow by changing the value of other data in the function; none of these approaches counter that.

    攻击者也许能够通过改变函数中其他数据的值来利用缓冲区溢出;没有哪种方法能够防止这点。

    youdao

  • This function accepts a pointer to a user space buffer, a pointer to a kernel buffer, and a length defined in bytes.

    该函数接受一个指向用户空间缓冲区的指针、一个指向内存缓冲区的指针、以及一个以字节定义的长度。

    youdao

  • For the actual buffer processing, the function is perfectly capable of handling zero-sized buffers by simply returning.

    对于实际的缓冲区处理,函数只需直接返回,就能够很好地处理大小为零的缓冲区。

    youdao

  • For each line in the line buffer for a CU, check for the low address match to find the first line number for the function.

    要获得CU的行缓冲的每一行,则需要检查低位地址匹配以找到函数的第一行的行号。

    youdao

  • This protects against stack, buffer, and function pointer overflows, all without recompilation.

    这样将保护程序代码避免堆栈、缓冲区和函数指针溢出,而且全都不需重新编译。

    youdao

  • The function in Listing 3 frees any memory blocks in the linked list, then frees the Buffer allocated by newBuffer().

    清单3 中的函数释放链表中的所有内存块,然后释放由 newBuffer()分配的Buffer 。

    youdao

  • You may benefit by implementing a function that returns the number of bytes currently stored in an abstract buffer

    实现一个函数来返回当前存储在抽象缓冲区中的字节数目,这样可能会带来好处。

    youdao

  • In a similar fashion, you can read data segments off segment by segment from an abstract buffer with the following function.

    采用类似的方式,您可以使用以下函数,逐段地从抽象缓冲区读取数据段。

    youdao

  • The string passed into printk is then copied into the kernel log buffer using a special function that manages the bounds of the ring (emit_log_char).

    这个字符串会被传递给printk,然后它会被一个管理缓冲边界(emit_log_char)的特殊函数复制到内核日志缓冲区中。

    youdao

  • To incrementally append data segments to an abstract buffer, use the following function

    要逐步向抽象缓冲区追加数据段,可使用以下函数

    youdao

  • The snprintf function allows you to print safely into a buffer of fixed size.

    snprintf函数让您可以安全地输出到固定大小的缓冲区。

    youdao

  • The strncpy_from_user function copies a string from user space into a kernel buffer, given a user space source address and Max length.

    strncpy _ from_user函数将一个字符串从用户空间复制到一个内核缓冲区,给定一个用户空间源地址和最大长度。

    youdao

  • First, we create need a buffer to write to for the sprintf call using the malloc function.

    首先,我们在使用malloc函数中的sprintf调用时需要创建一个缓冲器(buffer)。

    youdao

  • As a copy from user space, this function first checks that the buffer is readable via access_ok.

    由于从用户空间复制,该函数首先使用access_ok检查缓冲区是否可读。

    youdao

  • The strnlen_user function is used just like strnlen but assumes that the buffer is available in user space.

    strnlen_user函数也能像strnlen 那样使用,但前提是缓冲区在用户空间可用。

    youdao

  • The Uniq function is declared to take a range, so it will only be called once, even when invoked on a range of lines in the buffer.

    Uniq函数被声明为接受一个范围,因此只能调用一次,即使在缓冲区内的一个行范围上调用时。

    youdao

  • Otherwise, we call the setvbuf() function to set a buffer of size INBUFSIZ (earlier #defined as 16KB) for reading from fin.

    若能打开,则调用setvbuf()函数来设置大小为INBUFSIZ的缓冲区(以前用 #defined 定义为16KB)以从fin 进行读取。

    youdao

  • This function is available everywhere, and you should use it just about all the time; a lot of security holes have been based on buffer overruns in sprintf, and this can protect against them.

    这个函数随处可用,而且您应该始终使用它;很多安全漏洞都归咎于sprintf中的缓冲区溢出,而这个函数可以预防这个问题。

    youdao

  • The strnlen_user function first checks to see that the user buffer is readable through a call to access_ok.

    strnlen_user函数首先通过调用access_ok检查用户缓冲区是否可读。

    youdao

  • Otherwise, the buffer will either be deleted when MemBufFormatTarget is destroyed or it will be reset when the reset function is called.

    否则,该缓冲区会在破坏MemBufFor matTarget时被删除,或者在调用reset函数时被复位。

    youdao

  • In Listing 2, the function allocates a piece of memory containing a buffer and initializes its entries to indicate an empty abstract buffer.

    在清单2中,该函数分配了包含一个Buffer的内存块,并初始化它的条目以指明它是一个空抽象缓冲区。

    youdao

  • Also, sometimes we need to copy information between the buffer, and this is done by the AddAndFlush (..) function in the IOCPS class.

    我们有时也需要在两个内存间复制信息,CIOCPS类中的AddAndFlush函数可以实现。

    youdao

  • The strnlen_user function takes two arguments: the user space buffer address and the maximum length to check.

    strnlen_user函数带有两个参数:用户空间缓冲区地址和要检查的最大长度。

    youdao

  • This function takes a 32-bit integer from the request, and USES it in an arithmetic operation that calculates the size of a dynamic buffer.

    此函数从请求中提取一个32位整数,并使用它中的算术运算来计算一个动态缓冲区的大小。

    youdao

  • Far more importantly, however, the function does only one-third as many buffer accesses, and the code is much clearer and more maintainable.

    不过,更重要的是该函数的缓存访问量只有原来的三分之一,并且代码更加简洁,更加易于维护。

    youdao

  • This function will create a new buffer feature data layer around the input point features at user specified distance.

    此函数将以输入点为基础,按照用户指定的距离创建一个新缓冲区轮廓数据层。

    youdao

  • The readfile function dumps the entire contents of a file or Web page to the default output buffer.

    readfile 函数将把文件或Web页面的全部内容转储到默认的输出缓冲区。

    youdao

  • The readfile function dumps the entire contents of a file or Web page to the default output buffer.

    readfile 函数将把文件或Web页面的全部内容转储到默认的输出缓冲区。

    youdao

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

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

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