Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:borrow_with
(Results
1 - 2
of
2
) sorted by relevance
/third_party/rust/crates/lazycell/src/
H
A
D
lib.rs
131
pub fn
borrow_with
<F: FnOnce() -> T>(&self, f: F) -> &T {
in borrow_with()
functions
137
panic!("
borrow_with
: cell was filled by closure")
in borrow_with()
162
/// Same as `
borrow_with
`, but allows the initializing function to fail.
407
let value = lazycell.
borrow_with
(|| 1);
in test_borrow_with()
416
let value = lazycell.
borrow_with
(|| 1);
in test_borrow_with_already_filled()
426
let value = lazycell.
borrow_with
(|| 2);
in test_borrow_with_not_called_when_filled()
439
lazycell.
borrow_with
(|| {
in test_borrow_with_sound_with_reentrancy()
/third_party/rust/crates/bindgen/bindgen/ir/
H
A
D
item.rs
541
*self.local_id.
borrow_with
(|| {
in local_id()
1041
.
borrow_with
(|| self.compute_path(ctx, UserMangled::No))
in path_for_allowlisting()
1922
.
borrow_with
(|| {
in canonical_name()
Completed in 4 milliseconds