- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 538 for decoded (0.23 sec)
-
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
new RequestParameter("lang", new String[] { "en", "ja" }) }; String encoded = searchHelper.serializeParameters(params); assertNotNull(encoded); byte[] compressed = Base64.getUrlDecoder().decode(encoded); byte[] jsonBytes = searchHelper.gzipDecompress(compressed); String json = new String(jsonBytes); assertTrue(json.contains("q"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
assertEquals("c", raf.readLine()); when(raf.read()).thenReturn(-1); assertNull(raf.readLine()); } @Test @DisplayName("readUTF(): decodes bytes after size prefix") void readUTF_decodes() throws Exception { SmbRandomAccessFile raf = spy(newInstance("r", false, false, false)); // Size prefix 3, then bytes for "abc"
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/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.7K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
} @Test fun `cannot decode malformed utc time`() { val bytes = "170d3139313231362333303231305a".decodeHex() assertFailsWith<ProtocolException> { Adapters.UTC_TIME.fromDer(bytes) }.also { expected -> assertThat(expected).hasMessage("Failed to parse UTCTime 191216#30210Z") } } @Test fun `cannot decode generalized time with offset`() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
info1.encode(dst); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); // Use the encoded buffer for decoding NdrBuffer src = new NdrBuffer(encodeBuffer, 0); netdfs.DfsInfo1 decodedInfo1 = new netdfs.DfsInfo1(); decodedInfo1.decode(src); assertEquals(info1.entry_path, decodedInfo1.entry_path); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
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/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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0)