• Home
  • Raw
  • Download

Lines Matching full:some

141             // static table. At some point in the future, this might not be true  in index()
148 if let Some((n, true)) = statik { in index()
170 // `indices` entries to be `Some`. So, we only need to check for the in index_dynamic()
183 if let Some(pos) = self.indices[probe] { in index_dynamic()
226 if let Some(next) = self.slots[real_idx].next { in index_occupied()
237 self.update_size(header.len(), Some(index)); in index_occupied()
250 self.slots[new_real_idx].next = Some(idx); in index_occupied()
257 return if let Some(n) = statik { in index_occupied()
287 if let Some(pos) = self.indices[back] { in index_vacant()
311 Some(Pos { in index_vacant()
317 if let Some(mut prev) = prev { in index_vacant()
324 prev = match mem::replace(pos, Some(prev)) { in index_vacant()
325 Some(p) => p, in index_vacant()
333 if let Some((n, _)) = statik { in index_vacant()
412 if let Some(idx) = slot.next { in evict()
414 self.indices[probe] = Some(pos); in evict()
415 } else if Some(pos.index) == prev_idx { in evict()
417 self.indices[probe] = Some(pos); in evict()
437 if let Some(pos) = self.indices[probe] { in remove_phase_two()
479 if let Some(pos) = *pos { in grow()
504 if let Some(pos) = pos { in reinsert_entry_in_order()
511 self.indices[probe] = Some(pos); in reinsert_entry_in_order()
538 if let Some(pos) = *pos { in assert_valid_state()
569 if let Some(pos) = *pos { in assert_valid_state()
572 indexed = Some(i); in assert_valid_state()
579 if let Some(actual) = indexed { in assert_valid_state()
610 .filter(|n| *n == Some(index.wrapping_sub(self.inserted))) in assert_valid_state()
641 Some((n, true)) => Index::Indexed(n, e), in new()
642 Some((n, false)) => Index::Name(n, e), in new()
683 header::ACCEPT_CHARSET => Some((15, false)), in index_static()
686 Some((16, true)) in index_static()
688 Some((16, false)) in index_static()
691 header::ACCEPT_LANGUAGE => Some((17, false)), in index_static()
692 header::ACCEPT_RANGES => Some((18, false)), in index_static()
693 header::ACCEPT => Some((19, false)), in index_static()
694 header::ACCESS_CONTROL_ALLOW_ORIGIN => Some((20, false)), in index_static()
695 header::AGE => Some((21, false)), in index_static()
696 header::ALLOW => Some((22, false)), in index_static()
697 header::AUTHORIZATION => Some((23, false)), in index_static()
698 header::CACHE_CONTROL => Some((24, false)), in index_static()
699 header::CONTENT_DISPOSITION => Some((25, false)), in index_static()
700 header::CONTENT_ENCODING => Some((26, false)), in index_static()
701 header::CONTENT_LANGUAGE => Some((27, false)), in index_static()
702 header::CONTENT_LENGTH => Some((28, false)), in index_static()
703 header::CONTENT_LOCATION => Some((29, false)), in index_static()
704 header::CONTENT_RANGE => Some((30, false)), in index_static()
705 header::CONTENT_TYPE => Some((31, false)), in index_static()
706 header::COOKIE => Some((32, false)), in index_static()
707 header::DATE => Some((33, false)), in index_static()
708 header::ETAG => Some((34, false)), in index_static()
709 header::EXPECT => Some((35, false)), in index_static()
710 header::EXPIRES => Some((36, false)), in index_static()
711 header::FROM => Some((37, false)), in index_static()
712 header::HOST => Some((38, false)), in index_static()
713 header::IF_MATCH => Some((39, false)), in index_static()
714 header::IF_MODIFIED_SINCE => Some((40, false)), in index_static()
715 header::IF_NONE_MATCH => Some((41, false)), in index_static()
716 header::IF_RANGE => Some((42, false)), in index_static()
717 header::IF_UNMODIFIED_SINCE => Some((43, false)), in index_static()
718 header::LAST_MODIFIED => Some((44, false)), in index_static()
719 header::LINK => Some((45, false)), in index_static()
720 header::LOCATION => Some((46, false)), in index_static()
721 header::MAX_FORWARDS => Some((47, false)), in index_static()
722 header::PROXY_AUTHENTICATE => Some((48, false)), in index_static()
723 header::PROXY_AUTHORIZATION => Some((49, false)), in index_static()
724 header::RANGE => Some((50, false)), in index_static()
725 header::REFERER => Some((51, false)), in index_static()
726 header::REFRESH => Some((52, false)), in index_static()
727 header::RETRY_AFTER => Some((53, false)), in index_static()
728 header::SERVER => Some((54, false)), in index_static()
729 header::SET_COOKIE => Some((55, false)), in index_static()
730 header::STRICT_TRANSPORT_SECURITY => Some((56, false)), in index_static()
731 header::TRANSFER_ENCODING => Some((57, false)), in index_static()
732 header::USER_AGENT => Some((58, false)), in index_static()
733 header::VARY => Some((59, false)), in index_static()
734 header::VIA => Some((60, false)), in index_static()
735 header::WWW_AUTHENTICATE => Some((61, false)), in index_static()
738 Header::Authority(_) => Some((1, false)), in index_static()
740 Method::GET => Some((2, true)), in index_static()
741 Method::POST => Some((3, true)), in index_static()
742 _ => Some((2, false)), in index_static()
745 "http" => Some((6, true)), in index_static()
746 "https" => Some((7, true)), in index_static()
747 _ => Some((6, false)), in index_static()
750 "/" => Some((4, true)), in index_static()
751 "/index.html" => Some((5, true)), in index_static()
752 _ => Some((4, false)), in index_static()
756 200 => Some((8, true)), in index_static()
757 204 => Some((9, true)), in index_static()
758 206 => Some((10, true)), in index_static()
759 304 => Some((11, true)), in index_static()
760 400 => Some((12, true)), in index_static()
761 404 => Some((13, true)), in index_static()
762 500 => Some((14, true)), in index_static()
763 _ => Some((8, false)), in index_static()