Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 53 for Counter (0.06 seconds)

  1. scripts/people.py

        return graphql_response.data.repository.discussions.edges
    
    
    class DiscussionExpertsResults(BaseModel):
        commenters: Counter[str]
        last_month_commenters: Counter[str]
        three_months_commenters: Counter[str]
        six_months_commenters: Counter[str]
        one_year_commenters: Counter[str]
        authors: dict[str, Author]
    
    
    def get_discussion_nodes(settings: Settings) -> list[DiscussionsNode]:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. scripts/contributors.py

    
    class ContributorsResults(BaseModel):
        contributors: Counter[str]
        translation_reviewers: Counter[str]
        translators: Counter[str]
        authors: dict[str, Author]
    
    
    def get_contributors(pr_nodes: list[PullRequestNode]) -> ContributorsResults:
        contributors = Counter[str]()
        translation_reviewers = Counter[str]()
        translators = Counter[str]()
        authors: dict[str, Author] = {}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  3. 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);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

              if (newValue == 0) {
                // Just CASed to 0; remove the entry to clean up the map. If the removal fails,
                // another thread has already replaced it with a new counter, which is fine.
                countMap.remove(element, existingCounter);
              }
              return oldValue;
            }
          } else {
            return 0;
          }
        }
      }
    
      /**
    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)
  5. src/main/java/org/codelibs/fess/job/CrawlJob.java

                        }
                        counter.incrementAndGet();
                    } else if (logger.isDebugEnabled()) {
                        logger.debug("Scheduled job is not running: id={}", scheduledJob.getId());
                    }
                }
            });
            return counter.get();
        }
    
        /**
         * Executes the crawler process in a separate JVM.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                final int maxDepth = getMaxDepth(paramMap, dataMap);
                long counter = 0;
                final Deque<CrawlRequest> requestQueue = new LinkedList<>();
                final Set<String> processedUrls = new HashSet<>();
                requestQueue.offer(new CrawlRequest(url, 0));
                while (!requestQueue.isEmpty() && (maxAccessCount < 0 || counter < maxAccessCount)) {
                    final CrawlRequest crawlRequest = requestQueue.poll();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  7. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

        /**
         * Map storing crawling configurations by session ID.
         */
        protected final Map<String, CrawlingConfig> crawlingConfigMap = new ConcurrentHashMap<>();
    
        /**
         * Counter for generating unique session identifiers.
         */
        protected int count = 1;
    
        /**
         * Cache for storing crawling configurations to improve performance.
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.5K bytes
    - Click Count (1)
  8. CLAUDE.md

    Execution context and configuration.
    
    **Important Fields**:
    ```java
    String sessionId                // Format: yyyyMMddHHmmssSSS
    volatile CrawlerStatus status   // DONE, RUNNING
    AtomicLong accessCount          // Thread-safe counter
    int numOfThread = 10            // Crawler threads
    int maxDepth = -1               // Max depth (-1 = unlimited)
    long maxAccessCount = 0         // Max URLs (0 = unlimited)
    ```
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Fri Nov 28 17:31:34 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                return context;
            }
    
            /**
             * Increments the counter.
             */
            public void inc() {
                counter++;
            }
    
            @Override
            public void close() {
                if (counter > 1) {
                    counter--;
                } else {
                    try {
                        if (context != null) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 86.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

         * Creates a new instance with default values.
         */
        public IndexUpdateCallbackImpl() {
            // Default constructor
        }
    
        /** Atomic counter for the number of documents processed */
        protected AtomicLong documentSize = new AtomicLong(0);
    
        /** Total execution time for all operations */
        protected volatile long executeTime = 0;
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
Back to Top