Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 83 for toUpperCase (0.05 sec)

  1. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            assertEquals(testDomain.toUpperCase(), writtenDomain);
            currentIndex += testDomain.length() + 1;
    
            // Verify lastName
            String writtenLastName = new String(dst, currentIndex, lastName.length(), StandardCharsets.US_ASCII);
            assertEquals(lastName.toUpperCase(), writtenLastName);
    
            // Verify total bytes written
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K 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;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals(domain.toUpperCase(), writtenDomain);
    
            // Verify lastName is written for NET_SERVER_ENUM3
            int lastNameStart = domainStart + domain.length() + 1;
            String writtenLastName = readNullTerminatedString(dst, lastNameStart);
            assertEquals(lastName.toUpperCase(), writtenLastName);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  5. 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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/Lmhosts.java

            String line;
            final BufferedReader br = new BufferedReader(r);
    
            while ((line = br.readLine()) != null) {
                line = line.toUpperCase().trim();
                if (line.length() == 0) {
                    continue;
                }
                if (line.charAt(0) == '#') {
                    if (line.startsWith("#INCLUDE ")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/Lmhosts.java

        static void populate(final Reader r) throws IOException {
            String line;
            final BufferedReader br = new BufferedReader(r);
    
            while ((line = br.readLine()) != null) {
                line = line.toUpperCase().trim();
                if (line.length() == 0) {
                    continue;
                }
                if (line.charAt(0) == '#') {
                    if (line.startsWith("#INCLUDE ")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/UUIDTest.java

                UUID uuid = new UUID(rpcUuid);
    
                // Act
                String result = uuid.toString();
    
                // Assert
                assertEquals(VALID_UUID_STRING, result.toUpperCase(), "toString() should return the correct UUID string in uppercase");
            }
    
            @Test
            @DisplayName("toString() should work correctly for UUID created from string")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. 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 = {};
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.9K 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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top