Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for shareType (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

            }
            super.prepare(next);
        }
    
        /**
         * Returns the type of the connected share (disk, pipe, or print).
         *
         * @return the shareType
         */
        public byte getShareType() {
            return this.shareType;
        }
    
        /**
         * Returns the flags describing characteristics of the connected share.
         *
         * @return the shareFlags
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            assertEquals(shareType, share.type);
            assertEquals(remark, share.remark);
        }
    
        @Test
        @DisplayName("Test readDataWireFormat with multiple shares")
        void testReadDataWireFormatMultipleShares() throws Exception {
            int numShares = 3;
            String[] shareNames = { "SHARE1", "ADMIN$", "IPC$" };
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        }
    
        /**
         * Helper method to create a valid response buffer
         */
        private byte[] createValidResponseBuffer(int shareType, int shareFlags, int capabilities, int maxAccess) {
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(16, buffer, 0);
            buffer[2] = (byte) shareType;
            buffer[3] = 0;
            SMBUtil.writeInt4(shareFlags, buffer, 4);
            SMBUtil.writeInt4(capabilities, buffer, 8);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
Back to Top