- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for maxLength (0.18 sec)
-
android/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();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jul 19 15:43:07 GMT 2021 - 21.6K bytes - Viewed (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) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 25 20:32:46 GMT 2022 - 5K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacUnicodeString.java
@SuppressWarnings ( "javadoc" ) public class PacUnicodeString { private short length; private short maxLength; private int pointer; public PacUnicodeString ( short length, short maxLength, int pointer ) { super(); this.length = length; this.maxLength = maxLength; this.pointer = pointer; } public short getLength () { return this.length; }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 1.7K bytes - Viewed (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 = Ints.min(maxLength, bits() / 8);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 12.6K bytes - Viewed (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();
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Jul 19 15:43:07 GMT 2021 - 21.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
short length = readShort(); short maxLength = readShort(); int pointer = readInt(); if ( maxLength < length ) { throw new PACDecodingException("Malformed string in PAC"); } return new PacUnicodeString(length, maxLength, pointer); } public String readString () throws IOException, PACDecodingException {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sat Jul 21 21:19:58 GMT 2018 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
checkArgument(length >= 0, "length (%s) may not be negative", length); long maxLength = this.length - offset; return maxLength <= 0 ? ByteSource.empty() : ByteSource.this.slice(this.offset + offset, Math.min(length, maxLength)); } @Override public boolean isEmpty() throws IOException { return length == 0 || super.isEmpty();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 26.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
final String value; final int maxLength = getLdapMaxUsernameLengthAsInteger(); if (username == null) { value = StringUtil.EMPTY; } else if (maxLength >= 0 && username.length() > maxLength) { value = username.substring(0, maxLength); } else { value = username; }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 85K bytes - Viewed (0)