- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 148 for mytime (0.06 sec)
-
docs/fr/docs/tutorial/path-params.md
Disons que vous avez une *fonction de chemin* liée au chemin `/files/{file_path}`. Mais que `file_path` lui-même doit contenir un *chemin*, comme `home/johndoe/myfile.txt` par exemple. Donc, l'URL pour ce fichier pourrait être : `/files/home/johndoe/myfile.txt`. ### Support d'OpenAPIRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 9.8K bytes - Viewed (0) -
docs/ko/docs/tutorial/path-params.md
"message": "Deep Learning FTW!" } ``` ## 경로를 포함하는 경로 매개변수 경로를 포함하는 *경로 작동* `/files/{file_path}`이 있다고 해봅시다. 그런데 이 경우 `file_path` 자체가 `home/johndoe/myfile.txt`와 같은 경로를 포함해야 합니다. 이때 해당 파일의 URL은 다음처럼 됩니다: `/files/home/johndoe/myfile.txt`. ### OpenAPI 지원 테스트와 정의가 어려운 시나리오로 이어질 수 있으므로 OpenAPI는 *경로*를 포함하는 *경로 매개변수*를 내부에 선언하는 방법을 지원하지 않습니다. 그럼에도 Starlette의 내부 도구중 하나를 사용하여 **FastAPI**에서는 이가 가능합니다.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9.6K bytes - Viewed (0) -
cmd/storage-datatypes_test.go
package cmd import ( "bytes" "encoding/gob" "io" "testing" "time" "github.com/tinylib/msgp/msgp" ) func BenchmarkDecodeVolInfoMsgp(b *testing.B) { v := VolInfo{ Name: "uuid", Created: time.Now(), } var buf bytes.Buffer msgp.Encode(&buf, &v) rd := msgp.NewEndlessReader(buf.Bytes(), b) dc := msgp.NewReader(rd)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.1K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen.go
case "Size": z.Size, err = dc.ReadInt64() if err != nil { err = msgp.WrapError(err, "Size") return } case "ModTime": z.ModTime, err = dc.ReadTime() if err != nil { err = msgp.WrapError(err, "ModTime") return } case "Name": z.Name, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Name") return }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 41.2K bytes - Viewed (0) -
cmd/config.go
if err != nil { return nil, err } for _, obj := range res.Objects { cfgEntry := madmin.ConfigHistoryEntry{ RestoreID: strings.TrimSuffix(path.Base(obj.Name), kvPrefix), CreateTime: obj.ModTime, // ModTime is createTime for config history entries. } if withData { data, err := readConfig(ctx, objAPI, obj.Name) if err != nil { // ignore history file if not readable. continue }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/request-files.md
* `seek(offset)`: 파일 내 `offset`(`int`) 위치의 바이트로 이동합니다. * 예) `await myfile.seek(0)` 를 사용하면 파일의 시작부분으로 이동합니다. * `await myfile.read()` 를 사용한 후 내용을 다시 읽을 때 유용합니다. * `close()`: 파일을 닫습니다. 상기 모든 메소드들이 `async` 메소드이기 때문에 “await”을 사용하여야 합니다. 예를들어, `async` *경로 작동 함수*의 내부에서 다음과 같은 방식으로 내용을 가져올 수 있습니다: ```Python contents = await myfile.read() ``` 만약 일반적인 `def` *경로 작동 함수*의 내부라면, 다음과 같이 `UploadFile.file` 에 직접 접근할 수 있습니다:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8K bytes - Viewed (0) -
internal/amztime/iso8601_time_test.go
package amztime import ( "testing" "time" ) func TestISO8601Format(t *testing.T) { testCases := []struct { date time.Time expectedOutput string }{ { date: time.Date(2009, time.November, 13, 4, 51, 1, 940303531, time.UTC), expectedOutput: "2009-11-13T04:51:01.940Z", }, {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 1.8K bytes - Viewed (0) -
internal/amztime/parse.go
// extension for http.TimeFormat - return time might be zero // if the timeStr is invalid. func ParseHeader(timeStr string) (time.Time, error) { for _, dateFormat := range httpTimeFormats { t, err := time.Parse(dateFormat, timeStr) if err == nil { return t, nil } } return time.Time{}, ErrMalformedDate } // ParseReplicationTS parse http.TimeFormat first // will try time.RFC3339Nano when parse http.TimeFormat failed
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/object-api-getobjectinfo_test.go
{"test-getobjectinfo", "Antartica", ObjectInfo{}, ObjectNotFound{Bucket: "test-getobjectinfo", Object: "Antartica"}, false}, {"test-getobjectinfo", "Asia/myfile", ObjectInfo{}, ObjectNotFound{Bucket: "test-getobjectinfo", Object: "Asia/myfile"}, false}, // Valid case with existing object (Test number 12). {"test-getobjectinfo", "Asia/asiapics.jpg", resultCases[0], nil, true},Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 5.6K bytes - Viewed (0) -
docs/es/docs/tutorial/request-files.md
* `read(size)`: Lee `size` (`int`) bytes/caracteres del archivo. * `seek(offset)`: Va a la posición de bytes `offset` (`int`) en el archivo. * Por ejemplo, `await myfile.seek(0)` iría al inicio del archivo. * Esto es especialmente útil si ejecutas `await myfile.read()` una vez y luego necesitas leer el contenido nuevamente. * `close()`: Cierra el archivo. Como todos estos métodos son métodos `async`, necesitas "await" para ellos.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 7.9K bytes - Viewed (0)