Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 640 for unicode (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            assertEquals(0x00, buffer[4]);
            assertEquals(0x00, buffer[5]);
    
            // Check that filename is written correctly (starting at offset 6)
            // The filename should be null-terminated Unicode string
            assertTrue(written > 6);
    
            // Verify the total bytes written is reasonable
            assertTrue(written > TEST_FILENAME.length());
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java

            assertEquals(0, result);
        }
    
        /**
         * Test writeBytesWireFormat.
         */
        @Test
        void testWriteBytesWireFormat() {
            // Assuming path is ASCII and does not use unicode
            String dirName = "\testDir";
            SmbComDeleteDirectory sdd = new SmbComDeleteDirectory(dirName);
            sdd.useUnicode = false;
            // format byte + path + null terminator
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. docs/debugging/inspect/decrypt-v2.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    	"unicode/utf8"
    
    	"github.com/minio/madmin-go/v3/estream"
    )
    
    type keepFileErr struct {
    	error
    }
    
    func extractInspectV2(pks [][]byte, r io.Reader, extractDir string) error {
    	sr, err := estream.NewReader(r)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmUtil.java

            hmac.update(clientChallenge);
            hmac.digest(response, 0, 16);
            System.arraycopy(clientChallenge, 0, response, 16, 8);
            return response;
        }
    
        /**
         * Generate the Unicode MD4 hash for the password associated with these credentials.
         *
         * @param password the password to hash
         * @param challenge the server challenge bytes
         * @return the calculated response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PacDataInputStream.java

                date = new Date(completeBigInt.longValue());
            }
    
            return date;
        }
    
        /**
         * Reads a PAC Unicode string structure.
         * @return the PAC Unicode string object
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if the string structure is malformed
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test decode with various file names")
        @CsvSource({ "a.txt", "very_long_filename_with_many_characters_to_test_buffer_handling.docx", "file with spaces.pdf", "文件.txt", // Unicode filename
                "file-with-special-chars!@#$%^&().bin" })
        void testDecodeWithVariousFileNames(String fileName) throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        }
    
        // Test append with Unicode characters
        public void test_append_unicodeCharacters() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> "テスト 测试 테스트 🎉";
    
            monitorTarget.append(buf, "unicodeKey", supplier);
            // Unicode characters are escaped in JSON format
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

        /**
         *
         */
        private static final long serialVersionUID = -2832037191318016836L;
    
        /** The ANSI password hash */
        private byte[] ansiHash;
        /** The Unicode password hash */
        private byte[] unicodeHash;
        /** Flag indicating if hashes are externally provided */
        private boolean hashesExternal = false;
        /** The CIFS context for this authentication */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/UnicodeString.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.dcerpc;
    
    /**
     * Unicode string type wrapper
     *
     */
    public class UnicodeString extends rpc.unicode_string {
    
        boolean zterm;
    
        /**
         * Constructs a UnicodeString with zero termination option.
         *
         * @param zterm
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

    import org.apache.http.conn.DnsResolver;
    
    /**
     * The {@code IdnDnsResolver} class implements the {@code DnsResolver} interface
     * to provide DNS resolution with support for Internationalized Domain Names (IDN).
     * It converts Unicode domain names to ASCII Compatible Encoding (ACE) using the
     * {@link java.net.IDN} class.
     *
     * <p>This class allows setting a custom flag for the IDN conversion and a custom
     * encoding for URL decoding.</p>
     *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top