- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 466 for takes (0.02 seconds)
-
docs/en/docs/tutorial/dependencies/index.md
And that function takes parameters in the same way that *path operation functions* do. /// tip You'll see what other "things", apart from functions, can be used as dependencies in the next chapter. /// Whenever a new request arrives, **FastAPI** will take care of: * Calling your dependency ("dependable") function with the correct parameters.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 9.6K bytes - Click Count (0) -
docs/en/docs/tutorial/middleware.md
* It takes each **request** that comes to your application. * It can then do something to that **request** or run any needed code. * Then it passes the **request** to be processed by the rest of the application (by some *path operation*). * It then takes the **response** generated by the application (by some *path operation*).
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
if (iterations >= maxIterations) { @SuppressWarnings("nullness") // safe because we pass sort() a range that contains real Ts T[] castBuffer = (T[]) buffer; // We've already taken O(k log k), let's make sure we don't take longer than O(k log k). sort(castBuffer, left, right + 1, comparator); break; } } bufferSize = k;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.3K bytes - Click Count (0) -
docs/en/docs/advanced/custom-response.md
### `HTMLResponse` { #htmlresponse } Takes some text or bytes and returns an HTML response, as you read above. ### `PlainTextResponse` { #plaintextresponse } Takes some text or bytes and returns a plain text response. {* ../../docs_src/custom_response/tutorial005_py39.py hl[2,7,9] *} ### `JSONResponse` { #jsonresponse } Takes some data and returns an `application/json` encoded response.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.4K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java
* as a ByteArrayInputStream. * </p> * * <p> * The transform method takes a ResponseData object, checks if it has a response body, * and then reads the body into a byte array. This byte array is then set as the data * in the ResultData object. * </p> * * <p> * The getData method takes an AccessResultData object, checks if the transformer name matches,
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 3.8K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* maxPermits is equal to warmupPeriod. * <li>When _used_, the time it takes, as explained in the introductory class note, is equal to * the integral of our function, between X permits and X-K permits, assuming we want to * spend K saved permits. * </ol> *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 19.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactCollector.java
import org.apache.maven.artifact.metadata.ArtifactMetadataSource; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.resolver.filter.ArtifactFilter; /** * Artifact collector - takes a set of original artifacts and resolves the best versions to use * along with their metadata. No artifacts are downloaded. */ @Deprecated
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 1.8K bytes - Click Count (0) -
internal/handlers/proxy_test.go
xForwardedFor: []string{"8.8.8.8"}, xRealIP: []string{"1.1.1.1"}, }, } // When X-Forwarded-For and X-Real-IP headers are both present, X-Forwarded-For takes precedence. res := GetSourceIP(req) if res != "8.8.8.8" { t.Errorf("wrong header, xff takes precedence: got %s, want: 8.8.8.8", res) } // When explicitly disabled, the XFF header is ignored and X-Real-IP is used. enableXFFHeader = false defer func() {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 3.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Comparators.java
* .collect(least(2, comparingInt(String::length))) * // returns {"foo", "quux"} * } * * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log * k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n * log n) time and O(n) space. * * @throws IllegalArgumentException if {@code k < 0} * @since 22.0 */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.9K bytes - Click Count (0) -
docs/erasure/storage-class/README.md
on 16 drive MinIO deployment. If you use eight data and eight parity drives, the file space usage will be approximately twice, i.e. 100 MiB file will take 200 MiB space. But, if you use ten data and six parity drives, same 100 MiB file takes around 160 MiB. If you use 14 data and two parity drives, 100 MiB file takes only approximately 114 MiB.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 5.9K bytes - Click Count (0)