- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 1,315 for bool (0.07 sec)
-
internal/config/errors-utils.go
return Err{msg: err.Error()} } // FmtError converts a fatal error message to a more clear error // using some colors func FmtError(introMsg string, err error, jsonFlag bool) string { renderedTxt := "" uiErr := ErrorToErr(err) // JSON print if jsonFlag { // Message text in json should be simple if uiErr.detail != "" { return uiErr.msg + ": " + uiErr.detail }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/callhome.go
// Make sure to sleep at least a second to avoid high CPU ticks. duration = time.Second } time.Sleep(duration) } }() } func runCallhome(ctx context.Context, objAPI ObjectLayer) bool { // Make sure only 1 callhome is running on the cluster. locker := objAPI.NewNSLock(minioMetaBucket, "callhome/runCallhome.lock") lkctx, err := locker.GetLock(ctx, callhomeLeaderLockTimeout) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 17 16:53:34 UTC 2024 - 5.3K bytes - Viewed (0) -
docs/debugging/inspect/export.go
"io" "os" "strings" "time" json "github.com/minio/colorjson" "github.com/klauspost/compress/zip" "github.com/tinylib/msgp/msgp" ) func inspectToExportType(downloadPath string, datajson bool) error { decode := func(r io.Reader, file string) ([]byte, error) { b, e := io.ReadAll(r) if e != nil { return nil, e } b, _, minor, e := checkXL2V1(b) if e != nil { return nil, e }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 08 15:58:02 UTC 2022 - 9.1K bytes - Viewed (0) -
cmd/api-resources.go
versionIDMarker = values.Get("version-id-marker") return } // Parse bucket url queries for ListObjects V2. func getListObjectsV2Args(values url.Values) (prefix, token, startAfter, delimiter string, fetchOwner bool, maxkeys int, encodingType string, errCode APIErrorCode) { errCode = ErrNone // The continuation-token cannot be empty. if val, ok := values["continuation-token"]; ok { if len(val[0]) == 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 07 18:25:26 UTC 2023 - 4.3K bytes - Viewed (0) -
internal/config/dns/types.go
Port json.Number `json:"port,omitempty"` Priority int `json:"priority,omitempty"` Weight int `json:"weight,omitempty"` Text string `json:"text,omitempty"` Mail bool `json:"mail,omitempty"` // Be an MX record. Priority becomes Preference. TTL uint32 `json:"ttl,omitempty"` // Holds info about when the entry was created first. CreationDate time.Time `json:"creationDate"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2K bytes - Viewed (0) -
internal/rest/client_test.go
package rest import ( "errors" "net" "net/url" "testing" ) func TestNetworkError_Unwrap(t *testing.T) { tests := []struct { name string err error target interface{} want bool }{ { name: "url.Error", err: &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")}, target: &url.Error{}, want: true, }, { name: "net.Error",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 1.9K bytes - Viewed (0) -
cmd/iam-object-store_test.go
package cmd import ( "testing" ) func TestSplitPath(t *testing.T) { cases := []struct { path string secondIndex bool expectedListKey, expectedItem string }{ {"format.json", false, "format.json", ""}, {"users/tester.json", false, "users/", "tester.json"}, {"groups/test/group.json", false, "groups/", "test/group.json"},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 2K bytes - Viewed (0) -
cmd/storage-rest-server.go
globalLocalSetDrives = make([][][]StorageAPI, len(endpointServerPools)) for pool := range globalLocalSetDrives { globalLocalSetDrives[pool] = make([][]StorageAPI, endpointServerPools[pool].SetCount) for set := range globalLocalSetDrives[pool] { globalLocalSetDrives[pool][set] = make([]StorageAPI, endpointServerPools[pool].DrivesPerSet) } } for _, serverPool := range endpointServerPools {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 45.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsDuplicateHostCQ.java
} public void bool(BoolCall<DuplicateHostCQ> boolLambda) { bool(boolLambda, null); } public void bool(BoolCall<DuplicateHostCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) { DuplicateHostCQ mustQuery = new DuplicateHostCQ(); DuplicateHostCQ shouldQuery = new DuplicateHostCQ(); DuplicateHostCQ mustNotQuery = new DuplicateHostCQ();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 58.4K bytes - Viewed (0) -
cmd/encryption-v1.go
// in the current batch are single-part SSE-S3 objects. metadata = metadata[:0:N] buckets = buckets[:0:N] names = names[:0:N] SSES3SinglePartObjects := make(map[int]bool) for i, object := range batch { if kind, ok := crypto.IsEncrypted(object.UserDefined); ok && kind == crypto.S3 && !crypto.IsMultiPart(object.UserDefined) { ETag, err := etag.Parse(object.ETag) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Oct 13 13:06:08 UTC 2024 - 37.2K bytes - Viewed (0)