MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / pt_le16

Function pt_le16

tests/test_test_impact_tree.c:1472–1475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1470}
1471#else
1472static void pt_le16(unsigned char *out, unsigned n) {
1473 out[0] = (unsigned char)n;
1474 out[1] = (unsigned char)(n >> 8);
1475}
1476static void pt_le32(unsigned char *out, uint32_t n) {
1477 for (size_t i = 0; i < 4; i++)
1478 out[i] = (unsigned char)(n >> (8 * i));

Callers 1

pt_linux_aclFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected