Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 979 for directed (0.04 sec)

  1. docs/en/docs/tutorial/body-multiple-params.md

    ///
    
    ## Embed a single body parameter { #embed-a-single-body-parameter }
    
    Let's say you only have a single `item` body parameter from a Pydantic model `Item`.
    
    By default, **FastAPI** will then expect its body directly.
    
    But if you want it to expect a JSON with a key `item` and inside of it the model contents, as it does when you declare extra body parameters, you can use the special `Body` parameter `embed`:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

        }
    
        /**
         * Test getFlags method.
         * This is implicitly tested by the constructors, but an explicit test ensures its direct functionality.
         */
        @Test
        void testGetFlags() {
            int expectedFlags = 0xAABBCCDD;
            AvFlags avFlags = new AvFlags(expectedFlags);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java

         * It should return a string representation of the object.
         */
        @Test
        void testToString() {
            // The actual toString() method uses super.toString(), so we mimic that for the check.
            // A direct string comparison might be brittle, so we check for the class name and brackets.
            String actualString = response.toString();
            assertTrue(actualString.startsWith("Trans2SetFileInformationResponse["),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *       {@code ClosingFuture}. If possible, prefer calling {@link #transform(ClosingFunction,
       *       Executor)} instead, with a function that returns the next value directly.
       *   <li>Call {@link DeferredCloser#eventuallyClose(Object, Executor) closer.eventuallyClose()}
       *       for every closeable object this step creates in order to capture it for later closing.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            IntervalRule rule = new IntervalRule("10:00", "18:00", "1", 1000); // Sunday only
    
            // Test day overflow (day 8 should be treated as day 1)
            // For same-day rules, it should check the day directly
            assertTrue(rule.isTarget(12, 30, 8)); // Should be treated as day 1 (Sunday)
    
            // Test with cross-midnight rule
            IntervalRule crossRule = new IntervalRule("22:00", "02:00", "1", 1000); // Sunday only
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/CurlResponseTest.java

            byte[] data = "test content".getBytes();
            ContentCache cache = new ContentCache(data);
    
            response.setContentCache(cache);
    
            // ContentCache is not directly accessible, but we can test through content methods
            assertNotNull(response);
        }
    
        @Test
        public void testGetContentAsStringWithCache() throws IOException {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

     * when the expected present count is correct.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeTraverser.java

       * expressions. If those circumstances don't apply, you probably don't need to use this; subclass
       * {@code TreeTraverser} and implement its {@link #children} method directly.
       *
       * @since 20.0
       * @deprecated Use {@link com.google.common.graph.Traverser#forTree} instead. If you are using a
       *     lambda, these methods have exactly the same signature.
       */
      @Deprecated
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/Cache.java

       * all values is returned.
       *
       */
      CacheStats stats();
    
      /**
       * Returns a view of the entries stored in this cache as a thread-safe map. Modifications made to
       * the map directly affect the cache.
       *
       * <p>Iterators from the returned map are at least <i>weakly consistent</i>: they are safe for
       * concurrent use, but if the cache is modified (including by eviction) after the iterator is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. scan.go

    				update = false
    				if isArrayKind {
    					db.Statement.ReflectValue.Set(reflect.Zero(reflectValue.Type()))
    				} else {
    					// if the slice cap is externally initialized, the externally initialized slice is directly used here
    					if reflectValue.Cap() == 0 {
    						db.Statement.ReflectValue.Set(reflect.MakeSlice(reflectValue.Type(), 0, 20))
    					} else {
    						reflectValue.SetLen(0)
    						db.Statement.ReflectValue.Set(reflectValue)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top