Home
last modified time | relevance | path

Searched refs:lastByte (Results 1 – 25 of 702) sorted by relevance

12345678910>>...29

/dports/www/wt/wt-4.6.1/test/private/
H A DHttpTest.C21 BOOST_REQUIRE(ranges[0].lastByte() == 24); in BOOST_AUTO_TEST_CASE()
26 BOOST_REQUIRE(ranges[0].lastByte() == 2); in BOOST_AUTO_TEST_CASE()
28 BOOST_REQUIRE(ranges[1].lastByte() == 18); in BOOST_AUTO_TEST_CASE()
30 BOOST_REQUIRE(ranges[2].lastByte() == 900); in BOOST_AUTO_TEST_CASE()
47 BOOST_REQUIRE(ranges[0].lastByte() == 499); in BOOST_AUTO_TEST_CASE()
52 BOOST_REQUIRE(ranges[0].lastByte() == 999); in BOOST_AUTO_TEST_CASE()
68 BOOST_REQUIRE(ranges[0].lastByte() == 600); in BOOST_AUTO_TEST_CASE()
70 BOOST_REQUIRE(ranges[1].lastByte() == 999); in BOOST_AUTO_TEST_CASE()
75 BOOST_REQUIRE(ranges[0].lastByte() == 700); in BOOST_AUTO_TEST_CASE()
85 BOOST_REQUIRE(ranges[0].lastByte() == 2); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.team/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/streams/
H A DCRLFtoLFInputStream.java30 private int lastByte = -1; field in CRLFtoLFInputStream
50 lastByte = in.read(); // ok if this throws in read()
53 if (lastByte == '\r') { in read()
54 lastByte = in.read(); // ok if this throws in read()
55 if (lastByte != '\n') { in read()
56 if (lastByte == -1) pendingByte = false; in read()
61 return lastByte; in read()
86 buffer[off] = (byte) lastByte; in read()
105 lastByte = buffer[i]; in read()
106 if (lastByte == '\r') { in read()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/I18N/CJK/
H A DCP949.cs283 int lastByte = last_byte_count; in GetCharCount()
288 if (lastByte == 0) { in GetCharCount()
293 lastByte = b; in GetCharCount()
347 lastByte = 0; in GetCharCount()
350 if (lastByte != 0) { in GetCharCount()
374 int lastByte = last_byte_conv; in GetChars()
378 if (lastByte == 0) { in GetChars()
383 lastByte = b; in GetChars()
436 lastByte = 0; in GetChars()
439 if (lastByte != 0) { in GetChars()
[all …]
H A DCP950.cs252 if (lastByte == 0) { in GetCharCount()
260 lastByte = b; in GetCharCount()
273 lastByte = 0; in GetCharCount()
276 if (lastByte != 0) { in GetCharCount()
281 last_byte_count = lastByte; in GetCharCount()
299 int lastByte = last_byte_conv; in GetChars()
303 if (lastByte == 0) { in GetChars()
311 lastByte = b; in GetChars()
323 lastByte = 0; in GetChars()
326 if (lastByte != 0) { in GetChars()
[all …]
H A DCP936.cs219 int lastByte = last_byte_count; in GetCharCount()
224 if (lastByte == 0) { in GetCharCount()
229 lastByte = b; in GetCharCount()
234 lastByte = 0; in GetCharCount()
237 if (lastByte != 0) { in GetCharCount()
243 last_byte_count = lastByte; in GetCharCount()
266 if (lastByte == 0) { in GetChars()
273 lastByte = b; in GetChars()
284 lastByte = 0; in GetChars()
287 if (lastByte != 0) { in GetChars()
[all …]
/dports/benchmarks/polygraph/polygraph-4.13.0/src/client/
H A DSingleRangeCfg.cc74 int lastByte = -1; in makeRangeSet() local
76 lastByte = theLastByteAbsolute.byte(); in makeRangeSet()
79 lastByte = (int)(theLastByteRelative*repSize); in makeRangeSet()
83 if (firstByte > lastByte && lastByte >= 0) { in makeRangeSet()
85 lastByte = firstByte; in makeRangeSet()
88 if (lastByte >= 0) { in makeRangeSet()
90 hp << lastByte; in makeRangeSet()
91 sz = lastByte - firstByte + 1; in makeRangeSet()
/dports/biology/abyss/abyss-2.3.1/Common/
H A DBitUtil.h95 char lastByte = src[bytes - 1]; variable
96 lastByte &= lastByteMask;
101 dest[lastByteIndex] &= lastByte >> shift | ~(lastByteMask >> shift);
103 dest[lastByteIndex] |= lastByte >> shift;
108 dest[lastByteIndex + 1] &= lastByte << (8 - shift) | ~lastCarryMask;
110 dest[lastByteIndex + 1] |= lastByte << (8 - shift);
140 char lastByte; variable
141 in.read(&lastByte, 1);
143 copyBits(&lastByte, dest + byteOffset + fullBytes, bits % 8);
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/shared/System/Text/
H A DUnicodeEncoding.cs1090 int lastByte = -1; in GetCharCount()
1106 lastByte = decoder.lastByte; in GetCharCount()
1202 if (lastByte < 0) in GetCharCount()
1218 lastByte = -1; in GetCharCount()
1382 if (lastByte >= 0) in GetCharCount()
1424 int lastByte = -1; in GetChars()
1430 lastByte = decoder.lastByte; in GetChars()
1537 if (lastByte < 0) in GetChars()
1553 lastByte = -1; in GetChars()
1840 decoder.lastByte = lastByte; in GetChars()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/CoreLib/System/Text/
H A DUnicodeEncoding.cs1090 int lastByte = -1; in GetCharCount()
1106 lastByte = decoder.lastByte; in GetCharCount()
1202 if (lastByte < 0) in GetCharCount()
1218 lastByte = -1; in GetCharCount()
1382 if (lastByte >= 0) in GetCharCount()
1424 int lastByte = -1; in GetChars()
1430 lastByte = decoder.lastByte; in GetChars()
1537 if (lastByte < 0) in GetChars()
1553 lastByte = -1; in GetChars()
1840 decoder.lastByte = lastByte; in GetChars()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/text/
H A Dunicodeencoding.cs1148 int lastByte = -1; in GetCharCount()
1164 lastByte = decoder.lastByte; in GetCharCount()
1252 if (lastByte < 0) in GetCharCount()
1268 lastByte = -1; in GetCharCount()
1436 if (lastByte >= 0) in GetCharCount()
1479 int lastByte = -1; in GetChars()
1485 lastByte = decoder.lastByte; in GetChars()
1583 if (lastByte < 0) in GetChars()
1599 lastByte = -1; in GetChars()
1870 decoder.lastByte = lastByte; in GetChars()
[all …]
/dports/sysutils/kpmcore/kpmcore-21.12.3/src/core/
H A Dcopysourcedevice.cpp48 return lastByte() - firstByte() + 1; in length()
64 if (firstByte() <= t.firstByte() && lastByte() >= t.firstByte()) in overlaps()
68 if (firstByte() <= t.lastByte() && lastByte() >= t.lastByte()) in overlaps()
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/canvas/
H A DWebGLElementArrayCache.cpp296 bool Update(size_t firstByte, size_t lastByte);
343 MOZ_ASSERT(firstByte <= lastByte); in Update()
344 MOZ_ASSERT(lastByte < mParent.mBytes.Length()); in Update()
377 lastByte = mParent.mBytes.Length() - 1; in Update()
384 lastByte = std::min(lastByte, NumLeaves() * kElementsPerLeaf * sizeof(T) - 1); in Update()
385 if (firstByte > lastByte) in Update()
389 size_t lastLeaf = LeafForByte(lastByte); in Update()
488 WebGLElementArrayCache::UpdateTrees(size_t firstByte, size_t lastByte) in UpdateTrees() argument
492 result &= mUint8Tree->Update(firstByte, lastByte); in UpdateTrees()
494 result &= mUint16Tree->Update(firstByte, lastByte); in UpdateTrees()
[all …]
/dports/net/liveMedia/live/liveMedia/
H A DStreamParser.cpp84 unsigned char lastByte = *lastParsed(); in getBits() local
85 lastByte >>= (fRemainingUnparsedBits - numBits); in getBits()
88 return (unsigned)lastByte &~ ((~0u)<<numBits); in getBits()
90 unsigned char lastByte; in getBits() local
92 lastByte = *lastParsed(); in getBits()
94 lastByte = 0; in getBits()
104 result |= (lastByte << remainingBits); in getBits()
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/evanw/esbuild/internal/helpers/
H A Djoiner.go13 lastByte byte member
31 j.lastByte = data[len(data)-1]
39 j.lastByte = data[len(data)-1]
46 return j.lastByte
54 if j.length > 0 && j.lastByte != '\n' {
/dports/devel/esbuild/esbuild-0.12.23/internal/helpers/
H A Djoiner.go13 lastByte byte member
31 j.lastByte = data[len(data)-1]
39 j.lastByte = data[len(data)-1]
46 return j.lastByte
54 if j.length > 0 && j.lastByte != '\n' {
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Xml/System/Xml/
H A DXmlEncoding.cs15 private int lastByte; field in System.Xml.UTF16Decoder
19 this.lastByte = -1; in UTF16Decoder()
38 if ( lastByte >= 0 ) { in GetChars()
46 ? (char)( lastByte << 8 | nextByte ) in GetChars()
47 : (char)( nextByte << 8 | lastByte ); in GetChars()
48 lastByte = -1; in GetChars()
52 lastByte = bytes[byteIndex + --byteCount]; in GetChars()
83 if ( lastByte >= 0 ) { in Convert()
93 ? (char)( lastByte << 8 | nextByte ) in Convert()
94 : (char)( nextByte << 8 | lastByte ); in Convert()
[all …]
/dports/graphics/krita/krita-4.4.8/libs/image/tiles3/swap/
H A Dkis_abstract_compression.cpp38 quint8 *lastByte = input + dataSize -1; in linearizeColors() local
42 while (inputByte <= lastByte) { in linearizeColors()
62 quint8 *lastByte = output + dataSize -1; in delinearizeColors() local
67 while (outputByte <= lastByte) { in delinearizeColors()
/dports/print/texlive-base/texlive-20150521-source/utils/asymptote/prc/PRCTools/
H A DbitData.cc193 unsigned char *lastByte = reinterpret_cast<unsigned char*>(&value)+7; in readDouble() local
197 unsigned char *lastByte = reinterpret_cast<unsigned char*>(&value)+0; in readDouble() local
201 for(;MOREBYTE(currentByte,lastByte); NEXTBYTE(currentByte)) in readDouble()
219 for(;MOREBYTE(currentByte,lastByte); NEXTBYTE(currentByte)) in readDouble()
227 PREVIOUSBYTE(lastByte); in readDouble()
228 for(;MOREBYTE(currentByte,lastByte); NEXTBYTE(currentByte)) in readDouble()
/dports/math/asymptote/asymptote-2.67/prc/PRCTools/
H A DbitData.cc193 unsigned char *lastByte = reinterpret_cast<unsigned char*>(&value)+7; in readDouble() local
197 unsigned char *lastByte = reinterpret_cast<unsigned char*>(&value)+0; in readDouble() local
201 for(;MOREBYTE(currentByte,lastByte); NEXTBYTE(currentByte)) in readDouble()
219 for(;MOREBYTE(currentByte,lastByte); NEXTBYTE(currentByte)) in readDouble()
227 PREVIOUSBYTE(lastByte); in readDouble()
228 for(;MOREBYTE(currentByte,lastByte); NEXTBYTE(currentByte)) in readDouble()
/dports/www/proxygen/proxygen-2021.12.27.00/proxygen/lib/http/
H A DRFC2616.cpp114 unsigned long lastByte = ULONG_MAX; in parseByteRangeSpec() local
123 lastByte = ULONG_MAX; in parseByteRangeSpec()
132 if (!strtoulWrapper(curs, end, lastByte)) { in parseByteRangeSpec()
154 if (lastByte < firstByte) { in parseByteRangeSpec()
158 if ((lastByte - firstByte + 1) > instanceLength) { in parseByteRangeSpec()
163 outLastByte = lastByte; in parseByteRangeSpec()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/webapk/android/libs/client/src/org/chromium/components/webapk/lib/client/
H A DWebApkVerifySignature.java347 int lastByte = 0; in readDirectory() local
351 if (block.mPosition != lastByte) { in readDirectory()
376 lastByte = block.mPosition + block.mHeaderSize + block.mCompressedSize; in readDirectory()
378 seek(lastByte); in readDirectory()
382 lastByte += 16; in readDirectory()
386 lastByte += 12; in readDirectory()
390 if (lastByte != mCentralDirOffset) { in readDirectory()
396 if (mCentralDirOffset - lastByte > MAX_V2_SIGNING_BLOCK_SIZE) { in readDirectory()
/dports/archivers/p5-Compress-Zstd/Compress-Zstd-0.20/ext/zstd/contrib/linux-kernel/lib/zstd/
H A Dbitstream.h251 BYTE const lastByte = ((const BYTE *)srcBuffer)[srcSize - 1]; in BIT_initDStream() local
252 …bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; /* ensures bitsConsumed is always… in BIT_initDStream()
253 if (lastByte == 0) in BIT_initDStream()
270 BYTE const lastByte = ((const BYTE *)srcBuffer)[srcSize - 1]; in BIT_initDStream() local
271 bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in BIT_initDStream()
272 if (lastByte == 0) in BIT_initDStream()
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/rocksdb/third_party/zstd/contrib/linux-kernel/lib/zstd/
H A Dbitstream.h251 BYTE const lastByte = ((const BYTE *)srcBuffer)[srcSize - 1]; in BIT_initDStream() local
252 …bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; /* ensures bitsConsumed is always… in BIT_initDStream()
253 if (lastByte == 0) in BIT_initDStream()
270 BYTE const lastByte = ((const BYTE *)srcBuffer)[srcSize - 1]; in BIT_initDStream() local
271 bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in BIT_initDStream()
272 if (lastByte == 0) in BIT_initDStream()
/dports/multimedia/v4l_compat/linux-5.13-rc2/lib/zstd/
H A Dbitstream.h251 BYTE const lastByte = ((const BYTE *)srcBuffer)[srcSize - 1]; in BIT_initDStream() local
252 …bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; /* ensures bitsConsumed is always… in BIT_initDStream()
253 if (lastByte == 0) in BIT_initDStream()
276 BYTE const lastByte = ((const BYTE *)srcBuffer)[srcSize - 1]; in BIT_initDStream() local
277 bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in BIT_initDStream()
278 if (lastByte == 0) in BIT_initDStream()
/dports/archivers/lizard/lizard-1.0/lib/entropy/
H A Dbitstream.h268 { BYTE const lastByte = ((const BYTE*)srcBuffer)[srcSize-1]; in BIT_initDStream() local
269 …bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; /* ensures bitsConsumed is alway… in BIT_initDStream()
270 if (lastByte == 0) return ERROR(GENERIC); /* endMark not present */ } in BIT_initDStream()
285 { BYTE const lastByte = ((const BYTE*)srcBuffer)[srcSize-1]; in BIT_initDStream() local
286 bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in BIT_initDStream()
287 if (lastByte == 0) return ERROR(GENERIC); /* endMark not present */ } in BIT_initDStream()

12345678910>>...29