- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 558 for space2 (0.15 sec)
-
src/fmt/doc.go
the input. Unless the run of spaces in the format string appears adjacent to a newline, the run must consume at least one space from the input or find the end of the input. The handling of spaces and newlines differs from that of C's scanf family: in C, newlines are treated as any other space, and it is never an error when a run of spaces in the format string finds no spaces to consume in the input.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:56:20 UTC 2024 - 14.6K bytes - Viewed (0) -
src/text/template/parse/lex.go
"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) // to be present to avoid ambiguity with things like "{{-3}}". It reads
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/fmt/scan.go
fmtc, w := utf8.DecodeRuneInString(format[i:]) // Space processing. // In the rest of this comment "space" means spaces other than newline. // Newline in the format matches input of zero or more spaces and then newline or end-of-input. // Spaces in the format before the newline are collapsed into the newline. // Spaces in the format after the newline match zero or more spaces after the corresponding input newline.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:56:20 UTC 2024 - 31.9K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/link.go
// and collapse consecutive internal spaces, tabs, and line endings to a single space.” s = trimSpaceTabNewline(s) var b strings.Builder space := false hi := false for i := 0; i < len(s); i++ { c := s[i] switch c { case ' ', '\t', '\n': space = true continue default: if space { b.WriteByte(' ') space = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 20.7K bytes - Viewed (0) -
src/encoding/xml/xml.go
) // Apply name space translation to name n. // The default name space (for Space=="") // applies only to element names, not to attribute names. func (d *Decoder) translate(n *Name, isElementName bool) { switch { case n.Space == xmlnsPrefix: return case n.Space == "" && !isElementName: return case n.Space == xmlPrefix: n.Space = xmlURL case n.Space == "" && n.Local == xmlnsPrefix: return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 47.3K bytes - Viewed (0) -
src/net/textproto/reader.go
// ReadContinuedLine reads a possibly continued line from r, // eliding the final trailing ASCII white space. // Lines after the first are considered continuations if they // begin with a space or tab character. In the returned data, // continuation lines are separated from the previous line // only by a single space: the newline and leading white space // are removed. // // For example, consider this input: // // Line 1 // continued...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 22.1K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy
environment ${envVar}: '-DFOO="with a space"' } """ succeeds('execStartScript') then: outputContains("FOO: with a space") where: envVar << ["JAVA_OPTS", "SAMPLE_OPTS"] } @Requires(UnitTestPreconditions.UnixDerivative) def "environment variables can have spaces in their values that should be treated as separate tokens"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 23.6K bytes - Viewed (0) -
src/fmt/scan_test.go
{"space vs newline 0010", "1\n2", "%d \n%d", 2, true}, {"space vs newline 0011", "1\n2", "%d \n %d", 2, true}, {"space vs newline 0100", "1\n 2", "%d\n%d", 2, true}, {"space vs newline 0101", "1\n 2", "%d\n%d ", 2, true}, {"space vs newline 0110", "1\n 2", "%d \n%d", 2, true}, {"space vs newline 0111", "1\n 2", "%d \n %d", 2, true}, {"space vs newline 1000", "1 \n2", "%d\n%d", 2, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 20:25:13 UTC 2023 - 39.3K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/html.go
// “A closing tag consists of the string </, a tag name, // optional spaces, tabs, and up to one line ending, and the character >.” if i+2 >= len(s) || s[i] != '<' || s[i+1] != '/' { return nil, 0, false } if skipSpace(s, i+2) != i+2 { // Goldmark allows spaces here but the spec and the Dingus do not. p.corner = true } if _, j, ok := parseTagName(s, i+2); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 11.9K bytes - Viewed (0) -
src/cmd/internal/obj/util.go
// Not even worth sorting. var regSpace []regSet /* Each architecture defines a register space as a unique integer range. Here is the list of architectures and the base of their register spaces. */ const ( // Because of masking operations in the encodings, each register // space should start at 0 modulo some power of 2. RBase386 = 1 * 1024 RBaseAMD64 = 2 * 1024 RBaseARM = 3 * 1024
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 17.5K bytes - Viewed (0)