- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 679 for Limits (0.12 seconds)
-
docs_src/query_param_models/tutorial002_an_py39.py
from typing import Annotated, Literal from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): model_config = {"extra": "forbid"} limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 483 bytes - Click Count (0) -
docs_src/query_param_models/tutorial002_an_py310.py
from typing import Annotated, Literal from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): model_config = {"extra": "forbid"} limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 17 18:54:10 GMT 2024 - 483 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
return Collections.emptyList(); } List<String> readings = new ArrayList<>(); int limit = Math.min(langs.length, getMaxReadingNum()); for (int i = 0; i < limit; i++) { readings.add(text.toUpperCase() + "_" + langs[i]); } return readings; } }
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
int limit = pos + random.nextInt(value.length - pos + 1); for (PrimitiveSink sink : sinks) { ByteBuffer buffer = ByteBuffer.wrap(value); Java8Compatibility.position(buffer, pos); Java8Compatibility.limit(buffer, limit); sink.putBytes(buffer); assertEquals(limit, buffer.limit()); assertEquals(limit, buffer.position()); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.22.md
Kubernetes cgroup manager uses `memory.limit_in_bytes` in v1 cgroups to limit the memory capacity for a container, and uses `oom_scores` to recommend an order for killing container processes if an out-of-memory event occurs. This implementation has shortcomings: for `Guaranteed` pods, memory can not be fully reserved, and the page cache is at risk of being recycled. For `Burstable` pods, overcommitting memory (setting `request` less than `limit` ) could increase the risk of a container being killed when the...
Created: Fri Dec 26 09:05:12 GMT 2025 - Last Modified: Tue Dec 13 12:43:45 GMT 2022 - 454.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertThrows(IllegalArgumentException.class, () -> Iterators.limit(list.iterator(), -1)); assertFalse(Iterators.limit(list.iterator(), 0).hasNext()); assertFalse(Iterators.limit(list.iterator(), 1).hasNext()); list.add("cool"); assertFalse(Iterators.limit(list.iterator(), 0).hasNext()); assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 1)));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 56.7K bytes - Click Count (0) -
callbacks/query.go
columnStmt := gorm.Statement{ Table: tableAliasName, DB: db, Schema: relation.FieldSchema, Selects: join.Selects, Omits: join.Omits, } selectColumns, restricted := columnStmt.SelectAndOmitColumns(false, false) for _, s := range relation.FieldSchema.DBNames {Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 10.4K bytes - Click Count (3) -
docs/es/docs/tutorial/request-files.md
Usar `UploadFile` tiene varias ventajas sobre `bytes`: * No tienes que usar `File()` en el valor por defecto del parámetro. * Usa un archivo "spooled": * Un archivo almacenado en memoria hasta un límite de tamaño máximo, y después de superar este límite, se almacenará en el disco. * Esto significa que funcionará bien para archivos grandes como imágenes, videos, binarios grandes, etc. sin consumir toda la memoria. * Puedes obtener metadatos del archivo subido.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
assertTrue("Error message should mention file size", e.getMessage().contains("File too large")); } } /** * Test readBytes with file within size limit * * @throws Exception */ @Test public void testReadBytes_NormalFile() throws Exception { final File normalFile = tempFolder.newFile("normal.txt");
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 10.3K bytes - Click Count (0) -
gradlew
warn "Could not query maximum file descriptor limit" esac case $MAX_FD in #( '' | soft) :;; #( *) # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. # shellcheck disable=SC2039,SC3045 ulimit -n "$MAX_FD" || warn "Could not set maximum file descriptor limit to $MAX_FD" esac fi
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Sep 18 20:55:41 GMT 2025 - 8.4K bytes - Click Count (0)