Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 16 of 16) sorted by relevance

/redis-3.2.3/src/
H A Dadlist.c244 list *copy; in listDup() local
248 if ((copy = listCreate()) == NULL) in listDup()
250 copy->dup = orig->dup; in listDup()
251 copy->free = orig->free; in listDup()
252 copy->match = orig->match; in listDup()
257 if (copy->dup) { in listDup()
258 value = copy->dup(node->value); in listDup()
260 listRelease(copy); in listDup()
265 if (listAddNodeTail(copy, value) == NULL) { in listDup()
266 listRelease(copy); in listDup()
[all …]
H A Dquicklist.c1187 quicklist *copy; in quicklistDup() local
1206 copy->count += node->count; in quicklistDup()
1210 _quicklistInsertNodeAfter(copy, copy->tail, node); in quicklistDup()
1214 return copy; in quicklistDup()
2023 quicklist *copy = quicklistDup(ql); in quicklistTest() local
2024 ql_verify(copy, 0, 0, 0, 0); in quicklistTest()
2026 quicklistRelease(copy); in quicklistTest()
2034 ql_verify(copy, 1, 1, 1, 1); in quicklistTest()
2036 quicklistRelease(copy); in quicklistTest()
2047 ql_verify(copy, 16, 500, 20, 32); in quicklistTest()
[all …]
H A Dscripting.c1774 sds copy = sdsdup(ldb.cbuf); in ldbReplParseCommand() local
1775 char *p = copy; in ldbReplParseCommand()
1804 sdsfree(copy); in ldbReplParseCommand()
1809 sdsfree(copy); in ldbReplParseCommand()
H A Ddb.c158 sds copy = sdsdup(key->ptr); in dbAdd() local
159 int retval = dictAdd(db->dict, copy, val); in dbAdd()
H A Dconfig.c486 sds copy = sdsdup(argv[2]); in loadServerConfigFromString() local
488 retval = dictAdd(server.commands, copy, cmd); in loadServerConfigFromString()
490 sdsfree(copy); in loadServerConfigFromString()
H A Dcluster.c4652 int copy, replace, j; in migrateCommand() local
4668 copy = 0; in migrateCommand()
4675 copy = 1; in migrateCommand()
4806 if (!copy) newargv = zmalloc(sizeof(robj*)*(num_keys+1)); in migrateCommand()
4822 if (!copy) { in migrateCommand()
4844 if (!copy) { in migrateCommand()
/redis-3.2.3/deps/lua/
H A DCOPYRIGHT14 Permission is hereby granted, free of charge, to any person obtaining a copy
17 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
H A DHISTORY167 + only one copy of each string is stored
/redis-3.2.3/utils/
H A Dredis-copy.rb14 `redis-copy #{src.shellescape} #{dst.shellescape}`
/redis-3.2.3/deps/linenoise/
H A Dlinenoise.c431 char *copy, **cvec; in linenoiseAddCompletion() local
433 copy = malloc(len+1); in linenoiseAddCompletion()
434 if (copy == NULL) return; in linenoiseAddCompletion()
435 memcpy(copy,str,len+1); in linenoiseAddCompletion()
438 free(copy); in linenoiseAddCompletion()
442 lc->cvec[lc->len++] = copy; in linenoiseAddCompletion()
/redis-3.2.3/tests/unit/
H A Ddump.tcl96 test {MIGRATE is able to copy a key between two instances} {
107 set ret [r -1 migrate $second_host $second_port list 9 5000 copy]
127 catch {r -1 migrate $second_host $second_port list 9 5000 copy} e
129 set res [r -1 migrate $second_host $second_port list 9 5000 copy replace]
H A Dscripting.tcl232 -- references, so the encoded object has a deep copy recusive
/redis-3.2.3/tests/unit/type/
H A Dzset.tcl911 set copy $lexset
918 set copy [r zrevrange zset 0 -1]
923 foreach e $copy {
/redis-3.2.3/deps/hiredis/
H A DREADME.md336 copy of the buffer pointed to by `buf` for `len` bytes. This data is parsed
/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal.h.in1093 * and copy.
/redis-3.2.3/deps/jemalloc/
H A Dconfigure8759 gives unlimited permission to copy, distribute and modify it."