MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / idxHashSearch

Function idxHashSearch

modules/dasSQLITE/sqlite/shell.c:10487–10491  ·  view source on GitHub ↗

** If the hash table contains an entry with a key equal to the string ** passed as the final two arguments to this function, return a pointer ** to the payload string. Otherwise, if zKey/nKey is not present in the ** hash table, return NULL. */

Source from the content-addressed store, hash-verified

10485** hash table, return NULL.
10486*/
10487static const char *idxHashSearch(IdxHash *pHash, const char *zKey, int nKey){
10488 IdxHashEntry *pEntry = idxHashFind(pHash, zKey, nKey);
10489 if( pEntry ) return pEntry->zVal;
10490 return 0;
10491}
10492
10493/*
10494** Allocate and return a new IdxConstraint object. Set the IdxConstraint.zColl

Callers 1

idxFindIndexesFunction · 0.85

Calls 1

idxHashFindFunction · 0.85

Tested by

no test coverage detected