Lines Matching defs:hash
210 struct Curl_hash transfers; /* hash of transfers using this socket */
219 /* look up a given socket in the socket hash, skip invalid sockets */
273 /* make sure this socket is present in the hash for this handle */
293 /* make/add new hash entry */
304 /* delete the given socket + handle from the hash */
310 /* We remove the hash entry. This will end up in a call to
341 * sh_init() creates a new socket hash and returns the handle for it.
345 * "Some tests at 7000 and 9000 connections showed that the socket hash lookup
348 * it has a linked list with entries. So the hash only checks which list to
350 * (as that is what the DNS hash uses) but with 7000 connections that would
353 * increase. I need to reconsider the hash implementation or use a rather
358 static void sh_init(struct Curl_hash *hash, int hashsize)
360 Curl_hash_init(hash, hashsize, hash_fd, fd_key_compare,
376 struct Curl_multi *Curl_multi_handle(int hashsize, /* socket hash */
377 int chashsize, /* connection hash */
378 int dnssize) /* dns hash */
627 * Enable the hash print function first by editing hash.c
2960 /* get it from the hash */
2973 /* this is a socket we didn't have before, add it to the hash! */
2998 /* add 'data' to the transfer hash on this socket! */
2999 if(!Curl_hash_add(&entry->transfers, (char *)&data, /* hash key */
3122 /* now remove it from the socket hash */