Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 69 for toUpperCase (0.07 seconds)

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

        assertThat(Ascii.toLowerCase("fOobaR")).isEqualTo("foobar");
      }
    
      public void testToUpperCase() {
        assertThat(Ascii.toUpperCase(LOWER)).isEqualTo(UPPER);
        assertThat(Ascii.toUpperCase(UPPER)).isSameInstanceAs(UPPER);
        assertThat(Ascii.toUpperCase(IGNORED)).isEqualTo(IGNORED);
        assertThat(Ascii.toUpperCase("FoOBAr")).isEqualTo("FOOBAR");
      }
    
      public void testCharsIgnored() {
        for (char c : IGNORED.toCharArray()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/base/AsciiTest.java

        assertThat(Ascii.toLowerCase("fOobaR")).isEqualTo("foobar");
      }
    
      public void testToUpperCase() {
        assertThat(Ascii.toUpperCase(LOWER)).isEqualTo(UPPER);
        assertThat(Ascii.toUpperCase(UPPER)).isSameInstanceAs(UPPER);
        assertThat(Ascii.toUpperCase(IGNORED)).isEqualTo(IGNORED);
        assertThat(Ascii.toUpperCase("FoOBAr")).isEqualTo("FOOBAR");
      }
    
      public void testCharsIgnored() {
        for (char c : IGNORED.toCharArray()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                            if (this.isUseUnicode()) {
                                this.accountName = this.accountName.toUpperCase();
                            }
                            this.primaryDomain = a.getUserDomain() != null ? a.getUserDomain().toUpperCase() : "?";
                        } else {
                            this.accountName = "";
                            this.primaryDomain = "";
                        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

        SpliteratorTester.of(
                () ->
                    CollectSpliterators.map(
                        Arrays.spliterator(new String[] {"a", "b", "c", "d", "e"}),
                        0,
                        Ascii::toUpperCase))
            .expect("A", "B", "C", "D", "E");
      }
    
      public void testFlatMap() {
        SpliteratorTester.of(
                () ->
                    CollectSpliterators.flatMap(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        public boolean equals(Object obj) {
            if (obj instanceof NtlmPasswordAuthenticator ntlm) {
                String domA = ntlm.getUserDomain() != null ? ntlm.getUserDomain().toUpperCase() : null;
                String domB = this.getUserDomain() != null ? this.getUserDomain().toUpperCase() : null;
                return ntlm.type == this.type && Objects.equals(domA, domB) && ntlm.getUsername().equalsIgnoreCase(this.getUsername())
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

                path = values[1];
            } else {
                path = "/" + values[1];
            }
    
            final CurlHelper curlHelper = ComponentUtil.getCurlHelper();
            switch (values[0].toUpperCase(Locale.ROOT)) {
            case "GET":
                return curlHelper.get(path);
            case "POST":
                return curlHelper.post(path);
            case "PUT":
                return curlHelper.put(path);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

      public void testMap() {
        SpliteratorTester.of(
                () ->
                    CollectSpliterators.map(
                        Arrays.spliterator(new String[] {"a", "b", "c", "d", "e"}), Ascii::toUpperCase))
            .expect("A", "B", "C", "D", "E");
      }
    
      public void testFlatMap() {
        SpliteratorTester.of(
                () ->
                    CollectSpliterators.flatMap(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

          if (ch == '\t' || ch == '\n' || ch == '\r') {
            // Only these whitespace chars are permitted in XML,
            if (shouldEscapeWhitespaceChars) {
              assertEscaping(xmlEscaper, "&#x" + Integer.toHexString(ch).toUpperCase() + ";", ch);
            } else {
              assertUnescaped(xmlEscaper, ch);
            }
          } else {
            // and everything else is replaced with FFFD.
            assertEscaping(xmlEscaper, "\uFFFD", ch);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/netbios/UniAddress.java

                if (i > 1 && i < 15) {
                    this.calledName = this.calledName.substring(0, i).toUpperCase();
                } else if (this.calledName.length() > 15) {
                    this.calledName = NbtAddress.SMBSERVER_NAME;
                } else {
                    this.calledName = this.calledName.toUpperCase();
                }
            }
    
            return this.calledName;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

          if (ch == '\t' || ch == '\n' || ch == '\r') {
            // Only these whitespace chars are permitted in XML,
            if (shouldEscapeWhitespaceChars) {
              assertEscaping(xmlEscaper, "&#x" + Integer.toHexString(ch).toUpperCase() + ";", ch);
            } else {
              assertUnescaped(xmlEscaper, ch);
            }
          } else {
            // and everything else is replaced with FFFD.
            assertEscaping(xmlEscaper, "\uFFFD", ch);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
Back to Top