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

Method iterator

valdi_core/src/valdi_core/cpp/Utils/GeometricPath.cpp:70–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70GeometricPathIterator GeometricPath::iterator(const Byte* data, size_t size) {
71 const auto* begin = reinterpret_cast<const double*>(data);
72 const auto* end = begin + (size / sizeof(double));
73
74 return GeometricPathIterator(begin, end);
75}
76
77bool GeometricPath::visit(const Byte* data, size_t size, double width, double height, GeometricPathVisitor& visitor) {
78 auto it = GeometricPath::iterator(data, size);

Callers 9

removeMethod · 0.45
TESTFunction · 0.45
executeNextMethod · 0.45
untrackRefMethod · 0.45
pushMapIteratorMethod · 0.45
getMethod · 0.45
doCleanupMethod · 0.45
dispatchTouchMethod · 0.45
createImplMethod · 0.45

Calls 1

Tested by 1

TESTFunction · 0.36