Lines Matching defs:hash
31 ;; in a hash-table so that the analysis can use the information when
56 ;; `spam-stat-save' -- save the hash table to the file; the filename
59 ;; `spam-stat-load' -- load the hash table from a file; the filename
83 ;; Number of words: (hash-table-count spam-stat)
89 ;; Number of words: (hash-table-count spam-stat)
110 ;; buffer and saves the hash table when leaving Gnus. More testing:
139 See `spam-stat-to-hash-table' for the format of the file."
203 '(gethash hash-table-count make-hash-table
250 (defvar spam-stat (make-hash-table :test 'equal)
327 "Return a hash table of words and number of occurrences in the buffer."
331 (let ((result (make-hash-table :test 'equal))
403 "Save the `spam-stat' hash table as lisp file.
414 " spam-stat (spam-stat-to-hash-table '(")
425 "Read the `spam-stat' hash table from disk."
430 (defun spam-stat-to-hash-table (entries)
431 "Turn list ENTRIES into a hash table and store as `spam-stat'.
437 (let ((table (make-hash-table :test 'equal)))
446 "Reset `spam-stat' to an empty hash-table.
449 (setq spam-stat (make-hash-table :test 'equal)
539 (hash-table-count spam-stat))