Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
69b30cfc
"sdk/esp_iot_sdk_v1.4.0/examples/at/Makefile" did not exist on "05fe3ea9f1813bc94c44da3ab4639ea40f2227c5"
Commit
69b30cfc
authored
Apr 23, 2012
by
antirez
Browse files
Ziplist encoding now tested with negative integers as well.
parent
0a8a1e78
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/unit/type/list-3.tcl
View file @
69b30cfc
...
@@ -29,6 +29,15 @@ start_server {
...
@@ -29,6 +29,15 @@ start_server {
set data
[
randomInt 4294967296
]
set data
[
randomInt 4294967296
]
}
{
}
{
set data
[
randomInt 18446744073709551616
]
set data
[
randomInt 18446744073709551616
]
}
{
set data -
[
randomInt 65536
]
if
{
$data
eq
{
-0
}}
{
set data 0
}
}
{
set data -
[
randomInt 4294967296
]
if
{
$data
eq
{
-0
}}
{
set data 0
}
}
{
set data -
[
randomInt 18446744073709551616
]
if
{
$data
eq
{
-0
}}
{
set data 0
}
}
}
lappend l $data
lappend l $data
r rpush l $data
r rpush l $data
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment