Searched refs:unlikely (Results 1 – 4 of 4) sorted by relevance
44 … if (unlikely(mtagLen > MAX_TAG_LEN || mtagLen == 0 || mfmtLen > MAX_LOG_LEN || mfmtLen <= 0)) { in init()50 if (unlikely(tmp == nullptr)) { in init()78 if (unlikely(memcpy_s(this, sizeof(HilogData), ©, sizeof(HilogData)) != 0)) { in HilogData()82 if (unlikely(tag == nullptr)) { in HilogData()85 if (unlikely(memcpy_s(tag, len, copy.tag, len) != 0)) { in HilogData()
81 #define unlikely(x) __builtin_expect(!!(x), 0) macro
103 if (unlikely(zdlen < dst_pos)) { // zdataBuf is not long enough, shoudn't happen in Compress()
85 if (unlikely(msg.tag_len > MAX_TAG_LEN || msg.tag_len == 0 || elemSize > MAX_LOG_LEN || in Insert()