Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 330 for decodeId (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            assertEquals(0x1111, response.getSecurityMode(), "First decode security mode");
            assertEquals(0x0210, response.getDialect(), "First decode dialect");
    
            // Second decode - should overwrite values
            byte[] buffer2 = new byte[50];
            SMBUtil.writeInt4(0x22222222, buffer2, 0);
            SMBUtil.writeInt2(0x2222, buffer2, 20);
            SMBUtil.writeInt2(0x0311, buffer2, 22);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            SMBUtil.writeInt4(messageLength, buffer, bufferIndex + 12);
            System.arraycopy(testData, 0, buffer, bufferIndex + 16, testData.length);
    
            // Decode
            int bytesDecoded = response.decode(buffer, bufferIndex, buffer.length);
    
            // Verify results
            assertEquals(namedPipeState, response.getNamedPipeState());
            assertEquals(readDataAvailable, response.getReadDataAvailable());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

                    _src = _src.deferred;
                    this.root_directory.decode(_src);
    
                }
                if (_object_namep != 0) {
                    if (this.object_name == null) { /* YOYOYO */
                        this.object_name = new rpc.unicode_string();
                    }
                    _src = _src.deferred;
                    this.object_name.decode(_src);
    
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

        void testDecode() throws NdrException {
            // Test the decode method
            long decodedValue = 112233445566778L;
            NdrHyper ndrHyper = new NdrHyper(0); // Initialize with a dummy value
    
            // Configure the mock NdrBuffer to return a specific value when dec_ndr_hyper is called
            when(mockNdrBuffer.dec_ndr_hyper()).thenReturn(decodedValue);
    
            // Call the decode method with the mocked NdrBuffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            // Decode
            smbInfoAllocation.decode(buffer, 0, buffer.length);
    
            // Verify - with sectPerAlloc = 1, capacity = alloc * bytesPerSect
            assertEquals(alloc * bytesPerSect, smbInfoAllocation.getCapacity());
            assertEquals(free * bytesPerSect, smbInfoAllocation.getFree());
        }
    
        @Test
        @DisplayName("Test decode with large bytes per sector")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                assertEquals(FileSystemInformation.FS_SIZE_INFO, fileFsSizeInfo.getFileSystemInformationClass());
            }
        }
    
        @Nested
        @DisplayName("Decode Method Tests")
        class DecodeMethodTests {
    
            @Test
            @DisplayName("Should decode buffer with typical values correctly")
            void shouldDecodeBufferWithTypicalValues() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

                if (netname != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(netname);
    
                }
            }
    
            @Override
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
                final int _netnamep = _src.dec_ndr_long();
    
                if (_netnamep != 0) {
                    _src = _src.deferred;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                assertEquals(FileSystemInformation.FS_FULL_SIZE_INFO, fileFsFullSizeInfo.getFileSystemInformationClass());
            }
        }
    
        @Nested
        @DisplayName("Decode Method Tests")
        class DecodeMethodTests {
    
            @Test
            @DisplayName("Should decode buffer with typical values correctly")
            void shouldDecodeBufferWithTypicalValues() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                // Setup for SamrSamEntry decode chain
                mockDeferredBuffer.deferred = mockDeferredBuffer;
                when(mockDeferredBuffer.dec_ndr_short()).thenReturn(0, 0, 0);
    
                // When: Decoding output
                message.decode_out(mockNdrBuffer);
    
                // Then: Should decode all output parameters
                verify(samArray).decode(mockNdrBuffer);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt

        assertNull(Punycode.decode("xn--a-9b.net"))
        assertEquals("a՚.net", Punycode.decode("xn--a-99b.net"))
        assertEquals("a溠.net", Punycode.decode("xn--a-999b.net"))
        assertEquals("a\uD8E2\uDF5C.net", Punycode.decode("xn--a-9999b.net"))
        assertNull(Punycode.decode("xn--a-99999b.net"))
      }
    
      @Test fun dashInPrefix() {
        testEncodeDecode(
          unicode = "klmnöpqrst-uvwxy",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top