Home
last modified time | relevance | path

Searched refs:addend (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/docs/zh-cn/contribute/
H A DOpenHarmony-cpp-coding-style-guide.md2843 int addend = 5;
2846 return [=]() { // 实际上只复制了addend
2848 return baseValue + addend;
2857 int addend = 5;
2860 return [addend, baseValue = baseValue]() mutable { // 使用C++14的捕获初始化拷贝一份变量
2862 return baseValue + addend;
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbpf_loader.cpp573 ELFIO::Elf_Sxword addend = 0; in ApplyRelocation() local
577 relocation.get_entry(i, offset, symbolValue, symbolName, type, addend, calcValue); in ApplyRelocation()
/ohos5.0/docs/en/contribute/
H A DOpenHarmony-cpp-coding-style-guide.md2951 int addend = 5;
2954 return [=]() { // Only addend is actually copied.
2956 return baseValue + addend;
2966 int addend = 5;
2969 …return [addend, baseValue = baseValue]() mutable { // Uses the C++14 capture initialization to co…
2971 return baseValue + addend;