MCPcopy Create free account
hub / github.com/apache/impala / InsertOrDie

Function InsertOrDie

be/src/gutil/map-util.h:394–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392// Same as above except dies if the key already exists in the collection.
393template <class Collection>
394void InsertOrDie(Collection* const collection,
395 const typename Collection::value_type& value) {
396 CHECK(InsertIfNotPresent(collection, value)) << "duplicate value: " << value;
397}
398
399// Same as above except doesn't log the value on error.
400template <class Collection>

Callers 15

NewSeqNoMethod · 0.85
TestWalkCbFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85
FindOrCreateCounterMethod · 0.85
FindOrCreateHistogramMethod · 0.85
FindOrCreateGaugeMethod · 0.85
FindOrCreateMeanGaugeMethod · 0.85
RegisterMethod · 0.85
CollectToMethod · 0.85
FindOrCreateEntityMethod · 0.85

Calls 1

InsertIfNotPresentFunction · 0.85

Tested by 6

TestWalkCbFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
ProducerThreadMethod · 0.68
TEST_FFunction · 0.68