Home
last modified time | relevance | path

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

/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Dbitmap.h128 assert(bit < binfo->nbits); in bitmap_get()
129 goff = bit >> LG_BITMAP_GROUP_NBITS; in bitmap_get()
141 assert(bit < binfo->nbits); in bitmap_set()
154 bit = goff; in bitmap_set()
171 size_t bit; in bitmap_sfu() local
179 bit = jemalloc_ffsl(g) - 1; in bitmap_sfu()
183 bit = (bit << LG_BITMAP_GROUP_NBITS) + (jemalloc_ffsl(g) - 1); in bitmap_sfu()
186 bitmap_set(bitmap, binfo, bit); in bitmap_sfu()
187 return (bit); in bitmap_sfu()
198 assert(bit < binfo->nbits); in bitmap_unset()
[all …]
/redis-3.2.3/src/
H A Dbitops.c118 skipval = bit ? 0 : UCHAR_MAX; in redisBitpos()
128 skipval = bit ? 0 : ULONG_MAX; in redisBitpos()
208 bit = 7 - (offset & 0x7); in setUnsignedBitfield()
210 byteval &= ~(1 << bit); in setUnsignedBitfield()
211 byteval |= bitval << bit; in setUnsignedBitfield()
227 bit = 7 - (offset & 0x7); in getUnsignedBitfield()
522 ssize_t byte, bit; in setbitCommand() local
543 bit = 7 - (bitoffset & 0x7); in setbitCommand()
547 byteval &= ~(1 << bit); in setbitCommand()
561 size_t byte, bit; in getbitCommand() local
[all …]
H A Dcluster.c3341 int bit = pos&7; in bitmapTestBit() local
3342 return (bitmap[byte] & (1<<bit)) != 0; in bitmapTestBit()
3348 int bit = pos&7; in bitmapSetBit() local
3349 bitmap[byte] |= 1<<bit; in bitmapSetBit()
3355 int bit = pos&7; in bitmapClearBit() local
3356 bitmap[byte] &= ~(1<<bit); in bitmapClearBit()
3725 int bit; in clusterGenNodeDescription() local
3727 if ((bit = clusterNodeGetSlotBit(node,j)) != 0) { in clusterGenNodeDescription()
3731 if (bit && j == CLUSTER_SLOTS-1) j++; in clusterGenNodeDescription()
3832 int bit, i; in clusterReplyMultiBulkSlots() local
[all …]
H A Dhyperloglog.c445 uint64_t hash, bit, index; in hllPatLen() local
462 bit = HLL_REGISTERS; /* First bit not used to address the register. */ in hllPatLen()
464 while((hash & bit) == 0) { in hllPatLen()
466 bit <<= 1; in hllPatLen()
H A DMakefile237 32bit:
/redis-3.2.3/
H A DREADME.md27 We support big endian and little endian architectures, and both 32 bit
28 and 64 bit systems.
38 You can run a 32 bit Redis binary using:
40 % make 32bit
61 Also if you force certain build options like 32bit target, no C compiler
66 Fixing problems building 32 bit binaries
69 If after building Redis with a 32 bit target you need to rebuild it
70 with a 64 bit target, or the other way around, you need to perform a
73 In case of build errors when trying to build a 32 bit binary of Redis, try
77 * Try using the following command line instead of `make 32bit`:
[all …]
H A D00-RELEASENOTES114 modified in order to be a bit less verbose compared to the last releases.
212 A string with 21 chars is not representable as a 64-bit integer.
1298 | BITFIELD: Farest bit set is offset+bits-1. Off by one error fixed.
1398 The new bitfield command is an extension to the Redis bit operations,
1399 where not just single bit operations are performed, but the array of
1402 (up to 64 bit signed integers and 63 bit unsigned integers).
1405 those arbitrary bit counters, with multiple overflow semantics.
1410 some reason looked a bit far fetched or not well specified.
1413 arbitrary sized integers stored at bit offsets.
/redis-3.2.3/tests/unit/
H A Dbitops.tcl26 set bit [string range $b(0) $x $x]
27 if {$op eq {not}} {set bit [expr {!$bit}]}
31 and {set bit [expr {$bit & $bit2}]}
32 or {set bit [expr {$bit | $bit2}]}
33 xor {set bit [expr {$bit ^ $bit2}]}
36 append out $bit
H A Ddump.tcl19 test {RESTORE can set an expire that overflows a 32 bit integer} {
/redis-3.2.3/deps/hiredis/
H A DMakefile145 32bit:
166 .PHONY: all test check clean dep install 32bit gprof gcov noopt
/redis-3.2.3/deps/lua/
H A DHISTORY23 + better support for 64-bit machines.
97 + improved support for 16-bit machines (we hope).
157 + better support for 16- and 64-bit machines
/redis-3.2.3/utils/create-cluster/
H A DREADME8 Redis Cluster in order to experiment a bit with the system.
/redis-3.2.3/deps/jemalloc/
H A Dconfigure.ac333 dnl 64bit AIX
336 dnl 32bit AIX
1405 AC_CACHE_CHECK([whether to force $1-bit __sync_{add,sub}_and_fetch()],
H A DChangeLog283 systems. This fixes test compilation errors, especially on 32-bit Linux