Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 217 for 0x40 (0.01 sec)

  1. src/main/java/jcifs/smb1/netbios/NbtSocket.java

            this.address = address;
            if (calledName == null) {
                this.calledName = address.hostName;
            } else {
                this.calledName = new Name(calledName, 0x20, null);
            }
            soTimeout = Config.getInt("jcifs.smb1.netbios.soTimeout", DEFAULT_SO_TIMEOUT);
            connect();
        }
    
        /**
         * Returns the NetBIOS address associated with this socket.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

        /**
         * Flag indicating that the file index field contains a valid index.
         */
        public static final byte SMB2_INDEX_SPECIFIED = 0x4;
    
        /**
         * Flag to reopen the directory enumeration.
         */
        public static final byte SMB2_REOPEN = 0x10;
    
        private byte fileInformationClass = FILE_BOTH_DIRECTORY_INFO;
        private byte queryFlags;
        private int fileIndex;
        private byte[] fileId;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-decom_gen.go

    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *PoolDecommissionInfo) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 16
    	// write "st"
    	err = en.Append(0xde, 0x0, 0x10, 0xa2, 0x73, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.StartTime)
    	if err != nil {
    		err = msgp.WrapError(err, "StartTime")
    		return
    	}
    	// write "ss"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jul 04 21:02:54 UTC 2022
    - 26.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            SMBUtil.writeInt2(9, buf, bodyStart);
            buf[bodyStart + 2] = 0x02; // errorContextCount
            buf[bodyStart + 3] = 0x00; // reserved
            int bc = 4;
            SMBUtil.writeInt4(bc, buf, bodyStart + 4);
            byte[] err = new byte[] { 0x55, 0x66, 0x77, 0x01 };
            System.arraycopy(err, 0, buf, bodyStart + 8, bc);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            smb.pid = 456;
            smb.tid = 789;
            smb.uid = 101;
            smb.flags2 = ServerMessageBlock.FLAGS2_UNICODE;
            smb.useUnicode = true;
    
            byte[] params = { 0x01, 0x02, 0x03, 0x04 };
            byte[] bytes = { 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F };
            smb.setParamWords(params);
            smb.setBytes(bytes);
    
            byte[] buffer = new byte[1024];
            int length = smb.encode(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        }
    
        @Override
        public final boolean readBoolean() throws SmbException {
            if (read(tmp, 0, 1) < 0) {
                throw new SmbException("EOF");
            }
            return tmp[0] != (byte) 0x00;
        }
    
        @Override
        public final byte readByte() throws SmbException {
            if (read(tmp, 0, 1) < 0) {
                throw new SmbException("EOF");
            }
            return tmp[0];
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileInformationTest.java

        @Test
        @DisplayName("Test FileInformation constants match SMB protocol values")
        void testFileInformationConstantsMatchProtocol() {
            // These values are defined in MS-FSCC specification
            assertEquals(0x04, FileInformation.FILE_BASIC_INFO);
            assertEquals(0x05, FileInformation.FILE_STANDARD_INFO);
            assertEquals(0x06, FileInformation.FILE_INTERNAL_INFO);
            assertEquals(10, FileInformation.FILE_RENAME_INFO);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Initialize test data
            for (int i = 0; i < 16; i++) {
                testMachineId[i] = (byte) (i + 1);
            }
            for (int i = 0; i < 32; i++) {
                testSalt[i] = (byte) (i + 0x10);
            }
    
            // Default configuration for SMB 3.1.1 with encryption
            when(mockConfig.isDfsDisabled()).thenReturn(false);
            when(mockConfig.isEncryptionEnabled()).thenReturn(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/UUIDTest.java

                assertEquals((short) 0x8000, uuid.time_hi_and_version);
                assertEquals((byte) 0x80, uuid.clock_seq_hi_and_reserved);
                assertEquals((byte) 0x80, uuid.clock_seq_low);
                assertArrayEquals(new byte[] { (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80 }, uuid.node);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        @Mock
        private CommonServerMessageBlock message;
    
        private byte[] testData;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
        }
    
        @Test
        @DisplayName("Test sign method with valid parameters")
        void testSignWithValidParameters() {
            // Arrange
            int offset = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top