Home
last modified time | relevance | path

Searched refs:lazycell (Results 1 – 16 of 16) sorted by relevance

/external/rust/crates/lazycell/src/
Dlib.rs374 let lazycell: LazyCell<usize> = LazyCell::new(); in test_borrow_from_empty() localVariable
376 let value = lazycell.borrow(); in test_borrow_from_empty()
379 let value = lazycell.get(); in test_borrow_from_empty()
385 let lazycell = LazyCell::new(); in test_fill_and_borrow() localVariable
387 assert!(!lazycell.filled()); in test_fill_and_borrow()
388 lazycell.fill(1).unwrap(); in test_fill_and_borrow()
389 assert!(lazycell.filled()); in test_fill_and_borrow()
391 let value = lazycell.borrow(); in test_fill_and_borrow()
394 let value = lazycell.get(); in test_fill_and_borrow()
400 let mut lazycell = LazyCell::new(); in test_borrow_mut() localVariable
[all …]
/external/rust/crates/lazycell/
DCHANGELOG.md7 …port non-Default-able `<T>` types ([b49f4eab](https://github.com/indiv0/lazycell/commit/b49f4eabec…
8lazycell:** Fix unsound aliasing in `LazyCell::fill` ([e789ac1a](https://github.com/indiv0/lazyce…
12 * Implement serde support ([e728a0b6](https://github.com/indiv0/lazycell/commit/e728a0b680e607b79…
16 * fix typo ([5f5ba9d5](https://github.com/indiv0/lazycell/commit/5f5ba9d5ac3364f8376c0c872c2e5094…
26 * Implement Clone for LazyCell and AtomicLazyCell ([30fe4a8f](https://github.com/indiv0/lazycell/…
36 * add `LazyCell::replace` for infallible access ([a63ffb90](https://github.com/indiv0/lazycell/co…
46 * add note regarding LazyCell::borrow_mut ([9d634d1f](https://github.com/indiv0/lazycell/commit/9…
47 …ps://github.com/indiv0/lazycell/commit/b80780294611e92efddcdd33a701b3049ab5c5eb), closes [#78](htt…
51 …ps://github.com/indiv0/lazycell/commit/31aff0dacf824841c5f38ef4acf0aa71ec4c36eb), closes [#87](htt…
52lazycell/commit/fdc6d268f0e9a6668768302f45fe2bb4aa9a7c34), closes [#79](https://github.com/indiv0/
[all …]
DREADME.md1 # lazycell chapter
6 …ref="https://travis-ci.org/indiv0/lazycell" title="Travis Build Status"><img src="https://travis-c…
10 … href="https://crates.io/crates/lazycell" title="Crates.io downloads"><img src="https://img.shield…
11 …<a href="https://indiv0.github.io/lazycell/lazycell" title="API Docs"><img src="https://img.shield…
12 …<a href="https://crates.io/crates/lazycell" title="Crates.io"><img src="https://img.shields.io/cra…
13 …tle="License: MIT/Apache-2.0"><img src="https://img.shields.io/crates/l/lazycell.svg" alt="license…
14 …ralls.io/github/indiv0/lazycell?branch=master" title="Coverage Status"><img src="https://coveralls…
34 lazycell = "1.3"
40 extern crate lazycell;
68 [api-docs]: https://indiv0.github.io/lazycell/lazycell
[all …]
DCargo.toml.orig2 name = "lazycell"
7 repository = "https://github.com/indiv0/lazycell"
8 documentation = "http://indiv0.github.io/lazycell/lazycell/"
10 keywords = ["lazycell", "lazy", "cell", "library"]
DMETADATA1 name: "lazycell"
6 value: "https://crates.io/crates/lazycell"
10 value: "https://static.crates.io/crates/lazycell/lazycell-1.3.0.crate"
DCargo.toml14 name = "lazycell"
19 documentation = "http://indiv0.github.io/lazycell/lazycell/"
21 keywords = ["lazycell", "lazy", "cell", "library"]
23 repository = "https://github.com/indiv0/lazycell"
DLICENSE-MIT2 Modified work Copyright (c) 2016-2018 Nikita Pekin and lazycell contributors
DAndroid.bp42 crate_name: "lazycell",
/external/rust/crates/once_cell/
DREADME.md51 * [lazycell](https://crates.io/crates/lazycell)
/external/rust/crates/bindgen/
DCargo.toml.orig53 lazycell = "1"
DCargo.lock45 "lazycell",
156 name = "lazycell"
DCargo.toml58 [dependencies.lazycell]
DAndroid.bp119 // lazycell-1.3.0
/external/rust/crates/grpcio-sys/
DAndroid.bp119 // lazycell-1.3.0
/external/rust/crates/mio/
DCHANGELOG.md292 - Fix lazycell related compilation issues.
/external/rust/crates/bindgen/src/ir/
Ditem.rs26 use lazycell::LazyCell;