Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,755 for String2 (0.13 sec)

  1. 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)
  2. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    +  if (len == 0 || numstr[len - 1] != '\0')
         {
           if (len >= room_left)
     	goto no_more_room;
    diff --git a/string/bits/string2.h b/string/bits/string2.h
    index c9bf593..f461fc1 100644
    --- a/string/bits/string2.h
    +++ b/string/bits/string2.h
    @@ -47,29 +47,7 @@
     #endif
     
     #if _STRING_ARCH_unaligned
    -/* If we can do unaligned memory accesses we must know the endianess.  */
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  3. 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)
  4. test/escape_reflect.go

    func mapiter1(m map[string]string) *reflect.MapIter { // ERROR "leaking param: m$"
    	mv := reflect.ValueOf(m)
    	return mv.MapRange()
    }
    
    func mapiter2(m map[string]string) string { // ERROR "leaking param: m$"
    	mv := reflect.ValueOf(m)
    	it := mv.MapRange()
    	if it.Next() {
    		return it.Key().String()
    	}
    	return ""
    }
    
    func mapiter3(m map[string]string, it *reflect.MapIter) { // ERROR "leaking param: m$" "it does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

                }
    
                configure<MutableMap<String, String>> {
                    put("bazar", "cathedral")
                }
                require(the<MutableMap<String, String>>() == mapOf("foo" to "bar", "bazar" to "cathedral"))
    
                configure<MutableMap<String, Int>> {
                    put("zero", 0)
                }
                require(the<MutableMap<String, Int>>() == mapOf("deep" to 42, "zero" to 0))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  6. src/encoding/gob/codec_test.go

    	if v, ok := item2.Bool.(bool); !ok || !v {
    		t.Error("boolean should be true")
    	}
    	if v, ok := item2.String.(string); !ok || v != item1.String.(string) {
    		t.Errorf("string should be %v is %v", item1.String, v)
    	}
    }
    
    type String string
    
    type PtrInterfaceItem struct {
    	Str1 any // basic
    	Str2 any // derived
    }
    
    // We'll send pointers; should receive values.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 19 23:03:14 UTC 2023
    - 36.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top