- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 603 for count1 (0.04 sec)
-
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
AtomicInteger count = new AtomicInteger(); Exception e = new IllegalStateException("exception to trigger failure on first load()"); CacheLoader<Integer, String> failOnceFunction = new CacheLoader<Integer, String>() { @Override public String load(Integer key) throws Exception { if (count.getAndIncrement() == 0) { throw e;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 85.7K bytes - Viewed (0) -
scan.go
fields[idx] = field if count, ok := matchedFieldCount[column]; ok { // handle duplicate fields for _, selectField := range sch.Fields { if selectField.DBName == column && selectField.Readable { if count == 0 { matchedFieldCount[column]++ fields[idx] = selectField break } count-- } } } else {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
CountingRunnable listener = new CountingRunnable(); future.addListener(listener, directExecutor()); assertEquals(1, listener.count); } private static final class CountingRunnable implements Runnable { int count; @Override public void run() { count++; } } @AndroidIncompatible // Mocking ExecutorService is forbidden there. TODO(b/218700094): Don't mock.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 28K bytes - Viewed (0) -
cmd/erasure-healing-common_test.go
// Iterate through all the modTimes and count the FileInfo(s) with latest time. for index, t := range modTimes { if partsMetadata[index].IsValid() && t.Equal(modTime) { latestFileInfo = partsMetadata[index] count++ } } if !latestFileInfo.IsValid() { return FileInfo{}, errErasureReadQuorum } if count < latestFileInfo.Erasure.DataBlocks { return FileInfo{}, errErasureReadQuorum }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
@Override public boolean isSchedulerTarget(String target) { return "all".equals(target); } }); int count = crawlJob.getRunningJobCount(); assertEquals(2, count); // job1 and job3 are running } // Test getRunningJobCount with no running jobs public void test_getRunningJobCount_noRunningJobs() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0) -
cmd/config.go
if err != nil { // ignore history file that cannot be loaded. continue } cfgEntry.Data = string(data) } configHistory = append(configHistory, cfgEntry) count-- if count == 0 { break } } if !res.IsTruncated { // We are done here break } marker = res.NextMarker } sort.Slice(configHistory, func(i, j int) bool {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.9K bytes - Viewed (0) -
tests/compose.yml
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Aug 04 04:07:30 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
assertEquals(0, dst[35], "Reserved byte should be 0"); } @Test void testWriteParameterWordsWireFormat_ZeroCounts() { // Test with zero parameter and data counts to check conditional logic. smbComNtTransaction.command = ServerMessageBlock.SMB_COM_NT_TRANSACT; smbComNtTransaction.parameterCount = 0; smbComNtTransaction.dataCount = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java
int count = 1; String headerName = paramMap.get(CRAWLER_WEB_HEADER_PREFIX + count + ".name"); while (StringUtil.isNotBlank(headerName)) { final String headerValue = paramMap.get(CRAWLER_WEB_HEADER_PREFIX + count + ".value"); rhList.add(new org.codelibs.fess.crawler.client.http.RequestHeader(headerName, headerValue)); count++;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.6K bytes - Viewed (0)