Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 238 for 0x71 (0.02 sec)

  1. src/test/java/jcifs/smb1/util/HMACT64Test.java

            assertNotNull(hmac);
        }
    
        @Test
        void testEngineUpdateByte() {
            // Test engineUpdate(byte b)
            HMACT64 hmac = new HMACT64(TEST_KEY);
            hmac.engineUpdate((byte) 0x01);
            // No exception means success
        }
    
        @Test
        void testEngineUpdateByteArray() {
            // Test engineUpdate(byte[] input, int offset, int len)
            HMACT64 hmac = new HMACT64(TEST_KEY);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                lock = new Smb2Lock(100L, 200L, sharedWithFailImmediately);
                lock.encode(buffer, 0);
    
                assertEquals(0x11, SMBUtil.readInt4(buffer, 16));
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCaseTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/Name.java

                    dst[dstIndex + 2 * i + 2] = (byte) ((tmp[i] & 0x0F) + 0x41);
                }
                for (; i < 15; i++) {
                    dst[dstIndex + 2 * i + 1] = (byte) 0x43;
                    dst[dstIndex + 2 * i + 2] = (byte) 0x41;
                }
                dst[dstIndex + TYPE_OFFSET] = (byte) (((hexCode & 0xF0) >> 4) + 0x41);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] server = hex("0102030405060708");
            byte[] client = hex("DEADBEEFCAFEBABE");
    
            // Act
            byte[] a = NtlmUtil.getNTLM2Response(pwdHash, server, client);
            server[7] ^= 0x01; // mutate
            byte[] b = NtlmUtil.getNTLM2Response(pwdHash, server, client);
    
            // Assert
            assertEquals(24, a.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

        static final int FILE_SYNCHRONOUS_IO_ALERT = 0x00000010;
        static final int FILE_SYNCHRONOUS_IO_NONALERT = 0x00000020;
    
        // security flags
        static final int SECURITY_CONTEXT_TRACKING = 0x01;
        static final int SECURITY_EFFECTIVE_ONLY = 0x02;
    
        private int rootDirectoryFid;
    
        private final int extFileAttributes;
    
        private final int shareAccess;
    
        private int createDisposition;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SpnegoContextTest.java

            when(this.mechContext.getFlags()).thenReturn(0x1234);
            when(this.mechContext.initSecContext(any(byte[].class), eq(0), eq(0))).thenReturn(new byte[] { 0x01, 0x02 });
    
            // Act: len==0 triggers initial token construction
            byte[] out = ctx.initSecContext(null, 0, 0);
    
            // Assert: returns a SPNEGO token (opaque here but non-null/non-empty)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                byte[] buffer1 = new byte[100];
                byte[] buffer2 = new byte[200];
    
                Arrays.fill(buffer1, (byte) 0x11);
                Arrays.fill(buffer2, (byte) 0x22);
    
                // First decode
                response.decode(buffer1, 0, 50);
                byte[] data1 = response.getData();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // Random but realistic GUID
            byte[] testGuid = { (byte) 0x01, (byte) 0x23, (byte) 0x45, (byte) 0x67, (byte) 0x89, (byte) 0xAB, (byte) 0xCD, (byte) 0xEF,
                    (byte) 0xFE, (byte) 0xDC, (byte) 0xBA, (byte) 0x98, (byte) 0x76, (byte) 0x54, (byte) 0x32, (byte) 0x10 };
    
            // Security mode with signing required
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/Kerb5ContextTest.java

            byte[] nb = name.getBytes();
            int len = 2 + 2 + der.length + 4 + nb.length;
            byte[] out = new byte[len];
            int i = 0;
            out[i++] = 0x04; // TOK_ID[0]
            out[i++] = 0x01; // TOK_ID[1]
            out[i++] = (byte) ((der.length >> 8) & 0xFF);
            out[i++] = (byte) (der.length & 0xFF);
            System.arraycopy(der, 0, out, i, der.length);
            i += der.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. cmd/batch-handlers_gen.go

    	o = msgp.AppendString(o, z.ID)
    	// string "User"
    	o = append(o, 0xa4, 0x55, 0x73, 0x65, 0x72)
    	o = msgp.AppendString(o, z.User)
    	// string "Started"
    	o = append(o, 0xa7, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64)
    	o = msgp.AppendTime(o, z.Started)
    	// string "Replicate"
    	o = append(o, 0xa9, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65)
    	if z.Replicate == nil {
    		o = msgp.AppendNil(o)
    	} else {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top