Whenever you need flexibility, consider using malloc to allocate memory.
Gdy potrzebujesz elastyczności, rozważ użycie dynamicznej alokacji pamięci.
The firefox application attempted to change the access protection of memory (e.g., allocated using malloc).
Aplikacja firefox próbowała zmienić ochronę dostępu do pamięci (np. przydzielonej używając malloc).
A process which allocates 1GB of memory (using malloc(3) or similar), but touches only 300MB of that memory will show up as using only 300MB of memory even if it has the address space allocated for the entire 1GB.
Proces alokujący 1 GB pamięci (za pomocą malloc(3) lub podobnej konstrukcji), używający jedynie 300 MB pamięci, będzie pokazywał użycie tych 300 MB pamięci, nawet jeśli przydzielił przestrzeń adresową dla całego 1 GB.
Using malloc is essential when you need dynamic memory allocation in C.
Korzystanie z malloc jest kluczowe, gdy potrzebujesz dynamicznego przydziału pamięci w C.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.