- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 352 for Newlines (1.21 sec)
-
subprojects/core/src/test/groovy/org/gradle/process/internal/JvmOptionsTest.groovy
} def "options with newlines are parsed correctly"() { def opts = createOpts() when: opts.jvmArgs('-Dprops=a:1\nb:2\nc:3') then: opts.allJvmArgs.contains('-Dprops=a:1\nb:2\nc:3') opts.mutableSystemProperties['props'] == 'a:1\nb:2\nc:3' } def "options with Win newlines are parsed correctly"() { def opts = createOpts()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 10.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/value.go
BlockValueStyle EncodeStyle = iota // FlowValueStyle indicates that the string is an inline representation of complex types. FlowValueStyle // FoldedValueStyle is a multiline string with whitespace and newlines trimmed to a single // a whitespace. Repeated newlines are replaced with a single newline rather than a single // whitespace. FoldedValueStyle
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 20.5K bytes - Viewed (0) -
src/fmt/doc.go
[Scan], [Fscan], [Sscan] treat newlines in the input as spaces. [Scanln], [Fscanln] and [Sscanln] stop scanning at a newline and require that the items be followed by a newline or EOF. [Scanf], [Fscanf], and [Sscanf] parse the arguments according to a format string, analogous to that of [Printf]. In the text that follows, 'space' means any Unicode whitespace character except newline.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:56:20 UTC 2024 - 14.6K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultAnsiExecutor.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 7.5K bytes - Viewed (0) -
src/text/template/parse/lex.go
"range": itemRange, "nil": itemNil, "template": itemTemplate, "with": itemWith, } const eof = -1 // Trimming spaces. // If the action begins "{{- " rather than "{{", then all space/tab/newlines // preceding the action are trimmed; conversely if it ends " -}}" the // leading spaces are trimmed. This is done entirely in the lexer; the // parser never sees it happen. We require an ASCII space (' ', \t, \r, \n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 04 22:36:12 UTC 2022 - 18.1K bytes - Viewed (0) -
src/go/printer/gobuild.go
// When we start dropping // +build comments, we can skip over /* */ comments too. // Note that we are processing tabwriter input, so every comment // begins and ends with a tabwriter.Escape byte. // And some newlines have turned into \f bytes. insert := 0 for pos := 0; ; { // Skip leading space at beginning of line. blank := true for pos < len(p.output) && (p.output[pos] == ' ' || p.output[pos] == '\t') { pos++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4.6K bytes - Viewed (0) -
pkg/log/logr_test.go
} func mustMatchLength(t *testing.T, l int, items []string) { t.Helper() if len(items) != l { t.Fatalf("expected %v items, got %v: %v", l, len(items), items) } } func TestLogr(t *testing.T) { t.Run("newlines not duplicated", func(t *testing.T) { lines := runLogrTest(t, func(l logr.Logger) { l.Info("msg\n") }) mustMatchLength(t, 1, lines) mustRegexMatchString(t, lines[0], "msg") })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go
if s.options.Yaml { // we could potentially look for '---' return false, true, nil } return utilyaml.IsJSONBuffer(data), false, nil } // Framer is the default JSON framing behavior, with newlines delimiting individual objects. var Framer = jsonFramer{} type jsonFramer struct{} // NewFrameWriter implements stream framing for this serializer func (jsonFramer) NewFrameWriter(w io.Writer) io.Writer {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 25 16:08:07 UTC 2022 - 12K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go
package counter import ( "fmt" "runtime" "strings" "sync" ) // On the disk, and upstream, stack counters look like sets of // regular counters with names that include newlines. // a StackCounter is the in-memory knowledge about a stack counter. // StackCounters are more expensive to use than regular Counters, // requiring, at a minimum, a call to runtime.Callers. type StackCounter struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:10:54 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
p.print(n.Tok, blank, _Lparen) if len(n.Decls) > 0 { p.print(newline, indent) for _, d := range n.Decls { p.printNode(d) p.print(_Semi, newline) } p.print(outdent) } p.print(_Rparen) // files case *File: p.print(_Package, blank, n.PkgName) if len(n.DeclList) > 0 { p.print(_Semi, newline, newline) p.printDeclList(n.DeclList) } default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0)