Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 231 for 0x91 (0.08 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // Write READ response body
            int dataLength = 20;
            int dataRemaining = 0;
            int dataOffsetFromHeader = 80;
    
            // Structure size (17 = 0x11)
            SMBUtil.writeInt2(17, buffer, bodyStart);
            // Data offset (byte - offset from header start)
            buffer[bodyStart + 2] = (byte) dataOffsetFromHeader;
            // Reserved
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceTest.java

            }
    
            @Test
            @DisplayName("setAttributes should accept valid attributes")
            void testSetAttributes() throws CIFSException {
                // Given
                int newAttributes = 0x01; // FILE_ATTRIBUTE_READONLY
    
                // When/Then
                assertDoesNotThrow(() -> mockResource.setAttributes(newAttributes), "Setting attributes should not throw exception");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

         */
        private static byte[] messageHeader(int length) {
            byte[] h = new byte[4];
            h[0] = (byte) SessionServicePacket.SESSION_MESSAGE;
            h[1] = (byte) ((length >> 16) & 0x01);
            h[2] = (byte) ((length >> 8) & 0xFF);
            h[3] = (byte) (length & 0xFF);
            return h;
        }
    
        /**
         * Creates a NetBIOS keep-alive header.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileTest.java

                // Act
                var inputStream = smbFile.getInputStream();
    
                // Assert
                assertNotNull(inputStream);
                verify(smbFile).openUnshared(0, // SmbConstants.O_RDONLY = 0x01, but SmbFileInputStream uses 0
                        SmbFile.O_RDONLY, SmbConstants.DEFAULT_SHARING, // 7 = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE
                        SmbConstants.ATTR_NORMAL, // 128
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. docs/smb3-features/01-smb3-lease-design.md

    ### 3.1 Lease State Flags
    ```java
    public class Smb2LeaseState {
        // Lease state flags (can be combined)
        public static final int SMB2_LEASE_NONE           = 0x00;
        public static final int SMB2_LEASE_READ_CACHING   = 0x01;  // R - Read caching
        public static final int SMB2_LEASE_HANDLE_CACHING = 0x02;  // H - Handle caching  
        public static final int SMB2_LEASE_WRITE_CACHING  = 0x04;  // W - Write caching
        
        // Common combinations
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NetworkExplorer.java

                    if (pathInfo == null || server == null) {
                        final String mb = nameServiceClient.getNbtByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null).getHostAddress();
                        dc = nameServiceClient.getByName(mb);
                    } else {
                        dc = nameServiceClient.getByName(server, possibleWorkgroup);
                    }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            @DisplayName("Should handle file ID updates")
            void testFileIdUpdates() {
                // Initial file ID
                byte[] initialFileId = new byte[16];
                Arrays.fill(initialFileId, (byte) 0x11);
                request.setFileId(initialFileId);
    
                byte[] buffer1 = new byte[256];
                request.writeBytesWireFormat(buffer1, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            // Verify content
            assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, buffer[0]);
            assertEquals(0x00, buffer[1]);
            assertEquals(0x03, buffer[2]); // Low byte of 0x0103
            assertEquals(0x01, buffer[3]); // High byte of 0x0103
        }
    
        @DisplayName("Test toString with different information levels")
        @ParameterizedTest
        @CsvSource({ "-1, fff", // SMB_INFO_ALLOCATION
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        @DisplayName("Test attributes with OR operation")
        void testAttributesWithOrOperation() {
            // The constructor ORs attributes with 0x80
            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, 0x01, // FILE_ATTRIBUTE_READONLY
                    TEST_CREATE_TIME, TEST_LAST_WRITE_TIME, TEST_LAST_ACCESS_TIME);
    
            // The constructor should create FileBasicInfo with attributes | 0x80
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/HashFunction.java

     *
     * <p><b>Compatibility note:</b> Throughout this API, multibyte values are always interpreted in
     * <i>little-endian</i> order. That is, hashing the byte array {@code {0x01, 0x02, 0x03, 0x04}} is
     * equivalent to hashing the {@code int} value {@code 0x04030201}. If this isn't what you need,
     * methods such as {@link Integer#reverseBytes} and {@link Ints#toByteArray} will help.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top