- Sort Score
- Result 10 results
- Languages All
Results 781 - 790 of 927 for limitTo (0.12 sec)
-
docs/recipes.md
String content; } ``` ### Response Caching ([.kt][CacheResponseKotlin], [.java][CacheResponseJava]) To cache responses, you'll need a cache directory that you can read and write to, and a limit on the cache's size. The cache directory should be private, and untrusted applications should not be able to read its contents!
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Feb 18 08:52:22 UTC 2022 - 40.2K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
} val body = response.body if (body.contentLength() > MAX_RESPONSE_SIZE) { throw IOException( "response size exceeds limit ($MAX_RESPONSE_SIZE bytes): ${body.contentLength()} bytes", ) } val responseBytes = body.source().readByteString() return DnsRecordCodec.decodeAnswers(hostname, responseBytes) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Oct 31 09:27:31 UTC 2024 - 9.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* the life cycle methods. * * <h3>Usage Example</h3> * * <p>Here is a sketch of a service which crawls a website and uses the scheduling capabilities to * rate limit itself. * * <pre>{@code * class CrawlingService extends AbstractScheduledService { * private Set<Uri> visited; * private Queue<Uri> toCrawl; * protected void startUp() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 16:22:21 UTC 2024 - 27.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
* Tasks execute with the same happens-before order that the function calls to {@link #submit} and * {@link #submitAsync} that submitted those tasks had. * * <p>This class has limited support for cancellation and other "early completions": * * <ul> * <li>While calls to {@code submit} and {@code submitAsync} return a {@code Future} that can be
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 22.1K bytes - Viewed (0) -
internal/hash/reader.go
// callers to indicate if they want to disable md5sum checksum. func NewReaderWithOpts(ctx context.Context, src io.Reader, opts Options) (*Reader, error) { // return hard limited reader return newReader(ctx, src, opts.Size, opts.MD5Hex, opts.SHA256Hex, opts.ActualSize, opts.DisableMD5, opts.ForceMD5) } // NewReader returns a new Reader that wraps src and computes
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 19 12:59:07 UTC 2024 - 10.9K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/index.md
π πͺ π β«οΈ *β‘ π οΈ π’* π΅ "π¨βπ¨" (π΅ `@app.get("/some-path")`). & β«οΈ πͺ π¨ π³ π π. π πΌ, π π β: * π¦ π’ π’ `q` π `str`. * π¦ π’ π’ `skip` π `int`, & π’ `0`. * π¦ π’ π’ `limit` π `int`, & π’ `100`. & β€΄οΈ β«οΈ π¨ `dict` β π π². ### π `Depends` //// tab | π 3οΈβ£.6οΈβ£ & π ```Python hl_lines="3" {!> ../../docs_src/dependencies/tutorial001.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.7K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
}.also { expected -> assertThat(expected.message).isEqualTo("enclosed object too large") } } /** Object identifiers are nominally self-delimiting. Outrun the limit with one. */ @Test fun `variable length long outruns limit`() { val bytes = "060229ffffff7f".decodeHex() assertFailsWith<ProtocolException> { Adapters.OBJECT_IDENTIFIER.fromDer(bytes) }.also { expected ->
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
internal/event/target/elasticsearch.go
objectName, err := url.QueryUnescape(eventData.S3.Object.Key) if err != nil { return err } // Calculate a hash of the key for the id of the ES document. // Id's are limited to 512 bytes in V7+, so we need to do this. var keyHash string { key := eventData.S3.Bucket.Name + "/" + objectName if target.client.isAtleastV7() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 15K bytes - Viewed (0) -
docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md
``` //// μ΄ λ§€κ°λ³μλ€μ **FastAPI**κ° μμ‘΄μ±μ "ν΄κ²°"νκΈ° μν΄ μ¬μ©ν κ²μ λλ€ ν¨μμ ν΄λμ€ λ κ°μ§ λ°©μ λͺ¨λ, μλ μμλ₯Ό κ°μ΅λλ€: * `λ¬Έμμ΄`μ΄λ©΄μ μ νμ¬νμΈ μΏΌλ¦¬ 맀κ°λ³μ `q`. * κΈ°λ³Έκ°μ΄ `0`μ΄λ©΄μ `μ μν`μΈ μΏΌλ¦¬ 맀κ°λ³μ `skip` * κΈ°λ³Έκ°μ΄ `100`μ΄λ©΄μ `μ μν`μΈ μΏΌλ¦¬ 맀κ°λ³μ `limit` λ κ°μ§ λ°©μ λͺ¨λ, λ°μ΄ν°λ λ³ν, κ²μ¦λκ³ OpenAPI μ€ν€λ§μ λ¬Έμνλ©λλ€. ## μ¬μ©ν΄λ΄ μλ€! μ΄μ μλμ ν΄λμ€λ₯Ό μ΄μ©ν΄μ μμ‘΄μ±μ μ μν μ μμ΅λλ€. //// tab | νμ΄μ¬ 3.6 μ΄μ ```Python hl_lines="19"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.9K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
In this case, this dependency expects: * An optional query parameter `q` that is a `str`. * An optional query parameter `skip` that is an `int`, and by default is `0`. * An optional query parameter `limit` that is an `int`, and by default is `100`. And then it just returns a `dict` containing those values. /// info FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 11:18:17 UTC 2024 - 9.2K bytes - Viewed (0)