Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 6,241 for If (0.16 sec)

  1. 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: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. 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: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  3. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  4. 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: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. 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: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    	}
    }
    
    func (ri *batchJobInfo) countItem(size int64, dmarker, success bool, attempt int) {
    	if ri == nil {
    		return
    	}
    	ri.Attempts++
    	if success {
    		if dmarker {
    			ri.DeleteMarkers++
    		} else {
    			ri.Objects++
    			ri.BytesTransferred += size
    		}
    		if attempt > 1 {
    			if dmarker {
    				ri.DeleteMarkersFailed--
    			} else {
    				ri.ObjectsFailed--
    				ri.BytesFailed += size
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  10. 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: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top