Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 75 for early (0.05 seconds)

  1. docs/en/docs/advanced/advanced-dependencies.md

    If you have a different use case that needs to exit early from a dependency with `yield`, please create a [GitHub Discussion Question](https://github.com/fastapi/fastapi/discussions/new?category=questions) with your specific use case and why you would benefit from having early closing for dependencies with `yield`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9K bytes
    - Click Count (0)
  2. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt

            else -> protocol
          }
        } else {
          super.getSelectedProtocol(sslSocket)
        }
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.bouncycastle.jsse.provider.BouncyCastleJsseProvider", false, BouncyCastlePlatform::class.java.classLoader)
    
            true
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

                public String getSlackWebhookUrls() {
                    return "";
                }
            });
    
            MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser();
    
            // Should return early without doing anything
            try {
                notificationHelper.sendToSlack(null, discloser);
            } catch (Exception e) {
                fail("sendToSlack() should not throw an exception with blank URLs: " + e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 20K bytes
    - Click Count (0)
  4. architecture/standards/0010-gradle-properties-naming.md

    Internal properties MUST NOT be documented in public documentation.
    
    As a *secondary aspect*, property names can carry **feature-stability** information of the features they represent.
    As features progress through the lifecycle of early prototype, incubation, and stabilization, their corresponding properties may also be updated.
    
    Examples as of Gradle 9.3.0:
    
    * `org.gradle.internal.operations.trace` – internal property
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 06 09:25:54 GMT 2026
    - 8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                });
                readerThreads[i].start();
            }
    
            // Writer thread sets alive to false early
            Thread writerThread = new Thread(() -> {
                try {
                    startLatch.await(); // Wait for start signal
                    // Set alive to false very early - no delay
                    dataStore.alive = false;
                } catch (InterruptedException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  6. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt

            override fun create(sslSocket: SSLSocket): SocketAdapter = ConscryptSocketAdapter()
          }
    
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.conscrypt.Conscrypt\$Version", false, javaClass.classLoader)
    
            when {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java

            // expired() should skip when disabled
            logNotificationTarget.expired();
    
            // Buffer should still contain the event since disabled check should return early
            List<LogNotificationEvent> remaining = ComponentUtil.getLogNotificationHelper().drainAll();
            assertEquals(1, remaining.size());
            assertEquals("should remain", remaining.get(0).getMessage());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  8. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

            else -> protocol
          }
        } else {
          super.getSelectedProtocol(sslSocket)
        }
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.openjsse.net.ssl.OpenJSSE", false, OpenJSSEPlatform::class.java.classLoader)
    
            true
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java

      private OverflowAvoidingLockSupport() {}
    
      static void parkNanos(@Nullable Object blocker, long nanos) {
        // Even in the extremely unlikely event that a thread unblocks itself early after only 68 years,
        // this is indistinguishable from a spurious wakeup, which LockSupport allows.
        LockSupport.parkNanos(blocker, min(nanos, MAX_NANOSECONDS_THRESHOLD));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 10 11:51:21 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            assertTrue("SuggesterException should have been thrown", exceptionThrown);
        }
    
        /**
         * Test switchIndex when update and search indices are the same.
         * Verifies that the method returns early without errors.
         */
        @Test
        public void testSwitchIndex_sameUpdateAndSearchIndex() throws Exception {
            final Suggester suggester = Suggester.builder().build(client, "same-index-test");
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top