Home
last modified time | relevance | path

Searched refs:start (Results 1 – 4 of 4) sorted by relevance

/rust/alloc/
Dslice.rs991 hole = MergeHole { start: buf, end: buf.add(mid), dest: v }; in merge()
995 let left = &mut hole.start; in merge()
1015 hole = MergeHole { start: buf, end: buf.add(len - mid), dest: v_mid }; in merge()
1052 start: *mut T, in merge() field
1061 let len = self.end.sub_ptr(self.start); in merge()
1062 ptr::copy_nonoverlapping(self.start, self.dest, len); in merge()
1121 let mut start = end - 1; in merge_sort() localVariable
1122 if start > 0 { in merge_sort()
1123 start -= 1; in merge_sort()
1125 if is_less(v.get_unchecked(start + 1), v.get_unchecked(start)) { in merge_sort()
[all …]
DREADME.md26 Then, upstream can start adding the functions that we add to `alloc`
/rust/alloc/vec/
Ddrain.rs118 let start = source_vec.len(); in drop() localVariable
120 if tail != start { in drop()
122 let dst = source_vec.as_mut_ptr().add(start); in drop()
125 source_vec.set_len(start + self.0.tail_len); in drop()
Dmod.rs1877 let Range { start, end } = slice::range(range, ..len); in drain()
1881 self.set_len(start); in drain()
1884 let range_slice = slice::from_raw_parts_mut(self.as_mut_ptr().add(start), end - start); in drain()