Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 132 for 0x0311 (1.84 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            tree.tid = 123;
    
            // Create real request and response objects since they're not interfaces
            ServerMessageBlock request = new SmbComOpenAndX("testfile.txt", 0x01, 0, null);
            ServerMessageBlock response = new SmbComOpenAndXResponse();
    
            // Execute send
            tree.send(request, response);
    
            // Verify session.send was called and tid was set
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/HMACT64Test.java

                mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5);
                HMACT64 hmac = new HMACT64(TEST_KEY);
                hmac.engineUpdate((byte) 0x01);
                verify(mockMd5, times(1)).update((byte) 0x01);
            }
        }
    
        @Test
        void testEngineUpdateByteArray() throws NoSuchAlgorithmException {
            // Test engineUpdate(byte[] input, int offset, int len)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

        private Smb2SessionSetupRequest request;
    
        // Test constants
        private static final int TEST_SECURITY_MODE = 0x01;
        private static final int TEST_CAPABILITIES = 0x00000001;
        private static final long TEST_PREVIOUS_SESSION_ID = 0x1234567890ABCDEFL;
        private static final byte[] TEST_TOKEN = { 0x01, 0x02, 0x03, 0x04, 0x05 };
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SID.java

        /**
         * Flag indicating that SIDs should be resolved to names.
         */
        public static final int SID_FLAG_RESOLVE_SIDS = 0x0001;
    
        /**
         * Well known SID: EVERYONE
         */
        public static SID EVERYONE = null;
    
        /**
         * Well known SID: CREATOR_OWNER
         */
        public static SID CREATOR_OWNER = null;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

     *
     * @author mbechler
     */
    public class SmbComTreeConnectAndXResponse extends AndXServerMessageBlock implements TreeConnectResponse {
    
        private static final int SMB_SUPPORT_SEARCH_BITS = 0x0001;
        private static final int SMB_SHARE_IS_IN_DFS = 0x0002;
    
        private boolean supportSearchBits, shareIsInDfs;
        private String service;
        private String nativeFileSystem = "";
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            assertEquals(-1, result);
        }
    
        @Test
        @DisplayName("readLength should extract length from packet header")
        void testReadLength() {
            byte[] src = { (byte) 0x00, (byte) 0x01, (byte) 0x23, (byte) 0x45 };
            int length = SessionServicePacket.readLength(src, 0);
    
            // Bit 0 of byte 1 is MSB, followed by bytes 2 and 3
            assertEquals(0x012345, length);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NbtException.java

        // error classes
        /** Success status code */
        public static final int SUCCESS = 0;
        /** Name service error class */
        public static final int ERR_NAM_SRVC = 0x01;
        /** Session service error class */
        public static final int ERR_SSN_SRVC = 0x02;
    
        // name service error codes
        /** Format error in the name service */
        public static final int FMT_ERR = 0x1;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

                    // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1
                    Arguments.of(-1, 1000L, new byte[] { (byte) 0xFF, (byte) 0xFF, 0x01, 0x00, 0x00, 0x00 }));
        }
    
        /**
         * When lastWriteTime is zero the encoded unsigned time must be all 1s.
         */
        @Test
        @DisplayName("edge: writeParameterWordsWireFormat with lastWriteTime=0")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

         */
        public static final int DFS_VOLUME_FLAVOR_AD_BLOB = 0x200;
        /**
         * DFS storage state indicating offline status
         */
        public static final int DFS_STORAGE_STATE_OFFLINE = 0x0001;
        /**
         * DFS storage state indicating online status
         */
        public static final int DFS_STORAGE_STATE_ONLINE = 0x0002;
        /**
         * DFS storage state indicating active status
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

        void isValid_false_inVariousCases() {
            when(cfg.isTraceResourceUsage()).thenReturn(false);
            stubValidTree(10L, true, true);
            SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, new byte[] { 0x01 }, tree, "//x", 0, 0, 0, 0, 0L);
    
            assertTrue(h.isValid());
    
            // Tree id change makes it invalid
            when(tree.getTreeId()).thenReturn(11L);
            assertFalse(h.isValid());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top