Home
last modified time | relevance | path

Searched refs:unsync (Results 1 - 4 of 4) sorted by relevance

/third_party/rust/crates/once_cell/src/
H A Dimp_cs.rs6 use crate::unsync;
10 // Use `unsync::OnceCell` internally since `Mutex` does not provide
12 value: Mutex<unsync::OnceCell<T>>,
28 OnceCell { initialized: AtomicBool::new(false), value: Mutex::new(unsync::OnceCell::new()) }
34 value: Mutex::new(unsync::OnceCell::with_value(value)),
H A Dlib.rs3 //! `once_cell` provides two new cell-like types, [`unsync::OnceCell`] and [`sync::OnceCell`]. A `OnceCell`
19 //! The `sync` flavor is thread-safe (that is, implements the [`Sync`] trait), while the `unsync` one is not.
21 //! [`unsync::OnceCell`]: unsync/struct.OnceCell.html
82 //! There are also the [`sync::Lazy`] and [`unsync::Lazy`] convenience types to streamline this pattern:
104 //! [`unsync::Lazy`]: unsync/struct.Lazy.html
111 //! use once_cell::unsync::Lazy;
128 //! use once_cell::unsync::OnceCell;
257 //! |`unsync
354 pub mod unsync { global() modules
[all...]
/third_party/ffmpeg/libavformat/
H A Did3v2.c891 int isv34, unsync; in id3v2_parse() local
935 unsync = flags & 0x80; in id3v2_parse()
1043 if (unsync || tunsync || tcomp) { in id3v2_parse()
1050 if (unsync || tunsync) { in id3v2_parse()
1089 if (!(unsync || tunsync)) { in id3v2_parse()
/third_party/rust/crates/once_cell/tests/
H A Dit.rs1 mod unsync { modules
7 use once_cell::unsync::{Lazy, OnceCell};

Completed in 4 milliseconds