Searched refs:count (Results 1 – 3 of 3) sorted by relevance
8 let mut count = 0_usize; in test() localVariable12 count += 1; in test()14 assert_eq!(count, 2 + 3 + 3); // message: 2, client: 3, server: 3 in test()
366 count: usize, field370 pub(super) fn new(b: &[u8], partial_len: usize, count: usize) -> Self { in new()374 count, in new()388 let should_send = self.count % 2 == 0; in poll_frame()391 let count = self.count; in poll_frame() localVariable396 .split_to(if count == 0 { partial_len } else { data_len }); in poll_frame()403 self.count += 1; in poll_frame()
29 let mut count = 0; localVariable32 count += 1;35 assert_eq!(count, $message_count);