- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 273 for count1s (0.05 seconds)
-
tests/count_test.go
t.Fatalf("Count should be 3, but got count: %v err %v", count10, err) } var count11 int64 sameUsers := make([]*User, 0) for i := 0; i < 3; i++ { sameUsers = append(sameUsers, GetUser("count-4", Config{})) } DB.Create(sameUsers) if err := DB.Model(&User{}).Where("name = ?", "count-4").Group("name").Count(&count11).Error; err != nil || count11 != 1 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
private static <T> ImmutableMultiset<T> multiset(T value, int count) { return multiset(ImmutableMap.of(value, count)); } private static <T> ImmutableMultiset<T> multiset(T value1, int count1, T value2, int count2) { return multiset(ImmutableMap.of(value1, count1, value2, count2)); } private static <T> ImmutableMultiset<T> multiset(Map<T, Integer> counts) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 8.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
private static <T> ImmutableMultiset<T> multiset(T value, int count) { return multiset(ImmutableMap.of(value, count)); } private static <T> ImmutableMultiset<T> multiset(T value1, int count1, T value2, int count2) { return multiset(ImmutableMap.of(value1, count1, value2, count2)); } private static <T> ImmutableMultiset<T> multiset(Map<T, Integer> counts) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 8.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multisets.java
checkNotNull(multiset1); checkNotNull(multiset2); return new ViewMultiset<E>() { @Override public int count(@Nullable Object element) { int count1 = multiset1.count(element); return (count1 == 0) ? 0 : min(count1, multiset2.count(element)); } @Override Set<E> createElementSet() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multisets.java
checkNotNull(multiset1); checkNotNull(multiset2); return new ViewMultiset<E>() { @Override public int count(@Nullable Object element) { int count1 = multiset1.count(element); return (count1 == 0) ? 0 : min(count1, multiset2.count(element)); } @Override Set<E> createElementSet() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
/** * Returns a {@code new Object()} for every request, and increments a counter for every request. * The count is accessible via {@link #getCount}. */ static class CountingLoader extends CacheLoader<Object, Object> { private final AtomicInteger count = new AtomicInteger(); @Override public Object load(Object from) { count.incrementAndGet(); return new Object(); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
long currentWindow = System.currentTimeMillis() / rateLimitWindow; String windowKey = key + "_" + currentWindow; AtomicLong counter = rateLimitCounters.computeIfAbsent(windowKey, k -> new AtomicLong(0)); long currentCount = counter.incrementAndGet(); // Clean up old windows periodically if (currentCount == 1) { cleanupOldRateLimitCounters(currentWindow); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 26.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java
/** * Returns {@code true} if reported problem count exceeded allowed count, and issues were lost. When this * method returns {@code true}, it means that element count of stream returned by method {@link #problems()} * and the counter returned by {@link #totalProblemsReported()} are not equal (latter is bigger than former). *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jul 18 17:30:19 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
*/ @CanIgnoreReturnValue @Override public int setCount(E element, int count) { checkNotNull(element); checkNonnegative(count, "count"); while (true) { AtomicInteger existingCounter = safeGet(countMap, element); if (existingCounter == null) { if (count == 0) { return 0; } else {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 22:42:14 GMT 2025 - 22.3K bytes - Click Count (0) -
cmd/bucket-stats.go
speak = math.Max(math.Max(v[Small].Peak, speak), v[Small].Curr) if lpeak > 0 || speak > 0 { count++ } } if count > 0 { lrg := XferStats{ Avg: lavg / float64(count), Curr: lcurr / float64(count), Peak: lpeak, } sml := XferStats{ Avg: savg / float64(count), Curr: scurr / float64(count), Peak: speak, } qs.XferStats[Large] = lrg qs.XferStats[Small] = sml
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.5K bytes - Click Count (0)