Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for count1 (0.03 sec)

  1. 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 {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. scripts/people.py

        users_list: list[dict[str, Any]] = []
        for user, count in counter.most_common(60):
            if count >= min_count:
                author = authors[user]
                user_data = {
                    "login": user,
                    "count": count,
                    "avatarUrl": author.avatarUrl,
                    "url": author.url,
                }
                users[user] = user_data
                users_list.append(user_data)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

            final String sessionCountId = sessionId + "-" + count;
            crawlingConfigMap.put(sessionCountId, crawlingConfig);
            count++;
            return sessionCountId;
        }
    
        /**
         * Removes a stored crawling configuration from the session-based storage.
         *
         * @param sessionCountId the session count ID of the configuration to remove
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19.5K bytes
    - Viewed (1)
  4. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

      public void testSingleSimpleStats() {
        StatsCounter counter = new SimpleStatsCounter();
        for (int i = 0; i < 11; i++) {
          counter.recordHits(1);
        }
        for (int i = 0; i < 13; i++) {
          counter.recordLoadSuccess(i);
        }
        for (int i = 0; i < 17; i++) {
          counter.recordLoadException(i);
        }
        for (int i = 0; i < 23; i++) {
          counter.recordMisses(1);
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. scripts/contributors.py

    
    def get_users_to_write(
        *,
        counter: Counter[str],
        authors: dict[str, Author],
        min_count: int = 2,
    ) -> dict[str, Any]:
        users: dict[str, Any] = {}
        for user, count in counter.most_common():
            if count >= min_count:
                author = authors[user]
                users[user] = {
                    "login": user,
                    "count": count,
                    "avatarUrl": author.avatarUrl,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

          void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) {
            builder.add(counter.getAndIncrement());
          }
        },
        ADD_ARRAY {
          @Override
          void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) {
            long[] array = new long[random.nextInt(10)];
            for (int i = 0; i < array.length; i++) {
              array[i] = counter.getAndIncrement();
            }
            builder.addAll(array);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java

            for (final char candidate : candidates) {
                final int count = countOccurrences(line, candidate);
                if (count > maxCount) {
                    maxCount = count;
                    bestDelimiter = candidate;
                }
            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("Detected delimiter: '{}' (count: {})", bestDelimiter, maxCount);
            }
    
            return bestDelimiter;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                final int count = searchLogHelper.getClickCount(url);
                doc.put(fessConfig.getIndexFieldClickCount(), count);
                if (logger.isDebugEnabled()) {
                    logger.debug("Click count: count={}, url={}", count, url);
                }
            }
        }
    
        /**
         * Adds a favorite count field to the document based on user favorite data.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  9. tests/generics_test.go

    	count, err := gorm.G[User](tx).Where("name like ?", "TestGenericsTransaction%").Count(ctx, "*")
    	if err != nil {
    		t.Fatalf("Count failed: %v", err)
    	}
    	if count != 2 {
    		t.Errorf("expected 2 records, got %d", count)
    	}
    
    	if err := tx.Rollback().Error; err != nil {
    		t.Fatalf("failed to rollback transaction: %v", err)
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

            for (int i = 0; i < deltas.length; i++) {
              deltas[i] += taskDeltas[i];
            }
          }
    
          List<Integer> actualCounts = transform(keys, multiset::count);
          assertEquals("Counts not as expected", Ints.asList(deltas), actualCounts);
        } finally {
          pool.shutdownNow();
        }
    
        // Since we have access to the backing map, verify that there are no zeroes in the map
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top