Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 96 for 0x0202 (0.1 sec)

  1. 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)
  2. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.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
    - 7.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java

        /**
         * Indicates that the referral contains a name list.
         */
        public static final int FLAGS_NAME_LIST_REFERRAL = 0x0002;
        /**
         * Indicates a target set boundary in the referral response.
         */
        public static final int FLAGS_TARGET_SET_BOUNDARY = 0x0004;
        /**
         * Indicates root targets in the DFS referral.
         */
        public static final int TYPE_ROOT_TARGETS = 0x0;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

        static long mapInformationLevel(final int il) {
            switch (il) {
            case FileInformation.FILE_BASIC_INFO:
                return 0x0101;
            case FileInformation.FILE_STANDARD_INFO:
                return 0x0102;
            case FileInformation.FILE_ENDOFFILE_INFO:
                return 0x0104;
            }
            throw new IllegalArgumentException("Unsupported information level " + il);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
            assertEquals(0x0101, actualInfoLevel); // FILE_BASIC_INFO maps to 0x0101
    
            // Check reserved bytes (4 bytes of 0x00)
            assertEquals(0x00, buffer[2]);
            assertEquals(0x00, buffer[3]);
            assertEquals(0x00, buffer[4]);
            assertEquals(0x00, buffer[5]);
    
            // Check that filename is written correctly (starting at offset 6)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            assertEquals((byte) 0x00, dst[1], "The second byte should be 0.");
        }
    
        /**
         * Tests the writeParametersWireFormat method.
         */
        @Test
        void testWriteParametersWireFormat() {
            // Given
            String filename = "a\\test\\path.txt";
            int informationLevel = 0x0102;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            System.arraycopy(dst, 2, writtenDescr, 0, descr.length);
            assertArrayEquals(descr, writtenDescr);
    
            int currentIndex = 2 + descr.length;
            // Verify level (0x0001)
            assertEquals(1, (dst[currentIndex] & 0xFF) | ((dst[currentIndex + 1] & 0xFF) << 8));
            currentIndex += 2;
    
            // Verify maxDataCount
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // Should not throw any exception
            int bytesRead = response.readBytesWireFormat(validBuffer, 0);
    
            assertTrue(bytesRead > 0);
            assertEquals(0x0302, response.getDialectRevision()); // SMB 3.0.2
            assertTrue(response.getMaxTransactSize() > 0);
            assertTrue(response.getMaxTransactSize() <= 16777216); // Within validated limits
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/util/SMBUtilTest.java

                    (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
                    // 0x0000000000000000L
                    (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    
            assertEquals(0x123456789ABCDEF0L, SMBUtil.readInt8(src, 0));
            assertEquals(0xFFFFFFFFFFFFFFFFL, SMBUtil.readInt8(src, 8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top