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:singleSize
(Results
1 - 2
of
2
) sorted by relevance
/base/update/updater/services/common/ring_buffer/
H
A
D
ring_buffer.cpp
30
bool RingBuffer::Init(uint32_t
singleSize
, uint32_t num)
in Init()
argument
32
if (
singleSize
== 0 || num == 0 || (num & (num - 1)) != 0) { // power of 2
in Init()
33
LOG(ERROR) << "
singleSize
:" <<
singleSize
<< " num:" << num << " error";
in Init()
43
bufArray_[i] = new (std::nothrow) uint8_t [
singleSize
] {};
in Init()
45
LOG(ERROR) << "new buf " << i << " size " <<
singleSize
<< " error";
in Init()
local
53
singleSize_ =
singleSize
;
in Init()
84
LOG(ERROR) << "RingBuffer push error, len:" << len << "
singleSize
:" << singleSize_;
in Push()
H
A
D
ring_buffer.h
33
[[nodiscard]] bool Init(uint32_t
singleSize
, uint32_t num);
Completed in 2 milliseconds