- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 566 for decodes (0.06 sec)
-
guava/src/com/google/common/collect/Platform.java
* @param length the length of the new array */ /* * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard * about arrays for now, as they're a mess. (We previously discussed this in the review of * ObjectArrays, which is the main caller of this method.) */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
SMBUtil.writeInt8(expectedIndexNumber, buffer, bufferIndex); // Decode int bytesDecoded = fileInternalInfo.decode(buffer, bufferIndex, 8); // Verify assertEquals(8, bytesDecoded); assertEquals(expectedIndexNumber, fileInternalInfo.getIndexNumber()); } @Test @DisplayName("Test decode with zero index number")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
docs/distributed/DESIGN.md
- Choice of erasure set size is automatic based on the number of drives available, let's say for example if there are 32 servers and 32 drives which is a total of 1024 drives. In this scenario 16 becomes the erasure set size. This is decided based on the greatest common divisor (GCD) of acceptable erasure set sizes ranging from *4 to 16*.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 26 09:25:50 UTC 2025 - 8K bytes - Viewed (1) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
// Decode fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify - the decode method strips null termination, so filename should match assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename()); } @Test @DisplayName("Test decode with null-terminated non-Unicode filename")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
} @Test @DisplayName("Test decode with minimum valid length") void testDecodeMinimumValidLength() throws SMBProtocolDecodingException { // Prepare minimum valid buffer - exactly 24 bytes byte[] buffer = new byte[28]; Arrays.fill(buffer, 0, 24, (byte) 0xAA); // Decode with len = 24 (minimum valid) int bytesConsumed = response.decode(buffer, 0, 24);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (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 response
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K 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) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
// Decode and verify fileStandardInfo.decode(buffer, 0, buffer.length); assertEquals(expectedEndOfFile, fileStandardInfo.getSize()); } @Test @DisplayName("Test size method returns 22") void testSize() { assertEquals(22, fileStandardInfo.size()); } @Test @DisplayName("Test decode with valid data")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K 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
// 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 void testDfsInfo1_EncodeDecode_NullEntryPath() throws NdrException { netdfs.DfsInfo1 info1 = new netdfs.DfsInfo1();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0)