Home | History | Annotate | Download | only in quic

Lines Matching refs:it

19 // Returns a const reference to the value associated with the given key if it
26 // * It has a side-effect of inserting missing keys
27 // * It is not thread-safe (even when it is not inserting, it can still
29 // * It invalidates iterators (when it chooses to resize)
30 // * It default constructs a value object even if it doesn't need to
32 // This version assumes the key is printable, and includes it in the fatal log
38 typename Collection::const_iterator it = collection.find(key);
39 CHECK(it != collection.end()) << "Map key not found: " << key;
40 return it->second;
48 typename Collection::iterator it = collection.find(key);
49 CHECK(it != collection.end()) << "Map key not found: " << key;
50 return it->second;
53 // Returns a pointer to the const value associated with the given key if it
59 typename Collection::const_iterator it = collection.find(key);
60 if (it == collection.end()) {
63 return &it->second;
71 typename Collection::iterator it = collection.find(key);
72 if (it == collection.end()) {
75 return &it->second;