Searched refs:last (Results 1 - 10 of 10) sorted by relevance
/commonlibrary/rust/ylong_json/src/value/array/ |
H A D | vec.rs | 179 /// assert_eq!(array.last(), None); 181 /// assert_eq!(array.last(), Some(&JsonValue::Null)); 183 pub fn last(&self) -> Option<&JsonValue> { in last() functions 184 self.inner.last() in last() 327 /// UT test for `Array::last`. in fmt() 334 /// 2. Calls `Array::last`. in fmt() 339 assert_eq!(array.last(), Some(&JsonValue::new_number(1.into()))); in fmt() 342 assert_eq!(array.last(), None); in fmt()
|
H A D | linked_list.rs | 181 /// assert_eq!(array.last(), None); 183 /// assert_eq!(array.last(), Some(&JsonValue::Null)); 185 pub fn last(&self) -> Option<&JsonValue> { in last() functions 421 /// UT test for `Array::last`. in fmt() 428 /// 2. Calls `Array::last`. in fmt() 433 assert_eq!(array.last(), Some(&JsonValue::new_number(1.into()))); in fmt() 436 assert_eq!(array.last(), None); in fmt()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/ |
H A D | reader.rs | 119 let mut last = Instant::now(); in read_all() variables 142 if now.duration_since(last) >= Duration::from_secs(1) { in read_all() 147 last = now; in read_all()
|
/commonlibrary/rust/ylong_json/src/reader/ |
H A D | io_reader.rs | 246 let last = cmp::min(self.idx + buf.len(), self.vec.len()); in read() 247 let len = last - self.idx; in read() 248 buf[..len].copy_from_slice(&self.vec[self.idx..last]); in read() 249 self.idx = last; in read()
|
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/ |
H A D | mod.rs | 174 while let [rest @ .., last] = bytes { in trim_ascii_end() 175 if last.is_ascii_whitespace() { in trim_ascii_end()
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/ |
H A D | afd.rs | 211 // When the last File has more than 32 Arc Points, creates a new File. 212 // If the vec len is not zero, then last always returns some 214 || Arc::strong_count(afd_group.last().unwrap()) > POLL_GROUP__MAX_GROUP_SIZE 220 match afd_group.last() {
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/ |
H A D | redirect.rs | 86 if let Some(previous) = info.previous.last() { 151 "last-modified",
|
/commonlibrary/rust/ylong_json/src/ |
H A D | linked_list.rs | 352 fn last(mut self) -> Option<&'a T> { in last() functions 353 // Uses the iterator traversal and returns the last element. in last() 401 fn last(mut self) -> Option<&'a mut T> { in last() functions 402 // Uses the iterator traversal and returns the last element. in last()
|
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/decode/ |
H A D | multi.rs | 143 // MultiStage::End, so the last stage can uncheck. 191 // at least has the outermost multi, so the last multi can uncheck. in push_new_part_stage() 209 // at least has the outermost multi, so the last multi can uncheck. 310 // when the last multi is end. 322 // at least has the outermost multi, so the last multi can uncheck. in temp_multi_end() 342 match self.multis.last() { in last_multi() 356 match self.stages.last() { in last_stage()
|
/commonlibrary/rust/ylong_http/ylong_http/src/body/ |
H A D | chunk.rs | 476 self.hex_last = EncodeHex::new(format!("{last:x}", last = self.chunk_last)); in meta_size_encode() 649 // | last-chunk | 656 // | last-chunk = 1*("0") [ chunk-ext ] CRLF | 858 /// The decoder decode only all chunks and last-chunk in chunk-body and does not 935 /// 000; message = last\r\n\ 1174 // Decode to the last chunk in decode_special_char() 1610 000; message = last\r\n\ in ut_chunk_body_decode_0() 1796 // last\r\n in ut_chunk_body_decode_0() 1809 // last\ in ut_chunk_body_decode_0() [all...] |
Completed in 9 milliseconds