Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for cpu (0.01 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

        }
    
        public void test_getUserAgentType_safariWithoutChrome() {
            getMockRequest().addHeader("user-agent",
                    "Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Mobile/15E148 Safari/604.1");
            assertEquals(UserAgentType.SAFARI, userAgentHelper.getUserAgentType());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            assertTrue(result || !result); // Can be either depending on CPU load
        }
    
        public void test_calibrateCpuLoad_zeroTimeout() {
            final boolean result = systemHelper.calibrateCpuLoad(0L);
            assertTrue(result);
        }
    
        public void test_getSystemCpuPercent() {
            final short cpuPercent = systemHelper.getSystemCpuPercent();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top