func newCdbm() *ArcCdbm { cdbm := &ArcCdbm{} cdbm.BasicCdbm = base.NewBasicCdbm() cdbm.t1 = NewCdbList() cdbm.b1 = NewCdbList() cdbm.t2 = NewCdbList() cdbm.b2 = NewCdbList() return cdbm }
func newCdbm() *LruCdbm { cdbm := &LruCdbm{} cdbm.BasicCdbm = base.NewBasicCdbm() cdbm.cdbs = list.New() return cdbm }