| srl_buffer.h | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 9 | 12 | 75.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 71 | 0 | 443397 | if (expect_false( buf->start == NULL )) | 
| 124 | 0 | 142629 | if (buf->start == NULL) | 
| 187 | 0 | 2820549 | BUF_SIZE_ASSERT(buf, 1); | 
| 237 | 5013697 | 3571971 | while (value >= 0x80) { /* while we are larger than 7 bits long */ | 
| 258 | 2851032 | 720939 | if (expect_true( tag )) | 
| 271 | 3884 | 1571978 | BUF_SIZE_ASSERT(buf, SRL_MAX_VARINT_LENGTH + 1); /* always allocate space for the tag, overalloc is harmless */ |