Home
last modified time | relevance | path

Searched refs:blockLength_ (Results 1 – 18 of 18) sorted by relevance

/dports/www/aria2/aria2-1.36.0/src/
H A DBtPieceMessage.cc73 blockLength_(blockLength), in BtPieceMessage()
102 getPeer()->updateDownload(blockLength_); in doReceivedAction()
103 downloadContext_->updateDownload(blockLength_); in doReceivedAction()
121 auto dataCopy = new unsigned char[blockLength_]; in doReceivedAction()
122 memcpy(dataCopy, data_ + 9, blockLength_); in doReceivedAction()
124 blockLength_, blockLength_, offset); in doReceivedAction()
134 piece->updateHash(begin_, data_ + 9, blockLength_); in doReceivedAction()
168 9 + blockLength_, ID); in createMessageHeader()
212 pushPieceData(pieceDataOffset, blockLength_); in send()
303 blockLength_)); in onChokingEvent()
[all …]
H A DBitfieldMan.cc59 blockLength_(blockLength), in BitfieldMan()
62 if (blockLength_ > 0 && totalLength_ > 0) { in BitfieldMan()
63 blocks_ = (totalLength_ + blockLength_ - 1) / blockLength_; in BitfieldMan()
85 blockLength_(bitfieldMan.blockLength_), in BitfieldMan()
101 blockLength_ = bitfieldMan.blockLength_; in operator =()
311 useBitfield_, blockLength_, blocks_); in getSparseMissingUnusedIndex()
317 useBitfield_, blockLength_, blocks_); in getSparseMissingUnusedIndex()
434 useBitfield_, blockLength_, blocks_); in getInorderMissingUnusedIndex()
891 size_t startBlock = offset / blockLength_; in isBitSetOffsetRange()
911 size_t start = offset / blockLength_; in getOffsetCompletedLength()
[all …]
H A DBtPieceMessage.h50 int32_t blockLength_; variable
82 int32_t getBlockLength() const { return blockLength_; } in getBlockLength()
88 void setBlockLength(int32_t blockLength) { blockLength_ = blockLength; } in setBlockLength()
H A DBitfieldMan.h60 int32_t blockLength_; variable
95 int32_t getBlockLength() const { return blockLength_; } in getBlockLength()
/dports/sysutils/cdrdao/cdrdao-1.2.4/dao/
H A DRicohMP6200.cc105 blockLength_ = AUDIO_BLOCK_LEN; in initDao()
106 blocksPerWrite_ = scsiIf_->maxDataLen() / blockLength_; in initDao()
114 modeSelectBlockSize(blockLength_, 0); in initDao()
121 n = blocksPerWrite_ * blockLength_; in initDao()
199 assert(blockLength_ > 0); in writeData()
214 if (sendCmd(cmd, 10, (unsigned char *)(buf + (nwritten * blockLength_)), in writeData()
215 writeLen * blockLength_, NULL, 0) != 0) { in writeData()
H A DTaiyoYuden.cc107 blockLength_ = AUDIO_BLOCK_LEN; in initDao()
108 blocksPerWrite_ = scsiIf_->maxDataLen() / blockLength_; in initDao()
112 if (modeSelectBlockSize(blockLength_, 1) != 0 || in initDao()
120 n = blocksPerWrite_ * blockLength_; in initDao()
200 assert(blockLength_ > 0); in writeData()
215 if (sendCmd(cmd, 10, (unsigned char *)(buf + (nwritten * blockLength_)), in writeData()
216 writeLen * blockLength_, NULL, 0) != 0) { in writeData()
H A DCDD2600.cc135 blockLength_ = AUDIO_BLOCK_LEN; in initDao()
162 n = blocksPerWrite_ * blockLength_; in initDao()
224 blockLength_ = MODE1_BLOCK_LEN; in finishDao()
225 modeSelectBlockSize(blockLength_, 1); in finishDao()
236 blockLength_ = MODE1_BLOCK_LEN; in abortDao()
237 modeSelectBlockSize(blockLength_, 1); in abortDao()
250 assert(blockLength_ > 0); in writeData()
266 writeLen * blockLength_, NULL, 0) != 0) { in writeData()
283 blockLength_ = AUDIO_BLOCK_LEN; in readDiskToc()
380 blockLength_ = AUDIO_BLOCK_LEN; in analyzeTrack()
[all …]
H A DGenericMMCraw.cc462 blockLength_ = AUDIO_BLOCK_LEN + subChannel_->dataLength(); in initDao()
463 blocksPerWrite_ = scsiIf_->maxDataLen() / blockLength_; in initDao()
465 log_message(4, "Block length: %ld", blockLength_); in initDao()
500 n = blocksPerWrite_ * blockLength_; in initDao()
624 assert(blockLength_ > 0); in writeData()
657 memcpy(encodeBuffer_ + i * blockLength_, buf + i * iblen, in writeData()
660 memcpy(encodeBuffer_ + i * blockLength_ + AUDIO_BLOCK_LEN, in writeData()
669 unsigned char *actBuf = encodeBuffer_ + i * blockLength_ + AUDIO_BLOCK_LEN; in writeData()
690 unsigned char *oBuf = encodeBuffer_ + i * blockLength_ + AUDIO_BLOCK_LEN; in writeData()
724 sum2 += *(char *)(encodeBuffer_ + i * blockLength_ + n); in writeData()
[all …]
H A DSonyCDU920.cc458 blockLength_ = AUDIO_BLOCK_LEN; in initDao()
459 blocksPerWrite_ = scsiIf_->maxDataLen() / blockLength_; in initDao()
469 n = blocksPerWrite_ * blockLength_; in initDao()
H A DYamahaCDR10x.cc475 blockLength_ = AUDIO_BLOCK_LEN; in initDao()
476 blocksPerWrite_ = scsiIf_->maxDataLen() / blockLength_; in initDao()
485 n = blocksPerWrite_ * blockLength_; in initDao()
H A DTeacCdr55.cc860 blockLength_ = AUDIO_BLOCK_LEN; in initDao()
861 blocksPerWrite_ = scsiIf_->maxDataLen() / blockLength_; in initDao()
881 n = blocksPerWrite_ * blockLength_; in initDao()
H A DCdrDriver.h401 int blockLength_; // length of data block for 'writeData' command variable
H A DGenericMMC.cc1079 blockLength_ = AUDIO_BLOCK_LEN + MAX_SUBCHANNEL_LEN; in initDao()
1080 blocksPerWrite_ = scsiIf_->maxDataLen() / blockLength_; in initDao()
1126 n = blocksPerWrite_ * blockLength_; in initDao()
H A DCdrDriver.cc889 blockLength_ = 0; in CdrDriver()
2806 if (blockLength_ == blocksize) in setBlockSize()
2826 blockLength_ = blocksize; in setBlockSize()
/dports/science/gromacs/gromacs-2021.4/src/gromacs/applied_forces/awh/
H A Dcorrelationtensor.h89 blockLength_(blockLengthInit), in CorrelationBlockData()
142 double blockLength() const { return blockLength_; } in blockLength()
145 void doubleBlockLength() { blockLength_ *= 2; } in doubleBlockLength()
168 double blockLength_; /**< The length of each block used for block averaging */ variable
H A Dcorrelationhistory.cpp151 blockLength_ = blockHistory.blockLength; in restoreFromHistory()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DCDRInputStream_1_0.java2002 private int blockLength_; field in CDRInputStream_1_0.StreamMemento
2014 blockLength_ = blockLength; in StreamMemento()
2034 blockLength = mem.blockLength_; in restoreInternalState()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DCDRInputStream_1_0.java2002 private int blockLength_; field in CDRInputStream_1_0.StreamMemento
2014 blockLength_ = blockLength; in StreamMemento()
2034 blockLength = mem.blockLength_; in restoreInternalState()