- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 2,202 for rint (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
“上下文管理器”是你可以在 `with` 语句中使用的任意 Python 对象。 例如,[你可以用 `with` 来读取文件](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files): ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ``` 在底层,`open("./somefile.txt")` 会创建一个“上下文管理器”对象。 当 `with` 代码块结束时,它会确保文件被关闭,即使期间发生了异常。 当你用 `yield` 创建一个依赖时,**FastAPI** 会在内部为它创建一个上下文管理器,并与其他相关工具结合使用。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 12.1K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.2.md
the operators {<code>In, NotIn, Exists, DoesNotExist, Gt, Lt</code>} instead of just conjunction of exact match on node label values. In addition, we’ve introduced a new “soft” kind of node selector that is just a hint to the scheduler; the scheduler will try to satisfy these requests but it does not guarantee they will be satisfied. Both the “hard” and “soft” variantsCreated: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Fri Dec 04 06:36:19 GMT 2020 - 41.4K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/dependencies-with-yield.md
Por ejemplo, [puedes usar `with` para leer un archivo](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files): ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ``` Internamente, `open("./somefile.txt")` crea un objeto llamado "Context Manager". Cuando el bloque `with` termina, se asegura de cerrar el archivo, incluso si hubo excepciones.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 13.3K bytes - Click Count (0) -
internal/logger/utils.go
"regexp" "runtime" "github.com/minio/minio/internal/color" ) var ansiRE = regexp.MustCompile("(\x1b[^m]*m)") // Print ANSI Control escape func ansiEscape(format string, args ...any) { Esc := "\x1b" fmt.Printf("%s%s", Esc, fmt.Sprintf(format, args...)) } func ansiMoveRight(n int) { if runtime.GOOS == "windows" { return } if color.IsTerminal() { ansiEscape("[%dC", n) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableListMultimap.java
stream.defaultReadObject(); int keyCount = stream.readInt(); if (keyCount < 0) { throw new InvalidObjectException("Invalid key count " + keyCount); } ImmutableMap.Builder<Object, ImmutableList<Object>> builder = ImmutableMap.builder(); int tmpSize = 0; for (int i = 0; i < keyCount; i++) { Object key = requireNonNull(stream.readObject()); int valueCount = stream.readInt();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 19.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableListMultimap.java
stream.defaultReadObject(); int keyCount = stream.readInt(); if (keyCount < 0) { throw new InvalidObjectException("Invalid key count " + keyCount); } ImmutableMap.Builder<Object, ImmutableList<Object>> builder = ImmutableMap.builder(); int tmpSize = 0; for (int i = 0; i < keyCount; i++) { Object key = requireNonNull(stream.readObject()); int valueCount = stream.readInt();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 19.3K bytes - Click Count (0) -
docs/iam/identity-manager-plugin.go
} fmt.Printf("Allowed for token: %s user: %s\n", token, rsp.User) w.WriteHeader(http.StatusOK) json.NewEncoder(w).Encode(rsp) return } func main() { http.HandleFunc("/", mainHandler) log.Print("Listening on :8081") log.Fatal(http.ListenAndServe(":8081", nil))
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 01 21:31:13 GMT 2024 - 2.1K bytes - Click Count (0) -
internal/kms/conn.go
) // Type identifies the KMS type. type Type uint // String returns the Type's string representation func (t Type) String() string { switch t { case MinKMS: return "MinIO KMS" case MinKES: return "MinIO KES" case Builtin: return "MinIO builtin" default: return "!INVALID:" + strconv.Itoa(int(t)) } } // Status describes the current state of a KMS.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 5K bytes - Click Count (0) -
internal/rest/client.go
// https://www.awsarchitectureblog.com/2015/03/backoff.html func exponentialBackoffWait(r *rand.Rand, unit, maxSleep time.Duration) func(uint) time.Duration { if unit > time.Hour { // Protect against integer overflow panic("unit cannot exceed one hour") } return func(attempt uint) time.Duration { if attempt > 16 { // Protect against integer overflow attempt = 16 }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
cmd/xl-storage-format-v1.go
// DataBlocks is the number of data blocks for erasure-coding DataBlocks int `json:"data"` // ParityBlocks is the number of parity blocks for erasure-coding ParityBlocks int `json:"parity"` // BlockSize is the size of one erasure-coded block BlockSize int64 `json:"blockSize"` // Index is the index of the current disk Index int `json:"index"` // Distribution is the distribution of the data and parity blocks
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Oct 22 15:30:50 GMT 2024 - 8.4K bytes - Click Count (0)