Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1461 - 1470 of 1,614 for cause (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix.
        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
          UnsignedInts.parseUnsignedInt("0", Character.MIN_RADIX - 1);
          fail();
        } catch (NumberFormatException expected) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. docs/es/docs/advanced/events.md

    ## Caso de Uso { #use-case }
    
    Empecemos con un ejemplo de **caso de uso** y luego veamos cómo resolverlo con esto.
    
    Imaginemos que tienes algunos **modelos de machine learning** que quieres usar para manejar requests. 🤖
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                    switch (xObj.type()) {
                    case BOOLEAN:
                        final Boolean b = (Boolean) xObj.value();
                        putResultDataBody(dataMap, entry.getKey(), b.toString());
                        break;
                    case NUMBER:
                        final Number d = (Number) xObj.value();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/Converter.java

     *   <li>{@code stringConverter().reverse().convert(1.0)} returns the string {@code "1.0"} --
     *       <i>not</i> the same string ({@code "1.00"}) we started with
     * </ol>
     *
     * <p>Note that it should still be the case that the round-tripped and original objects are
     * <i>similar</i>.
     *
     * <h3>Nullability</h3>
     *
     * <p>A converter always converts {@code null} to {@code null} and non-null references to non-null
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            testData.add(createRelatedQuery("Java", new String[] { "Programming", "Tutorial" }, ""));
            mockBhv.setTestData(testData);
    
            relatedQueryHelper.load();
    
            // Test case insensitive matching
            String[] results = relatedQueryHelper.getRelatedQueries("java");
            assertEquals(2, results.length);
            assertEquals("Programming", results[0]);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                // Then
                assertEquals(4, read1);
                assertEquals(4, read2);
            }
        }
    
        @Nested
        @DisplayName("Edge case tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum buffer index")
            void testMaxBufferIndex() throws SMBProtocolDecodingException {
                // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    LogLevelRecorder.Level level =
                            switch (logLevelThreshold.toLowerCase(Locale.ENGLISH)) {
                                case "warn", "warning" -> LogLevelRecorder.Level.WARN;
                                case "error" -> LogLevelRecorder.Level.ERROR;
                                default ->
                                    throw new IllegalArgumentException(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                String result = notification.toString();
                assertTrue(result.contains("oplockLevel=" + oplockLevel));
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle minimum valid buffer size")
            void testMinimumBufferSize() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/advanced/events.md

    因為這些程式碼分別在應用開始接收請求**之前**與**完成**處理請求之後執行,所以涵蓋了整個應用的**生命週期**(「lifespan」這個詞稍後會很重要 😉)。
    
    這對於為整個應用設定需要**共用**於多個請求的**資源**,以及在之後進行**清理**,非常有用。比如資料庫連線池、或載入一個共用的機器學習模型。
    
    ## 使用情境 { #use-case }
    
    先從一個**使用情境**開始,然後看看如何用這個機制解決。
    
    想像你有一些要用來處理請求的**機器學習模型**。🤖
    
    同一組模型會在多個請求間共用,所以不是每個請求或每個使用者各有一個模型。
    
    再想像一下,載入模型**需要一段時間**,因為它必須從**磁碟**讀取大量資料。所以你不想在每個請求都做一次。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  10. tests/test_schema_extra_examples.py

                    ],
                ),
            ):
                return item
    
        # TODO: enable these tests once/if Form(embed=False) is supported
        # TODO: In that case, define if File() should support example/examples too
        # @app.post("/form_example")
        # def form_example(firstname: str = Form(example="John")):
        #     return firstname
    
        # @app.post("/form_examples")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 34.7K bytes
    - Click Count (0)
Back to Top