Home
last modified time | relevance | path

Searched refs:totalBlocks (Results 1 – 25 of 174) sorted by relevance

1234567

/dports/sysutils/hfsexplorer/hfsexplorer-hfsexplorer-0.23.1/src/java/org/catacombae/hfs/types/hfsplus/
H A DHFSPlusForkData.java41 private final byte[] totalBlocks = new byte[4]; field in HFSPlusForkData
51 System.arraycopy(data, offset+12, totalBlocks, 0, 4); in HFSPlusForkData()
67 return Util.readIntBE(totalBlocks); in getTotalBlocks()
102 System.arraycopy(totalBlocks, 0, result, offset, totalBlocks.length); offset += totalBlocks.length; in getBytes()
114 db.addUIntBE("totalBlocks", totalBlocks, "Total blocks"); in getStructElements()
128 private void _setTotalBlocks(int totalBlocks) { in _setTotalBlocks() argument
129 Util.arrayPutBE(this.totalBlocks, 0, (int) totalBlocks); in _setTotalBlocks()
139 Util.arrayCopy(forkData.totalBlocks, this.totalBlocks); in _set()
164 public void setTotalBlocks(int totalBlocks) { in setTotalBlocks() argument
165 super._setTotalBlocks(totalBlocks); in setTotalBlocks()
H A DHFSPlusVolumeHeader.java84 private final byte[] totalBlocks = new byte[4]; field in HFSPlusVolumeHeader
121 System.arraycopy(data, offset+44, totalBlocks, 0, 4); in HFSPlusVolumeHeader()
177 … public int getTotalBlocks() { return Util.readIntBE(totalBlocks); } // UInt32 0x2C in getTotalBlocks()
358 db.addUIntBE("totalBlocks", totalBlocks, "Number of blocks"); in getStructElements()
439 private void _setTotalBlocks(int totalBlocks) { in _setTotalBlocks() argument
440 Util.arrayPutBE(this.totalBlocks, 0, (int) totalBlocks); in _setTotalBlocks()
536 Util.arrayCopy(header.totalBlocks, this.totalBlocks); in _set()
618 public void setTotalBlocks(int totalBlocks) { in setTotalBlocks() argument
619 super._setTotalBlocks(totalBlocks); in setTotalBlocks()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/
H A DTestDirectoryScanner.java285 assertEquals(totalBlocks, stats.totalBlocks); in scan()
400 long totalBlocks = 100; in runTest() local
407 scan(totalBlocks, 1, 1, 0, 0, 1); in runTest()
409 scan(totalBlocks, 0, 0, 0, 0, 0); in runTest()
413 scan(totalBlocks, 1, 0, 1, 0, 0); in runTest()
414 totalBlocks--; in runTest()
421 totalBlocks++; in runTest()
437 totalBlocks++; in runTest()
454 totalBlocks -= 10; in runTest()
461 totalBlocks += 10; in runTest()
[all …]
/dports/sysutils/hfsexplorer/hfsexplorer-hfsexplorer-0.23.1/src/java/org/catacombae/hfs/
H A DAllocationFile.java115 final long totalBlocks = vh.getTotalBlocks(); in countBlocks() local
126 while(blockCount < totalBlocks && !stop.o) { in countBlocks()
136 for(int i = 0; i < bytesRead && blockCount < totalBlocks && !stop.o; ++i) { in countBlocks()
138 for(int j = 0; j < 8 && blockCount < totalBlocks && !stop.o; ++j) { in countBlocks()
149 if(blockCount != totalBlocks) in countBlocks()
151 ") != totalBlocks(" + totalBlocks + ")"); in countBlocks()
158 return totalBlocks; in countBlocks()
194 final long totalBlocks = vh.getTotalBlocks(); in findFreeSpace() local
221 for(int i = 0; i < totalBlocks; ++i) { in findFreeSpace()
/dports/science/lammps/lammps-stable_29Sep2021/lib/gpu/cudpp_mini/kernel/
H A Dradixsort_kernel.cu231 uint numElements, uint totalBlocks) in LAUNCH_BOUNDS()
240 while (!loop || blockId < totalBlocks) in LAUNCH_BOUNDS()
356 uint totalBlocks) in LAUNCH_BOUNDS()
363 while (!loop || blockId < totalBlocks) in LAUNCH_BOUNDS()
434 counters[threadIdx.x * totalBlocks + blockId] = in LAUNCH_BOUNDS()
493 uint totalBlocks) in LAUNCH_BOUNDS()
505 while (!loop || blockId < totalBlocks) in LAUNCH_BOUNDS()
592 if(blockId < totalBlocks - 1 || outOffset < numElements) in LAUNCH_BOUNDS()
647 while (!loop || blockId < totalBlocks) in LAUNCH_BOUNDS()
758 uint totalBlocks) in LAUNCH_BOUNDS()
[all …]
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/gpu/cudpp_mini/kernel/
H A Dradixsort_kernel.cu231 uint numElements, uint totalBlocks) in LAUNCH_BOUNDS()
240 while (!loop || blockId < totalBlocks) in LAUNCH_BOUNDS()
356 uint totalBlocks) in LAUNCH_BOUNDS()
363 while (!loop || blockId < totalBlocks) in LAUNCH_BOUNDS()
434 counters[threadIdx.x * totalBlocks + blockId] = in LAUNCH_BOUNDS()
493 uint totalBlocks) in LAUNCH_BOUNDS()
505 while (!loop || blockId < totalBlocks) in LAUNCH_BOUNDS()
592 if(blockId < totalBlocks - 1 || outOffset < numElements) in LAUNCH_BOUNDS()
647 while (!loop || blockId < totalBlocks) in LAUNCH_BOUNDS()
758 uint totalBlocks) in LAUNCH_BOUNDS()
[all …]
/dports/devel/hadoop/hadoop-1.2.1/src/hdfs/org/apache/hadoop/hdfs/server/namenode/
H A DNamenodeFsck.java234 res.totalBlocks += blocks.locatedBlockCount(); in check()
566 private long totalBlocks = 0L; field in NamenodeFsck.Result
596 if (totalBlocks == 0) in getReplicationFactor()
598 return (float) (totalReplicas) / (float) totalBlocks; in getReplicationFactor()
613 res.append("\n Total blocks (validated):\t" + totalBlocks); in toString()
614 if (totalBlocks > 0) res.append(" (avg. block size " in toString()
615 + (totalSize / totalBlocks) + " B)"); in toString()
632 …if (totalBlocks > 0) res.append(" (" + ((float) (numMinReplicatedBlocks * 100) / (float) to… in toString()
634 …if (totalBlocks > 0) res.append(" (" + ((float) (numOverReplicatedBlocks * 100) / (float) t… in toString()
636 …if (totalBlocks > 0) res.append(" (" + ((float) (numUnderReplicatedBlocks * 100) / (float) in toString()
[all …]
/dports/audio/kexis/kexis/
H A Ddecode.c35 unsigned long totalBlocks; in decompress() local
51 totalBlocks = kexisHead->dataLength; in decompress()
53 totalBlocks = totalBlocks / 2; in decompress()
79 while(kexisBlock.sumTotalSize < totalBlocks) { in decompress()
84 totalBlocks, DECOMPRESS); in decompress()
/dports/sysutils/di/di-4.50/D/
H A Ddisplay.d475 dispData.dps.tot.totalBlocks += dp.totalBlocks; in displayPartitions()
483 dispData.dps.tot.totalBlocks += dp.totalBlocks - dp.freeBlocks; in displayPartitions()
535 rval = dp.totalBlocks;
615 rval = dp.totalBlocks;
627 rval = dp.totalBlocks - dp.freeBlocks;
651 rval = dp.totalBlocks;
658 rval = dp.totalBlocks;
659 uval = dp.totalBlocks - dp.freeBlocks;
666 uval = dp.totalBlocks - dp.freeBlocks;
672 rval = dp.totalBlocks;
[all …]
H A Ddiskpart.d28 real totalBlocks; member
57 this.totalBlocks = 0.0; in initDiskPartition()
226 dp.totalBlocks = cast(typeof(dp.totalBlocks)) sp.f_blocks * in getEntries()
330 dp.totalBlocks = cast(typeof(dp.totalBlocks)) statBuf.f_blocks * in getPartitionInfo()
348 dp.blockSize, dp.totalBlocks, dp.freeBlocks, dp.availBlocks); in getPartitionInfo()
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/ooni/psiphon/oopsi/github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/common/crypto/Yawning/chacha20/
H A Dchacha20_amd64.go33 var totalBlocks uint64
34 totalBlocks = uint64(x[12]) + uint64(nrBlocks)
35 if totalBlocks > math.MaxUint32 {
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/ooni/psiphon/oopsi/github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/common/crypto/Yawning/chacha20/
H A Dchacha20_amd64.go33 var totalBlocks uint64
34 totalBlocks = uint64(x[12]) + uint64(nrBlocks)
35 if totalBlocks > math.MaxUint32 {
/dports/lang/mono/mono-5.10.1.57/external/api-doc-tools/external/SharpZipLib/ICSharpCode.SharpZipLib.Tests/Tar/
H A DTarTests.cs86 int totalBlocks = usedBlocks + (factor - 1); in BlockFactorHandling()
87 totalBlocks /= factor; in BlockFactorHandling()
88 totalBlocks *= factor; in BlockFactorHandling()
91 totalBlocks); in BlockFactorHandling()
93 if (usedBlocks < totalBlocks) { in BlockFactorHandling()
150 int totalBlocks = usedBlocks + (TestBlockFactor - 1); in TrailerContainsNulls()
151 totalBlocks /= TestBlockFactor; in TrailerContainsNulls()
152 totalBlocks *= TestBlockFactor; in TrailerContainsNulls()
154 Assert.AreEqual(TarBuffer.BlockSize * totalBlocks, tarData.Length, in TrailerContainsNulls()
155 string.Format("Tar file should be {0} blocks in length", totalBlocks)); in TrailerContainsNulls()
[all …]
/dports/devel/hadoop/hadoop-1.2.1/src/hdfs/org/apache/hadoop/hdfs/tools/offlineImageViewer/
H A DFileDistributionVisitor.java63 private int totalBlocks; field in FileDistributionVisitor
93 this.totalBlocks = 0; in FileDistributionVisitor()
109 System.out.println("totalBlocks = " + totalBlocks); in finish()
128 totalBlocks += current.numBlocks; in leaveEnclosingElement()
/dports/sysutils/sleuthkit/sleuthkit-4.7.0/tsk/img/
H A Dimg_writer.cpp111 if ((blockNum == writer->totalBlocks - 1) && (writer->imageSize % writer->blockSize != 0)) { in checkIfBlockIsFinished()
495 addIntToBuffer(diskHeader, 0x1c, writer->totalBlocks, 4); // Blocks on disk in writeDynamicDiskHeader()
581 for (uint32_t i = 0; i < img_writer->totalBlocks; i++) { in tsk_img_writer_close()
621 for (TSK_OFF_T i = 0; i < img_writer->totalBlocks; i++) { in tsk_img_writer_finish_image()
628 img_writer->finishProgress = (int)((i * 100) / img_writer->totalBlocks); in tsk_img_writer_finish_image()
733 writer->totalBlocks = uint32_t(writer->imageSize / writer->blockSize); in tsk_img_writer_create()
735 writer->totalBlocks++; in tsk_img_writer_create()
780 uint32_t batLengthOnDisk = 4 * writer->totalBlocks; in tsk_img_writer_create()
783 batLengthOnDisk += (VHD_SECTOR_SIZE - ((4 * writer->totalBlocks) % VHD_SECTOR_SIZE)); in tsk_img_writer_create()
805 writer->blockToSectorNumber = (uint32_t*)tsk_malloc(writer->totalBlocks * sizeof(uint32_t)); in tsk_img_writer_create()
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/
H A DFileDistributionVisitor.java63 private int totalBlocks; field in FileDistributionVisitor
93 this.totalBlocks = 0; in FileDistributionVisitor()
121 System.out.println("totalBlocks = " + totalBlocks); in output()
139 totalBlocks += current.numBlocks; in leaveEnclosingElement()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/
H A DNamenodeFsck.java479 res.totalBlocks += blocks.locatedBlockCount(); in check()
863 long totalBlocks = 0L; field in NamenodeFsck.Result
899 if (totalBlocks == 0) in getReplicationFactor()
901 return (float) (totalReplicas) / (float) totalBlocks; in getReplicationFactor()
920 res.append("\n Total blocks (validated):\t").append(totalBlocks); in toString()
921 if (totalBlocks > 0) { in toString()
933 if(totalBlocks>0){ in toString()
956 if (totalBlocks > 0) { in toString()
963 if (totalBlocks > 0) { in toString()
970 if (totalBlocks > 0) { in toString()
[all …]
/dports/sysutils/py-pytsk/pytsk3-20210419/sleuthkit/tsk/img/
H A Dimg_writer.cpp111 if ((blockNum == writer->totalBlocks - 1) && (writer->imageSize % writer->blockSize != 0)) { in checkIfBlockIsFinished()
501 addIntToBuffer(diskHeader, 0x1c, writer->totalBlocks, 4); // Blocks on disk in writeDynamicDiskHeader()
589 for (uint32_t i = 0; i < img_writer->totalBlocks; i++) { in tsk_img_writer_close()
633 for (TSK_OFF_T i = 0; i < img_writer->totalBlocks; i++) { in tsk_img_writer_finish_image()
640 img_writer->finishProgress = (int)((i * 100) / img_writer->totalBlocks); in tsk_img_writer_finish_image()
754 writer->totalBlocks = uint32_t(writer->imageSize / writer->blockSize); in tsk_img_writer_create()
756 writer->totalBlocks++; in tsk_img_writer_create()
807 uint32_t batLengthOnDisk = 4 * writer->totalBlocks; in tsk_img_writer_create()
810 batLengthOnDisk += (VHD_SECTOR_SIZE - ((4 * writer->totalBlocks) % VHD_SECTOR_SIZE)); in tsk_img_writer_create()
838 …if ((writer->blockToSectorNumber = (uint32_t*)tsk_malloc(writer->totalBlocks * sizeof(uint32_t))) … in tsk_img_writer_create()
[all …]
/dports/archivers/7-zip/7-zip-21.07/CPP/7zip/Archive/
H A DVdiHandler.cpp325 const UInt32 totalBlocks = Get32(buf + 0x180); in Open2() local
353 UInt64 size2 = (UInt64)totalBlocks << k_ClusterBits; in Open2()
367 if ((tableReserved >> 2) < totalBlocks) in Open2()
373 const size_t numBytes = (size_t)totalBlocks * 4; in Open2()
374 if ((numBytes >> 2) != totalBlocks) in Open2()
385 for (UInt32 i = 0; i < totalBlocks; i++) in Open2()
/dports/archivers/maxcso/maxcso-1.10.0/7zip/CPP/7zip/Archive/
H A DVdiHandler.cpp316 const UInt32 totalBlocks = Get32(buf + 0x180); in Open2() local
344 UInt64 size2 = (UInt64)totalBlocks << k_ClusterBits; in Open2()
358 if ((tableReserved >> 2) < totalBlocks) in Open2()
364 const size_t numBytes = (size_t)totalBlocks * 4; in Open2()
365 if ((numBytes >> 2) != totalBlocks) in Open2()
376 for (UInt32 i = 0; i < totalBlocks; i++) in Open2()
/dports/sysutils/hfsexplorer/hfsexplorer-hfsexplorer-0.23.1/src/java/org/catacombae/storage/fs/hfscommon/
H A DHFSCommonAttributeFork.java153 long totalBlocks = 0; in getReadableRandomAccessStream() local
159 totalBlocks += desc.getBlockCount(); in getReadableRandomAccessStream()
171 if(nextRecord.getKey().getStartBlock() != totalBlocks) { in getReadableRandomAccessStream()
174 totalBlocks + " actual: " + in getReadableRandomAccessStream()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/wechat_qrcode/src/zxing/qrcode/decoder/
H A Ddatablock.cpp32 int totalBlocks = 0; in getDataBlocks() local
35 totalBlocks += ecBlockArray[i]->getCount(); in getDataBlocks()
40 std::vector<Ref<DataBlock> > result(totalBlocks); in getDataBlocks()
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/influxdata/influxdb/cmd/influx_inspect/verify/tsm/
H A Dverify.go48 totalBlocks := 0
86 totalBlocks++
103 …fmt.Fprintf(tw, "Broken Blocks: %d / %d, in %vs\n", brokenBlocks, totalBlocks, time.Since(start).S…
/dports/security/clamav-lts/clamav-0.103.5/libclamav/
H A Dhfsplus.c109 fork->totalBlocks = be32_to_host(fork->totalBlocks); in forkdata_to_host()
121 fork->logicalSize, fork->clumpSize, fork->totalBlocks); in forkdata_print()
174 volHeader->totalBlocks = be32_to_host(volHeader->totalBlocks); in hfsplus_volumeheader()
182 cli_dbgmsg("Total Blocks: " STDu32 "\n", volHeader->totalBlocks); in hfsplus_volumeheader()
332 if (!fork || (fork->logicalSize == 0) || (fork->totalBlocks == 0)) { in hfsplus_scanfile()
366 if (outputBlocks >= fork->totalBlocks) { in hfsplus_scanfile()
392 … ((currBlock > volHeader->totalBlocks) || (endBlock > volHeader->totalBlocks) || (currExt->blockCo… in hfsplus_scanfile()
422 if (outputBlocks >= fork->totalBlocks) { in hfsplus_scanfile()
462 if (catFork->totalBlocks >= volHeader->totalBlocks) { in hfsplus_validate_catalog()
662 if (startBlock >= catFork->totalBlocks || endBlock >= catFork->totalBlocks) { in hfsplus_fetch_node()
[all …]
/dports/security/clamav/clamav-0.104.2/libclamav/
H A Dhfsplus.c109 fork->totalBlocks = be32_to_host(fork->totalBlocks); in forkdata_to_host()
121 fork->logicalSize, fork->clumpSize, fork->totalBlocks); in forkdata_print()
174 volHeader->totalBlocks = be32_to_host(volHeader->totalBlocks); in hfsplus_volumeheader()
182 cli_dbgmsg("Total Blocks: " STDu32 "\n", volHeader->totalBlocks); in hfsplus_volumeheader()
332 if (!fork || (fork->logicalSize == 0) || (fork->totalBlocks == 0)) { in hfsplus_scanfile()
366 if (outputBlocks >= fork->totalBlocks) { in hfsplus_scanfile()
392 … ((currBlock > volHeader->totalBlocks) || (endBlock > volHeader->totalBlocks) || (currExt->blockCo… in hfsplus_scanfile()
422 if (outputBlocks >= fork->totalBlocks) { in hfsplus_scanfile()
462 if (catFork->totalBlocks >= volHeader->totalBlocks) { in hfsplus_validate_catalog()
662 if (startBlock >= catFork->totalBlocks || endBlock >= catFork->totalBlocks) { in hfsplus_fetch_node()
[all …]

1234567