- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 530 for infos (0.02 sec)
-
cmd/erasure.go
return nil } info, err := disks[index].DiskInfo(context.TODO(), DiskInfoOptions{Metrics: metrics}) di.DrivePath = info.MountPath di.TotalSpace = info.Total di.UsedSpace = info.Used di.AvailableSpace = info.Free di.UUID = info.ID di.Major = info.Major di.Minor = info.Minor di.RootDisk = info.RootDisk di.Healing = info.Healing di.Scanning = info.Scanning
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.1K bytes - Viewed (0) -
cmd/metacache-set.go
} func getQuorumDiskInfos(disks []StorageAPI, infos []DiskInfo, readQuorum int) (newDisks []StorageAPI, newInfos []DiskInfo) { commonMutations := calcCommonCounter(infos, readQuorum) for i, info := range infos { mutations := info.Metrics.TotalDeletes + info.Metrics.TotalWrites if mutations >= commonMutations { newDisks = append(newDisks, disks[i]) newInfos = append(newInfos, infos[i]) } } return newDisks, newInfos
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 30.7K bytes - Viewed (0) -
cmd/storage-rest-server.go
s.IsValid(w, r) } // DiskInfoHandler - returns disk info. func (s *storageRESTServer) DiskInfoHandler(opts *DiskInfoOptions) (*DiskInfo, *grid.RemoteErr) { if !s.checkID(opts.DiskID) { return nil, grid.NewRemoteErr(errDiskNotFound) } info, err := s.getStorage().DiskInfo(context.Background(), *opts) if err != nil { info.Error = err.Error() } return &info, nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 45.7K bytes - Viewed (0) -
cmd/storage-datatypes.go
} // ReadPartsReq - send multiple part paths to read from type ReadPartsReq struct { Paths []string `msg:"p"` } // ReadPartsResp - is the response for ReadPartsReq type ReadPartsResp struct { Infos []*ObjectPartInfo `msg:"is"` } // DeleteBulkReq - send multiple paths in same delete request. type DeleteBulkReq struct { Paths []string `msg:"p"` }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 17.4K bytes - Viewed (0) -
cmd/storage-rest-client.go
if err != nil { return info, toStorageErr(err) } info = *infop if info.Error != "" { return info, toStorageErr(errors.New(info.Error)) } return info, nil }, ) return client.diskInfoCache.GetWithCtx(ctx) } // MakeVolBulk - create multiple volumes in a bulk operation. func (client *storageRESTClient) MakeVolBulk(ctx context.Context, volumes ...string) (err error) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 08 02:38:41 UTC 2025 - 30.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
assertTrue(info1.equals(info2)); assertTrue(info2.equals(info1)); } @Test @DisplayName("Test equals method with different netName") void testEqualsWithDifferentNetName() { SmbShareInfo info1 = new SmbShareInfo("Share1", 0, "Remark"); SmbShareInfo info2 = new SmbShareInfo("Share2", 0, "Remark"); // Different netName assertFalse(info1.equals(info2));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
FileEndOfFileInformation info1 = new FileEndOfFileInformation(); FileEndOfFileInformation info2 = new FileEndOfFileInformation(); int bytes1 = info1.decode(buffer, 0, 8); int bytes2 = info2.decode(buffer, 0, 8); assertEquals(8, bytes1); assertEquals(8, bytes2); assertEquals(info1.toString(), info2.toString()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
netdfs.DfsInfo3 info3 = new netdfs.DfsInfo3(); info3.path = "dfs_path"; info3.comment = "dfs_comment"; info3.state = netdfs.DFS_VOLUME_FLAVOR_AD_BLOB; info3.num_stores = 1; info3.stores = new netdfs.DfsStorageInfo[1]; info3.stores[0] = new netdfs.DfsStorageInfo(); info3.stores[0].state = netdfs.DFS_STORAGE_STATE_ACTIVE;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
assertEquals(20, bytesRead); assertNotNull(response.getInfo()); // The info should be created with zero values SmbInfoAllocation info = (SmbInfoAllocation) response.getInfo(); assertEquals(0, info.getCapacity()); assertEquals(0, info.getFree()); } @Test void testReadDataWireFormat_BufferTooSmall() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
FileNotifyInformation info1 = notifications.get(0); assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, info1.getAction()); assertEquals("test1.txt", info1.getFileName()); // Verify second notification FileNotifyInformation info2 = notifications.get(1); assertEquals(FileNotifyInformation.FILE_ACTION_MODIFIED, info2.getAction());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0)