MCPcopy Create free account
hub / github.com/apache/trafficserver / fieldGet

Function fieldGet

include/tscore/Extendible.h:368–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366
367 template <typename Derived_t>
368 bool
369 fieldGet(const void *fld_ptr, FieldId<Derived_t, bool> const &field)
370 {
371 return static_cast<bool>((*static_cast<const uint8_t *>(fld_ptr)) & field.desc->mask);
372 }
373
374 template <typename Derived_t>
375 AtomicBit

Callers 2

makeFieldIdFunction · 0.85
getFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected