- Sort Score
- Num 10 results
- Language All
Results 1261 - 1270 of 1,298 for done (0.02 seconds)
-
cmd/local-locker.go
return true } } // None found return false, perhaps entry removed in previous run. return false } func (l *localLocker) RLock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) { if len(args.Resources) != 1 { return false, fmt.Errorf("internal error: localLocker.RLock called with more than one resource") } // If we have too many waiting, reject this at once.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12K bytes - Click Count (0) -
cmd/update.go
for _, envfile := range []string{ "/.dockerenv", "/run/.containerenv", } { _, err = os.Stat(envfile) if err == nil { return true } } if osIsNotExist(err) { // if none of the files are present we may be running inside // CRI-O, Containerd etc.. // Fallback to our container specific ENVs if they are set. return env.IsSet("MINIO_ACCESS_KEY_FILE") }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.9K bytes - Click Count (0) -
cmd/handler-utils.go
return errorResponseHandler } // If none of the http routes match respond with appropriate errors func errorResponseHandler(w http.ResponseWriter, r *http.Request) { if r.Method == http.MethodOptions { return }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.4K bytes - Click Count (1) -
internal/config/notify/help.go
Type: "sentence", }, config.HelpKV{ Key: target.KafkaCompressionCodec, Description: "specify compression_codec of the Kafka cluster", Optional: true, Type: "none|snappy|gzip|lz4|zstd", }, config.HelpKV{ Key: target.KafkaCompressionLevel, Description: "specify compression level of the Kafka cluster", Optional: true, Type: "number", },
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 19.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
### 获取当前用户数据 使用 `/users/me` 路径的 `GET` 操作。 可以提取如下当前用户数据: ```JSON { "username": "johndoe", "email": "******@****.***", "full_name": "John Doe", "disabled": false, "hashed_password": "fakehashedsecret" } ``` <img src="https://fastapi.tiangolo.com/img/tutorial/security/image06.png"> 点击小锁图标,注销后,再执行同样的操作,则会得到 HTTP 401 错误: ```JSONCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 8.6K bytes - Click Count (0) -
cmd/local-locker_test.go
Quorum: &quorum, } ok, err := l.Unlock(ctx, arg) if err != nil { t.Fatal(err) } if !ok { t.Fatal("did not get write lock") } } // All should be gone now... // Each Lock has m entries if len(l.lockMap) != 0 { t.Fatalf("lockmap len, got %d, want %d + %d", len(l.lockMap), 0, 0) } if len(l.lockUID) != 0 {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
cmd/testdata/xl-meta-merge.zip
use `firewall-cmd` command to allow traffic to specific ports. Use below commands to allow access to port 9000 ```sh firewall-cmd --get-active-zones ``` This command gets the active zone(s). Now, apply port rules to the relevant zones returned above. For example if the zone is `public`, use ```sh firewall-cmd --zone=public --add-port=9000/tcp --permanent ``` Note that `permanent` makes sure the rules are persistent across firewall start, restart or reload. Finally reload the firewall for changes...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Mar 08 17:50:48 GMT 2024 - 30.2K bytes - Click Count (0) -
docs/ja/docs/environment-variables.md
print(f"Hello {name} from Python") ``` /// tip <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> の第2引数は、デフォルトで返される値を指定します。 この引数を省略するとデフォルト値として`None`が返されますが、ここではデフォルト値として`"World"`を指定しています。 /// 次に、このPythonプログラムを呼び出します。 //// tab | Linux, macOS, Windows Bash <div class="termy"> ```console // Here we don't set the env var yet $ python main.pyCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Jan 27 15:39:04 GMT 2025 - 9.4K bytes - Click Count (0) -
internal/hash/checksum.go
// Returns nil if the bytes are invalid or empty. // AppendTo() can append a serialized Checksum to another already-serialized Checksum, // however, in practice, we only use one at a time. // ChecksumFromBytes only returns the first one and no part checksums. func ChecksumFromBytes(b []byte) *Checksum { if len(b) == 0 { return nil } // Read checksum type t, n := binary.Uvarint(b) if n <= 0 {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 22 14:15:21 GMT 2025 - 18.3K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle_test.go
t.Fatalf("Lifecycle validation failed - %v", err) } rules := tc.lc.FilterRules(tc.opts) if tc.hasRules && len(rules) == 0 { t.Fatalf("%d: Expected at least one rule to match but none matched", i+1) } if !tc.hasRules && len(rules) > 0 { t.Fatalf("%d: Expected no rules to match but got matches %v", i+1, rules) } }) } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K bytes - Click Count (0)