Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 301 for NEWLINE (0.13 sec)

  1. cmd/storage-rest_test.go

    		// Test some weird characters over the wire.
    		{"foo", "newline\n", testData, false, true},
    		{"foo", "newline\t", testData, false, true},
    		{"foo", "newline \n", testData, false, true},
    		{"foo", "newline$$$\n", testData, false, true},
    		{"foo", "newline%%%\n", testData, false, true},
    		{"foo", "newline \t % $ & * ^ # @ \n", testData, false, true},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. src/cmd/dist/testjson_test.go

    func TestJSONFilterMalformed(t *testing.T) {
    	const in = `unexpected text
    {"Package":"abc"}
    more text
    {"Package":"abc"}trailing text
    {not json}
    no newline`
    	const want = `unexpected text
    {"Package":"abc:variant"}
    more text
    {"Package":"abc:variant"}trailing text
    {not json}
    no newline`
    	checkJSONFilter(t, in, want)
    }
    
    func TestJSONFilterBoundaries(t *testing.T) {
    	const in = `{"Package":"abc"}
    {"Package":"def"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 20:13:24 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/StdioIntegrationTest.groovy

            buildFile << '''
    task echo {
        doLast {
            def reader = new BufferedReader(new InputStreamReader(System.in))
            while (true) {
                def line = reader.readLine() // readline will chomp the newline off the end
                if (!line) {
                    break
                }
                print "[$line]"
            }
        }
    }
    '''
            executer.withStdinPipe(new PipedOutputStream() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/note.go

    // then the text of the record, and then a terminating blank line.
    // Record text must be valid UTF-8 and must not contain any ASCII control
    // characters (those below U+0020) other than newline (U+000A).
    // It must end in a terminating newline and not contain any blank lines.
    func FormatRecord(id int64, text []byte) (msg []byte, err error) {
    	if !isValidRecordText(text) {
    		return nil, errMalformedRecord
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 29 20:10:15 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  5. src/cmd/gofmt/testdata/stdin5.input

    //gofmt -stdin
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 17:18:00 UTC 2014
    - 54 bytes
    - Viewed (0)
  6. src/cmd/gofmt/testdata/stdin5.golden

    //gofmt -stdin
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 17:18:00 UTC 2014
    - 55 bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/EditorReportsBuilder.kt

        val buffer = ByteArray(DEFAULT_BUFFER_SIZE)
        val newLine = '\n'.code.toByte()
    
        var count = 0L
        var noNewLineBeforeEOF = false
        var readCount = read(buffer)
    
        while (readCount != -1) {
            for (idx in 0 until readCount) {
                if (buffer[idx] == newLine) count++
            }
            noNewLineBeforeEOF = buffer[readCount - 1] != newLine
            readCount = read(buffer)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

          with(sink) {
            writeInt(totalRuleBytes)
            for (domain in sortedRules) {
              write(domain).writeByte(NEWLINE)
            }
            writeInt(totalExceptionRuleBytes)
            for (domain in sortedExceptionRules) {
              write(domain).writeByte(NEWLINE)
            }
          }
        }
      }
    
      private suspend fun writeOutputFile(importResults: ImportResults) =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. src/internal/diff/testdata/eof1.txt

    -- old --
    a
    b
    c
    -- new --
    a
    b
    c^D
    -- diff --
    diff old new
    --- old
    +++ new
    @@ -1,3 +1,3 @@
     a
     b
    -c
    +c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 16:56:29 UTC 2022
    - 130 bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultAnsiExecutor.java

                    newLine();
                }
                return this;
            }
    
            @Override
            public AnsiContext newLine() {
                int cols = consoleMetaData.getCols();
                int col = (cols > 0) ? writeCursor.col % cols : 0;
                listener.beforeNewLineWritten(this, Cursor.at(writeCursor.row, col));
                delegate.newline();
                newLineWritten(writePos);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top