91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.84MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-10-02
  • 語言: C/C++
  • 標(biāo)簽: redis??

資源簡介

REmote DIctionary Server(Redis) 是一個由Salvatore Sanfilippo寫的key-value存儲系統(tǒng)。 Redis是一個開源的使用ANSI C語言編寫、遵守BSD協(xié)議、支持網(wǎng)絡(luò)、可基于內(nèi)存亦可持久化的日志型、Key-Value數(shù)據(jù)庫,并提供多種語言的API。

資源截圖

代碼片段和文件信息

/*
?*?Copyright?(c)?2009-2011?Salvatore?Sanfilippo?
?*?Copyright?(c)?2010-2011?Pieter?Noordhuis?
?*
?*?All?rights?reserved.
?*
?*?Redistribution?and?use?in?source?and?binary?forms?with?or?without
?*?modification?are?permitted?provided?that?the?following?conditions?are?met:
?*
?*???*?Redistributions?of?source?code?must?retain?the?above?copyright?notice
?*?????this?list?of?conditions?and?the?following?disclaimer.
?*???*?Redistributions?in?binary?form?must?reproduce?the?above?copyright
?*?????notice?this?list?of?conditions?and?the?following?disclaimer?in?the
?*?????documentation?and/or?other?materials?provided?with?the?distribution.
?*???*?Neither?the?name?of?Redis?nor?the?names?of?its?contributors?may?be?used
?*?????to?endorse?or?promote?products?derived?from?this?software?without
?*?????specific?prior?written?permission.
?*
?*?THIS?SOFTWARE?IS?PROVIDED?BY?THE?COPYRIGHT?HOLDERS?AND?CONTRIBUTORS?“AS?IS“
?*?AND?ANY?EXPRESS?OR?IMPLIED?WARRANTIES?INCLUDING?BUT?NOT?LIMITED?TO?THE
?*?IMPLIED?WARRANTIES?OF?MERCHANTABILITY?AND?FITNESS?FOR?A?PARTICULAR?PURPOSE
?*?ARE?DISCLAIMED.?IN?NO?EVENT?SHALL?THE?COPYRIGHT?OWNER?OR?CONTRIBUTORS?BE
?*?LIABLE?FOR?ANY?DIRECT?INDIRECT?INCIDENTAL?SPECIAL?EXEMPLARY?OR
?*?CONSEQUENTIAL?DAMAGES?(INCLUDING?BUT?NOT?LIMITED?TO?PROCUREMENT?OF
?*?SUBSTITUTE?GOODS?OR?SERVICES;?LOSS?OF?USE?DATA?OR?PROFITS;?OR?BUSINESS
?*?INTERRUPTION)?HOWEVER?CAUSED?AND?ON?ANY?THEORY?OF?LIABILITY?WHETHER?IN
?*?CONTRACT?STRICT?LIABILITY?OR?TORT?(INCLUDING?NEGLIGENCE?OR?OTHERWISE)
?*?ARISING?IN?ANY?WAY?OUT?OF?THE?USE?OF?THIS?SOFTWARE?EVEN?IF?ADVISED?OF?THE
?*?POSSIBILITY?OF?SUCH?DAMAGE.
?*/

#include?“fmacros.h“
#include?
#include?
#include?
#include?
#include?
#include?
#include?“async.h“
#include?“net.h“
#include?“dict.c“
#include?“sds.h“

#define?_EL_ADD_READ(ctx)?do?{?\
????????if?((ctx)->ev.addRead)?(ctx)->ev.addRead((ctx)->ev.data);?\
????}?while(0)
#define?_EL_DEL_READ(ctx)?do?{?\
????????if?((ctx)->ev.delRead)?(ctx)->ev.delRead((ctx)->ev.data);?\
????}?while(0)
#define?_EL_ADD_WRITE(ctx)?do?{?\
????????if?((ctx)->ev.addWrite)?(ctx)->ev.addWrite((ctx)->ev.data);?\
????}?while(0)
#define?_EL_DEL_WRITE(ctx)?do?{?\
????????if?((ctx)->ev.delWrite)?(ctx)->ev.delWrite((ctx)->ev.data);?\
????}?while(0)
#define?_EL_CLEANUP(ctx)?do?{?\
????????if?((ctx)->ev.cleanup)?(ctx)->ev.cleanup((ctx)->ev.data);?\
????}?while(0);

