MCPcopy Create free account
hub / github.com/ARM-software/armnn / ReadUint32

Function ReadUint32

profiling/common/src/CommonProfilingUtils.cpp:47–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47uint32_t ReadUint32(const unsigned char* buffer, unsigned int offset)
48{
49 ARM_PIPE_ASSERT(buffer);
50
51 uint32_t value = 0;
52 value = static_cast<uint32_t>(buffer[offset]);
53 value |= static_cast<uint32_t>(buffer[offset + 1]) << 8;
54 value |= static_cast<uint32_t>(buffer[offset + 2]) << 16;
55 value |= static_cast<uint32_t>(buffer[offset + 3]) << 24;
56 return value;
57}
58
59uint16_t ReadUint16(const unsigned char* buffer, unsigned int offset)
60{

Callers 1

ReadSwTraceMessageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected