- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for actualSize (0.19 sec)
-
src/test/java/jcifs/SmbFileHandleTest.java
*/ @Test void testGetInitialSize() { long expectedSize = 1024L; when(smbFileHandle.getInitialSize()).thenReturn(expectedSize); long actualSize = smbFileHandle.getInitialSize(); assertEquals(expectedSize, actualSize, "getInitialSize should return the correct initial file size."); verify(smbFileHandle, times(1)).getInitialSize(); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
cmd/storage-datatypes_test.go
var buf bytes.Buffer...
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.1K bytes - Viewed (0) -
cmd/bucket-replication-utils_test.go
for i, test := range replicatedInfosTests { rinfos := replicatedInfos{ Targets: test.tgtInfos, } if actualSize := rinfos.CompletedSize(); actualSize != test.expectedCompletedSize { t.Errorf("Test%d (%s): Size got %d , want %d", i+1, test.name, actualSize, test.expectedCompletedSize) } if repStatusStr := rinfos.ReplicationStatusInternal(); repStatusStr != test.expectedReplicationStatusInternal {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 9.3K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
ETag string `json:"etag,omitempty" msg:"e"` Number int `json:"number" msg:"n"` Size int64 `json:"size" msg:"s"` // Size of the part on the disk. ActualSize int64 `json:"actualSize" msg:"as"` // Original size of the part without compression or encryption bytes. ModTime time.Time `json:"modTime" msg:"mt"` // Date and time at which the part was uploaded.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/post-policy-fan-out.go
defer wg.Done() objInfos[idx] = ObjectInfo{Name: req.Key} hopts := hash.Options{ Size: int64(len(fanOutBuf)), MD5Hex: opts.MD5Hex, SHA256Hex: "", ActualSize: -1, DisableMD5: true, } hr, err := hash.NewReaderWithOpts(ctx, bytes.NewReader(fanOutBuf), hopts) if err != nil { errs[idx] = err return } reader := NewPutObjReader(hr)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.5K bytes - Viewed (0)