Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 663 for SMB (0.01 sec)

  1. src/main/java/jcifs/util/Strings.java

    import jcifs.Configuration;
    import jcifs.RuntimeCIFSException;
    
    /**
     * Utility class for string manipulation and conversion operations in the jCIFS library.
     * Provides methods for encoding, decoding, and manipulating strings in SMB operations.
     *
     * @author mbechler
     */
    public final class Strings {
    
        private static final Logger log = LoggerFactory.getLogger(Strings.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

        void testDecode() throws Exception {
            // Test the decode method which is inherited from ServerMessageBlock
            byte[] buffer = new byte[256];
    
            // Set up a minimal SMB header (size 32 bytes)
            // SMB signature
            buffer[0] = (byte) 0xFF;
            buffer[1] = 'S';
            buffer[2] = 'M';
            buffer[3] = 'B';
    
            // Command - SMB_COM_TRANSACTION2
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

        private void setStatus(ServerMessageBlock2 smb, int status) throws Exception {
            Field statusField = ServerMessageBlock2.class.getDeclaredField("status");
            statusField.setAccessible(true);
            statusField.setInt(smb, status);
        }
    
        private void setAsync(ServerMessageBlock2 smb, boolean async) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

    /* jcifs smb client library in Java
     * Copyright (C) 2005  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/MultiChannelManager.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.smb;
    
    import java.net.InetAddress;
    import java.net.NetworkInterface;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.concurrent.ConcurrentHashMap;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                return Stream.of(
                        // Missing trailing slash -> should complain about directory ending
                        Arguments.of("smb://server/share", "/share", true),
                        // Not a server root -> invalid list operation
                        Arguments.of("smb://server/share/", "/share/", false));
            }
    
            @ParameterizedTest(name = "invalid path: {0}")
            @MethodSource("invalidShareEnumCases")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java

    /* jcifs smb client library in Java
     * Copyright (C) 2002  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateRequest.java

        /**
         * Create new RDMA negotiation request
         */
        public RdmaNegotiateRequest() {
            // Initialize with default values
            this.minVersion = 0x0100; // SMB Direct 1.0
            this.maxVersion = 0x0100; // SMB Direct 1.0
            this.creditsRequested = RdmaCapabilities.DEFAULT_SEND_CREDIT_TARGET;
            this.preferredSendSize = RdmaCapabilities.DEFAULT_MAX_RECEIVE_SIZE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/InfoTest.java

            // toString() uses lastWriteTime directly without offset
            assertTrue(resp.toString().contains(new Date(1630000000000L).toString()));
        }
    
        // Buffer helpers to build SMB basic file info wire format.
        // SMB uses little-endian byte order
        private static void writeLong(byte[] buf, int offset, long val) {
            for (int i = 0; i < 8; i++) {
                buf[offset + i] = (byte) ((val >>> (8 * i)) & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top