- Sort Score
- Num 10 results
- Language All
Results 1541 - 1550 of 1,944 for field (0.02 seconds)
-
utils/utils_test.go
"runtime" "strings" "testing" "time" ) func TestIsInvalidDBNameChar(t *testing.T) { for _, db := range []string{"db", "dbName", "db_name", "db1", "1dbname", "db$name"} { if fields := strings.FieldsFunc(db, IsInvalidDBNameChar); len(fields) != 1 { t.Fatalf("failed to parse db name %v", db) } } } func TestCheckTruth(t *testing.T) { checkTruthTests := []struct { v string out bool }{
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:31:30 GMT 2026 - 5.5K bytes - Click Count (0) -
docs/de/docs/tutorial/stream-json-lines.md
/// ## JSON Lines mit FastAPI streamen { #stream-json-lines-with-fastapi } Um JSON Lines mit FastAPI zu streamen, können Sie anstelle von `return` in Ihrer *Pfadoperation-Funktion* `yield` verwenden, um jedes Element der Reihe nach zu erzeugen. {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[24] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:48:21 GMT 2026 - 4.9K bytes - Click Count (0) -
cmd/update_test.go
expectedSha256hex string expectedReleaseInfo string expectedErr bool }{ {"more than two fields", time.Time{}, "", "", true}, {"more than", time.Time{}, "", "", true}, {"more than.two.fields", time.Time{}, "", "", true}, {"more minio.RELEASE.fields", time.Time{}, "", "", true}, {"more minio.RELEASE.2016-10-07T01-16-39Z", time.Time{}, "", "", true}, {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 10.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
import org.junit.jupiter.api.Test; /** * Unit tests for the Trans2FindNext2 class. */ class Trans2FindNext2Test { /** * Verifies constructor initializes protocol fields and limits correctly. */ @Test void testConstructorInitializesFields() { // Given int sid = 0x2222; int resumeKey = 0x12345678; String filename = "dir\\pattern*";Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
docs/fr/docs/tutorial/stream-json-lines.md
/// ## Diffuser des JSON Lines avec FastAPI { #stream-json-lines-with-fastapi } Pour diffuser des JSON Lines avec FastAPI, au lieu d'utiliser `return` dans votre fonction de chemin d'accès, utilisez `yield` pour produire chaque élément à tour de rôle. {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[24] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:33:45 GMT 2026 - 4.9K bytes - Click Count (0) -
tests/test_stringified_annotation_dependency.py
return ["John Doe", "Jane Doe"] async def close(self) -> None: pass async def get_client() -> AsyncGenerator[DummyClient, None]: client = DummyClient() yield client await client.close() Client = Annotated[DummyClient, Depends(get_client)] @pytest.fixture(name="client") def client_fixture() -> TestClient: app = FastAPI() @app.get("/")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/CrawlingInfoPager.java
/** * Creation time of the crawling information. */ public String createdTime; /** * Clears all pagination state and crawling information fields. * Resets all counts, page flags, and crawling-specific fields to their default values. */ public void clear() { allRecordCount = 0; allPageCount = 0; existPrePage = false; existNextPage = false;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.9K bytes - Click Count (0) -
src/main/java/jcifs/util/Encdec.java
t = (date.getTime() + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L; yield enc_uint64be(t, dst, di); } case TIME_1601_NANOS_64LE -> { t = (date.getTime() + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L; yield enc_uint64le(t, dst, di); } case TIME_1970_MILLIS_64BE -> enc_uint64be(date.getTime(), dst, di);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17.4K bytes - Click Count (0) -
src/bufio/scan_test.go
" abc\tdef\nghi\rjkl\fmno\vpqr\u0085stu\u00a0\n", } // Test that the word splitter returns the same data as strings.Fields. func TestScanWords(t *testing.T) { for n, test := range wordScanTests { buf := strings.NewReader(test) s := NewScanner(buf) s.Split(ScanWords) words := strings.Fields(test) var wordCount int for wordCount = 0; wordCount < len(words); wordCount++ { if !s.Scan() { break }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
docs/zh/docs/tutorial/stream-json-lines.md
/// tip | 提示 如果你想流式传输二进制数据,例如视频或音频,请查看进阶指南:[流式传输数据](../advanced/stream-data.md)。 /// ## 使用 FastAPI 流式传输 JSON Lines { #stream-json-lines-with-fastapi } 要在 FastAPI 中流式传输 JSON Lines,可以在路径操作函数中不用 `return`,而是用 `yield` 逐个产生每个数据项。 {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[24] *} 如果你要返回的每个 JSON 项是类型 `Item`(一个 Pydantic 模型),并且这是一个异步函数,你可以将返回类型声明为 `AsyncIterable[Item]`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 4.2K bytes - Click Count (0)