- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 154 for Newlines (0.13 sec)
-
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/MultiLineBuildProgressArea.java
label.newLineAdjustment(); } } public void redraw(AnsiContext ansi) { int newLines = 0 - statusAreaPos.row + getHeight() - 1; if (isVisible && newLines > 0) { ansi.cursorAt(Cursor.newBottomLeft()).newLines(newLines); } // Redraw every entry of this area for (int i = 0; i < entries.size(); ++i) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/hash.go
// ordered by sort.Strings applied to the file names, where each line consists of // the hexadecimal SHA-256 hash of the file content, // two spaces (U+0020), the file name, and a newline (U+000A). // // File names with newlines (U+000A) are disallowed. func Hash1(files []string, open func(string) (io.ReadCloser, error)) (string, error) { h := sha256.New() files = append([]string(nil), files...) sort.Strings(files)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:59:52 UTC 2023 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/LineBufferTest.java
bufferHelper("no newlines at all", "no newlines at all"); bufferHelper("two lines\nbut no newline at end", "two lines\n", "but no newline at end"); bufferHelper( "\nempty first line\nno newline at end", "\n", "empty first line\n", "no newline at end"); bufferHelper("three\rlines\rno newline at end", "three\r", "lines\r", "no newline at end");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LineBufferTest.java
bufferHelper("no newlines at all", "no newlines at all"); bufferHelper("two lines\nbut no newline at end", "two lines\n", "but no newline at end"); bufferHelper( "\nempty first line\nno newline at end", "\n", "empty first line\n", "no newline at end"); bufferHelper("three\rlines\rno newline at end", "three\r", "lines\r", "no newline at end");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.7K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/renderer.h
} // Append a multiline string of source code, left-justified (not indented). // Note: Trims leading/trailing whitespace including newlines, making this // method convenient for multiline raw strings. // Newlines ('\n') are allowed/expected. Renderer &CodeLines(const string &text); template <typename... Args> Renderer CodeLines(absl::string_view text, const Args &...args) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 3.7K bytes - Viewed (0) -
src/cmd/go/internal/work/shell_test.go
} wantOut := buf.String() if strings.Count(wantOut, "\n") != len(args)+bytes.Count(b, []byte("\n")) { // One of the newlines in b was treated as a delimiter and not part of an // argument. Our bash test script would interpret that as a syntax error. t.Skipf("skipping %#q: contains a bare newline", b) } // We use the printf shell command to echo the arguments because, per
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 15 15:30:05 UTC 2023 - 4.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_path_space_quote.txt
# This test checks that the CC environment variable may contain quotes and # spaces. Arguments are normally split on spaces, tabs, newlines. If an # argument contains these characters, the entire argument may be quoted # with single or double quotes. This is the same as -gcflags and similar # options. [short] skip [!exec:clang] [!exec:gcc] skip [!cgo] skip env GOENV=$WORK/go.env mkdir 'program files'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 16 20:23:26 UTC 2021 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/AnsiContext.java
*/ AnsiContext a(CharSequence value); /** * @return the current context with a new line written. */ AnsiContext newLine(); /** * @return the current context with the specified new line written. */ AnsiContext newLines(int numberOfNewLines); /** * @return the current context with the characters moving forward from the write position erased. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.8K bytes - Viewed (0) -
pkg/util/tail/tail_test.go
}, { name: "the file length is longer than max", max: 1, longerThanMax: true, expected: "a", }, { name: "the file length is longer than max and contains newlines", max: blockSize, longerThanMax: true, expected: strings.Repeat("a", blockSize/2-1) + "\n" + strings.Repeat("a", blockSize/2), }, { name: "the max is longer than file length ",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 13:13:22 UTC 2024 - 2.3K bytes - Viewed (0) -
pkg/log/logr.go
func (zl *zapLogger) Enabled(level int) bool { if level > debugLevelThreshold { return zl.l.DebugEnabled() } return zl.l.InfoEnabled() } // Logs will come in with newlines, but our logger auto appends newline func trimNewline(msg string) string { if len(msg) == 0 { return msg } lc := len(msg) - 1 if msg[lc] == '\n' { return msg[:lc] } return msg }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3K bytes - Viewed (0)