Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,099 for String4 (0.18 sec)

  1. src/internal/syscall/windows/registry/registry_test.go

    	{Type: registry.MULTI_SZ, Name: "MultiString1", Value: []string{"a", "b", "c"}},
    	{Type: registry.MULTI_SZ, Name: "MultiString2", Value: []string{"abc", "", "cba"}},
    	{Type: registry.MULTI_SZ, Name: "MultiString3", Value: []string{""}},
    	{Type: registry.MULTI_SZ, Name: "MultiString4", Value: []string{"abcdef"}},
    	{Type: registry.MULTI_SZ, Name: "MultiString5", Value: []string{"\000"}, WillFail: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:19:00 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/net/netip/netip.go

    // splitAddrPort splits s into an IP address string and a port
    // string. It splits strings shaped like "foo:bar" or "[foo]:bar",
    // without further validating the substrings. v6 indicates whether the
    // ip string should parse as an IPv6 address or an IPv4 address, in
    // order for s to be a valid ip:port string.
    func splitAddrPort(s string) (ip, port string, v6 bool, err error) {
    	i := bytealg.LastIndexByteString(s, ':')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Strings.java

       *
       * @param string a string reference to check
       * @return {@code true} if the string is null or is the empty string
       */
      public static boolean isNullOrEmpty(@CheckForNull String string) {
        return Platform.stringIsNullOrEmpty(string);
      }
    
      /**
       * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 17 20:47:03 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Strings.java

       *
       * @param string a string reference to check
       * @return {@code true} if the string is null or is the empty string
       */
      public static boolean isNullOrEmpty(@CheckForNull String string) {
        return Platform.stringIsNullOrEmpty(string);
      }
    
      /**
       * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 09 00:49:18 UTC 2021
    - 12.3K bytes
    - Viewed (0)
  5. src/strings/strings.go

    		return b.String()
    	}
    	return Map(unicode.ToLower, s)
    }
    
    // ToTitle returns a copy of the string s with all Unicode letters mapped to
    // their Unicode title case.
    func ToTitle(s string) string { return Map(unicode.ToTitle, s) }
    
    // ToUpperSpecial returns a copy of the string s with all Unicode letters mapped to their
    // upper case using the case mapping specified by c.
    func ToUpperSpecial(c unicode.SpecialCase, s string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  6. src/runtime/string.go

    		b = b[len(x):]
    	}
    	return s
    }
    
    func concatstring2(buf *tmpBuf, a0, a1 string) string {
    	return concatstrings(buf, []string{a0, a1})
    }
    
    func concatstring3(buf *tmpBuf, a0, a1, a2 string) string {
    	return concatstrings(buf, []string{a0, a1, a2})
    }
    
    func concatstring4(buf *tmpBuf, a0, a1, a2, a3 string) string {
    	return concatstrings(buf, []string{a0, a1, a2, a3})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy

        def encoder = new KryoBackedEncoder(outputStream)
    
        def "can serialize/deserialize isolated String values"() {
            def string1 = "foo"
            def string2 = "bar"
            Isolatable<?>[] isolatables = [isolatableFactory.isolate(string1), isolatableFactory.isolate(string2)]
    
            when:
            serialize(isolatables)
    
            and:
            Isolatable<?>[] newIsolatables = deserialize()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CookieTest.kt

            "a=b; Path=/c; Domain=example.com; Max-Age=5; Secure;         ; SameSite=Lax",
          )
        for (stringA in cookieStrings) {
          val cookieA = parseCookie(0, url, stringA!!)
          for (stringB in cookieStrings) {
            val cookieB = parseCookie(0, url, stringB!!)
            if (stringA == stringB) {
              assertThat(cookieB.hashCode()).isEqualTo(cookieA.hashCode())
              assertThat(cookieB).isEqualTo(cookieA)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  9. src/strings/example_test.go

    	fmt.Println(strings.Contains("", ""))
    	// Output:
    	// true
    	// false
    	// true
    	// true
    }
    
    func ExampleContainsAny() {
    	fmt.Println(strings.ContainsAny("team", "i"))
    	fmt.Println(strings.ContainsAny("fail", "ui"))
    	fmt.Println(strings.ContainsAny("ure", "ui"))
    	fmt.Println(strings.ContainsAny("failure", "ui"))
    	fmt.Println(strings.ContainsAny("foo", ""))
    	fmt.Println(strings.ContainsAny("", ""))
    	// Output:
    	// false
    	// true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:05:38 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  10. src/regexp/testdata/re2-search.txt

    strings
    ""
    "xabcdx"
    regexps
    "ab|cd"
    -;-;-;-
    -;1-3;-;1-3
    "^(?:ab|cd)$"
    -;-;-;-
    -;-;-;-
    "^(?:ab|cd)"
    -;-;-;-
    -;-;-;-
    "(?:ab|cd)$"
    -;-;-;-
    -;-;-;-
    strings
    ""
    "hello\ngoodbye\n"
    regexps
    "h.*od?"
    -;-;-;-
    -;0-5;-;0-5
    "^(?:h.*od?)$"
    -;-;-;-
    -;-;-;-
    "^(?:h.*od?)"
    -;-;-;-
    -;0-5;-;0-5
    "(?:h.*od?)$"
    -;-;-;-
    -;-;-;-
    strings
    ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 13 14:52:20 UTC 2021
    - 42.4K bytes
    - Viewed (0)
Back to top