Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 151 for 0x16 (0.06 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

                    Arguments.of(0xFF00, (byte) 0x00, (byte) 0xFF), Arguments.of(0xFFFF, (byte) 0xFF, (byte) 0xFF),
                    Arguments.of(0x1234, (byte) 0x34, (byte) 0x12));
        }
    
        @Test
        @DisplayName("readSetupWireFormat should return 0")
        void testReadSetupWireFormat() {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            int namedPipeState = 0x03; // NP_NOWAIT | NP_READMODE_MESSAGE
            int readDataAvailable = 100;
            int numberOfMessages = 2;
            int messageLength = 50;
            byte[] testData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
    
            // Write values to buffer
            SMBUtil.writeInt4(namedPipeState, buffer, bufferIndex);
            SMBUtil.writeInt4(readDataAvailable, buffer, bufferIndex + 4);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            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
            int testSecurityMode = 0x0003; // SMB2_NEGOTIATE_SIGNING_ENABLED | SMB2_NEGOTIATE_SIGNING_REQUIRED
    
            // SMB 3.1.1 dialect
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/ACE.java

        public static final int FLAGS_INHERIT_ONLY = 0x08;
        /** Inheritance flag: ACE was inherited from parent */
        public static final int FLAGS_INHERITED = 0x10;
    
        boolean allow;
        int flags;
        int access;
        SID sid;
    
        /**
         * Returns true if this ACE is an allow ACE and false if it is a deny ACE.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Initialize test data
            for (int i = 0; i < 16; i++) {
                testMachineId[i] = (byte) (i + 1);
            }
            for (int i = 0; i < 32; i++) {
                testSalt[i] = (byte) (i + 0x10);
            }
    
            // Default configuration for SMB 3.1.1 with encryption
            when(mockConfig.isDfsDisabled()).thenReturn(false);
            when(mockConfig.isEncryptionEnabled()).thenReturn(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            src[srcIndex + 7] = 0x00;
            src[srcIndex + 8] = 0x00;
            src[srcIndex + 9] = 0x00;
            // rDataLength (2 bytes)
            src[srcIndex + 10] = 0x00;
            src[srcIndex + 11] = 0x06; // 6 bytes of data
    
            // Initialize questionName to avoid NPE
            Field questionNameField = NameServicePacket.class.getDeclaredField("questionName");
            questionNameField.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            stubValidTree(1L, true, true);
    
            byte[] fidBytes = new byte[] { 0x01, 0x02 };
            SmbFileHandleImpl h1 = new SmbFileHandleImpl(cfg, fidBytes, tree, "//u/one", 0x10, 0x20, 0x30, 0x40, 0L);
            String s1 = h1.toString();
            assertTrue(s1.contains("//u/one"));
            assertTrue(s1.contains("0102"), "Expected hex fileId in string");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

        class ConstantValueTests {
    
            @Test
            @DisplayName("Should have correct constant values")
            void testConstantValues() {
                assertEquals(0x1, PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE);
                assertEquals(0x1, PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512);
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  9. cmd/batch-handlers_gen.go

    	o = msgp.AppendTime(o, z.LastUpdate)
    	// string "ra"
    	o = append(o, 0xa2, 0x72, 0x61)
    	o = msgp.AppendInt(o, z.RetryAttempts)
    	// string "at"
    	o = append(o, 0xa2, 0x61, 0x74)
    	o = msgp.AppendInt(o, z.Attempts)
    	// string "cmp"
    	o = append(o, 0xa3, 0x63, 0x6d, 0x70)
    	o = msgp.AppendBool(o, z.Complete)
    	// string "fld"
    	o = append(o, 0xa3, 0x66, 0x6c, 0x64)
    	o = msgp.AppendBool(o, z.Failed)
    	// string "lbkt"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/NegTokenInitTest.java

        }
    
        @Test
        @DisplayName("Parse handles MIC in tag [3] and [4] (compatibility)")
        void testParsesMicInTag4Compatibility() throws Exception {
            byte[] mic = new byte[] { 0x11, 0x22, 0x33 };
    
            // Tag [4]
            byte[] tokenTag4 = buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, null, null, mic, true, null, null, null);
            NegTokenInit p4 = new NegTokenInit(tokenTag4);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top