- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for maxCount (0.08 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java
* * @return the maxCount */ public final int getMaxCount() { return this.maxCount; } /** * Sets the maximum count of bytes to read. * * @param maxCount * the maxCount to set */ public final void setMaxCount(final int maxCount) { this.maxCount = maxCount; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java
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) { return command == SMB_COM_CLOSE ? BATCH_LIMIT : 0; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.1K bytes - Viewed (0) -
cmd/format-erasure_test.go
for _, hash := range formatHashes { if hash == "" { continue } formatCountMap[hash]++ } maxHash := "" maxCount := 0 for hash, count := range formatCountMap { if count > maxCount { maxCount = count maxHash = hash } } if maxCount < len(formats)/2 { return nil, errErasureReadQuorum } for i, hash := range formatHashes { if hash == maxHash {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.7K bytes - Viewed (0) -
cmd/erasure-metadata-utils.go
func reduceQuorumErrs(ctx context.Context, errs []error, ignoredErrs []error, quorum int, quorumErr error) error { if contextCanceled(ctx) { return context.Canceled } maxCount, maxErr := reduceErrs(errs, ignoredErrs) if maxCount >= quorum { return maxErr } return quorumErr } // reduceReadQuorumErrs behaves like reduceErrs but only for returning
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
int diff = 0x0; // bitset for output bits with different values int count = 0; // originally was 2 * Math.log(...), making it try more times to avoid flakiness issues int maxCount = (int) (4 * Math.log(2 * keyBits * hashBits) + 1); while (same != 0xffffffff || diff != 0xffffffff) { int key1 = rand.nextInt(); // flip input bit for key2 int key2 = key1 ^ (1 << i);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
int res = in.readDirect(new byte[1024], 0, 256); assertEquals(-1, res); } @Test @DisplayName("LargeReadX splits count across maxCount/openTimeout") void largeReadXSetsRequestFields() throws Exception { when(mockTree.isSMB2()).thenReturn(false); when(mockTree.hasCapability(SmbConstants.CAP_LARGE_READX)).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java
crawlerContext.setMaxDepth(depth); // max count final long maxCount = webConfig.getMaxAccessCount() != null ? webConfig.getMaxAccessCount() : maxAccessCount; crawlerContext.setMaxAccessCount(maxCount); webConfig.initializeClientFactory(() -> crawler.getClientFactory());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 24.9K bytes - Viewed (0) -
cmd/erasure-metadata.go
for _, hash := range metaHashes { if hash == "" { continue } metaHashCountMap[hash]++ } maxHash := "" maxCount := 0 for hash, count := range metaHashCountMap { if count > maxCount { maxCount = count maxHash = hash } } if maxCount < quorum { return FileInfo{}, InsufficientReadQuorum{Err: errErasureReadQuorum, Type: RQInconsistentMeta} }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21.3K bytes - Viewed (0) -
cmd/format-erasure.go
continue } formatCountMap[format.Drives()]++ } maxDrives := 0 maxCount := 0 for drives, count := range formatCountMap { if count > maxCount { maxCount = count maxDrives = drives } } if maxDrives == 0 { return nil, errErasureReadQuorum } if maxCount < len(formats)/2 { return nil, errErasureReadQuorum } for i, format := range formats {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 23.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
private String decodeWideStringPointer(NdrBuffer buf) throws NdrException { int pointer = buf.dec_ndr_long(); if (pointer == 0) { return null; // NULL pointer } int maxCount = buf.dec_ndr_long(); int offset = buf.dec_ndr_long(); int actualCount = buf.dec_ndr_long(); if (actualCount <= 0) { return ""; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.6K bytes - Viewed (0)