MCPcopy Create free account
hub / github.com/SoftbearStudios/bitcode / set_end_ptr

Method set_end_ptr

src/fast.rs:131–134  ·  view source on GitHub ↗
(&mut self, end: *mut T)

Source from the content-addressed store, hash-verified

129 /// Set the end_ptr after mutating it.
130 #[inline(always)]
131 pub fn set_end_ptr(&mut self, end: *mut T) {
132 self.end = end;
133 debug_assert!(self.end <= self.capacity);
134 }
135
136 /// Increments length by 1.
137 ///

Callers 6

encodeMethod · 0.80
encode_vectoredMethod · 0.80
encodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected