- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 6,063 for if (0.02 sec)
-
cmd/object-handlers-common.go
if ifNoneMatchETagHeader != "" { if isETagEqual(objInfo.ETag, ifNoneMatchETagHeader) { // Do not care If-Modified-Since, Because: // 1. If If-Modified-Since condition evaluates to true. // If both of the If-None-Match and If-Modified-Since headers are present in the request as follows: // If-None-Match condition evaluates to false , and; // If-Modified-Since condition evaluates to true ;
Registered: 2024-11-03 19:28 - Last Modified: 2024-09-03 06:33 - 15.3K bytes - Viewed (0) -
cmd/batch-job-common-types_gen.go
if err != nil { 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)
Registered: 2024-11-03 19:28 - Last Modified: 2023-12-02 10:51 - 21.9K bytes - Viewed (0) -
cmd/metacache-stream.go
func (r *metacacheReader) readN(n int, inclDeleted, inclDirs, inclVersions bool, prefix string) (metaCacheEntriesSorted, error) { r.checkInit() if n == 0 { return metaCacheEntriesSorted{}, nil } if r.err != nil { return metaCacheEntriesSorted{}, r.err } var res metaCacheEntries if n > 0 { res = make(metaCacheEntries, 0, n) } if prefix != "" {
Registered: 2024-11-03 19:28 - Last Modified: 2024-04-04 12:04 - 19.5K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js
if (typeof options.maxSpan === 'object') this.maxSpan = options.maxSpan; if (typeof options.dateLimit === 'object') //backwards compat this.maxSpan = options.dateLimit; if (typeof options.opens === 'string') this.opens = options.opens; if (typeof options.drops === 'string') this.drops = options.drops;
Registered: 2024-10-31 13:40 - Last Modified: 2024-10-26 01:49 - 64.8K 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: 2024-11-03 19:28 - Last Modified: 2024-02-06 06:00 - 57.5K 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: 2024-11-03 19:28 - Last Modified: 2022-07-04 21:02 - 26.7K bytes - Viewed (0) -
cmd/batch-expire_gen.go
if err != nil { return } err = en.WriteString(z.APIVersion) if err != nil { err = msgp.WrapError(err, "APIVersion") return } // write "Bucket" err = en.Append(0xa6, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74) if err != nil { return } err = en.WriteString(z.Bucket) if err != nil { err = msgp.WrapError(err, "Bucket") return }
Registered: 2024-11-03 19:28 - Last Modified: 2024-08-01 12:53 - 19.9K bytes - Viewed (0) -
cmd/common-main.go
if dir == "" { dir = getDefaultDir() } if dir == "" { if !dirSet { return nil, fmt.Errorf("missing option must be provided") } return nil, fmt.Errorf("provided option cannot be empty") } // Disallow relative paths, figure out absolute paths. dirAbs, err := filepath.Abs(dir) if err != nil { return nil, err } err = mkdirAllIgnorePerm(dirAbs) if err != nil {
Registered: 2024-11-03 19:28 - Last Modified: 2024-09-24 21:50 - 31.7K bytes - Viewed (0) -
clause/where.go
func (where Where) Build(builder Builder) { if len(where.Exprs) == 1 { if andCondition, ok := where.Exprs[0].(AndConditions); ok { where.Exprs = andCondition.Exprs } } // Switch position if the first query expression is a single Or condition for idx, expr := range where.Exprs { if v, ok := expr.(OrConditions); !ok || len(v.Exprs) > 1 { if idx != 0 {
Registered: 2024-11-03 09:35 - Last Modified: 2024-04-25 12:22 - 5.1K bytes - Viewed (0) -
callbacks/update.go
return func(db *gorm.DB) { if db.Error != nil { return } if db.Statement.Schema != nil { for _, c := range db.Statement.Schema.UpdateClauses { db.Statement.AddClause(c) } } if db.Statement.SQL.Len() == 0 { db.Statement.SQL.Grow(180) db.Statement.AddClauseIfNotExists(clause.Update{}) if _, ok := db.Statement.Clauses["SET"]; !ok {
Registered: 2024-11-03 09:35 - Last Modified: 2024-03-18 05:44 - 9.4K bytes - Viewed (0)