Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 73 for early (0.04 seconds)

  1. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            // When & Then - test boundary conditions
            // Negative length or offset should not cause issues (len <= 0 returns early)
            assertDoesNotThrow(() -> outputStream.write(data, 0, -1)); // negative length, returns early
            assertDoesNotThrow(() -> outputStream.write(data, 0, 0)); // zero length, returns early
    
            // These should pass through to the underlying implementation
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java

            final String sessionId = "session5";
            final List<String> emptyList = Collections.emptyList();
    
            // Should not throw exception when adding empty list
            // This validates the early return optimization
            try {
                urlFilterService.addIncludeUrlFilter(sessionId, emptyList);
            } catch (final Exception e) {
                fail();
            }
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Jan 14 23:48:16 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     * Tasks execute with the same happens-before order that the function calls to {@link #submit} and
     * {@link #submitAsync} that submitted those tasks had.
     *
     * <p>This class has limited support for cancellation and other "early completions":
     *
     * <ul>
     *   <li>While calls to {@code submit} and {@code submitAsync} return a {@code Future} that can be
     *       cancelled, cancellation never propagates to a task that has started to run -- neither to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        }
    
        @Test
        @DisplayName("ensureDFSResolved returns early for SmbComClose requests")
        void ensureDFSResolved_closeRequest_noop() throws Exception {
            SmbTreeConnection c = spy(newConn());
            SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(ctx, smbUrl("smb://server/share/"));
    
            // Using a SmbComClose instance triggers early return without DFS/session work
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ///
    
    ## Early exit and `scope` { #early-exit-and-scope }
    
    Normally the exit code of dependencies with `yield` is executed **after the response** is sent to the client.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  9. docs/ja/docs/advanced/advanced-dependencies.md

    そして、`Depends(scope="request")`(デフォルト)を使う場合、`yield` の後の終了コードはレスポンス送信後に実行されます。
    
    詳しくはドキュメント「[`yield` を使う依存関係 - 早期終了と `scope`](../tutorial/dependencies/dependencies-with-yield.md#early-exit-and-scope)」を参照してください。
    
    ### `yield` と `StreamingResponse` を伴う依存関係、技術詳細 { #dependencies-with-yield-and-streamingresponse-technical-details }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  10. api/maven-api-plugin/src/main/mdo/plugin.mdo

                associated with a Maven project can lack a file. As such, this annotation is meant for Mojos that only
                want to analyze the set of transitive dependencies, in particular during early lifecycle phases where
                full dependency resolution might fail due to projects which haven't been built yet.
              </description>
            </field>
            <field>
              <name>dependencyCollection</name>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:28:41 GMT 2025
    - 24.8K bytes
    - Click Count (0)
Back to Top