Home
last modified time | relevance | path

Searched refs:quotient (Results 1 - 2 of 2) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/
H A Dprotocol_proto.cpp310 // It can be proved that lengthToSplit is always larger than maxFragmentLen, so quotient won't be zero. in SplitFrameIntoPacketsIfNeed()
312 uint16_t quotient = lengthToSplit / maxFragmentLen; in SplitFrameIntoPacketsIfNeed() local
315 uint16_t fragCount = ((remainder == 0) ? quotient : (quotient + 1)); in SplitFrameIntoPacketsIfNeed()
342 uint32_t quotient = lengthBeSplit / fragCount; in AnalyzeSplitStructure() local
344 outFragLen = quotient; in AnalyzeSplitStructure()
345 outLastFragLen = quotient + remainder; in AnalyzeSplitStructure()
960 uint32_t quotient = fragmentInfo.splitLength / fragmentInfo.fragCount; in FrameFragmentation() local
967 uint32_t pieceFragLen = (fragNo != fragmentInfo.fragCount - 1) ? quotient : (quotient in FrameFragmentation()
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/
H A Dbitmap_manager.h471 int quotient = prefixLen / 8; in GetNetworkAddress() local
473 for (int i = 0; i < quotient; i++) { in GetNetworkAddress()
477 out.s6_addr[quotient] = addr.s6_addr[quotient] & (~(0xff >> remainder)); in GetNetworkAddress()

Completed in 4 milliseconds