- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 34 for discount (0.05 seconds)
-
cmd/erasure-metadata-utils_test.go
disks []StorageAPI diskCount int }{ // Test case - 1 { disks: []StorageAPI{&xlStorage{}, &xlStorage{}, &xlStorage{}, &xlStorage{}}, diskCount: 4, }, // Test case - 2 { disks: []StorageAPI{nil, &xlStorage{}, &xlStorage{}, &xlStorage{}}, diskCount: 3, }, } for i, testCase := range testCases { cdiskCount := diskCount(testCase.disks)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.3K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
} /** Increments all counters by the values in {@code other}. */ public void incrementBy(StatsCounter other) { CacheStats otherStats = other.snapshot(); hitCount.add(otherStats.hitCount()); missCount.add(otherStats.missCount()); loadSuccessCount.add(otherStats.loadSuccessCount()); loadExceptionCount.add(otherStats.loadExceptionCount()); totalLoadTime.add(otherStats.totalLoadTime());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
guava/src/com/google/common/cache/AbstractCache.java
} /** Increments all counters by the values in {@code other}. */ public void incrementBy(StatsCounter other) { CacheStats otherStats = other.snapshot(); hitCount.add(otherStats.hitCount()); missCount.add(otherStats.missCount()); loadSuccessCount.add(otherStats.loadSuccessCount()); loadExceptionCount.add(otherStats.loadExceptionCount()); totalLoadTime.add(otherStats.totalLoadTime());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 9.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/AbstractCacheTest.java
assertThat(stats.requestCount()).isEqualTo(requestCount); assertThat(stats.hitCount()).isEqualTo(11); assertThat(stats.hitRate()).isEqualTo(11.0 / requestCount); int missCount = 23; assertThat(stats.missCount()).isEqualTo(missCount); assertThat(stats.missRate()).isEqualTo(((double) missCount) / requestCount); assertThat(stats.loadSuccessCount()).isEqualTo(13);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java
* * @return the minCount */ public final int getMinCount() { return this.minCount; } /** * Sets the minimum count of bytes to read. * * @param minCount * the minCount to set */ public final void setMinCount(final int minCount) { this.minCount = minCount; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.4K bytes - Click Count (0) -
internal/config/heal/heal.go
Bitrot string `json:"bitrotscan"` // maximum sleep duration between objects to slow down heal operation. Sleep time.Duration `json:"sleep"` IOCount int `json:"iocount"` DriveWorkers int `json:"drive_workers"` // Cached value from Bitrot field cache struct { // -1: bitrot enabled, 0: bitrot disabled, > 0: bitrot cycle bitrotCycle time.Duration } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 04 19:06:02 GMT 2024 - 4.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java
this.fid = fid; this.offset = offset; this.maxCount = minCount = maxCount; command = SMB_COM_READ_ANDX; openTimeout = 0xFFFFFFFF; } void setParam(final int fid, final long offset, final int maxCount) { this.fid = fid; this.offset = offset; this.maxCount = minCount = maxCount; } @Override int getBatchLimit(final byte command) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertEquals((byte) 0x34, dst[0]); assertEquals((byte) 0x12, dst[1]); // LIST_COUNT (2 bytes, LE) int listCount = Trans2FindFirst2.LIST_COUNT; assertEquals((byte) (listCount & 0xFF), dst[2]); assertEquals((byte) ((listCount >> 8) & 0xFF), dst[3]); // informationLevel (2 bytes, LE) -> 0x0104 assertEquals((byte) 0x04, dst[4]);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
cmd/erasure-encode.go
} } else { p.writers[i] = nil } } // If nilCount >= p.writeQuorum, we return nil. This is because HealFile() uses // CreateFile with p.writeQuorum=1 to accommodate healing of single disk. // i.e if we do no return here in such a case, reduceWriteQuorumErrs() would // return a quorum error to HealFile(). nilCount := countErrs(p.errs, nil) if nilCount >= p.writeQuorum { return nil }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 15 00:11:04 GMT 2024 - 2.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
if (duplicates == null) { duplicates = new HashMap<>(); } duplicates.put(key, value); dupCount++; } } if (duplicates != null) { @SuppressWarnings({"rawtypes", "unchecked"}) Entry<K, V>[] newEntryArray = new Entry[n - dupCount]; for (int inI = 0, outI = 0; inI < n; inI++) { Entry<K, V> entry = requireNonNull(entryArray[inI]);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 4.7K bytes - Click Count (0)