Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 331 for 0x02 (0.13 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            src[srcIndex + 1] = 0x0C; // Pointer offset
            // recordType (2 bytes)
            src[srcIndex + 2] = 0x00;
            src[srcIndex + 3] = 0x20; // NB (0x0020)
            // recordClass (2 bytes)
            src[srcIndex + 4] = 0x00;
            src[srcIndex + 5] = 0x01; // IN (0x0001)
            // ttl (4 bytes)
            src[srcIndex + 6] = 0x00;
            src[srcIndex + 7] = 0x00;
            src[srcIndex + 8] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

            return Stream.of(Arguments.of(0x1234, 0L, new byte[] { 0x34, 0x12, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),
                    // 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.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            // Expected format: buffer format (0x04) + path string (null terminated)
            byte[] expected = new byte[directoryName.length() + 2];
            expected[0] = 0x04; // Buffer format
            System.arraycopy(directoryName.getBytes(StandardCharsets.UTF_8), 0, expected, 1, directoryName.length());
            expected[directoryName.length() + 1] = 0x00; // Null terminator
    
            byte[] dst = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/SessionServicePacket.java

            // Default constructor
        }
    
        // session service packet types
        static final int SESSION_MESSAGE = 0x00;
        static final int SESSION_REQUEST = 0x81;
    
        /**
         * NetBIOS positive session response packet type.
         */
        public static final int POSITIVE_SESSION_RESPONSE = 0x82;
    
        /**
         * NetBIOS negative session response packet type.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileInformationTest.java

        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);
            assertEquals(20, FileInformation.FILE_ENDOFFILE_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)
Back to top