- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 1,169 for bool (0.19 sec)
-
cmd/bucket-replication-metrics.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 14.2K bytes - Viewed (0) -
docs/ja/docs/tutorial/extra-data-types.md
# 追加データ型 今までは、以下のような一般的なデータ型を使用してきました: * `int` * `float` * `str` * `bool` しかし、より複雑なデータ型を使用することもできます。 そして、今まで見てきたのと同じ機能を持つことになります: * 素晴らしいエディタのサポート * 受信したリクエストからのデータ変換 * レスポンスデータのデータ変換 * データの検証 * 自動注釈と文書化 ## 他のデータ型 ここでは、使用できる追加のデータ型のいくつかを紹介します: * `UUID`: * 多くのデータベースやシステムで共通のIDとして使用される、標準的な「ユニバーサルにユニークな識別子」です。 * リクエストとレスポンスでは`str`として表現されます。 * `datetime.datetime`:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/handler-utils_test.go
} } // Tests validate metadata extraction from http headers. func TestExtractMetadataHeaders(t *testing.T) { testCases := []struct { header http.Header metadata map[string]string shouldFail bool }{ // Validate if there a known 'content-type'. { header: http.Header{ "Content-Type": []string{"image/png"}, }, metadata: map[string]string{ "content-type": "image/png", },
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 6.1K bytes - Viewed (0) -
src/archive/tar/writer_test.go
wantErr error } testFnc any // testHeader | testWrite | testReadFrom | testClose ) vectors := []struct { file string // Optional filename of expected output obscured bool // Whether file is obscured tests []testFnc }{{ // The writer test file was produced with this command: // tar (GNU tar) 1.26 // ln -s small.txt link.txtRegistered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Dec 15 16:34:13 UTC 2025 - 40.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/JobLogService.java
public void updateStatus() { final long expiry = ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - expiredJobInterval; final List<JobLog> list = jobLogBhv.selectList(cb -> { cb.query().bool((must, should, mustNot, filter) -> { must.setLastUpdated_LessEqual(expiry); mustNot.setEndTime_Exists(); }); }); if (!list.isEmpty()) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0) -
cmd/data-usage-utils.go
for tier, stats := range ts { infos = append(infos, madmin.TierInfo{ Name: tier, Type: globalTierConfigMgr.TierType(tier), Stats: stats, }) } sort.Slice(infos, func(i, j int) bool { if infos[i].Type == "internal" { return true } if infos[j].Type == "internal" { return false } return infos[i].Name < infos[j].Name }) return infos }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 10 09:15:15 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/ru/docs/python-types.md
Python поддерживает необязательные «подсказки типов» (их также называют «аннотациями типов»). Эти **«подсказки типов»** или аннотации — это специальный синтаксис, позволяющий объявлять <abbr title="например: str, int, float, bool">тип</abbr> переменной. Объявляя типы для ваших переменных, редакторы кода и инструменты смогут лучше вас поддерживать.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 24.4K bytes - Viewed (0) -
cmd/signature-v4-utils_test.go
func TestSkipContentSha256Cksum(t *testing.T) { testCases := []struct { inputHeaderKey string inputHeaderValue string inputQueryKey string inputQueryValue string expectedResult bool }{ // Test case - 1. // Test case with "X-Amz-Content-Sha256" header set, but to empty value but we can't skip. {"X-Amz-Content-Sha256", "", "", "", false}, // Test case - 2.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 14.3K bytes - Viewed (0) -
docs/zh/docs/tutorial/query-params.md
/// /// note | 笔记 因为默认值为 `= None`,FastAPI 把 `q` 识别为可选参数。 FastAPI 不使用 `Optional[str]` 中的 `Optional`(只使用 `str`),但 `Optional[str]` 可以帮助编辑器发现代码中的错误。 /// ## 查询参数类型转换 参数还可以声明为 `bool` 类型,FastAPI 会自动转换参数类型: {* ../../docs_src/query_params/tutorial003_py310.py hl[7] *} 本例中,访问: ``` http://127.0.0.1:8000/items/foo?short=1 ``` 或 ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (0) -
scripts/contributors.py
"count": count, "avatarUrl": author.avatarUrl, "url": author.url, } return users def update_content(*, content_path: Path, new_content: Any) -> bool: old_content = content_path.read_text(encoding="utf-8") new_content = yaml.dump(new_content, sort_keys=False, width=200, allow_unicode=True) if old_content == new_content:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 12:34:01 UTC 2025 - 8.6K bytes - Viewed (0)