約335件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:1年以内
  • 2026/9/9 -The malloc(), calloc(), realloc(), and reallocarray() functions return a pointer to the allocated memory, which is suitably aligned for any type that fits into ...

    2026/8/22 -The aligned_alloc () function allocates size bytes of memory such that the allocation's base address is a multiple of alignment . The requested alignment must ...

    2026/2/13 -Function realloc adjusts the size of an existing allocation. When growing an allocation, the allocator first checks if there is free space directly after the ...

    2026/10/30 -Implement `aligned_malloc` in C: it allocates at least `size` bytes and returns a pointer whose address is a multiple of `alignment`. Memory obtained this way ...

    2026/11/4 -aligned_alloc ... All these allocation APIs use the same prefix metadata and support ordinary free and realloc ; realloc guarantees fundamental alignment, not ...

    2026/9/9 -The memory is not zeroed. aligned_alloc(3) is a standard function that provides the same functionality, and has a more ergonomic prototype. Use that instead.

    2026/4/12 -The arena allocator can't do individual deallocations and because of that it can't realloc as well. So if your dynamic array is full, it'll just try ...

    2026/5/15 -解分配一块内存区域的先前free、 free_sized 及free_aligned_sized(C23 起) 或realloc 调用同步于分配同一块或部分相同的内存区域的 aligned_alloc 调用。此同步出现于 ...

    2026/5/6 -The guideline states, "The identifiers 'calloc', 'malloc', 'realloc', 'aligned_alloc' and 'free' shall not be used and no macro with one of these names ...

    2026/1/14 -First Zig Allocators expect a slice( ptr + len ) to free or realloc memory, while they in C just need a pointer because the allocator implementation stores the ...