Home
last modified time | relevance | path

Searched refs:availableSize (Results 1 – 25 of 341) sorted by relevance

12345678910>>...14

/dports/graphics/pixie/Pixie/src/ri/
H A Dmemory.h47 int availableSize; // The available number of bytes variable
68 while(stack->availableSize < size) { in ralloc()
76 stack->availableSize = stack->totalSize; in ralloc()
83 stack->availableSize -= size; in ralloc()
99 int savedAvailable = __page->availableSize; \
107 __page->availableSize = savedAvailable; \
114 int availableSize; member
121 __data.availableSize = __stack->availableSize; \
126 __stack->availableSize = __data.availableSize; \
/dports/sysutils/lizardfs/lizardfs-3.12.0/src/mount/
H A Dchunk_reader.cc93 uint32_t availableSize = size; // requested data may lie beyond end of file in readData() local
96 availableSize = 0; in readData()
97 } else if (offsetInFile + availableSize > location_->fileLength) { in readData()
99 availableSize = location_->fileLength - offsetInFile; in readData()
101 if (availableSize == 0) { in readData()
107 buffer.resize(buffer.size() + availableSize, 0); in readData()
111 uint32_t blockToReadCount = (availableSize + MFSBLOCKSIZE - 1) / MFSBLOCKSIZE; in readData()
119 if (!prefetchXorStripes || chunkAlreadyRead || size != availableSize) { in readData()
141 buffer.resize(initialBufferSize + availableSize); in readData()
143 return availableSize; in readData()
/dports/graphics/rawtherapee/rawtherapee-5.8/rtgui/
H A Dinspector.cc116 rtengine::Coord availableSize; in on_draw() local
119 availableSize.x = win->get_width(); in on_draw()
120 availableSize.y = win->get_height(); in on_draw()
124 if (imW < availableSize.x) { in on_draw()
127 dest.x = (availableSize.x - imW) / 2; in on_draw()
131 topLeft.x = center.x + availableSize.x / 2; in on_draw()
133 topLeft.x -= availableSize.x; in on_draw()
137 if (imH < availableSize.y) { in on_draw()
140 dest.y = (availableSize.y - imH) / 2; in on_draw()
146 topLeft.y -= availableSize.y; in on_draw()
[all …]
/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qtbase/examples/network/http/
H A Dmain.cpp81 const QRect availableSize = httpWin.screen()->availableGeometry(); in main() local
82 httpWin.resize(availableSize.width() / 5, availableSize.height() / 5); in main()
83 …httpWin.move((availableSize.width() - httpWin.width()) / 2, (availableSize.height() - httpWin.heig… in main()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/jdk/jfr/event/compiler/
H A DTestCodeCacheFull.java63 private static void testWithBlobType(BlobType btype, long availableSize) throws Exception { in testWithBlobType() argument
67 WhiteBox.getWhiteBox().allocateCodeBlob(availableSize, btype.id); in testWithBlobType()
99 long availableSize = btype.getSize(); in calculateAvailableSize() local
102 availableSize = Math.max(availableSize, alternative.getSize()); in calculateAvailableSize()
105 return availableSize; in calculateAvailableSize()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/jdk/jfr/event/compiler/
H A DTestCodeCacheFull.java63 private static void testWithBlobType(BlobType btype, long availableSize) throws Exception { in testWithBlobType() argument
67 WhiteBox.getWhiteBox().allocateCodeBlob(availableSize, btype.id); in testWithBlobType()
99 long availableSize = btype.getSize(); in calculateAvailableSize() local
102 availableSize = Math.max(availableSize, alternative.getSize()); in calculateAvailableSize()
105 return availableSize; in calculateAvailableSize()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/jdk/jfr/event/compiler/
H A DTestCodeCacheFull.java61 private static void testWithBlobType(BlobType btype, long availableSize) throws Exception { in testWithBlobType() argument
65 WhiteBox.getWhiteBox().allocateCodeBlob(availableSize, btype.id); in testWithBlobType()
97 long availableSize = btype.getSize(); in calculateAvailableSize() local
100 availableSize = Math.max(availableSize, alternative.getSize()); in calculateAvailableSize()
103 return availableSize; in calculateAvailableSize()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/jdk/jfr/event/compiler/
H A DTestCodeCacheFull.java63 private static void testWithBlobType(BlobType btype, long availableSize) throws Exception { in testWithBlobType() argument
67 WhiteBox.getWhiteBox().allocateCodeBlob(availableSize, btype.id); in testWithBlobType()
99 long availableSize = btype.getSize(); in calculateAvailableSize() local
102 availableSize = Math.max(availableSize, alternative.getSize()); in calculateAvailableSize()
105 return availableSize; in calculateAvailableSize()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/jdk/jfr/event/compiler/
H A DTestCodeCacheFull.java63 private static void testWithBlobType(BlobType btype, long availableSize) throws Exception { in testWithBlobType() argument
67 WhiteBox.getWhiteBox().allocateCodeBlob(availableSize, btype.id); in testWithBlobType()
99 long availableSize = btype.getSize(); in calculateAvailableSize() local
102 availableSize = Math.max(availableSize, alternative.getSize()); in calculateAvailableSize()
105 return availableSize; in calculateAvailableSize()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/jdk/jfr/event/compiler/
H A DTestCodeCacheFull.java63 private static void testWithBlobType(BlobType btype, long availableSize) throws Exception { in testWithBlobType() argument
67 WhiteBox.getWhiteBox().allocateCodeBlob(availableSize, btype.id); in testWithBlobType()
99 long availableSize = btype.getSize(); in calculateAvailableSize() local
102 availableSize = Math.max(availableSize, alternative.getSize()); in calculateAvailableSize()
105 return availableSize; in calculateAvailableSize()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/jdk/jfr/event/compiler/
H A DTestCodeCacheFull.java63 private static void testWithBlobType(BlobType btype, long availableSize) throws Exception { in testWithBlobType() argument
67 WhiteBox.getWhiteBox().allocateCodeBlob(availableSize, btype.id); in testWithBlobType()
99 long availableSize = btype.getSize(); in calculateAvailableSize() local
102 availableSize = Math.max(availableSize, alternative.getSize()); in calculateAvailableSize()
105 return availableSize; in calculateAvailableSize()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/jdk/jfr/event/compiler/
H A DTestCodeCacheFull.java63 private static void testWithBlobType(BlobType btype, long availableSize) throws Exception { in testWithBlobType() argument
67 WhiteBox.getWhiteBox().allocateCodeBlob(availableSize, btype.id); in testWithBlobType()
99 long availableSize = btype.getSize(); in calculateAvailableSize() local
102 availableSize = Math.max(availableSize, alternative.getSize()); in calculateAvailableSize()
105 return availableSize; in calculateAvailableSize()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/jdk/jfr/event/compiler/
H A DTestCodeCacheFull.java62 private static void testWithBlobType(BlobType btype, long availableSize) throws Exception { in testWithBlobType() argument
66 WhiteBox.getWhiteBox().allocateCodeBlob(availableSize, btype.id); in testWithBlobType()
98 long availableSize = btype.getSize(); in calculateAvailableSize() local
101 availableSize = Math.max(availableSize, alternative.getSize()); in calculateAvailableSize()
104 return availableSize; in calculateAvailableSize()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/jdk/jfr/event/compiler/
H A DTestCodeCacheFull.java62 private static void testWithBlobType(BlobType btype, long availableSize) throws Exception { in testWithBlobType() argument
66 WhiteBox.getWhiteBox().allocateCodeBlob(availableSize, btype.id); in testWithBlobType()
98 long availableSize = btype.getSize(); in calculateAvailableSize() local
101 availableSize = Math.max(availableSize, alternative.getSize()); in calculateAvailableSize()
104 return availableSize; in calculateAvailableSize()
/dports/devel/lazygit/lazygit-0.31.4/pkg/gui/boxlayout/
H A Dboxlayout.go65 var availableSize int
67 availableSize = width
69 availableSize = height
81 remainingSize := availableSize - reservedSize
101 if boxSize > availableSize {
102 boxSize = availableSize
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/
H A DBackupStore.java434 int availableSize = blockSize - usedSize; in reserveSpace() local
445 availableSize = createNewMemoryBlock(tmp, in reserveSpace()
448 return (availableSize == 0) ? false : true; in reserveSpace()
585 private int availableSize = 0; field in BackupStore.BackupRamManager
589 availableSize = maxSize = size; in BackupRamManager()
599 if (availableSize == 0) { in reserve()
603 availableSize -= reservedSize; in reserve()
609 if (availableSize < minSize) { in reserve()
619 availableSize += requestedSize; in unreserve()
621 ". Available: " + availableSize); in unreserve()
[all …]
/dports/graphics/libavif/libavif-0.9.3/src/
H A Dio.c42 uint64_t availableSize = reader->rodata.size - offset; in avifIOMemoryReaderRead() local
43 if (size > availableSize) { in avifIOMemoryReaderRead()
44 size = (size_t)availableSize; in avifIOMemoryReaderRead()
96 uint64_t availableSize = reader->io.sizeHint - offset; in avifIOFileReaderRead() local
97 if (size > availableSize) { in avifIOFileReaderRead()
98 size = (size_t)availableSize; in avifIOFileReaderRead()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libavif/src/src/
H A Dio.c42 uint64_t availableSize = reader->rodata.size - offset; in avifIOMemoryReaderRead() local
43 if (size > availableSize) { in avifIOMemoryReaderRead()
44 size = (size_t)availableSize; in avifIOMemoryReaderRead()
96 uint64_t availableSize = reader->io.sizeHint - offset; in avifIOFileReaderRead() local
97 if (size > availableSize) { in avifIOFileReaderRead()
98 size = (size_t)availableSize; in avifIOFileReaderRead()
/dports/net/grive2/grive2-ffb744a/libgrive/src/util/
H A DProgressBar.cc57 int availableSize = determineTerminalSize() - 36; in reportProgress() local
59 if (availableSize > 100) in reportProgress()
61 else if (availableSize < 0) in reportProgress()
64 totalDots = availableSize; in reportProgress()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/utilities/
H A Dheap_allocator.h35 …4_t size, size_t allocationAlignment, size_t threshold) : size(size), availableSize(size), allocat… in HeapAllocator()
56 if (availableSize < sizeToAllocate) { in allocateWithCustomAlignment()
94 availableSize -= sizeOfFreedChunk; in allocateWithCustomAlignment()
97 availableSize -= sizeToAllocate; in allocateWithCustomAlignment()
129 availableSize += size; in free()
133 return availableSize; in getLeftSize()
137 return size - availableSize; in getUsedSize()
142 return static_cast<double>(size - availableSize) / size; in getUsage()
147 uint64_t availableSize; variable
/dports/graphics/digikam/digikam-7.4.0/core/utilities/geolocation/geoiface/items/
H A Dgpsitemdelegate.cpp95 const QSize availableSize = option.rect.size(); in paint() local
96 const QSize pixmapSize = itemPixmap.size().boundedTo(availableSize); in paint()
97 QPoint startPoint((availableSize.width() - pixmapSize.width()) / 2, in paint()
98 (availableSize.height() - pixmapSize.height()) / 2); in paint()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/
H A DSerializedDebugData.cs207 int availableSize = (_activePhysicalBufferAvailableSize < requestedSize) ? in GetPhysicalBuffer()
210 _activePhysicalBufferAvailableSize -= availableSize; in GetPhysicalBuffer()
212 _activePhysicalBufferOffset += availableSize; in GetPhysicalBuffer()
213 return availableSize; in GetPhysicalBuffer()
230 int availableSize = GetPhysicalBuffer(requiredSize, out dst); in ThreadSafeWriteBytes()
231 if (availableSize < requiredSize) in ThreadSafeWriteBytes()
235 availableSize = GetPhysicalBuffer(requiredSize, out dst); in ThreadSafeWriteBytes()
236 if (availableSize < requiredSize) in ThreadSafeWriteBytes()
/dports/www/e107/e107/e107_handlers/vendor/hybridauth/hybridauth/src/Provider/
H A DSlack.php90 $availableSize = (int)$matches[1];
91 if ($maxSize < $availableSize) {
92 $maxSize = $availableSize;
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/players/
H A Dplayer_apple2.h73 uint32 avail = availableSize(); in ensureFree()
98 uint32 availableSize() const { in availableSize() function
112 uint32 avail = availableSize(); in read()
160 uint32 availableSize() const { in availableSize() function
161 return _buffer.availableSize(); in availableSize()
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/players/
H A Dplayer_apple2.h73 uint32 avail = availableSize(); in ensureFree()
98 uint32 availableSize() const { in availableSize() function
112 uint32 avail = availableSize(); in read()
160 uint32 availableSize() const { in availableSize() function
161 return _buffer.availableSize(); in availableSize()

12345678910>>...14