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:with_capacity
(Results
1 - 4
of
4
) sorted by relevance
/kernel/linux/linux-6.6/rust/macros/
H
A
D
zeroable.rs
17
let mut new_impl_generics = Vec::
with_capacity
(impl_generics.len());
/kernel/linux/linux-6.6/rust/alloc/
H
A
D
slice.rs
506
let mut buf = Vec::
with_capacity
(capacity);
in repeat()
714
let mut result = Vec::
with_capacity
(size);
in concat()
734
let mut result = Vec::
with_capacity
(size);
in join()
758
let mut result = Vec::
with_capacity
(size);
in join()
H
A
D
raw_vec.rs
93
pub fn
with_capacity
(capacity: usize) -> Self {
in with_capacity()
functions
97
/// Like `
with_capacity
`, but guarantees the buffer is zeroed.
127
/// Like `
with_capacity
`, but parameterized over the choice of
/kernel/linux/linux-6.6/rust/alloc/vec/
H
A
D
mod.rs
194
/// let mut vec = Vec::
with_capacity
(5);
275
/// can be slow. For this reason, it is recommended to use [`Vec::
with_capacity
`]
294
/// [`Vec::
with_capacity
(0)`][`Vec::
with_capacity
`], or by calling [`shrink_to_fit`]
361
/// [`Vec::
with_capacity
(n)`][`Vec::
with_capacity
`], will all produce a `Vec`
454
/// let mut vec = Vec::
with_capacity
(10);
474
/// let vec_units = Vec::<()>::
with_capacity
(10);
481
pub fn
with_capacity
(capacity: usize) -> Self {
in with_capacity()
functions
997
/// let mut vec: Vec<i32> = Vec::
with_capacity
(1
[all...]
Completed in 5 milliseconds