Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 1,594 for would (0.03 seconds)

  1. src/test/java/org/codelibs/fess/entity/ChatSessionTest.java

            session.addUserMessage("User 3");
            session.addAssistantMessage("Assistant 3");
            assertEquals(6, session.getMessageCount());
    
            // Trimming to 3 would start at index 3 (assistant), so it should go back to index 2 (user)
            session.trimHistory(3);
    
            final List<ChatMessage> messages = session.getMessages();
            assertEquals(4, messages.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            assertNull(languageHelper.detectLanguage("   "));
        }
    
        @Test
        public void test_detectLanguage_withoutDetector() {
            // Without a real detector, this would cause NullPointerException
            try {
                languageHelper.detectLanguage("This is English text");
                fail("Should throw NullPointerException without detector");
            } catch (NullPointerException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ComparisonChain.java

       * we wanted to support legacy classes that implement the raw type {@code Comparable} (instead of
       * implementing {@code Comparable<Foo>}) without producing warnings. If so, we would prefer today
       * to produce warnings in that case, and we may change this method to do so in the future. Support
       * for raw {@code Comparable} types in Guava in general is tracked as <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. pyproject.toml

        # For forms and file uploads
        "python-multipart >=0.0.18",
        # For Starlette's SessionMiddleware, not commonly used with FastAPI
        "itsdangerous >=1.1.0",
        # For Starlette's schema generation, would not be used with FastAPI
        "pyyaml >=5.3.1",
        # To validate email fields
        "email-validator >=2.0.0",
        # Uvicorn with uvloop
        "uvicorn[standard] >=0.12.0",
        # Settings management
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/testing/NullPointerTester.java

             * inserts checks automatically for non-private functions (which are the only kind that we
             * check).
             *
             * We *would* just check such functions redundantly, but kotlinc emits its nullness
             * annotations in the form of JetBrains annotations, which have only class retention and
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/GeneralRange.java

        this.lowerBoundType = checkNotNull(lowerBoundType);
        this.upperEndpoint = upperEndpoint;
        this.upperBoundType = checkNotNull(upperBoundType);
    
        // Trigger any exception that the comparator would throw for the endpoints.
        /*
         * uncheckedCastNullableTToT is safe as long as the callers are careful to pass a "real" T
         * whenever they pass `true` for the matching `has*Bound` parameter.
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/EmptyIteratorTest.java

            // When & Then - verify empty collection behavior
            assertFalse(emptyIterator.hasNext(), "Empty iterator should have no next element");
    
            // Note: Standard Iterator would throw NoSuchElementException, but this implementation returns null
            // This is a design choice for this specific implementation
            assertNull(emptyIterator.next(), "This implementation returns null instead of throwing");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                    log.debug("Error releasing tree connection during emergency cleanup", e);
                }
    
                // Note: resourceLoc is final, cannot be set to null
                // Clear other mutable references would go here
    
            } catch (Exception e) {
                log.error("Failed to perform emergency tree handle cleanup", e);
            }
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. tensorflow/c/c_api.h

    // least `max_values`.
    //
    // The elements of values will point to addresses in `storage` which must be at
    // least `storage_size` bytes in length.  Ideally, max_values would be set to
    // TF_AttrMetadata.list_size and `storage` would be at least
    // TF_AttrMetadata.total_size, obtained from TF_OperationGetAttrMetadata(oper,
    // attr_name).
    //
    // Fails if storage_size is too small to hold the requested number of strings.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            }
        }
    
        @Test
        public void test_scroll_callbackHandling() {
            // This test verifies the scroll method exists and handles callbacks properly
            // Note: In a real test environment, this would require proper SearchEngineClient setup
            // For now, we test that the method signature is correct and can be called
    
            AtomicInteger callbackCount = new AtomicInteger(0);
    
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
Back to Top