Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for LowerCase (0.43 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/StringExtensions.kt

    package gradlebuild.basics
    
    import java.util.Locale
    
    fun String.toLowerCase(): String =
        lowercase(Locale.US)
    
    fun String.toUpperCase(): String =
        uppercase(Locale.US)
    
    fun String.capitalize(): String =
        replaceFirstChar { it.uppercase(Locale.US) }
    
    fun String.decapitalize(): String =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 961 bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

      val typeSubtype: MatchResult =
        TYPE_SUBTYPE.matchAtPolyfill(this, 0)
          ?: throw IllegalArgumentException("No subtype found for: \"$this\"")
      val type = typeSubtype.groupValues[1].lowercase()
      val subtype = typeSubtype.groupValues[2].lowercase()
    
      val parameterNamesAndValues = mutableListOf<String>()
      var s = typeSubtype.range.last + 1
      while (s < length) {
        val parameter = PARAMETER.matchAtPolyfill(this, s)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/net/http/internal/ascii/print.go

    	if len(s) != len(t) {
    		return false
    	}
    	for i := 0; i < len(s); i++ {
    		if lower(s[i]) != lower(t[i]) {
    			return false
    		}
    	}
    	return true
    }
    
    // lower returns the ASCII lowercase version of b.
    func lower(b byte) byte {
    	if 'A' <= b && b <= 'Z' {
    		return b + ('a' - 'A')
    	}
    	return b
    }
    
    // IsPrint returns whether s is ASCII and printable according to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Challenge.kt

      @get:JvmName("scheme") val scheme: String,
      authParams: Map<String?, String>,
    ) {
      /**
       * Returns the auth params, including [realm] and [charset] if present, but as
       * strings. The map's keys are lowercase and should be treated case-insensitively.
       */
      @get:JvmName("authParams")
      val authParams: Map<String?, String>
    
      /** Returns the protection space. */
      @get:JvmName("realm")
      val realm: String?
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/common/Os.kt

    package common
    
    enum class Arch(val suffix: String, val nameOnLinuxWindows: String, val nameOnMac: String) {
        AMD64("64bit", "amd64", "x86_64"),
        AARCH64("aarch64", "aarch64", "aarch64");
    
        fun asName() = name.lowercase().toCapitalized()
    }
    
    enum class Os(
        val agentRequirement: String,
        val androidHome: String,
        val jprofilerHome: String,
        val perfTestWorkingDir: String = "%teamcity.build.checkoutDir%",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/library/format_test.go

    		},
    		{
    			name:        "dns1123Label",
    			expr:        `format.dns1123Label().validate("contains a space")`,
    			expectValue: types.OptionalOf(types.NewStringList(types.DefaultTypeAdapter, []string{"a lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name',  or '123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?')"})),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. cmd/fieldnamedocscheck/field_name_docs_check.go

    	rc := false
    	visited := sets.Set[string]{}
    
    	// The rule is:
    	// 1. Get all back-tick quoted names in the doc
    	// 2. Skip the name which is already found mismatched.
    	// 3. Skip the name whose lowercase is different from the lowercase of tag names,
    	//    because some docs use back-tick to quote field value or nil
    	// 4. Check if the name is different from its tag name
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 18:32:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/util/TextUtil.java

        }
    
        /**
         * This method should be used when making strings lowercase that
         * could be affected by locale differences. This method always uses an
         * English locale.
         *
         * @param s string to be made lowercase
         * @return a lowercase string that ignores locale
         * @see <a href="https://issues.gradle.org/browse/GRADLE-3470">GRADLE-3470</a>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/cases/trieval.go

    //	      (TODO: is this bit necessary? Probably implied from case mode.)
    //	2..0  case mode
    //
    // For the non-exceptional cases, a rune must be either uncased, lowercase or
    // uppercase. If the rune is cased, the XOR pattern maps either a lowercase
    // rune to uppercase or an uppercase rune to lowercase (applied to the 10
    // least-significant bits of the rune).
    //
    // See the definitions below for a more detailed description of the various
    // bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. pkg/apis/resource/validation/validation_resourceslice_test.go

    			slice:        testResourceSlice("", goodName, driverName),
    		},
    		"bad-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top