Lines Matching full:five
197 /// let five = Box::new(5);
214 /// let mut five = Box::<u32>::new_uninit();
216 /// let five = unsafe {
218 /// five.as_mut_ptr().write(5);
220 /// five.assume_init()
223 /// assert_eq!(*five, 5)
279 /// let five = Box::try_new(5)?;
296 /// let mut five = Box::<u32>::try_new_uninit()?;
298 /// let five = unsafe {
300 /// five.as_mut_ptr().write(5);
302 /// five.assume_init()
305 /// assert_eq!(*five, 5);
354 /// let five = Box::new_in(5, System);
384 /// let five = Box::try_new_in(5, System)?;
411 /// let mut five = Box::<u32, _>::new_uninit_in(System);
413 /// let five = unsafe {
415 /// five.as_mut_ptr().write(5);
417 /// five.assume_init()
420 /// assert_eq!(*five, 5)
450 /// let mut five = Box::<u32, _>::try_new_uninit_in(System)?;
452 /// let five = unsafe {
454 /// five.as_mut_ptr().write(5);
456 /// five.assume_init()
459 /// assert_eq!(*five, 5);
789 /// let mut five = Box::<u32>::new_uninit();
791 /// let five: Box<u32> = unsafe {
793 /// five.as_mut_ptr().write(5);
795 /// five.assume_init()
798 /// assert_eq!(*five, 5)