- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 395 for limitTo (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
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) -
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) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
encKey, decKey, sessionKey, preauthHash); // When - Set very low rotation limits to trigger rotation context.setKeyRotationBytesLimit(100); // Rotate after 100 bytes // Encrypt first message - should work byte[] plaintext1 = "Message before rotation".getBytes();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
CLAUDE.md
- Thread-local storage via `CrawlingParameterUtil` **Resource Management**: - `AutoCloseable` throughout - `DeferredFileOutputStream` for large responses (temp files for >1MB) - Connection pooling with limits - Background temp file deletion via `FileUtil.deleteInBackground()` **Fault Tolerance**: - `FaultTolerantClient` wrapper (retry, circuit breaker) - Graceful degradation (e.g., robots.txt parsing continues on errors)
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Fri Nov 28 17:31:34 GMT 2025 - 10.7K bytes - Click Count (0) -
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/main/java/org/codelibs/fess/validation/CustomSize.java
import java.lang.annotation.Target; import org.codelibs.core.lang.StringUtil; import jakarta.validation.Constraint; import jakarta.validation.Payload; /** * Validation constraint for custom size limits based on configuration keys. */ @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER }) @Retention(RUNTIME) @Documented @Constraint(validatedBy = CustomSizeValidator.class) public @interface CustomSize {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.3K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JsonExtractorTest.java
final ExtractData extractData = jsonExtractor.getText(in, null); CloseableUtil.closeQuietly(in); final String content = extractData.getContent(); logger.info("Limited depth content: " + content); // With depth 1, nested content should not be deeply processed assertNotNull(content); }
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 03:46:53 GMT 2025 - 4.7K 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)