Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for roundtrips (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/object-api-utils_test.go

    			var decBuf bytes.Buffer
    			decRdr := s2.NewReader(&rdrBuf)
    			_, err = io.Copy(&decBuf, decRdr)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			if !bytes.Equal(tt.data, decBuf.Bytes()) {
    				t.Errorf("roundtrip failed\n\t%q\n\t%q", tt.data, decBuf.Bytes())
    			}
    		})
    	}
    }
    
    func Test_pathNeedsClean(t *testing.T) {
    	type pathTest struct {
    		path, result string
    	}
    
    	cleantests := []pathTest{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. docs/changelogs/changelog_3x.md

        calls and for idle connections in the connection pool. (Pings do not impact
        when pooled connections are evicted).
    
        If you have a configured ping interval, you should confirm that it is long
        enough for a roundtrip from client to server. If your ping interval is too
        short, slow connections may be misinterpreted as failed connections. A ping
        interval of 30 seconds is reasonable for most use cases.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top