MCPcopy Create free account
hub / github.com/apache/qpid-proton / pni_data_rebase

Function pni_data_rebase

c/src/core/codec.c:474–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472}
473
474static void pni_data_rebase(pn_data_t *data, char *base)
475{
476 for (unsigned i = 0; i < data->size; i++) {
477 pni_node_t *node = &data->nodes[i];
478 if (node->data) {
479 pn_bytes_t *bytes = pni_data_bytes(data, node);
480 bytes->start = base + node->data_offset;
481 }
482 }
483}
484
485static int pni_data_intern_node(pn_data_t *data, pni_node_t *node)
486{

Callers 1

pni_data_intern_nodeFunction · 0.85

Calls 1

pni_data_bytesFunction · 0.85

Tested by

no test coverage detected