| /f-stack/app/redis-5.0.5/src/ |
| H A D | t_zset.c | 74 zn->score = score; in zslCreateNode() 143 (x->level[i].forward->score < score || in zslInsert() 225 (x->level[i].forward->score < score || in zslDelete() 484 (x->level[i].forward->score < score || in zslGetRank() 485 (x->level[i].forward->score == score && in zslGetRank() 2005 val->score = it->sl.node->score; in zuiNext() 2285 score = src[0].weight * zval.score; in zunionInterGenericCommand() 2286 if (isnan(score)) score = 0; in zunionInterGenericCommand() 2332 score = src[i].weight * zval.score; in zunionInterGenericCommand() 2333 if (isnan(score)) score = 0; 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() 441 argv[2+i*2] = score; in geoaddCommand() 649 double score = storedist ? gp->dist : gp->score; in georadiusGeneric() local 711 double score; in geohashCommand() local 723 if (!decodeGeohash(score,xy)) { in geohashCommand() 764 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() 439 vector[j].u.score = 0; in sortCommand() 468 vector[j].u.score = strtod(byval->ptr,&eptr); in sortCommand() 470 isnan(vector[j].u.score)) in sortCommand() 478 vector[j].u.score = (long)byval->ptr; in sortCommand()
|
| H A D | geo.h | 12 double score; member
|
| H A D | defrag.c | 213 double *zslDefrag(zskiplist *zsl, double score, sds oldele, sds newele) { in zslDefrag() argument 226 (x->level[i].forward->score < score || in zslDefrag() 227 (x->level[i].forward->score == score && in zslDefrag() 235 serverAssert(x && score == x->score && x->ele==oldele); in zslDefrag() 243 return &newx->score; in zslDefrag()
|
| H A D | redismodule.h | 246 int REDISMODULE_API_FUNC(RedisModule_ZsetAdd)(RedisModuleKey *key, double score, RedisModuleString … 247 int REDISMODULE_API_FUNC(RedisModule_ZsetIncrby)(RedisModuleKey *key, double score, RedisModuleStri… 248 …MODULE_API_FUNC(RedisModule_ZsetScore)(RedisModuleKey *key, RedisModuleString *ele, double *score); 255 …ing *REDISMODULE_API_FUNC(RedisModule_ZsetRangeCurrentElement)(RedisModuleKey *key, double *score);
|
| H A D | module.c | 1851 if (zsetAdd(key->value,score,ele->ptr,&flags,NULL) == 0) { in RM_ZsetAdd() 1879 if (zsetAdd(key->value,score,ele->ptr,&flags,newscore) == 0) { in RM_ZsetIncrby() 1929 int RM_ZsetScore(RedisModuleKey *key, RedisModuleString *ele, double *score) { in RM_ZsetScore() argument 1932 if (zsetScore(key->value,ele->ptr,score) == C_ERR) return REDISMODULE_ERR; in RM_ZsetScore() 2096 if (score) { in RM_ZsetRangeCurrentElement() 2098 *score = zzlGetScore(sptr); in RM_ZsetRangeCurrentElement() 2103 if (score) *score = ln->score; in RM_ZsetRangeCurrentElement() 2135 if (!zslValueLteMax(score,&key->zrs)) { in RM_ZsetRangeNext() 2157 !zslValueLteMax(next->score,&key->zrs)) in RM_ZsetRangeNext() 2198 if (!zslValueGteMin(score,&key->zrs)) { in RM_ZsetRangePrev() [all …]
|
| H A D | server.h | 804 double score; member 1323 double score; member 1676 zskiplistNode *zslInsert(zskiplist *zsl, double score, sds ele); 1677 unsigned char *zzlInsert(unsigned char *zl, sds ele, double score); 1678 int zslDelete(zskiplist *zsl, double score, sds ele, zskiplistNode **node); 1689 int zsetScore(robj *zobj, sds member, double *score); 1690 unsigned long zslGetRank(zskiplist *zsl, double score, sds o); 1691 int zsetAdd(robj *zobj, double score, sds ele, int *flags, double *newscore);
|
| H A D | aof.c | 1012 double score; in rewriteSortedSetObject() local 1021 score = zzlGetScore(sptr); in rewriteSortedSetObject() 1031 if (rioWriteBulkDouble(r,score) == 0) return 0; in rewriteSortedSetObject() 1048 double *score = dictGetVal(de); in rewriteSortedSetObject() local 1058 if (rioWriteBulkDouble(r,*score) == 0) return 0; in rewriteSortedSetObject()
|
| H A D | debug.c | 156 double score; in xorObjectDigest() local 165 score = zzlGetScore(sptr); in xorObjectDigest() 175 snprintf(buf,sizeof(buf),"%.17g",score); in xorObjectDigest() 187 double *score = dictGetVal(de); in xorObjectDigest() local 189 snprintf(buf,sizeof(buf),"%.17g",*score); in xorObjectDigest()
|
| H A D | rdb.c | 845 if ((n = rdbSaveBinaryDoubleValue(rdb,zn->score)) == -1) in rdbSaveObject() 1467 double score; in rdbLoadObject() local 1474 if (rdbLoadBinaryDoubleValue(rdb,&score) == -1) return NULL; in rdbLoadObject() 1476 if (rdbLoadDoubleValue(rdb,&score) == -1) return NULL; in rdbLoadObject() 1482 znode = zslInsert(zs->zsl,score,sdsele); in rdbLoadObject() 1483 dictAdd(zs->dict,sdsele,&znode->score); in rdbLoadObject()
|
| H A D | redis-cli.c | 2428 int score = 0, i, j; in clusterManagerGetAntiAffinityScore() local 2468 if (types[0] == 'm') score += (10000 * (typeslen - 1)); in clusterManagerGetAntiAffinityScore() 2469 else score += (1 * typeslen); in clusterManagerGetAntiAffinityScore() 2489 return score; in clusterManagerGetAntiAffinityScore() 2496 int score = clusterManagerGetAntiAffinityScore(ipnodes, ip_count, in clusterManagerOptimizeAntiAffinity() local 2498 if (score == 0) goto cleanup; in clusterManagerOptimizeAntiAffinity() 2510 score = clusterManagerGetAntiAffinityScore(ipnodes, in clusterManagerOptimizeAntiAffinity() 2514 if (score == 0) break; // Optimal anti affinity reached in clusterManagerOptimizeAntiAffinity() 2548 if (new_score > score) { in clusterManagerOptimizeAntiAffinity() 2557 int perfect = (score == 0); in clusterManagerOptimizeAntiAffinity() [all …]
|
| /f-stack/app/redis-5.0.5/tests/unit/type/ |
| H A D | zset.tcl | 4 foreach {score entry} $items { 5 r zadd $key $score $entry 779 assert {$score >= $oldscore} 780 set oldscore $score 807 set score [expr rand()] 808 lappend aux $score 822 set score [expr rand()] 823 lappend aux $score 938 if {$score < $min || $score > $max} { 944 if {$score <= $min || $score >= $max} { [all …]
|
| /f-stack/app/redis-5.0.5/src/modules/ |
| H A D | helloworld.c | 396 double score; in HelloZsumRange_RedisCommand() local 397 RedisModuleString *ele = RedisModule_ZsetRangeCurrentElement(key,&score); in HelloZsumRange_RedisCommand() 399 scoresum_a += score; in HelloZsumRange_RedisCommand() 406 double score; in HelloZsumRange_RedisCommand() local 407 RedisModuleString *ele = RedisModule_ZsetRangeCurrentElement(key,&score); in HelloZsumRange_RedisCommand() 409 scoresum_b += score; in HelloZsumRange_RedisCommand() 448 double score; in HelloLexRange_RedisCommand() local 449 RedisModuleString *ele = RedisModule_ZsetRangeCurrentElement(key,&score); in HelloLexRange_RedisCommand()
|
| /f-stack/freebsd/contrib/zstd/lib/dictBuilder/ |
| H A D | fastcover.c | 166 activeSegment.score = 0; in FASTCOVER_selectSegment() 177 activeSegment.score += freqs[idx]; in FASTCOVER_selectSegment() 189 activeSegment.score -= freqs[delIndex]; in FASTCOVER_selectSegment() 196 if (activeSegment.score > bestSegment.score) { in FASTCOVER_selectSegment() 422 if (segment.score == 0) { in FASTCOVER_buildDictionary()
|
| H A D | cover.h | 48 U32 score; member
|
| H A D | cover.c | 421 activeSegment.score = 0; in COVER_selectSegment() 435 activeSegment.score += freqs[newDmer]; in COVER_selectSegment() 450 activeSegment.score -= freqs[delDmer]; in COVER_selectSegment() 455 if (activeSegment.score > bestSegment.score) { in COVER_selectSegment() 702 if (segment.score == 0) { in COVER_buildDictionary()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/arm/ |
| H A D | cpu-capacity.txt | 37 max frequency (with caches enabled). The obtained DMIPS score is then divided 40 score obtained in the system.
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/build-aux/ |
| H A D | config.sub | 308 | score \ 1568 score-*)
|
| /f-stack/dpdk/doc/guides/contributing/ |
| H A D | vulnerability.rst | 79 The security team calculates the severity score with 82 and agrees on the score with the reporter. 97 * CVSS severity and score
|
| /f-stack/freebsd/kern/ |
| H A D | sched_ule.c | 1574 int score; in sched_priority() local 1592 score = imax(0, sched_interact_score(td) + td->td_proc->p_nice); in sched_priority() 1593 if (score < sched_interact) { in sched_priority() 1596 sched_interact) * score; in sched_priority() 1599 pri, score)); in sched_priority()
|
| /f-stack/freebsd/contrib/zstd/programs/ |
| H A D | zstd.1.md | 341 Selects segments of size _k_ with highest score to put in the dictionary. 342 The score of a segment is computed by the sum of the frequencies of all the
|
| /f-stack/app/redis-5.0.5/ |
| H A D | 00-RELEASENOTES | 2834 introduced in Redis 5.0 RC1. Notably ZPOP* now returns score/element in reverse
|