- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 87 for WhiteSpace (0.19 sec)
-
guava/src/com/google/common/base/Splitter.java
} /** * Returns a splitter that behaves equivalently to {@code this} splitter, but automatically * removes leading and trailing {@linkplain CharMatcher#whitespace whitespace} from each returned * substring; equivalent to {@code trimResults(CharMatcher.whitespace())}. For example, {@code * Splitter.on(',').trimResults().split(" a, b ,c ")} returns an iterable containing {@code ["a", * "b", "c"]}. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 24.4K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
// single project build entry point Exception ex = assertThrows(Exception.class, () -> projectBuilder.build(pomFile, configuration)); assertThat(ex.getMessage(), containsString("Received non-all-whitespace CHARACTERS or CDATA event")); // multi projects build entry point ProjectBuildingException pex = assertThrows( ProjectBuildingException.class,
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 09:06:12 UTC 2024 - 18.3K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderGroovyTest.groovy
then: //mind the trailing whitespace at the empty commented line assertOutputFile("""$COMMON_START */ repositories { // Use Maven Central // ${""} // Alternatively: // - Could use Google's Maven repository // - Or a local mirror mavenCentral() } """ ) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 16.2K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderKotlinTest.groovy
" // Use Maven Central\n" + " // \n" + // mind the trailing whitespace! " // Alternatively:\n" + " // - Could use Google's Maven repository\n" + " // - Or a local mirror\n" + " mavenCentral()\n" + "}\n" ) } def "vertical whitespace is included around statements with comments and around blocks"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 16.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Headers.kt
* simplifies use of single-valued fields whose values routinely contain commas, such as cookies or * dates. * * This class trims whitespace from values. It never returns values with leading or trailing * whitespace. * * Instances of this class are immutable. Use [Builder] to create instances. */ @Suppress("NAME_SHADOWING") class Headers internal constructor(
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.5K bytes - Viewed (0) -
src/encoding/xml/read_test.go
</WhitespaceValuesParent> ` // golang.org/issues/22146 func TestUnmarshalWhitespaceValues(t *testing.T) { v := WhitespaceValuesParent{} if err := Unmarshal([]byte(whitespaceValuesXML), &v); err != nil { t.Fatalf("whitespace values: Unmarshal failed: got %v", err) } want := WhitespaceValuesParent{ BFalse: false, BTrue: true, I: 266703, INeg: -266703, I8: 112, I8Neg: -112, I16: 6703,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 29.1K bytes - Viewed (0) -
src/internal/types/testdata/check/shifts.go
{ var Addrs int32 const rtaRtMask = 1 var i uint if Addrs&rtaRtMask&(1<<i) == 0 {} } // from src/text/scanner/scanner.go:540 { var s struct { Whitespace uint64 } var ch rune for s.Whitespace&(1<<uint(ch)) != 0 {} } } func issue5895() { var x = 'a' << 1 // type of x must be rune var _ rune = x } func issue11325() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 12.7K bytes - Viewed (0) -
src/text/scanner/scanner_test.go
} } func TestScanZeroMode(t *testing.T) { src := makeSource("%s\n") str := src.String() s := new(Scanner).Init(src) s.Mode = 0 // don't recognize any token classes s.Whitespace = 0 // don't skip any whitespace tok := s.Scan() for i, ch := range str { if tok != ch { t.Fatalf("%d. tok = %s, want %s", i, TokenString(tok), TokenString(ch)) } tok = s.Scan() } if tok != EOF {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 03:41:50 UTC 2022 - 25.3K bytes - Viewed (0) -
src/html/template/js.go
// license that can be found in the LICENSE file. package template import ( "bytes" "encoding/json" "fmt" "reflect" "strings" "unicode/utf8" ) // jsWhitespace contains all of the JS whitespace characters, as defined // by the \s character class. // See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions/Character_classes.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 14.1K bytes - Viewed (0) -
src/go/scanner/scanner_test.go
{token.SWITCH, "switch", keyword}, {token.TYPE, "type", keyword}, {token.VAR, "var", keyword}, } const whitespace = " \t \n\n\n" // to separate tokens var source = func() []byte { var src []byte for _, t := range tokens { src = append(src, t.lit...) src = append(src, whitespace...) } return src }() func newlineCount(s string) int { n := 0 for i := 0; i < len(s); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0)