Change from dos to unix convention
[httpd-crcsyncproxy.git] / crccache / hashes.py
blob51cc89ae184ff8963d4044e1d4fdda01f6f56dda
1 #!/usr/bin/python
3 for N in (20,40):
4 for S in (1024,102400,1024000):
5 X=N*S*(1.0-1.0/N)
6 for H in (16,24,30,32,48,60,64):
7 R = (2**H)/X
8 print "N=%d, S=%d, H=%d, 1 in %f" % (N,S,H,R)