What is the translation of " MALLOC FUNCTION " in Russian?

функция malloc
malloc function
функции malloc
malloc function

Examples of using Malloc function in English and their translations into Russian

{-}
  • Official category close
  • Colloquial category close
This is the 6th part,which focuses on the malloc function.
Это шестая часть,которая будет посвящена функции malloc.
Assume the malloc() function is used 1000 times in the code.
Пусть в программе функция malloc() используется 1000 раз.
In C++, this allocation is usually performed by the malloc function or new operator.
В C такое выделение обычно осуществляется функцией malloc или оператором new.
If the malloc function is unable to allocate the memory buffer, it returns NULL.
Если функция malloc не смогла выделить буфер памяти, то она возвращает NULL.
However, the found defects will be enough for us to discuss the malloc function.
Тем не менее, найденных дефектов нам будет достаточно для обсуждения функции malloc.
The comment tells us that the'malloc' function was used earlier to allocate memory.
Комментарий подсказывает нам, что раньше для выделения памяти использовалась функция' malloc.
He argues that they understand what they are doing when they don't check the result of the malloc function call.
Он утверждает, что они понимают, что делают, когда не проверяют результат вызова функции malloc.
Just because the malloc() function possesses an argument of memsize type and 5 is quite an appropriate value.
Функция malloc() принимает аргумент memsize- типа и 5 гигабайт- вполне подходящее число.
To learn more about it see the blog-post on our site" Magic constants and malloc() function.
Подробнее с данным вопросом можно познакомиться в записи блога на нашем сайте" Магические константы и функция malloc.
After the third call, malloc function will return the array's address outside the range of the first two Gbyte.
При третьем обращении функция malloc вернет адрес массива за пределами первых 2- х гигабайт.
By the way, there is another excuse for developers,why they don't check what the malloc function returned.
Кстати, существует еще одно оправдание разработчиков,почему они не проверяют, что вернула функция malloc.
A pointer returned by the'malloc' function or any other similar function is summed up with some number.
Указатель, который возвращается функцией' malloc' или аналогичной ее, складывается с каким-то числом.
As the header file"stdlib. h" is disabled,the C compiler considers that malloc function will return int type.
Поскольку заголовочный файл" stdlib. h" не подключен,компилятор языка Си считает, что функция malloc вернет тип int.
If the malloc function failed to allocate memory, it is unlikely that my program will continue to function properly.
Если функция malloc не смогла выделить память, то вряд ли моя программа продолжит функционировать должным образом.
If the header file"stdlib. h" is not included,the C compiler supposes that the malloc function will return the int type.
Если заголовочный файл" stdlib. h" не подключен,компилятор языка Си считает, что функция malloc вернет тип int.
I hope now you have a new look at the malloc function, check pointers and warnings of the PVS-Studio code analyzer.
Надеюсь, теперь вы по-новому взглянете на функцию malloc, проверки указателей в коде и предупреждения анализатора PVS- Studio.
The only way to write reliable and correct code is to always check the result that is returned by the malloc function.
Единственный способ написать надежный и правильный код- это всегда проверять результат, который вернула функция malloc.
According to the definition of the malloc() function, the argument which determines the size of the allocated memory is of the size_t type.
Согласно определению в функции malloc() аргумент, определяющий размер выделяемой памяти имеет тип size_ t.
There are 4 reasons at once, each of them is enough to prove that it is so necessary to write a check after you call the malloc function.
Есть сразу 4 причины, каждой из которых достаточно, чтобы обязательно делать проверки после вызова функции malloc.
Now the analyzer thinks that the malloc function cannot return NULL and, therefore, will not issue the V522 warning for the following code.
Теперь анализатор считает, что функция malloc не может вернуть NULL и не будет выдавать предупреждение V522 для следующего фрагмента кода.
Let's see what happens to data when we allocate them in dynamic memory using the malloc function or the new operator.
Проверим, а что будет с данными которые будут размещены в динамической памяти с помощью функции malloc или оператора new.
Any normal program should check the pointers which the malloc function returns and properly handle the situation when the memory allocation failed.
Любая нормальная программа должна проверять указатели, которые возвращает функция malloc, и соответствующим образом обрабатывать ситуацию, когда память выделить не получилось.
The analyzer detected a potential error relating to using a dangerous expression serving as an actual argument for malloc function.
Анализатор обнаружил потенциальную ошибку, связанную с использованием опасного выражения, являющегося фактическим аргументом для функции malloc.
Presence of a constant in an expression which is a parameter for malloc() function does not necessarily means that V118 warning will be always shown on it.
Наличие константы в выражении, являющегося параметром для функции malloc(), вовсе не означает, что на него всегда выдается предупреждение V118.
I'm not making this up, I have talked with people who consider this approach to be appropriate andconsciously never check the result that the malloc function returns.
Я не придумываю, я не раз общался с людьми, которые считают такой подход уместным исознательно никогда не проверяющих результат, который возвращает функция malloc.
Looking at a fresh code fragment, it's not easy to assume that the malloc function works incorrectly, because the header file stdlib.h is not included.
Рассматривая свеженаписанный фрагмент, сложно предположить, что функция malloc работает в нем неправильно из-за того, что не подключен заголовочный файл stdlib. h.
The memory for the number string was allocated using malloc() function, herewith before checking the pointer it is dereferenced several times and passed into the function memcpy() as an argument, which is invalid.
Под строку number выделили память с помощью функции malloc(), при этом до проверки указателя его несколько раз разыменовывают и передают в функцию memcpy() в качестве аргумента, что недопустимо.
The function'malloc()' is used to allocate memory while the'delete[]'operator is used to release it.
Память выделяется с использованием функции' malloc()', а освобождается при помощи оператора' delete.
For instance, you can write your own function malloc() that will return NULL from time to time even when there is some memory left.
Например, можно написать свою функцию malloc(), которая время от времени будет возвращать NULL, даже если память еще есть.
Looking through the definition of function malloc we will see that its formal argument assigning the size of the allocated memory is represented by type size_t.
Посмотрев определение функции malloc, мы увидим, что ее формальный аргумент, задающий размер выделяемой памяти, представлен типом size_ t.
Results: 55, Time: 0.0389

Word-for-word translation

Top dictionary queries

English - Russian