Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 615 for _both (0.05 sec)

  1. docs/en/docs/advanced/behind-a-proxy.md

    ///
    
    By default, **FastAPI** will create a `server` in the OpenAPI schema with the URL for the `root_path`.
    
    But you can also provide other alternative `servers`, for example if you want *the same* docs UI to interact with both a staging and a production environment.
    
    If you pass a custom list of `servers` and there's a `root_path` (because your API lives behind a proxy), **FastAPI** will insert a "server" with this `root_path` at the beginning of the list.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    			tr, sr = sr, tr
    		}
    		// ASCII only, sr/tr must be upper/lower case
    		if 'A' <= sr && sr <= 'Z' && tr == sr+'a'-'A' {
    			continue
    		}
    		return false
    	}
    	// Check if we've exhausted both strings.
    	return len(s) == len(t)
    
    hasUnicode:
    	s = s[i:]
    	t = t[i:]
    	for len(s) != 0 && len(t) != 0 {
    		// Extract first rune from each.
    		sr, size := utf8.DecodeRune(s)
    		s = s[size:]
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params-str-validations.md

    //// tab | Python 3.10+
    
    ```Python
    q: Annotated[str | None] = None
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    q: Annotated[Union[str, None]] = None
    ```
    
    ////
    
    Both of those versions mean the same thing, `q` is a parameter that can be a `str` or `None`, and by default, it is `None`.
    
    Now let's jump to the fun stuff. 🎉
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    		hex.EncodeToString(x.VersionID[:]),
    		hex.EncodeToString(x.Signature[:]),
    		time.Unix(0, x.ModTime),
    		x.Flags.String(),
    		x.EcN, x.EcM,
    	)
    }
    
    // matchesNotStrict returns whether x and o have both have non-zero version,
    // their versions match and their type match.
    // If they have zero version, modtime must match.
    func (x xlMetaV2VersionHeader) matchesNotStrict(o xlMetaV2VersionHeader) (ok bool) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  5. cmd/test-utils_test.go

    	makeBucketOptions MakeBucketOptions
    }
    
    // ExecObjectLayerAPITest - executes object layer API tests.
    // Creates single node and Erasure ObjectLayer instance, registers the specified API end points and runs test for both the layers.
    func ExecObjectLayerAPITest(args ExecObjectLayerAPITestArgs) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	// reset globals.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

            public DependencyResolverRequestBuilder root(@Nonnull DependencyCoordinates root) {
                this.root = root;
                return this;
            }
    
            /**
             * Sets the direct dependencies. If both a root dependency and direct dependencies are given in the request, the
             * direct dependencies from the request will be merged with the direct dependencies from the root dependency's
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertEquals(75L, merged.getDocFreq()); // Sum of frequencies
            assertEquals(1.5f, merged.getUserBoost(), 0.001f); // Takes item2's boost
    
            // Check merged arrays contain both items' values
            assertTrue(merged.getTags().length >= 2);
            assertTrue(merged.getRoles().length >= 2);
            assertTrue(merged.getLanguages().length >= 2);
            assertEquals(2, merged.getKinds().length);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        void testWriteUTimeWithDST() {
            when(mockConfig.getLocalTimezone()).thenReturn(mockTimeZone);
    
            byte[] dst = new byte[4];
            long testTime = System.currentTimeMillis();
    
            // Test when both current time and test time are in DST
            when(mockTimeZone.inDaylightTime(any(Date.class))).thenReturn(true);
            SMB1SigningDigest.writeUTime(mockConfig, testTime, dst, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/LmhostsTest.java

                writer.write("192.168.1.101 HOST2\n");
            }
    
            when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath());
    
            // Use getByName to trigger populate
            // Both hosts should be added in this simple case
            assertNotNull(lmhosts.getByName("HOST1", mockContext));
            assertNotNull(lmhosts.getByName("HOST2", mockContext));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            // Test escaping question mark
            String query2 = "test?query";
            String escaped2 = SuggestUtil.escapeWildcardQuery(query2);
            assertEquals("test\\?query", escaped2);
    
            // Test escaping both
            String query3 = "test*query?end";
            String escaped3 = SuggestUtil.escapeWildcardQuery(query3);
            assertEquals("test\\*query\\?end", escaped3);
    
            // Test with no wildcards
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top