Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for lowercase (0.2 sec)

  1. android/guava-tests/test/com/google/common/base/AsciiTest.java

      private static final String UPPER = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    
      public void testToLowerCase() {
        assertEquals(LOWER, Ascii.toLowerCase(UPPER));
        assertSame(LOWER, Ascii.toLowerCase(LOWER));
        assertEquals(IGNORED, Ascii.toLowerCase(IGNORED));
        assertEquals("foobar", Ascii.toLowerCase("fOobaR"));
      }
    
      public void testToUpperCase() {
        assertEquals(UPPER, Ascii.toUpperCase(LOWER));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/BaseEncoding.java

        }
    
        Alphabet lowerCase() {
          if (!hasUpperCase()) {
            return this;
          }
          checkState(!hasLowerCase(), "Cannot call lowerCase() on a mixed-case alphabet");
          char[] lowerCased = new char[chars.length];
          for (int i = 0; i < chars.length; i++) {
            lowerCased[i] = Ascii.toLowerCase(chars[i]);
          }
          Alphabet lowerCase = new Alphabet(name + ".lowerCase()", lowerCased);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(base16().upperCase()).isSameInstanceAs(base16());
      }
    
      public void testBase16LowerCase() {
        BaseEncoding lowerCase = base16().lowerCase();
        assertThat(lowerCase).isNotSameInstanceAs(base16());
        assertThat(lowerCase).isSameInstanceAs(base16().lowerCase());
        testEncodingWithCasing(lowerCase, "foobar", "666f6f626172");
      }
    
      public void testBase16IgnoreCase() {
        BaseEncoding ignoreCase = base16().ignoreCase();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(base16().upperCase()).isSameInstanceAs(base16());
      }
    
      public void testBase16LowerCase() {
        BaseEncoding lowerCase = base16().lowerCase();
        assertThat(lowerCase).isNotSameInstanceAs(base16());
        assertThat(lowerCase).isSameInstanceAs(base16().lowerCase());
        testEncodingWithCasing(lowerCase, "foobar", "666f6f626172");
      }
    
      public void testBase16IgnoreCase() {
        BaseEncoding ignoreCase = base16().ignoreCase();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Ascii.java

      }
    
      /**
       * If the argument is a {@linkplain #isLowerCase(char) lowercase ASCII character}, returns the
       * uppercase equivalent. Otherwise returns the argument.
       */
      public static char toUpperCase(char c) {
        return isLowerCase(c) ? (char) (c ^ CASE_MASK) : c;
      }
    
      /**
       * Indicates whether {@code c} is one of the twenty-six lowercase ASCII alphabetic characters
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. 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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 961 bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Ascii.java

      }
    
      /**
       * If the argument is a {@linkplain #isLowerCase(char) lowercase ASCII character}, returns the
       * uppercase equivalent. Otherwise returns the argument.
       */
      public static char toUpperCase(char c) {
        return isLowerCase(c) ? (char) (c ^ CASE_MASK) : c;
      }
    
      /**
       * Indicates whether {@code c} is one of the twenty-six lowercase ASCII alphabetic characters
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. .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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. 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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. 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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top