HelenOS sources
mmap 287 uspace/lib/cpp/src/__bits/test/map.cpp std::multimap<int, int> mmap{src1};
mmap 291 uspace/lib/cpp/src/__bits/test/map.cpp mmap.begin(), mmap.end()
mmap 294 uspace/lib/cpp/src/__bits/test/map.cpp auto res1 = mmap.count(6);
mmap 297 uspace/lib/cpp/src/__bits/test/map.cpp auto res2 = mmap.emplace(7, 2);
mmap 300 uspace/lib/cpp/src/__bits/test/map.cpp test_eq("multi duplicit emplace pt3", mmap.count(7), 2U);
mmap 302 uspace/lib/cpp/src/__bits/test/map.cpp auto res3 = mmap.emplace(8, 5);
mmap 305 uspace/lib/cpp/src/__bits/test/map.cpp test_eq("multi unique emplace pt3", mmap.count(8), 1U);
mmap 307 uspace/lib/cpp/src/__bits/test/map.cpp auto res4 = mmap.insert(std::pair<const int, int>{8, 6});
mmap 310 uspace/lib/cpp/src/__bits/test/map.cpp test_eq("multi duplicit insert pt3", mmap.count(8), 2U);
mmap 312 uspace/lib/cpp/src/__bits/test/map.cpp auto res5 = mmap.insert(std::pair<const int, int>{9, 8});
mmap 315 uspace/lib/cpp/src/__bits/test/map.cpp test_eq("multi unique insert pt3", mmap.count(9), 1U);
mmap 317 uspace/lib/cpp/src/__bits/test/map.cpp auto res6 = mmap.erase(8);
mmap 319 uspace/lib/cpp/src/__bits/test/map.cpp test_eq("multi erase by key pt2", mmap.count(8), 0U);
mmap 321 uspace/lib/cpp/src/__bits/test/map.cpp auto res7 = mmap.erase(mmap.find(7));
mmap 323 uspace/lib/cpp/src/__bits/test/map.cpp test_eq("multi erase by iterator pt2", mmap.count(7), 1U);
mmap 353 uspace/lib/cpp/src/__bits/test/map.cpp std::multimap<int, int> mmap{src1};
mmap 357 uspace/lib/cpp/src/__bits/test/map.cpp mmap.rbegin(), mmap.rend()
mmap 412 uspace/lib/cpp/src/__bits/test/map.cpp std::multimap<int, int> mmap{src};
mmap 413 uspace/lib/cpp/src/__bits/test/map.cpp auto res1 = mmap.equal_range(1);
mmap 420 uspace/lib/cpp/src/__bits/test/map.cpp auto res2 = mmap.equal_range(5);
mmap 427 uspace/lib/cpp/src/__bits/test/map.cpp auto res3 = mmap.equal_range(6);
mmap 224 uspace/lib/cpp/src/__bits/test/unordered_map.cpp std::unordered_multimap<int, int> mmap{src};
mmap 228 uspace/lib/cpp/src/__bits/test/unordered_map.cpp check_counts.begin(), mmap
mmap 231 uspace/lib/cpp/src/__bits/test/unordered_map.cpp auto res1 = mmap.count(6);
mmap 234 uspace/lib/cpp/src/__bits/test/unordered_map.cpp auto res2 = mmap.emplace(7, 2);
mmap 237 uspace/lib/cpp/src/__bits/test/unordered_map.cpp test_eq("multi duplicit emplace pt3", mmap.count(7), 2U);
mmap 239 uspace/lib/cpp/src/__bits/test/unordered_map.cpp auto res3 = mmap.emplace(8, 5);
mmap 242 uspace/lib/cpp/src/__bits/test/unordered_map.cpp test_eq("multi unique emplace pt3", mmap.count(8), 1U);
mmap 244 uspace/lib/cpp/src/__bits/test/unordered_map.cpp auto res4 = mmap.insert(std::pair<const int, int>{8, 6});
mmap 247 uspace/lib/cpp/src/__bits/test/unordered_map.cpp test_eq("multi duplicit insert pt3", mmap.count(8), 2U);
mmap 249 uspace/lib/cpp/src/__bits/test/unordered_map.cpp auto res5 = mmap.insert(std::pair<const int, int>{9, 8});
mmap 252 uspace/lib/cpp/src/__bits/test/unordered_map.cpp test_eq("multi unique insert pt3", mmap.count(9), 1U);
mmap 254 uspace/lib/cpp/src/__bits/test/unordered_map.cpp auto res6 = mmap.erase(8);
mmap 256 uspace/lib/cpp/src/__bits/test/unordered_map.cpp test_eq("multi erase by key pt2", mmap.count(8), 0U);
mmap 259 uspace/lib/cpp/src/__bits/test/unordered_map.cpp mmap.insert(std::pair<const int, int>{8, 8});
mmap 260 uspace/lib/cpp/src/__bits/test/unordered_map.cpp test_eq("multi erase keeps bucket intact", (mmap.find(8) != mmap.end()), true);
mmap 262 uspace/lib/cpp/src/__bits/test/unordered_map.cpp auto res7 = mmap.erase(mmap.find(7));
mmap 264 uspace/lib/cpp/src/__bits/test/unordered_map.cpp test_eq("multi erase by iterator pt2", mmap.count(7), 1U);
mmap 56 uspace/lib/posix/include/posix/sys/mman.h extern void *mmap(void *start, size_t length, int prot, int flags, int fd,
HelenOS homepage, sources at GitHub