Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 31 for toUpperCase (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava/src/com/google/common/base/Ascii.java

       * without modification.
       *
       * @since 14.0
       */
      public static String toUpperCase(CharSequence chars) {
        if (chars instanceof String) {
          return toUpperCase((String) chars);
        }
        char[] newChars = new char[chars.length()];
        for (int i = 0; i < newChars.length; i++) {
          newChars[i] = toUpperCase(chars.charAt(i));
        }
        return String.valueOf(newChars);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Ascii.java

       * without modification.
       *
       * @since 14.0
       */
      public static String toUpperCase(CharSequence chars) {
        if (chars instanceof String) {
          return toUpperCase((String) chars);
        }
        char[] newChars = new char[chars.length()];
        for (int i = 0; i < newChars.length; i++) {
          newChars[i] = toUpperCase(chars.charAt(i));
        }
        return String.valueOf(newChars);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  3. 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)
  4. src/main/java/org/codelibs/core/lang/StringUtil.java

                        buf.append('_');
                    }
                    buf.append(s.substring(pos, i).toUpperCase());
                    pos = i;
                }
            }
            if (buf.length() != 0) {
                buf.append('_');
            }
            buf.append(s.substring(pos, s.length()).toUpperCase());
            return buf.toString();
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

                // Ensure names are uppercase and limited to 15 characters
                this.name = name != null && name.length() > 15 ? name.substring(0, 15).toUpperCase() : (name != null ? name.toUpperCase() : "");
                this.type = type;
                this.scope = scope;
            }
    
            @Override
            public String getName() {
                return name;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        public int hashCode() {
            int hash;
            try {
                hash = getAddress().hashCode();
            } catch (final CIFSException uhe) {
                hash = getServer().toUpperCase().hashCode();
            }
            return hash + getURLPath().toUpperCase().hashCode();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

            }
    
            private String capitalizeName(String name) {
                if (name == null || name.isEmpty()) {
                    return name;
                }
                return name.substring(0, 1).toUpperCase() + name.substring(1);
            }
    
            private String decapitalizeName(String name) {
                if (name == null || name.isEmpty()) {
                    return name;
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionBwcSetupPlugin.java

            }).collect(Collectors.toList());
        }
    
        private static String buildBwcTaskName(String projectName) {
            return "buildBwc"
                + stream(projectName.split("-")).map(i -> i.substring(0, 1).toUpperCase(Locale.ROOT) + i.substring(1))
                    .collect(Collectors.joining());
        }
    
        static void createBuildBwcTask(
            BwcSetupExtension bwcSetupExtension,
            Project project,
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 18 09:11:28 GMT 2021
    - 14.5K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/hash/HashCodeTest.java

        assertThrows(IllegalArgumentException.class, () -> HashCode.fromString("7f8005ff0z"));
      }
    
      public void testFromStringFailsWithUpperCaseString() {
        String string = sha1().hashString("foo", US_ASCII).toString().toUpperCase();
        assertThrows(IllegalArgumentException.class, () -> HashCode.fromString(string));
      }
    
      public void testFromStringFailsWithShortInputs() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/UniAddress.java

                if (i > 1 && i < 15) {
                    calledName = calledName.substring(0, i).toUpperCase();
                } else if (calledName.length() > 15) {
                    calledName = NbtAddress.SMBSERVER_NAME;
                } else {
                    calledName = calledName.toUpperCase();
                }
            }
    
            return calledName;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17K bytes
    - Click Count (0)
Back to Top