Lines Matching refs:win
1002 let mut win = PktNumWindow::default(); in pkt_num_window() localVariable
1003 assert_eq!(win.lower, 0); in pkt_num_window()
1004 assert!(!win.contains(0)); in pkt_num_window()
1005 assert!(!win.contains(1)); in pkt_num_window()
1007 win.insert(0); in pkt_num_window()
1008 assert_eq!(win.lower, 0); in pkt_num_window()
1009 assert!(win.contains(0)); in pkt_num_window()
1010 assert!(!win.contains(1)); in pkt_num_window()
1012 win.insert(1); in pkt_num_window()
1013 assert_eq!(win.lower, 0); in pkt_num_window()
1014 assert!(win.contains(0)); in pkt_num_window()
1015 assert!(win.contains(1)); in pkt_num_window()
1017 win.insert(3); in pkt_num_window()
1018 assert_eq!(win.lower, 0); in pkt_num_window()
1019 assert!(win.contains(0)); in pkt_num_window()
1020 assert!(win.contains(1)); in pkt_num_window()
1021 assert!(!win.contains(2)); in pkt_num_window()
1022 assert!(win.contains(3)); in pkt_num_window()
1024 win.insert(10); in pkt_num_window()
1025 assert_eq!(win.lower, 0); in pkt_num_window()
1026 assert!(win.contains(0)); in pkt_num_window()
1027 assert!(win.contains(1)); in pkt_num_window()
1028 assert!(!win.contains(2)); in pkt_num_window()
1029 assert!(win.contains(3)); in pkt_num_window()
1030 assert!(!win.contains(4)); in pkt_num_window()
1031 assert!(!win.contains(5)); in pkt_num_window()
1032 assert!(!win.contains(6)); in pkt_num_window()
1033 assert!(!win.contains(7)); in pkt_num_window()
1034 assert!(!win.contains(8)); in pkt_num_window()
1035 assert!(!win.contains(9)); in pkt_num_window()
1036 assert!(win.contains(10)); in pkt_num_window()
1038 win.insert(132); in pkt_num_window()
1039 assert_eq!(win.lower, 5); in pkt_num_window()
1040 assert!(win.contains(0)); in pkt_num_window()
1041 assert!(win.contains(1)); in pkt_num_window()
1042 assert!(win.contains(2)); in pkt_num_window()
1043 assert!(win.contains(3)); in pkt_num_window()
1044 assert!(win.contains(4)); in pkt_num_window()
1045 assert!(!win.contains(5)); in pkt_num_window()
1046 assert!(!win.contains(6)); in pkt_num_window()
1047 assert!(!win.contains(7)); in pkt_num_window()
1048 assert!(!win.contains(8)); in pkt_num_window()
1049 assert!(!win.contains(9)); in pkt_num_window()
1050 assert!(win.contains(10)); in pkt_num_window()
1051 assert!(!win.contains(128)); in pkt_num_window()
1052 assert!(!win.contains(130)); in pkt_num_window()
1053 assert!(!win.contains(131)); in pkt_num_window()
1054 assert!(win.contains(132)); in pkt_num_window()
1056 win.insert(1024); in pkt_num_window()
1057 assert_eq!(win.lower, 897); in pkt_num_window()
1058 assert!(win.contains(0)); in pkt_num_window()
1059 assert!(win.contains(1)); in pkt_num_window()
1060 assert!(win.contains(2)); in pkt_num_window()
1061 assert!(win.contains(3)); in pkt_num_window()
1062 assert!(win.contains(4)); in pkt_num_window()
1063 assert!(win.contains(5)); in pkt_num_window()
1064 assert!(win.contains(6)); in pkt_num_window()
1065 assert!(win.contains(7)); in pkt_num_window()
1066 assert!(win.contains(8)); in pkt_num_window()
1067 assert!(win.contains(9)); in pkt_num_window()
1068 assert!(win.contains(10)); in pkt_num_window()
1069 assert!(win.contains(128)); in pkt_num_window()
1070 assert!(win.contains(130)); in pkt_num_window()
1071 assert!(win.contains(132)); in pkt_num_window()
1072 assert!(win.contains(896)); in pkt_num_window()
1073 assert!(!win.contains(897)); in pkt_num_window()
1074 assert!(!win.contains(1022)); in pkt_num_window()
1075 assert!(!win.contains(1023)); in pkt_num_window()
1076 assert!(win.contains(1024)); in pkt_num_window()
1077 assert!(!win.contains(1025)); in pkt_num_window()
1078 assert!(!win.contains(1026)); in pkt_num_window()
1080 win.insert(std::u64::MAX - 1); in pkt_num_window()
1081 assert!(win.contains(0)); in pkt_num_window()
1082 assert!(win.contains(1)); in pkt_num_window()
1083 assert!(win.contains(2)); in pkt_num_window()
1084 assert!(win.contains(3)); in pkt_num_window()
1085 assert!(win.contains(4)); in pkt_num_window()
1086 assert!(win.contains(5)); in pkt_num_window()
1087 assert!(win.contains(6)); in pkt_num_window()
1088 assert!(win.contains(7)); in pkt_num_window()
1089 assert!(win.contains(8)); in pkt_num_window()
1090 assert!(win.contains(9)); in pkt_num_window()
1091 assert!(win.contains(10)); in pkt_num_window()
1092 assert!(win.contains(128)); in pkt_num_window()
1093 assert!(win.contains(130)); in pkt_num_window()
1094 assert!(win.contains(132)); in pkt_num_window()
1095 assert!(win.contains(896)); in pkt_num_window()
1096 assert!(win.contains(897)); in pkt_num_window()
1097 assert!(win.contains(1022)); in pkt_num_window()
1098 assert!(win.contains(1023)); in pkt_num_window()
1099 assert!(win.contains(1024)); in pkt_num_window()
1100 assert!(win.contains(1025)); in pkt_num_window()
1101 assert!(win.contains(1026)); in pkt_num_window()
1102 assert!(!win.contains(std::u64::MAX - 2)); in pkt_num_window()
1103 assert!(win.contains(std::u64::MAX - 1)); in pkt_num_window()