Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 700 for counts (0.23 sec)

  1. 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)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

      fun headerEntries(vararg elements: String?): List<Header> = List(elements.size / 2) { Header(elements[it * 2]!!, elements[it * 2 + 1]!!) }
    
      @JvmStatic
      fun repeat(
        c: Char,
        count: Int,
      ): String {
        val array = CharArray(count)
        Arrays.fill(array, c)
        return String(array)
      }
    
      /**
       * Okio buffers are internally implemented as a linked list of arrays. Usually this implementation
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/UniAddress.java

                resolveOrder = new int[i];
                System.arraycopy(tmp, 0, resolveOrder, 0, i);
            }
        }
    
        static class Sem {
            Sem(final int count) {
                this.count = count;
            }
    
            int count;
        }
    
        static class QueryThread extends Thread {
    
            Sem sem;
            String host, scope;
            int type;
            NbtAddress ans = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  4. cmd/admin-heal-ops.go

    	}
    }
    
    // getScannedItemsCount - returns a count of all scanned items
    func (h *healSequence) getScannedItemsCount() int64 {
    	var count int64
    	h.mutex.RLock()
    	defer h.mutex.RUnlock()
    
    	for _, v := range h.scannedItemsMap {
    		count += v
    	}
    	return count
    }
    
    // getScannedItemsMap - returns map of all scanned items against type
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SmbCircuitBreaker.java

            return name;
        }
    
        /**
         * Get current failure count
         *
         * @return failure count
         */
        public int getFailureCount() {
            return failureCount.get();
        }
    
        /**
         * Get current success count (in HALF_OPEN state)
         *
         * @return success count
         */
        public int getSuccessCount() {
            return successCount.get();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. cmd/batch-expire.go

    	for {
    		count := len(objsToDel)
    		if count == 0 {
    			break
    		}
    		if count > maxDeleteList {
    			count = maxDeleteList
    		}
    		_, errs := api.DeleteObjects(ctx, r.Bucket, objsToDel[:count], opts)
    		allErrs = append(allErrs, errs...)
    		// Next batch of deletion
    		objsToDel = objsToDel[count:]
    	}
    
    	return allErrs
    }
    
    const (
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  7. tests/non_std_test.go

    		t.Errorf("UpdatedAt should be updated")
    	}
    
    	var animals []Animal
    	DB.Find(&animals)
    	if count := DB.Model(Animal{}).Where("1=1").Update("CreatedAt", time.Now().Add(2*time.Hour)).RowsAffected; count != int64(len(animals)) {
    		t.Error("RowsAffected should be correct when do batch update")
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SIDCacheImpl.java

                            throw new SmbException(rpc.retval, false);
                        }
    
                        final Map<jcifs.SID, List<jcifs.SID>> map = new HashMap<>();
    
                        for (int ei = 0; ei < rpc.sam.count; ei++) {
                            final samr.SamrSamEntry entry = rpc.sam.entries[ei];
    
                            final SID[] mems = getGroupMemberSids(tc, authorityServerName, domSid, entry.idx, flags);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. 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)
  10. src/archive/zip/zip_test.go

    		t.Parallel()
    		if !generatesZip64(t, gen(uint32max)) {
    			t.Error("expected zip64")
    		}
    	})
    }
    
    func testZip64(t testing.TB, size int64) *rleBuffer {
    	const chunkSize = 1024
    	chunks := int(size / chunkSize)
    	// write size bytes plus "END\n" to a zip file
    	buf := new(rleBuffer)
    	w := NewWriter(buf)
    	f, err := w.CreateHeader(&FileHeader{
    		Name:   "huge.txt",
    		Method: Store,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top