Home
last modified time | relevance | path

Searched refs:lines (Results 1 – 11 of 11) sorted by relevance

/redis-3.2.3/tests/integration/
H A Dredis-cli.tcl34 set lines [split [read_cli $fd] "\n"]
35 assert_equal "redis> " [lindex $lines end]
36 join [lrange $lines 0 end-1] "\n"
99 set lines [split [run_command $fd info] "\n"]
100 foreach line $lines {
/redis-3.2.3/src/
H A Dconfig.c160 sds *lines; in loadServerConfigFromString() local
169 lines[i] = sdstrim(lines[i]," \t\r\n"); in loadServerConfigFromString()
172 if (lines[i][0] == '#' || lines[i][0] == '\0') continue; in loadServerConfigFromString()
175 argv = sdssplitargs(lines[i],&argc); in loadServerConfigFromString()
635 sdsfreesplitres(lines,totlines); in loadServerConfigFromString()
641 fprintf(stderr, ">>> '%s'\n", lines[i]); in loadServerConfigFromString()
1294 state->lines = zrealloc(state->lines, sizeof(char*) * (state->numlines+1));
1295 state->lines[state->numlines++] = line;
1335 state->lines = NULL;
1418 sdsfree(state->lines[linenum]);
[all …]
H A Dscripting.c72 int lines; /* Number of lines in 'src'. */ member
1502 ldb.lines = 0; in ldbInit()
1640 ldb.src = sdssplitlen(srcstring,sdslen(srcstring),"\n",1,&ldb.lines); in ldbStartSession()
1671 sdsfreesplitres(ldb.src,ldb.lines); in ldbEndSession()
1672 ldb.lines = 0; in ldbEndSession()
1724 if (idx < 0 || idx >= ldb.lines) return "<out of range source code line>"; in ldbGetSourceLine()
1741 if (line <= 0 || line > ldb.lines) return 0; in ldbAddBreakpoint()
1840 for (j = 1; j <= ldb.lines; j++) { in ldbList()
H A Dsentinel.c1989 sds *lines; in sentinelRefreshInstanceInfo() local
2002 lines = sdssplitlen(info,strlen(info),"\r\n",2,&numlines); in sentinelRefreshInstanceInfo()
2005 sds l = lines[j]; in sentinelRefreshInstanceInfo()
2111 sdsfreesplitres(lines,numlines); in sentinelRefreshInstanceInfo()
/redis-3.2.3/tests/cluster/
H A Dcluster.tcl9 set lines [split [R $id cluster nodes] "\r\n"]
11 foreach l $lines {
/redis-3.2.3/deps/linenoise/
H A DREADME.markdown10 * About 1,100 lines of BSD license source code.
13 ## Can a line editing library be 20k lines of code?
15 … code dealing with terminals is some sort of Black Magic: readline is 30k lines of code, libedit 2…
24 …ittle library: is it *really* needed for a line editing library to be 20k lines of code? Apparentl…
31 The library is currently about 1100 lines of code. In order to use it in your project just look at …
107 to search and re-edit already inserted lines of text.
/redis-3.2.3/tests/support/
H A Dutil.tcl31 set lines [split [exec cat $filename] "\n"]
35 foreach line $lines {
/redis-3.2.3/deps/jemalloc/bin/
H A Djeprof.in1192 my $lines = 0;
1216 $lines++;
1217 last if ($line_limit >= 0 && $lines >= $line_limit);
1863 my $lines = [];
1864 push(@{$lines}, ""); # So we can use 1-based line numbers as indices
1866 push(@{$lines}, $_);
1871 $main::source_cache{$file} = $lines;
1874 my $lines = $main::source_cache{$file};
1875 if (($line < 0) || ($line > $#{$lines})) {
1878 return $lines->[$line];
/redis-3.2.3/
H A DMANIFESTO50 we'll try hard to recognize when a small feature is not worth 1000s of lines
H A D00-RELEASENOTES1229 lines more than 4096 bytes.
/redis-3.2.3/deps/lua/
H A DHISTORY73 + read('*l') can read lines with embedded zeros.