Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for shortcut (1.11 sec)

  1. src/cmd/compile/internal/ssa/sccp.go

    		// mask
    		OpSlicemask,
    		// safety check
    		OpIsNonNil,
    		// not
    		OpNot:
    		lt1 := t.getLatticeCell(val.Args[0])
    
    		if lt1.tag == constant {
    			// here we take a shortcut by reusing generic rules to fold constants
    			t.latticeCells[val] = computeLattice(t.f, val, lt1.val)
    		} else {
    			t.latticeCells[val] = lattice{lt1.tag, nil}
    		}
    	// fold 2-input operations
    	case
    		// add
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/op.go

    func (a *AuxCall) Reg(i *regInfo, c *Config) *regInfo {
    	if a.reg.clobbers != 0 {
    		// Already updated
    		return a.reg
    	}
    	if a.abiInfo.InRegistersUsed()+a.abiInfo.OutRegistersUsed() == 0 {
    		// Shortcut for zero case, also handles old ABI.
    		a.reg = i
    		return a.reg
    	}
    
    	k := len(i.inputs)
    	for _, p := range a.abiInfo.InParams() {
    		for _, r := range p.Registers {
    			m := archRegForAbiReg(r, c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/action.go

    		// of all other dependencies that go into the link. It is likely to be after
    		// them anyway, but just make sure. This is required by the build ID-based
    		// shortcut in (*Builder).useCache(a1), which will call b.linkActionID(a).
    		// In order for that linkActionID call to compute the right action ID, all the
    		// dependencies of a (except a1) must have completed building and have
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. src/cmd/go/internal/help/helpdoc.go

    details see: 'go help gopath').
    
    Relative import paths
    
    An import path beginning with ./ or ../ is called a relative path.
    The toolchain supports relative import paths as a shortcut in two ways.
    
    First, a relative path can be used as a shorthand on the command line.
    If you are working in the directory containing the code imported as
    "unicode" and want to run the tests for "unicode/utf8", you can type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/mvs/mvs.go

    			required = append([]module.Version{u}, required...)
    		}
    		g.Require(m, required)
    		mu.Unlock()
    
    		for _, r := range required {
    			work.Add(r)
    		}
    	})
    
    	// If there was an error, find the shortest path from the target to the
    	// node where the error occurred so we can report a useful error message.
    	if len(errs) > 0 {
    		errPath := g.FindPath(func(m module.Version) bool {
    			return errs[m] != nil
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 21:58:12 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/import.go

    			} else {
    				altMods = append(altMods, m)
    			}
    		}
    
    		if len(mods) > 1 {
    			// We produce the list of directories from longest to shortest candidate
    			// module path, but the AmbiguousImportError should report them from
    			// shortest to longest. Reverse them now.
    			for i := 0; i < len(mods)/2; i++ {
    				j := len(mods) - 1 - i
    				mods[i], mods[j] = mods[j], mods[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/test.go

        }
        while (current_row++ != 1);
        d =  sqrt(sum_squares / row_count);
        printf("sqrt is: %g\n", d);
    }
    
    // issue 6128
    // Test handling of #defined names in clang.
    // NOTE: Must use hex, or else a shortcut for decimals
    // in cgo avoids trying to pass this to clang.
    #define X 0x1
    
    // issue 6472
    typedef struct
    {
            struct
            {
                int x;
            } y[16];
    } z;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  8. schema/schema.go

    		if field.DBName == "" && field.DataType != "" {
    			field.DBName = namer.ColumnName(schema.Table, field.Name)
    		}
    
    		bindName := field.BindName()
    		if field.DBName != "" {
    			// nonexistence or shortest path or first appear prioritized if has permission
    			if v, ok := schema.FieldsByDBName[field.DBName]; !ok || ((field.Creatable || field.Updatable || field.Readable) && len(field.BindNames) < len(v.BindNames)) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/subr.go

    // a TSTRUCT or TINTER Type.
    type dlist struct {
    	field *types.Field
    }
    
    // dotpath computes the unique shortest explicit selector path to fully qualify
    // a selection expression x.f, where x is of type t and f is the symbol s.
    // If no such path exists, dotpath returns nil.
    // If there are multiple shortest paths to the same depth, ambig is true.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/list/list.go

    expanded import paths. See golang.org/s/go15vendor for more about vendoring.
    
    The error information, if any, is
    
        type PackageError struct {
            ImportStack   []string // shortest path from package named on command line to this one
            Pos           string   // position of error (if present, file:line:col)
            Err           string   // the error itself
        }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top