Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,210 for uspace (0.11 sec)

  1. src/go/format/internal.go

    	// Otherwise, append output to leading space.
    	res = append(res, out...)
    
    	// Determine and append trailing space.
    	i = len(src)
    	for i > 0 && isSpace(src[i-1]) {
    		i--
    	}
    	return append(res, src[i:]...), nil
    }
    
    // isSpace reports whether the byte is a space character.
    // isSpace defines a space as being among the following bytes: ' ', '\t', '\n' and '\r'.
    func isSpace(b byte) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 28 14:23:08 UTC 2020
    - 5K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverTest.groovy

            assertEquals(new File(baseDir, 'with white%20space').toURI(), baseDirConverter.resolveUri('with white%20space'))
            assertEquals('with white%20space', baseDirConverter.resolve(baseDirConverter.resolveUri('with white%20space')).name)
        }
    
        @Test public void testResolveUriStringWithEncodedCharsToUri() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 29 17:15:52 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  3. src/text/template/parse/lex.go

    // better with the space present anyway. For simplicity, only ASCII
    // does the job.
    const (
    	spaceChars    = " \t\r\n"  // These are the space characters defined by Go itself.
    	trimMarker    = '-'        // Attached to left/right delimiter, trims trailing spaces from preceding/following text.
    	trimMarkerLen = Pos(1 + 1) // marker plus space before or after
    )
    
    // stateFn represents the state of the scanner as a function that returns the next state.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 04 22:36:12 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  4. samples/kind-lb/setupkind.sh

      ipv4Range="- ${ipv4Prefix}.${IPSPACE}.200-${ipv4Prefix}.${IPSPACE}.240"
      ipv6Range=""
    elif [[ "${IPFAMILY}" == "ipv6" ]]; then
      addrName="GlobalIPv6Address"
      ipv4Range=""
      ipv6Range="- ${ipv6Prefix}::${IPSPACE}:200-${ipv6Prefix}::${IPSPACE}:240"
    else
      if [[ "${IPV6GW}" == "true" ]]; then
        addrName="GlobalIPv6Address"
      fi
    
      ipv4Range="- ${ipv4Prefix}.${IPSPACE}.200-${ipv4Prefix}.${IPSPACE}.240"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 02 19:08:19 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. src/unicode/graphic.go

    	}
    	return Is(Punct, r)
    }
    
    // IsSpace reports whether the rune is a space character as defined
    // by Unicode's White Space property; in the Latin-1 space
    // this is
    //
    //	'\t', '\n', '\v', '\f', '\r', ' ', U+0085 (NEL), U+00A0 (NBSP).
    //
    // Other definitions of spacing characters are set by category
    // Z and property [Pattern_White_Space].
    func IsSpace(r rune) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. 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)
  7. src/unicode/example_test.go

    	fmt.Printf("%t\n", unicode.IsTitle('a'))
    	// Output:
    	// true
    	// false
    }
    
    func ExampleIsSpace() {
    	fmt.Printf("%t\n", unicode.IsSpace(' '))
    	fmt.Printf("%t\n", unicode.IsSpace('\n'))
    	fmt.Printf("%t\n", unicode.IsSpace('\t'))
    	fmt.Printf("%t\n", unicode.IsSpace('a'))
    	// Output:
    	// true
    	// true
    	// true
    	// false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 00:18:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  8. src/text/template/parse/lex_test.go

    		tLeft,
    		mkItem(itemNumber, "1"),
    		tSpace,
    		mkItem(itemNumber, "02"),
    		tSpace,
    		mkItem(itemNumber, "0x14"),
    		tSpace,
    		mkItem(itemNumber, "0X14"),
    		tSpace,
    		mkItem(itemNumber, "-7.2i"),
    		tSpace,
    		mkItem(itemNumber, "1e3"),
    		tSpace,
    		mkItem(itemNumber, "1E3"),
    		tSpace,
    		mkItem(itemNumber, "+1.2e-4"),
    		tSpace,
    		mkItem(itemNumber, "4.2i"),
    		tSpace,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 15:03:43 UTC 2022
    - 13.9K bytes
    - Viewed (0)
  9. src/internal/trace/raw/textreader.go

    		return nil, fmt.Errorf("unknown or unsupported Go version 1.%d", v)
    	}
    	tr.v = v
    	tr.specs = v.Specs()
    	tr.names = event.Names(tr.specs)
    	for _, r := range line {
    		if !unicode.IsSpace(r) {
    			return nil, fmt.Errorf("encountered unexpected non-space at the end of the header: %q", line)
    		}
    	}
    	return tr, nil
    }
    
    // Version returns the version of the trace that we're reading.
    func (r *TextReader) Version() version.Version {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

                                    isSpace = removeLastDuplication(buf, alphanumSize, isSpace, termCache);
                                } else if (symbolSize > 0) {
                                    isSpace = removeLastDuplication(buf, symbolSize, isSpace, termCache);
                                }
                            }
                            // space
                            if (!isSpace && !isLastSpaceChar(buf)) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top