Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for CRLF (0.02 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

          sink!!.write(DASHDASH)
          sink.write(boundaryByteString)
          sink.write(CRLF)
    
          if (headers != null) {
            for (h in 0 until headers.size) {
              sink
                .writeUtf8(headers.name(h))
                .write(COLONSPACE)
                .writeUtf8(headers.value(h))
                .write(CRLF)
            }
          }
    
          val contentType = body.contentType()
    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)
  2. .gitattributes

    * text=auto eol=lf
    
    *.bat text eol=crlf
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jul 28 09:21:57 GMT 2021
    - 52 bytes
    - Click Count (0)
  3. apache-maven/src/assembly/maven/bin/.gitattributes

    mvn                eol=lf crlf=input
    mvnDebug           eol=lf crlf=input
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat May 23 07:59:32 GMT 2020
    - 111 bytes
    - Click Count (0)
  4. .gitattributes

    # https://help.github.com/articles/dealing-with-line-endings/
    # https://github.com/Danimoth/gitattributes
    
    # These are explicitly windows files and should use crlf
    *.bat           text eol=crlf
    
    # These files are text and should be normalized (Convert crlf => lf)
    *.bash          text eol=lf
    *.css           text diff=css
    *.htm           text diff=html
    *.html          text diff=html
    *.java          text diff=java
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Sep 02 12:15:16 GMT 2020
    - 1.1K bytes
    - Click Count (0)
  5. cmd/streaming-signature-v4_test.go

    		}
    	}
    }
    
    // Test read CRLF characters on input reader.
    func TestReadCRLF(t *testing.T) {
    	type testCase struct {
    		reader      io.Reader
    		expectedErr error
    	}
    	tests := []testCase{
    		// Test - 1 valid buffer with CRLF.
    		{bytes.NewReader([]byte("\r\n")), nil},
    		// Test - 2 invalid buffer with no CRLF.
    		{bytes.NewReader([]byte("he")), errMalformedEncoding},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

            "retry: ".encodeUtf8(),
            // 19
            "retry:".encodeUtf8(),
          )
    
        private val CRLF = "\r\n".encodeUtf8()
    
        @Throws(IOException::class)
        private fun BufferedSource.readData(data: Buffer) {
          data.writeByte('\n'.code)
          readFully(data, indexOfElement(CRLF))
          select(options) // Skip the newline bytes.
        }
    
        @Throws(IOException::class)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  7. dbflute_fess/dfprop/basicInfoMap.dfprop

        # o sourceCodeLineSeparator: (NotRequired - Default no setting)
        #  The line separator setting for source code of generated classes.
        #   LF   -> converted to LF
        #   CRLF -> converted to CRLF
        #   (no setting) -> no convert (template default is CRLF)
        #
        #; sourceCodeLineSeparator = LF
        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 9.2K bytes
    - Click Count (0)
  8. docs/debugging/inspect/main.go

    		if len(privateKeys) == 0 && !*stdin {
    			reader := bufio.NewReader(os.Stdin)
    			fmt.Print("Enter Decryption Key: ")
    
    			text, _ := reader.ReadString('\n')
    			// convert CRLF to LF
    			*keyHex = strings.ReplaceAll(text, "\n", "")
    			*keyHex = strings.TrimSpace(*keyHex)
    		}
    	}
    
    	var inputs []string
    
    	// Parse parameters
    	switch {
    	case *stdin:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 17 17:09:42 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top