Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for coerce (0.18 sec)

  1. src/cmd/asm/internal/asm/asm.go

    			// a[1] is a register number expressed as a constant or register value
    			target = &a[2]
    			prog.From = a[0]
    			if a[0].Type != obj.TYPE_CONST {
    				// Legacy code may use a plain constant, accept it, and coerce
    				// into a constant. E.g:
    				//   BC 4,...
    				// into
    				//   BC $4,...
    				prog.From = obj.Addr{
    					Type:   obj.TYPE_CONST,
    					Offset: p.getConstant(prog, op, &a[0]),
    				}
    
    			}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  2. cmd/admin-heal-ops.go

    		}()
    	}
    }
    
    func (h *healSequence) queueHealTask(source healSource, healType madmin.HealItemType) error {
    	// Send heal request
    	task := healTask{
    		bucket:    source.bucket,
    		object:    source.object,
    		versionID: source.versionID,
    		opts:      h.settings,
    	}
    	if source.opts != nil {
    		task.opts = *source.opts
    	} else {
    		task.opts.ScanMode = madmin.HealNormalScan
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  3. internal/dsync/dsync_test.go

    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  4. cmd/local-locker_gen.go

    		case "TimeLastRefresh":
    			z.TimeLastRefresh, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "TimeLastRefresh")
    				return
    			}
    		case "Source":
    			z.Source, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Source")
    				return
    			}
    		case "Group":
    			z.Group, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Group")
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  5. src/archive/zip/reader.go

    }
    
    func (f *fileListEntry) Info() (fs.FileInfo, error) { return f, nil }
    
    func (f *fileListEntry) String() string {
    	return fs.FormatDirEntry(f)
    }
    
    // toValidName coerces name to be a valid name for fs.FS.Open.
    func toValidName(name string) string {
    	name = strings.ReplaceAll(name, `\`, `/`)
    	p := path.Clean(name)
    
    	p = strings.TrimPrefix(p, "/")
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  6. cmd/batch-rotate.go

    	if err := api.Walk(ctx, r.Bucket, r.Prefix, results, WalkOptions{
    		Marker: lastObject,
    		Filter: selectObj,
    	}); err != nil {
    		cancel()
    		// Do not need to retry if we can't list objects on source.
    		return err
    	}
    
    	for result := range results {
    		result := result
    		sseKMS := crypto.S3KMS.IsEncrypted(result.UserDefined)
    		sseS3 := crypto.S3.IsEncrypted(result.UserDefined)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  7. cmd/batch-expire.go

    		LatestOnly:   false, // we need to visit all versions of the object to implement purge: retainVersions
    		VersionsSort: WalkVersionsSortDesc,
    	}); err != nil {
    		// Do not need to retry if we can't list objects on source.
    		return err
    	}
    
    	// Goroutine to periodically save batch-expire job's in-memory state
    	saverQuitCh := make(chan struct{})
    	go func() {
    		saveTicker := time.NewTicker(10 * time.Second)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  8. src/archive/tar/format.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tar
    
    import "strings"
    
    // Format represents the tar archive format.
    //
    // The original tar format was introduced in Unix V7.
    // Since then, there have been multiple competing formats attempting to
    // standardize or extend the V7 format to overcome its limitations.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  9. src/archive/zip/struct.go

    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
    Package zip provides support for reading and writing ZIP archives.
    
    See the [ZIP specification] for details.
    
    This package does not support disk spanning.
    
    A note about ZIP64:
    
    To be backwards compatible the FileHeader has both 32 and 64 bit Size
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  10. cmd/admin-router.go

    		if globalIsDistErasure {
    			// Top locks
    			adminRouter.Methods(http.MethodGet).Path(adminVersion + "/top/locks").HandlerFunc(adminMiddleware(adminAPI.TopLocksHandler))
    			// Force unlocks paths
    			adminRouter.Methods(http.MethodPost).Path(adminVersion+"/force-unlock").
    				Queries("paths", "{paths:.*}").HandlerFunc(adminMiddleware(adminAPI.ForceUnlockHandler))
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top