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
4e729fcd
Commit
4e729fcd
authored
May 24, 2018
by
antirez
Browse files
Generate configure for Jemalloc.
parent
98d5d3f1
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
deps/jemalloc/VERSION
0 → 100644
View file @
4e729fcd
5.1.0-0-g0
deps/jemalloc/configure
0 → 100755
View file @
4e729fcd
This diff is collapsed.
Click to expand it.
deps/jemalloc/test/integration/cpp/basic.cpp
0 → 100644
View file @
4e729fcd
#include <memory>
#include "test/jemalloc_test.h"
TEST_BEGIN
(
test_basic
)
{
auto
foo
=
new
long
(
4
);
assert_ptr_not_null
(
foo
,
"Unexpected new[] failure"
);
delete
foo
;
// Test nullptr handling.
foo
=
nullptr
;
delete
foo
;
auto
bar
=
new
long
;
assert_ptr_not_null
(
bar
,
"Unexpected new failure"
);
delete
bar
;
// Test nullptr handling.
bar
=
nullptr
;
delete
bar
;
}
TEST_END
int
main
()
{
return
test
(
test_basic
);
}
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