Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 86 for 0xff00 (0.73 sec)

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

     */
    
    package jcifs.smb1.smb1;
    
    import java.util.Date;
    
    import jcifs.smb1.util.Hexdump;
    
    class SmbComQueryInformationResponse extends ServerMessageBlock implements Info {
    
        private int fileAttributes = 0x0000;
        private long lastWriteTime = 0L;
        private final long serverTimeZoneOffset;
        private int fileSize = 0;
    
        SmbComQueryInformationResponse(final long serverTimeZoneOffset) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

     * for the requested file or directory.
     */
    public class SmbComQueryInformationResponse extends ServerMessageBlock implements SmbBasicFileInfo {
    
        private int fileAttributes = 0x0000;
        private long lastWriteTime = 0L;
        private final long serverTimeZoneOffset;
        private int fileSize = 0;
    
        /**
         * Constructs a query information response.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                // Given
                setResultField(bind, 0xFFFF);
    
                // When
                DcerpcException result = bind.getResult();
    
                // Then
                assertNotNull(result, "Should return exception for large error code");
                assertEquals("0xFFFF", result.getMessage(), "Should return hex representation for large error code");
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            for (;;) {
                /* 01234567
                 * 00SSFSMB
                 * 0 - 0's
                 * S - size of payload
                 * FSMB - 0xFF SMB magic #
                 */
    
                if (sbuf[0] == (byte) 0x00 && sbuf[1] == (byte) 0x00 && sbuf[4] == (byte) 0xFF && sbuf[5] == (byte) 'S' && sbuf[6] == (byte) 'M'
                        && sbuf[7] == (byte) 'B') {
                    break; /* all good */
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            String result = response.toString();
            assertNotNull(result);
            assertTrue(result.startsWith("SmbComQueryInformationResponse["));
            assertTrue(result.contains("fileAttributes=0x0000"));
            assertTrue(result.contains("lastWriteTime=" + new Date(0L)));
            assertTrue(result.contains("fileSize=0"));
            assertTrue(result.endsWith("]"));
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

        void testReadBytesWireFormatNegativeStructureSize() {
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Set structure size to -1 (0xFFFF when read as unsigned)
            SMBUtil.writeInt2(0xFFFF, buffer, bufferIndex);
    
            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            // Then
            assertEquals(4, bytesWritten);
            assertEquals(SmbComTransaction.TRANS_CALL_NAMED_PIPE, dst[0]);
            assertEquals((byte) 0x00, dst[1]);
            assertEquals((byte) 0x00, dst[2]);
            assertEquals((byte) 0x00, dst[3]);
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat with offset")
        void testWriteSetupWireFormatWithOffset() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2Constants.java

        /**
         * Unspecified file ID value (all 0xFF bytes)
         */
        public static final byte[] UNSPECIFIED_FILEID =
                { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
                        (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF };
    
        /**
         * Unspecified tree ID value
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcDfsRootEnum.java

         *
         * @param server the server name to enumerate DFS roots from
         */
        public MsrpcDfsRootEnum(final String server) {
            super(server, 200, 0xFFFF, new netdfs.DfsEnumStruct(), new NdrLong(0));
            info.level = level;
            info.e = new netdfs.DfsEnumArray200();
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top