MCPcopy Create free account
hub / github.com/PlatformLab/Homa / getOrAllocPacket

Method getOrAllocPacket

src/Sender.cc:726–738  ·  view source on GitHub ↗

* Return the Packet with the given index. If the Packet does yet exist, * allocate a new Packet. * * @param index * A Packet's index in the array of packets that form the message. * "packet index = "packet message offset" / PACKET_DATA_LENGTH * @return * Pointer to a Packet at the given index. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TEST_FFunction · 0.80

Calls 1

allocPacketMethod · 0.45

Tested by 1

TEST_FFunction · 0.64