├── doc ├── pictures │ ├── .gitignore │ ├── logo.png │ ├── logo-1.png │ ├── logo-2.png │ ├── logo-3.png │ ├── addgroup.jpg │ ├── snapshots1.png │ ├── snapshots2.png │ ├── snapshots3.png │ ├── snapshots4.png │ ├── architecture.png │ ├── rebalance_slots.jpg │ └── Makefile ├── bench1 │ ├── bench.pdf │ ├── bench.png │ └── Makefile └── bench2 │ ├── bench.pdf │ ├── bench.png │ └── Makefile ├── extern ├── .gitignore ├── redis-3.2.11 │ ├── INSTALL │ ├── deps │ │ ├── jemalloc │ │ │ ├── config.stamp.in │ │ │ ├── .gitattributes │ │ │ ├── VERSION │ │ │ ├── test │ │ │ │ ├── src │ │ │ │ │ ├── math.c │ │ │ │ │ ├── btalloc_0.c │ │ │ │ │ ├── btalloc_1.c │ │ │ │ │ └── btalloc.c │ │ │ │ ├── unit │ │ │ │ │ ├── junk_free.c │ │ │ │ │ └── junk_alloc.c │ │ │ │ └── include │ │ │ │ │ └── test │ │ │ │ │ ├── thd.h │ │ │ │ │ └── jemalloc_test_defs.h.in │ │ │ ├── src │ │ │ │ ├── mb.c │ │ │ │ ├── hash.c │ │ │ │ └── atomic.c │ │ │ ├── .autom4te.cfg │ │ │ ├── include │ │ │ │ └── jemalloc │ │ │ │ │ └── internal │ │ │ │ │ ├── private_unnamespace.sh │ │ │ │ │ ├── private_namespace.sh │ │ │ │ │ ├── public_unnamespace.sh │ │ │ │ │ └── public_namespace.sh │ │ │ ├── bin │ │ │ │ └── jemalloc.sh.in │ │ │ ├── doc │ │ │ │ ├── html.xsl.in │ │ │ │ ├── manpages.xsl.in │ │ │ │ └── stylesheet.xsl │ │ │ ├── autogen.sh │ │ │ ├── coverage.sh │ │ │ └── jemalloc.pc.in │ │ ├── linenoise │ │ │ ├── .gitignore │ │ │ └── Makefile │ │ ├── hiredis │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── zmalloc.h │ │ ├── lua │ │ │ ├── doc │ │ │ │ ├── logo.gif │ │ │ │ ├── cover.png │ │ │ │ └── manual.css │ │ │ ├── etc │ │ │ │ ├── lua.ico │ │ │ │ └── lua.hpp │ │ │ ├── test │ │ │ │ ├── life.lua │ │ │ │ ├── echo.lua │ │ │ │ ├── hello.lua │ │ │ │ ├── printf.lua │ │ │ │ ├── env.lua │ │ │ │ ├── luac.lua │ │ │ │ ├── fibfor.lua │ │ │ │ ├── readonly.lua │ │ │ │ ├── table.lua │ │ │ │ ├── cf.lua │ │ │ │ ├── xd.lua │ │ │ │ └── globals.lua │ │ │ └── src │ │ │ │ └── lapi.h │ │ ├── update-jemalloc.sh │ │ └── geohash-int │ │ │ └── Makefile │ ├── utils │ │ ├── hyperloglog │ │ │ └── .gitignore │ │ ├── create-cluster │ │ │ └── .gitignore │ │ ├── releasetools │ │ │ ├── 02_upload_tarball.sh │ │ │ ├── 01_create_tarball.sh │ │ │ └── 04_release_hash.sh │ │ └── hashtable │ │ │ └── README │ ├── src │ │ ├── version.h │ │ ├── .gitignore │ │ ├── crc64.h │ │ ├── valgrind.sup │ │ └── geo.h │ ├── tests │ │ ├── cluster │ │ │ └── tmp │ │ │ │ └── .gitignore │ │ ├── sentinel │ │ │ ├── tmp │ │ │ │ └── .gitignore │ │ │ └── tests │ │ │ │ ├── 03-runtime-reconf.tcl │ │ │ │ └── 04-slave-selection.tcl │ │ ├── unit │ │ │ ├── printver.tcl │ │ │ └── type │ │ │ │ └── list-common.tcl │ │ ├── helpers │ │ │ ├── bg_complex_data.tcl │ │ │ └── gen_write_load.tcl │ │ └── support │ │ │ └── tmpfile.tcl │ ├── BUGS │ ├── patch │ │ └── Makefile │ ├── Makefile │ ├── runtest │ ├── runtest-cluster │ ├── runtest-sentinel │ └── .gitignore ├── deprecated │ ├── redis-2.8.21 │ │ ├── INSTALL │ │ ├── deps │ │ │ ├── jemalloc │ │ │ │ ├── config.stamp.in │ │ │ │ ├── test │ │ │ │ │ ├── src │ │ │ │ │ │ └── math.c │ │ │ │ │ ├── unit │ │ │ │ │ │ ├── prof_accum_a.c │ │ │ │ │ │ └── prof_accum_b.c │ │ │ │ │ └── include │ │ │ │ │ │ └── test │ │ │ │ │ │ ├── jemalloc_test_defs.h.in │ │ │ │ │ │ └── thd.h │ │ │ │ ├── src │ │ │ │ │ ├── mb.c │ │ │ │ │ ├── hash.c │ │ │ │ │ └── atomic.c │ │ │ │ ├── include │ │ │ │ │ ├── jemalloc │ │ │ │ │ │ └── internal │ │ │ │ │ │ │ ├── private_unnamespace.sh │ │ │ │ │ │ │ ├── private_namespace.sh │ │ │ │ │ │ │ ├── public_unnamespace.sh │ │ │ │ │ │ │ └── public_namespace.sh │ │ │ │ │ └── msvc_compat │ │ │ │ │ │ └── stdbool.h │ │ │ │ ├── bin │ │ │ │ │ └── jemalloc.sh.in │ │ │ │ ├── doc │ │ │ │ │ ├── html.xsl.in │ │ │ │ │ ├── manpages.xsl.in │ │ │ │ │ └── stylesheet.xsl │ │ │ │ ├── autogen.sh │ │ │ │ └── coverage.sh │ │ │ ├── linenoise │ │ │ │ ├── .gitignore │ │ │ │ └── Makefile │ │ │ ├── hiredis │ │ │ │ ├── .gitignore │ │ │ │ ├── .travis.yml │ │ │ │ └── zmalloc.h │ │ │ ├── lua │ │ │ │ ├── etc │ │ │ │ │ ├── lua.ico │ │ │ │ │ └── lua.hpp │ │ │ │ ├── test │ │ │ │ │ ├── echo.lua │ │ │ │ │ ├── hello.lua │ │ │ │ │ ├── life.lua │ │ │ │ │ ├── printf.lua │ │ │ │ │ ├── env.lua │ │ │ │ │ ├── luac.lua │ │ │ │ │ ├── fibfor.lua │ │ │ │ │ ├── readonly.lua │ │ │ │ │ ├── table.lua │ │ │ │ │ ├── cf.lua │ │ │ │ │ ├── xd.lua │ │ │ │ │ └── globals.lua │ │ │ │ ├── doc │ │ │ │ │ ├── cover.png │ │ │ │ │ ├── logo.gif │ │ │ │ │ └── manual.css │ │ │ │ └── src │ │ │ │ │ └── lapi.h │ │ │ └── update-jemalloc.sh │ │ ├── utils │ │ │ ├── hyperloglog │ │ │ │ └── .gitignore │ │ │ └── mkrelease.sh │ │ ├── src │ │ │ ├── version.h │ │ │ ├── .gitignore │ │ │ ├── crc64.h │ │ │ └── valgrind.sup │ │ ├── tests │ │ │ ├── sentinel │ │ │ │ ├── tmp │ │ │ │ │ └── .gitignore │ │ │ │ └── tests │ │ │ │ │ ├── 03-runtime-reconf.tcl │ │ │ │ │ └── 04-slave-selection.tcl │ │ │ ├── unit │ │ │ │ ├── printver.tcl │ │ │ │ └── type │ │ │ │ │ └── list-common.tcl │ │ │ ├── helpers │ │ │ │ ├── bg_complex_data.tcl │ │ │ │ └── gen_write_load.tcl │ │ │ └── support │ │ │ │ └── tmpfile.tcl │ │ ├── BUGS │ │ ├── Makefile │ │ ├── runtest │ │ ├── runtest-sentinel │ │ └── .gitignore │ ├── redis-3.2.4 │ │ ├── INSTALL │ │ ├── deps │ │ │ ├── jemalloc │ │ │ │ ├── config.stamp.in │ │ │ │ ├── .gitattributes │ │ │ │ ├── test │ │ │ │ │ ├── src │ │ │ │ │ │ ├── math.c │ │ │ │ │ │ ├── btalloc_0.c │ │ │ │ │ │ ├── btalloc_1.c │ │ │ │ │ │ └── btalloc.c │ │ │ │ │ ├── unit │ │ │ │ │ │ ├── junk_free.c │ │ │ │ │ │ ├── junk_alloc.c │ │ │ │ │ │ └── a0.c │ │ │ │ │ └── include │ │ │ │ │ │ └── test │ │ │ │ │ │ ├── thd.h │ │ │ │ │ │ ├── jemalloc_test_defs.h.in │ │ │ │ │ │ └── timer.h │ │ │ │ ├── src │ │ │ │ │ ├── mb.c │ │ │ │ │ ├── hash.c │ │ │ │ │ ├── prng.c │ │ │ │ │ ├── atomic.c │ │ │ │ │ └── ticker.c │ │ │ │ ├── msvc │ │ │ │ │ └── projects │ │ │ │ │ │ └── vc2015 │ │ │ │ │ │ └── test_threads │ │ │ │ │ │ ├── test_threads.h │ │ │ │ │ │ └── test_threads_main.cpp │ │ │ │ ├── .autom4te.cfg │ │ │ │ ├── include │ │ │ │ │ ├── jemalloc │ │ │ │ │ │ └── internal │ │ │ │ │ │ │ ├── private_unnamespace.sh │ │ │ │ │ │ │ ├── private_namespace.sh │ │ │ │ │ │ │ ├── public_unnamespace.sh │ │ │ │ │ │ │ └── public_namespace.sh │ │ │ │ │ └── msvc_compat │ │ │ │ │ │ └── windows_extra.h │ │ │ │ ├── bin │ │ │ │ │ └── jemalloc.sh.in │ │ │ │ ├── doc │ │ │ │ │ ├── html.xsl.in │ │ │ │ │ ├── manpages.xsl.in │ │ │ │ │ └── stylesheet.xsl │ │ │ │ ├── autogen.sh │ │ │ │ ├── coverage.sh │ │ │ │ └── jemalloc.pc.in │ │ │ ├── linenoise │ │ │ │ ├── .gitignore │ │ │ │ └── Makefile │ │ │ ├── hiredis │ │ │ │ ├── .gitignore │ │ │ │ ├── .travis.yml │ │ │ │ └── zmalloc.h │ │ │ ├── lua │ │ │ │ ├── doc │ │ │ │ │ ├── logo.gif │ │ │ │ │ ├── cover.png │ │ │ │ │ └── manual.css │ │ │ │ ├── etc │ │ │ │ │ ├── lua.ico │ │ │ │ │ └── lua.hpp │ │ │ │ ├── test │ │ │ │ │ ├── echo.lua │ │ │ │ │ ├── hello.lua │ │ │ │ │ ├── life.lua │ │ │ │ │ ├── printf.lua │ │ │ │ │ ├── env.lua │ │ │ │ │ ├── luac.lua │ │ │ │ │ ├── fibfor.lua │ │ │ │ │ ├── readonly.lua │ │ │ │ │ ├── table.lua │ │ │ │ │ ├── cf.lua │ │ │ │ │ ├── xd.lua │ │ │ │ │ └── globals.lua │ │ │ │ └── src │ │ │ │ │ └── lapi.h │ │ │ ├── update-jemalloc.sh │ │ │ └── geohash-int │ │ │ │ └── Makefile │ │ ├── utils │ │ │ ├── hyperloglog │ │ │ │ └── .gitignore │ │ │ ├── create-cluster │ │ │ │ └── .gitignore │ │ │ ├── releasetools │ │ │ │ ├── 02_upload_tarball.sh │ │ │ │ ├── 01_create_tarball.sh │ │ │ │ └── 04_release_hash.sh │ │ │ └── hashtable │ │ │ │ └── README │ │ ├── src │ │ │ ├── version.h │ │ │ ├── .gitignore │ │ │ ├── crc64.h │ │ │ └── valgrind.sup │ │ ├── tests │ │ │ ├── cluster │ │ │ │ └── tmp │ │ │ │ │ └── .gitignore │ │ │ ├── sentinel │ │ │ │ ├── tmp │ │ │ │ │ └── .gitignore │ │ │ │ └── tests │ │ │ │ │ ├── 03-runtime-reconf.tcl │ │ │ │ │ └── 04-slave-selection.tcl │ │ │ ├── unit │ │ │ │ ├── printver.tcl │ │ │ │ └── type │ │ │ │ │ └── list-common.tcl │ │ │ ├── helpers │ │ │ │ ├── bg_complex_data.tcl │ │ │ │ └── gen_write_load.tcl │ │ │ └── support │ │ │ │ └── tmpfile.tcl │ │ ├── BUGS │ │ ├── Makefile │ │ ├── runtest │ │ ├── runtest-cluster │ │ ├── runtest-sentinel │ │ └── .gitignore │ ├── redis-3.2.8 │ │ ├── INSTALL │ │ ├── deps │ │ │ ├── jemalloc │ │ │ │ ├── config.stamp.in │ │ │ │ ├── .gitattributes │ │ │ │ ├── VERSION │ │ │ │ ├── test │ │ │ │ │ ├── src │ │ │ │ │ │ ├── math.c │ │ │ │ │ │ ├── btalloc_0.c │ │ │ │ │ │ ├── btalloc_1.c │ │ │ │ │ │ └── btalloc.c │ │ │ │ │ ├── unit │ │ │ │ │ │ ├── junk_free.c │ │ │ │ │ │ └── junk_alloc.c │ │ │ │ │ └── include │ │ │ │ │ │ └── test │ │ │ │ │ │ ├── thd.h │ │ │ │ │ │ └── jemalloc_test_defs.h.in │ │ │ │ ├── src │ │ │ │ │ ├── mb.c │ │ │ │ │ ├── hash.c │ │ │ │ │ └── atomic.c │ │ │ │ ├── .autom4te.cfg │ │ │ │ ├── include │ │ │ │ │ └── jemalloc │ │ │ │ │ │ └── internal │ │ │ │ │ │ ├── private_unnamespace.sh │ │ │ │ │ │ ├── private_namespace.sh │ │ │ │ │ │ ├── public_unnamespace.sh │ │ │ │ │ │ └── public_namespace.sh │ │ │ │ ├── bin │ │ │ │ │ └── jemalloc.sh.in │ │ │ │ ├── doc │ │ │ │ │ ├── html.xsl.in │ │ │ │ │ ├── manpages.xsl.in │ │ │ │ │ └── stylesheet.xsl │ │ │ │ ├── autogen.sh │ │ │ │ ├── coverage.sh │ │ │ │ └── jemalloc.pc.in │ │ │ ├── linenoise │ │ │ │ ├── .gitignore │ │ │ │ └── Makefile │ │ │ ├── hiredis │ │ │ │ ├── .gitignore │ │ │ │ ├── .travis.yml │ │ │ │ └── zmalloc.h │ │ │ ├── lua │ │ │ │ ├── doc │ │ │ │ │ ├── logo.gif │ │ │ │ │ ├── cover.png │ │ │ │ │ └── manual.css │ │ │ │ ├── etc │ │ │ │ │ ├── lua.ico │ │ │ │ │ └── lua.hpp │ │ │ │ ├── test │ │ │ │ │ ├── echo.lua │ │ │ │ │ ├── hello.lua │ │ │ │ │ ├── life.lua │ │ │ │ │ ├── printf.lua │ │ │ │ │ ├── env.lua │ │ │ │ │ ├── luac.lua │ │ │ │ │ ├── fibfor.lua │ │ │ │ │ ├── readonly.lua │ │ │ │ │ ├── table.lua │ │ │ │ │ ├── cf.lua │ │ │ │ │ ├── xd.lua │ │ │ │ │ └── globals.lua │ │ │ │ └── src │ │ │ │ │ └── lapi.h │ │ │ ├── update-jemalloc.sh │ │ │ └── geohash-int │ │ │ │ └── Makefile │ │ ├── utils │ │ │ ├── hyperloglog │ │ │ │ └── .gitignore │ │ │ ├── create-cluster │ │ │ │ └── .gitignore │ │ │ ├── releasetools │ │ │ │ ├── 02_upload_tarball.sh │ │ │ │ ├── 01_create_tarball.sh │ │ │ │ └── 04_release_hash.sh │ │ │ └── hashtable │ │ │ │ └── README │ │ ├── src │ │ │ ├── version.h │ │ │ ├── .gitignore │ │ │ ├── release.h │ │ │ ├── crc64.h │ │ │ └── valgrind.sup │ │ ├── tests │ │ │ ├── cluster │ │ │ │ └── tmp │ │ │ │ │ └── .gitignore │ │ │ ├── sentinel │ │ │ │ ├── tmp │ │ │ │ │ └── .gitignore │ │ │ │ └── tests │ │ │ │ │ ├── 03-runtime-reconf.tcl │ │ │ │ │ └── 04-slave-selection.tcl │ │ │ ├── unit │ │ │ │ ├── printver.tcl │ │ │ │ └── type │ │ │ │ │ └── list-common.tcl │ │ │ ├── helpers │ │ │ │ ├── bg_complex_data.tcl │ │ │ │ └── gen_write_load.tcl │ │ │ └── support │ │ │ │ └── tmpfile.tcl │ │ ├── BUGS │ │ ├── patch │ │ │ └── Makefile │ │ ├── Makefile │ │ ├── runtest │ │ ├── runtest-cluster │ │ ├── runtest-sentinel │ │ └── .gitignore │ ├── redis-test │ │ ├── .gitignore │ │ ├── bench │ │ │ └── Makefile │ │ └── tcl │ │ │ ├── tests │ │ │ ├── unit │ │ │ │ └── type │ │ │ │ │ └── list-common.tcl │ │ │ ├── helpers │ │ │ │ ├── bg_complex_data.tcl │ │ │ │ └── gen_write_load.tcl │ │ │ └── support │ │ │ │ └── tmpfile.tcl │ │ │ └── runtest │ └── scala-client │ │ ├── project │ │ ├── build.properties │ │ └── plugins.sbt │ │ └── src │ │ └── main │ │ └── scala │ │ └── codis │ │ └── CodisLogSource.scala └── README.md ├── pkg ├── topom │ └── .gitignore ├── models │ ├── sentinel.go │ ├── action.go │ └── topom.go └── utils │ ├── unsafe2 │ ├── string_test.go │ ├── cgo_malloc.go │ ├── je_malloc.go │ └── string.go │ ├── assert │ └── assert.go │ └── bufio2 │ └── slice.go ├── scripts ├── .gitignore └── static_slots.py ├── deploy ├── products │ ├── alpha │ │ ├── .gitignore │ │ ├── Makefile │ │ └── config.json │ └── beta │ │ ├── .gitignore │ │ └── Makefile ├── root │ └── opt │ │ └── codis │ │ └── etc │ │ ├── demo-alpha │ │ ├── demo-beta │ │ ├── 127.0.0.1_19000 │ │ ├── proxy_admin │ │ └── codis_proxy_19000.service │ │ ├── 127.0.0.1_19001 │ │ ├── proxy_admin │ │ └── codis_proxy_19001.service │ │ ├── 127.0.0.1_19002 │ │ ├── proxy_admin │ │ └── codis_proxy_19002.service │ │ ├── 10.2.16.200_19000 │ │ ├── proxy_admin │ │ └── codis_proxy_19000.service │ │ ├── 10.2.16.200_19002 │ │ ├── proxy_admin │ │ └── codis_proxy_19002.service │ │ ├── 10.2.16.201_19000 │ │ ├── proxy_admin │ │ └── codis_proxy_19000.service │ │ ├── 10.2.16.201_19002 │ │ ├── proxy_admin │ │ └── codis_proxy_19002.service │ │ ├── 10.2.16.202_19000 │ │ ├── proxy_admin │ │ └── codis_proxy_19000.service │ │ ├── 10.2.16.202_19002 │ │ ├── proxy_admin │ │ └── codis_proxy_19002.service │ │ ├── 10.4.10.200_19000 │ │ ├── proxy_admin │ │ └── codis_proxy_19000.service │ │ ├── 10.4.10.200_19002 │ │ ├── proxy_admin │ │ └── codis_proxy_19002.service │ │ ├── 10.4.10.201_19000 │ │ ├── proxy_admin │ │ └── codis_proxy_19000.service │ │ ├── 10.4.10.201_19002 │ │ ├── proxy_admin │ │ └── codis_proxy_19002.service │ │ ├── 127.0.0.1_18080 │ │ ├── dashboard_admin │ │ ├── foreach_proxy │ │ ├── codis_dashboard_18080.service │ │ ├── foreach_proxy_online │ │ └── foreach_proxy_reinit │ │ └── 10.4.10.100_18080 │ │ ├── dashboard_admin │ │ └── codis_dashboard_18080.service ├── Makefile └── templates │ ├── dashboard.service.template │ └── proxy.service.template ├── cmd └── fe │ └── assets │ ├── node_modules │ ├── jquery │ │ ├── src │ │ │ ├── outro.js │ │ │ ├── sizzle │ │ │ │ └── test │ │ │ │ │ └── data │ │ │ │ │ └── empty.js │ │ │ ├── selector.js │ │ │ ├── var │ │ │ │ ├── arr.js │ │ │ │ ├── rnotwhite.js │ │ │ │ ├── strundefined.js │ │ │ │ ├── push.js │ │ │ │ ├── slice.js │ │ │ │ ├── class2type.js │ │ │ │ ├── concat.js │ │ │ │ ├── indexOf.js │ │ │ │ ├── pnum.js │ │ │ │ ├── hasOwn.js │ │ │ │ ├── toString.js │ │ │ │ └── support.js │ │ │ ├── ajax │ │ │ │ ├── var │ │ │ │ │ ├── rquery.js │ │ │ │ │ └── nonce.js │ │ │ │ └── parseJSON.js │ │ │ ├── css │ │ │ │ ├── var │ │ │ │ │ ├── rmargin.js │ │ │ │ │ ├── cssExpand.js │ │ │ │ │ ├── rnumnonpx.js │ │ │ │ │ ├── isHidden.js │ │ │ │ │ └── getStyles.js │ │ │ │ └── hiddenVisibleSelectors.js │ │ │ ├── manipulation │ │ │ │ ├── var │ │ │ │ │ └── rcheckableType.js │ │ │ │ └── _evalUrl.js │ │ │ ├── data │ │ │ │ ├── var │ │ │ │ │ ├── data_priv.js │ │ │ │ │ └── data_user.js │ │ │ │ └── accepts.js │ │ │ ├── core │ │ │ │ └── var │ │ │ │ │ └── rsingleTag.js │ │ │ ├── traversing │ │ │ │ └── var │ │ │ │ │ └── rneedsContext.js │ │ │ ├── event │ │ │ │ ├── support.js │ │ │ │ └── ajax.js │ │ │ ├── attributes.js │ │ │ ├── deprecated.js │ │ │ ├── effects │ │ │ │ └── animatedSelector.js │ │ │ └── selector-sizzle.js │ │ ├── .bowerrc │ │ ├── .jscsrc │ │ └── .npmignore │ ├── angular-ui-bootstrap │ │ ├── .npmignore │ │ ├── index.js │ │ └── ui-bootstrap-csp.css │ ├── convert-hex │ │ ├── .npmignore │ │ ├── CHANGELOG.md │ │ ├── component.json │ │ └── bower.json │ ├── highcharts │ │ ├── js │ │ │ ├── parts-3d │ │ │ │ ├── Outro.js │ │ │ │ ├── .eslintrc │ │ │ │ └── Globals.js │ │ │ ├── parts-map │ │ │ │ ├── Outro.js │ │ │ │ ├── .eslintrc │ │ │ │ └── HeatmapIntro.js │ │ │ ├── parts-more │ │ │ │ ├── Outro.js │ │ │ │ ├── .eslintrc │ │ │ │ └── AreaSplineRangeSeries.js │ │ │ ├── modules │ │ │ │ └── .eslintrc │ │ │ └── parts │ │ │ │ ├── Outro.js │ │ │ │ ├── .eslintrc │ │ │ │ ├── LineSeries.js │ │ │ │ └── BarSeries.js │ │ ├── gfx │ │ │ └── vml-radial-gradient.png │ │ └── license.txt │ ├── bootstrap-dialog │ │ ├── .eslintignore │ │ ├── .npmignore │ │ ├── examples │ │ │ ├── remote.html │ │ │ ├── images │ │ │ │ └── pig.ico │ │ │ └── assets │ │ │ │ └── bootstrap │ │ │ │ └── fonts │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ └── composer.json │ ├── sha256 │ │ └── .npmignore │ ├── angular │ │ ├── index.js │ │ ├── angular.min.js.gzip │ │ ├── bower.json │ │ └── angular-csp.css │ ├── convert-string │ │ ├── .npmignore │ │ ├── CHANGELOG.md │ │ ├── component.json │ │ └── bower.json │ ├── bootstrap │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ ├── grunt │ │ │ └── .jshintrc │ │ ├── dist │ │ │ └── fonts │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ ├── less │ │ │ └── mixins │ │ │ │ ├── center-block.less │ │ │ │ ├── size.less │ │ │ │ ├── opacity.less │ │ │ │ ├── text-emphasis.less │ │ │ │ ├── text-overflow.less │ │ │ │ ├── tab-focus.less │ │ │ │ ├── background-variant.less │ │ │ │ ├── labels.less │ │ │ │ ├── resize.less │ │ │ │ ├── progress-bar.less │ │ │ │ ├── nav-divider.less │ │ │ │ ├── reset-filter.less │ │ │ │ ├── alerts.less │ │ │ │ ├── nav-vertical-align.less │ │ │ │ └── responsive-visibility.less │ │ └── CHANGELOG.md │ └── highcharts-ng │ │ ├── .travis.yml │ │ └── .npmignore │ ├── favicon.ico │ ├── css │ └── fonts │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ └── package.json ├── vendor ├── github.com │ ├── go-martini │ │ └── martini │ │ │ ├── wercker.yml │ │ │ └── go_version.go │ ├── spinlock │ │ └── jemalloc-go │ │ │ ├── jemalloc-4.4.0 │ │ │ ├── config.stamp.in │ │ │ ├── .gitattributes │ │ │ ├── VERSION │ │ │ ├── test │ │ │ │ ├── src │ │ │ │ │ ├── math.c │ │ │ │ │ ├── btalloc_0.c │ │ │ │ │ ├── btalloc_1.c │ │ │ │ │ └── btalloc.c │ │ │ │ ├── unit │ │ │ │ │ ├── junk_free.c │ │ │ │ │ ├── junk_alloc.c │ │ │ │ │ └── a0.c │ │ │ │ └── include │ │ │ │ │ └── test │ │ │ │ │ ├── thd.h │ │ │ │ │ ├── jemalloc_test_defs.h.in │ │ │ │ │ └── timer.h │ │ │ ├── src │ │ │ │ ├── mb.c │ │ │ │ ├── hash.c │ │ │ │ ├── prng.c │ │ │ │ ├── spin.c │ │ │ │ ├── atomic.c │ │ │ │ └── ticker.c │ │ │ ├── msvc │ │ │ │ └── projects │ │ │ │ │ └── vc2015 │ │ │ │ │ └── test_threads │ │ │ │ │ ├── test_threads.h │ │ │ │ │ └── test_threads_main.cpp │ │ │ ├── .autom4te.cfg │ │ │ ├── include │ │ │ │ ├── jemalloc │ │ │ │ │ └── internal │ │ │ │ │ │ ├── private_unnamespace.sh │ │ │ │ │ │ ├── private_namespace.sh │ │ │ │ │ │ ├── public_unnamespace.sh │ │ │ │ │ │ └── public_namespace.sh │ │ │ │ └── msvc_compat │ │ │ │ │ └── windows_extra.h │ │ │ ├── bin │ │ │ │ └── jemalloc.sh.in │ │ │ ├── doc │ │ │ │ ├── manpages.xsl.in │ │ │ │ ├── html.xsl.in │ │ │ │ └── stylesheet.xsl │ │ │ ├── autogen.sh │ │ │ ├── coverage.sh │ │ │ └── jemalloc.pc.in │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── help.mk │ ├── codegangsta │ │ └── inject │ │ │ ├── .gitignore │ │ │ └── update_readme.sh │ ├── martini-contrib │ │ ├── binding │ │ │ └── wercker.yml │ │ ├── gzip │ │ │ └── wercker.yml │ │ └── render │ │ │ └── wercker.yml │ ├── ugorji │ │ └── go │ │ │ └── codec │ │ │ ├── prebuild.go │ │ │ ├── gen_17.go │ │ │ ├── gen_16.go │ │ │ ├── gen_15.go │ │ │ ├── decode_go14.go │ │ │ └── decode_go.go │ ├── BurntSushi │ │ └── toml │ │ │ ├── session.vim │ │ │ ├── .gitignore │ │ │ ├── COMPATIBLE │ │ │ ├── .travis.yml │ │ │ └── Makefile │ ├── coreos │ │ └── etcd │ │ │ ├── NOTICE │ │ │ └── client │ │ │ └── cancelreq.go │ ├── docopt │ │ └── docopt-go │ │ │ ├── test_golang.docopt │ │ │ └── .gitignore │ └── oxtoacart │ │ └── bpool │ │ └── bpool.go ├── gopkg.in │ └── alexcesaro │ │ └── statsd.v2 │ │ └── .travis.yml └── golang.org │ └── x │ └── net │ ├── AUTHORS │ └── CONTRIBUTORS ├── example ├── sentinel_notify.sh ├── sentinel_reconfig.sh ├── Makefile └── .gitignore ├── Godeps └── Readme ├── .gitignore ├── ansible └── hosts ├── kubernetes ├── zookeeper │ └── zookeeper-service.yaml └── README.md └── Dockerfile /doc/pictures/.gitignore: -------------------------------------------------------------------------------- 1 | tmp 2 | -------------------------------------------------------------------------------- /extern/.gitignore: -------------------------------------------------------------------------------- 1 | /Dockerfile 2 | -------------------------------------------------------------------------------- /pkg/topom/.gitignore: -------------------------------------------------------------------------------- 1 | /gotest.tmp 2 | -------------------------------------------------------------------------------- /scripts/.gitignore: -------------------------------------------------------------------------------- 1 | /log 2 | /tmp 3 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/INSTALL: -------------------------------------------------------------------------------- 1 | See README 2 | -------------------------------------------------------------------------------- /deploy/products/alpha/.gitignore: -------------------------------------------------------------------------------- 1 | instance.json 2 | -------------------------------------------------------------------------------- /deploy/products/beta/.gitignore: -------------------------------------------------------------------------------- 1 | instance.json 2 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/demo-alpha: -------------------------------------------------------------------------------- 1 | 127.0.0.1_18080 -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/demo-beta: -------------------------------------------------------------------------------- 1 | 10.4.10.100_18080 -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/INSTALL: -------------------------------------------------------------------------------- 1 | See README 2 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/INSTALL: -------------------------------------------------------------------------------- 1 | See README 2 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/INSTALL: -------------------------------------------------------------------------------- 1 | See README 2 | -------------------------------------------------------------------------------- /extern/deprecated/redis-test/.gitignore: -------------------------------------------------------------------------------- 1 | test.log 2 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/config.stamp.in: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/outro.js: -------------------------------------------------------------------------------- 1 | })); 2 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/utils/hyperloglog/.gitignore: -------------------------------------------------------------------------------- 1 | *.txt 2 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/sizzle/test/data/empty.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /extern/README.md: -------------------------------------------------------------------------------- 1 | codis's redis build & external librarys 2 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/config.stamp.in: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/config.stamp.in: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/config.stamp.in: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/angular-ui-bootstrap/.npmignore: -------------------------------------------------------------------------------- 1 | bower.json -------------------------------------------------------------------------------- /deploy/products/alpha/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | ./gen.py && ./render.py 3 | -------------------------------------------------------------------------------- /deploy/products/beta/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | ./gen.py && ./render.py 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/utils/hyperloglog/.gitignore: -------------------------------------------------------------------------------- 1 | *.txt 2 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/utils/hyperloglog/.gitignore: -------------------------------------------------------------------------------- 1 | *.txt 2 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/src/version.h: -------------------------------------------------------------------------------- 1 | #define REDIS_VERSION "3.2.11" 2 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/convert-hex/.npmignore: -------------------------------------------------------------------------------- 1 | .gitignore 2 | test/ -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/js/parts-3d/Outro.js: -------------------------------------------------------------------------------- 1 | 2 | })); 3 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/js/parts-map/Outro.js: -------------------------------------------------------------------------------- 1 | 2 | })); 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/utils/hyperloglog/.gitignore: -------------------------------------------------------------------------------- 1 | *.txt 2 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-martini/martini/wercker.yml: -------------------------------------------------------------------------------- 1 | box: wercker/golang@1.1.1 -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/config.stamp.in: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap-dialog/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules/** 2 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/js/parts-more/Outro.js: -------------------------------------------------------------------------------- 1 | 2 | })); 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/src/version.h: -------------------------------------------------------------------------------- 1 | #define REDIS_VERSION "3.2.4" 2 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/src/version.h: -------------------------------------------------------------------------------- 1 | #define REDIS_VERSION "3.2.9" 2 | -------------------------------------------------------------------------------- /extern/deprecated/scala-client/project/build.properties: -------------------------------------------------------------------------------- 1 | sbt.version = 0.13.7 -------------------------------------------------------------------------------- /extern/redis-3.2.11/tests/cluster/tmp/.gitignore: -------------------------------------------------------------------------------- 1 | redis_* 2 | sentinel_* 3 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/tests/sentinel/tmp/.gitignore: -------------------------------------------------------------------------------- 1 | redis_* 2 | sentinel_* 3 | -------------------------------------------------------------------------------- /vendor/github.com/codegangsta/inject/.gitignore: -------------------------------------------------------------------------------- 1 | inject 2 | inject.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/martini-contrib/binding/wercker.yml: -------------------------------------------------------------------------------- 1 | box: wercker/golang@1.1.1 -------------------------------------------------------------------------------- /vendor/github.com/martini-contrib/gzip/wercker.yml: -------------------------------------------------------------------------------- 1 | box: wercker/golang@1.1.1 -------------------------------------------------------------------------------- /vendor/github.com/martini-contrib/render/wercker.yml: -------------------------------------------------------------------------------- 1 | box: wercker/golang@1.1.1 -------------------------------------------------------------------------------- /example/sentinel_notify.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo $@ >> sentinel_notify.log 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/src/version.h: -------------------------------------------------------------------------------- 1 | #define REDIS_VERSION "2.8.21" 2 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/BUGS: -------------------------------------------------------------------------------- 1 | Please check https://github.com/antirez/redis/issues 2 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "bower_components" 3 | } -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/selector.js: -------------------------------------------------------------------------------- 1 | define([ "./selector-sizzle" ]); 2 | -------------------------------------------------------------------------------- /example/sentinel_reconfig.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo $@ >> sentinel_reconfig.log 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/tests/sentinel/tmp/.gitignore: -------------------------------------------------------------------------------- 1 | redis_* 2 | sentinel_* 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/tests/cluster/tmp/.gitignore: -------------------------------------------------------------------------------- 1 | redis_* 2 | sentinel_* 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/tests/sentinel/tmp/.gitignore: -------------------------------------------------------------------------------- 1 | redis_* 2 | sentinel_* 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/tests/cluster/tmp/.gitignore: -------------------------------------------------------------------------------- 1 | redis_* 2 | sentinel_* 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/tests/sentinel/tmp/.gitignore: -------------------------------------------------------------------------------- 1 | redis_* 2 | sentinel_* 3 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/patch/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | 3 | patch revert: 4 | @bash run.sh $@ 5 | -------------------------------------------------------------------------------- /deploy/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | @cd products && for d in `ls .`; do make -C $$d || exit 1; done 3 | -------------------------------------------------------------------------------- /doc/bench1/bench.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/doc/bench1/bench.pdf -------------------------------------------------------------------------------- /doc/bench1/bench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/doc/bench1/bench.png -------------------------------------------------------------------------------- /doc/bench2/bench.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/doc/bench2/bench.pdf -------------------------------------------------------------------------------- /doc/bench2/bench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/doc/bench2/bench.png -------------------------------------------------------------------------------- /doc/pictures/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/doc/pictures/logo.png -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/BUGS: -------------------------------------------------------------------------------- 1 | Please check https://github.com/antirez/redis/issues 2 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/BUGS: -------------------------------------------------------------------------------- 1 | Please check https://github.com/antirez/redis/issues 2 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/BUGS: -------------------------------------------------------------------------------- 1 | Please check https://github.com/antirez/redis/issues 2 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap-dialog/.npmignore: -------------------------------------------------------------------------------- 1 | nbproject 2 | node_modules 3 | /vendor/ 4 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/js/modules/.eslintrc: -------------------------------------------------------------------------------- 1 | rules: 2 | indent: [2, "tab"] 3 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/var/arr.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return []; 3 | }); 4 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/sha256/.npmignore: -------------------------------------------------------------------------------- 1 | .gitignore 2 | test/ 3 | .DS_Store 4 | references/ -------------------------------------------------------------------------------- /doc/pictures/logo-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/doc/pictures/logo-1.png -------------------------------------------------------------------------------- /doc/pictures/logo-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/doc/pictures/logo-2.png -------------------------------------------------------------------------------- /doc/pictures/logo-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/doc/pictures/logo-3.png -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/patch/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | 3 | patch revert: 4 | @bash run.sh $@ 5 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/VERSION: -------------------------------------------------------------------------------- 1 | 4.0.3-0-ge9192eacf8935e29fc62fddc2701f7942b1cc02c 2 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/linenoise/.gitignore: -------------------------------------------------------------------------------- 1 | linenoise_example 2 | *.dSYM 3 | history.txt 4 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/src/.gitignore: -------------------------------------------------------------------------------- 1 | *.gcda 2 | *.gcno 3 | *.gcov 4 | redis.info 5 | lcov-html 6 | -------------------------------------------------------------------------------- /cmd/fe/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/favicon.ico -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/angular/index.js: -------------------------------------------------------------------------------- 1 | require('./angular'); 2 | module.exports = angular; 3 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/convert-string/.npmignore: -------------------------------------------------------------------------------- 1 | .gitignore 2 | test/ 3 | .DS_Store 4 | references/ -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/js/parts/Outro.js: -------------------------------------------------------------------------------- 1 | 2 | return Highcharts; 3 | })); 4 | -------------------------------------------------------------------------------- /doc/pictures/addgroup.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/doc/pictures/addgroup.jpg -------------------------------------------------------------------------------- /extern/deprecated/scala-client/project/plugins.sbt: -------------------------------------------------------------------------------- 1 | addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8") -------------------------------------------------------------------------------- /vendor/github.com/ugorji/go/codec/prebuild.go: -------------------------------------------------------------------------------- 1 | package codec 2 | 3 | //go:generate bash prebuild.sh 4 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap-dialog/examples/remote.html: -------------------------------------------------------------------------------- 1 | Hello, this is a message from remote.html! -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/ajax/var/rquery.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/\?/); 3 | }); 4 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/var/rnotwhite.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/\S+/g); 3 | }); 4 | -------------------------------------------------------------------------------- /doc/pictures/snapshots1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/doc/pictures/snapshots1.png -------------------------------------------------------------------------------- /doc/pictures/snapshots2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/doc/pictures/snapshots2.png -------------------------------------------------------------------------------- /doc/pictures/snapshots3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/doc/pictures/snapshots3.png -------------------------------------------------------------------------------- /doc/pictures/snapshots4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/doc/pictures/snapshots4.png -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/linenoise/.gitignore: -------------------------------------------------------------------------------- 1 | linenoise_example 2 | *.dSYM 3 | history.txt 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/src/.gitignore: -------------------------------------------------------------------------------- 1 | *.gcda 2 | *.gcno 3 | *.gcov 4 | redis.info 5 | lcov-html 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/linenoise/.gitignore: -------------------------------------------------------------------------------- 1 | linenoise_example 2 | *.dSYM 3 | history.txt 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/src/.gitignore: -------------------------------------------------------------------------------- 1 | *.gcda 2 | *.gcno 3 | *.gcov 4 | redis.info 5 | lcov-html 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/VERSION: -------------------------------------------------------------------------------- 1 | 4.0.3-0-ge9192eacf8935e29fc62fddc2701f7942b1cc02c 2 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/linenoise/.gitignore: -------------------------------------------------------------------------------- 1 | linenoise_example 2 | *.dSYM 3 | history.txt 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/src/.gitignore: -------------------------------------------------------------------------------- 1 | *.gcda 2 | *.gcno 3 | *.gcov 4 | redis.info 5 | lcov-html 6 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/test/src/math.c: -------------------------------------------------------------------------------- 1 | #define MATH_C_ 2 | #include "test/jemalloc_test.h" 3 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/utils/create-cluster/.gitignore: -------------------------------------------------------------------------------- 1 | config.sh 2 | *.rdb 3 | *.aof 4 | *.conf 5 | *.log 6 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/session.vim: -------------------------------------------------------------------------------- 1 | au BufWritePost *.go silent!make tags > /dev/null 2>&1 2 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/js/parts-3d/.eslintrc: -------------------------------------------------------------------------------- 1 | rules: 2 | indent: [2, "tab"] 3 | no-undef: 0 -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/js/parts-map/.eslintrc: -------------------------------------------------------------------------------- 1 | rules: 2 | indent: [2, "tab"] 3 | no-undef: 0 -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/js/parts/.eslintrc: -------------------------------------------------------------------------------- 1 | rules: 2 | indent: [2, "tab"] 3 | no-undef: 0 -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/css/var/rmargin.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/^margin/); 3 | }); 4 | -------------------------------------------------------------------------------- /doc/pictures/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/doc/pictures/architecture.png -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/.gitignore: -------------------------------------------------------------------------------- 1 | TAGS 2 | tags 3 | .*.swp 4 | tomlcheck/tomlcheck 5 | toml.test 6 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/.gitignore: -------------------------------------------------------------------------------- 1 | /lib 2 | /jemalloc 3 | /VERSION 4 | 5 | je_*.c 6 | *.swp 7 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/js/parts-more/.eslintrc: -------------------------------------------------------------------------------- 1 | rules: 2 | indent: [2, "tab"] 3 | no-undef: 0 -------------------------------------------------------------------------------- /doc/pictures/rebalance_slots.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/doc/pictures/rebalance_slots.jpg -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/test/src/math.c: -------------------------------------------------------------------------------- 1 | #define MATH_C_ 2 | #include "test/jemalloc_test.h" 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/test/src/math.c: -------------------------------------------------------------------------------- 1 | #define MATH_C_ 2 | #include "test/jemalloc_test.h" 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/utils/create-cluster/.gitignore: -------------------------------------------------------------------------------- 1 | config.sh 2 | *.rdb 3 | *.aof 4 | *.conf 5 | *.log 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/test/src/math.c: -------------------------------------------------------------------------------- 1 | #define MATH_C_ 2 | #include "test/jemalloc_test.h" 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/utils/create-cluster/.gitignore: -------------------------------------------------------------------------------- 1 | config.sh 2 | *.rdb 3 | *.aof 4 | *.conf 5 | *.log 6 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/test/src/btalloc_0.c: -------------------------------------------------------------------------------- 1 | #include "test/jemalloc_test.h" 2 | 3 | btalloc_n_gen(0) 4 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/test/src/btalloc_1.c: -------------------------------------------------------------------------------- 1 | #include "test/jemalloc_test.h" 2 | 3 | btalloc_n_gen(1) 4 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/VERSION: -------------------------------------------------------------------------------- 1 | 4.4.0-0-gf1f76357313e7dcad7262f17a48ff0a2e005fcdc 2 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/var/strundefined.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return typeof undefined; 3 | }); 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/test/unit/prof_accum_a.c: -------------------------------------------------------------------------------- 1 | #include "prof_accum.h" 2 | 3 | alloc_n_gen(0) 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/test/unit/prof_accum_b.c: -------------------------------------------------------------------------------- 1 | #include "prof_accum.h" 2 | 3 | alloc_n_gen(1) 4 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/src/mb.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_MB_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/tests/sentinel/tests/03-runtime-reconf.tcl: -------------------------------------------------------------------------------- 1 | # Test runtime reconfiguration command SENTINEL SET. 2 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/test/src/btalloc_0.c: -------------------------------------------------------------------------------- 1 | #include "test/jemalloc_test.h" 2 | 3 | btalloc_n_gen(0) 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/test/src/btalloc_1.c: -------------------------------------------------------------------------------- 1 | #include "test/jemalloc_test.h" 2 | 3 | btalloc_n_gen(1) 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/test/src/btalloc_0.c: -------------------------------------------------------------------------------- 1 | #include "test/jemalloc_test.h" 2 | 3 | btalloc_n_gen(0) 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/test/src/btalloc_1.c: -------------------------------------------------------------------------------- 1 | #include "test/jemalloc_test.h" 2 | 3 | btalloc_n_gen(1) 4 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/src/hash.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_HASH_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/test/src/math.c: -------------------------------------------------------------------------------- 1 | #define MATH_C_ 2 | #include "test/jemalloc_test.h" 3 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/angular-ui-bootstrap/index.js: -------------------------------------------------------------------------------- 1 | require('./ui-bootstrap-tpls'); 2 | module.exports = 'ui.bootstrap'; 3 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/var/push.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.push; 5 | }); 6 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/var/slice.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.slice; 5 | }); 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/src/mb.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_MB_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/tests/sentinel/tests/03-runtime-reconf.tcl: -------------------------------------------------------------------------------- 1 | # Test runtime reconfiguration command SENTINEL SET. 2 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/src/mb.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_MB_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/tests/sentinel/tests/03-runtime-reconf.tcl: -------------------------------------------------------------------------------- 1 | # Test runtime reconfiguration command SENTINEL SET. 2 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/src/mb.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_MB_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/tests/sentinel/tests/03-runtime-reconf.tcl: -------------------------------------------------------------------------------- 1 | # Test runtime reconfiguration command SENTINEL SET. 2 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/hiredis/.gitignore: -------------------------------------------------------------------------------- 1 | /hiredis-test 2 | /examples/hiredis-example* 3 | /*.o 4 | /*.so 5 | /*.dylib 6 | /*.a 7 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/src/atomic.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_ATOMIC_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/doc/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/redis-3.2.11/deps/lua/doc/logo.gif -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/etc/lua.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/redis-3.2.11/deps/lua/etc/lua.ico -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/var/class2type.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | // [[Class]] -> type pairs 3 | return {}; 4 | }); 5 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/var/concat.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.concat; 5 | }); 6 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/var/indexOf.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.indexOf; 5 | }); 6 | -------------------------------------------------------------------------------- /example/Makefile: -------------------------------------------------------------------------------- 1 | all: clean 2 | @python3 setup.py 3 | 4 | clean: 5 | @rm -f *.conf *.toml *.pyc *.log *.rdb 6 | @rm -rf rootfs 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/src/hash.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_HASH_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/msvc/projects/vc2015/test_threads/test_threads.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | int test_threads(); 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/src/hash.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_HASH_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/src/prng.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_PRNG_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/src/hash.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_HASH_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/hiredis/.travis.yml: -------------------------------------------------------------------------------- 1 | language: c 2 | compiler: 3 | - gcc 4 | - clang 5 | 6 | script: make && make check 7 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/doc/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/redis-3.2.11/deps/lua/doc/cover.png -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/test/life.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/redis-3.2.11/deps/lua/test/life.lua -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/test/src/btalloc_0.c: -------------------------------------------------------------------------------- 1 | #include "test/jemalloc_test.h" 2 | 3 | btalloc_n_gen(0) 4 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/test/src/btalloc_1.c: -------------------------------------------------------------------------------- 1 | #include "test/jemalloc_test.h" 2 | 3 | btalloc_n_gen(1) 4 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/css/var/cssExpand.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return [ "Top", "Right", "Bottom", "Left" ]; 3 | }); 4 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/manipulation/var/rcheckableType.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/^(?:checkbox|radio)$/i); 3 | }); 4 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/var/pnum.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; 3 | }); 4 | -------------------------------------------------------------------------------- /doc/bench1/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | gnuplot bench.plot 3 | convert -density 300 bench.pdf -quality 90 -background white -alpha off bench.png 4 | -------------------------------------------------------------------------------- /doc/bench2/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | gnuplot bench.plot 3 | convert -density 300 bench.pdf -quality 90 -background white -alpha off bench.png 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/src/atomic.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_ATOMIC_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/hiredis/.gitignore: -------------------------------------------------------------------------------- 1 | /hiredis-test 2 | /examples/hiredis-example* 3 | /*.o 4 | /*.so 5 | /*.dylib 6 | /*.a 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/src/atomic.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_ATOMIC_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/src/ticker.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_TICKER_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/hiredis/.gitignore: -------------------------------------------------------------------------------- 1 | /hiredis-test 2 | /examples/hiredis-example* 3 | /*.o 4 | /*.so 5 | /*.dylib 6 | /*.a 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/src/atomic.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_ATOMIC_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/test/echo.lua: -------------------------------------------------------------------------------- 1 | -- echo command line arguments 2 | 3 | for i=0,table.getn(arg) do 4 | print(i,arg[i]) 5 | end 6 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/test/hello.lua: -------------------------------------------------------------------------------- 1 | -- the first program in every language 2 | 3 | io.write("Hello world, from ",_VERSION,"!\n") 4 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/src/mb.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_MB_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /cmd/fe/assets/css/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/css/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /cmd/fe/assets/css/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/css/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/ajax/var/nonce.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../core" 3 | ], function( jQuery ) { 4 | return jQuery.now(); 5 | }); 6 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/data/var/data_priv.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | }); 6 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/data/var/data_user.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | }); 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/hiredis/.gitignore: -------------------------------------------------------------------------------- 1 | /hiredis-test 2 | /examples/hiredis-example* 3 | /*.o 4 | /*.so 5 | /*.dylib 6 | /*.a 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/hiredis/.travis.yml: -------------------------------------------------------------------------------- 1 | language: c 2 | compiler: 3 | - gcc 4 | - clang 5 | 6 | script: make && make check 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/hiredis/.travis.yml: -------------------------------------------------------------------------------- 1 | language: c 2 | compiler: 3 | - gcc 4 | - clang 5 | 6 | script: make && make check 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/hiredis/.travis.yml: -------------------------------------------------------------------------------- 1 | language: c 2 | compiler: 3 | - gcc 4 | - clang 5 | 6 | script: make && make check 7 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/msvc/projects/vc2015/test_threads/test_threads.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | int test_threads(); 4 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/src/hash.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_HASH_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/src/prng.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_PRNG_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/src/spin.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_SPIN_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /cmd/fe/assets/css/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/css/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- 1 | *.conf 2 | *.toml 3 | *.pyc 4 | *.log 5 | *.rdb 6 | *.tmp 7 | *.swp 8 | 9 | .idea 10 | __pycache__ 11 | 12 | /rootfs 13 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/etc/lua.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/deprecated/redis-2.8.21/deps/lua/etc/lua.ico -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/test/echo.lua: -------------------------------------------------------------------------------- 1 | -- echo command line arguments 2 | 3 | for i=0,table.getn(arg) do 4 | print(i,arg[i]) 5 | end 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/test/hello.lua: -------------------------------------------------------------------------------- 1 | -- the first program in every language 2 | 3 | io.write("Hello world, from ",_VERSION,"!\n") 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/doc/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/deprecated/redis-3.2.4/deps/lua/doc/logo.gif -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/etc/lua.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/deprecated/redis-3.2.4/deps/lua/etc/lua.ico -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/test/echo.lua: -------------------------------------------------------------------------------- 1 | -- echo command line arguments 2 | 3 | for i=0,table.getn(arg) do 4 | print(i,arg[i]) 5 | end 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/test/hello.lua: -------------------------------------------------------------------------------- 1 | -- the first program in every language 2 | 3 | io.write("Hello world, from ",_VERSION,"!\n") 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/doc/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/deprecated/redis-3.2.8/deps/lua/doc/logo.gif -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/etc/lua.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/deprecated/redis-3.2.8/deps/lua/etc/lua.ico -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/test/echo.lua: -------------------------------------------------------------------------------- 1 | -- echo command line arguments 2 | 3 | for i=0,table.getn(arg) do 4 | print(i,arg[i]) 5 | end 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/test/hello.lua: -------------------------------------------------------------------------------- 1 | -- the first program in every language 2 | 3 | io.write("Hello world, from ",_VERSION,"!\n") 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-test/bench/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | go run benchmark.go -ncpu=8 -proxy=127.0.0.1:9000,127.0.0.1:9001 -test=mget,set,lpush -time=10 3 | -------------------------------------------------------------------------------- /vendor/github.com/codegangsta/inject/update_readme.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | go get github.com/robertkrimen/godocdown/godocdown 3 | godocdown > README.md 4 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/src/atomic.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_ATOMIC_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/src/ticker.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_TICKER_C_ 2 | #include "jemalloc/internal/jemalloc_internal.h" 3 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/.jscsrc: -------------------------------------------------------------------------------- 1 | { 2 | "preset": "jquery", 3 | 4 | "excludeFiles": [ "src/intro.js", "src/outro.js", "src/sizzle/**/*" ] 5 | } 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/doc/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/deprecated/redis-2.8.21/deps/lua/doc/cover.png -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/doc/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/deprecated/redis-2.8.21/deps/lua/doc/logo.gif -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/test/life.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/deprecated/redis-2.8.21/deps/lua/test/life.lua -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/doc/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/deprecated/redis-3.2.4/deps/lua/doc/cover.png -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/test/life.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/deprecated/redis-3.2.4/deps/lua/test/life.lua -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/doc/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/deprecated/redis-3.2.8/deps/lua/doc/cover.png -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/test/life.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/extern/deprecated/redis-3.2.8/deps/lua/test/life.lua -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/test/unit/junk_free.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_TEST_JUNK_OPT "junk:free" 2 | #include "junk.c" 3 | #undef JEMALLOC_TEST_JUNK_OPT 4 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/angular/angular.min.js.gzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/node_modules/angular/angular.min.js.gzip -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/var/hasOwn.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.hasOwnProperty; 5 | }); 6 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/var/toString.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.toString; 5 | }); 6 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/test/unit/junk_alloc.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_TEST_JUNK_OPT "junk:alloc" 2 | #include "junk.c" 3 | #undef JEMALLOC_TEST_JUNK_OPT 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/alexcesaro/statsd.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - 1.5 8 | - 1.6 9 | - tip 10 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/core/var/rsingleTag.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | // Match a standalone tag 3 | return (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); 4 | }); 5 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/var/support.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | // All support tests are defined in their respective modules. 3 | return {}; 4 | }); 5 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/127.0.0.1_19000/proxy_admin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | /opt/codis/bin/codis-admin --proxy=127.0.0.1:11080 $@ 7 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/127.0.0.1_19001/proxy_admin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | /opt/codis/bin/codis-admin --proxy=127.0.0.1:11081 $@ 7 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/127.0.0.1_19002/proxy_admin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | /opt/codis/bin/codis-admin --proxy=127.0.0.1:11082 $@ 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/test/unit/junk_free.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_TEST_JUNK_OPT "junk:free" 2 | #include "junk.c" 3 | #undef JEMALLOC_TEST_JUNK_OPT 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/test/unit/junk_free.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_TEST_JUNK_OPT "junk:free" 2 | #include "junk.c" 3 | #undef JEMALLOC_TEST_JUNK_OPT 4 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/.autom4te.cfg: -------------------------------------------------------------------------------- 1 | begin-language: "Autoconf-without-aclocal-m4" 2 | args: --no-cache 3 | end-language: "Autoconf-without-aclocal-m4" 4 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/COMPATIBLE: -------------------------------------------------------------------------------- 1 | Compatible with TOML version 2 | [v0.2.0](https://github.com/mojombo/toml/blob/master/versions/toml-v0.2.0.md) 3 | 4 | -------------------------------------------------------------------------------- /Godeps/Readme: -------------------------------------------------------------------------------- 1 | This directory tree is generated automatically by godep. 2 | 3 | Please do not edit. 4 | 5 | See https://github.com/tools/godep for more information. 6 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.2.16.200_19000/proxy_admin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | /opt/codis/bin/codis-admin --proxy=10.2.16.200:11080 $@ 7 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.2.16.200_19002/proxy_admin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | /opt/codis/bin/codis-admin --proxy=10.2.16.200:11082 $@ 7 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.2.16.201_19000/proxy_admin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | /opt/codis/bin/codis-admin --proxy=10.2.16.201:11080 $@ 7 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.2.16.201_19002/proxy_admin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | /opt/codis/bin/codis-admin --proxy=10.2.16.201:11082 $@ 7 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.2.16.202_19000/proxy_admin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | /opt/codis/bin/codis-admin --proxy=10.2.16.202:11080 $@ 7 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.2.16.202_19002/proxy_admin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | /opt/codis/bin/codis-admin --proxy=10.2.16.202:11082 $@ 7 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.4.10.200_19000/proxy_admin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | /opt/codis/bin/codis-admin --proxy=10.4.10.200:11080 $@ 7 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.4.10.200_19002/proxy_admin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | /opt/codis/bin/codis-admin --proxy=10.4.10.200:11082 $@ 7 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.4.10.201_19000/proxy_admin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | /opt/codis/bin/codis-admin --proxy=10.4.10.201:11080 $@ 7 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.4.10.201_19002/proxy_admin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | /opt/codis/bin/codis-admin --proxy=10.4.10.201:11082 $@ 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/test/unit/junk_alloc.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_TEST_JUNK_OPT "junk:alloc" 2 | #include "junk.c" 3 | #undef JEMALLOC_TEST_JUNK_OPT 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/test/unit/junk_alloc.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_TEST_JUNK_OPT "junk:alloc" 2 | #include "junk.c" 3 | #undef JEMALLOC_TEST_JUNK_OPT 4 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/include/jemalloc/internal/private_unnamespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for symbol in `cat $1` ; do 4 | echo "#undef ${symbol}" 5 | done 6 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/127.0.0.1_18080/dashboard_admin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | /opt/codis/bin/codis-admin --dashboard=127.0.0.1:18080 $@ 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/.autom4te.cfg: -------------------------------------------------------------------------------- 1 | begin-language: "Autoconf-without-aclocal-m4" 2 | args: --no-cache 3 | end-language: "Autoconf-without-aclocal-m4" 4 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/.autom4te.cfg: -------------------------------------------------------------------------------- 1 | begin-language: "Autoconf-without-aclocal-m4" 2 | args: --no-cache 3 | end-language: "Autoconf-without-aclocal-m4" 4 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/test/unit/junk_free.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_TEST_JUNK_OPT "junk:free" 2 | #include "junk.c" 3 | #undef JEMALLOC_TEST_JUNK_OPT 4 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/gfx/vml-radial-gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/node_modules/highcharts/gfx/vml-radial-gradient.png -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.4.10.100_18080/dashboard_admin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | /opt/codis/bin/codis-admin --dashboard=10.4.10.100:18080 $@ 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/include/jemalloc/internal/private_unnamespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for symbol in `cat $1` ; do 4 | echo "#undef ${symbol}" 5 | done 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/include/jemalloc/internal/private_unnamespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for symbol in `cat $1` ; do 4 | echo "#undef ${symbol}" 5 | done 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/include/jemalloc/internal/private_unnamespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for symbol in `cat $1` ; do 4 | echo "#undef ${symbol}" 5 | done 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/src/release.h: -------------------------------------------------------------------------------- 1 | #define REDIS_GIT_SHA1 "0a557843" 2 | #define REDIS_GIT_DIRTY "0" 3 | #define REDIS_BUILD_ID "spinlock.bej.corp.google.com-1508934765" 4 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/etcd/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2014 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/test/unit/junk_alloc.c: -------------------------------------------------------------------------------- 1 | #define JEMALLOC_TEST_JUNK_OPT "junk:alloc" 2 | #include "junk.c" 3 | #undef JEMALLOC_TEST_JUNK_OPT 4 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap-dialog/examples/images/pig.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/node_modules/bootstrap-dialog/examples/images/pig.ico -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/js/parts/LineSeries.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * LineSeries object 4 | */ 5 | var LineSeries = extendClass(Series); 6 | seriesTypes.line = LineSeries; 7 | 8 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/.autom4te.cfg: -------------------------------------------------------------------------------- 1 | begin-language: "Autoconf-without-aclocal-m4" 2 | args: --no-cache 3 | end-language: "Autoconf-without-aclocal-m4" 4 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/angular/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.4.8", 4 | "main": "./angular.js", 5 | "ignore": [], 6 | "dependencies": { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/css/var/rnumnonpx.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../var/pnum" 3 | ], function( pnum ) { 4 | return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); 5 | }); 6 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/include/jemalloc/internal/private_namespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for symbol in `cat $1` ; do 4 | echo "#define ${symbol} JEMALLOC_N(${symbol})" 5 | done 6 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/include/jemalloc/internal/private_unnamespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for symbol in `cat $1` ; do 4 | echo "#undef ${symbol}" 5 | done 6 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/test/src/btalloc.c: -------------------------------------------------------------------------------- 1 | #include "test/jemalloc_test.h" 2 | 3 | void * 4 | btalloc(size_t size, unsigned bits) 5 | { 6 | 7 | return (btalloc_0(size, bits)); 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/go-martini/martini/go_version.go: -------------------------------------------------------------------------------- 1 | // +build !go1.1 2 | 3 | package martini 4 | 5 | func MartiniDoesNotSupportGo1Point0() { 6 | "Martini requires Go 1.1 or greater." 7 | } 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | *.swp 3 | *.out 4 | *.dump 5 | *.log.* 6 | *.tmp 7 | *.rdb 8 | 9 | .DS_Store 10 | .htaccess 11 | 12 | /bin 13 | /tmp 14 | /pkg/utils/version.go 15 | 16 | makefile 17 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/node_modules/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/node_modules/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/grunt/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends" : "../js/.jshintrc", 3 | "asi" : false, 4 | "browser" : false, 5 | "es3" : false, 6 | "node" : true 7 | } 8 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/traversing/var/rneedsContext.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../core", 3 | "../../selector" 4 | ], function( jQuery ) { 5 | return jQuery.expr.match.needsContext; 6 | }); 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/src/crc64.h: -------------------------------------------------------------------------------- 1 | #ifndef CRC64_H 2 | #define CRC64_H 3 | 4 | #include 5 | 6 | uint64_t crc64(uint64_t crc, const unsigned char *s, uint64_t l); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/include/jemalloc/internal/private_namespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for symbol in `cat $1` ; do 4 | echo "#define ${symbol} JEMALLOC_N(${symbol})" 5 | done 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/include/jemalloc/internal/private_namespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for symbol in `cat $1` ; do 4 | echo "#define ${symbol} JEMALLOC_N(${symbol})" 5 | done 6 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/include/jemalloc/internal/private_namespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for symbol in `cat $1` ; do 4 | echo "#define ${symbol} JEMALLOC_N(${symbol})" 5 | done 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/test/src/btalloc.c: -------------------------------------------------------------------------------- 1 | #include "test/jemalloc_test.h" 2 | 3 | void * 4 | btalloc(size_t size, unsigned bits) 5 | { 6 | 7 | return (btalloc_0(size, bits)); 8 | } 9 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/test/src/btalloc.c: -------------------------------------------------------------------------------- 1 | #include "test/jemalloc_test.h" 2 | 3 | void * 4 | btalloc(size_t size, unsigned bits) 5 | { 6 | 7 | return (btalloc_0(size, bits)); 8 | } 9 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /doc/pictures/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | @mkdir -p tmp 3 | @xelatex -output-directory tmp architecture.tex 4 | @convert -density 300 tmp/architecture.pdf -quality 90 -background white -alpha off architecture.png 5 | 6 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/include/jemalloc/internal/private_namespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for symbol in `cat $1` ; do 4 | echo "#define ${symbol} JEMALLOC_N(${symbol})" 5 | done 6 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/less/mixins/center-block.less: -------------------------------------------------------------------------------- 1 | // Center-align a block level element 2 | 3 | .center-block() { 4 | display: block; 5 | margin-left: auto; 6 | margin-right: auto; 7 | } 8 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/include/jemalloc/internal/public_unnamespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for nm in `cat $1` ; do 4 | n=`echo ${nm} |tr ':' ' ' |awk '{print $1}'` 5 | echo "#undef je_${n}" 6 | done 7 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/test/src/btalloc.c: -------------------------------------------------------------------------------- 1 | #include "test/jemalloc_test.h" 2 | 3 | void * 4 | btalloc(size_t size, unsigned bits) 5 | { 6 | 7 | return (btalloc_0(size, bits)); 8 | } 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /ansible/hosts: -------------------------------------------------------------------------------- 1 | [codis-dashboard-servers] 2 | 127.0.0.1 3 | [codis-proxy-servers] 4 | 127.0.0.1 5 | [codis-servers] 6 | 127.0.0.1 7 | [codis-fe-servers] 8 | 127.0.0.1 9 | [redis-sentinel-servers] 10 | 127.0.0.1 11 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/event/support.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../var/support" 3 | ], function( support ) { 4 | 5 | support.focusinBubbles = "onfocusin" in window; 6 | 7 | return support; 8 | 9 | }); 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/test/include/test/jemalloc_test_defs.h.in: -------------------------------------------------------------------------------- 1 | #include "jemalloc/internal/jemalloc_internal_defs.h" 2 | 3 | /* For use by SFMT. */ 4 | #undef HAVE_SSE2 5 | #undef HAVE_ALTIVEC 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/include/jemalloc/internal/public_unnamespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for nm in `cat $1` ; do 4 | n=`echo ${nm} |tr ':' ' ' |awk '{print $1}'` 5 | echo "#undef je_${n}" 6 | done 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/include/jemalloc/internal/public_unnamespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for nm in `cat $1` ; do 4 | n=`echo ${nm} |tr ':' ' ' |awk '{print $1}'` 5 | echo "#undef je_${n}" 6 | done 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/include/jemalloc/internal/public_unnamespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for nm in `cat $1` ; do 4 | n=`echo ${nm} |tr ':' ' ' |awk '{print $1}'` 5 | echo "#undef je_${n}" 6 | done 7 | -------------------------------------------------------------------------------- /vendor/github.com/docopt/docopt-go/test_golang.docopt: -------------------------------------------------------------------------------- 1 | r"""usage: prog [NAME_-2]...""" 2 | $ prog 10 20 3 | {"NAME_-2": ["10", "20"]} 4 | 5 | $ prog 10 6 | {"NAME_-2": ["10"]} 7 | 8 | $ prog 9 | {"NAME_-2": []} 10 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/include/jemalloc/internal/public_namespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for nm in `cat $1` ; do 4 | n=`echo ${nm} |tr ':' ' ' |awk '{print $1}'` 5 | echo "#define je_${n} JEMALLOC_N(${n})" 6 | done 7 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/less/mixins/size.less: -------------------------------------------------------------------------------- 1 | // Sizing shortcuts 2 | 3 | .size(@width; @height) { 4 | width: @width; 5 | height: @height; 6 | } 7 | 8 | .square(@size) { 9 | .size(@size; @size); 10 | } 11 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/include/msvc_compat/windows_extra.h: -------------------------------------------------------------------------------- 1 | #ifndef MSVC_COMPAT_WINDOWS_EXTRA_H 2 | #define MSVC_COMPAT_WINDOWS_EXTRA_H 3 | 4 | #include 5 | 6 | #endif /* MSVC_COMPAT_WINDOWS_EXTRA_H */ 7 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/Makefile: -------------------------------------------------------------------------------- 1 | # Top level makefile, the real shit is at src/Makefile 2 | 3 | default: all 4 | 5 | .DEFAULT: 6 | cd src && $(MAKE) $@ 7 | 8 | install: 9 | cd src && $(MAKE) $@ 10 | 11 | .PHONY: install 12 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/include/jemalloc/internal/public_unnamespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for nm in `cat $1` ; do 4 | n=`echo ${nm} |tr ':' ' ' |awk '{print $1}'` 5 | echo "#undef je_${n}" 6 | done 7 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/less/mixins/opacity.less: -------------------------------------------------------------------------------- 1 | // Opacity 2 | 3 | .opacity(@opacity) { 4 | opacity: @opacity; 5 | // IE8 filter 6 | @opacity-ie: (@opacity * 100); 7 | filter: ~"alpha(opacity=@{opacity-ie})"; 8 | } 9 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/less/mixins/text-emphasis.less: -------------------------------------------------------------------------------- 1 | // Typography 2 | 3 | .text-emphasis-variant(@color) { 4 | color: @color; 5 | a&:hover, 6 | a&:focus { 7 | color: darken(@color, 10%); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/include/jemalloc/internal/public_namespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for nm in `cat $1` ; do 4 | n=`echo ${nm} |tr ':' ' ' |awk '{print $1}'` 5 | echo "#define je_${n} JEMALLOC_N(${n})" 6 | done 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/include/jemalloc/internal/public_namespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for nm in `cat $1` ; do 4 | n=`echo ${nm} |tr ':' ' ' |awk '{print $1}'` 5 | echo "#define je_${n} JEMALLOC_N(${n})" 6 | done 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/include/jemalloc/internal/public_namespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for nm in `cat $1` ; do 4 | n=`echo ${nm} |tr ':' ' ' |awk '{print $1}'` 5 | echo "#define je_${n} JEMALLOC_N(${n})" 6 | done 7 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/test/printf.lua: -------------------------------------------------------------------------------- 1 | -- an implementation of printf 2 | 3 | function printf(...) 4 | io.write(string.format(...)) 5 | end 6 | 7 | printf("Hello %s from %s on %s\n",os.getenv"USER" or "there",_VERSION,os.date()) 8 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts-ng/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.12' 4 | sudo: false 5 | before_script: 6 | - npm install -g grunt-cli 7 | - npm install -g bower 8 | - bower install --config.interactive=false 9 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/Makefile: -------------------------------------------------------------------------------- 1 | # Top level makefile, the real shit is at src/Makefile 2 | 3 | default: all 4 | 5 | .DEFAULT: 6 | cd src && $(MAKE) $@ 7 | 8 | install: 9 | cd src && $(MAKE) $@ 10 | 11 | .PHONY: install 12 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/Makefile: -------------------------------------------------------------------------------- 1 | # Top level makefile, the real shit is at src/Makefile 2 | 3 | default: all 4 | 5 | .DEFAULT: 6 | cd src && $(MAKE) $@ 7 | 8 | install: 9 | cd src && $(MAKE) $@ 10 | 11 | .PHONY: install 12 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/Makefile: -------------------------------------------------------------------------------- 1 | # Top level makefile, the real shit is at src/Makefile 2 | 3 | default: all 4 | 5 | .DEFAULT: 6 | cd src && $(MAKE) $@ 7 | 8 | install: 9 | cd src && $(MAKE) $@ 10 | 11 | .PHONY: install 12 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/include/msvc_compat/windows_extra.h: -------------------------------------------------------------------------------- 1 | #ifndef MSVC_COMPAT_WINDOWS_EXTRA_H 2 | #define MSVC_COMPAT_WINDOWS_EXTRA_H 3 | 4 | #include 5 | 6 | #endif /* MSVC_COMPAT_WINDOWS_EXTRA_H */ 7 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/.npmignore: -------------------------------------------------------------------------------- 1 | .jshintignore 2 | .jshintrc 3 | 4 | /.editorconfig 5 | /.gitattributes 6 | /.jscs.json 7 | /.mailmap 8 | /.travis.yml 9 | 10 | /build 11 | /dist/cdn 12 | /speed 13 | /test 14 | /Gruntfile.js 15 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/test/printf.lua: -------------------------------------------------------------------------------- 1 | -- an implementation of printf 2 | 3 | function printf(...) 4 | io.write(string.format(...)) 5 | end 6 | 7 | printf("Hello %s from %s on %s\n",os.getenv"USER" or "there",_VERSION,os.date()) 8 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/test/printf.lua: -------------------------------------------------------------------------------- 1 | -- an implementation of printf 2 | 3 | function printf(...) 4 | io.write(string.format(...)) 5 | end 6 | 7 | printf("Hello %s from %s on %s\n",os.getenv"USER" or "there",_VERSION,os.date()) 8 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/test/printf.lua: -------------------------------------------------------------------------------- 1 | -- an implementation of printf 2 | 3 | function printf(...) 4 | io.write(string.format(...)) 5 | end 6 | 7 | printf("Hello %s from %s on %s\n",os.getenv"USER" or "there",_VERSION,os.date()) 8 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/bin/jemalloc.sh.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | 7 | @LD_PRELOAD_VAR@=${libdir}/libjemalloc.@SOREV@ 8 | export @LD_PRELOAD_VAR@ 9 | exec "$@" 10 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/test/env.lua: -------------------------------------------------------------------------------- 1 | -- read environment variables as if they were global variables 2 | 3 | local f=function (t,i) return os.getenv(i) end 4 | setmetatable(getfenv(),{__index=f}) 5 | 6 | -- an example 7 | print(a,USER,PATH) 8 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/include/jemalloc/internal/public_namespace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for nm in `cat $1` ; do 4 | n=`echo ${nm} |tr ':' ' ' |awk '{print $1}'` 5 | echo "#define je_${n} JEMALLOC_N(${n})" 6 | done 7 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/tests/unit/printver.tcl: -------------------------------------------------------------------------------- 1 | start_server {} { 2 | set i [r info] 3 | regexp {redis_version:(.*?)\r\n} $i - version 4 | regexp {redis_git_sha1:(.*?)\r\n} $i - sha1 5 | puts "Testing Redis version $version ($sha1)" 6 | } 7 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/less/mixins/text-overflow.less: -------------------------------------------------------------------------------- 1 | // Text overflow 2 | // Requires inline-block or block for proper styling 3 | 4 | .text-overflow() { 5 | overflow: hidden; 6 | text-overflow: ellipsis; 7 | white-space: nowrap; 8 | } 9 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/bin/jemalloc.sh.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | 7 | @LD_PRELOAD_VAR@=${libdir}/libjemalloc.@SOREV@ 8 | export @LD_PRELOAD_VAR@ 9 | exec "$@" 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/test/env.lua: -------------------------------------------------------------------------------- 1 | -- read environment variables as if they were global variables 2 | 3 | local f=function (t,i) return os.getenv(i) end 4 | setmetatable(getfenv(),{__index=f}) 5 | 6 | -- an example 7 | print(a,USER,PATH) 8 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/bin/jemalloc.sh.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | 7 | @LD_PRELOAD_VAR@=${libdir}/libjemalloc.@SOREV@ 8 | export @LD_PRELOAD_VAR@ 9 | exec "$@" 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/test/env.lua: -------------------------------------------------------------------------------- 1 | -- read environment variables as if they were global variables 2 | 3 | local f=function (t,i) return os.getenv(i) end 4 | setmetatable(getfenv(),{__index=f}) 5 | 6 | -- an example 7 | print(a,USER,PATH) 8 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/bin/jemalloc.sh.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | 7 | @LD_PRELOAD_VAR@=${libdir}/libjemalloc.@SOREV@ 8 | export @LD_PRELOAD_VAR@ 9 | exec "$@" 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/test/env.lua: -------------------------------------------------------------------------------- 1 | -- read environment variables as if they were global variables 2 | 3 | local f=function (t,i) return os.getenv(i) end 4 | setmetatable(getfenv(),{__index=f}) 5 | 6 | -- an example 7 | print(a,USER,PATH) 8 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap-dialog/examples/assets/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/node_modules/bootstrap-dialog/examples/assets/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap-dialog/examples/assets/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/node_modules/bootstrap-dialog/examples/assets/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/less/mixins/tab-focus.less: -------------------------------------------------------------------------------- 1 | // WebKit-style focus 2 | 3 | .tab-focus() { 4 | // Default 5 | outline: thin dotted; 6 | // WebKit 7 | outline: 5px auto -webkit-focus-ring-color; 8 | outline-offset: -2px; 9 | } 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/tests/unit/printver.tcl: -------------------------------------------------------------------------------- 1 | start_server {} { 2 | set i [r info] 3 | regexp {redis_version:(.*?)\r\n} $i - version 4 | regexp {redis_git_sha1:(.*?)\r\n} $i - sha1 5 | puts "Testing Redis version $version ($sha1)" 6 | } 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/tests/unit/printver.tcl: -------------------------------------------------------------------------------- 1 | start_server {} { 2 | set i [r info] 3 | regexp {redis_version:(.*?)\r\n} $i - version 4 | regexp {redis_git_sha1:(.*?)\r\n} $i - sha1 5 | puts "Testing Redis version $version ($sha1)" 6 | } 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/tests/unit/printver.tcl: -------------------------------------------------------------------------------- 1 | start_server {} { 2 | set i [r info] 3 | regexp {redis_version:(.*?)\r\n} $i - version 4 | regexp {redis_git_sha1:(.*?)\r\n} $i - sha1 5 | puts "Testing Redis version $version ($sha1)" 6 | } 7 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/doc/html.xsl.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap-dialog/examples/assets/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/node_modules/bootstrap-dialog/examples/assets/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap-dialog/examples/assets/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodisLabs/codis/HEAD/cmd/fe/assets/node_modules/bootstrap-dialog/examples/assets/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/less/mixins/background-variant.less: -------------------------------------------------------------------------------- 1 | // Contextual backgrounds 2 | 3 | .bg-variant(@color) { 4 | background-color: @color; 5 | a&:hover, 6 | a&:focus { 7 | background-color: darken(@color, 10%); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/convert-hex/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 0.1.0 / 2013-11-20 2 | ------------------ 3 | * changed package name from `cryptocoin-convert-string` to `convert-string`. 4 | * removed AMD support 5 | 6 | 0.0.1 / 2013-11-03 7 | ------------------ 8 | * initial release -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/bin/jemalloc.sh.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | 7 | @LD_PRELOAD_VAR@=${libdir}/libjemalloc.@SOREV@ 8 | export @LD_PRELOAD_VAR@ 9 | exec "$@" 10 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/angular-ui-bootstrap/ui-bootstrap-csp.css: -------------------------------------------------------------------------------- 1 | /* Include this file in your html if you are using the CSP mode. */ 2 | 3 | .ng-animate.item:not(.left):not(.right) { 4 | -webkit-transition: 0s ease-in-out left; 5 | transition: 0s ease-in-out left 6 | } -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/convert-string/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 0.1.0 / 2013-11-20 2 | ------------------ 3 | * changed package name from `cryptocoin-convert-string` to `convert-string`. 4 | * removed AMD support 5 | 6 | 0.0.1 / 2013-11-03 7 | ------------------ 8 | * initial release -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/doc/html.xsl.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/doc/html.xsl.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/doc/manpages.xsl.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/etc/lua.hpp: -------------------------------------------------------------------------------- 1 | // lua.hpp 2 | // Lua header files for C++ 3 | // <> not supplied automatically because Lua also compiles as C++ 4 | 5 | extern "C" { 6 | #include "lua.h" 7 | #include "lualib.h" 8 | #include "lauxlib.h" 9 | } 10 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/less/mixins/labels.less: -------------------------------------------------------------------------------- 1 | // Labels 2 | 3 | .label-variant(@color) { 4 | background-color: @color; 5 | 6 | &[href] { 7 | &:hover, 8 | &:focus { 9 | background-color: darken(@color, 10%); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/less/mixins/resize.less: -------------------------------------------------------------------------------- 1 | // Resize anything 2 | 3 | .resizable(@direction) { 4 | resize: @direction; // Options: horizontal, vertical, both 5 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` 6 | } 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/doc/html.xsl.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/doc/manpages.xsl.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/etc/lua.hpp: -------------------------------------------------------------------------------- 1 | // lua.hpp 2 | // Lua header files for C++ 3 | // <> not supplied automatically because Lua also compiles as C++ 4 | 5 | extern "C" { 6 | #include "lua.h" 7 | #include "lualib.h" 8 | #include "lauxlib.h" 9 | } 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/doc/manpages.xsl.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/etc/lua.hpp: -------------------------------------------------------------------------------- 1 | // lua.hpp 2 | // Lua header files for C++ 3 | // <> not supplied automatically because Lua also compiles as C++ 4 | 5 | extern "C" { 6 | #include "lua.h" 7 | #include "lualib.h" 8 | #include "lauxlib.h" 9 | } 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/doc/manpages.xsl.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/etc/lua.hpp: -------------------------------------------------------------------------------- 1 | // lua.hpp 2 | // Lua header files for C++ 3 | // <> not supplied automatically because Lua also compiles as C++ 4 | 5 | extern "C" { 6 | #include "lua.h" 7 | #include "lualib.h" 8 | #include "lauxlib.h" 9 | } 10 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/src/crc64.h: -------------------------------------------------------------------------------- 1 | #ifndef CRC64_H 2 | #define CRC64_H 3 | 4 | #include 5 | 6 | uint64_t crc64(uint64_t crc, const unsigned char *s, uint64_t l); 7 | 8 | #ifdef REDIS_TEST 9 | int crc64Test(int argc, char *argv[]); 10 | #endif 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/tests/sentinel/tests/04-slave-selection.tcl: -------------------------------------------------------------------------------- 1 | # Test slave selection algorithm. 2 | # 3 | # This unit should test: 4 | # 1) That when there are no suitable slaves no failover is performed. 5 | # 2) That among the available slaves, the one with better offset is picked. 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/src/crc64.h: -------------------------------------------------------------------------------- 1 | #ifndef CRC64_H 2 | #define CRC64_H 3 | 4 | #include 5 | 6 | uint64_t crc64(uint64_t crc, const unsigned char *s, uint64_t l); 7 | 8 | #ifdef REDIS_TEST 9 | int crc64Test(int argc, char *argv[]); 10 | #endif 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/src/crc64.h: -------------------------------------------------------------------------------- 1 | #ifndef CRC64_H 2 | #define CRC64_H 3 | 4 | #include 5 | 6 | uint64_t crc64(uint64_t crc, const unsigned char *s, uint64_t l); 7 | 8 | #ifdef REDIS_TEST 9 | int crc64Test(int argc, char *argv[]); 10 | #endif 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/doc/manpages.xsl.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts-ng/.npmignore: -------------------------------------------------------------------------------- 1 | /bower_components/ 2 | /node_modules/ 3 | npm-debug.log 4 | 5 | /.idea/ 6 | .DS_Store 7 | 8 | /test/ 9 | /src/ 10 | /example/ 11 | .editorconfig 12 | bower.json 13 | CONTRIBUTING.md 14 | Gruntfile.js 15 | karma.conf.js 16 | README.md 17 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/tests/sentinel/tests/04-slave-selection.tcl: -------------------------------------------------------------------------------- 1 | # Test slave selection algorithm. 2 | # 3 | # This unit should test: 4 | # 1) That when there are no suitable slaves no failover is performed. 5 | # 2) That among the available slaves, the one with better offset is picked. 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/tests/sentinel/tests/04-slave-selection.tcl: -------------------------------------------------------------------------------- 1 | # Test slave selection algorithm. 2 | # 3 | # This unit should test: 4 | # 1) That when there are no suitable slaves no failover is performed. 5 | # 2) That among the available slaves, the one with better offset is picked. 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/tests/sentinel/tests/04-slave-selection.tcl: -------------------------------------------------------------------------------- 1 | # Test slave selection algorithm. 2 | # 3 | # This unit should test: 4 | # 1) That when there are no suitable slaves no failover is performed. 5 | # 2) That among the available slaves, the one with better offset is picked. 6 | -------------------------------------------------------------------------------- /vendor/github.com/oxtoacart/bpool/bpool.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package bpool implements leaky pools of byte arrays and Buffers as bounded 3 | channels. It is based on the leaky buffer example from the Effective Go 4 | documentation: http://golang.org/doc/effective_go.html#leaky_buffer 5 | */ 6 | package bpool 7 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/less/mixins/progress-bar.less: -------------------------------------------------------------------------------- 1 | // Progress bars 2 | 3 | .progress-bar-variant(@color) { 4 | background-color: @color; 5 | 6 | // Deprecated parent class requirement as of v3.2.0 7 | .progress-striped & { 8 | #gradient > .striped(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/attributes.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "./attributes/attr", 4 | "./attributes/prop", 5 | "./attributes/classes", 6 | "./attributes/val" 7 | ], function( jQuery ) { 8 | 9 | // Return jQuery for attributes-only inclusion 10 | return jQuery; 11 | }); 12 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/test/luac.lua: -------------------------------------------------------------------------------- 1 | -- bare-bones luac in Lua 2 | -- usage: lua luac.lua file.lua 3 | 4 | assert(arg[1]~=nil and arg[2]==nil,"usage: lua luac.lua file.lua") 5 | f=assert(io.open("luac.out","wb")) 6 | assert(f:write(string.dump(assert(loadfile(arg[1]))))) 7 | assert(f:close()) 8 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/tests/unit/type/list-common.tcl: -------------------------------------------------------------------------------- 1 | # We need a value larger than list-max-ziplist-value to make sure 2 | # the list has the right encoding when it is swapped in again. 3 | array set largevalue {} 4 | set largevalue(ziplist) "hello" 5 | set largevalue(linkedlist) [string repeat "hello" 4] 6 | -------------------------------------------------------------------------------- /vendor/github.com/ugorji/go/codec/gen_17.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build go1.7 5 | 6 | package codec 7 | 8 | func init() { 9 | genCheckVendor = true 10 | } 11 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/js/parts-3d/Globals.js: -------------------------------------------------------------------------------- 1 | /** 2 | Shorthands for often used function 3 | */ 4 | var each = Highcharts.each, 5 | extend = Highcharts.extend, 6 | inArray = Highcharts.inArray, 7 | merge = Highcharts.merge, 8 | pick = Highcharts.pick, 9 | wrap = Highcharts.wrap; 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/test/luac.lua: -------------------------------------------------------------------------------- 1 | -- bare-bones luac in Lua 2 | -- usage: lua luac.lua file.lua 3 | 4 | assert(arg[1]~=nil and arg[2]==nil,"usage: lua luac.lua file.lua") 5 | f=assert(io.open("luac.out","wb")) 6 | assert(f:write(string.dump(assert(loadfile(arg[1]))))) 7 | assert(f:close()) 8 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/test/luac.lua: -------------------------------------------------------------------------------- 1 | -- bare-bones luac in Lua 2 | -- usage: lua luac.lua file.lua 3 | 4 | assert(arg[1]~=nil and arg[2]==nil,"usage: lua luac.lua file.lua") 5 | f=assert(io.open("luac.out","wb")) 6 | assert(f:write(string.dump(assert(loadfile(arg[1]))))) 7 | assert(f:close()) 8 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/test/luac.lua: -------------------------------------------------------------------------------- 1 | -- bare-bones luac in Lua 2 | -- usage: lua luac.lua file.lua 3 | 4 | assert(arg[1]~=nil and arg[2]==nil,"usage: lua luac.lua file.lua") 5 | f=assert(io.open("luac.out","wb")) 6 | assert(f:write(string.dump(assert(loadfile(arg[1]))))) 7 | assert(f:close()) 8 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/tests/unit/type/list-common.tcl: -------------------------------------------------------------------------------- 1 | # We need a value larger than list-max-ziplist-value to make sure 2 | # the list has the right encoding when it is swapped in again. 3 | array set largevalue {} 4 | set largevalue(ziplist) "hello" 5 | set largevalue(linkedlist) [string repeat "hello" 4] 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/tests/unit/type/list-common.tcl: -------------------------------------------------------------------------------- 1 | # We need a value larger than list-max-ziplist-value to make sure 2 | # the list has the right encoding when it is swapped in again. 3 | array set largevalue {} 4 | set largevalue(ziplist) "hello" 5 | set largevalue(linkedlist) [string repeat "hello" 4] 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/tests/unit/type/list-common.tcl: -------------------------------------------------------------------------------- 1 | # We need a value larger than list-max-ziplist-value to make sure 2 | # the list has the right encoding when it is swapped in again. 3 | array set largevalue {} 4 | set largevalue(ziplist) "hello" 5 | set largevalue(linkedlist) [string repeat "hello" 4] 6 | -------------------------------------------------------------------------------- /extern/deprecated/redis-test/tcl/tests/unit/type/list-common.tcl: -------------------------------------------------------------------------------- 1 | # We need a value larger than list-max-ziplist-value to make sure 2 | # the list has the right encoding when it is swapped in again. 3 | array set largevalue {} 4 | set largevalue(ziplist) "hello" 5 | set largevalue(linkedlist) [string repeat "hello" 4] 6 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/test/include/test/thd.h: -------------------------------------------------------------------------------- 1 | /* Abstraction layer for threading in tests. */ 2 | #ifdef _WIN32 3 | typedef HANDLE thd_t; 4 | #else 5 | typedef pthread_t thd_t; 6 | #endif 7 | 8 | void thd_create(thd_t *thd, void *(*proc)(void *), void *arg); 9 | void thd_join(thd_t thd, void **ret); 10 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | env: 4 | - GO15VENDOREXPERIMENT=1 5 | 6 | os: 7 | - linux 8 | - osx 9 | 10 | go: 11 | - 1.7.4 12 | - 1.7.3 13 | - 1.6.3 14 | - 1.5.4 15 | - tip 16 | 17 | script: 18 | - make install 19 | - make test 20 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.1 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - 1.5 8 | - 1.6 9 | - tip 10 | install: 11 | - go install ./... 12 | - go get github.com/BurntSushi/toml-test 13 | script: 14 | - export PATH="$PATH:$HOME/gopath/bin" 15 | - make test 16 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/test/include/test/thd.h: -------------------------------------------------------------------------------- 1 | /* Abstraction layer for threading in tests */ 2 | #ifdef _WIN32 3 | typedef HANDLE thd_t; 4 | #else 5 | typedef pthread_t thd_t; 6 | #endif 7 | 8 | void thd_create(thd_t *thd, void *(*proc)(void *), void *arg); 9 | void thd_join(thd_t thd, void **ret); 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/test/include/test/thd.h: -------------------------------------------------------------------------------- 1 | /* Abstraction layer for threading in tests. */ 2 | #ifdef _WIN32 3 | typedef HANDLE thd_t; 4 | #else 5 | typedef pthread_t thd_t; 6 | #endif 7 | 8 | void thd_create(thd_t *thd, void *(*proc)(void *), void *arg); 9 | void thd_join(thd_t thd, void **ret); 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/test/include/test/thd.h: -------------------------------------------------------------------------------- 1 | /* Abstraction layer for threading in tests. */ 2 | #ifdef _WIN32 3 | typedef HANDLE thd_t; 4 | #else 5 | typedef pthread_t thd_t; 6 | #endif 7 | 8 | void thd_create(thd_t *thd, void *(*proc)(void *), void *arg); 9 | void thd_join(thd_t thd, void **ret); 10 | -------------------------------------------------------------------------------- /kubernetes/zookeeper/zookeeper-service.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: zookeeper 5 | labels: 6 | app: zookeeper 7 | spec: 8 | ports: 9 | - port: 2888 10 | name: server 11 | - port: 3888 12 | name: leader-election 13 | clusterIP: None 14 | selector: 15 | app: zk 16 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/doc/html.xsl.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/ajax/parseJSON.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Support: Android 2.3 6 | // Workaround failure to string-cast null input 7 | jQuery.parseJSON = function( data ) { 8 | return JSON.parse( data + "" ); 9 | }; 10 | 11 | return jQuery.parseJSON; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/deprecated.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "./traversing" 4 | ], function( jQuery ) { 5 | 6 | // The number of elements contained in the matched element set 7 | jQuery.fn.size = function() { 8 | return this.length; 9 | }; 10 | 11 | jQuery.fn.andSelf = jQuery.fn.addBack; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/127.0.0.1_18080/foreach_proxy: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | d=1 7 | sleep $d; /opt/codis/bin/codis-admin --proxy=127.0.0.1:11080 $@ 8 | sleep $d; /opt/codis/bin/codis-admin --proxy=127.0.0.1:11081 $@ 9 | sleep $d; /opt/codis/bin/codis-admin --proxy=127.0.0.1:11082 $@ 10 | 11 | -------------------------------------------------------------------------------- /deploy/templates/dashboard.service.template: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[{PRODUCT_NAME}]@{ADMIN_PORT} 3 | [Service] 4 | ExecStart={BIN_PATH}/codis-dashboard \ 5 | --config={ETC_PATH}/{ADMIN_ADDR}/dashboard.toml --log={LOG_PATH}/{ADMIN_ADDR}/dashboard.log 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/less/mixins/nav-divider.less: -------------------------------------------------------------------------------- 1 | // Horizontal dividers 2 | // 3 | // Dividers (basically an hr) within dropdowns and nav lists 4 | 5 | .nav-divider(@color: #e5e5e5) { 6 | height: 1px; 7 | margin: ((@line-height-computed / 2) - 1) 0; 8 | overflow: hidden; 9 | background-color: @color; 10 | } 11 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/less/mixins/reset-filter.less: -------------------------------------------------------------------------------- 1 | // Reset filters for IE 2 | // 3 | // When you need to remove a gradient background, do not forget to use this to reset 4 | // the IE filter for IE9 and below. 5 | 6 | .reset-filter() { 7 | filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)")); 8 | } 9 | -------------------------------------------------------------------------------- /cmd/fe/assets/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "angular": "^1.4.8", 4 | "angular-ui-bootstrap": "^0.14.3", 5 | "bootstrap": "^3.3.6", 6 | "bootstrap-dialog": "^1.34.6", 7 | "highcharts": "^4.1.10", 8 | "highcharts-ng": "0.0.11", 9 | "jquery": "^2.1.4", 10 | "sha256": "^0.2.0" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/src/valgrind.sup: -------------------------------------------------------------------------------- 1 | { 2 | 3 | Memcheck:Cond 4 | fun:lzf_compress 5 | } 6 | 7 | { 8 | 9 | Memcheck:Value4 10 | fun:lzf_compress 11 | } 12 | 13 | { 14 | 15 | Memcheck:Value8 16 | fun:lzf_compress 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/test/include/test/thd.h: -------------------------------------------------------------------------------- 1 | /* Abstraction layer for threading in tests. */ 2 | #ifdef _WIN32 3 | typedef HANDLE thd_t; 4 | #else 5 | typedef pthread_t thd_t; 6 | #endif 7 | 8 | void thd_create(thd_t *thd, void *(*proc)(void *), void *arg); 9 | void thd_join(thd_t thd, void **ret); 10 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/effects/animatedSelector.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../selector", 4 | "../effects" 5 | ], function( jQuery ) { 6 | 7 | jQuery.expr.filters.animated = function( elem ) { 8 | return jQuery.grep(jQuery.timers, function( fn ) { 9 | return elem === fn.elem; 10 | }).length; 11 | }; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/src/valgrind.sup: -------------------------------------------------------------------------------- 1 | { 2 | 3 | Memcheck:Cond 4 | fun:lzf_compress 5 | } 6 | 7 | { 8 | 9 | Memcheck:Value4 10 | fun:lzf_compress 11 | } 12 | 13 | { 14 | 15 | Memcheck:Value8 16 | fun:lzf_compress 17 | } 18 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/src/valgrind.sup: -------------------------------------------------------------------------------- 1 | { 2 | 3 | Memcheck:Cond 4 | fun:lzf_compress 5 | } 6 | 7 | { 8 | 9 | Memcheck:Value4 10 | fun:lzf_compress 11 | } 12 | 13 | { 14 | 15 | Memcheck:Value8 16 | fun:lzf_compress 17 | } 18 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/src/valgrind.sup: -------------------------------------------------------------------------------- 1 | { 2 | 3 | Memcheck:Cond 4 | fun:lzf_compress 5 | } 6 | 7 | { 8 | 9 | Memcheck:Value4 10 | fun:lzf_compress 11 | } 12 | 13 | { 14 | 15 | Memcheck:Value8 16 | fun:lzf_compress 17 | } 18 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.8 2 | 3 | RUN apt-get update 4 | RUN apt-get install -y autoconf 5 | 6 | ENV GOPATH /gopath 7 | ENV CODIS ${GOPATH}/src/github.com/CodisLabs/codis 8 | ENV PATH ${GOPATH}/bin:${PATH}:${CODIS}/bin 9 | COPY . ${CODIS} 10 | 11 | RUN make -C ${CODIS} distclean 12 | RUN make -C ${CODIS} build-all 13 | 14 | WORKDIR /codis 15 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/msvc/projects/vc2015/test_threads/test_threads_main.cpp: -------------------------------------------------------------------------------- 1 | #include "test_threads.h" 2 | #include 3 | #include 4 | #include 5 | 6 | using namespace std::chrono_literals; 7 | 8 | int main(int argc, char** argv) 9 | { 10 | int rc = test_threads(); 11 | return rc; 12 | } 13 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/js/parts/BarSeries.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Set the default options for bar 3 | */ 4 | defaultPlotOptions.bar = merge(defaultPlotOptions.column); 5 | /** 6 | * The Bar series class 7 | */ 8 | var BarSeries = extendClass(ColumnSeries, { 9 | type: 'bar', 10 | inverted: true 11 | }); 12 | seriesTypes.bar = BarSeries; 13 | 14 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/test/fibfor.lua: -------------------------------------------------------------------------------- 1 | -- example of for with generator functions 2 | 3 | function generatefib (n) 4 | return coroutine.wrap(function () 5 | local a,b = 1, 1 6 | while a <= n do 7 | coroutine.yield(a) 8 | a, b = b, a+b 9 | end 10 | end) 11 | end 12 | 13 | for i in generatefib(1000) do print(i) end 14 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/test/readonly.lua: -------------------------------------------------------------------------------- 1 | -- make global variables readonly 2 | 3 | local f=function (t,i) error("cannot redefine global variable `"..i.."'",2) end 4 | local g={} 5 | local G=getfenv() 6 | setmetatable(g,{__index=G,__newindex=f}) 7 | setfenv(1,g) 8 | 9 | -- an example 10 | rawset(g,"x",3) 11 | x=2 12 | y=1 -- cannot redefine `y' 13 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/update-jemalloc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | VER=$1 3 | URL="http://www.canonware.com/download/jemalloc/jemalloc-${VER}.tar.bz2" 4 | echo "Downloading $URL" 5 | curl $URL > /tmp/jemalloc.tar.bz2 6 | tar xvjf /tmp/jemalloc.tar.bz2 7 | rm -rf jemalloc 8 | mv jemalloc-${VER} jemalloc 9 | echo "Use git status, add all files and commit changes." 10 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/runtest: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | TCL_VERSIONS="8.5 8.6" 3 | TCLSH="" 4 | 5 | for VERSION in $TCL_VERSIONS; do 6 | TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL 7 | done 8 | 9 | if [ -z $TCLSH ] 10 | then 11 | echo "You need tcl 8.5 or newer in order to run the Redis test" 12 | exit 1 13 | fi 14 | $TCLSH tests/test_helper.tcl $* 15 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/help.mk: -------------------------------------------------------------------------------- 1 | .DEFAULT_GOAL = relink 2 | 3 | PWD := $(shell pwd) 4 | SRC := jemalloc-4.4.0 5 | 6 | -include $(SRC)/Makefile 7 | 8 | relink: unlink 9 | @for i in $(C_SRCS); do \ 10 | rm -f je_$$(basename $$i); \ 11 | ln -s $(SRC)/$$i je_$$(basename $$i); \ 12 | done 13 | 14 | unlink: 15 | @rm -f je_*.c 16 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/msvc/projects/vc2015/test_threads/test_threads_main.cpp: -------------------------------------------------------------------------------- 1 | #include "test_threads.h" 2 | #include 3 | #include 4 | #include 5 | 6 | using namespace std::chrono_literals; 7 | 8 | int main(int argc, char** argv) 9 | { 10 | int rc = test_threads(); 11 | return rc; 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/ugorji/go/codec/gen_16.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build go1.6 5 | 6 | package codec 7 | 8 | import "os" 9 | 10 | func init() { 11 | genCheckVendor = os.Getenv("GO15VENDOREXPERIMENT") != "0" 12 | } 13 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/127.0.0.1_18080/codis_dashboard_18080.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[demo-alpha]@18080 3 | [Service] 4 | ExecStart=/opt/codis/bin/codis-dashboard \ 5 | --config=/opt/codis/etc/127.0.0.1:18080/dashboard.toml --log=/opt/codis/log/127.0.0.1:18080/dashboard.log 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/test/fibfor.lua: -------------------------------------------------------------------------------- 1 | -- example of for with generator functions 2 | 3 | function generatefib (n) 4 | return coroutine.wrap(function () 5 | local a,b = 1, 1 6 | while a <= n do 7 | coroutine.yield(a) 8 | a, b = b, a+b 9 | end 10 | end) 11 | end 12 | 13 | for i in generatefib(1000) do print(i) end 14 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/test/readonly.lua: -------------------------------------------------------------------------------- 1 | -- make global variables readonly 2 | 3 | local f=function (t,i) error("cannot redefine global variable `"..i.."'",2) end 4 | local g={} 5 | local G=getfenv() 6 | setmetatable(g,{__index=G,__newindex=f}) 7 | setfenv(1,g) 8 | 9 | -- an example 10 | rawset(g,"x",3) 11 | x=2 12 | y=1 -- cannot redefine `y' 13 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/test/fibfor.lua: -------------------------------------------------------------------------------- 1 | -- example of for with generator functions 2 | 3 | function generatefib (n) 4 | return coroutine.wrap(function () 5 | local a,b = 1, 1 6 | while a <= n do 7 | coroutine.yield(a) 8 | a, b = b, a+b 9 | end 10 | end) 11 | end 12 | 13 | for i in generatefib(1000) do print(i) end 14 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/test/readonly.lua: -------------------------------------------------------------------------------- 1 | -- make global variables readonly 2 | 3 | local f=function (t,i) error("cannot redefine global variable `"..i.."'",2) end 4 | local g={} 5 | local G=getfenv() 6 | setmetatable(g,{__index=G,__newindex=f}) 7 | setfenv(1,g) 8 | 9 | -- an example 10 | rawset(g,"x",3) 11 | x=2 12 | y=1 -- cannot redefine `y' 13 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/test/fibfor.lua: -------------------------------------------------------------------------------- 1 | -- example of for with generator functions 2 | 3 | function generatefib (n) 4 | return coroutine.wrap(function () 5 | local a,b = 1, 1 6 | while a <= n do 7 | coroutine.yield(a) 8 | a, b = b, a+b 9 | end 10 | end) 11 | end 12 | 13 | for i in generatefib(1000) do print(i) end 14 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/test/readonly.lua: -------------------------------------------------------------------------------- 1 | -- make global variables readonly 2 | 3 | local f=function (t,i) error("cannot redefine global variable `"..i.."'",2) end 4 | local g={} 5 | local G=getfenv() 6 | setmetatable(g,{__index=G,__newindex=f}) 7 | setfenv(1,g) 8 | 9 | -- an example 10 | rawset(g,"x",3) 11 | x=2 12 | y=1 -- cannot redefine `y' 13 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/hiredis/zmalloc.h: -------------------------------------------------------------------------------- 1 | /* Drop in replacement for zmalloc.h in order to just use libc malloc without 2 | * any wrappering. */ 3 | 4 | #ifndef ZMALLOC_H 5 | #define ZMALLOC_H 6 | 7 | #define zmalloc malloc 8 | #define zrealloc realloc 9 | #define zcalloc(x) calloc(x,1) 10 | #define zfree free 11 | #define zstrdup strdup 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/tests/helpers/bg_complex_data.tcl: -------------------------------------------------------------------------------- 1 | source tests/support/redis.tcl 2 | source tests/support/util.tcl 3 | 4 | proc bg_complex_data {host port db ops} { 5 | set r [redis $host $port] 6 | $r select $db 7 | createComplexDataset $r $ops 8 | } 9 | 10 | bg_complex_data [lindex $argv 0] [lindex $argv 1] [lindex $argv 2] [lindex $argv 3] 11 | -------------------------------------------------------------------------------- /vendor/github.com/ugorji/go/codec/gen_15.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build go1.5,!go1.6 5 | 6 | package codec 7 | 8 | import "os" 9 | 10 | func init() { 11 | genCheckVendor = os.Getenv("GO15VENDOREXPERIMENT") == "1" 12 | } 13 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.4.10.100_18080/codis_dashboard_18080.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[demo-beta]@18080 3 | [Service] 4 | ExecStart=/opt/codis/bin/codis-dashboard \ 5 | --config=/opt/codis/etc/10.4.10.100:18080/dashboard.toml --log=/opt/codis/log/10.4.10.100:18080/dashboard.log 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/update-jemalloc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | VER=$1 3 | URL="http://www.canonware.com/download/jemalloc/jemalloc-${VER}.tar.bz2" 4 | echo "Downloading $URL" 5 | curl $URL > /tmp/jemalloc.tar.bz2 6 | tar xvjf /tmp/jemalloc.tar.bz2 7 | rm -rf jemalloc 8 | mv jemalloc-${VER} jemalloc 9 | echo "Use git status, add all files and commit changes." 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/runtest: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | TCL_VERSIONS="8.5 8.6" 3 | TCLSH="" 4 | 5 | for VERSION in $TCL_VERSIONS; do 6 | TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL 7 | done 8 | 9 | if [ -z $TCLSH ] 10 | then 11 | echo "You need tcl 8.5 or newer in order to run the Redis test" 12 | exit 1 13 | fi 14 | $TCLSH tests/test_helper.tcl $* 15 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/update-jemalloc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | VER=$1 3 | URL="http://www.canonware.com/download/jemalloc/jemalloc-${VER}.tar.bz2" 4 | echo "Downloading $URL" 5 | curl $URL > /tmp/jemalloc.tar.bz2 6 | tar xvjf /tmp/jemalloc.tar.bz2 7 | rm -rf jemalloc 8 | mv jemalloc-${VER} jemalloc 9 | echo "Use git status, add all files and commit changes." 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/runtest: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | TCL_VERSIONS="8.5 8.6" 3 | TCLSH="" 4 | 5 | for VERSION in $TCL_VERSIONS; do 6 | TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL 7 | done 8 | 9 | if [ -z $TCLSH ] 10 | then 11 | echo "You need tcl 8.5 or newer in order to run the Redis test" 12 | exit 1 13 | fi 14 | $TCLSH tests/test_helper.tcl $* 15 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/update-jemalloc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | VER=$1 3 | URL="http://www.canonware.com/download/jemalloc/jemalloc-${VER}.tar.bz2" 4 | echo "Downloading $URL" 5 | curl $URL > /tmp/jemalloc.tar.bz2 6 | tar xvjf /tmp/jemalloc.tar.bz2 7 | rm -rf jemalloc 8 | mv jemalloc-${VER} jemalloc 9 | echo "Use git status, add all files and commit changes." 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/runtest: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | TCL_VERSIONS="8.5 8.6" 3 | TCLSH="" 4 | 5 | for VERSION in $TCL_VERSIONS; do 6 | TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL 7 | done 8 | 9 | if [ -z $TCLSH ] 10 | then 11 | echo "You need tcl 8.5 or newer in order to run the Redis test" 12 | exit 1 13 | fi 14 | $TCLSH tests/test_helper.tcl $* 15 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/doc/stylesheet.xsl: -------------------------------------------------------------------------------- 1 | 2 | ansi 3 | 4 | 5 | "" 6 | 7 | 8 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/src/lapi.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: lapi.h,v 2.2.1.1 2007/12/27 13:02:25 roberto Exp $ 3 | ** Auxiliary functions from Lua API 4 | ** See Copyright Notice in lua.h 5 | */ 6 | 7 | #ifndef lapi_h 8 | #define lapi_h 9 | 10 | 11 | #include "lobject.h" 12 | 13 | 14 | LUAI_FUNC void luaA_pushobject (lua_State *L, const TValue *o); 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /pkg/models/sentinel.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 CodisLabs. All Rights Reserved. 2 | // Licensed under the MIT (MIT-LICENSE.txt) license. 3 | 4 | package models 5 | 6 | type Sentinel struct { 7 | Servers []string `json:"servers,omitempty"` 8 | 9 | OutOfSync bool `json:"out_of_sync"` 10 | } 11 | 12 | func (p *Sentinel) Encode() []byte { 13 | return jsonEncode(p) 14 | } 15 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/less/mixins/alerts.less: -------------------------------------------------------------------------------- 1 | // Alerts 2 | 3 | .alert-variant(@background; @border; @text-color) { 4 | background-color: @background; 5 | border-color: @border; 6 | color: @text-color; 7 | 8 | hr { 9 | border-top-color: darken(@border, 5%); 10 | } 11 | .alert-link { 12 | color: darken(@text-color, 10%); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /deploy/templates/proxy.service.template: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[{PRODUCT_NAME}]@{PROXY_PORT} 3 | [Service] 4 | ExecStart={BIN_PATH}/codis-proxy --ncpu={MIN_CPU} --max-ncpu={MAX_CPU} \ 5 | --config={ETC_PATH}/{PROXY_ADDR}/proxy.toml --log={LOG_PATH}/{PROXY_ADDR}/proxy.log --log-level={LOG_LEVEL} 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/hiredis/zmalloc.h: -------------------------------------------------------------------------------- 1 | /* Drop in replacement for zmalloc.h in order to just use libc malloc without 2 | * any wrappering. */ 3 | 4 | #ifndef ZMALLOC_H 5 | #define ZMALLOC_H 6 | 7 | #define zmalloc malloc 8 | #define zrealloc realloc 9 | #define zcalloc(x) calloc(x,1) 10 | #define zfree free 11 | #define zstrdup strdup 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/tests/helpers/bg_complex_data.tcl: -------------------------------------------------------------------------------- 1 | source tests/support/redis.tcl 2 | source tests/support/util.tcl 3 | 4 | proc bg_complex_data {host port db ops} { 5 | set r [redis $host $port] 6 | $r select $db 7 | createComplexDataset $r $ops 8 | } 9 | 10 | bg_complex_data [lindex $argv 0] [lindex $argv 1] [lindex $argv 2] [lindex $argv 3] 11 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/hiredis/zmalloc.h: -------------------------------------------------------------------------------- 1 | /* Drop in replacement for zmalloc.h in order to just use libc malloc without 2 | * any wrappering. */ 3 | 4 | #ifndef ZMALLOC_H 5 | #define ZMALLOC_H 6 | 7 | #define zmalloc malloc 8 | #define zrealloc realloc 9 | #define zcalloc(x) calloc(x,1) 10 | #define zfree free 11 | #define zstrdup strdup 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/test/unit/a0.c: -------------------------------------------------------------------------------- 1 | #include "test/jemalloc_test.h" 2 | 3 | TEST_BEGIN(test_a0) 4 | { 5 | void *p; 6 | 7 | p = a0malloc(1); 8 | assert_ptr_not_null(p, "Unexpected a0malloc() error"); 9 | a0dalloc(p); 10 | } 11 | TEST_END 12 | 13 | int 14 | main(void) 15 | { 16 | 17 | return (test_no_malloc_init( 18 | test_a0)); 19 | } 20 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/tests/helpers/bg_complex_data.tcl: -------------------------------------------------------------------------------- 1 | source tests/support/redis.tcl 2 | source tests/support/util.tcl 3 | 4 | proc bg_complex_data {host port db ops} { 5 | set r [redis $host $port] 6 | $r select $db 7 | createComplexDataset $r $ops 8 | } 9 | 10 | bg_complex_data [lindex $argv 0] [lindex $argv 1] [lindex $argv 2] [lindex $argv 3] 11 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/hiredis/zmalloc.h: -------------------------------------------------------------------------------- 1 | /* Drop in replacement for zmalloc.h in order to just use libc malloc without 2 | * any wrappering. */ 3 | 4 | #ifndef ZMALLOC_H 5 | #define ZMALLOC_H 6 | 7 | #define zmalloc malloc 8 | #define zrealloc realloc 9 | #define zcalloc(x) calloc(x,1) 10 | #define zfree free 11 | #define zstrdup strdup 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/tests/helpers/bg_complex_data.tcl: -------------------------------------------------------------------------------- 1 | source tests/support/redis.tcl 2 | source tests/support/util.tcl 3 | 4 | proc bg_complex_data {host port db ops} { 5 | set r [redis $host $port] 6 | $r select $db 7 | createComplexDataset $r $ops 8 | } 9 | 10 | bg_complex_data [lindex $argv 0] [lindex $argv 1] [lindex $argv 2] [lindex $argv 3] 11 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/test/table.lua: -------------------------------------------------------------------------------- 1 | -- make table, grouping all data for the same item 2 | -- input is 2 columns (item, data) 3 | 4 | local A 5 | while 1 do 6 | local l=io.read() 7 | if l==nil then break end 8 | local _,_,a,b=string.find(l,'"?([_%w]+)"?%s*(.*)$') 9 | if a~=A then A=a io.write("\n",a,":") end 10 | io.write(" ",b) 11 | end 12 | io.write("\n") 13 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/runtest-cluster: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | TCL_VERSIONS="8.5 8.6" 3 | TCLSH="" 4 | 5 | for VERSION in $TCL_VERSIONS; do 6 | TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL 7 | done 8 | 9 | if [ -z $TCLSH ] 10 | then 11 | echo "You need tcl 8.5 or newer in order to run the Redis Sentinel test" 12 | exit 1 13 | fi 14 | $TCLSH tests/cluster/run.tcl $* 15 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/runtest-sentinel: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | TCL_VERSIONS="8.5 8.6" 3 | TCLSH="" 4 | 5 | for VERSION in $TCL_VERSIONS; do 6 | TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL 7 | done 8 | 9 | if [ -z $TCLSH ] 10 | then 11 | echo "You need tcl 8.5 or newer in order to run the Redis Sentinel test" 12 | exit 1 13 | fi 14 | $TCLSH tests/sentinel/run.tcl $* 15 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/utils/releasetools/02_upload_tarball.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "Uploading..." 3 | scp /tmp/redis-${1}.tar.gz antirez@antirez.com:/var/virtual/download.redis.io/httpdocs/releases/ 4 | echo "Updating web site... (press any key if it is a stable release, or Ctrl+C)" 5 | read x 6 | ssh antirez@antirez.com "cd /var/virtual/download.redis.io/httpdocs; ./update.sh ${1}" 7 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/manipulation/_evalUrl.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../ajax" 3 | ], function( jQuery ) { 4 | 5 | jQuery._evalUrl = function( url ) { 6 | return jQuery.ajax({ 7 | url: url, 8 | type: "GET", 9 | dataType: "script", 10 | async: false, 11 | global: false, 12 | "throws": true 13 | }); 14 | }; 15 | 16 | return jQuery._evalUrl; 17 | 18 | }); 19 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/src/lapi.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: lapi.h,v 2.2.1.1 2007/12/27 13:02:25 roberto Exp $ 3 | ** Auxiliary functions from Lua API 4 | ** See Copyright Notice in lua.h 5 | */ 6 | 7 | #ifndef lapi_h 8 | #define lapi_h 9 | 10 | 11 | #include "lobject.h" 12 | 13 | 14 | LUAI_FUNC void luaA_pushobject (lua_State *L, const TValue *o); 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/doc/stylesheet.xsl: -------------------------------------------------------------------------------- 1 | 2 | ansi 3 | 4 | 5 | "" 6 | 7 | 8 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/src/lapi.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: lapi.h,v 2.2.1.1 2007/12/27 13:02:25 roberto Exp $ 3 | ** Auxiliary functions from Lua API 4 | ** See Copyright Notice in lua.h 5 | */ 6 | 7 | #ifndef lapi_h 8 | #define lapi_h 9 | 10 | 11 | #include "lobject.h" 12 | 13 | 14 | LUAI_FUNC void luaA_pushobject (lua_State *L, const TValue *o); 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/doc/stylesheet.xsl: -------------------------------------------------------------------------------- 1 | 2 | ansi 3 | 4 | 5 | "" 6 | 7 | 8 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/src/lapi.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: lapi.h,v 2.2.1.1 2007/12/27 13:02:25 roberto Exp $ 3 | ** Auxiliary functions from Lua API 4 | ** See Copyright Notice in lua.h 5 | */ 6 | 7 | #ifndef lapi_h 8 | #define lapi_h 9 | 10 | 11 | #include "lobject.h" 12 | 13 | 14 | LUAI_FUNC void luaA_pushobject (lua_State *L, const TValue *o); 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /extern/deprecated/redis-test/tcl/tests/helpers/bg_complex_data.tcl: -------------------------------------------------------------------------------- 1 | source tests/support/redis.tcl 2 | source tests/support/util.tcl 3 | 4 | proc bg_complex_data {host port db ops} { 5 | set r [redis $host $port] 6 | $r select $db 7 | createComplexDataset $r $ops 8 | } 9 | 10 | bg_complex_data [lindex $argv 0] [lindex $argv 1] [lindex $argv 2] [lindex $argv 3] 11 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/127.0.0.1_19000/codis_proxy_19000.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[demo-alpha]@19000 3 | [Service] 4 | ExecStart=/opt/codis/bin/codis-proxy --ncpu=4 --max-ncpu=8 \ 5 | --config=/opt/codis/etc/127.0.0.1:19000/proxy.toml --log=/opt/codis/log/127.0.0.1:19000/proxy.log --log-level=INFO 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/127.0.0.1_19001/codis_proxy_19001.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[demo-alpha]@19001 3 | [Service] 4 | ExecStart=/opt/codis/bin/codis-proxy --ncpu=4 --max-ncpu=8 \ 5 | --config=/opt/codis/etc/127.0.0.1:19001/proxy.toml --log=/opt/codis/log/127.0.0.1:19001/proxy.log --log-level=INFO 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/127.0.0.1_19002/codis_proxy_19002.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[demo-alpha]@19002 3 | [Service] 4 | ExecStart=/opt/codis/bin/codis-proxy --ncpu=4 --max-ncpu=8 \ 5 | --config=/opt/codis/etc/127.0.0.1:19002/proxy.toml --log=/opt/codis/log/127.0.0.1:19002/proxy.log --log-level=INFO 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/doc/stylesheet.xsl: -------------------------------------------------------------------------------- 1 | 2 | ansi 3 | 4 | 5 | "" 6 | 7 | 8 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/test/table.lua: -------------------------------------------------------------------------------- 1 | -- make table, grouping all data for the same item 2 | -- input is 2 columns (item, data) 3 | 4 | local A 5 | while 1 do 6 | local l=io.read() 7 | if l==nil then break end 8 | local _,_,a,b=string.find(l,'"?([_%w]+)"?%s*(.*)$') 9 | if a~=A then A=a io.write("\n",a,":") end 10 | io.write(" ",b) 11 | end 12 | io.write("\n") 13 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/test/table.lua: -------------------------------------------------------------------------------- 1 | -- make table, grouping all data for the same item 2 | -- input is 2 columns (item, data) 3 | 4 | local A 5 | while 1 do 6 | local l=io.read() 7 | if l==nil then break end 8 | local _,_,a,b=string.find(l,'"?([_%w]+)"?%s*(.*)$') 9 | if a~=A then A=a io.write("\n",a,":") end 10 | io.write(" ",b) 11 | end 12 | io.write("\n") 13 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/runtest-cluster: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | TCL_VERSIONS="8.5 8.6" 3 | TCLSH="" 4 | 5 | for VERSION in $TCL_VERSIONS; do 6 | TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL 7 | done 8 | 9 | if [ -z $TCLSH ] 10 | then 11 | echo "You need tcl 8.5 or newer in order to run the Redis Sentinel test" 12 | exit 1 13 | fi 14 | $TCLSH tests/cluster/run.tcl $* 15 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/runtest-sentinel: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | TCL_VERSIONS="8.5 8.6" 3 | TCLSH="" 4 | 5 | for VERSION in $TCL_VERSIONS; do 6 | TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL 7 | done 8 | 9 | if [ -z $TCLSH ] 10 | then 11 | echo "You need tcl 8.5 or newer in order to run the Redis Sentinel test" 12 | exit 1 13 | fi 14 | $TCLSH tests/sentinel/run.tcl $* 15 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/utils/releasetools/02_upload_tarball.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "Uploading..." 3 | scp /tmp/redis-${1}.tar.gz antirez@antirez.com:/var/virtual/download.redis.io/httpdocs/releases/ 4 | echo "Updating web site... (press any key if it is a stable release, or Ctrl+C)" 5 | read x 6 | ssh antirez@antirez.com "cd /var/virtual/download.redis.io/httpdocs; ./update.sh ${1}" 7 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/test/table.lua: -------------------------------------------------------------------------------- 1 | -- make table, grouping all data for the same item 2 | -- input is 2 columns (item, data) 3 | 4 | local A 5 | while 1 do 6 | local l=io.read() 7 | if l==nil then break end 8 | local _,_,a,b=string.find(l,'"?([_%w]+)"?%s*(.*)$') 9 | if a~=A then A=a io.write("\n",a,":") end 10 | io.write(" ",b) 11 | end 12 | io.write("\n") 13 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/runtest-cluster: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | TCL_VERSIONS="8.5 8.6" 3 | TCLSH="" 4 | 5 | for VERSION in $TCL_VERSIONS; do 6 | TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL 7 | done 8 | 9 | if [ -z $TCLSH ] 10 | then 11 | echo "You need tcl 8.5 or newer in order to run the Redis Sentinel test" 12 | exit 1 13 | fi 14 | $TCLSH tests/cluster/run.tcl $* 15 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/runtest-sentinel: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | TCL_VERSIONS="8.5 8.6" 3 | TCLSH="" 4 | 5 | for VERSION in $TCL_VERSIONS; do 6 | TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL 7 | done 8 | 9 | if [ -z $TCLSH ] 10 | then 11 | echo "You need tcl 8.5 or newer in order to run the Redis Sentinel test" 12 | exit 1 13 | fi 14 | $TCLSH tests/sentinel/run.tcl $* 15 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/utils/releasetools/02_upload_tarball.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "Uploading..." 3 | scp /tmp/redis-${1}.tar.gz antirez@antirez.com:/var/virtual/download.redis.io/httpdocs/releases/ 4 | echo "Updating web site... (press any key if it is a stable release, or Ctrl+C)" 5 | read x 6 | ssh antirez@antirez.com "cd /var/virtual/download.redis.io/httpdocs; ./update.sh ${1}" 7 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for i in autoconf; do 4 | echo "$i" 5 | $i 6 | if [ $? -ne 0 ]; then 7 | echo "Error $? in $i" 8 | exit 1 9 | fi 10 | done 11 | 12 | echo "./configure --enable-autogen $@" 13 | ./configure --enable-autogen $@ 14 | if [ $? -ne 0 ]; then 15 | echo "Error $? in ./configure" 16 | exit 1 17 | fi 18 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/test/unit/a0.c: -------------------------------------------------------------------------------- 1 | #include "test/jemalloc_test.h" 2 | 3 | TEST_BEGIN(test_a0) 4 | { 5 | void *p; 6 | 7 | p = a0malloc(1); 8 | assert_ptr_not_null(p, "Unexpected a0malloc() error"); 9 | a0dalloc(p); 10 | } 11 | TEST_END 12 | 13 | int 14 | main(void) 15 | { 16 | 17 | return (test_no_malloc_init( 18 | test_a0)); 19 | } 20 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.2.16.200_19000/codis_proxy_19000.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[demo-beta]@19000 3 | [Service] 4 | ExecStart=/opt/codis/bin/codis-proxy --ncpu=4 --max-ncpu=8 \ 5 | --config=/opt/codis/etc/10.2.16.200:19000/proxy.toml --log=/opt/codis/log/10.2.16.200:19000/proxy.log --log-level=WARN 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.2.16.200_19002/codis_proxy_19002.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[demo-beta]@19002 3 | [Service] 4 | ExecStart=/opt/codis/bin/codis-proxy --ncpu=4 --max-ncpu=8 \ 5 | --config=/opt/codis/etc/10.2.16.200:19002/proxy.toml --log=/opt/codis/log/10.2.16.200:19002/proxy.log --log-level=WARN 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.2.16.201_19000/codis_proxy_19000.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[demo-beta]@19000 3 | [Service] 4 | ExecStart=/opt/codis/bin/codis-proxy --ncpu=4 --max-ncpu=8 \ 5 | --config=/opt/codis/etc/10.2.16.201:19000/proxy.toml --log=/opt/codis/log/10.2.16.201:19000/proxy.log --log-level=WARN 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.2.16.201_19002/codis_proxy_19002.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[demo-beta]@19002 3 | [Service] 4 | ExecStart=/opt/codis/bin/codis-proxy --ncpu=4 --max-ncpu=8 \ 5 | --config=/opt/codis/etc/10.2.16.201:19002/proxy.toml --log=/opt/codis/log/10.2.16.201:19002/proxy.log --log-level=WARN 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.2.16.202_19000/codis_proxy_19000.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[demo-beta]@19000 3 | [Service] 4 | ExecStart=/opt/codis/bin/codis-proxy --ncpu=4 --max-ncpu=8 \ 5 | --config=/opt/codis/etc/10.2.16.202:19000/proxy.toml --log=/opt/codis/log/10.2.16.202:19000/proxy.log --log-level=WARN 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.2.16.202_19002/codis_proxy_19002.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[demo-beta]@19002 3 | [Service] 4 | ExecStart=/opt/codis/bin/codis-proxy --ncpu=4 --max-ncpu=8 \ 5 | --config=/opt/codis/etc/10.2.16.202:19002/proxy.toml --log=/opt/codis/log/10.2.16.202:19002/proxy.log --log-level=WARN 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.4.10.200_19000/codis_proxy_19000.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[demo-beta]@19000 3 | [Service] 4 | ExecStart=/opt/codis/bin/codis-proxy --ncpu=4 --max-ncpu=8 \ 5 | --config=/opt/codis/etc/10.4.10.200:19000/proxy.toml --log=/opt/codis/log/10.4.10.200:19000/proxy.log --log-level=WARN 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.4.10.200_19002/codis_proxy_19002.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[demo-beta]@19002 3 | [Service] 4 | ExecStart=/opt/codis/bin/codis-proxy --ncpu=4 --max-ncpu=8 \ 5 | --config=/opt/codis/etc/10.4.10.200:19002/proxy.toml --log=/opt/codis/log/10.4.10.200:19002/proxy.log --log-level=WARN 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.4.10.201_19000/codis_proxy_19000.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[demo-beta]@19000 3 | [Service] 4 | ExecStart=/opt/codis/bin/codis-proxy --ncpu=4 --max-ncpu=8 \ 5 | --config=/opt/codis/etc/10.4.10.201:19000/proxy.toml --log=/opt/codis/log/10.4.10.201:19000/proxy.log --log-level=WARN 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/10.4.10.201_19002/codis_proxy_19002.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Codis-[demo-beta]@19002 3 | [Service] 4 | ExecStart=/opt/codis/bin/codis-proxy --ncpu=4 --max-ncpu=8 \ 5 | --config=/opt/codis/etc/10.4.10.201:19002/proxy.toml --log=/opt/codis/log/10.4.10.201:19002/proxy.log --log-level=WARN 6 | Restart=always 7 | [Install] 8 | WantedBy=default.target 9 | 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/runtest-sentinel: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | TCL_VERSIONS="8.5 8.6" 3 | TCLSH="" 4 | 5 | for VERSION in $TCL_VERSIONS; do 6 | TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL 7 | done 8 | 9 | if [ -z $TCLSH ] 10 | then 11 | echo "You need tcl 8.5 or newer in order to run the Redis Sentinel test" 12 | exit 1 13 | fi 14 | $TCLSH tests/sentinel/run.tcl $* 15 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for i in autoconf; do 4 | echo "$i" 5 | $i 6 | if [ $? -ne 0 ]; then 7 | echo "Error $? in $i" 8 | exit 1 9 | fi 10 | done 11 | 12 | echo "./configure --enable-autogen $@" 13 | ./configure --enable-autogen $@ 14 | if [ $? -ne 0 ]; then 15 | echo "Error $? in ./configure" 16 | exit 1 17 | fi 18 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for i in autoconf; do 4 | echo "$i" 5 | $i 6 | if [ $? -ne 0 ]; then 7 | echo "Error $? in $i" 8 | exit 1 9 | fi 10 | done 11 | 12 | echo "./configure --enable-autogen $@" 13 | ./configure --enable-autogen $@ 14 | if [ $? -ne 0 ]; then 15 | echo "Error $? in ./configure" 16 | exit 1 17 | fi 18 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for i in autoconf; do 4 | echo "$i" 5 | $i 6 | if [ $? -ne 0 ]; then 7 | echo "Error $? in $i" 8 | exit 1 9 | fi 10 | done 11 | 12 | echo "./configure --enable-autogen $@" 13 | ./configure --enable-autogen $@ 14 | if [ $? -ne 0 ]; then 15 | echo "Error $? in ./configure" 16 | exit 1 17 | fi 18 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/test/include/test/jemalloc_test_defs.h.in: -------------------------------------------------------------------------------- 1 | #include "jemalloc/internal/jemalloc_internal_defs.h" 2 | #include "jemalloc/internal/jemalloc_internal_decls.h" 3 | 4 | /* 5 | * For use by SFMT. configure.ac doesn't actually define HAVE_SSE2 because its 6 | * dependencies are notoriously unportable in practice. 7 | */ 8 | #undef HAVE_SSE2 9 | #undef HAVE_ALTIVEC 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/utils/mkrelease.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ $# != "1" ] 3 | then 4 | echo "Usage: ./mkrelease.sh " 5 | exit 1 6 | fi 7 | 8 | TAG=$1 9 | TARNAME="redis-${TAG}.tar" 10 | echo "Generating /tmp/${TARNAME}" 11 | git archive $TAG --prefix redis-${TAG}/ > /tmp/$TARNAME || exit 1 12 | echo "Gizipping the archive" 13 | rm -f /tmp/$TARNAME.gz 14 | gzip -9 /tmp/$TARNAME 15 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/test/cf.lua: -------------------------------------------------------------------------------- 1 | -- temperature conversion table (celsius to farenheit) 2 | 3 | for c0=-20,50-1,10 do 4 | io.write("C ") 5 | for c=c0,c0+10-1 do 6 | io.write(string.format("%3.0f ",c)) 7 | end 8 | io.write("\n") 9 | 10 | io.write("F ") 11 | for c=c0,c0+10-1 do 12 | f=(9/5)*c+32 13 | io.write(string.format("%3.0f ",f)) 14 | end 15 | io.write("\n\n") 16 | end 17 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for i in autoconf; do 4 | echo "$i" 5 | $i 6 | if [ $? -ne 0 ]; then 7 | echo "Error $? in $i" 8 | exit 1 9 | fi 10 | done 11 | 12 | echo "./configure --enable-autogen $@" 13 | ./configure --enable-autogen $@ 14 | if [ $? -ne 0 ]; then 15 | echo "Error $? in ./configure" 16 | exit 1 17 | fi 18 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/selector-sizzle.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "sizzle" 4 | ], function( jQuery, Sizzle ) { 5 | 6 | jQuery.find = Sizzle; 7 | jQuery.expr = Sizzle.selectors; 8 | jQuery.expr[":"] = jQuery.expr.pseudos; 9 | jQuery.unique = Sizzle.uniqueSort; 10 | jQuery.text = Sizzle.getText; 11 | jQuery.isXMLDoc = Sizzle.isXML; 12 | jQuery.contains = Sizzle.contains; 13 | 14 | }); 15 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/test/include/test/jemalloc_test_defs.h.in: -------------------------------------------------------------------------------- 1 | #include "jemalloc/internal/jemalloc_internal_defs.h" 2 | #include "jemalloc/internal/jemalloc_internal_decls.h" 3 | 4 | /* 5 | * For use by SFMT. configure.ac doesn't actually define HAVE_SSE2 because its 6 | * dependencies are notoriously unportable in practice. 7 | */ 8 | #undef HAVE_SSE2 9 | #undef HAVE_ALTIVEC 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/test/include/test/jemalloc_test_defs.h.in: -------------------------------------------------------------------------------- 1 | #include "jemalloc/internal/jemalloc_internal_defs.h" 2 | #include "jemalloc/internal/jemalloc_internal_decls.h" 3 | 4 | /* 5 | * For use by SFMT. configure.ac doesn't actually define HAVE_SSE2 because its 6 | * dependencies are notoriously unportable in practice. 7 | */ 8 | #undef HAVE_SSE2 9 | #undef HAVE_ALTIVEC 10 | -------------------------------------------------------------------------------- /pkg/models/action.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 CodisLabs. All Rights Reserved. 2 | // Licensed under the MIT (MIT-LICENSE.txt) license. 3 | 4 | package models 5 | 6 | const ( 7 | ActionNothing = "" 8 | ActionPending = "pending" 9 | ActionPreparing = "preparing" 10 | ActionPrepared = "prepared" 11 | ActionMigrating = "migrating" 12 | ActionFinished = "finished" 13 | ActionSyncing = "syncing" 14 | ) 15 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/test/cf.lua: -------------------------------------------------------------------------------- 1 | -- temperature conversion table (celsius to farenheit) 2 | 3 | for c0=-20,50-1,10 do 4 | io.write("C ") 5 | for c=c0,c0+10-1 do 6 | io.write(string.format("%3.0f ",c)) 7 | end 8 | io.write("\n") 9 | 10 | io.write("F ") 11 | for c=c0,c0+10-1 do 12 | f=(9/5)*c+32 13 | io.write(string.format("%3.0f ",f)) 14 | end 15 | io.write("\n\n") 16 | end 17 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/test/cf.lua: -------------------------------------------------------------------------------- 1 | -- temperature conversion table (celsius to farenheit) 2 | 3 | for c0=-20,50-1,10 do 4 | io.write("C ") 5 | for c=c0,c0+10-1 do 6 | io.write(string.format("%3.0f ",c)) 7 | end 8 | io.write("\n") 9 | 10 | io.write("F ") 11 | for c=c0,c0+10-1 do 12 | f=(9/5)*c+32 13 | io.write(string.format("%3.0f ",f)) 14 | end 15 | io.write("\n\n") 16 | end 17 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/test/cf.lua: -------------------------------------------------------------------------------- 1 | -- temperature conversion table (celsius to farenheit) 2 | 3 | for c0=-20,50-1,10 do 4 | io.write("C ") 5 | for c=c0,c0+10-1 do 6 | io.write(string.format("%3.0f ",c)) 7 | end 8 | io.write("\n") 9 | 10 | io.write("F ") 11 | for c=c0,c0+10-1 do 12 | f=(9/5)*c+32 13 | io.write(string.format("%3.0f ",f)) 14 | end 15 | io.write("\n\n") 16 | end 17 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/Makefile: -------------------------------------------------------------------------------- 1 | install: 2 | go install ./... 3 | 4 | test: install 5 | go test -v 6 | toml-test toml-test-decoder 7 | toml-test -encoder toml-test-encoder 8 | 9 | fmt: 10 | gofmt -w *.go */*.go 11 | colcheck *.go */*.go 12 | 13 | tags: 14 | find ./ -name '*.go' -print0 | xargs -0 gotags > TAGS 15 | 16 | push: 17 | git push origin master 18 | git push github master 19 | 20 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/test/include/test/jemalloc_test_defs.h.in: -------------------------------------------------------------------------------- 1 | #include "jemalloc/internal/jemalloc_internal_defs.h" 2 | #include "jemalloc/internal/jemalloc_internal_decls.h" 3 | 4 | /* 5 | * For use by SFMT. configure.ac doesn't actually define HAVE_SSE2 because its 6 | * dependencies are notoriously unportable in practice. 7 | */ 8 | #undef HAVE_SSE2 9 | #undef HAVE_ALTIVEC 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/test/include/test/timer.h: -------------------------------------------------------------------------------- 1 | /* Simple timer, for use in benchmark reporting. */ 2 | 3 | typedef struct { 4 | nstime_t t0; 5 | nstime_t t1; 6 | } timedelta_t; 7 | 8 | void timer_start(timedelta_t *timer); 9 | void timer_stop(timedelta_t *timer); 10 | uint64_t timer_usec(const timedelta_t *timer); 11 | void timer_ratio(timedelta_t *a, timedelta_t *b, char *buf, size_t buflen); 12 | -------------------------------------------------------------------------------- /pkg/utils/unsafe2/string_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 CodisLabs. All Rights Reserved. 2 | // Licensed under the MIT (MIT-LICENSE.txt) license. 3 | 4 | package unsafe2 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/CodisLabs/codis/pkg/utils/assert" 10 | ) 11 | 12 | func TestCastString(t *testing.T) { 13 | var b = []byte("hello") 14 | var s = CastString(b) 15 | b[0] = 'w' 16 | assert.Must(s == "wello") 17 | } 18 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/convert-string/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "convert-string", 3 | "version": "0.1.0", 4 | "description": "Convert to/from strings and array of bytes", 5 | "keywords": [ 6 | "string", 7 | "strings", 8 | "convert", 9 | "bytes" 10 | ], 11 | "repo": "cryptocoinjs/convert-string", 12 | "scripts": [ 13 | "convert-string.js" 14 | ], 15 | "main": "convert-string.js" 16 | } -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/event/ajax.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../event" 4 | ], function( jQuery ) { 5 | 6 | // Attach a bunch of functions for handling common AJAX events 7 | jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ) { 8 | jQuery.fn[ type ] = function( fn ) { 9 | return this.on( type, fn ); 10 | }; 11 | }); 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/convert-hex/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "convert-hex", 3 | "version": "0.1.0", 4 | "description": "Convert to/from hex string and array of bytes", 5 | "keywords": [ 6 | "string", 7 | "strings", 8 | "convert", 9 | "hex", 10 | "bytes" 11 | ], 12 | "repo": "cryptocoinjs/convert-hex", 13 | "scripts": [ 14 | "convert-hex.js" 15 | ], 16 | "main": "convert-hex.js" 17 | } -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/coverage.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | objdir=$1 6 | suffix=$2 7 | shift 2 8 | objs=$@ 9 | 10 | gcov -b -p -f -o "${objdir}" ${objs} 11 | 12 | # Move gcov outputs so that subsequent gcov invocations won't clobber results 13 | # for the same sources with different compilation flags. 14 | for f in `find . -maxdepth 1 -type f -name '*.gcov'` ; do 15 | mv "${f}" "${f}.${suffix}" 16 | done 17 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/test/include/test/timer.h: -------------------------------------------------------------------------------- 1 | /* Simple timer, for use in benchmark reporting. */ 2 | 3 | typedef struct { 4 | nstime_t t0; 5 | nstime_t t1; 6 | } timedelta_t; 7 | 8 | void timer_start(timedelta_t *timer); 9 | void timer_stop(timedelta_t *timer); 10 | uint64_t timer_usec(const timedelta_t *timer); 11 | void timer_ratio(timedelta_t *a, timedelta_t *b, char *buf, size_t buflen); 12 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/utils/releasetools/01_create_tarball.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ $# != "1" ] 3 | then 4 | echo "Usage: ./mkrelease.sh " 5 | exit 1 6 | fi 7 | 8 | TAG=$1 9 | TARNAME="redis-${TAG}.tar" 10 | echo "Generating /tmp/${TARNAME}" 11 | cd ~/hack/redis 12 | git archive $TAG --prefix redis-${TAG}/ > /tmp/$TARNAME || exit 1 13 | echo "Gizipping the archive" 14 | rm -f /tmp/$TARNAME.gz 15 | gzip -9 /tmp/$TARNAME 16 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/convert-hex/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "convert-hex", 3 | "version": "0.1.0", 4 | "description": "Convert to/from hex string and array of bytes", 5 | "keywords": [ 6 | "string", 7 | "strings", 8 | "convert", 9 | "hex", 10 | "bytes" 11 | ], 12 | "ignore": [ 13 | "node_modules" 14 | ], 15 | "repo": "https://github.com/cryptocoinjs/convert-hex", 16 | "main": "convert-hex.js" 17 | } -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/coverage.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | objdir=$1 6 | suffix=$2 7 | shift 2 8 | objs=$@ 9 | 10 | gcov -b -p -f -o "${objdir}" ${objs} 11 | 12 | # Move gcov outputs so that subsequent gcov invocations won't clobber results 13 | # for the same sources with different compilation flags. 14 | for f in `find . -maxdepth 1 -type f -name '*.gcov'` ; do 15 | mv "${f}" "${f}.${suffix}" 16 | done 17 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/coverage.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | objdir=$1 6 | suffix=$2 7 | shift 2 8 | objs=$@ 9 | 10 | gcov -b -p -f -o "${objdir}" ${objs} 11 | 12 | # Move gcov outputs so that subsequent gcov invocations won't clobber results 13 | # for the same sources with different compilation flags. 14 | for f in `find . -maxdepth 1 -type f -name '*.gcov'` ; do 15 | mv "${f}" "${f}.${suffix}" 16 | done 17 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/coverage.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | objdir=$1 6 | suffix=$2 7 | shift 2 8 | objs=$@ 9 | 10 | gcov -b -p -f -o "${objdir}" ${objs} 11 | 12 | # Move gcov outputs so that subsequent gcov invocations won't clobber results 13 | # for the same sources with different compilation flags. 14 | for f in `find . -maxdepth 1 -type f -name '*.gcov'` ; do 15 | mv "${f}" "${f}.${suffix}" 16 | done 17 | -------------------------------------------------------------------------------- /vendor/github.com/docopt/docopt-go/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | 24 | # coverage droppings 25 | profile.cov 26 | -------------------------------------------------------------------------------- /vendor/github.com/ugorji/go/codec/decode_go14.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build !go1.5 5 | 6 | package codec 7 | 8 | import "reflect" 9 | 10 | const reflectArrayOfSupported = false 11 | 12 | func reflectArrayOf(rvn reflect.Value) (rvn2 reflect.Value) { 13 | panic("reflect.ArrayOf unsupported") 14 | } 15 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/127.0.0.1_18080/foreach_proxy_online: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | d=1 7 | sleep $d; /opt/codis/bin/codis-admin --dashboard=127.0.0.1:18080 --online-proxy --addr=127.0.0.1:11080 8 | sleep $d; /opt/codis/bin/codis-admin --dashboard=127.0.0.1:18080 --online-proxy --addr=127.0.0.1:11081 9 | sleep $d; /opt/codis/bin/codis-admin --dashboard=127.0.0.1:18080 --online-proxy --addr=127.0.0.1:11082 10 | 11 | -------------------------------------------------------------------------------- /deploy/root/opt/codis/etc/127.0.0.1_18080/foreach_proxy_reinit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | set -e 5 | 6 | d=1 7 | sleep $d; /opt/codis/bin/codis-admin --dashboard=127.0.0.1:18080 --reinit-proxy --addr=127.0.0.1:11080 8 | sleep $d; /opt/codis/bin/codis-admin --dashboard=127.0.0.1:18080 --reinit-proxy --addr=127.0.0.1:11081 9 | sleep $d; /opt/codis/bin/codis-admin --dashboard=127.0.0.1:18080 --reinit-proxy --addr=127.0.0.1:11082 10 | 11 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/utils/releasetools/01_create_tarball.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ $# != "1" ] 3 | then 4 | echo "Usage: ./mkrelease.sh " 5 | exit 1 6 | fi 7 | 8 | TAG=$1 9 | TARNAME="redis-${TAG}.tar" 10 | echo "Generating /tmp/${TARNAME}" 11 | cd ~/hack/redis 12 | git archive $TAG --prefix redis-${TAG}/ > /tmp/$TARNAME || exit 1 13 | echo "Gizipping the archive" 14 | rm -f /tmp/$TARNAME.gz 15 | gzip -9 /tmp/$TARNAME 16 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/utils/releasetools/01_create_tarball.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ $# != "1" ] 3 | then 4 | echo "Usage: ./mkrelease.sh " 5 | exit 1 6 | fi 7 | 8 | TAG=$1 9 | TARNAME="redis-${TAG}.tar" 10 | echo "Generating /tmp/${TARNAME}" 11 | cd ~/hack/redis 12 | git archive $TAG --prefix redis-${TAG}/ > /tmp/$TARNAME || exit 1 13 | echo "Gizipping the archive" 14 | rm -f /tmp/$TARNAME.gz 15 | gzip -9 /tmp/$TARNAME 16 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/js/parts-more/AreaSplineRangeSeries.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The AreaSplineRangeSeries class 3 | */ 4 | 5 | defaultPlotOptions.areasplinerange = merge(defaultPlotOptions.arearange); 6 | 7 | /** 8 | * AreaSplineRangeSeries object 9 | */ 10 | seriesTypes.areasplinerange = extendClass(seriesTypes.arearange, { 11 | type: 'areasplinerange', 12 | getPointSpline: seriesTypes.spline.prototype.getPointSpline 13 | }); 14 | 15 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/linenoise/Makefile: -------------------------------------------------------------------------------- 1 | STD= 2 | WARN= -Wall 3 | OPT= -Os 4 | 5 | R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) 6 | R_LDFLAGS= $(LDFLAGS) 7 | DEBUG= -g 8 | 9 | R_CC=$(CC) $(R_CFLAGS) 10 | R_LD=$(CC) $(R_LDFLAGS) 11 | 12 | linenoise.o: linenoise.h linenoise.c 13 | 14 | linenoise_example: linenoise.o example.o 15 | $(R_LD) -o $@ $^ 16 | 17 | .c.o: 18 | $(R_CC) -c $< 19 | 20 | clean: 21 | rm -f linenoise_example *.o 22 | -------------------------------------------------------------------------------- /kubernetes/README.md: -------------------------------------------------------------------------------- 1 | ## Usage 2 | 3 | ### Build one codis cluster (codis master server has one slave) 4 | 5 | ``` 6 | $ sh start.sh buildup 7 | ``` 8 | 9 | ### Clean up the codis cluster 10 | 11 | ``` 12 | $ sh start.sh cleanup 13 | ``` 14 | 15 | ### Scale codis cluster proxy 16 | 17 | ``` 18 | $ sh start.sh scale-proxy $(number) 19 | ``` 20 | 21 | ### Scale codis cluster server 22 | 23 | ``` 24 | $ sh start.sh scale-server $(number) 25 | ``` 26 | -------------------------------------------------------------------------------- /pkg/utils/unsafe2/cgo_malloc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 CodisLabs. All Rights Reserved. 2 | // Licensed under the MIT (MIT-LICENSE.txt) license. 3 | 4 | // +build !cgo_jemalloc 5 | 6 | package unsafe2 7 | 8 | // #include 9 | import "C" 10 | 11 | import ( 12 | "unsafe" 13 | ) 14 | 15 | func cgo_malloc(n int) unsafe.Pointer { 16 | return C.malloc(C.size_t(n)) 17 | } 18 | 19 | func cgo_free(ptr unsafe.Pointer) { 20 | C.free(ptr) 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/coverage.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | objdir=$1 6 | suffix=$2 7 | shift 2 8 | objs=$@ 9 | 10 | gcov -b -p -f -o "${objdir}" ${objs} 11 | 12 | # Move gcov outputs so that subsequent gcov invocations won't clobber results 13 | # for the same sources with different compilation flags. 14 | for f in `find . -maxdepth 1 -type f -name '*.gcov'` ; do 15 | mv "${f}" "${f}.${suffix}" 16 | done 17 | -------------------------------------------------------------------------------- /pkg/utils/unsafe2/je_malloc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 CodisLabs. All Rights Reserved. 2 | // Licensed under the MIT (MIT-LICENSE.txt) license. 3 | 4 | // +build cgo_jemalloc 5 | 6 | package unsafe2 7 | 8 | import ( 9 | "unsafe" 10 | 11 | jemalloc "github.com/spinlock/jemalloc-go" 12 | ) 13 | 14 | func cgo_malloc(n int) unsafe.Pointer { 15 | return jemalloc.Malloc(n) 16 | } 17 | 18 | func cgo_free(ptr unsafe.Pointer) { 19 | jemalloc.Free(ptr) 20 | } 21 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap-dialog/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cross-solution/bootstrap3-dialog", 3 | "description": "Make use of Bootstrap Modal more monkey-friendly.", 4 | "license": "MIT", 5 | "authors": [ 6 | { 7 | "name": "Nakupanda", 8 | "email": "javanoob@hotmail.com" 9 | } 10 | ], 11 | "require": { 12 | "components/jquery": "*", 13 | "twbs/bootstrap": "3.*" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/css/var/isHidden.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../core", 3 | "../../selector" 4 | // css is assumed 5 | ], function( jQuery ) { 6 | 7 | return function( elem, el ) { 8 | // isHidden might be called from jQuery#filter function; 9 | // in that case, element will be second argument 10 | elem = el || elem; 11 | return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); 12 | }; 13 | }); 14 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/linenoise/Makefile: -------------------------------------------------------------------------------- 1 | STD= 2 | WARN= -Wall 3 | OPT= -Os 4 | 5 | R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) 6 | R_LDFLAGS= $(LDFLAGS) 7 | DEBUG= -g 8 | 9 | R_CC=$(CC) $(R_CFLAGS) 10 | R_LD=$(CC) $(R_LDFLAGS) 11 | 12 | linenoise.o: linenoise.h linenoise.c 13 | 14 | linenoise_example: linenoise.o example.o 15 | $(R_LD) -o $@ $^ 16 | 17 | .c.o: 18 | $(R_CC) -c $< 19 | 20 | clean: 21 | rm -f linenoise_example *.o 22 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/linenoise/Makefile: -------------------------------------------------------------------------------- 1 | STD= 2 | WARN= -Wall 3 | OPT= -Os 4 | 5 | R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) 6 | R_LDFLAGS= $(LDFLAGS) 7 | DEBUG= -g 8 | 9 | R_CC=$(CC) $(R_CFLAGS) 10 | R_LD=$(CC) $(R_LDFLAGS) 11 | 12 | linenoise.o: linenoise.h linenoise.c 13 | 14 | linenoise_example: linenoise.o example.o 15 | $(R_LD) -o $@ $^ 16 | 17 | .c.o: 18 | $(R_CC) -c $< 19 | 20 | clean: 21 | rm -f linenoise_example *.o 22 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/linenoise/Makefile: -------------------------------------------------------------------------------- 1 | STD= 2 | WARN= -Wall 3 | OPT= -Os 4 | 5 | R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) 6 | R_LDFLAGS= $(LDFLAGS) 7 | DEBUG= -g 8 | 9 | R_CC=$(CC) $(R_CFLAGS) 10 | R_LD=$(CC) $(R_LDFLAGS) 11 | 12 | linenoise.o: linenoise.h linenoise.c 13 | 14 | linenoise_example: linenoise.o example.o 15 | $(R_LD) -o $@ $^ 16 | 17 | .c.o: 18 | $(R_CC) -c $< 19 | 20 | clean: 21 | rm -f linenoise_example *.o 22 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/test/xd.lua: -------------------------------------------------------------------------------- 1 | -- hex dump 2 | -- usage: lua xd.lua < file 3 | 4 | local offset=0 5 | while true do 6 | local s=io.read(16) 7 | if s==nil then return end 8 | io.write(string.format("%08X ",offset)) 9 | string.gsub(s,"(.)", 10 | function (c) io.write(string.format("%02X ",string.byte(c))) end) 11 | io.write(string.rep(" ",3*(16-string.len(s)))) 12 | io.write(" ",string.gsub(s,"%c","."),"\n") 13 | offset=offset+16 14 | end 15 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/less/mixins/nav-vertical-align.less: -------------------------------------------------------------------------------- 1 | // Navbar vertical align 2 | // 3 | // Vertically center elements in the navbar. 4 | // Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin. 5 | 6 | .navbar-vertical-align(@element-height) { 7 | margin-top: ((@navbar-height - @element-height) / 2); 8 | margin-bottom: ((@navbar-height - @element-height) / 2); 9 | } 10 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/jemalloc/include/msvc_compat/stdbool.h: -------------------------------------------------------------------------------- 1 | #ifndef stdbool_h 2 | #define stdbool_h 3 | 4 | #include 5 | 6 | /* MSVC doesn't define _Bool or bool in C, but does have BOOL */ 7 | /* Note this doesn't pass autoconf's test because (bool) 0.5 != true */ 8 | typedef BOOL _Bool; 9 | 10 | #define bool _Bool 11 | #define true 1 12 | #define false 0 13 | 14 | #define __bool_true_false_are_defined 1 15 | 16 | #endif /* stdbool_h */ 17 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/test/xd.lua: -------------------------------------------------------------------------------- 1 | -- hex dump 2 | -- usage: lua xd.lua < file 3 | 4 | local offset=0 5 | while true do 6 | local s=io.read(16) 7 | if s==nil then return end 8 | io.write(string.format("%08X ",offset)) 9 | string.gsub(s,"(.)", 10 | function (c) io.write(string.format("%02X ",string.byte(c))) end) 11 | io.write(string.rep(" ",3*(16-string.len(s)))) 12 | io.write(" ",string.gsub(s,"%c","."),"\n") 13 | offset=offset+16 14 | end 15 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/test/xd.lua: -------------------------------------------------------------------------------- 1 | -- hex dump 2 | -- usage: lua xd.lua < file 3 | 4 | local offset=0 5 | while true do 6 | local s=io.read(16) 7 | if s==nil then return end 8 | io.write(string.format("%08X ",offset)) 9 | string.gsub(s,"(.)", 10 | function (c) io.write(string.format("%02X ",string.byte(c))) end) 11 | io.write(string.rep(" ",3*(16-string.len(s)))) 12 | io.write(" ",string.gsub(s,"%c","."),"\n") 13 | offset=offset+16 14 | end 15 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/test/xd.lua: -------------------------------------------------------------------------------- 1 | -- hex dump 2 | -- usage: lua xd.lua < file 3 | 4 | local offset=0 5 | while true do 6 | local s=io.read(16) 7 | if s==nil then return end 8 | io.write(string.format("%08X ",offset)) 9 | string.gsub(s,"(.)", 10 | function (c) io.write(string.format("%02X ",string.byte(c))) end) 11 | io.write(string.rep(" ",3*(16-string.len(s)))) 12 | io.write(" ",string.gsub(s,"%c","."),"\n") 13 | offset=offset+16 14 | end 15 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/utils/releasetools/04_release_hash.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | SHA=$(curl -s http://download.redis.io/releases/redis-${1}.tar.gz | shasum | cut -f 1 -d' ') 3 | ENTRY="hash redis-${1}.tar.gz sha1 $SHA http://download.redis.io/releases/redis-${1}.tar.gz" 4 | echo $ENTRY >> ~/hack/redis-hashes/README 5 | vi ~/hack/redis-hashes/README 6 | echo "Press any key to commit, Ctrl-C to abort)." 7 | read yes 8 | (cd ~/hack/redis-hashes; git commit -a -m "${1} hash."; git push) 9 | -------------------------------------------------------------------------------- /pkg/utils/assert/assert.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 CodisLabs. All Rights Reserved. 2 | // Licensed under the MIT (MIT-LICENSE.txt) license. 3 | 4 | package assert 5 | 6 | import "github.com/CodisLabs/codis/pkg/utils/log" 7 | 8 | func Must(b bool) { 9 | if b { 10 | return 11 | } 12 | log.Panic("assertion failed") 13 | } 14 | 15 | func MustNoError(err error) { 16 | if err == nil { 17 | return 18 | } 19 | log.PanicError(err, "error happens, assertion failed") 20 | } 21 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | Bootstrap uses [GitHub's Releases feature](https://github.com/blog/1547-release-your-software) for its changelogs. 2 | 3 | See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. 4 | 5 | Release announcement posts on [the official Bootstrap blog](http://blog.getbootstrap.com) contain summaries of the most noteworthy changes made in each release. 6 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/convert-string/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "convert-string", 3 | "version": "0.1.0", 4 | "description": "Convert to/from strings and array of bytes", 5 | "keywords": [ 6 | "string", 7 | "strings", 8 | "convert", 9 | "bytes" 10 | ], 11 | "ignore": [ 12 | "node_modules", 13 | ".DS_Store", 14 | "references" 15 | ], 16 | "repo": "https://github.com/cryptocoinjs/convert-string", 17 | "main": "convert-string.js" 18 | } -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/utils/releasetools/04_release_hash.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | SHA=$(curl -s http://download.redis.io/releases/redis-${1}.tar.gz | shasum | cut -f 1 -d' ') 3 | ENTRY="hash redis-${1}.tar.gz sha1 $SHA http://download.redis.io/releases/redis-${1}.tar.gz" 4 | echo $ENTRY >> ~/hack/redis-hashes/README 5 | vi ~/hack/redis-hashes/README 6 | echo "Press any key to commit, Ctrl-C to abort)." 7 | read yes 8 | (cd ~/hack/redis-hashes; git commit -a -m "${1} hash."; git push) 9 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/utils/releasetools/04_release_hash.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | SHA=$(curl -s http://download.redis.io/releases/redis-${1}.tar.gz | shasum | cut -f 1 -d' ') 3 | ENTRY="hash redis-${1}.tar.gz sha1 $SHA http://download.redis.io/releases/redis-${1}.tar.gz" 4 | echo $ENTRY >> ~/hack/redis-hashes/README 5 | vi ~/hack/redis-hashes/README 6 | echo "Press any key to commit, Ctrl-C to abort)." 7 | read yes 8 | (cd ~/hack/redis-hashes; git commit -a -m "${1} hash."; git push) 9 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/angular/angular-csp.css: -------------------------------------------------------------------------------- 1 | /* Include this file in your html if you are using the CSP mode. */ 2 | 3 | @charset "UTF-8"; 4 | 5 | [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], 6 | .ng-cloak, .x-ng-cloak, 7 | .ng-hide:not(.ng-hide-animate) { 8 | display: none !important; 9 | } 10 | 11 | ng\:form { 12 | display: block; 13 | } 14 | 15 | .ng-animate-shim { 16 | visibility:hidden; 17 | } 18 | 19 | .ng-anchor { 20 | position:absolute; 21 | } 22 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/geohash-int/Makefile: -------------------------------------------------------------------------------- 1 | STD= 2 | WARN= -Wall 3 | OPT= -O2 4 | 5 | R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) 6 | R_LDFLAGS= $(LDFLAGS) 7 | DEBUG= -g 8 | 9 | R_CC=$(CC) $(R_CFLAGS) 10 | R_LD=$(CC) $(R_LDFLAGS) 11 | 12 | all: geohash.o geohash_helper.o 13 | 14 | .PHONY: all 15 | 16 | geohash.o: geohash.h geohash.c 17 | geohash_helper.o: geohash.h geohash_helper.h geohash_helper.c 18 | 19 | .c.o: 20 | $(R_CC) -c $< 21 | 22 | clean: 23 | rm -f *.o 24 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/tests/helpers/gen_write_load.tcl: -------------------------------------------------------------------------------- 1 | source tests/support/redis.tcl 2 | 3 | proc gen_write_load {host port seconds} { 4 | set start_time [clock seconds] 5 | set r [redis $host $port 1] 6 | $r select 9 7 | while 1 { 8 | $r set [expr rand()] [expr rand()] 9 | if {[clock seconds]-$start_time > $seconds} { 10 | exit 0 11 | } 12 | } 13 | } 14 | 15 | gen_write_load [lindex $argv 0] [lindex $argv 1] [lindex $argv 2] 16 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/bootstrap/less/mixins/responsive-visibility.less: -------------------------------------------------------------------------------- 1 | // Responsive utilities 2 | 3 | // 4 | // More easily include all the states for responsive-utilities.less. 5 | .responsive-visibility() { 6 | display: block !important; 7 | table& { display: table !important; } 8 | tr& { display: table-row !important; } 9 | th&, 10 | td& { display: table-cell !important; } 11 | } 12 | 13 | .responsive-invisibility() { 14 | display: none !important; 15 | } 16 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/jemalloc/jemalloc.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | install_suffix=@install_suffix@ 6 | 7 | Name: jemalloc 8 | Description: A general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support. 9 | URL: http://www.canonware.com/jemalloc 10 | Version: @jemalloc_version@ 11 | Cflags: -I${includedir} 12 | Libs: -L${libdir} -ljemalloc${install_suffix} 13 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/doc/manual.css: -------------------------------------------------------------------------------- 1 | h3 code { 2 | font-family: inherit ; 3 | font-size: inherit ; 4 | } 5 | 6 | pre, code { 7 | font-size: 12pt ; 8 | } 9 | 10 | span.apii { 11 | float: right ; 12 | font-family: inherit ; 13 | font-style: normal ; 14 | font-size: small ; 15 | color: gray ; 16 | } 17 | 18 | p+h1, ul+h1 { 19 | padding-top: 0.4em ; 20 | padding-bottom: 0.4em ; 21 | padding-left: 30px ; 22 | margin-left: -30px ; 23 | background-color: #E0E0FF ; 24 | } 25 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/utils/hashtable/README: -------------------------------------------------------------------------------- 1 | Hash table implementation related utilities. 2 | 3 | rehashing.c 4 | --- 5 | 6 | Visually show buckets in the two hash tables between rehashings. Also stress 7 | test getRandomKeys() implementation, that may actually disappear from 8 | Redis soon, however visualizaiton some code is reusable in new bugs 9 | investigation. 10 | 11 | Compile with: 12 | 13 | cc -I ../../src/ rehashing.c ../../src/zmalloc.c ../../src/dict.c -o rehashing_test 14 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/js/parts-map/HeatmapIntro.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @license @product.name@ JS v@product.version@ (@product.date@) 3 | * 4 | * (c) 2011-2014 Torstein Honsi 5 | * 6 | * License: www.highcharts.com/license 7 | */ 8 | /* eslint indent: [2, 4] */ 9 | (function (factory) { 10 | if (typeof module === 'object' && module.exports) { 11 | module.exports = factory; 12 | } else { 13 | factory(Highcharts); 14 | } 15 | }(function (Highcharts) { 16 | 17 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/.gitignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | *.o 3 | *.log 4 | dump.rdb 5 | redis-benchmark 6 | redis-check-aof 7 | redis-check-dump 8 | redis-cli 9 | redis-sentinel 10 | redis-server 11 | doc-tools 12 | release 13 | misc/* 14 | src/release.h 15 | appendonly.aof 16 | SHORT_TERM_TODO 17 | release.h 18 | src/transfer.sh 19 | src/configs 20 | redis.ds 21 | src/redis.conf 22 | deps/lua/src/lua 23 | deps/lua/src/luac 24 | deps/lua/src/liblua.a 25 | .make-* 26 | .prerequisites 27 | *.dSYM 28 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/tests/helpers/gen_write_load.tcl: -------------------------------------------------------------------------------- 1 | source tests/support/redis.tcl 2 | 3 | proc gen_write_load {host port seconds} { 4 | set start_time [clock seconds] 5 | set r [redis $host $port 1] 6 | $r select 9 7 | while 1 { 8 | $r set [expr rand()] [expr rand()] 9 | if {[clock seconds]-$start_time > $seconds} { 10 | exit 0 11 | } 12 | } 13 | } 14 | 15 | gen_write_load [lindex $argv 0] [lindex $argv 1] [lindex $argv 2] 16 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/geohash-int/Makefile: -------------------------------------------------------------------------------- 1 | STD= 2 | WARN= -Wall 3 | OPT= -O2 4 | 5 | R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) 6 | R_LDFLAGS= $(LDFLAGS) 7 | DEBUG= -g 8 | 9 | R_CC=$(CC) $(R_CFLAGS) 10 | R_LD=$(CC) $(R_LDFLAGS) 11 | 12 | all: geohash.o geohash_helper.o 13 | 14 | .PHONY: all 15 | 16 | geohash.o: geohash.h geohash.c 17 | geohash_helper.o: geohash.h geohash_helper.h geohash_helper.c 18 | 19 | .c.o: 20 | $(R_CC) -c $< 21 | 22 | clean: 23 | rm -f *.o 24 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/tests/helpers/gen_write_load.tcl: -------------------------------------------------------------------------------- 1 | source tests/support/redis.tcl 2 | 3 | proc gen_write_load {host port seconds} { 4 | set start_time [clock seconds] 5 | set r [redis $host $port 1] 6 | $r select 9 7 | while 1 { 8 | $r set [expr rand()] [expr rand()] 9 | if {[clock seconds]-$start_time > $seconds} { 10 | exit 0 11 | } 12 | } 13 | } 14 | 15 | gen_write_load [lindex $argv 0] [lindex $argv 1] [lindex $argv 2] 16 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/geohash-int/Makefile: -------------------------------------------------------------------------------- 1 | STD= 2 | WARN= -Wall 3 | OPT= -O2 4 | 5 | R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) 6 | R_LDFLAGS= $(LDFLAGS) 7 | DEBUG= -g 8 | 9 | R_CC=$(CC) $(R_CFLAGS) 10 | R_LD=$(CC) $(R_LDFLAGS) 11 | 12 | all: geohash.o geohash_helper.o 13 | 14 | .PHONY: all 15 | 16 | geohash.o: geohash.h geohash.c 17 | geohash_helper.o: geohash.h geohash_helper.h geohash_helper.c 18 | 19 | .c.o: 20 | $(R_CC) -c $< 21 | 22 | clean: 23 | rm -f *.o 24 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/tests/helpers/gen_write_load.tcl: -------------------------------------------------------------------------------- 1 | source tests/support/redis.tcl 2 | 3 | proc gen_write_load {host port seconds} { 4 | set start_time [clock seconds] 5 | set r [redis $host $port 1] 6 | $r select 9 7 | while 1 { 8 | $r set [expr rand()] [expr rand()] 9 | if {[clock seconds]-$start_time > $seconds} { 10 | exit 0 11 | } 12 | } 13 | } 14 | 15 | gen_write_load [lindex $argv 0] [lindex $argv 1] [lindex $argv 2] 16 | -------------------------------------------------------------------------------- /extern/deprecated/redis-test/tcl/runtest: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | TCL_VERSIONS="8.5 8.6" 3 | TCLSH="" 4 | 5 | for VERSION in $TCL_VERSIONS; do 6 | TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL 7 | done 8 | 9 | if [ -z $TCLSH ] 10 | then 11 | echo "You need tcl 8.5 or newer in order to run the Redis test" 12 | exit 1 13 | fi 14 | 15 | # $TCLSH tests/test_helper.tcl --single unit/type/list --host 127.0.0.1 --port 9000 16 | 17 | $TCLSH tests/test_helper.tcl --host 127.0.0.1 --port 9000 18 | -------------------------------------------------------------------------------- /extern/deprecated/redis-test/tcl/tests/helpers/gen_write_load.tcl: -------------------------------------------------------------------------------- 1 | source tests/support/redis.tcl 2 | 3 | proc gen_write_load {host port seconds} { 4 | set start_time [clock seconds] 5 | set r [redis $host $port 1] 6 | $r select 9 7 | while 1 { 8 | $r set [expr rand()] [expr rand()] 9 | if {[clock seconds]-$start_time > $seconds} { 10 | exit 0 11 | } 12 | } 13 | } 14 | 15 | gen_write_load [lindex $argv 0] [lindex $argv 1] [lindex $argv 2] 16 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/jemalloc.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | install_suffix=@install_suffix@ 6 | 7 | Name: jemalloc 8 | Description: A general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support. 9 | URL: http://jemalloc.net/ 10 | Version: @jemalloc_version@ 11 | Cflags: -I${includedir} 12 | Libs: -L${libdir} -ljemalloc${install_suffix} 13 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/doc/manual.css: -------------------------------------------------------------------------------- 1 | h3 code { 2 | font-family: inherit ; 3 | font-size: inherit ; 4 | } 5 | 6 | pre, code { 7 | font-size: 12pt ; 8 | } 9 | 10 | span.apii { 11 | float: right ; 12 | font-family: inherit ; 13 | font-style: normal ; 14 | font-size: small ; 15 | color: gray ; 16 | } 17 | 18 | p+h1, ul+h1 { 19 | padding-top: 0.4em ; 20 | padding-bottom: 0.4em ; 21 | padding-left: 30px ; 22 | margin-left: -30px ; 23 | background-color: #E0E0FF ; 24 | } 25 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/jemalloc/jemalloc.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | install_suffix=@install_suffix@ 6 | 7 | Name: jemalloc 8 | Description: A general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support. 9 | URL: http://www.canonware.com/jemalloc 10 | Version: @jemalloc_version@ 11 | Cflags: -I${includedir} 12 | Libs: -L${libdir} -ljemalloc${install_suffix} 13 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/doc/manual.css: -------------------------------------------------------------------------------- 1 | h3 code { 2 | font-family: inherit ; 3 | font-size: inherit ; 4 | } 5 | 6 | pre, code { 7 | font-size: 12pt ; 8 | } 9 | 10 | span.apii { 11 | float: right ; 12 | font-family: inherit ; 13 | font-style: normal ; 14 | font-size: small ; 15 | color: gray ; 16 | } 17 | 18 | p+h1, ul+h1 { 19 | padding-top: 0.4em ; 20 | padding-bottom: 0.4em ; 21 | padding-left: 30px ; 22 | margin-left: -30px ; 23 | background-color: #E0E0FF ; 24 | } 25 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/utils/hashtable/README: -------------------------------------------------------------------------------- 1 | Hash table implementation related utilities. 2 | 3 | rehashing.c 4 | --- 5 | 6 | Visually show buckets in the two hash tables between rehashings. Also stress 7 | test getRandomKeys() implementation, that may actually disappear from 8 | Redis soon, however visualizaiton some code is reusable in new bugs 9 | investigation. 10 | 11 | Compile with: 12 | 13 | cc -I ../../src/ rehashing.c ../../src/zmalloc.c ../../src/dict.c -o rehashing_test 14 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/jemalloc/jemalloc.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | install_suffix=@install_suffix@ 6 | 7 | Name: jemalloc 8 | Description: A general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support. 9 | URL: http://www.canonware.com/jemalloc 10 | Version: @jemalloc_version@ 11 | Cflags: -I${includedir} 12 | Libs: -L${libdir} -ljemalloc${install_suffix} 13 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/doc/manual.css: -------------------------------------------------------------------------------- 1 | h3 code { 2 | font-family: inherit ; 3 | font-size: inherit ; 4 | } 5 | 6 | pre, code { 7 | font-size: 12pt ; 8 | } 9 | 10 | span.apii { 11 | float: right ; 12 | font-family: inherit ; 13 | font-style: normal ; 14 | font-size: small ; 15 | color: gray ; 16 | } 17 | 18 | p+h1, ul+h1 { 19 | padding-top: 0.4em ; 20 | padding-bottom: 0.4em ; 21 | padding-left: 30px ; 22 | margin-left: -30px ; 23 | background-color: #E0E0FF ; 24 | } 25 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/utils/hashtable/README: -------------------------------------------------------------------------------- 1 | Hash table implementation related utilities. 2 | 3 | rehashing.c 4 | --- 5 | 6 | Visually show buckets in the two hash tables between rehashings. Also stress 7 | test getRandomKeys() implementation, that may actually disappear from 8 | Redis soon, however visualizaiton some code is reusable in new bugs 9 | investigation. 10 | 11 | Compile with: 12 | 13 | cc -I ../../src/ rehashing.c ../../src/zmalloc.c ../../src/dict.c -o rehashing_test 14 | -------------------------------------------------------------------------------- /scripts/static_slots.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import json 4 | 5 | servers = [ 6 | "127.0.0.1:16379", 7 | "127.0.0.1:16380", 8 | "127.0.0.1:16381", 9 | "127.0.0.1:16382", 10 | ] 11 | 12 | mappings = [x % len(servers) for x in range(0, 1024)] 13 | mappings.sort() 14 | 15 | slots = [] 16 | for i in range(0, len(mappings)): 17 | g = mappings[i] 18 | slots.append({'id': i, 'backend_addr': servers[g]}) 19 | 20 | print(json.dumps(slots, sort_keys=True, indent=4)) 21 | 22 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/css/hiddenVisibleSelectors.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../selector" 4 | ], function( jQuery ) { 5 | 6 | jQuery.expr.filters.hidden = function( elem ) { 7 | // Support: Opera <= 12.12 8 | // Opera reports offsetWidths and offsetHeights less than zero on some elements 9 | return elem.offsetWidth <= 0 && elem.offsetHeight <= 0; 10 | }; 11 | jQuery.expr.filters.visible = function( elem ) { 12 | return !jQuery.expr.filters.hidden( elem ); 13 | }; 14 | 15 | }); 16 | -------------------------------------------------------------------------------- /pkg/utils/unsafe2/string.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 CodisLabs. All Rights Reserved. 2 | // Licensed under the MIT (MIT-LICENSE.txt) license. 3 | 4 | package unsafe2 5 | 6 | import ( 7 | "reflect" 8 | "unsafe" 9 | ) 10 | 11 | func CastString(b []byte) string { 12 | if len(b) == 0 { 13 | return "" 14 | } 15 | var ptr = (*reflect.SliceHeader)(unsafe.Pointer(&b)) 16 | var h = &reflect.StringHeader{ 17 | Data: uintptr(ptr.Data), Len: ptr.Len, 18 | } 19 | return *(*string)(unsafe.Pointer(h)) 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/ugorji/go/codec/decode_go.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build go1.5 5 | 6 | package codec 7 | 8 | import "reflect" 9 | 10 | const reflectArrayOfSupported = true 11 | 12 | func reflectArrayOf(rvn reflect.Value) (rvn2 reflect.Value) { 13 | rvn2 = reflect.New(reflect.ArrayOf(rvn.Len(), intfTyp)).Elem() 14 | reflect.Copy(rvn2, rvn) 15 | return 16 | } 17 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/tests/support/tmpfile.tcl: -------------------------------------------------------------------------------- 1 | set ::tmpcounter 0 2 | set ::tmproot "./tests/tmp" 3 | file mkdir $::tmproot 4 | 5 | # returns a dirname unique to this process to write to 6 | proc tmpdir {basename} { 7 | set dir [file join $::tmproot $basename.[pid].[incr ::tmpcounter]] 8 | file mkdir $dir 9 | set _ $dir 10 | } 11 | 12 | # return a filename unique to this process to write to 13 | proc tmpfile {basename} { 14 | file join $::tmproot $basename.[pid].[incr ::tmpcounter] 15 | } 16 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/css/var/getStyles.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return function( elem ) { 3 | // Support: IE<=11+, Firefox<=30+ (#15098, #14150) 4 | // IE throws on elements created in popups 5 | // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" 6 | if ( elem.ownerDocument.defaultView.opener ) { 7 | return elem.ownerDocument.defaultView.getComputedStyle( elem, null ); 8 | } 9 | 10 | return window.getComputedStyle( elem, null ); 11 | }; 12 | }); 13 | -------------------------------------------------------------------------------- /extern/deprecated/scala-client/src/main/scala/codis/CodisLogSource.scala: -------------------------------------------------------------------------------- 1 | package codis 2 | 3 | import akka.event.LogSource 4 | 5 | /** 6 | * Use as akka log source for codis client. 7 | * 8 | * @author Tianyi HE 9 | */ 10 | object CodisLogSource { 11 | 12 | implicit val logSource: LogSource[AnyRef] = new LogSource[AnyRef] { 13 | def genString(o: AnyRef): String = o.getClass.getName 14 | 15 | override def getClazz(o: AnyRef): Class[_] = o.getClass 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/deps/lua/test/globals.lua: -------------------------------------------------------------------------------- 1 | -- reads luac listings and reports global variable usage 2 | -- lines where a global is written to are marked with "*" 3 | -- typical usage: luac -p -l file.lua | lua globals.lua | sort | lua table.lua 4 | 5 | while 1 do 6 | local s=io.read() 7 | if s==nil then break end 8 | local ok,_,l,op,g=string.find(s,"%[%-?(%d*)%]%s*([GS])ETGLOBAL.-;%s+(.*)$") 9 | if ok then 10 | if op=="S" then op="*" else op="" end 11 | io.write(g,"\t",l,op,"\n") 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/jquery/src/data/accepts.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | /** 6 | * Determines whether an object can have data 7 | */ 8 | jQuery.acceptData = function( owner ) { 9 | // Accepts only: 10 | // - Node 11 | // - Node.ELEMENT_NODE 12 | // - Node.DOCUMENT_NODE 13 | // - Object 14 | // - Any 15 | /* jshint -W018 */ 16 | return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); 17 | }; 18 | 19 | return jQuery.acceptData; 20 | }); 21 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/tests/support/tmpfile.tcl: -------------------------------------------------------------------------------- 1 | set ::tmpcounter 0 2 | set ::tmproot "./tests/tmp" 3 | file mkdir $::tmproot 4 | 5 | # returns a dirname unique to this process to write to 6 | proc tmpdir {basename} { 7 | set dir [file join $::tmproot $basename.[pid].[incr ::tmpcounter]] 8 | file mkdir $dir 9 | set _ $dir 10 | } 11 | 12 | # return a filename unique to this process to write to 13 | proc tmpfile {basename} { 14 | file join $::tmproot $basename.[pid].[incr ::tmpcounter] 15 | } 16 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/tests/support/tmpfile.tcl: -------------------------------------------------------------------------------- 1 | set ::tmpcounter 0 2 | set ::tmproot "./tests/tmp" 3 | file mkdir $::tmproot 4 | 5 | # returns a dirname unique to this process to write to 6 | proc tmpdir {basename} { 7 | set dir [file join $::tmproot $basename.[pid].[incr ::tmpcounter]] 8 | file mkdir $dir 9 | set _ $dir 10 | } 11 | 12 | # return a filename unique to this process to write to 13 | proc tmpfile {basename} { 14 | file join $::tmproot $basename.[pid].[incr ::tmpcounter] 15 | } 16 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/tests/support/tmpfile.tcl: -------------------------------------------------------------------------------- 1 | set ::tmpcounter 0 2 | set ::tmproot "./tests/tmp" 3 | file mkdir $::tmproot 4 | 5 | # returns a dirname unique to this process to write to 6 | proc tmpdir {basename} { 7 | set dir [file join $::tmproot $basename.[pid].[incr ::tmpcounter]] 8 | file mkdir $dir 9 | set _ $dir 10 | } 11 | 12 | # return a filename unique to this process to write to 13 | proc tmpfile {basename} { 14 | file join $::tmproot $basename.[pid].[incr ::tmpcounter] 15 | } 16 | -------------------------------------------------------------------------------- /extern/deprecated/redis-test/tcl/tests/support/tmpfile.tcl: -------------------------------------------------------------------------------- 1 | set ::tmpcounter 0 2 | set ::tmproot "./tests/tmp" 3 | file mkdir $::tmproot 4 | 5 | # returns a dirname unique to this process to write to 6 | proc tmpdir {basename} { 7 | set dir [file join $::tmproot $basename.[pid].[incr ::tmpcounter]] 8 | file mkdir $dir 9 | set _ $dir 10 | } 11 | 12 | # return a filename unique to this process to write to 13 | proc tmpfile {basename} { 14 | file join $::tmproot $basename.[pid].[incr ::tmpcounter] 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/spinlock/jemalloc-go/jemalloc-4.4.0/doc/stylesheet.xsl: -------------------------------------------------------------------------------- 1 | 2 | ansi 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /extern/deprecated/redis-2.8.21/deps/lua/test/globals.lua: -------------------------------------------------------------------------------- 1 | -- reads luac listings and reports global variable usage 2 | -- lines where a global is written to are marked with "*" 3 | -- typical usage: luac -p -l file.lua | lua globals.lua | sort | lua table.lua 4 | 5 | while 1 do 6 | local s=io.read() 7 | if s==nil then break end 8 | local ok,_,l,op,g=string.find(s,"%[%-?(%d*)%]%s*([GS])ETGLOBAL.-;%s+(.*)$") 9 | if ok then 10 | if op=="S" then op="*" else op="" end 11 | io.write(g,"\t",l,op,"\n") 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/deps/lua/test/globals.lua: -------------------------------------------------------------------------------- 1 | -- reads luac listings and reports global variable usage 2 | -- lines where a global is written to are marked with "*" 3 | -- typical usage: luac -p -l file.lua | lua globals.lua | sort | lua table.lua 4 | 5 | while 1 do 6 | local s=io.read() 7 | if s==nil then break end 8 | local ok,_,l,op,g=string.find(s,"%[%-?(%d*)%]%s*([GS])ETGLOBAL.-;%s+(.*)$") 9 | if ok then 10 | if op=="S" then op="*" else op="" end 11 | io.write(g,"\t",l,op,"\n") 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/deps/lua/test/globals.lua: -------------------------------------------------------------------------------- 1 | -- reads luac listings and reports global variable usage 2 | -- lines where a global is written to are marked with "*" 3 | -- typical usage: luac -p -l file.lua | lua globals.lua | sort | lua table.lua 4 | 5 | while 1 do 6 | local s=io.read() 7 | if s==nil then break end 8 | local ok,_,l,op,g=string.find(s,"%[%-?(%d*)%]%s*([GS])ETGLOBAL.-;%s+(.*)$") 9 | if ok then 10 | if op=="S" then op="*" else op="" end 11 | io.write(g,"\t",l,op,"\n") 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /extern/redis-3.2.11/.gitignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | *.o 3 | *.log 4 | dump.rdb 5 | redis-benchmark 6 | redis-check-aof 7 | redis-check-rdb 8 | redis-check-dump 9 | redis-cli 10 | redis-sentinel 11 | redis-server 12 | doc-tools 13 | release 14 | misc/* 15 | src/release.h 16 | appendonly.aof 17 | SHORT_TERM_TODO 18 | release.h 19 | src/transfer.sh 20 | src/configs 21 | redis.ds 22 | src/redis.conf 23 | src/nodes.conf 24 | deps/lua/src/lua 25 | deps/lua/src/luac 26 | deps/lua/src/liblua.a 27 | .make-* 28 | .prerequisites 29 | *.dSYM 30 | -------------------------------------------------------------------------------- /cmd/fe/assets/node_modules/highcharts/license.txt: -------------------------------------------------------------------------------- 1 | This is the repository for Highsoft's JavaScript charting libraries: Highcharts, Highstock and Highmaps. 2 | 3 | The libraries are available under different licenses depending on whether it is intended for commercial/government use, or for a personal or non-profit project. 4 | 5 | Read more on licensing alternatives here: 6 | - Highcharts: http://shop.highsoft.com/highcharts.html 7 | - Highstock: http://shop.highsoft.com/highstock.html 8 | - Highmaps: http://shop.highsoft.com/highmaps.html -------------------------------------------------------------------------------- /extern/redis-3.2.11/src/geo.h: -------------------------------------------------------------------------------- 1 | #ifndef __GEO_H__ 2 | #define __GEO_H__ 3 | 4 | #include "server.h" 5 | 6 | /* Structures used inside geo.c in order to represent points and array of 7 | * points on the earth. */ 8 | typedef struct geoPoint { 9 | double longitude; 10 | double latitude; 11 | double dist; 12 | double score; 13 | char *member; 14 | } geoPoint; 15 | 16 | typedef struct geoArray { 17 | struct geoPoint *array; 18 | size_t buckets; 19 | size_t used; 20 | } geoArray; 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/etcd/client/cancelreq.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // borrowed from golang/net/context/ctxhttp/cancelreq.go 6 | 7 | package client 8 | 9 | import "net/http" 10 | 11 | func requestCanceler(tr CancelableTransport, req *http.Request) func() { 12 | ch := make(chan struct{}) 13 | req.Cancel = ch 14 | 15 | return func() { 16 | close(ch) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /deploy/products/alpha/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "product_name": "demo-alpha", 3 | "product_auth": "", 4 | "dashboard": { 5 | "admin_addr": "127.0.0.1:18080", 6 | "coordinator": { 7 | "name": "etcd", 8 | "addr": "127.0.0.1:2379" 9 | }, 10 | "sentinel_quorum": 2, 11 | "sentinel_down_after": "10s" 12 | }, 13 | "proxy": { 14 | "min_cpu": 4, 15 | "max_cpu": 8, 16 | "max_clients": 10000, 17 | "max_pipeline": 1024 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.4/.gitignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | *.o 3 | *.log 4 | dump.rdb 5 | redis-benchmark 6 | redis-check-aof 7 | redis-check-rdb 8 | redis-check-dump 9 | redis-cli 10 | redis-sentinel 11 | redis-server 12 | doc-tools 13 | release 14 | misc/* 15 | src/release.h 16 | appendonly.aof 17 | SHORT_TERM_TODO 18 | release.h 19 | src/transfer.sh 20 | src/configs 21 | redis.ds 22 | src/redis.conf 23 | src/nodes.conf 24 | deps/lua/src/lua 25 | deps/lua/src/luac 26 | deps/lua/src/liblua.a 27 | .make-* 28 | .prerequisites 29 | *.dSYM 30 | -------------------------------------------------------------------------------- /extern/deprecated/redis-3.2.8/.gitignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | *.o 3 | *.log 4 | dump.rdb 5 | redis-benchmark 6 | redis-check-aof 7 | redis-check-rdb 8 | redis-check-dump 9 | redis-cli 10 | redis-sentinel 11 | redis-server 12 | doc-tools 13 | release 14 | misc/* 15 | src/release.h 16 | appendonly.aof 17 | SHORT_TERM_TODO 18 | release.h 19 | src/transfer.sh 20 | src/configs 21 | redis.ds 22 | src/redis.conf 23 | src/nodes.conf 24 | deps/lua/src/lua 25 | deps/lua/src/luac 26 | deps/lua/src/liblua.a 27 | .make-* 28 | .prerequisites 29 | *.dSYM 30 | -------------------------------------------------------------------------------- /pkg/models/topom.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 CodisLabs. All Rights Reserved. 2 | // Licensed under the MIT (MIT-LICENSE.txt) license. 3 | 4 | package models 5 | 6 | type Topom struct { 7 | Token string `json:"token"` 8 | StartTime string `json:"start_time"` 9 | AdminAddr string `json:"admin_addr"` 10 | 11 | ProductName string `json:"product_name"` 12 | 13 | Pid int `json:"pid"` 14 | Pwd string `json:"pwd"` 15 | Sys string `json:"sys"` 16 | } 17 | 18 | func (t *Topom) Encode() []byte { 19 | return jsonEncode(t) 20 | } 21 | -------------------------------------------------------------------------------- /pkg/utils/bufio2/slice.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 CodisLabs. All Rights Reserved. 2 | // Licensed under the MIT (MIT-LICENSE.txt) license. 3 | 4 | package bufio2 5 | 6 | type sliceAlloc struct { 7 | buf []byte 8 | } 9 | 10 | func (d *sliceAlloc) Make(n int) (ss []byte) { 11 | switch { 12 | case n == 0: 13 | return []byte{} 14 | case n >= 512: 15 | return make([]byte, n) 16 | default: 17 | if len(d.buf) < n { 18 | d.buf = make([]byte, 8192) 19 | } 20 | ss, d.buf = d.buf[:n:n], d.buf[n:] 21 | return ss 22 | } 23 | } 24 | --------------------------------------------------------------------------------