- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 34 for MaxLength (0.2 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/pac/PacDataInputStream.java
final short length = readShort(); final short maxLength = readShort(); final int pointer = readInt(); if (maxLength < length) { throw new PACDecodingException("Malformed string in PAC"); } return new PacUnicodeString(length, maxLength, pointer); } /** * Reads a string with length prefix from the stream.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashCode.java
* @param offset the start offset in the data * @param maxLength the maximum number of bytes to write * @return the number of bytes written to {@code dest} * @throws IndexOutOfBoundsException if there is not enough room in {@code dest} */ @CanIgnoreReturnValue public int writeBytesTo(byte[] dest, int offset, int maxLength) { maxLength = min(maxLength, bits() / 8);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 12.6K bytes - Click Count (0) -
src/bytes/compare_test.go
// no vector register is larger than 512 bytes for now const maxLength = 512 a := make([]byte, maxLength) b := make([]byte, maxLength) // randomish but deterministic data. No 0 or 255. for i := 0; i < maxLength; i++ { a[i] = byte(1 + 31*i%254) b[i] = byte(1 + 31*i%254) } for i := 2; i <= maxLength; i <<= 1 { for j := 0; j < i-1; j++ { a[j] = b[j] - 1 a[j+1] = b[j+1] + 1
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 13 23:11:42 GMT 2023 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacUnicodeString.java
this.length = length; this.maxLength = maxLength; this.pointer = pointer; } /** * Gets the actual length of the string in bytes. * * @return the string length */ public short getLength() { return this.length; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
guava/src/com/google/common/base/Ascii.java
// meaning that a string will be truncated to just the truncation indicator itself checkArgument( truncationLength >= 0, "maxLength (%s) must be >= length of the truncation indicator (%s)", maxLength, truncationIndicator.length()); if (seq.length() <= maxLength) { String string = seq.toString();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 21.7K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/MessageDigestHashFunction.java
this.toString = checkNotNull(toString); this.prototype = getMessageDigest(algorithmName); int maxLength = prototype.getDigestLength(); checkArgument( bytes >= 4 && bytes <= maxLength, "bytes (%s) must be >= 4 and < %s", bytes, maxLength); this.bytes = bytes; this.supportsClone = supportsClone(prototype); } private static boolean supportsClone(MessageDigest digest) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
if (script == null) { return "-"; } final int maxLength = ComponentUtil.getFessConfig().getScriptAuditLogMaxLengthAsInteger(); String normalized = script; if (normalized.length() > maxLength) { normalized = normalized.substring(0, maxLength - 3) + "..."; } return normalized.replace('\n', ' ').replace('\r', ' ').replace('\t', '_'); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 11:45:43 GMT 2026 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
pdis = createInputStream(nullData); assertNull(pdis.readFiletime()); } @Test public void testReadUnicodeString() throws IOException, PACDecodingException { // length=4, maxLength=4, pointer=0x1234 byte[] data = new byte[] { 0x04, 0x00, 0x04, 0x00, 0x34, 0x12, 0x00, 0x00 }; PacDataInputStream pdis = createInputStream(data); PacUnicodeString str = pdis.readUnicodeString();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9.2K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java
if (contentLengthHelper != null) { final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength() + " byte) is over " + maxLength + " byte. The url is " + filePath); } }Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 17.5K bytes - Click Count (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
/** * Validate string from server response * * @param str string to validate * @param maxLength maximum allowed length * @param fieldName field name for error messages * @throws SmbException if string is invalid */ public void validateString(String str, int maxLength, String fieldName) throws SmbException { totalValidations.incrementAndGet(); if (str == null) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0)