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