356:77efe51c6c9a | 357:0f5732f0dc00 |
---|---|
64 required_capacity <<= 1; | 64 required_capacity <<= 1; |
65 } | 65 } |
66 if (ucx_array_reserve(array, required_capacity)) { | 66 if (ucx_array_reserve(array, required_capacity)) { |
67 return 1; | 67 return 1; |
68 } | 68 } |
69 return 0; | |
69 } | 70 } |
70 | 71 |
71 int ucx_array_util_set_a(UcxAllocator* alloc, void** array, size_t* capacity, | 72 int ucx_array_util_set_a(UcxAllocator* alloc, void** array, size_t* capacity, |
72 size_t elmsize, size_t index, ...) { | 73 size_t elmsize, size_t index, ...) { |
73 | 74 |