Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for pinfos (0.04 sec)

  1. cmd/erasure-multipart.go

    		var pinfos []*ObjectPartInfo
    		for idx := range disks {
    			if len(objectPartInfos[idx]) != len(partMetaPaths) {
    				partMetaQuorumMap[partMetaPaths[pidx]]++
    				continue
    			}
    
    			pinfo := objectPartInfos[idx][pidx]
    			if pinfo != nil && pinfo.ETag != "" {
    				pinfos = append(pinfos, pinfo)
    				partMetaQuorumMap[pinfo.ETag]++
    				continue
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. schema/relationship_test.go

    type InfoRelation struct {
    	ID    int
    	Code  string
    	Info1 []*Info1 `gorm:"foreignkey:Code;references:Code"`
    	Info2 []*Info2 `gorm:"foreignkey:Code;references:Code"`
    }
    
    type Info1 struct {
    	CreatedAt time.Time
    	UpdatedAt time.Time
    	Code      string
    	Relation  []*InfoRelation `gorm:"foreignkey:Code;references:Code"`
    }
    
    type Info2 struct {
    	CreatedAt time.Time
    	UpdatedAt time.Time
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. cmd/erasure-healing_test.go

    	for _, partID := range []int{2, 1} {
    		pInfo, err1 := objLayer.PutObjectPart(ctx, bucket, object, res.UploadID, partID, mustGetPutObjReader(t, bytes.NewReader(data), int64(len(data)), "", ""), opts)
    		if err1 != nil {
    			t.Fatalf("Failed to upload a part - %v", err1)
    		}
    		uploadedParts = append(uploadedParts, CompletePart{
    			PartNumber: pInfo.PartNumber,
    			ETag:       pInfo.ETag,
    		})
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 48.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

                _src.dec_ndr_long(); /* union discriminant */
                final int _infop = _src.dec_ndr_long();
                if (_infop != 0) {
                    if (info == null) { /* YOYOYO */
                        info = new ShareInfoCtr0();
                    }
                    _src = _src.deferred;
                    info.decode(_src);
    
                }
                totalentries = _src.dec_ndr_long();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  10. cmd/bucket-replication-utils.go

    	for _, rinfo := range rinfos.Targets {
    		if rinfo.ResyncTimestamp != "" {
    			rs.ResetStatusesMap[targetResetHeader(rinfo.Arn)] = rinfo.ResyncTimestamp
    		}
    	}
    	return rs
    }
    
    // constructs a replication status map from string representation
    func replicationStatusesMap(s string) map[string]replication.StatusType {
    	targets := make(map[string]replication.StatusType)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26K bytes
    - Viewed (0)
Back to top