- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 857 for NIL (0.02 sec)
-
cmd/handler-utils_test.go
// Empty header input returns empty metadata. { header: nil, metadata: nil, shouldFail: true, }, } // Validate if the extracting headers. for i, testCase := range testCases { metadata := make(map[string]string) err := extractMetadataFromMime(context.Background(), textproto.MIMEHeader(testCase.header), metadata) if err != nil && !testCase.shouldFail {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 6.1K bytes - Viewed (0) -
internal/event/target/redis.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 9.1K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration_test.go
</Expiration>`, expectedErr: nil, }, { // Expiration with a valid number of days inputXML: `<Expiration> <Days>3</Days> </Expiration>`, expectedErr: nil, }, { // Expiration with neither number of days nor a date inputXML: `<Expiration>
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/api-resources.go
if values.Get("max-parts") != "" { if maxParts, err = strconv.Atoi(values.Get("max-parts")); err != nil { errCode = ErrInvalidMaxParts return } } else { maxParts = maxPartsList } if values.Get("part-number-marker") != "" { if partNumberMarker, err = strconv.Atoi(values.Get("part-number-marker")); err != nil { errCode = ErrInvalidPartNumberMarker return } }
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/subnet/config.go
cfg.Proxy = proxy if transport == nil { // when transport is nil, it means we are just validating the // inputs not performing any network calls. return cfg, nil } // Make sure to clone the transport before editing the ProxyURL if proxyURL != nil { ctransport := transport.(*http.Transport).Clone() ctransport.Proxy = http.ProxyURL((*url.URL)(proxyURL))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.8K bytes - Viewed (0) -
tests/named_argument_test.go
t.Errorf("failed to update with named arg") } AssertEqual(t, result4, namedUser) if err := DB.Exec("UPDATE named_users SET name1 = @name, name2 = @name2, name3 = @name", sql.Named("name", "jinzhu-new"), sql.Named("name2", "jinzhu-new2")).Error; err != nil { t.Errorf("failed to update with named arg") } namedUser.Name1 = "jinzhu-new"
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Dec 21 11:50:00 UTC 2021 - 2.7K bytes - Viewed (0) -
internal/bucket/lifecycle/prefix.go
var s string if err = d.DecodeElement(&s, &start); err != nil { return err } *p = Prefix{string: s, set: true} return nil } // MarshalXML - decodes XML data. func (p Prefix) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error { if !p.set { return nil } return e.EncodeElement(p.string, startElement) } // String returns the prefix string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 15 14:45:25 UTC 2023 - 1.5K bytes - Viewed (0) -
cmd/metrics-v3-ilm.go
) // loadILMMetrics - `MetricsLoaderFn` for ILM metrics. func loadILMMetrics(_ context.Context, m MetricValues, _ *metricsCache) error { if globalExpiryState != nil { m.Set(expiryPendingTasks, float64(globalExpiryState.PendingTasks())) } if globalTransitionState != nil { m.Set(transitionActiveTasks, float64(globalTransitionState.ActiveTasks())) m.Set(transitionPendingTasks, float64(globalTransitionState.PendingTasks()))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 06 09:36:25 UTC 2024 - 2.3K bytes - Viewed (0) -
internal/crypto/sse.go
func IsRequested(h http.Header) (Type, bool) { switch { case S3.IsRequested(h): return S3, true case S3KMS.IsRequested(h): return S3KMS, true case SSEC.IsRequested(h): return SSEC, true default: return nil, false } } // Requested returns whether any type of encryption is requested. func Requested(h http.Header) bool { return S3.IsRequested(h) || S3KMS.IsRequested(h) || SSEC.IsRequested(h) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 30 15:26:43 UTC 2022 - 4.4K bytes - Viewed (0) -
cmd/erasure-common.go
for _, i := range r.Perm(len(disks)) { i := i wg.Add(1) go func() { defer wg.Done() if disks[i] == nil { return } di, err := disks[i].DiskInfo(context.Background(), DiskInfoOptions{}) if err != nil || di.Healing { // - Do not consume disks which are not reachable // unformatted or simply not accessible for some reason. //
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 2.3K bytes - Viewed (0)