Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 80 for toUpperCase (0.08 sec)

  1. android/guava/src/com/google/common/base/CaseFormat.java

        @Override
        String convert(CaseFormat format, String s) {
          if (format == LOWER_UNDERSCORE) {
            return s.replace('-', '_');
          }
          if (format == UPPER_UNDERSCORE) {
            return Ascii.toUpperCase(s.replace('-', '_'));
          }
          return super.convert(format, s);
        }
      },
    
      /** C++ variable naming convention, e.g., "lower_underscore". */
      LOWER_UNDERSCORE(CharMatcher.is('_'), "_") {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            dstIndex += 2;
            writeInt4( serverTypes, dst, dstIndex );
            dstIndex += 4;
            dstIndex += writeString( domain.toUpperCase(), dst, dstIndex, false );
            if( which == 1 ) {
                dstIndex += writeString( lastName.toUpperCase(), dst, dstIndex, false );
            }
    
            return dstIndex - start;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  3. 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);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            dstIndex += 2;
            SMBUtil.writeInt4(this.serverTypes, dst, dstIndex);
            dstIndex += 4;
            dstIndex += writeString(this.domain.toUpperCase(), dst, dstIndex, false);
            if ( which == 1 ) {
                dstIndex += writeString(this.lastName.toUpperCase(), dst, dstIndex, false);
            }
    
            return dstIndex - start;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/Lmhosts.java

        }
    
        static void populate( Reader r ) throws IOException {
            String line;
            BufferedReader br = new BufferedReader( r );
    
            while(( line = br.readLine() ) != null ) {
                line = line.toUpperCase().trim();
                if( line.length() == 0 ) {
                    continue;
                } else if( line.charAt( 0 ) == '#' ) {
                    if( line.startsWith( "#INCLUDE " )) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                if (suppliedDomain != null && suppliedDomain.length() != 0) {
                    hostInfo = true;
                    flags |= NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED;
                    domain = suppliedDomain.toUpperCase().getBytes(
                            getOEMEncoding());
                } else {
                    flags &= (NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED ^ 0xffffffff);
                }
                byte[] workstation = new byte[0];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  7. 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);
      }
    
      /**
    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. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/StringExtensions.kt

     * limitations under the License.
     */
    
    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)
  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;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/Type1Message.java

                    flags |= NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED;
                    domain = suppliedDomainString.toUpperCase().getBytes(getOEMEncoding());
                    size += domain.length;
                }
                else {
                    flags &= ( NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED ^ 0xffffffff );
                }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K bytes
    - Viewed (0)
Back to top