Searched refs:score (Results 1 – 11 of 11) sorted by relevance
| /redis-3.2.3/src/ |
| H A D | t_zset.c | 60 zn->score = score; in zslCreateNode() 121 (x->level[i].forward->score < score || in zslInsert() 122 (x->level[i].forward->score == score && in zslInsert() 195 (x->level[i].forward->score < score || in zslDelete() 196 (x->level[i].forward->score == score && in zslDelete() 394 (x->level[i].forward->score < score || in zslGetRank() 1786 val->score = it->sl.node->score; in zuiNext() 2042 score = src[0].weight * zval.score; in zunionInterGenericCommand() 2043 if (isnan(score)) score = 0; in zunionInterGenericCommand() 2095 score = src[i].weight * zval.score; in zunionInterGenericCommand() [all …]
|
| H A D | geo.c | 114 double score = 0; in longLatFromMember() local 117 if (!decodeGeohash(score, xy)) return C_ERR; in longLatFromMember() 209 gp->score = score; in geoAppendIfWithinRadius() 238 double score = 0; in geoGetPointsInRange() local 247 score = zzlGetScore(sptr); in geoGetPointsInRange() 420 argv[2+i*2] = score; in geoaddCommand() 621 double score = storedist ? gp->dist : gp->score; in georadiusGeneric() local 677 double score; in geohashCommand() local 689 if (!decodeGeohash(score,xy)) { in geohashCommand() 731 double score; in geoposCommand() local [all …]
|
| H A D | sort.c | 144 if (so1->u.score > so2->u.score) { in sortCompare() 146 } else if (so1->u.score < so2->u.score) { in sortCompare() 362 vector[j].u.score = 0; in sortCommand() 376 vector[j].u.score = 0; in sortCommand() 386 vector[j].u.score = 0; in sortCommand() 422 vector[j].u.score = 0; in sortCommand() 437 vector[j].u.score = 0; in sortCommand() 466 vector[j].u.score = strtod(byval->ptr,&eptr); in sortCommand() 468 isnan(vector[j].u.score)) in sortCommand() 476 vector[j].u.score = (long)byval->ptr; in sortCommand()
|
| H A D | geo.h | 12 double score; member
|
| H A D | server.h | 641 double score; member 1013 double score; member 1291 zskiplistNode *zslInsert(zskiplist *zsl, double score, robj *obj); 1292 unsigned char *zzlInsert(unsigned char *zl, robj *ele, double score); 1293 int zslDelete(zskiplist *zsl, double score, robj *obj); 1302 int zsetScore(robj *zobj, robj *member, double *score); 1303 unsigned long zslGetRank(zskiplist *zsl, double score, robj *o);
|
| H A D | debug.c | 181 double score; in computeDatasetDigest() local 190 score = zzlGetScore(sptr); in computeDatasetDigest() 200 snprintf(buf,sizeof(buf),"%.17g",score); in computeDatasetDigest() 212 double *score = dictGetVal(de); in computeDatasetDigest() local 214 snprintf(buf,sizeof(buf),"%.17g",*score); in computeDatasetDigest()
|
| H A D | aof.c | 877 double score; in rewriteSortedSetObject() local 886 score = zzlGetScore(sptr); in rewriteSortedSetObject() 896 if (rioWriteBulkDouble(r,score) == 0) return 0; in rewriteSortedSetObject() 913 double *score = dictGetVal(de); in rewriteSortedSetObject() local 923 if (rioWriteBulkDouble(r,*score) == 0) return 0; in rewriteSortedSetObject()
|
| H A D | rdb.c | 642 double *score = dictGetVal(de); in rdbSaveObject() local 646 if ((n = rdbSaveDoubleValue(rdb,*score)) == -1) return -1; in rdbSaveObject() 1053 double score; in rdbLoadObject() local 1058 if (rdbLoadDoubleValue(rdb,&score) == -1) return NULL; in rdbLoadObject() 1064 znode = zslInsert(zs->zsl,score,ele); in rdbLoadObject() 1065 dictAdd(zs->dict,ele,&znode->score); in rdbLoadObject()
|
| H A D | db.c | 1267 while(n && n->score == hashslot && count--) { in getKeysInSlot() 1285 while(n && n->score == hashslot) { in delKeysInSlot() 1310 rank = zslGetRank(zsl, zn->score, zn->obj); in countKeysInSlot() 1318 rank = zslGetRank(zsl, zn->score, zn->obj); in countKeysInSlot()
|
| /redis-3.2.3/tests/unit/type/ |
| H A D | zset.tcl | 4 foreach {score entry} $items { 5 r zadd $key $score $entry 694 assert {$score >= $oldscore} 695 set oldscore $score 718 set score [expr rand()] 719 lappend aux $score 733 set score [expr rand()] 734 lappend aux $score 837 if {$score > $min} { 849 if {$score < $min || $score > $max} { [all …]
|
| /redis-3.2.3/deps/jemalloc/ |
| H A D | config.sub | 306 | score \ 1540 score-*)
|