| 800 | int reserve(size_t space_needed, size_t grow_by); |
| 801 | |
| 802 | inline char *prep_append(uint32 arg_length, uint32 step_alloc) |
| 803 | { |
| 804 | uint32 new_length= arg_length + str_length; |
| 805 | if (new_length > Alloced_length) |
| 806 | { |
| 807 | if (unlikely(realloc(new_length + step_alloc))) |
| 808 | return 0; |
| 809 | } |
| 810 | uint32 old_length= str_length; |
| 811 | str_length+= arg_length; |
| 812 | return Ptr + old_length; // Area to use |
| 813 | } |
| 814 | |
| 815 | |
| 816 | void q_net_store_length(ulonglong length) |
no outgoing calls
no test coverage detected