- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 329 for decodeId (0.04 sec)
-
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) -
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) -
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) -
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) -
src/main/java/jcifs/smb/SmbTransportImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)