- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 771 for count (0.02 sec)
-
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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
} @Override public int remove(@Nullable Object key, int occurrences) { checkNonnegative(occurrences, "occurrences"); if (occurrences == 0) { return count(key); } Collection<V> collection = unfiltered.asMap().get(key); if (collection == null) { return 0; } @SuppressWarnings("unchecked") // key is equal to a K, if not a K itselfRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
cmd/site-replication-utils.go
st.Status = s.Status return nil } sm.resyncStatus[s.ResyncID] = st return saveSiteResyncMetadata(GlobalContext, st, newObjectLayerFn()) } return nil } // increment SyncedBuckets count func (sm *siteResyncMetrics) incBucket(o resyncOpts, bktStatus ResyncStatusType) { if !globalSiteReplicationSys.isEnabled() { return } sm.Lock() defer sm.Unlock() st, ok := sm.resyncStatus[o.resyncID]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
src[0] = 0x00; src[1] = 0x01; // Transaction ID src[2] = 0x00; // Flags src[3] = 0x00; // Flags src[4] = 0x00; src[5] = 0x01; // Question count // Act int result = nodeStatusRequest.readWireFormat(src, 0); // Assert assertTrue(result >= NameServicePacket.HEADER_LENGTH); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
cmd/storage-rest-client.go
// ListDir - lists a directory. func (client *storageRESTClient) ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) (entries []string, err error) { values := grid.NewMSS() values.Set(storageRESTVolume, volume) values.Set(storageRESTDirPath, dirPath) values.Set(storageRESTCount, strconv.Itoa(count)) values.Set(storageRESTOrigVolume, origvolume) values.Set(storageRESTDiskID, *client.diskID.Load())
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 08 02:38:41 UTC 2025 - 30.4K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
} func (p *xlStorageDiskIDCheck) ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) (s []string, err error) { ctx, done, err := p.TrackDiskHealth(ctx, storageMetricListDir, volume, dirPath) if err != nil { return nil, err } defer done(0, &err) return p.storage.ListDir(ctx, origvolume, volume, dirPath, count) } // Legacy API - does not have any deadlines
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 34.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt
var complete = (upstream == null) /** The most recently read bytes from [upstream]. This is a suffix of [file]. Guarded by this. */ val buffer = Buffer() /** * Reference count of the number of active sources reading this stream. When decremented to 0 * resources are released and all following calls to [.newSource] return null. Guarded by this. */ var sourceCount = 0 val isClosed: Boolean
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 17:15:47 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
FileEntry fe3 = mock(FileEntry.class); lenient().when(fe3.getName()).thenReturn("file3"); when(fe3.getFileIndex()).thenReturn(3); // Track query count to handle multiple queries properly final int[] queryCount = { 0 }; // Mock send(create) to wire a query response with fe1, fe2 doAnswer(inv -> { Object arg = inv.getArgument(0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
verify(tree, times(1)).release(); } @Test @DisplayName("release() decrements usage; closes only when count reaches zero") void release_decrementsAndClosesOnZero() throws CIFSException { when(cfg.isTraceResourceUsage()).thenReturn(false); stubValidTree(8L, true, true);
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/smb2/create/CreateContextResponseTest.java
assertEquals(0, result); assertNotNull(testResponse.getData()); assertEquals(0, testResponse.getData().length); } @Test @DisplayName("Should count decode calls correctly") void testDecodeCallCount() throws SMBProtocolDecodingException { assertEquals(0, testResponse.getDecodeCallCount()); testResponse.decode(testBuffer, 0, 10);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0)