mirror of
https://github.com/fluencelabs/redis
synced 2025-06-21 04:51:32 +00:00
No more trailing spaces in Redis source code.
This commit is contained in:
@ -56,7 +56,7 @@
|
||||
* signal the end of the hash. The special value 254 is used to mark
|
||||
* empty space that can be used to add new key/value pairs.
|
||||
*
|
||||
* <free> is the number of free unused bytes after the string, resulting
|
||||
* <free> is the number of free unused bytes after the string, resulting
|
||||
* from modification of values associated to a key. For instance if "foo"
|
||||
* is set to "bar", and later "foo" will be set to "hi", it will have a
|
||||
* free byte to use if the value will enlarge again later, or even in
|
||||
@ -186,7 +186,7 @@ static unsigned int zipmapRawKeyLength(unsigned char *p) {
|
||||
static unsigned int zipmapRawValueLength(unsigned char *p) {
|
||||
unsigned int l = zipmapDecodeLength(p);
|
||||
unsigned int used;
|
||||
|
||||
|
||||
used = zipmapEncodeLength(NULL,l);
|
||||
used += p[used] + 1 + l;
|
||||
return used;
|
||||
@ -214,7 +214,7 @@ unsigned char *zipmapSet(unsigned char *zm, unsigned char *key, unsigned int kle
|
||||
unsigned int freelen, reqlen = zipmapRequiredLength(klen,vlen);
|
||||
unsigned int empty, vempty;
|
||||
unsigned char *p;
|
||||
|
||||
|
||||
freelen = reqlen;
|
||||
if (update) *update = 0;
|
||||
p = zipmapLookupRaw(zm,key,klen,&zmlen);
|
||||
|
Reference in New Issue
Block a user