Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 53 for ASCII (0.03 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                // no password in tree connect
                dst[dstIndex++] = (byte) 0x00;
            }
            dstIndex += writeString(this.path, dst, dstIndex);
            try {
                System.arraycopy(this.service.getBytes("ASCII"), 0, dst, dstIndex, this.service.length());
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
            dstIndex += this.service.length();
            dst[dstIndex] = (byte) '\0';
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            assertArrayEquals(expectedBytes, actualBytes);
    
            // Verify it's actually UTF-16LE (each ASCII char should be followed by 0x00)
            int pathStart = Smb2Constants.SMB2_HEADER_LENGTH + 8;
            for (int i = 0; i < testPath.length(); i++) {
                char c = testPath.charAt(i);
                if (c < 128) { // ASCII character
                    assertEquals(c, buffer[pathStart + i * 2]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                        && (!getFessConfig().isCrawlerDocumentUseSiteEncodingOnEnglish() || "ISO-8859-1".equalsIgnoreCase(encoding)
                                || "US-ASCII".equalsIgnoreCase(encoding))) {
                    enc = getFessConfig().getCrawlerDocumentSiteEncoding();
                } else {
                    enc = encoding;
                }
    
                try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
            when(mockConfig.getOemEncoding()).thenReturn("ASCII");
            transaction = new TestSmbComTransaction(mockConfig, SmbComTransaction.SMB_COM_TRANSACTION, SmbComTransaction.TRANS2_FIND_FIRST2);
        }
    
        @Test
        @DisplayName("Test constructor initialization")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

            final byte[] derived = new byte[16];
            gen.generateBytes(derived, 0, 16);
            return derived;
        }
    
        /**
         * @param string
         * @return null terminated ASCII bytes
         */
        private static byte[] toCBytes(final String string) {
            final byte[] data = new byte[string.length() + 1];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmServlet.java

                    if (ntlm == null) {
                        return;
                    }
                } else {
                    final String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = index != -1 ? auth.substring(0, index) : auth;
                    final String password = index != -1 ? auth.substring(index + 1) : "";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmServlet.java

                    if (ntlm == null) {
                        return;
                    }
                } else {
                    final String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = index != -1 ? auth.substring(0, index) : auth;
                    final String password = index != -1 ? auth.substring(index + 1) : "";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  8. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

        }
    
        /**
         * Test encode/decode round trip with various data
         *
         * @throws Exception
         */
        public void testEncodeDecode_RoundTrip() throws Exception {
            // Test with ASCII text
            final String text = "Hello, World!";
            final byte[] textBytes = text.getBytes("UTF-8");
            final String encoded = Base64Util.encode(textBytes);
            final byte[] decoded = Base64Util.decode(encoded);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                    /* negotiation complete, remove the challenge object */
                    ssn.removeAttribute("NtlmHttpChal");
                } else {
                    final String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = index != -1 ? auth.substring(0, index) : auth;
                    final String password = index != -1 ? auth.substring(index + 1) : "";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            @Test
            @DisplayName("Should decode bytes correctly")
            void testReadBytesWireFormat() throws Exception {
                // Given - Service string in ASCII
                String testService = "A:";
                byte[] serviceBytes = testService.getBytes("ASCII");
                byte[] buffer = new byte[serviceBytes.length + 1];
                System.arraycopy(serviceBytes, 0, buffer, 0, serviceBytes.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top