- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 580 for Unicode (0.29 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
// Decode to set state fileStandardInfo.decode(sourceBuffer, 0, sourceBuffer.length); // Now test encode byte[] destinationBuffer = new byte[30]; // Extra space int dstIndex = 3; // Start at offset 3 int bytesEncoded = fileStandardInfo.encode(destinationBuffer, dstIndex); // Verify assertEquals(22, bytesEncoded); // Verify encoded 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) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// Given request.setSessionBinding(true); byte[] buffer = new byte[512]; int headerStart = 50; // Encode the full message to set headerStart request.encode(buffer, headerStart); // Then - verify the body was written correctly int bodyOffset = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
byte[] buffer = new byte[EXPECTED_SIZE * 3]; // When int offset1 = chunk1.encode(buffer, 0); int offset2 = chunk2.encode(buffer, offset1); int offset3 = chunk3.encode(buffer, offset1 + offset2); // Then assertEquals(EXPECTED_SIZE, offset1); assertEquals(EXPECTED_SIZE, offset2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
// When: Encoding array array.encode(mockNdrBuffer); // Then: Should encode structure verify(mockNdrBuffer).align(4); verify(mockNdrBuffer).enc_ndr_long(1); verify(mockNdrBuffer).enc_ndr_referent(array.entries, 1); } @Test @DisplayName("Should encode array with null entries")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
private static final int TIME_1970_MILLIS_64LE = 8; /** * */ private Encdec() { } /* * Encode integers */ /** * Encodes a 16-bit unsigned integer in big-endian byte order. * * @param s the short value to encode * @param dst the destination byte array * @param di the starting index in the destination array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0) -
cmd/storage-datatypes_gen_test.go
v := BaseOptions{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBaseOptions Msgsize() is inaccurate") } vn := BaseOptions{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 73.9K bytes - Viewed (0) -
cmd/batch-handlers_gen_test.go
v := BatchJobPrefix{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBatchJobPrefix Msgsize() is inaccurate") } vn := BatchJobPrefix{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 6.7K bytes - Viewed (0) -
cmd/local-locker_gen_test.go
v := localLockMap{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodelocalLockMap Msgsize() is inaccurate") } vn := localLockMap{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
class EncodingTests { @Test @DisplayName("Should encode value correctly") void testEncode() throws NdrException { // Given: NdrShort with test value int testValue = 123; NdrShort ndrShort = new NdrShort(testValue); // When: Encoding the value ndrShort.encode(mockBuffer); // Then: Should call enc_ndr_short with masked value
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0)