reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
490 if (isSingleton(N)) { 492 assert(N.Next == SMSNode::INVALID && "Singleton has next?"); 493 return iterator(this, SMSNode::INVALID, ValIndexOf(N.Data)); 496 if (isHead(N)) { 498 Sparse[sparseIndex(N)] = N.Next; 498 Sparse[sparseIndex(N)] = N.Next; 499 Dense[N.Next].Prev = N.Prev; 499 Dense[N.Next].Prev = N.Prev; 500 return iterator(this, N.Next, ValIndexOf(N.Data)); 500 return iterator(this, N.Next, ValIndexOf(N.Data)); 503 if (N.isTail()) { 505 findIndex(sparseIndex(N)).setPrev(N.Prev); 505 findIndex(sparseIndex(N)).setPrev(N.Prev); 506 Dense[N.Prev].Next = N.Next; 506 Dense[N.Prev].Next = N.Next; 509 iterator I(this, N.Prev, ValIndexOf(N.Data)); 509 iterator I(this, N.Prev, ValIndexOf(N.Data)); 514 Dense[N.Next].Prev = N.Prev; 514 Dense[N.Next].Prev = N.Prev; 515 Dense[N.Prev].Next = N.Next; 515 Dense[N.Prev].Next = N.Next; 516 return iterator(this, N.Next, ValIndexOf(N.Data)); 516 return iterator(this, N.Next, ValIndexOf(N.Data));