Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 199 for WhiteSpace (0.32 sec)

  1. android/guava-tests/test/com/google/common/io/ResourcesTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.CharMatcher.whitespace;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Charsets;
    import com.google.common.collect.ImmutableList;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

     * limitations under the License.
     */
    
    package gradlebuild.docs.dsl.docbook
    
    import spock.lang.Specification
    
    class HtmlToXmlJavadocLexerTest extends Specification {
        def "discards whitespace around block elements"() {
            expect:
            parse(source) == transformed
    
            where:
            source                                             | transformed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ResourcesTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.CharMatcher.whitespace;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Charsets;
    import com.google.common.collect.ImmutableList;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. src/go/ast/print_test.go

    		`0  struct { X int; y int } {
    		1  .  X: 42
    		2  }`},
    	{struct{ X, Y int }{42, 991},
    		`0  struct { X int; Y int } {
    		1  .  X: 42
    		2  .  Y: 991
    		3  }`},
    }
    
    // Split s into lines, trim whitespace from all lines, and return
    // the concatenated non-empty lines.
    func trim(s string) string {
    	lines := strings.Split(s, "\n")
    	i := 0
    	for _, line := range lines {
    		line = strings.TrimSpace(line)
    		if line != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 15:35:30 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. 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)
  6. istioctl/pkg/writer/envoy/configdump/ecds_test.go

    	gotOut := &bytes.Buffer{}
    	cw := &ConfigWriter{Stdout: gotOut}
    	cd, _ := os.ReadFile("testdata/ecds/configdump.json")
    	cw.Prime(cd)
    	err := cw.PrintEcds("json")
    	assert.NoError(t, err)
    
    	// protojson opt out of whitespace randomization, see more details: https://github.com/golang/protobuf/issues/1082
    	var rm json.RawMessage = gotOut.Bytes()
    	jsonOutput, err := json.MarshalIndent(rm, "", "    ")
    	if err != nil {
    		assert.NoError(t, err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 13 01:08:07 UTC 2022
    - 1.9K 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. common/config/sass-lint.yml

      no-empty-rulesets: 2
      no-extends: 2
      no-ids: 0
      no-invalid-hex: 2
      no-important: 0
      no-mergeable-selectors: 2
      no-misspelled-properties: 2
      no-qualifying-elements: 0
      no-trailing-whitespace: 2
      no-trailing-zero: 2
      no-transition-all: 0
      no-url-domains: 2
      no-url-protocols: 2
      no-warn: 2
      one-declaration-per-line: 2
      placeholder-in-extend: 2
      placeholder-name-format: 2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 11 23:32:21 UTC 2019
    - 2K bytes
    - Viewed (0)
Back to top