Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for Walker (0.18 sec)

  1. src/cmd/api/main_test.go

    }
    
    func NewWalker(context *build.Context, root string) *Walker {
    	w := &Walker{
    		context:  context,
    		root:     root,
    		features: map[string]bool{},
    		imported: map[string]*apiPackage{"unsafe": &apiPackage{Package: types.Unsafe}},
    	}
    	w.loadImports()
    	return w
    }
    
    func (w *Walker) Features() (fs []string) {
    	for f := range w.features {
    		fs = append(fs, f)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  2. cmd/metacache-marker.go

    import (
    	"context"
    	"fmt"
    	"strconv"
    	"strings"
    )
    
    // markerTagVersion is the marker version.
    // Should not need to be updated unless a fundamental change is made to the marker format.
    const markerTagVersion = "v2"
    
    // parseMarker will parse a marker possibly encoded with encodeMarker
    func (o *listPathOptions) parseMarker() {
    	s := o.Marker
    	if !strings.Contains(s, "[minio_cache:"+markerTagVersion) {
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. cmd/object-api-interface.go

    	Expires              time.Time // Is only used in POST/PUT operations
    
    	DeleteMarker            bool // Is only set in DELETE operations for delete marker replication
    	CheckDMReplicationReady bool // Is delete marker ready to be replicated - set only during HEAD
    	Tagging                 bool // Is only in GET/HEAD operations to return tagging metadata along with regular metadata and body.
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  4. cmd/metacache-set.go

    }
    
    // findFirstPart will find the part with 0 being the first that corresponds to the marker in the options.
    // io.ErrUnexpectedEOF is returned if the place containing the marker hasn't been scanned yet.
    // io.EOF indicates the marker is beyond the end of the stream and does not exist.
    func (o *listPathOptions) findFirstPart(fi FileInfo) (int, error) {
    	search := o.Marker
    	if search == "" {
    		search = o.Prefix
    	}
    	if search == "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. schema/field.go

    	}
    
    	fieldValue := reflect.New(field.IndirectFieldType)
    	// if field is valuer, used its value or first field as data type
    	valuer, isValuer := fieldValue.Interface().(driver.Valuer)
    	if isValuer {
    		if _, ok := fieldValue.Interface().(GormDataTypeInterface); !ok {
    			if v, err := valuer.Value(); reflect.ValueOf(v).IsValid() && err == nil {
    				fieldValue = reflect.ValueOf(v)
    			}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  6. internal/bucket/lifecycle/lifecycle.go

    					break
    				}
    			}
    		}
    
    		if obj.ExpiredObjectDeleteMarker() {
    			if rule.Expiration.DeleteMarker.val {
    				// Indicates whether MinIO will remove a delete marker with no noncurrent versions.
    				// Only latest marker is removed. If set to true, the delete marker will be expired;
    				// if set to false the policy takes no action. This cannot be specified with Days or
    				// Date in a Lifecycle Expiration Policy.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. utils/utils_test.go

    		{"error not equal", errors.New("1"), errors.New("2"), false},
    		{"driver.Valuer equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now, Valid: true}, true},
    		{"driver.Valuer not equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now.Add(time.Second), Valid: true}, false},
    		{"driver.Valuer equal (ptr to nil ptr)", (*ModifyAt)(nil), &ModifyAt{}, false},
    	}
    	for _, test := range assertEqualTests {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Feb 19 03:42:25 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. internal/dsync/drwmutex.go

    				noQuorum, err := refreshLock(ctx, dm.clnt, id, source, quorum)
    				if err == nil && noQuorum {
    					// Clean the lock locally and in remote nodes
    					forceUnlock(ctx, dm.clnt, id)
    					// Execute the caller lock loss callback
    					if lockLossCallback != nil {
    						lockLossCallback()
    					}
    					return
    				}
    
    				refreshTimer.Reset(dm.refreshInterval)
    			}
    		}
    	}()
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-utils.go

    	fivs, err := getAllFileInfoVersions(xlMetaBuf, volume, path, allParts)
    	if err != nil {
    		return fivs, err
    	}
    	n := 0
    	for _, fi := range fivs.Versions {
    		// Filter our tier object delete marker
    		if !fi.TierFreeVersion() {
    			fivs.Versions[n] = fi
    			n++
    		} else {
    			fivs.FreeVersions = append(fivs.FreeVersions, fi)
    		}
    	}
    	fivs.Versions = fivs.Versions[:n]
    	// Update numversions
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. cmd/object-handlers-common.go

    	// and don't process the If-Modified-Since header.
    	if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) {
    		return false
    	}
    
    	// If top level is a delete marker proceed to upload.
    	if objInfo.DeleteMarker {
    		return false
    	}
    
    	// Headers to be set of object content is not going to be written to the client.
    	writeHeaders := func() {
    		// set common headers
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
Back to top