mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 04:50:07 +01:00
A replacement for g_strsplit_set(). While g_strsplit_set() does (n+1) malloc and n slice allocations, this needs roughtly (O(log(n))) mallocs. Another difference from g_strsplit_set() is that this function treats multiple delimiters as one (and thus never returns empty words). While I can see that sometimes you may want to keep empty words (like parsing a CSV file and preserve empty cells), we usually use this function for splitting user input. In such case, we want to treat multiple delimiters as one. |
||
|---|---|---|
| .. | ||
| c-list-util.c | ||
| c-list-util.h | ||
| c-list.h | ||
| gsystem-local-alloc.h | ||
| nm-dedup-multi.c | ||
| nm-dedup-multi.h | ||
| nm-enum-utils.c | ||
| nm-enum-utils.h | ||
| nm-glib.h | ||
| nm-macros-internal.h | ||
| nm-obj.h | ||
| nm-shared-utils.c | ||
| nm-shared-utils.h | ||
| nm-test-utils.h | ||
| nm-udev-utils.c | ||
| nm-udev-utils.h | ||
| nm-vpn-editor-plugin-call.h | ||
| nm-vpn-plugin-macros.h | ||
| nm-vpn-plugin-utils.c | ||
| nm-vpn-plugin-utils.h | ||
| unaligned.h | ||