Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 333 for 0x08 (0.69 sec)

  1. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        hasher = HASH_FN.newHasher();
        hasher
            .putByte((byte) 0x01)
            .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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. docs/smb3-features/01-smb3-lease-design.md

        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
        public static final int SMB2_LEASE_READ_HANDLE    = 0x03;  // RH
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        hasher = HASH_FN.newHasher();
        hasher
            .putByte((byte) 0x01)
            .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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmSspTest.java

            message[57] = 0;
            message[58] = 0;
            message[59] = 0;
    
            // Flags (NTLMSSP_NEGOTIATE_UNICODE)
            message[60] = 0x01; // NTLMSSP_NEGOTIATE_UNICODE
            message[61] = 0x00;
            message[62] = 0x00;
            message[63] = 0x00;
    
            // Add dummy LM response (24 zeros at offset 64)
            for (int i = 0; i < 24; i++) {
                message[64 + i] = 0;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            byte[] src = { (byte) 0x00, (byte) 0x01, (byte) 0xFF, (byte) 0xFF };
            int length = SessionServicePacket.readLength(src, 0);
    
            assertEquals(0x01FFFF, length);
        }
    
        @Test
        @DisplayName("readLength should handle zero length")
        void testReadLengthZero() {
            byte[] src = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

         */
        @Test
        void testConstructorWithMalformedKerberosToken() throws IOException {
            byte[] malformedToken = createGssApiWrapper(new ASN1ObjectIdentifier(KerberosConstants.KERBEROS_OID), new byte[] { 0x00, 0x00 });
            assertThrows(PACDecodingException.class, () -> new KerberosToken(malformedToken));
        }
    
        /**
         * Test constructor with missing APPLICATION tag in the token.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            // Simulate groupName = false (0x00), nodeType = 0 (0x00) -> src[srcIndex] = 0x00
            src[srcIndex] = (byte) 0x00;
            src[srcIndex + 1] = (byte) 0x00; // Reserved/padding byte
    
            // Simulate address = 192.168.1.1 (0xC0A80101)
            src[srcIndex + 2] = (byte) 0xC0;
            src[srcIndex + 3] = (byte) 0xA8;
            src[srcIndex + 4] = (byte) 0x01;
            src[srcIndex + 5] = (byte) 0x01;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

            // Verify that flags are set correctly (DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG)
            // The actual values for DCERPC_FIRST_FRAG and DCERPC_LAST_FRAG are typically 0x01 and 0x02 respectively.
            int expectedFlags = 0x01 | 0x02; // DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG
            assertEquals(expectedFlags, msrpcSamrOpenDomain.getFlags(), "flags should be initialized to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            assertEquals(34, bytesRead);
    
            // Assert that the serverData fields are populated correctly
            assertEquals(0, response.dialectIndex);
            assertEquals(0x0F, serverData.securityMode);
            assertEquals(0x01, serverData.security);
            assertTrue(serverData.encryptedPasswords);
            assertTrue(serverData.signaturesEnabled);
            assertTrue(serverData.signaturesRequired);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
            // Error response structure: size(2)=9, errorContextCount(1), reserved(1), bc(4), errorData(bc)
            SMBUtil.writeInt2(9, buf, bodyStart);
            buf[bodyStart + 2] = 0x02; // errorContextCount
            buf[bodyStart + 3] = 0x00; // reserved
            int bc = 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top