- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 857 for Nil$ (0.05 sec)
-
gorm.go
connPool := db.ConnPool if db.Statement != nil && db.Statement.ConnPool != nil { connPool = db.Statement.ConnPool } if tx, ok := connPool.(*sql.Tx); ok && tx != nil { return (*sql.DB)(reflect.ValueOf(tx).Elem().FieldByName("db").UnsafePointer()), nil } if dbConnector, ok := connPool.(GetDBConnector); ok && dbConnector != nil { if sqldb, err := dbConnector.GetDBConn(); sqldb != nil || err != nil { return sqldb, err }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Oct 09 11:29:48 UTC 2024 - 12.1K bytes - Viewed (0) -
cmd/os_unix.go
nbuf, err = syscall.ReadDirent(fd, buf) stop() if err != nil { if isSysErrNotDir(err) { return nil, errFileNotFound } return nil, osErrToFileErr(err) } if nbuf <= 0 { break } } consumed, name, typ, err := parseDirEnt(buf[boff:nbuf]) if err != nil { return nil, err } boff += consumed
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/batch-job-common-types_gen.go
return } } else { err = en.WriteBool(*z.Disable) if err != nil { err = msgp.WrapError(err, "Disable") return } } // write "Batch" err = en.Append(0xa5, 0x42, 0x61, 0x74, 0x63, 0x68) if err != nil { return } if z.Batch == nil { err = en.WriteNil() if err != nil { return } } else { err = en.WriteInt(*z.Batch) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 21.9K bytes - Viewed (0) -
cmd/bucket-metadata.go
if GlobalKMS == nil { return nil, errKMSNotConfigured } keyID, kmsKey, sealedKey, err := crypto.S3.ParseMetadata(meta) if err != nil { return nil, err } extKey, err := GlobalKMS.Decrypt(context.TODO(), &kms.DecryptRequest{ Name: keyID, Ciphertext: kmsKey, AssociatedData: kmsContext, }) if err != nil { return nil, err } var objectKey crypto.ObjectKey
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 18.2K bytes - Viewed (0) -
cmd/bucket-stats_gen.go
if err != nil { return } err = en.WriteFloat64(z.CurrentBandwidthInBytesPerSecond) if err != nil { err = msgp.WrapError(err, "CurrentBandwidthInBytesPerSecond") return } // write "lt" err = en.Append(0xa2, 0x6c, 0x74) if err != nil { return } if z.XferRateLrg == nil { err = en.WriteNil() if err != nil { return } } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 57.5K bytes - Viewed (0) -
cmd/metacache-stream.go
func (w *metacacheWriter) write(objs ...metaCacheEntry) error { if w == nil { return errors.New("metacacheWriter: nil writer") } if len(objs) == 0 { return nil } if w.creator != nil { err := w.creator() w.creator = nil if err != nil { return fmt.Errorf("metacacheWriter: unable to create writer: %w", err) } if w.mw == nil { return errors.New("metacacheWriter: writer not initialized") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 19.5K bytes - Viewed (0) -
cmd/erasure-server-pool-decom.go
} return false, nil } func (p poolMeta) save(ctx context.Context, pools []*erasureSets) error { if p.dontSave { return nil } data := make([]byte, 4, p.Msgsize()+4) // Initialize the header. binary.LittleEndian.PutUint16(data[0:2], poolMetaFormat) binary.LittleEndian.PutUint16(data[2:4], poolMetaVersion) buf, err := p.MarshalMsg(data) if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 13:20:19 UTC 2024 - 42.2K bytes - Viewed (0) -
cmd/admin-handlers-users.go
isDir: false, sys: nil, }) if zerr != nil { adminLogIf(ctx, zerr) return nil } header.Method = zip.Deflate zwriter, zerr := zipWriter.CreateHeader(header) if zerr != nil { adminLogIf(ctx, zerr) return nil } if _, err := io.Copy(zwriter, r); err != nil { adminLogIf(ctx, err) } return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 03 23:11:02 UTC 2024 - 85.1K bytes - Viewed (0) -
internal/grid/types_test.go
func TestMarshalUnmarshalMSSNil(t *testing.T) { v := MSS(nil) bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } v2 := MSS(make(map[string]string, 1)) left, err := v2.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) != 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) } left, err = msgp.Skip(bts) if err != nil { t.Fatal(err) } if len(left) > 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 3.7K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_gen.go
if err != nil { return } err = en.WriteTime(z.LastUpdate) if err != nil { err = msgp.WrapError(err, "LastUpdate") return } // write "dec" err = en.Append(0xa3, 0x64, 0x65, 0x63) if err != nil { return } if z.Decommission == nil { err = en.WriteNil() if err != nil { return } } else { err = z.Decommission.EncodeMsg(en) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 04 21:02:54 UTC 2022 - 26.7K bytes - Viewed (0)