- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 326 for decodeTo (0.11 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
// When: Decoding the value ndrShort.decode(mockBuffer); // Then: Should set the negative value directly (no masking on decode) verify(mockBuffer).dec_ndr_short(); assertEquals(negativeValue, ndrShort.value); } @Test @DisplayName("Should decode large value correctly") void testDecodeLargeValue() throws NdrException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/ReferralTest.java
bb.putShort((short) 0); // Decode with exact length int decodedSize = referral.decode(testBuffer, 0, 24); assertEquals(24, decodedSize); // Decode with excess length Referral referral2 = new Referral(); decodedSize = referral2.decode(testBuffer, 0, 512); assertEquals(24, decodedSize); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
} @Test @DisplayName("Should inherit decode from Decodable") void shouldInheritDecodeMethod() throws NoSuchMethodException { // Verify method is inherited assertNotNull(AllocInfo.class.getMethod("decode", byte[].class, int.class, int.class)); assertEquals(int.class, AllocInfo.class.getMethod("decode", byte[].class, int.class, int.class).getReturnType()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
// Test decode int size = ace.decode(testBuffer, 0, testBuffer.length); // Verify results assertEquals(32, size); assertTrue(ace.isAllow()); assertEquals(0x03, ace.getFlags()); assertEquals(0x001200A9, ace.getAccessMask()); assertNotNull(ace.getSID()); } @Test @DisplayName("Test decode with deny ACE")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
verify(mockNdrBuffer).enc_ndr_small((byte) 0xFF); } @Test @DisplayName("Should decode UUID correctly") void testUuidTDecode() throws NdrException { // Given: A UUID object to decode into rpc.uuid_t uuid = new rpc.uuid_t(); // Mock the NdrBuffer responses for decoding
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.java
this.info = new DfsEnumStruct(); } this.info.decode(_src); } final int _totalentriesp = _src.dec_ndr_long(); if (_totalentriesp != 0) { this.totalentries.decode(_src); } this.retval = _src.dec_ndr_long(); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 21.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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 44.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff); assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678); assertThat(UnsignedInts.decode("76543210")).isEqualTo(76543210); assertThat(UnsignedInts.decode("0x13579135")).isEqualTo(0x13579135); assertThat(UnsignedInts.decode("0X13579135")).isEqualTo(0x13579135);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03); assertNull(response.getResults()); } @Test @DisplayName("Test getResults returns decoded file entries") void testGetResultsReturnsDecodedEntries() throws Exception { response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03); // Use reflection to set the results field
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.3K bytes - Viewed (0)