Home
last modified time | relevance | path

Searched refs:likely (Results 1 – 14 of 14) sorted by relevance

/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Darena.h914 if (likely(prof_interval == 0)) in arena_prof_accum_locked()
925 if (likely(prof_interval == 0)) in arena_prof_accum()
1079 if (likely(chunk != ptr)) { in arena_prof_tctx_get()
1105 if (likely(chunk != ptr)) { in arena_prof_tctx_set()
1142 if (likely(chunk != ptr)) { in arena_prof_tctx_reset()
1172 if (likely(tcache != NULL)) { in arena_malloc()
1197 if (likely(chunk != ptr)) in arena_aalloc()
1215 if (likely(chunk != ptr)) { in arena_salloc()
1262 if (likely(chunk != ptr)) { in arena_dalloc()
1268 if (likely(tcache != NULL)) { in arena_dalloc()
[all …]
H A Dutil.h70 # define likely(x) __builtin_expect(!!(x), 1) macro
79 # define likely(x) !!(x) macro
H A Dtcache.h286 if (likely(!zero)) { in tcache_alloc_small()
342 if (likely(!zero)) { in tcache_alloc_large()
H A Djemalloc_internal.h.in579 if (likely(size <= LOOKUP_MAXCLASS))
670 if (likely(size <= LOOKUP_MAXCLASS))
708 if (likely(size <= large_maxclass) && likely(alignment < chunksize)) {
798 if (likely(arena != NULL) || !refresh_if_missing)
888 if (config_stats && is_metadata && likely(ret != NULL)) {
934 if (config_stats && is_metadata && likely(ret != NULL)) {
H A Dprof.h469 if (!prof_active || likely(prof_sample_accum_update(tsd, usize, update, in prof_alloc_prep()
/redis-3.2.3/deps/jemalloc/src/
H A Djemalloc.c1436 if (config_stats && likely(ret != NULL)) { in JEMALLOC_ATTR()
1534 if (config_stats && likely(result != NULL)) { in imemalign()
1675 if (config_stats && likely(ret != NULL)) { in JEMALLOC_ATTR()
1789 if (likely(ptr != NULL)) { in je_realloc()
1821 if (config_stats && likely(ret != NULL)) { in je_realloc()
1837 if (likely(ptr != NULL)) { in je_free()
1950 if (likely(flags == 0)) { in imallocx_flags_decode()
2010 if (likely((uintptr_t)tctx == (uintptr_t)1U)) in imallocx_prof()
2036 if (likely(flags == 0)) { in imallocx_no_prof()
2386 if (likely((flags & MALLOCX_LG_ALIGN_MASK) == 0)) in inallocx()
H A Dquarantine.c157 if ((!config_valgrind || likely(!in_valgrind)) in quarantine()
H A Darena.c2371 if (likely(usize <= large_maxclass)) { in arena_palloc()
2374 } else if (likely(alignment <= chunksize)) in arena_palloc()
2806 if (likely(oldsize <= large_maxclass && usize_min <= large_maxclass)) { in arena_ralloc_no_move()
2858 if (likely(usize <= large_maxclass)) { in arena_ralloc()
/redis-3.2.3/src/
H A Dquicklist.c85 #define likely(x) __builtin_expect(!!(x), 1) macro
88 #define likely(x) (x) macro
435 else if (likely(sz < 16384)) in _quicklistNodeAllowInsert()
442 if (likely(_quicklistNodeSizeMeetsOptimizationRequirement(new_sz, fill))) in _quicklistNodeAllowInsert()
461 if (likely(_quicklistNodeSizeMeetsOptimizationRequirement(merge_sz, fill))) in _quicklistNodeAllowMerge()
482 if (likely( in quicklistPushHead()
505 if (likely( in quicklistPushTail()
670 if (likely(quicklistIndex(quicklist, index, &entry))) { in quicklistReplaceAtIndex()
1246 while (likely(n)) { in quicklistIndex()
/redis-3.2.3/
H A DMANIFESTO32 likely know, understand and recognize the same basic data structures we have
H A DREADME.md11 …ctures stress on memory efficiency, so data structures inside Redis will likely use less memory co…
H A D00-RELEASENOTES279 so likely a new release will not be too far.
/redis-3.2.3/deps/jemalloc/
H A DChangeLog66 could cause data structure corruption that would most likely result in a
543 - Use glibc allocator hooks to make mixed allocator usage less likely.
/redis-3.2.3/deps/hiredis/
H A DREADME.md334 Incoming data -- most likely from a socket -- can be placed in the internal