- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 29 for totalSizes (0.06 seconds)
-
src/main/java/jcifs/util/ServerResponseValidator.java
} // Check total memory allocation long totalSize = (long) size * (long) elementSize; long maxAllocation = 100 * 1024 * 1024; // 100MB max if (totalSize > maxAllocation) { failedValidations.incrementAndGet(); log.warn("Array allocation too large: {} bytes", totalSize); throw new SmbException("Array allocation exceeds limit"); } }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
} // Calculate total size int totalSize = 0; for (int i = 0; i < contexts.length; i++) { assertEquals(expectedSizes[i], contexts[i].size()); totalSize += contexts[i].size(); } assertEquals(160, totalSize); // 16+24+32+40+48 } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
cmd/data-usage_test.go
getSize := func(item scannerItem) (sizeS sizeSummary, err error) { if item.Typ&os.ModeDir == 0 { var s os.FileInfo s, err = os.Stat(item.Path) if err != nil { return sizeS, err } sizeS.totalSize = s.Size() sizeS.versions++ return sizeS, nil } return sizeS, err } xls := xlStorage{drivePath: base, diskInfoCache: cachevalue.New[DiskInfo]()}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
cmd/data-usage-cache.go
for tier, st := range ats.Tiers { stats[tier] = madmin.TierStats{ TotalSize: st.TotalSize, NumVersions: st.NumVersions, NumObjects: st.NumObjects, } } } // tierStats holds per-tier stats of a remote tier. type tierStats struct { TotalSize uint64 `msg:"ts"` NumVersions int `msg:"nv"` NumObjects int `msg:"no"` }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
cmd/erasure-server-pool-decom.go
) // PoolDecommissionInfo currently decommissioning information type PoolDecommissionInfo struct { StartTime time.Time `json:"startTime" msg:"st"` StartSize int64 `json:"startSize" msg:"ss"` TotalSize int64 `json:"totalSize" msg:"ts"` CurrentSize int64 `json:"currentSize" msg:"cs"` Complete bool `json:"complete" msg:"cmp"` Failed bool `json:"failed" msg:"fl"` Canceled bool `json:"canceled" msg:"cnl"`Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 42.2K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
int typeSize = 2; int offsetSize = 4; int remarkSize = remark.length() + 1; int totalSize = shareNameSize + typeSize + offsetSize + remarkSize; byte[] buffer = new byte[totalSize + 100]; // Extra space for safety int bufferIndex = 0; int start = 0; // Set converter value first setConverter(response, 0);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java
} @ParameterizedTest @MethodSource("progressedSizeWithSizeTestData") void testProgressedSizeWithSize(long progressedSize, long totalSize, String expected) { FileSizeFormat format = new FileSizeFormat(); assertEquals(expected, format.formatProgress(progressedSize, totalSize)); } @Test void testFormatRate() { FileSizeFormat format = new FileSizeFormat();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 14.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
public void testEmptyRangeSubMultisetSupportingAdd(SortedMultiset<E> multiset) { for (Entry<E> entry : asList(a, b, c)) { expectAddFailure(multiset, entry); } } private static int totalSize(Iterable<? extends Entry<?>> entries) { int sum = 0; for (Entry<?> entry : entries) { sum += entry.getCount(); } return sum; } private enum SubMultisetSpec {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
int notificationSize = 32; // Each notification int notificationCount = 100; int totalSize = notificationSize * notificationCount; // Write structure SMBUtil.writeInt2(9, buffer, offset); SMBUtil.writeInt2(80 - 64, buffer, offset + 2); SMBUtil.writeInt4(totalSize, buffer, offset + 4); // Write many notifications int notifyOffset = 80;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0)