- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for CRLF (0.02 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
boundary = "simple boundary", source = Buffer().writeUtf8(multipart), ) assertFailsWith<EOFException> { parts.nextPart() } } @Test fun `lf instead of crlf boundary is not honored`() { val multipart = """ |--simple boundary | |abcd |--simple boundary | |efgh |--simple boundary--
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed May 28 02:11:14 GMT 2025 - 15.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
}).when(raf).read(any(byte[].class), anyInt(), eq(8)); assertEquals(1.0d, raf.readDouble(), 0.0000001); } @Test @DisplayName("readLine(): reads until newline and handles CRLF") void readLine_reads() throws Exception { SmbRandomAccessFile raf = spy(newInstance("r", false, false, false)); // Sequence: 'a','b','\r','\n','c','\n'
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
cmd/streaming-signature-v4.go
delete(wantTrailers, key) } // Check if we got all we want. if len(wantTrailers) > 0 { return io.ErrUnexpectedEOF } return nil } // readCRLF - check if reader only has '\r\n' CRLF character. // returns malformed encoding if it doesn't. func readCRLF(reader io.Reader) error { buf := make([]byte, 2) _, err := io.ReadFull(reader, buf[:2]) if err != nil { return err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.2K bytes - Click Count (0)