Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 177 for 0xF4 (0.4 sec)

  1. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        void testWriteInt2() {
            byte[] dst = new byte[4];
            SessionServicePacket.writeInt2(0x1234, dst, 0);
    
            assertEquals((byte) 0x12, dst[0]);
            assertEquals((byte) 0x34, dst[1]);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 255, 256, 32767, 65535 })
        @DisplayName("writeInt2 should handle various values")
        void testWriteInt2Various(int value) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameTest.java

            // Encode "TEST" (0x54 0x45 0x53 0x54)
            // T=0x54: upper nibble 0x5->F(0x46), lower nibble 0x4->E(0x45)
            src[1] = 'F';
            src[2] = 'E'; // T
            // E=0x45: upper nibble 0x4->E(0x45), lower nibble 0x5->F(0x46)
            src[3] = 'E';
            src[4] = 'F'; // E
            // S=0x53: upper nibble 0x5->F(0x46), lower nibble 0x3->D(0x44)
            src[5] = 'F';
            src[6] = 'D'; // S
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/EncdecTest.java

        }
    
        @Test
        @DisplayName("Should encode and decode UUIDs")
        void testUUIDOperations() {
            // Given
            byte[] uuid = { 0x12, 0x34, 0x56, 0x78, (byte) 0x9A, (byte) 0xBC, (byte) 0xDE, (byte) 0xF0, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66,
                    0x77, (byte) 0x88 };
            byte[] buffer = new byte[16];
    
            // When
            System.arraycopy(uuid, 0, buffer, 0, 16);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

            }
    
            @Test
            @DisplayName("DCERPC_PENDING_CANCEL should have correct value")
            void testDcerpcPendingCancel() {
                assertEquals(0x04, DcerpcConstants.DCERPC_PENDING_CANCEL, "DCERPC_PENDING_CANCEL should be 0x04");
            }
    
            @Test
            @DisplayName("DCERPC_RESERVED_1 should have correct value")
            void testDcerpcReserved1() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. cmd/data-usage-cache_gen.go

    	// map header, size 4
    	// string "current"
    	o = append(o, 0x84, 0xa7, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74)
    	o = msgp.AppendUint64(o, z.current)
    	// string "next"
    	o = append(o, 0xa4, 0x6e, 0x65, 0x78, 0x74)
    	o = msgp.AppendUint64(o, z.next)
    	// string "started"
    	o = append(o, 0xa7, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64)
    	o = msgp.AppendTime(o, z.started)
    	// string "cycleCompleted"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Dec 15 22:50:12 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcConstants.java

         */
        int DCERPC_LAST_FRAG = 0x02; /* Last fragment */
        /**
         * Pending cancel flag - indicates cancel was pending at sender
         */
        int DCERPC_PENDING_CANCEL = 0x04; /* Cancel was pending at sender */
        /**
         * Reserved flag for future use
         */
        int DCERPC_RESERVED_1 = 0x08;
        /**
         * Supports concurrent multiplexing flag.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(0, alignedBytes);
            assertEquals(4, ndrBuffer.getIndex());
        }
    
        @Test
        void testWriteOctetArray() {
            byte[] data = { 0x01, 0x02, 0x03, 0x04 };
            ndrBuffer.writeOctetArray(data, 0, data.length);
    
            assertEquals(data.length, ndrBuffer.getIndex());
            assertEquals(data.length, ndrBuffer.getLength());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        static java.util.stream.Stream<Arguments> int32Provider() {
            return java.util.stream.Stream.of(Arguments.of(0x00000000, new byte[] { 0x00, 0x00, 0x00, 0x00 }),
                    Arguments.of(0x12345678, new byte[] { 0x78, 0x56, 0x34, 0x12 }),
                    Arguments.of(0xFFFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),
                    Arguments.of(0x7FFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F }));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. 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,
              0x00, 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)
  10. src/test/java/jcifs/dcerpc/rpcTest.java

                policyHandle.uuid.time_hi_and_version = (short) 0x3333;
                policyHandle.uuid.clock_seq_hi_and_reserved = (byte) 0x44;
                policyHandle.uuid.clock_seq_low = (byte) 0x55;
                policyHandle.uuid.node = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04, (byte) 0x05, (byte) 0x06 };
    
                when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top