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

Function set

include/tscore/Extendible.h:555–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

553
554template <typename T, typename Derived_t, typename Field_t>
555inline decltype(auto)
556set(T &d, FieldId<Derived_t, Field_t> &field)
557{
558 Extendible<Derived_t> const &ext = d;
559 FieldPtr fld_ptr = ext::details::FieldPtrGet(ext, *field.desc);
560 return ext::details::fieldSet(fld_ptr, field);
561}
562
563/////////////////////////
564// ext::sizeOf - returns the size of a class + all extensions.

Callers 15

compare_settingsFunction · 0.85
SettingMethod · 0.85
testRunStartingMethod · 0.85
mainFunction · 0.85
testRunStartingMethod · 0.85
testRunStartingMethod · 0.85
testRunStartingMethod · 0.85
init_tsFunction · 0.85
mainFunction · 0.85
init_diagsFunction · 0.85
mainFunction · 0.85
testRunStartingMethod · 0.85

Calls 2

FieldPtrGetFunction · 0.85
fieldSetFunction · 0.85

Tested by 11

mainFunction · 0.68
testRunStartingMethod · 0.68
testRunStartingMethod · 0.68
testRunStartingMethod · 0.68
mainFunction · 0.68
testRunStartingMethod · 0.68
testRunStartingMethod · 0.68
testRunStartingMethod · 0.68
operator[]Method · 0.68
operator[]Method · 0.68
mainFunction · 0.68