- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 176 for truncated (0.04 sec)
-
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt
if (Character.isISOControl(codePoint) && !Character.isWhitespace(codePoint)) { return false } } return true } catch (_: EOFException) { return false // Truncated UTF-8 sequence. }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt
assertInvalid("HTTP/1.1 2000 OK") assertInvalid("HTTP/1.1 two OK") assertInvalid("HTTP/1.1 2") assertInvalid("HTTP/1.1 2000") assertInvalid("HTTP/1.1 two") } @Test fun truncated() { assertInvalid("") assertInvalid("H") assertInvalid("HTTP/1") assertInvalid("HTTP/1.") assertInvalid("HTTP/1.1") assertInvalid("HTTP/1.1 ") assertInvalid("HTTP/1.1 2")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/HMACT64.java
import java.security.MessageDigest; /** * This is an implementation of the HMACT64 keyed hashing algorithm. * HMACT64 is defined by Luke Leighton as a modified HMAC-MD5 (RFC 2104) * in which the key is truncated at 64 bytes (rather than being hashed * via MD5). */ public class HMACT64 extends MessageDigest implements Cloneable { private static final int BLOCK_LENGTH = 64;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/util/HMACT64.java
import java.security.MessageDigest; /** * This is an implementation of the HMACT64 keyed hashing algorithm. * HMACT64 is defined by Luke Leighton as a modified HMAC-MD5 (RFC 2104) * in which the key is truncated at 64 bytes (rather than being hashed * via MD5). */ class HMACT64 extends MessageDigest implements Cloneable { private static final int BLOCK_LENGTH = 64; private static final byte IPAD = (byte) 0x36;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
// Challenge bytes would be at 24-31 but we're truncated // When & Then assertThrows(ArrayIndexOutOfBoundsException.class, () -> new Type2Message(truncatedMessage)); } @Test @DisplayName("parse should handle truncated message missing target info") void testParse_InputLengthTooSmallForTargetInfo() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
byte[] trunc = new byte[8]; System.arraycopy(dgst, 0, trunc, 0, 8); if (log.isDebugEnabled()) { log.debug("Digest " + Hexdump.toHexString(dgst)); log.debug("Truncated " + Hexdump.toHexString(trunc)); } if ((this.ntlmsspFlags & NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH) != 0) { try { trunc = this.sealClientHandle.doFinal(trunc);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
} } } override fun peekTrailers(): Headers? { if (trailers === TRAILERS_RESPONSE_BODY_TRUNCATED) { throw IOException("Trailers cannot be read because the response body was truncated") } check(state == STATE_READING_RESPONSE_BODY || state == STATE_CLOSED) { "Trailers cannot be read because the state is $state" } return trailers }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (7) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
rangeToRemove.upperBound, rangeMapEntry.getUpperBound(), mapEntryBelowToTruncate.getValue().getValue()); } // overwrite mapEntryToTruncateBelow with a truncated range putRangeMapEntry( rangeMapEntry.getLowerBound(), rangeToRemove.lowerBound, mapEntryBelowToTruncate.getValue().getValue()); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 22.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
return this.hexCode; } /** * Constructs a NetBIOS name with the specified parameters. * * @param cfg the configuration to use * @param name the NetBIOS name (will be truncated to 15 characters if longer) * @param hexCode the NetBIOS name type code * @param scope the NetBIOS scope identifier */ public Name(final Configuration cfg, String name, final int hexCode, final String scope) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
} @Test @DisplayName("byte[] ctor: malformed DER is wrapped as PACDecodingException (IOException path)") void byteArrayConstructor_malformedDER_throwsWrapped() { // Arrange: Truncated SEQUENCE (0x30 len=2 but only 1 byte of content) byte[] malformed = new byte[] { 0x30, 0x02, 0x01 }; // Act + Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0)