Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 89 for 0x0004 (0.02 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndXResponse.java

    package jcifs.smb1.smb1;
    
    import java.io.UnsupportedEncodingException;
    
    class SmbComTreeConnectAndXResponse extends AndXServerMessageBlock {
    
        private static final int SMB_SUPPORT_SEARCH_BITS = 0x0001;
        private static final int SMB_SHARE_IS_IN_DFS = 0x0002;
    
        boolean supportSearchBits, shareIsInDfs;
        String service, nativeFileSystem = "";
    
        SmbComTreeConnectAndXResponse(final ServerMessageBlock andx) {
            super(andx);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // Testing invalid protocol ID during decode instead
            byte[] invalidBuffer = new byte[52];
            // Write invalid protocol ID
            invalidBuffer[0] = 0x00;
            invalidBuffer[1] = 0x00;
            invalidBuffer[2] = 0x00;
            invalidBuffer[3] = 0x00;
    
            assertThrows(IllegalArgumentException.class, () -> {
                Smb2TransformHeader.decode(invalidBuffer, 0);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

                    createDisposition = FILE_OPEN_IF;
                }
            } else {
                createDisposition = FILE_OPEN;
            }
    
            if ((createOptions & 0x0001) == 0) {
                this.createOptions = createOptions | 0x0040;
            } else {
                this.createOptions = createOptions;
            }
            impersonationLevel = 0x02; // As seen on NT :~)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertTrue(s.contains(",informationLevel=0x104"), "toString should include information level 0x104");
            assertTrue(s.contains(",resumeKey=0x0304"), "toString should include lower 16-bit resumeKey hex");
            assertTrue(s.contains(",flags=0x00"), "toString should include flags in hex");
            assertTrue(s.endsWith("]"), "toString should end with closing bracket");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // Set test values
            int testCapabilities = 0xABCDEF00;
            byte[] testGuid = new byte[16];
            Arrays.fill(testGuid, (byte) 0xFF);
            int testSecurityMode = 0x0001;
            int testDialect = 0x0202;
    
            // Write to buffer
            SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex);
            System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                    // For domain: Type 0x0002 (NetBIOS Domain Name)
                    // For server: Type 0x0001 (NetBIOS Computer Name)
    
                    // Verify domain part
                    assertEquals(2, Type2Message.readUShort(targetInfo, 0)); // Type 0x0002
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

                    this.createDisposition = FILE_OPEN_IF;
                }
            } else {
                this.createDisposition = FILE_OPEN;
            }
    
            if ((createOptions & 0x0001) == 0) {
                this.createOptions = createOptions | 0x0040;
            } else {
                this.createOptions = createOptions;
            }
            this.impersonationLevel = 0x02; // As seen on NT :~)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
            // Error response structure: size(2)=9, errorContextCount(1), reserved(1), bc(4), errorData(bc)
            SMBUtil.writeInt2(9, buf, bodyStart);
            buf[bodyStart + 2] = 0x02; // errorContextCount
            buf[bodyStart + 3] = 0x00; // reserved
            int bc = 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

            return transformCount > 0 && rdmaTransformId == 0x0001;
        }
    
        /**
         * Get the transform count
         *
         * @return number of transforms
         */
        public int getTransformCount() {
            return transformCount;
        }
    
        /**
         * Get the RDMA transform ID
         *
         * @return transform ID (should be 0x0001 for V1)
         */
        public int getRdmaTransformId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
            .putChar((char) 0x0101)
            .putChar((char) 0x0100)
            .putChar((char) 0x0000)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top