Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 115 for 0x46 (0.11 sec)

  1. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
    
            @Test
            @DisplayName("Test command property")
            void testCommandProperty() {
                testBlock.setCommand(0x42);
                assertEquals(0x42, testBlock.getCommand());
            }
    
            @Test
            @DisplayName("Test flags property")
            void testFlagsProperty() {
                testBlock.setFlags((byte) 0x12);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            src[srcIndex + 17] = 0x04;
    
            // MAC address
            byte[] testMac = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66 };
            System.arraycopy(testMac, 0, src, srcIndex + 19, 6);
    
            // Statistics (6 bytes)
            byte[] testStats = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 };
            System.arraycopy(testStats, 0, src, srcIndex + 25, 6);
    
            int result = response.readRDataWireFormat(src, srcIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        @DisplayName("Test buffer management")
        void testBufferManagement() {
            byte[] buffer = new byte[1024];
            buffer[0] = 0x42;
    
            transaction.setBuffer(buffer);
    
            byte[] released = transaction.releaseBuffer();
            assertSame(buffer, released);
            assertEquals(0x42, released[0]);
    
            // After release, getting buffer again should return null
            assertNull(transaction.releaseBuffer());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/rpcTest.java

                originalUuid.clock_seq_hi_and_reserved = (byte) 0x99;
                originalUuid.clock_seq_low = (byte) 0x88;
                originalUuid.node = new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66 };
    
                // Mock encoding buffer
                NdrBuffer encodeBuffer = mock(NdrBuffer.class);
                when(encodeBuffer.derive(anyInt())).thenReturn(encodeBuffer);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/SmbNegotiationTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testRequestBuffer = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            testResponseBuffer = new byte[] { 0x05, 0x06, 0x07, 0x08 };
            negotiation = new SmbNegotiation(mockRequest, mockResponse, testRequestBuffer, testResponseBuffer);
        }
    
        @Test
        @DisplayName("Constructor should properly initialize all fields")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. cmd/untar.go

    		f:      formatZstd,
    	},
    	{
    		// Zstd skippable frame header.
    		header: []byte{0x2a, 0x4d, 0x18},
    		f:      formatZstd,
    	},
    	{
    		// LZ4
    		header: []byte{0x4, 0x22, 0x4d, 0x18},
    		f:      formatLZ4,
    	},
    	{
    		// Snappy/S2 stream
    		header: []byte{0xff, 0x06, 0x00, 0x00},
    		f:      formatS2,
    	},
    	{
    		header: []byte{0x42, 0x5a, 'h'},
    		f:      formatBZ2,
    	},
    }
    
    type untarOptions struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 6K bytes
    - Viewed (2)
  7. android/guava-tests/test/com/google/common/base/Utf8Test.java

        // "\u024B62\u024B62"
        assertWellFormed(0xc9, 0x8b, 0x36, 0x32, 0xc9, 0x8b, 0x36, 0x32);
        // Mixed string
        // "a\u020ac\u00a2b\\u024B62u020acc\u00a2de\u024B62"
        assertWellFormed(
            0x61, 0xc8, 0x8a, 0x63, 0xc2, 0xa2, 0x62, 0x5c, 0x75, 0x30, 0x32, 0x34, 0x42, 0x36, 0x32,
            0x75, 0x30, 0x32, 0x30, 0x61, 0x63, 0x63, 0xc2, 0xa2, 0x64, 0x65, 0xc9, 0x8b, 0x36, 0x32);
        // Not a valid string
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

          0x1ffc,
          0x3ffc,
          0x22,
          0x7ffd,
          0x3,
          0x23,
          0x4,
          0x24,
          0x5,
          0x25,
          0x26,
          0x27,
          0x6,
          0x74,
          0x75,
          0x28,
          0x29,
          0x2a,
          0x7,
          0x2b,
          0x76,
          0x2c,
          0x8,
          0x9,
          0x2d,
          0x77,
          0x78,
          0x79,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

        void testEncodeWithAndxBatchingEnabled() {
            when(mockConfig.isUseBatching()).thenReturn(true);
            when(mockAndxCommand.getCommand()).thenReturn(0x42);
    
            TestAndXServerMessageBlock andxBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x42);
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25, andxBlock);
            testBlock.batchLevel = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                Type2Message message = new Type2Message(mockContext);
                byte[] testContext =
                        new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 };
    
                // When
                message.setContext(testContext);
    
                // Then
                assertArrayEquals(testContext, message.getContext());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top