Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 331 for 0x02 (0.04 sec)

  1. src/test/java/jcifs/pac/PacSignatureTest.java

         * Test constructor with malformed data (too short).
         */
        @Test
        void testConstructorMalformedData() {
            // Prepare data (only 2 bytes, less than an int)
            byte[] data = new byte[] { 0x01, 0x02 };
    
            // Verify that PACDecodingException is thrown
            assertThrows(PACDecodingException.class, () -> {
                new PacSignature(data);
            });
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

            new byte[] {
              0x01, (byte) 0xc0, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00,
              0x14, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x04, 0x00,
              0x00, 0x00, 0x00, 0x14,
              0x00, 0x00, 0x00, 0x18,
              0x28, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00,
              0x02, 0x00, 0x00, 0x00,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/spnego/NegTokenTargTest.java

        }
    
        @Test
        @DisplayName("parsing malformed token throws IOException")
        void testMalformedToken() {
            byte[] bad = new byte[] { 0x01, 0x02, 0x03 }; // not a valid ASN.1 tagged object
            assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

        class ToStringTests {
    
            @ParameterizedTest
            @DisplayName("Should format command name correctly")
            @ValueSource(shorts = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11,
                    0x12 })
            void testToStringCommandNames(short command) {
                testMessage.setCommand(command);
                String result = testMessage.toString();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            Configuration cfg = mock(Configuration.class);
            SmbComLockingAndX cmd = new SmbComLockingAndX(cfg);
            setField(cmd, "fid", 42);
            setField(cmd, "typeOfLock", (byte) 0x07);
            setField(cmd, "newOpLockLevel", (byte) 0x02);
            String repr = cmd.toString();
            assertTrue(repr.contains("fid=42"));
            assertTrue(repr.contains("typeOfLock=7"));
            assertTrue(repr.contains("newOplockLevel=2"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

        }
    
        /**
         * Test constructor with a malformed token.
         */
        @Test
        void testConstructorMalformed() {
            byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            assertThrows(PACDecodingException.class, () -> new KerberosEncData(malformedToken, Collections.emptyMap()));
        }
    
        /**
         * Test constructor with an unknown field.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

            assertEquals(0x01, smbComOpenAndX.openFunction); // OPEN_FN_OPEN
        }
    
        /**
         * Test constructor with O_TRUNC flag.
         */
        @Test
        void testConstructor_TruncateOnly() {
            int flags = SmbFile.O_TRUNC;
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx);
            assertEquals(0x02, smbComOpenAndX.openFunction); // OPEN_FN_TRUNC
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessNotification.java

            private final InetAddress address;
            private final int flags;
    
            /** Flag indicating IPv4 address type */
            public static final int IPV4 = 0x01;
            /** Flag indicating IPv6 address type */
            public static final int IPV6 = 0x02;
    
            /**
             * Creates a new witness IP address.
             *
             * @param address the IP address
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtException.java

        /** Name service error class */
        public static final int ERR_NAM_SRVC = 0x01;
        /** Session service error class */
        public static final int ERR_SSN_SRVC = 0x02;
    
        // name service error codes
        /** Format error in the name service */
        public static final int FMT_ERR = 0x1;
        /** Server error in the name service */
        public static final int SRV_ERR = 0x2;
        /** Implementation error in the name service */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. lib/fips140/v1.0.0.zip

     fips140.CAST("CounterKDF", func() error { key := []byte{ 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, } context := [12]byte{ 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, } want := [32]byte{ 0xe6, 0x86, 0x96, 0x97, 0x08, 0xfc, 0x90, 0x30, 0x36, 0x1c, 0x65, 0x94, 0xb2, 0x62, 0xa5, 0xf7, 0xcb, 0x9d, 0x93, 0x94, 0xda, 0xf1, 0x94, 0x09, 0x6a, 0x27, 0x5e, 0x85, 0x22, 0x5e, 0x7a, 0xee, } b, err := aes.New(key) if err != nil {...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top