Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2151 - 2160 of 2,937 for rint (0.04 sec)

  1. cmd/healthcheck-handler.go

    		w.Header().Set(xhttp.MinIOServerStatus, unavailable) // Service not initialized yet
    	}
    	if r.Header.Get(xhttp.MinIOPeerCall) != "" {
    		writeResponse(w, http.StatusOK, nil, mimeNone)
    		return
    	}
    
    	if int(globalHTTPStats.loadRequestsInQueue()) > globalAPIConfig.getRequestsPoolCapacity() {
    		apiErr := getAPIError(ErrBusy)
    		switch r.Method {
    		case http.MethodHead:
    			writeResponse(w, apiErr.HTTPStatusCode, nil, mimeNone)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

      private val connectionUser: ConnectionUser,
      private val fastFallback: Boolean,
    ) {
      // State for negotiating the next proxy to use.
      private var proxies = emptyList<Proxy>()
      private var nextProxyIndex: Int = 0
    
      // State for negotiating the next socket address to use.
      private var inetSocketAddresses = emptyList<InetSocketAddress>()
    
      // State for negotiating failed routes
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (1)
  3. src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java

            assertEquals(2, ingesters[1].getPriority());
            assertEquals(3, ingesters[2].getPriority());
        }
    
        private static class TestIngester extends Ingester {
            public TestIngester(int priority) {
                this.priority = priority;
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/Extractor.java

        /**
         * Returns the weight of the extractor.
         * The default implementation returns a weight of 1.
         *
         * @return the weight of the extractor
         */
        default int getWeight() {
            return 1;
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            intervalControlHelper.addIntervalRule("22:15", "2:45", "1", 4000);
            assertEquals(4000, intervalControlHelper.getDelay());
        }
    
        private IntervalControlHelper createHelper(final String time, final int day) throws ParseException {
            final Date date = new SimpleDateFormat("HH:mm").parse(time);
            return new IntervalControlHelper() {
                @Override
                protected Calendar getCurrentCal() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

         * Test field count to ensure no unexpected fields are added
         */
        public void test_fieldCount() throws Exception {
            Field[] fields = FessLabels.class.getDeclaredFields();
            int labelConstantCount = 0;
            int serialVersionUIDCount = 0;
    
            for (Field field : fields) {
                if (field.getName().equals("serialVersionUID")) {
                    serialVersionUIDCount++;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/CurlResponseTest.java

            CurlResponse response = new CurlResponse();
            assertNotNull(response);
        }
    
        @Test
        public void testHttpStatusCode() {
            CurlResponse response = new CurlResponse();
            int statusCode = 200;
    
            response.setHttpStatusCode(statusCode);
    
            assertEquals(statusCode, response.getHttpStatusCode());
        }
    
        @Test
        public void testEncoding() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

       */
      private inner class TaskFakerBlockingQueue<T>(
        val delegate: BlockingQueue<T>,
      ) : AbstractQueue<T>(),
        BlockingQueue<T> {
        override val size: Int = delegate.size
    
        private var editCount = 0
    
        override fun poll(): T = delegate.poll()
    
        override fun poll(
          timeout: Long,
          unit: TimeUnit,
        ): T? {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      private static final Runnable DONE = new DoNothingRunnable();
      private static final Runnable PARKED = new DoNothingRunnable();
      // Why 1000?  WHY NOT!
      private static final int MAX_BUSY_WAIT_SPINS = 1000;
    
      @Override
      public final void run() {
        /*
         * Set runner thread before checking isDone(). If we were to check isDone() first, the task
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       *
       * <p><b>Java 21+ users:</b> use {@link Thread.Builder.OfPlatform#priority(int)} instead.
       *
       * @param priority the priority for new Threads created with this ThreadFactory
       * @return this for the builder pattern
       */
      @CanIgnoreReturnValue
      public ThreadFactoryBuilder setPriority(int priority) {
        // Thread#setPriority() already checks for validity. These error messages
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top