- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 352 for Newlines (0.2 sec)
-
CHANGELOG/CHANGELOG-1.12.md
- Kubectl now handles newlines for `command`, `args`, `env`, and `annotations` in `kubectl describe` wrapping. ([#66841](https://github.com/kubernetes/kubernetes/pull/66841), [@smarterclayton](https://github.com/smarterclayton))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 06 06:04:15 UTC 2020 - 293.8K bytes - Viewed (0) -
cmd/gotemplate/gotemplate.go
// gotemplate also implements: // - include <filename>: returns the content of that file as string // - indent <number of spaces> <string>: replace each newline with "newline + spaces", indent the newline at the end // - trim <string>: strip leading and trailing whitespace func main() { kvs := make(map[string]string) for _, keyValue := range os.Args[1:] {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 22 18:39:23 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/OptionLessStringsJavadocOptionFileOptionTest.groovy
then: 1 * writerContextMock.writeValue(firstValue) >> writerContextMock 1 * writerContextMock.newLine() >> writerContextMock 1 * writerContextMock.writeValue(secondValue) >> writerContextMock 1 * writerContextMock.newLine() >> writerContextMock }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 1.5K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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)