MCPcopy Create free account
hub / github.com/F-Stack/f-stack / cache_append_buffer

Function cache_append_buffer

adapter/micro_thread/mt_cache.cpp:248–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248void cache_append_buffer(TRWCache* cache, TSkBuffer* buff)
249{
250 if ((NULL == cache) || (NULL == buff))
251 {
252 return;
253 }
254
255 TAILQ_INSERT_TAIL(&cache->list, buff, entry);
256 cache->len += buff->data_len;
257 cache->count++;
258}
259
260TSkBuffer* cache_skip_first_buffer(TRWCache* cache)
261{

Callers 3

cache_append_dataFunction · 0.85
cache_udp_recvFunction · 0.85
cache_tcp_recvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected