31 mutt_dotlock_privileged, 49 #define HDR_REPLY_TO 0x02 53 #define HDR_SUBJECT 0x20 54 #define HDR_NEWSGROUPS 0x40 55 #define HDR_FOLLOWUP_TO 0x80 56 #define HDR_IDENTITY 0x100 57 #define HDR_TRANSPORT 0x200 59 #define HDR_DICTIONARY 0x800 62 #define HDR_STANDARD (HDR_SUBJECT|HDR_TO|HDR_CC) 68 enum { num_primes = 29 }; 70 static const unsigned long prime_list[ num_primes ] = 72 31ul, 53ul, 97ul, 193ul, 389ul, 73 769ul, 1543ul, 3079ul, 6151ul, 12289ul, 74 24593ul, 49157ul, 98317ul, 196613ul, 393241ul, 75 786433ul, 1572869ul, 3145739ul, 6291469ul, 12582917ul, 76 25165843ul, 50331653ul, 100663319ul, 201326611ul, 402653189ul, 77 805306457ul, 1610612741ul, 3221225473ul, 4294967291ul 80 inline unsigned long nextPrime( unsigned long n ) 82 const unsigned long *first = prime_list; 83 const unsigned long *last = prime_list + num_primes; 84 const unsigned long *pos = std::lower_bound( first, last, n ); 85 return pos == last ? *( last - 1 ) : *pos; 91 extern const char* aboutText;
|