- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 578 for Printf (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/bucket-replication_test.go
ReplicationStatus: replication.Pending, VersionID: "a3348c34-c352-4498-82f0-1098e8b34df9", UserDefined: map[string]string{xhttp.MinIOReplicationResetStatus: fmt.Sprintf("%s;abc", UTCNow().AddDate(0, -1, 0).String())}, }, expectedSync: true, dsc: ReplicateDecision{targetsMap: map[string]replicateTargetDecision{"arn1": newReplicateTargetDecision("arn1", true, false)}},
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 12.1K bytes - Click Count (0) -
cmd/batch-job-common-types_test.go
}, { // 2MiB > 1MiB -> in range objSize: 2 << 20, sizeFilter: BatchJobSizeFilter{ LowerBound: 1 << 20, }, want: true, }, } for i, test := range tests { t.Run(fmt.Sprintf("test-%d", i+1), func(t *testing.T) { if got := test.sizeFilter.InRange(test.objSize); got != test.want { t.Fatalf("Expected %v but got %v", test.want, got) } }) } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jan 08 23:22:28 GMT 2024 - 3.3K bytes - Click Count (0) -
docs/fr/docs/advanced/advanced-python-types.md
Par exemple, vous pourriez déclarer que quelque chose peut être un `str` ou `None` : ```python from typing import Union def say_hi(name: Union[str, None]): print(f"Hi {name}!") ``` `typing` propose également un raccourci pour déclarer que quelque chose peut être `None`, avec `Optional`. Voici un conseil issu de mon point de vue très subjectif :
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:12:41 GMT 2026 - 2.3K bytes - Click Count (0) -
docs_src/handling_errors/tutorial006_py310.py
@app.exception_handler(StarletteHTTPException) async def custom_http_exception_handler(request, exc): print(f"OMG! An HTTP error!: {repr(exc)}") return await http_exception_handler(request, exc) @app.exception_handler(RequestValidationError) async def validation_exception_handler(request, exc): print(f"OMG! The client sent invalid data!: {exc}") return await request_validation_exception_handler(request, exc)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 928 bytes - Click Count (0) -
build-tools-internal/src/main/resources/templates/release-highlights.asciidoc
<<breaking-changes>>. endif::[] <% if (priorVersions.size() > 0) { %> // Add previous release to the list Other versions: <% print priorVersions.join("\n| ") print "\n" } if (notableHighlights.empty == false) { %> // tag::notable-highlights[] <% for (highlight in notableHighlights) { %> [discrete] [[${ highlight.anchor }]] === ${highlight.title}
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 848 bytes - Click Count (0) -
docs_src/python_types/tutorial011_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Sep 02 15:56:35 GMT 2023 - 461 bytes - Click Count (0) -
internal/store/store.go
Name string Compress bool Extension string ItemCount int } // String returns the filepath name func (k Key) String() string { keyStr := k.Name if k.ItemCount > 1 { keyStr = fmt.Sprintf("%d:%s", k.ItemCount, k.Name) } return keyStr + k.Extension + func() string { if k.Compress { return compressExt } return "" }() } func getItemCount(k string) (count int, err error) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 4.2K bytes - Click Count (0) -
docs/zh/docs/advanced/advanced-python-types.md
def say_hi(name: Optional[str]): print(f"Hey {name}!") ``` 参数 `name` 被定义为 `Optional[str]`,但它并不是“可选”的,你不能不传这个参数就调用函数: ```Python say_hi() # 哎呀,这会报错!😱 ``` 参数 `name` 仍然是必填的(不是“可选”),因为它没有默认值。不过,`name` 接受 `None` 作为取值: ```Python say_hi(name=None) # 这样可以,None 是有效的 🎉 ``` 好消息是,在大多数情况下,你可以直接使用 `|` 来定义类型联合: ```python def say_hi(name: str | None): print(f"Hey {name}!") ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java
*/ protected ThreadDumpUtil() { // noop } /** * Prints thread dump information to the logger at INFO level. */ public static void printThreadDump() { processThreadDump(logger::info); } /** * Prints thread dump information to the logger at WARN level. */ public static void printThreadDumpAsWarn() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 3.3K bytes - Click Count (0)