Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 724 for sleeps (0.06 seconds)

  1. src/test/java/jcifs/util/SecureKeyManagerTest.java

            long initialAge = keyManager.getKeyAge(sessionId);
            assertTrue(initialAge >= 0 && initialAge < 100, "Initial age should be small");
    
            Thread.sleep(200);
    
            long laterAge = keyManager.getKeyAge(sessionId);
            assertTrue(laterAge >= 200, "Age should increase after delay");
        }
    
        @Test
        public void testKeyAgeNonExistent() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. docs/tr/docs/advanced/custom-response.md

    Bu küçük örneğin `await` ifadesine ihtiyacı olmadığı için, event loop’un iptali ele alabilmesi adına `await anyio.sleep(0)` ekliyoruz.
    
    Büyük veya sonsuz akışlarda bu daha da önemlidir.
    
    ///
    
    /// tip | İpucu
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                reader.addSort(SortBuilders.scoreSort());
                return reader;
            }, docPerReq, () -> {
                systemHelper.calibrateCpuLoad();
                ThreadUtil.sleep(interval);
            }).then(response -> {
                refresh();
                success.accept(true);
            }).error(t -> error.accept(t));
        }
    
        /**
         * Purges old suggest data from documents.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

            "InjectOnConstructorOfAbstractClass", // We use abstract injection as a pattern
            "InlineMeSuggester", // Only suppression seems to actually "fix" this, so make it global
            "JavaUtilDate", // We are fine with using Date
            "JavaxInjectOnAbstractMethod", // We use abstract injection as a pattern
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:47:14 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/util/MimeMapTest.java

            }
    
            @Test
            @DisplayName("Should handle empty extensions safely")
            void testEmptyExtensions() throws IOException {
                // Empty extension seems to match first entry in mime.map
                String result = mimeMap.getMimeType("");
                assertNotNull(result);
                // With custom default, empty still returns the first match
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. cmd/server-main.go

    			}
    			return nil
    		}
    
    		if configRetriableErrors(err) {
    			logger.Info("Waiting for all MinIO sub-systems to be initialized.. possible cause (%v)", err)
    			time.Sleep(time.Duration(r.Float64() * float64(5*time.Second)))
    			continue
    		}
    
    		// Any other unhandled return right here.
    		return fmt.Errorf("Unable to initialize sub-systems: %w", err)
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:18:36 GMT 2025
    - 35.9K bytes
    - Click Count (4)
  7. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

                call.executeAsync()
              }
            }
          }
    
          assertThat(call.canceled).isTrue()
          assertThat(call.responseClosed).isTrue()
        }
      }
    
      /** A call that keeps track of whether its response body is closed. */
      private class ClosableCall : FailingCall() {
        private val response =
          Response
            .Builder()
            .request(Request("https://example.com/".toHttpUrl()))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. docs/de/docs/advanced/openapi-webhooks.md

    Das wird normalerweise als **Web<abbr title="Haken, Einhängepunkt">hook</abbr>** bezeichnet.
    
    ## Webhooks-Schritte { #webhooks-steps }
    
    Der Prozess besteht normalerweise darin, dass **Sie in Ihrem Code definieren**, welche Nachricht Sie senden möchten, den **Requestbody**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  9. docs/de/docs/advanced/custom-response.md

    Da dieses kleine Beispiel keine `await`-Anweisungen benötigt, fügen wir ein `await anyio.sleep(0)` hinzu, um dem Event Loop die Chance zu geben, den Abbruch zu verarbeiten.
    
    Dies wäre bei großen oder unendlichen Streams noch wichtiger.
    
    ///
    
    /// tip | Tipp
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/custom-response.md

    Since this small example does not need any `await` statements, we add an `await anyio.sleep(0)` to give the event loop a chance to handle cancellation.
    
    This would be even more important with large or infinite streams.
    
    ///
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
Back to Top