/dports/databases/hbase/hbase-1.2.1/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/ |
H A D | TestHFileBlockPositionalRead.java | 47 int totalLen = necessaryLen + extraLen; in testPositionalReadNoExtra() local 48 byte[] buf = new byte[totalLen]; in testPositionalReadNoExtra() 50 when(in.read(position, buf, bufOffset, totalLen)).thenReturn(totalLen); in testPositionalReadNoExtra() 64 int totalLen = necessaryLen + extraLen; in testPositionalReadShortReadOfNecessaryBytes() local 65 byte[] buf = new byte[totalLen]; in testPositionalReadShortReadOfNecessaryBytes() 83 int totalLen = necessaryLen + extraLen; in testPositionalReadExtraSucceeded() local 84 byte[] buf = new byte[totalLen]; in testPositionalReadExtraSucceeded() 86 when(in.read(position, buf, bufOffset, totalLen)).thenReturn(totalLen); in testPositionalReadExtraSucceeded() 101 byte[] buf = new byte[totalLen]; in testPositionalReadExtraFailed() 119 byte[] buf = new byte[totalLen]; in testPositionalReadShortReadCompletesNecessaryAndExtraBytes() [all …]
|
/dports/devel/rgbds/rgbds/src/asm/ |
H A D | format.c | 154 totalLen = bufLen - 1; in fmt_PrintString() 155 if (len > totalLen) in fmt_PrintString() 156 len = totalLen; in fmt_PrintString() 158 assert(len < bufLen && totalLen < bufLen && len <= totalLen); in fmt_PrintString() 172 buf[totalLen] = '\0'; in fmt_PrintString() 255 totalLen = bufLen - 1; in fmt_PrintNumber() 256 if (numLen > totalLen) { in fmt_PrintNumber() 257 len -= numLen - totalLen; in fmt_PrintNumber() 258 numLen = totalLen; in fmt_PrintNumber() 261 assert(numLen < bufLen && totalLen < bufLen && numLen <= totalLen && len <= numLen); in fmt_PrintNumber() [all …]
|
/dports/security/keybase/client-v5.7.1/go/kbfs/kbfscrypto/ |
H A D | pad.go | 45 totalLen := powerOfTwoEqualOrGreater(len(block)) 47 buf := make([]byte, padPrefixSize+totalLen) 56 totalLen := len(paddedBlock) 57 if totalLen < padPrefixSize { 64 if totalLen < blockEndPos { 67 ActualLen: totalLen,
|
/dports/science/jmol/jmol-14.32.7/src/javajs/util/ |
H A D | Rdr.java | 344 int totalLen = 0; in getStreamAsBytes() local 346 totalLen += len; in getStreamAsBytes() 348 if (totalLen >= bytes.length) in getStreamAsBytes() 357 return AU.arrayCopyByte(bytes, totalLen); in getStreamAsBytes() 359 return totalLen + " bytes"; in getStreamAsBytes() 401 int totalLen = 0; in getLimitedStreamBytes() local 405 totalLen += len; in getLimitedStreamBytes() 406 if (totalLen > bytes.length) in getLimitedStreamBytes() 410 buflen = bytes.length - totalLen; in getLimitedStreamBytes() 413 if (totalLen == bytes.length) in getLimitedStreamBytes() [all …]
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/idlib/ |
H A D | CmdArgs.cpp | 113 int len, totalLen; in TokenizeString() local 130 totalLen = 0; in TokenizeString() 162 if ( totalLen + len + 1 > sizeof( tokenized ) ) { in TokenizeString() 167 argv[argc] = tokenized + totalLen; in TokenizeString() 170 idStr::Copynz( tokenized + totalLen, token.c_str(), sizeof( tokenized ) - totalLen ); in TokenizeString() 172 totalLen += len + 1; in TokenizeString()
|
/dports/astro/gpstk/GPSTk-8.0.0/core/lib/Utilities/ |
H A D | FormattedDouble.cpp | 48 totalLen(width), exponentChar(expChar), leadSign(sign), in FormattedDouble() 57 exponentLen(2), totalLen(width), exponentChar(expChar), in FormattedDouble() 67 exponentLen(2), totalLen(width), exponentChar(expChar), in FormattedDouble() 107 d.exponentLen, d.totalLen, d.exponentChar, in operator <<() 115 if (d.totalLen) in operator >>() 116 s >> std::setw(d.totalLen); in operator >>() 146 << mantissaLen << "," << exponentLen << "," << totalLen << "," in dump()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/com/sun/crypto/provider/ |
H A D | CipherCore.java | 327 totalLen = Math.addExact(totalLen, inputLen); in getOutputSizeByOperation() 333 totalLen = Math.addExact(totalLen, tagLen); in getOutputSizeByOperation() 335 totalLen -= tagLen; in getOutputSizeByOperation() 338 if (totalLen < 0) { in getOutputSizeByOperation() 339 totalLen = 0; in getOutputSizeByOperation() 345 if (totalLen < diffBlocksize) { in getOutputSizeByOperation() 346 totalLen = diffBlocksize; in getOutputSizeByOperation() 349 totalLen = Math.addExact(totalLen, (blockSize - residue)); in getOutputSizeByOperation() 352 totalLen = Math.addExact(totalLen, padding.padLength(totalLen)); in getOutputSizeByOperation() 357 return totalLen; in getOutputSizeByOperation() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | CipherCore.java | 327 totalLen = Math.addExact(totalLen, inputLen); in getOutputSizeByOperation() 333 totalLen = Math.addExact(totalLen, tagLen); in getOutputSizeByOperation() 335 totalLen -= tagLen; in getOutputSizeByOperation() 338 if (totalLen < 0) { in getOutputSizeByOperation() 339 totalLen = 0; in getOutputSizeByOperation() 345 if (totalLen < diffBlocksize) { in getOutputSizeByOperation() 346 totalLen = diffBlocksize; in getOutputSizeByOperation() 349 totalLen = Math.addExact(totalLen, (blockSize - residue)); in getOutputSizeByOperation() 352 totalLen = Math.addExact(totalLen, padding.padLength(totalLen)); in getOutputSizeByOperation() 357 return totalLen; in getOutputSizeByOperation() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/share/classes/com/sun/crypto/provider/ |
H A D | CipherCore.java | 327 totalLen = Math.addExact(totalLen, inputLen); in getOutputSizeByOperation() 333 totalLen = Math.addExact(totalLen, tagLen); in getOutputSizeByOperation() 335 totalLen -= tagLen; in getOutputSizeByOperation() 338 if (totalLen < 0) { in getOutputSizeByOperation() 339 totalLen = 0; in getOutputSizeByOperation() 345 if (totalLen < diffBlocksize) { in getOutputSizeByOperation() 346 totalLen = diffBlocksize; in getOutputSizeByOperation() 349 totalLen = Math.addExact(totalLen, (blockSize - residue)); in getOutputSizeByOperation() 352 totalLen = Math.addExact(totalLen, padding.padLength(totalLen)); in getOutputSizeByOperation() 357 return totalLen; in getOutputSizeByOperation() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.base/share/classes/com/sun/crypto/provider/ |
H A D | CipherCore.java | 330 totalLen = Math.addExact(totalLen, inputLen); in getOutputSizeByOperation() 336 totalLen = Math.addExact(totalLen, tagLen); in getOutputSizeByOperation() 338 totalLen -= tagLen; in getOutputSizeByOperation() 341 if (totalLen < 0) { in getOutputSizeByOperation() 342 totalLen = 0; in getOutputSizeByOperation() 348 if (totalLen < diffBlocksize) { in getOutputSizeByOperation() 349 totalLen = diffBlocksize; in getOutputSizeByOperation() 352 totalLen = Math.addExact(totalLen, (blockSize - residue)); in getOutputSizeByOperation() 355 totalLen = Math.addExact(totalLen, padding.padLength(totalLen)); in getOutputSizeByOperation() 360 return totalLen; in getOutputSizeByOperation() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/com/sun/crypto/provider/ |
H A D | CipherCore.java | 327 totalLen = Math.addExact(totalLen, inputLen); in getOutputSizeByOperation() 333 totalLen = Math.addExact(totalLen, tagLen); in getOutputSizeByOperation() 335 totalLen -= tagLen; in getOutputSizeByOperation() 338 if (totalLen < 0) { in getOutputSizeByOperation() 339 totalLen = 0; in getOutputSizeByOperation() 345 if (totalLen < diffBlocksize) { in getOutputSizeByOperation() 346 totalLen = diffBlocksize; in getOutputSizeByOperation() 349 totalLen = Math.addExact(totalLen, (blockSize - residue)); in getOutputSizeByOperation() 352 totalLen = Math.addExact(totalLen, padding.padLength(totalLen)); in getOutputSizeByOperation() 357 return totalLen; in getOutputSizeByOperation() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/share/classes/com/sun/crypto/provider/ |
H A D | CipherCore.java | 327 totalLen = Math.addExact(totalLen, inputLen); in getOutputSizeByOperation() 333 totalLen = Math.addExact(totalLen, tagLen); in getOutputSizeByOperation() 335 totalLen -= tagLen; in getOutputSizeByOperation() 338 if (totalLen < 0) { in getOutputSizeByOperation() 339 totalLen = 0; in getOutputSizeByOperation() 345 if (totalLen < diffBlocksize) { in getOutputSizeByOperation() 346 totalLen = diffBlocksize; in getOutputSizeByOperation() 349 totalLen = Math.addExact(totalLen, (blockSize - residue)); in getOutputSizeByOperation() 352 totalLen = Math.addExact(totalLen, padding.padLength(totalLen)); in getOutputSizeByOperation() 357 return totalLen; in getOutputSizeByOperation() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.base/share/classes/com/sun/crypto/provider/ |
H A D | CipherCore.java | 329 totalLen = Math.addExact(totalLen, inputLen); in getOutputSizeByOperation() 335 totalLen = Math.addExact(totalLen, tagLen); in getOutputSizeByOperation() 337 totalLen -= tagLen; in getOutputSizeByOperation() 340 if (totalLen < 0) { in getOutputSizeByOperation() 341 totalLen = 0; in getOutputSizeByOperation() 347 if (totalLen < diffBlocksize) { in getOutputSizeByOperation() 348 totalLen = diffBlocksize; in getOutputSizeByOperation() 351 totalLen = Math.addExact(totalLen, (blockSize - residue)); in getOutputSizeByOperation() 354 totalLen = Math.addExact(totalLen, padding.padLength(totalLen)); in getOutputSizeByOperation() 359 return totalLen; in getOutputSizeByOperation() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.base/share/classes/com/sun/crypto/provider/ |
H A D | CipherCore.java | 329 totalLen = Math.addExact(totalLen, inputLen); in getOutputSizeByOperation() 335 totalLen = Math.addExact(totalLen, tagLen); in getOutputSizeByOperation() 337 totalLen -= tagLen; in getOutputSizeByOperation() 340 if (totalLen < 0) { in getOutputSizeByOperation() 341 totalLen = 0; in getOutputSizeByOperation() 347 if (totalLen < diffBlocksize) { in getOutputSizeByOperation() 348 totalLen = diffBlocksize; in getOutputSizeByOperation() 351 totalLen = Math.addExact(totalLen, (blockSize - residue)); in getOutputSizeByOperation() 354 totalLen = Math.addExact(totalLen, padding.padLength(totalLen)); in getOutputSizeByOperation() 359 return totalLen; in getOutputSizeByOperation() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | CipherCore.java | 327 totalLen = Math.addExact(totalLen, inputLen); in getOutputSizeByOperation() 333 totalLen = Math.addExact(totalLen, tagLen); in getOutputSizeByOperation() 335 totalLen -= tagLen; in getOutputSizeByOperation() 338 if (totalLen < 0) { in getOutputSizeByOperation() 339 totalLen = 0; in getOutputSizeByOperation() 345 if (totalLen < diffBlocksize) { in getOutputSizeByOperation() 346 totalLen = diffBlocksize; in getOutputSizeByOperation() 349 totalLen = Math.addExact(totalLen, (blockSize - residue)); in getOutputSizeByOperation() 352 totalLen = Math.addExact(totalLen, padding.padLength(totalLen)); in getOutputSizeByOperation() 357 return totalLen; in getOutputSizeByOperation() [all …]
|
/dports/devel/app-builder/app-builder-3.4.2/vendor/golang.org/x/image/riff/ |
H A D | riff.go | 74 z.totalLen = chunkLen - 4 83 totalLen uint32 member 116 if z.totalLen == 0 { 120 z.totalLen-- 131 if z.totalLen == 0 { 137 if z.totalLen < chunkHeaderSize { 141 z.totalLen -= chunkHeaderSize 150 if z.chunkLen > z.totalLen { 187 z.totalLen -= uint32(n)
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/golang.org/x/image/riff/ |
H A D | riff.go | 74 z.totalLen = chunkLen - 4 83 totalLen uint32 member 116 if z.totalLen == 0 { 120 z.totalLen-- 131 if z.totalLen == 0 { 137 if z.totalLen < chunkHeaderSize { 141 z.totalLen -= chunkHeaderSize 150 if z.chunkLen > z.totalLen { 187 z.totalLen -= uint32(n)
|
/dports/www/gohugo/hugo-0.91.2/vendor/golang.org/x/image/riff/ |
H A D | riff.go | 74 z.totalLen = chunkLen - 4 83 totalLen uint32 member 116 if z.totalLen == 0 { 120 z.totalLen-- 131 if z.totalLen == 0 { 137 if z.totalLen < chunkHeaderSize { 141 z.totalLen -= chunkHeaderSize 150 if z.chunkLen > z.totalLen { 187 z.totalLen -= uint32(n)
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/golang.org/x/image/riff/ |
H A D | riff.go | 74 z.totalLen = chunkLen - 4 83 totalLen uint32 member 116 if z.totalLen == 0 { 120 z.totalLen-- 131 if z.totalLen == 0 { 137 if z.totalLen < chunkHeaderSize { 141 z.totalLen -= chunkHeaderSize 150 if z.chunkLen > z.totalLen { 187 z.totalLen -= uint32(n)
|
/dports/www/beehive/beehive-0.4.0/vendor/golang.org/x/image/riff/ |
H A D | riff.go | 74 z.totalLen = chunkLen - 4 83 totalLen uint32 member 116 if z.totalLen == 0 { 120 z.totalLen-- 131 if z.totalLen == 0 { 137 if z.totalLen < chunkHeaderSize { 141 z.totalLen -= chunkHeaderSize 150 if z.chunkLen > z.totalLen { 187 z.totalLen -= uint32(n)
|
/dports/net-im/matterbridge/matterbridge-1.22.3/vendor/golang.org/x/image/riff/ |
H A D | riff.go | 74 z.totalLen = chunkLen - 4 83 totalLen uint32 member 116 if z.totalLen == 0 { 120 z.totalLen-- 131 if z.totalLen == 0 { 137 if z.totalLen < chunkHeaderSize { 141 z.totalLen -= chunkHeaderSize 150 if z.chunkLen > z.totalLen { 187 z.totalLen -= uint32(n)
|
/dports/www/mattermost-server/mattermost-server-6.0.2/vendor/golang.org/x/image/riff/ |
H A D | riff.go | 74 z.totalLen = chunkLen - 4 83 totalLen uint32 member 116 if z.totalLen == 0 { 120 z.totalLen-- 131 if z.totalLen == 0 { 137 if z.totalLen < chunkHeaderSize { 141 z.totalLen -= chunkHeaderSize 150 if z.chunkLen > z.totalLen { 187 z.totalLen -= uint32(n)
|
/dports/multimedia/navidrome/navidrome-0.40.0/vendor/golang.org/x/image/riff/ |
H A D | riff.go | 74 z.totalLen = chunkLen - 4 83 totalLen uint32 member 116 if z.totalLen == 0 { 120 z.totalLen-- 131 if z.totalLen == 0 { 137 if z.totalLen < chunkHeaderSize { 141 z.totalLen -= chunkHeaderSize 150 if z.chunkLen > z.totalLen { 187 z.totalLen -= uint32(n)
|
/dports/x11/wallutils/wallutils-5.10.0/vendor/golang.org/x/image/image-6944b10bf410/riff/ |
H A D | riff.go | 74 z.totalLen = chunkLen - 4 83 totalLen uint32 member 116 if z.totalLen == 0 { 120 z.totalLen-- 131 if z.totalLen == 0 { 137 if z.totalLen < chunkHeaderSize { 141 z.totalLen -= chunkHeaderSize 150 if z.chunkLen > z.totalLen { 187 z.totalLen -= uint32(n)
|
/dports/sysutils/siegfried/siegfried-1.9.1/vendor/golang.org/x/image/riff/ |
H A D | riff.go | 74 z.totalLen = chunkLen - 4 83 totalLen uint32 member 116 if z.totalLen == 0 { 120 z.totalLen-- 131 if z.totalLen == 0 { 137 if z.totalLen < chunkHeaderSize { 141 z.totalLen -= chunkHeaderSize 150 if z.chunkLen > z.totalLen { 187 z.totalLen -= uint32(n)
|