- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 599 for decodeTo (0.14 seconds)
-
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);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.6K bytes - Click Count (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(); } }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 21.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
assertEquals(0, buffer.getNumReferrals()); assertEquals(0, buffer.getTflags()); } } @Nested @DisplayName("Decode Tests") class DecodeTests { @Test @DisplayName("Should decode buffer with no referrals") void testDecodeNoReferrals() { // Prepare test data: pathConsumed=0, numReferrals=0, tflags=0
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (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); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 22K bytes - Click Count (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
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (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); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 44.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
} /** * Test case for the decode method. * Verifies that the decode method of a concrete implementation is called * and interacts with the NdrBuffer as expected. * @throws NdrException if decoding fails. */ @Test void testDecode() throws NdrException { // When ndrObject.decode(mockBuffer); // ThenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.4K bytes - Click Count (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);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.5K bytes - Click Count (0) -
tests/test_local_docs.py
redoc_favicon_url=redoc_favicon_url, ) body_content = html.body.decode() assert redoc_js_url in body_content assert redoc_favicon_url in body_content def test_google_fonts_in_generated_redoc(): body_with_google_fonts = get_redoc_html( openapi_url="/docs", title="title" ).body.decode() assert "fonts.googleapis.com" in body_with_google_fontsCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Dec 20 18:50:00 GMT 2020 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
@Test @DisplayName("Decode error handling should work correctly") void testDecodeErrorHandling() throws Exception { // Given when(mockHandle.getMaxXmit()).thenReturn(1024); when(mockHandle.getMaxRecv()).thenReturn(1024); DcerpcBind bindMessage = new DcerpcBind(mockBinding, mockHandle); // When - Decode with error responseCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.7K bytes - Click Count (0)