Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Cache::Cache ( int  l,
int  size 
)

Definition at line 75 of file svm.cpp.

References head, l, lru_head, Cache::head_t::next, Cache::head_t::prev, and size.

00075                             :l(l_),size(size_)
00076 {
00077         head = (head_t *)calloc(l,sizeof(head_t));      // initialized to 0
00078         size /= sizeof(Qfloat);
00079         size -= l * sizeof(head_t) / sizeof(Qfloat);
00080         lru_head.next = lru_head.prev = &lru_head;
00081 }


Generated on Fri Mar 19 10:31:55 2010 for ImpalaSrc by  doxygen 1.5.1