Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for cpu (0.02 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

        /**
         * Data transfer object representing process CPU statistics.
         */
        public static class ProcessCpuObj {
            /**
             * Default constructor.
             */
            public ProcessCpuObj() {
                // Default constructor
            }
    
            /** CPU usage percentage for the process. */
            public short percent;
            /** Total CPU time used by the process in milliseconds. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            }
        }
    
        /**
         * Calibrates the CPU load.
         *
         * @return true if the CPU load is within the acceptable range, false otherwise.
         */
        public boolean calibrateCpuLoad() {
            return calibrateCpuLoad(0L);
        }
    
        /**
         * Calibrates the CPU load with a timeout.
         *
         * @param timeoutInMillis The timeout in milliseconds.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

            append(buf, "open", () -> processProbe.getOpenFileDescriptorCount()).append(',');
            append(buf, "max", () -> processProbe.getMaxFileDescriptorCount());
            buf.append("},");
            buf.append("\"cpu\":{");
            append(buf, "percent", () -> processProbe.getProcessCpuPercent()).append(',');
            append(buf, "total", () -> processProbe.getProcessCpuTotalTime());
            buf.append("},");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

          }
        };
    
        public abstract Queue<Integer> create(Comparator<Integer> comparator);
      }
    
      /**
       * Does a CPU intensive operation on Integer and returns a BigInteger Used to implement an
       * ordering that spends a lot of cpu.
       */
      static class ExpensiveComputation implements Function<Integer, BigInteger> {
        @Override
        public BigInteger apply(Integer from) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * java.util.LinkedHashSet}. Generally speaking, this class reduces object allocation and memory
     * consumption at the price of moderately increased constant factors of CPU. Only use this class
     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // not worth using in GWT for now
    final class CompactLinkedHashSet<E extends @Nullable Object> extends CompactHashSet<E> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

                        return "3";
                    case "crawler.hotthread.timeout":
                        return "30s";
                    case "crawler.hotthread.type":
                        return "cpu";
    
                    default:
                        throw new ConfigPropertyNotFoundException(propertyKey);
                    }
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashSet.java

     * Generally speaking, this class reduces object allocation and memory consumption at the price of
     * moderately increased constant factors of CPU. Only use this class when there is a specific reason
     * to prioritize memory over CPU.
     *
     * @author Dimitris Andreou
     * @author Jon Noack
     */
    @GwtIncompatible // not worth using in GWT for now
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

            this.delayMillisForWaitingNewUrl = delayMillisForWaitingNewUrl;
        }
    
        /**
         * Delays the crawler while waiting for new URLs to be available.
         * This method calibrates CPU load, checks crawler status, applies
         * interval control rules, and then calls the parent implementation.
         */
        @Override
        protected void delayForWaitingNewUrl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/internal/Finalizer.java

          return false;
        }
    
        if (!finalizeReference(firstReference, finalizeReferentMethod)) {
          return false;
        }
    
        /*
         * Loop as long as we have references available so as not to waste CPU looking up the Method
         * over and over again.
         */
        while (true) {
          Reference<?> furtherReference = queue.poll();
          if (furtherReference == null) {
            return true;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

            blocker = (Blocker) state;
          }
          spinCount++;
          if (spinCount > MAX_BUSY_WAIT_SPINS) {
            /*
             * If we have spun a lot, just park ourselves. This will save CPU while we wait for a slow
             * interrupting thread. In theory, interruptTask() should be very fast, but due to
             * InterruptibleChannel and JavaLangAccess.blockedOn(Thread, Interruptible), it isn't
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top