- Sort Score
- Result 10 results
- Languages All
Results 801 - 810 of 938 for NIL (0.03 sec)
-
cmd/object-api-datatypes.go
if len(o.UserDefined) == 0 { return nil } z, ok := o.UserDefined[archiveInfoMetadataKey] if !ok { return nil } data := []byte(z) if v, ok := o.UserDefined[archiveTypeMetadataKey]; ok && v == archiveTypeEnc { decrypted, err := o.metadataDecrypter(h)(archiveTypeEnc, data) if err != nil { encLogIf(GlobalContext, err) return nil } data = decrypted } return data }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 20.9K bytes - Viewed (0) -
cmd/tier-sweeper.go
// os := newObjSweeper(bucket, object) // // Perform a ObjectLayer.GetObjectInfo to fetch object version information // goiOpts := os.GetOpts() // gerr := objAPI.GetObjectInfo(ctx, bucket, object, goiOpts) // // if gerr == nil { // os.SetTransitionState(goi) // } // // // After the overwriting object operation is complete. // // if jentry, ok := os.ShouldRemoveRemoteObject(); ok { // err := globalTierJournal.AddEntry(jentry)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Apr 17 05:09:58 UTC 2024 - 4.7K bytes - Viewed (0) -
utils/tests/utils.go
got, _ = valuer.Value() } if valuer, ok := expect.(driver.Valuer); ok { expect, _ = valuer.Value() } if got != nil { got = reflect.Indirect(reflect.ValueOf(got)).Interface() } if expect != nil { expect = reflect.Indirect(reflect.ValueOf(expect)).Interface() } if reflect.ValueOf(got).IsValid() != reflect.ValueOf(expect).IsValid() {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Mar 10 09:21:56 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex.go
} } // NewLexer returns a lexer for the named file and the given link context. func NewLexer(name string) TokenReader { input := NewInput(name) fd, err := os.Open(name) if err != nil { log.Fatalf("%s\n", err) } input.Push(NewTokenizer(name, fd, fd)) return input } // The other files in this directory each contain an implementation of TokenReader.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 4.1K bytes - Viewed (0) -
cmd/is-dir-empty_other.go
package cmd // isDirEmpty - returns true if there is no error and no object and prefix inside this directory func isDirEmpty(dirname string, _ bool) bool { entries, err := readDirN(dirname, 1) if err != nil { return false } return len(entries) == 0
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 05 15:17:08 UTC 2024 - 1K bytes - Viewed (0) -
cmd/metrics-v3-audit.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 10 14:50:39 UTC 2024 - 1.9K bytes - Viewed (0) -
internal/bucket/replication/tag.go
func (tag Tag) Validate() error { if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 { return errInvalidTagKey } if utf8.RuneCountInString(tag.Value) > 256 { return errInvalidTagValue } return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.6K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers_test.go
req, err := newTestSignedRequestV4(testCase.method, getBucketLifecycleURL("", testCase.bucketName), int64(len(testCase.body)), bytes.NewReader(testCase.body), testCase.accessKey, testCase.secretKey, nil) if err != nil { t.Fatalf("Test %d: %s: Failed to create HTTP request for GetBucketLocationHandler: <ERROR> %v", i+1, instanceType, err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 11.3K bytes - Viewed (0) -
cmd/metacache.go
} func (m *metacache) finished() bool { return !m.ended.IsZero() } // worthKeeping indicates if the cache by itself is worth keeping. func (m *metacache) worthKeeping() bool { if m == nil { return false } cache := m switch { case !cache.finished() && time.Since(cache.lastUpdate) > metacacheMaxRunningAge: // Not finished and update for metacacheMaxRunningAge, discard it. return false
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 6K bytes - Viewed (0) -
doc/go_spec.html
<a href="#Predeclared_identifiers"><code>nil</code></a>; that case is selected when the expression in the TypeSwitchGuard is a <code>nil</code> interface value. There may be at most one <code>nil</code> case. </p> <p> Given an expression <code>x</code> of type <code>interface{}</code>, the following type switch: </p> <pre> switch i := x.(type) { case nil:
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 00:58:01 UTC 2024 - 282.5K bytes - Viewed (0)