/*?Forward?declaration?of?function?in?hiredis.c?*/
int?__redisAppendCommand(redisContext?*c?const?char?*cmd?size_t?len);

/*?Functions?managing?dictionary?of?callbacks?for?pub/sub.?*/
static?unsigned?int?callbackHash(const?void?*key)?{
????return?dictGenHashFunction((const?unsigned?char?*)key
???????????????????????????????sdslen((const?sds)key));
}

static?void?*callbackValDup(void?*privdata?const?void?*src)?{
????((void)?privdata);
????redisCallback?*dup?=?malloc(sizeof(*dup));
????memcpy(dupsrcsiz

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????????376??2018-02-03?00:39??redis-4.0.8\.gitignore

?????文件?????150927??2018-02-03?00:39??redis-4.0.8\00-RELEASENOTES

?????文件?????????53??2018-02-03?00:39??redis-4.0.8\BUGS

?????文件???????1815??2018-02-03?00:39??redis-4.0.8\CONTRIBUTING

?????文件???????1487??2018-02-03?00:39??redis-4.0.8\COPYING

?????文件?????????72??2018-02-03?00:39??redis-4.0.8\deps\hiredis\.gitignore

?????文件????????897??2018-02-03?00:39??redis-4.0.8\deps\hiredis\.travis.yml

?????文件???????4219??2018-02-03?00:39??redis-4.0.8\deps\hiredis\adapters\ae.h

?????文件???????3808??2018-02-03?00:39??redis-4.0.8\deps\hiredis\adapters\glib.h

?????文件???????2275??2018-02-03?00:39??redis-4.0.8\deps\hiredis\adapters\ivykis.h

?????文件???????4587??2018-02-03?00:39??redis-4.0.8\deps\hiredis\adapters\libev.h

?????文件???????3993??2018-02-03?00:39??redis-4.0.8\deps\hiredis\adapters\libevent.h

?????文件???????2569??2018-02-03?00:39??redis-4.0.8\deps\hiredis\adapters\libuv.h

?????文件???????3865??2018-02-03?00:39??redis-4.0.8\deps\hiredis\adapters\macosx.h

?????文件???????4233??2018-02-03?00:39??redis-4.0.8\deps\hiredis\adapters\qt.h

?????文件???????1516??2018-02-03?00:39??redis-4.0.8\deps\hiredis\appveyor.yml

?????文件??????23190??2018-02-03?00:39??redis-4.0.8\deps\hiredis\async.c

?????文件???????5294??2018-02-03?00:39??redis-4.0.8\deps\hiredis\async.h

?????文件???????4906??2018-02-03?00:39??redis-4.0.8\deps\hiredis\CHANGELOG.md

?????文件???????1588??2018-02-03?00:39??redis-4.0.8\deps\hiredis\COPYING

?????文件??????10551??2018-02-03?00:39??redis-4.0.8\deps\hiredis\dict.c

?????文件???????4691??2018-02-03?00:39??redis-4.0.8\deps\hiredis\dict.h

?????文件???????1583??2018-02-03?00:39??redis-4.0.8\deps\hiredis\examples\example-ae.c

?????文件???????1632??2018-02-03?00:39??redis-4.0.8\deps\hiredis\examples\example-glib.c

?????文件???????1418??2018-02-03?00:39??redis-4.0.8\deps\hiredis\examples\example-ivykis.c

?????文件???????1405??2018-02-03?00:39??redis-4.0.8\deps\hiredis\examples\example-libev.c

?????文件???????1455??2018-02-03?00:39??redis-4.0.8\deps\hiredis\examples\example-libevent.c

?????文件???????1445??2018-02-03?00:39??redis-4.0.8\deps\hiredis\examples\example-libuv.c

?????文件???????1654??2018-02-03?00:39??redis-4.0.8\deps\hiredis\examples\example-macosx.c

?????文件???????1047??2018-02-03?00:39??redis-4.0.8\deps\hiredis\examples\example-qt.cpp

............此處省略625個文件信息

評論

共有 條評論