Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 9,302 for String3 (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/internal/stringslite/strings.go

    	}
    	return s[:len(s)-len(suffix)], true
    }
    
    func TrimPrefix(s, prefix string) string {
    	if HasPrefix(s, prefix) {
    		return s[len(prefix):]
    	}
    	return s
    }
    
    func TrimSuffix(s, suffix string) string {
    	if HasSuffix(s, suffix) {
    		return s[:len(s)-len(suffix)]
    	}
    	return s
    }
    
    func Clone(s string) string {
    	if len(s) == 0 {
    		return ""
    	}
    	b := make([]byte, len(s))
    	copy(b, s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 01:23:42 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. 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)
  4. pilot/pkg/security/authz/matcher/string.go

    	case v == "*":
    		return StringMatcherRegex(".+")
    	case strings.HasPrefix(v, "*"):
    		if prefix == "" {
    			return StringMatcherSuffix(strings.TrimPrefix(v, "*"), false)
    		}
    		return StringMatcherRegex(prefix + ".*" + strings.TrimPrefix(v, "*"))
    	case strings.HasSuffix(v, "*"):
    		return StringMatcherPrefix(prefix+strings.TrimSuffix(v, "*"), false)
    	default:
    		return StringMatcherExact(prefix+v, false)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    	Run:      run,
    }
    
    // describe returns a string describing the type typ contained within the type
    // set of inType. If non-empty, inName is used as the name of inType (this is
    // necessary so that we can use alias type names that may not be reachable from
    // inType itself).
    func describe(typ, inType types.Type, inName string) string {
    	name := inName
    	if typ != inType {
    		name = typeName(typ)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.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. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-string.h

    #endif
    
      // Compares two C strings.  Returns true iff they have the same content.
      //
      // Unlike strcmp(), this function can handle NULL argument(s).  A
      // NULL C string is considered different to any non-NULL C string,
      // including the empty string.
      static bool CStringEquals(const char* lhs, const char* rhs);
    
      // Converts a wide C string to a String using the UTF-8 encoding.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. 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)
  9. cmd/http-tracer.go

    // getOpName sanitizes the operation name for mc
    func getOpName(name string) (op string) {
    	op = strings.TrimPrefix(name, "github.com/minio/minio/cmd.")
    	op = strings.TrimSuffix(op, "Handler-fm")
    	op = strings.Replace(op, "objectAPIHandlers", "s3", 1)
    	op = strings.Replace(op, "adminAPIHandlers", "admin", 1)
    	op = strings.Replace(op, "(*storageRESTServer)", "storageR", 1)
    	op = strings.Replace(op, "(*peerRESTServer)", "peer", 1)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/cmd/dist/buildtool.go

    	}
    	archCaps = fileArch
    	fileArch = strings.ToLower(fileArch)
    	fileArch = strings.TrimSuffix(fileArch, "splitload")
    	fileArch = strings.TrimSuffix(fileArch, "latelower")
    	if fileArch == goArch {
    		return "", false
    	}
    	if fileArch == strings.TrimSuffix(goArch, "le") {
    		return "", false
    	}
    	return archCaps, true
    }
    
    func bootstrapRewriteFile(srcFile string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top