What is the translation of " MALLOC " in Chinese?

Examples of using Malloc in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
I need stdlib for malloc and free.
代码为malloc和免费.
Malloc recalled he had once had a wife;
马洛克回忆起他曾经有过妻子;.
Do I cast the result of malloc?
C-我输入malloc的结果吗??
Malloc was not declared within this scope.
Malloc未在此范围内宣布.
Do you cast the result of malloc?
C-我输入malloc的结果吗??
Malloc and free will always perform better than GC.
Malloc和free的性能总是比GC好。
This is gonna define malloc and free.
简单来说,就是malloc与free。
In Chapter 8 we will show one way to implement malloc.
第8章将介绍实现malloc函数的一种方法。
It is required that every malloc is paired with a corresponding free.
每个malloc都要有一个对应的free。
You don't even need to cast return value of malloc in C.
在C中,您不需要转换malloc的返回值。
We cannot expect that if malloc returns NULL, then the program will crash.
一旦malloc失败返回NULL,这个程序就会崩溃。
New and delete replace the C usage of malloc and free.
C++中new和delete是对内存分配的运算符,取代了C中的malloc和free。
If malloc is used to obtain storage, free should be used to free it.
如果使用了malloc来获取存储空间,那么就应该使用free来释放。
Give a code example of malloc and free.
先来看看一个简单的使用malloc和free的例子.
The heap is theregion of memory which is allocated with functions like malloc.
Heap:是由malloc之类函数分配的空间所在地。
Memory for the new string is obtained with malloc(3), and can be freed with free(3).
使用malloc(3)获得新字符串的内存,可以使用free(3)释放。
In C++ data created on the heap will be pointed to by pointers andallocated with new or malloc.
在C++中,在堆上创建数的据使用指针访问,用new或者malloc分配内存。
According to the C standard, malloc is only required to return data that is 8 byte aligned.
按照C语言标准,malloc返回的数据只需要按8字节对齐。
If ptr is NULL,the behavior is the same as calling std::malloc(new_size).
若ptr是NULL,则行为与调用malloc(new_size)相同。
In principle, then, each malloc must now traverse the free list to find a suitable freed spot.
那么,原则上,每次malloc现在必须遍历空闲表以找到合适的位置。
But ok, it downloaded over 512 megabytes of data so it makes one malloc per 15KB of data.
而它下载超过512兆字节的数据,所以它每15KB数据有一次malloc
Malloc may sound similar to Malak, the antagonist of the Star Wars: Knights of the Old Republic video game.
Malloc听起来可能与《星球大战:旧共和国骑士》游戏的对手Malak相似。
In C and also C++,you obtain memory by calling a special function which is called malloc for memory allocator.
在C/C++中,你获得内存空间需要调用一个特定的函数,即内存分配的malloc
When you invoke malloc, it gives us an argument the number of bytes that you would like to have for your data structure.
当你调用malloc时,它需要一个参数--字节数量你的数据结构要多少字节。
Any object that is smaller than 256 bytes uses this allocator,while anything larger uses the system's malloc.
Python中所有小于256个字节的对象都使用pymalloc实现的分配器,而大的对象则使用系统的malloc
I'm reasonably comfortable with C's malloc and free concept, but Cocoa's references counting scheme has me rather confused.
我对C的malloc和free的概念很合适,但Cocoa的引用计数方案让我颇为困惑。
The alloc of Chapter 5 does not guarantee any particular alignment,so we will use the standard library function malloc, which does.
第5章介绍的alloc函数不保证任何特定类型的对齐,所以,我们使用标准库函数malloc,它能够满足对齐要求。
The standard library provides analogous functions called malloc and free that have no such restrictions; in Section 8.7 we will show how they can be implemented.
标准库中提供了具有类似功能的函数malloc和free,它们没有上述限制,我们将在8.7节中说明如何实现这些函数。
Malloc requires entering kernel mode, use lock/semaphore(or other synchronization primitives) executing some code and manage some structures needed to keep track of allocation.
Malloc需要进入内核模式,使用lock/semaphore(或其他同步原语)执行一些代码并管理一些需要的结构跟踪分配。
Results: 29, Time: 0.023

Top dictionary queries

English - Chinese