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:HeapSize
(Results
1 - 4
of
4
) sorted by relevance
/third_party/rust/crates/syn/examples/heapsize/heapsize/src/
H
A
D
lib.rs
5
pub trait
HeapSize
{
traits
19
impl
HeapSize
for u8 {
26
impl
HeapSize
for String {
33
impl<T>
HeapSize
for Box<T>
35
T: ?Sized +
HeapSize
,
45
impl<T>
HeapSize
for [T]
impls
47
T:
HeapSize
,
52
self.iter().map(
HeapSize
::heap_size_of_children).sum()
in heap_size_of_children()
56
impl<'a, T>
HeapSize
for &'a T
impls
/third_party/rust/crates/syn/examples/heapsize/heapsize_derive/src/
H
A
D
lib.rs
8
#[proc_macro_derive(
HeapSize
)]
16
// Add a bound `T:
HeapSize
` to every type parameter T.
in derive_heap_size()
25
impl #impl_generics heapsize::
HeapSize
for #name #ty_generics #where_clause {
in derive_heap_size()
36
// Add a bound `T:
HeapSize
` to every type parameter T.
40
type_param.bounds.push(parse_quote!(heapsize::
HeapSize
));
in add_trait_bounds()
61
// implement `
HeapSize
` then the compiler's error message
in heap_size_sum()
67
heapsize::
HeapSize
::heap_size_of_children(&self.#name)
in heap_size_sum()
81
heapsize::
HeapSize
::heap_size_of_children(&self.#index)
in heap_size_sum()
/third_party/rust/crates/syn/examples/heapsize/example/src/
H
A
D
main.rs
1
use heapsize::
HeapSize
;
3
#[derive(
HeapSize
)]
/third_party/sqlite/src/
H
A
D
sqlite3.c
[all...]
Completed in 143 milliseconds