init initializes the table with leak checking.
()
| 44 | |
| 45 | // init initializes the table with leak checking. |
| 46 | func (f *FDTable) init() { |
| 47 | f.initNoLeakCheck() |
| 48 | f.InitRefs() |
| 49 | f.fdBitmap = bitmap.New(uint32(math.MaxUint16)) |
| 50 | } |
| 51 | |
| 52 | const ( |
| 53 | // fdsPerBucketShift is chosen in such a way that the size of bucket is |