Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 35) sorted by relevance

12

/redis-3.2.3/tests/integration/
H A Daof.tcl91 set result [exec tail -n1 < [dict get $srv stdout]]
92 if {[string match $pattern $result]} {
116 set result [exec tail -n1 < [dict get $srv stdout]]
117 if {[string match $pattern $result]} {
140 set result [exec tail -n1 < [dict get $srv stdout]]
141 if {[string match $pattern $result]} {
157 } result
158 assert_match "*not valid*" $result
162 set result [exec src/redis-check-aof --fix $aof_path << "y\n"]
163 assert_match "*Successfully truncated AOF*" $result
H A Dlogging.tcl12 set result [exec tail -100 < [srv 0 stdout]]
13 if {[string match $pattern $result]} {
H A Dreplication-4.tcl146 set result [$master spop myset $count]
/redis-3.2.3/deps/jemalloc/test/unit/
H A Dutil.c117 uintmax_t result; in TEST_BEGIN() local
121 result = malloc_strtoumax(test->input, &remainder, test->base); in TEST_BEGIN()
130 assert_ju_eq(result, test->expected_x, in TEST_BEGIN()
142 int result; in TEST_BEGIN() local
145 result = malloc_snprintf(buf, len, __VA_ARGS__); \ in TEST_BEGIN()
149 assert_d_eq(result, strlen(expected_str_untruncated), \ in TEST_BEGIN()
175 int result; in TEST_BEGIN() local
177 result = malloc_snprintf(buf, sizeof(buf), __VA_ARGS__); \ in TEST_BEGIN()
179 assert_d_eq(result, strlen(expected_str), "Unexpected result"); \ in TEST_BEGIN()
H A Dmallctl.c156 int result = mallctl("opt."#opt, &oldval, &sz, NULL, 0); \ in TEST_BEGIN()
157 assert_d_eq(result, expected, \ in TEST_BEGIN()
/redis-3.2.3/tests/support/
H A Dtest.tcl53 set errcode [catch {uplevel 1 [list expr $e]} result]
55 if {$result} break
57 return -code $errcode $result
62 set errcode [catch [uplevel 1 $elsescript] result]
63 return -code $errcode $result
H A Dutil.tcl34 set result {}
43 lappend result $line
46 join $result "\n"
/redis-3.2.3/tests/unit/
H A Dsort.tcl10 set result {}
32 lappend result [lindex $sorted $i 0]
34 set _ $result
45 set result [create_random_dataset $num $cmd]
49 assert_equal $result [r sort tosort BY weight_*]
57 assert_equal $result [r sort tosort BY wobj_*->weight]
61 set result [create_random_dataset 16 lpush]
63 assert_equal [lsort -integer $result] [r sort tosort GET #]
85 assert_equal $result [r lrange sort-res 0 -1]
92 assert_equal $result [r lrange sort-res 0 -1]
[all …]
/redis-3.2.3/deps/jemalloc/src/
H A Dpages.c113 void *result = mmap(addr, size, prot, MAP_PRIVATE | MAP_ANON | in pages_commit_impl() local
115 if (result == MAP_FAILED) in pages_commit_impl()
117 if (result != addr) { in pages_commit_impl()
122 pages_unmap(result, size); in pages_commit_impl()
H A Djemalloc.c744 long result; in malloc_ncpus() local
749 result = si.dwNumberOfProcessors; in malloc_ncpus()
753 return ((result == -1) ? 1 : (unsigned)result); in malloc_ncpus()
1492 void *result; in imemalign() local
1497 result = NULL; in imemalign()
1512 result = NULL; in imemalign()
1519 result = NULL; in imemalign()
1527 if (unlikely(result == NULL)) in imemalign()
1531 *memptr = result; in imemalign()
1538 UTRACE(0, size, result); in imemalign()
[all …]
H A Dutil.c53 UNUSED int result = syscall(SYS_write, STDERR_FILENO, s, strlen(s)); in wrtmessage() local
55 UNUSED int result = write(STDERR_FILENO, s, strlen(s)); in wrtmessage()
/redis-3.2.3/deps/jemalloc/bin/
H A Djeprof.in1330 my @result = ();
1352 return @result;
2658 return @result;
2746 return $result;
2762 return $result;
2968 return $result;
2995 return $result;
3029 return $result;
3053 return $result;
3059 my $result = 0;
[all …]
/redis-3.2.3/tests/
H A Dinstances.tcl367 set errcode [catch {uplevel 1 $code} result]
369 error $result $::errorInfo $::errorCode
375 return -code $errcode $result
381 …et errcode [catch {uplevel 1 [list foreach_instance_id $::sentinel_instances $idvar $code]} result]
382 return -code $errcode $result
386 … set errcode [catch {uplevel 1 [list foreach_instance_id $::redis_instances $idvar $code]} result]
387 return -code $errcode $result
/redis-3.2.3/deps/lua/src/
H A Dlobject.c90 int luaO_str2d (const char *s, lua_Number *result) { in luaO_str2d() argument
92 *result = lua_str2number(s, &endptr); in luaO_str2d()
95 *result = cast_num(strtoul(s, &endptr, 16)); in luaO_str2d()
H A Dlobject.h373 LUAI_FUNC int luaO_str2d (const char *s, lua_Number *result);
/redis-3.2.3/tests/unit/type/
H A Dhash.tcl93 set result [r hget smallhash __123123123__]
95 set _ $result
105 set result [r hget bighash __123123123__]
107 set _ $result
156 set result [r hmget smallhash {*}$keys]
157 if {$vals ne $result} {
158 set err "$vals != $result"
172 set result [r hmget bighash {*}$keys]
173 if {$vals ne $result} {
174 set err "$vals != $result"
H A Dset.tcl244 set result [lsort [r sdiff {*}$args]]
245 assert_equal $result [lsort [array names s]]
/redis-3.2.3/deps/jemalloc/
H A Dconfigure6897 int result;
6903 result = si.dwPageSize;
6905 result = sysconf(_SC_PAGESIZE);
6907 if (result == -1) {
6910 result = JEMALLOC_INTERNAL_FFSL(result) - 1;
6916 fprintf(f, "%d\n", result);
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
[all …]
H A Dconfigure.ac1084 int result;
1090 result = si.dwPageSize;
1092 result = sysconf(_SC_PAGESIZE);
1094 if (result == -1) {
1097 result = JEMALLOC_INTERNAL_FFSL(result) - 1;
1103 fprintf(f, "%d\n", result);
1194 dnl used in test code, so save the result to TESTLIBS to avoid poluting LIBS.
H A DINSTALL237 classes to 255, and a compilation error will result if the
272 requirement for minimum alignment, and crashes could conceivably result if
274 both because illegal instruction traps could result, and because accesses
H A DChangeLog66 could cause data structure corruption that would most likely result in a
70 the result throughout the relevant functions that handle an allocation
202 result, the bundled jeprof must now be used rather than the upstream
256 bug, chunk allocation failure would result in allocation failure, e.g. NULL
312 with, the result being potential floating point register corruption.
464 result is a more broadly useful allocator (see the git revision history for
784 These snapshot releases are the simple result of incorporating Linux-specific
/redis-3.2.3/deps/jemalloc/include/jemalloc/
H A Djemalloc_mangle.sh11 * name mangling that matches the API prefixing that happened as a result of
/redis-3.2.3/src/
H A Dredis-cli.c498 int result = REDIS_OK; in cliSelect() local
499 if (reply->type == REDIS_REPLY_ERROR) result = REDIS_ERR; in cliSelect()
501 return result; in cliSelect()
2211 char *result; in getInfoField() local
2218 result = zmalloc(sizeof(char)*(n1-p)+1); in getInfoField()
2219 memcpy(result,p,(n1-p)); in getInfoField()
2220 result[n1-p] = '\0'; in getInfoField()
2221 return result; in getInfoField()
H A Dquicklist.c1606 static char result[64] = {0}; in genstr() local
1607 snprintf(result, sizeof(result), "%s%d", prefix, i); in genstr()
1608 return result; in genstr()
2284 char *result[] = {"abc", "foo", "foobar", "foobared", in quicklistTest() local
2310 if (strncmp((char *)entry.value, result[i], entry.sz)) { in quicklistTest()
2312 i, entry.sz, entry.value, result[i]); in quicklistTest()
H A Dsentinel.c2864 int result = SENTINEL_ISQR_OK; in sentinelIsQuorumReachable() local
2876 if (usable < (int)master->quorum) result |= SENTINEL_ISQR_NOQUORUM; in sentinelIsQuorumReachable()
2877 if (usable < voters/2+1) result |= SENTINEL_ISQR_NOAUTH; in sentinelIsQuorumReachable()
2879 return result; in sentinelIsQuorumReachable()
3078 int result = sentinelIsQuorumReachable(ri,&usable); in sentinelCommand() local
3079 if (result == SENTINEL_ISQR_OK) { in sentinelCommand()
3086 if (result & SENTINEL_ISQR_NOQUORUM) in sentinelCommand()
3089 if (result & SENTINEL_ISQR_NOAUTH) { in sentinelCommand()
3090 if (result & SENTINEL_ISQR_NOQUORUM) e = sdscat(e,". "); in sentinelCommand()

12