Home
last modified time | relevance | path

Searched refs:nextSize (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/dports/games/scummvm/scummvm-2.5.1/engines/icb/common/
H A Dpx_array.h128 …uint32 nextSize = m_allocatedSize ? m_allocatedSize + m_allocatedSize : 1; // Double, or 1 if now 0 in ResizeArray() local
129 while (nextSize <= n2) in ResizeArray()
130 nextSize += nextSize; in ResizeArray()
133 Type **newArray = new Type *[nextSize]; in ResizeArray()
139 for (uint32 newObjects = m_allocatedSize; newObjects < nextSize; newObjects++) in ResizeArray()
145 m_allocatedSize = nextSize; in ResizeArray()
226 uint32 nextSize = m_noContents > 0 ? m_noContents + m_noContents : 1; in ResizeArray() local
227 while (n2 >= nextSize) in ResizeArray()
228 nextSize = nextSize + nextSize; in ResizeArray()
230 Type **newArray = new Type *[nextSize]; in ResizeArray()
[all …]
/dports/graphics/gpxsee/GPXSee-7.32/src/map/IMG/
H A Dhuffmanstream.h61 quint8 nextSize = qMin((quint64)(32 - _symbolDataSize), in read() local
64 if (!_bs.read(nextSize, next)) in read()
67 _symbolData = (_symbolData << nextSize) | next; in read()
68 _symbolDataSize += nextSize; in read()
85 quint8 nextSize = qMin((quint64)(32 - _symbolDataSize), _bs.bitsAvailable()); in readSymbol() local
87 if (!_bs.read(nextSize, next)) in readSymbol()
90 _symbolData = (_symbolData << nextSize) | next; in readSymbol()
91 _symbolDataSize += nextSize; in readSymbol()
/dports/devel/capnproto080/capnproto-0.8.0/c++/src/capnp/
H A Dmessage.c++214 : nextSize(firstSegmentWords), allocationStrategy(allocationStrategy), in MallocMessageBuilder()
219 : nextSize(firstSegment.size()), allocationStrategy(allocationStrategy), in MallocMessageBuilder()
251 KJ_ASSERT(bounded(nextSize) * WORDS <= MAX_SEGMENT_WORDS, in allocateSegment()
255 kj::ArrayPtr<word> result = kj::arrayPtr(reinterpret_cast<word*>(firstSegment), nextSize); in allocateSegment()
266 uint size = kj::max(minimumSize, nextSize); in allocateSegment()
278 if (allocationStrategy == AllocationStrategy::GROW_HEURISTICALLY) nextSize = size; in allocateSegment()
284 nextSize = (size <= unbound(MAX_SEGMENT_WORDS / WORDS) - nextSize) in allocateSegment()
285 ? nextSize + size : unbound(MAX_SEGMENT_WORDS / WORDS); in allocateSegment()
/dports/devel/capnproto/capnproto-0.9.0/c++/src/capnp/
H A Dmessage.c++214 : nextSize(firstSegmentWords), allocationStrategy(allocationStrategy), in MallocMessageBuilder()
219 : nextSize(firstSegment.size()), allocationStrategy(allocationStrategy), in MallocMessageBuilder()
251 KJ_ASSERT(bounded(nextSize) * WORDS <= MAX_SEGMENT_WORDS, in allocateSegment()
255 kj::ArrayPtr<word> result = kj::arrayPtr(reinterpret_cast<word*>(firstSegment), nextSize); in allocateSegment()
266 uint size = kj::max(minimumSize, nextSize); in allocateSegment()
278 if (allocationStrategy == AllocationStrategy::GROW_HEURISTICALLY) nextSize = size; in allocateSegment()
284 nextSize = (size <= unbound(MAX_SEGMENT_WORDS / WORDS) - nextSize) in allocateSegment()
285 ? nextSize + size : unbound(MAX_SEGMENT_WORDS / WORDS); in allocateSegment()
/dports/lang/seed7/seed7/prg/
H A Dindigo.dna135 var power: nextSize is 0;
139 nextSize := 0;
142 nextSize := nextSize(ownSize, surrField.foodMass, MAXLIFESPAN);
145 nextSize := 0;
147 nextSize := nextSize(ownSize, surrField.occSize, MAXLIFESPAN);
157 var power: nextSize is 0;
160 nextSize := nextSize(surr[dir].occSize, surr[dir].foodMass, MAXLIFESPAN);
161 nextSize := max(nextSize, showNextSize(surr[dir].occSize, surr[left[dir]]));
162 nextSize := max(nextSize, showNextSize(surr[dir].occSize, surr[right[dir]]));
177 surr.occSize := nextSize(surr.occSize, dinner, ownHunger);
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/util/AbstractCollection/
H A DToArrayTest.java41 private int nextSize; field in ToArrayTest.TestCollection
59 nextSize = 0; in setSizeSequence()
65 return sizes[nextSize == sizes.length - 1 ? nextSize : nextSize++]; in size()
74 return pos < sizes[nextSize]; in iterator()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/util/AbstractCollection/
H A DToArrayTest.java41 private int nextSize; field in ToArrayTest.TestCollection
59 nextSize = 0; in setSizeSequence()
65 return sizes[nextSize == sizes.length - 1 ? nextSize : nextSize++]; in size()
74 return pos < sizes[nextSize]; in iterator()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/util/AbstractCollection/
H A DToArrayTest.java41 private int nextSize; field in ToArrayTest.TestCollection
59 nextSize = 0; in setSizeSequence()
65 return sizes[nextSize == sizes.length - 1 ? nextSize : nextSize++]; in size()
74 return pos < sizes[nextSize]; in iterator()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/util/AbstractCollection/
H A DToArrayTest.java41 private int nextSize; field in ToArrayTest.TestCollection
59 nextSize = 0; in setSizeSequence()
65 return sizes[nextSize == sizes.length - 1 ? nextSize : nextSize++]; in size()
74 return pos < sizes[nextSize]; in iterator()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/util/AbstractCollection/
H A DToArrayTest.java41 private int nextSize; field in ToArrayTest.TestCollection
59 nextSize = 0; in setSizeSequence()
65 return sizes[nextSize == sizes.length - 1 ? nextSize : nextSize++]; in size()
74 return pos < sizes[nextSize]; in iterator()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/util/AbstractCollection/
H A DToArrayTest.java41 private int nextSize; field in ToArrayTest.TestCollection
59 nextSize = 0; in setSizeSequence()
65 return sizes[nextSize == sizes.length - 1 ? nextSize : nextSize++]; in size()
74 return pos < sizes[nextSize]; in iterator()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/util/AbstractCollection/
H A DToArrayTest.java41 private int nextSize; field in ToArrayTest.TestCollection
59 nextSize = 0; in setSizeSequence()
65 return sizes[nextSize == sizes.length - 1 ? nextSize : nextSize++]; in size()
74 return pos < sizes[nextSize]; in iterator()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/java/util/AbstractCollection/
H A DToArrayTest.java41 private int nextSize; field in ToArrayTest.TestCollection
59 nextSize = 0; in setSizeSequence()
65 return sizes[nextSize == sizes.length - 1 ? nextSize : nextSize++]; in size()
74 return pos < sizes[nextSize]; in iterator()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/util/AbstractCollection/
H A DToArrayTest.java41 private int nextSize; field in ToArrayTest.TestCollection
59 nextSize = 0; in setSizeSequence()
65 return sizes[nextSize == sizes.length - 1 ? nextSize : nextSize++]; in size()
74 return pos < sizes[nextSize]; in iterator()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/java/util/AbstractCollection/
H A DToArrayTest.java41 private int nextSize; field in ToArrayTest.TestCollection
59 nextSize = 0; in setSizeSequence()
65 return sizes[nextSize == sizes.length - 1 ? nextSize : nextSize++]; in size()
74 return pos < sizes[nextSize]; in iterator()
/dports/devel/lazygit/lazygit-0.31.4/vendor/github.com/sahilm/fuzzy/fuzzy-0.1.0/
H A Dfuzzy.go111 nextc, nextSize := utf8.DecodeRuneInString(data.String(i))
115 candidate, candidateSize = nextc, nextSize
146 nextc, nextSize = rune(data.String(i)[j+candidateSize]), 1
148 nextc, nextSize = utf8.DecodeRuneInString(data.String(i)[j+candidateSize:])
151 nextc, nextSize = 0, 0
/dports/devel/lazygit/lazygit-0.31.4/vendor/github.com/sahilm/fuzzy/
H A Dfuzzy.go111 nextc, nextSize := utf8.DecodeRuneInString(data.String(i))
115 candidate, candidateSize = nextc, nextSize
146 nextc, nextSize = rune(data.String(i)[j+candidateSize]), 1
148 nextc, nextSize = utf8.DecodeRuneInString(data.String(i)[j+candidateSize:])
151 nextc, nextSize = 0, 0
/dports/archivers/7-zip/7-zip-21.07/CPP/7zip/Archive/
H A DLzhHandler.cpp317 UInt16 nextSize; in GetNextItem() local
318 p = ReadUInt16(p, nextSize); in GetNextItem()
319 while (nextSize != 0) in GetNextItem()
321 if (nextSize < 3) in GetNextItem()
325 if (item.PackSize < nextSize) in GetNextItem()
327 item.PackSize -= nextSize; in GetNextItem()
333 nextSize = (UInt16)(nextSize - 3); in GetNextItem()
334 ext.Data.Alloc(nextSize); in GetNextItem()
335 RINOK(ReadStream_FALSE(stream, (Byte *)ext.Data, nextSize)) in GetNextItem()
339 ReadUInt16(hdr2, nextSize); in GetNextItem()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/optflow/src/
H A Ddeepflow.cpp103 Size nextSize((int) (prev.cols * downscaleFactor + 0.5f), in buildPyramid() local
105 if( nextSize.height <= minSize || nextSize.width <= minSize) in buildPyramid()
108 nextSize, 0, 0, in buildPyramid()
/dports/archivers/maxcso/maxcso-1.10.0/7zip/CPP/7zip/Archive/
H A DLzhHandler.cpp319 UInt16 nextSize; in GetNextItem() local
320 p = ReadUInt16(p, nextSize); in GetNextItem()
321 while (nextSize != 0) in GetNextItem()
323 if (nextSize < 3) in GetNextItem()
327 if (item.PackSize < nextSize) in GetNextItem()
329 item.PackSize -= nextSize; in GetNextItem()
335 nextSize -= 3; in GetNextItem()
336 ext.Data.Alloc(nextSize); in GetNextItem()
337 RINOK(ReadStream_FALSE(stream, (Byte *)ext.Data, nextSize)) in GetNextItem()
341 ReadUInt16(hdr2, nextSize); in GetNextItem()
/dports/graphics/libbpg/libbpg-0.9.8/x265/source/encoder/
H A Dnal.cpp68 …uint32_t nextSize = m_occupancy + sizeof(startCodePrefix) + 2 + payloadSize + (payloadSize >> 1) +… in serialize() local
69 if (nextSize > m_allocSize) in serialize()
71 uint8_t *temp = X265_MALLOC(uint8_t, nextSize); in serialize()
82 m_allocSize = nextSize; in serialize()
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/wai-extra-3.0.29.2/Network/Wai/
H A DRequest.hs96 let nextSize = sz + fromIntegral (S.length bs) function
97 in (nextSize, nextSize)
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/wai-extra-3.0.29.1/Network/Wai/
H A DRequest.hs96 let nextSize = sz + fromIntegral (S.length bs) function
97 in (nextSize, nextSize)
/dports/www/hs-yesod-bin/yesod-bin-1.6.1/_cabal_deps/wai-extra-3.1.6/Network/Wai/
H A DRequest.hs96 let nextSize = sz + fromIntegral (S.length bs) function
97 in (nextSize, nextSize)
/dports/www/hs-wai-app-static/wai-app-static-3.1.7.2/_cabal_deps/wai-extra-3.1.6/Network/Wai/
H A DRequest.hs96 let nextSize = sz + fromIntegral (S.length bs) function
97 in (nextSize, nextSize)

12345678910>>...13