Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 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. 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)
  7. .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)
  8. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

      }
    
      public void testToString() {
        byte[] data = new byte[] {127, -128, 5, -1, 14};
        assertEquals("7f8005ff0e", HashCode.fromBytes(data).toString());
        assertEquals("7f8005ff0e", base16().lowerCase().encode(data));
      }
    
      public void testHashCode_nulls() throws Exception {
        sanityTester().testNulls();
      }
    
      public void testHashCode_equalsAndSerializable() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashCodeTest.java

      }
    
      public void testToString() {
        byte[] data = new byte[] {127, -128, 5, -1, 14};
        assertEquals("7f8005ff0e", HashCode.fromBytes(data).toString());
        assertEquals("7f8005ff0e", base16().lowerCase().encode(data));
      }
    
      public void testHashCode_nulls() throws Exception {
        sanityTester().testNulls();
      }
    
      public void testHashCode_equalsAndSerializable() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/common/extensions.kt

        os: Os,
        arch: Arch,
        testJvmVersion: String,
        testJvmVendor: String
    ): String {
        val buildScanValues = mapOf(
            "coverageOs" to os.name.lowercase(),
            "coverageArch" to arch.name.lowercase(),
            "coverageJvmVendor" to testJvmVendor,
            "coverageJvmVersion" to "java$testJvmVersion"
        )
        return (
            listOf(
                "-PtestJavaVersion=$testJvmVersion",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top