- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for RoundTrip (0.06 sec)
-
src/test/java/jcifs/util/StringsTest.java
assertTrue(result.length > 0, "Result should not be empty"); // Verify round-trip conversion String roundTrip = new String(result, StandardCharsets.UTF_16LE); assertEquals(UNICODE_STRING, roundTrip, "Round-trip conversion should preserve Unicode"); } @Test @DisplayName("getASCIIBytes should encode string as ASCII")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
cmd/bucket-lifecycle_test.go
} if actual != tc.expectedStatus { t.Fatalf("Test %d: got %v expected %v", i+1, actual, tc.expectedStatus) } } } // TestRestoreObjStatusRoundTrip restoreObjStatus roundtrip func TestRestoreObjStatusRoundTrip(t *testing.T) { testCases := []restoreObjStatus{ ongoingRestoreObj(), completedRestoreObj(time.Now().UTC()), } for i, tc := range testCases {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 31 09:57:57 UTC 2022 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
} for (int i = dstIndex + 8; i < destinationBuffer.length; i++) { assertEquals(0, destinationBuffer[i]); } } @Test @DisplayName("Test encode and decode roundtrip") void testEncodeDecodeRoundtrip() throws SMBProtocolDecodingException { // Setup first instance with test data long expectedIndexNumber = 0x1122334455667788L; byte[] originalBuffer = new byte[8];
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/fscc/FileBasicInfoTest.java
assertEquals(TEST_LAST_WRITE_TIME, fileBasicInfo.getLastWriteTime()); assertEquals(TEST_ATTRIBUTES, fileBasicInfo.getAttributes()); } @Test @DisplayName("Test encode and decode roundtrip") void testEncodeDecodeRoundtrip() throws SMBProtocolDecodingException { // Create original instance FileBasicInfo original =
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/BasicFileInformationTest.java
assertEquals(TEST_LAST_WRITE_TIME, fileBasicInfo.getLastWriteTime()); assertEquals(TEST_ATTRIBUTES, fileBasicInfo.getAttributes()); } @Test @DisplayName("Test encode and decode roundtrip") void testEncodeDecodeRoundtrip() throws SMBProtocolDecodingException { // Given FileBasicInfo originalInfo =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
cmd/metacache-server-pool.go
return entries, io.EOF } if c.status == scanStateError || c.status == scanStateNone { o.ID = "" o.Create = false o.debugln("scan status", c.status, " - waiting a roundtrip to create") } else { // Continue listing o.ID = c.id go c.keepAlive(ctx, rpc) } } } if o.ID != "" && !o.Transient { // We have an existing list ID, continue streaming.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon May 26 07:06:43 UTC 2025 - 12.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
component[builder] = codePointString val url = builder.build() val expected = component.canonicalize(codePointString) val actual = component[url] if (expected != actual) { fail("Roundtrip $component $codePoint $url $expected != $actual") } } private fun testParseOriginal( codePoint: Int, codePointString: String, encoding: Encoding, component: Component, ) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
setField(transport, "negotiated", smb1); assertFalse(transport.isSMB2()); } @Test @DisplayName("Digest setter/getter roundtrip") void digestRoundtrip() { SMBSigningDigest dg = mock(SMBSigningDigest.class); transport.setDigest(dg); assertSame(dg, transport.getDigest()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
cmd/xl-storage-format-v2_test.go
failOnErr(xl.AddVersion(fi)) fi.VersionID = mustGetUUID() fi.DataDir = mustGetUUID() fi.Data = data2 failOnErr(xl.AddVersion(fi)) serialized, err := xl.AppendTo(nil) failOnErr(err) // Roundtrip data var xl2 xlMetaV2 failOnErr(xl2.Load(serialized)) // We should have one data entry list, err := xl2.data.list() failOnErr(err) if len(list) != 2 { t.Fatalf("want 1 entry, got %d", len(list))
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37.8K bytes - Viewed (0) -
cmd/object-api-utils.go
} // Will get index or nil if closed. gotIdx = <-indexCh return gotIdx } } // compressSelfTest performs a self-test to ensure that compression // algorithms completes a roundtrip. If any algorithm // produces an incorrect checksum it fails with a hard error. // // compressSelfTest tries to catch any issue in the compression implementation // early instead of silently corrupting data.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 25 15:08:54 UTC 2025 - 37.3K bytes - Viewed (0)