Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 489 for spill (0.02 sec)

  1. docs/en/docs/tutorial/background-tasks.md

    By only using `BackgroundTasks` (and not `BackgroundTask`), it's then possible to use it as a *path operation function* parameter and have **FastAPI** handle the rest for you, just like when using the `Request` object directly.
    
    It's still possible to use `BackgroundTask` alone in FastAPI, but you have to create the object in your code and return a Starlette `Response` including it.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        if (entry?.currentEditor != null) {
          return null // Another edit is in progress.
        }
    
        if (entry != null && entry.lockingSourceCount != 0) {
          return null // We can't write this file because a reader is still reading it.
        }
    
        if (mostRecentTrimFailed || mostRecentRebuildFailed) {
          // The OS has become our enemy! If the trim job failed, it means we are storing more data than
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

        expectUnchanged();
        assertTrue(collection.contains(e0()));
      }
    
      /*
       * AbstractCollection fails the removeAll(null) test when the subject
       * collection is empty, but we'd still like to test removeAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

                assertNotSame(impl, renewed, "renew() should return a different instance");
                assertTrue(renewed instanceof SmbRenewableCredentials, "renewed credentials should still be SmbRenewableCredentials");
            } else {
                assertNull(renewed, "renew() may return null for failed renewal");
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

      /**
       * Returns a {@link ScheduledExecutorService} that never executes anything.
       *
       * <p>The {@code shutdownNow} method of the returned executor always returns an empty list despite
       * the fact that everything is still technically awaiting execution. The {@code getDelay} method
       * of any {@link ScheduledFuture} returned by the executor will always return the max long value
       * instead of the time until the user-specified delay.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/SingletonContextTest.java

            // Expect no exception to be thrown, but an error logged (which we can't directly assert here)
            assertDoesNotThrow(() -> SingletonContext.init(null));
            assertNotNull(SingletonContext.getInstance()); // Should still initialize
        }
    
        @Test
        void testGetInstanceInitializesIfNull() {
            // Test getInstance initializes the context if it's null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        expectReturnsTrue(disjoint);
        expectContents();
      }
    
      // retainAll(null)
    
      /*
       * AbstractCollection fails the retainAll(null) test when the subject
       * collection is empty, but we'd still like to test retainAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

                        throw new RuntimeException("Test failure");
                    });
                } catch (Exception e) {
                    // Expected
                }
            }
    
            // Still closed
            assertEquals(SimpleCircuitBreaker.State.CLOSED, circuitBreaker.getState());
    
            // Success resets consecutive failures
            circuitBreaker.call(() -> "success");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            StopwordsItem item2 = new StopwordsItem(1, "test");
    
            item1.setNewInput("updated");
            item2.setNewInput("different");
    
            // Should still be equal based on original input
            assertTrue(item1.equals(item2));
        }
    
        public void test_toString() {
            // Test toString method
            StopwordsItem item = new StopwordsItem(123, "word");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

              // For convenience, testing only with big endianness, to match DataOutputStream.
              // I regard highly unlikely that both the little endianness tests above and this one
              // passes, and there is still a little endianness bug lurking around.
            }
          }
    
          Control control = new Control();
          Hasher controlSink = control.newHasher(1024);
    
          Iterable<Hasher> sinksAndControl =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top