Comprehensive Rust(Español) 202412unsafe: fn main() { let mut s = String::from("¡cuidado!"); let r1 = &mut s as *mut String; let r2 = r1 as *const String; // SAFETY: r1 and r2 were obtained from references and so are guaranteed to // pointers. unsafe { println!("r1 es: {}", *r1); *r1 = String::from("oh, oh"); println!("r2 es: {}", *r2); } // NO ES SEGURO. NO HAGAS ESTO. /* let r3: &String = unsafe { &*r1 }; drop(s); println!("r3 is: En la sección ”INSEGURO” se muestra un ejemplo de un tipo común de error comportamiento indefinido: *r1 tiene el tiempo de vida 'static, por lo que r3 tiene el tipo &'static String 190 y, por lo tanto0 码力 | 389 页 | 1.04 MB | 10 月前3
PlantUML 1.2020.23 Guía de Referencia del Lenguaje[Prototype design] [r1] happens on 5 days after [Prototype design]'s end [r2] happens on 5 days after [r1]'s end [r3] happens on 5 days after [r2]'s end [r2] displays on same row as [r1] [r3] displays on on same row as [r1] @endgantt 10.23 Highlight today @startgantt Project starts the 20th of september 2018 sunday are close 2018/09/21 to 2018/09/23 are colored in salmon 2018/09/21 to 2018/09/30 are named0 码力 | 305 页 | 3.11 MB | 1 年前3
PlantUML 1.2020.22 Guía de Referencia del Lenguaje[Prototype design] [r1] happens on 5 days after [Prototype design]'s end [r2] happens on 5 days after [r1]'s end [r3] happens on 5 days after [r2]'s end [r2] displays on same row as [r1] [r3] displays on on same row as [r1] @endgantt 10.23 Highlight today @startgantt Project starts the 20th of september 2018 sunday are close 2018/09/21 to 2018/09/23 are colored in salmon 2018/09/21 to 2018/09/30 are named0 码力 | 293 页 | 3.02 MB | 1 年前3
PlantUML 1.2021.2 Guía de Referencia del Lenguaje[Prototype design] [r1] happens on 5 days after [Prototype design]'s end [r2] happens on 5 days after [r1]'s end [r3] happens on 5 days after [r2]'s end [r2] displays on same row as [r1] [r3] displays on on same row as [r1] @endgantt 16.23 Highlight today @startgantt Project starts the 20th of september 2018 sunday are close 2018/09/21 to 2018/09/23 are colored in salmon 2018/09/21 to 2018/09/30 are named0 码力 | 389 页 | 4.12 MB | 1 年前3
PlantUML 1.2021.1 Guía de Referencia del Lenguaje[Prototype design] [r1] happens on 5 days after [Prototype design]'s end [r2] happens on 5 days after [r1]'s end [r3] happens on 5 days after [r2]'s end [r2] displays on same row as [r1] [r3] displays on on same row as [r1] @endgantt 15.23 Highlight today @startgantt Project starts the 20th of september 2018 sunday are close 2018/09/21 to 2018/09/23 are colored in salmon 2018/09/21 to 2018/09/30 are named0 码力 | 384 页 | 4.07 MB | 1 年前3
PlantUML 1.2021.3 Guía de Referencia del Lenguaje[Prototype design] [r1] happens on 5 days after [Prototype design]'s end [r2] happens on 5 days after [r1]'s end [r3] happens on 5 days after [r2]'s end [r2] displays on same row as [r1] [r3] displays on on same row as [r1] @endgantt 16.23 Highlight today @startgantt Project starts the 20th of september 2018 sunday are close 2018/09/21 to 2018/09/23 are colored in salmon 2018/09/21 to 2018/09/30 are named0 码力 | 407 页 | 4.28 MB | 1 年前3
PlantUML 1.2023.11 Guía de Referencia del Lenguaje[Prototype design] [r1] happens on 5 days after [Prototype design]'s end [r2] happens on 5 days after [r1]'s end [r3] happens on 5 days after [r2]'s end [r2] displays on same row as [r1] [r3] displays on on same row as [r1] @endgantt 16.29 Highlight today @startgantt Project starts the 20th of september 2018 sunday are close 2018/09/21 to 2018/09/23 are colored in salmon 2018/09/21 to 2018/09/30 are named0 码力 | 531 页 | 7.53 MB | 1 年前3
Guía de referencia de Debian v2.124una «r», siendo «r» una expresión regular r1\|r2 r1|r2 encaja una de las expresiones regulares «r1» o «r2» \(r1\|r2\) (r1|r2) encaja una expresión regular «r1» o «r2» y tratada el resultado como una expresión0 码力 | 285 页 | 1.43 MB | 1 年前3
共 8 条
- 1













