Home | History | Annotate | Download | only in fst

Lines Matching defs:CacheBaseImpl

103 class CacheBaseImpl : public VectorFstBaseImpl<S> {
120 explicit CacheBaseImpl(C *allocator = 0)
131 explicit CacheBaseImpl(const CacheOptions &opts, C *allocator = 0)
143 CacheBaseImpl(const CacheBaseImpl<S, C> &impl, bool preserve_cache = false)
178 ~CacheBaseImpl() {
497 void operator=(const CacheBaseImpl<S, C> &impl); // disallow
502 S *CacheBaseImpl<S, C>::ExtendState(typename S::Arc::StateId s) {
559 void CacheBaseImpl<S, C>::GC(typename S::Arc::StateId current,
602 template <class S, class C> const uint32 CacheBaseImpl<S, C>::kCacheFinal;
603 template <class S, class C> const uint32 CacheBaseImpl<S, C>::kCacheArcs;
604 template <class S, class C> const uint32 CacheBaseImpl<S, C>::kCacheRecent;
605 template <class S, class C> const uint32 CacheBaseImpl<S, C>::kCacheModified;
606 template <class S, class C> const size_t CacheBaseImpl<S, C>::kMinCacheLimit;
632 // A CacheBaseImpl with a commonly used CacheState.
634 class CacheImpl : public CacheBaseImpl< CacheState<A> > {
641 : CacheBaseImpl< CacheState<A> >(opts) {}
644 : CacheBaseImpl<State>(impl, preserve_cache) {}
651 // Use this to make a state iterator for a CacheBaseImpl-derived Fst,
661 typedef CacheBaseImpl<State> Impl;
709 // Use this to make an arc iterator for a CacheBaseImpl-derived Fst,
718 typedef CacheBaseImpl<State, C> Impl;
752 // Use this to make a mutable arc iterator for a CacheBaseImpl-derived Fst,
763 typedef CacheBaseImpl<State, C> Impl;
788 state_->flags |= CacheBaseImpl<State, C>::kCacheModified;