Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for WhiteSpace (0.8 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    // If start==end, the 1-char interval following start is used instead.
    //
    // The 'exact' result is true if the interval contains only path[0]
    // and perhaps some adjacent whitespace.  It is false if the interval
    // overlaps multiple children of path[0], or if it contains only
    // interior whitespace of path[0].
    // In this example:
    //
    //	z := x + y // add them
    //	  <--C-->     <---E-->
    //	    ^
    //	    D
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java

         * and lines that only contain whitespace are not indented.
         */
        public static String indent(String text, String indent) {
            StringBuilder builder = new StringBuilder();
            String[] lines = text.split("\n");
    
            for (int i = 0; i < lines.length; i++) {
                String line = lines[i];
                if (!WHITESPACE.matcher(line).matches()) {
                    builder.append(indent);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. maven-core/src/test/resources-project-builder/xml-coalesce-text/pom.xml

        <!--
        This checks the coalescing of CHARACTERS and CDATA events. Note that inner whitespace must be retained.
        -->
        <prop0>A <![CDATA[ Test ]]> Project<![CDATA[ ]]>Property</prop0>
    
        <!--
        This checks the coalescing of CHARACTERS events that are interleaved with comments. Note that inner whitespace
        formed by whitespace-only events must be retained.
        -->
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 29 19:02:56 UTC 2020
    - 34.5K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy

        }
    
        def "finds function-like macro directive with multiple parameters with no whitespace between name and body"() {
            when:
            sourceFile << """
    #define A(X)Y
    """
    
            then:
            macros.empty
            macroFunctions == [macroFunction('A', 1, 'Y')]
        }
    
        def "handles whitespace in function-like macro definition"() {
            when:
            sourceFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  5. 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)
  6. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

        val part = parts.nextPart()!!
        assertThat(part.headers).isEqualTo(headersOf())
        assertThat(part.body.readUtf8()).isEqualTo("abcd")
    
        assertThat(parts.nextPart()).isNull()
      }
    
      @Test fun `skip whitespace after boundary`() {
        val multipart =
          """
          |--simple boundary
          |
          |abcd
          |--simple boundary--
          """.trimMargin()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. src/text/scanner/scanner.go

    	// changed at any time.
    	Mode uint
    
    	// The Whitespace field controls which characters are recognized
    	// as white space. To recognize a character ch <= ' ' as white space,
    	// set the ch'th bit in Whitespace (the Scanner's behavior is undefined
    	// for values ch > ' '). The field may be changed at any time.
    	Whitespace uint64
    
    	// IsIdentRune is a predicate controlling the characters accepted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. src/go/internal/gccgoimporter/parser.go

    		return
    	} else {
    		p.next()
    	}
    
    	p.expect(':')
    	want := p.parseInt()
    	p.expect('>')
    
    	defer func(w uint64) {
    		p.scanner.Whitespace = w
    	}(p.scanner.Whitespace)
    	p.scanner.Whitespace = 0
    
    	got := 0
    	for got < want {
    		r := p.scanner.Next()
    		if r == scanner.EOF {
    			p.error("unexpected EOF")
    		}
    		got += utf8.RuneLen(r)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 23:14:07 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

      val result = copyOf(size + 1)
      result[result.lastIndex] = value
      return result as Array<String>
    }
    
    /** Increments [startIndex] until this string is not ASCII whitespace. Stops at [endIndex]. */
    internal fun String.indexOfFirstNonAsciiWhitespace(
      startIndex: Int = 0,
      endIndex: Int = length,
    ): Int {
      for (i in startIndex until endIndex) {
        when (this[i]) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/cmd/vendor/rsc.io/markdown/inline.go

    	// (1) not followed by Unicode whitespace, and either
    	// (2a) not followed by a Unicode punctuation character, or
    	// (2b) followed by a Unicode punctuation character
    	// and preceded by Unicode whitespace or a Unicode punctuation character.
    	// For purposes of this definition, the beginning and the end
    	// of the line count as Unicode whitespace.”
    	leftFlank := !isUnicodeSpace(after) &&
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top