MCPcopy Create free account
hub / github.com/Snapchat/Valdi / data

Method data

valdi_core/src/valdi_core/cpp/Apple/CFConversions.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 }
27
28 const void** data() {
29 // For this to work without an intermediate, this requires CFRef to be exactly
30 // one pointer size.
31 static_assert(sizeof(CFRef<CFTypeRef>) == sizeof(void*));
32 return _vec.data()->unsafeGetAddress();
33 }
34
35private:
36 SmallVector<CFRef<CFTypeRef>, 16> _vec;

Callers 5

hasPrefixFunction · 0.45
toCFArrayFunction · 0.45
toCFStringInnerFunction · 0.45
toCFValueFunction · 0.45
toSTDStringFunction · 0.45

Calls 1

unsafeGetAddressMethod · 0.80

Tested by

no test coverage detected