NetworkManager/libnm-core/tests
Thomas Haller dabf366838 utils: extend binary-search to return the first/last index
binary-search can find an index of a matching entry in a sorted
list. However, if the list contains multiple entries that compare
equal, it can be interesting to find the first/last entry. For example,
if you want to append new items after the last.

Extend binary search to optionally continue the binary search
to determine the range that compares equal.

(cherry picked from commit d83eee5d57)
2017-12-15 11:44:51 +01:00
..
certs keyfile: support writing certificates as blob inside the keyfile 2015-03-12 18:16:58 +01:00
test-compare.c shared: move shared files to subdirectory "shared/nm-utils/" 2016-06-16 10:45:53 +02:00
test-crypto.c crypto: don't try to decrypt PKCS#8 key if no password is supplied 2016-09-23 18:05:54 +02:00
test-general-enums.h utils: support unknown numeric values in nm_utils_enum_to_str() and nm_utils_enum_from_str() 2017-02-20 13:45:32 +01:00
test-general.c utils: extend binary-search to return the first/last index 2017-12-15 11:44:51 +01:00
test-keyfile.c keyfile: fix escaping ascii control characters in nm_keyfile_key_encode() 2017-11-20 15:41:23 +01:00
test-secrets.c test: set 8021x private key password flags 2017-04-10 14:07:03 +02:00
test-setting.c libnm-core/tests: test NMSettingTCConfig traffic filter support 2017-12-11 19:42:11 +01:00
test-settings-defaults.c shared: move shared files to subdirectory "shared/nm-utils/" 2016-06-16 10:45:53 +02:00