- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for testEncodes (0.08 sec)
-
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
} public void testBase32LenientPadding() { testDecodes(base32(), "MZXW6", "foo"); testDecodes(base32(), "MZXW6=", "foo"); testDecodes(base32(), "MZXW6==", "foo"); testDecodes(base32(), "MZXW6===", "foo"); // proper padding length testDecodes(base32(), "MZXW6====", "foo"); testDecodes(base32(), "MZXW6=====", "foo"); } public void testBase32AlternatePadding() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
} public void testBase32LenientPadding() { testDecodes(base32(), "MZXW6", "foo"); testDecodes(base32(), "MZXW6=", "foo"); testDecodes(base32(), "MZXW6==", "foo"); testDecodes(base32(), "MZXW6===", "foo"); // proper padding length testDecodes(base32(), "MZXW6====", "foo"); testDecodes(base32(), "MZXW6=====", "foo"); } public void testBase32AlternatePadding() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
} } @Nested @DisplayName("SamrSamEntry Tests") class SamrSamEntryTests { @Test @DisplayName("Should encode entry with non-null buffer") void testEncode() throws NdrException { // Given: SAM entry with data samr.SamrSamEntry entry = new samr.SamrSamEntry(); entry.idx = 1; entry.name = new rpc.unicode_string();
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/test/java/jcifs/dcerpc/msrpc/samrTest.java
} } @Nested @DisplayName("SamrSamEntry Tests") class SamrSamEntryTests { @Test @DisplayName("Should encode entry with non-null buffer") void testEncode() throws NdrException { // Given: SAM entry with data samr.SamrSamEntry entry = new samr.SamrSamEntry(); entry.idx = 1; entry.name = new rpc.unicode_string();
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/smb2/nego/NegotiateContextResponseTest.java
assertNull(context.getHashAlgos()); assertNull(context.getSalt()); } @Test @DisplayName("Should encode context correctly") void testEncode() { // Arrange context = new PreauthIntegrityNegotiateContext(mockConfig, testHashAlgos, testSalt); byte[] buffer = new byte[100]; // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
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/internal/fscc/FileBasicInfoTest.java
@Test @DisplayName("Test size method returns correct buffer size") void testSize() { assertEquals(40, fileBasicInfo.size()); } @Test @DisplayName("Test encode method") void testEncode() throws SMBProtocolDecodingException { // Create instance with test values FileBasicInfo info =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
assertEquals(22, bytesDecoded); assertEquals(expectedEndOfFile, fileStandardInfo.getSize()); } @Test @DisplayName("Test encode with various values") void testEncode() throws SMBProtocolDecodingException { // First decode to set internal state byte[] sourceBuffer = new byte[22]; long expectedAllocationSize = 16384L; long expectedEndOfFile = 12288L;
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/smb1/trans/SmbComTransactionResponseTest.java
void testReset() { // Reset should not throw exception assertDoesNotThrow(() -> response.reset()); } @Test @DisplayName("Test encode operation") void testEncode() { byte[] buffer = new byte[1024]; int length = response.encode(buffer, 0); assertTrue(length >= 0); } @Test @DisplayName("Test decode operation")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
FileEndOfFileInformation info = new FileEndOfFileInformation(999L); assertEquals(8, info.size()); } @Test @DisplayName("Test encode method with valid buffer") void testEncode() { // Create instance with known value long endOfFile = 0x123456789ABCDEFL; FileEndOfFileInformation info = new FileEndOfFileInformation(endOfFile); // Create buffer for encoding
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)