Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for scale (0.3 sec)

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

    				p.errorf("%s doesn't support scaled register format", p.arch.Name)
    			} else {
    				a.Scale = int16(scale)
    			}
    		}
    		p.get(')')
    	} else if scale != 0 {
    		if p.arch.Family == sys.ARM64 {
    			p.errorf("arm64 doesn't support scaled register format")
    		}
    		// First (R) was missing, all we have is (R*scale).
    		a.Reg = 0
    		a.Index = r1
    		a.Scale = int16(scale)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  2. doc/go_spec.html

    </p>
    
    <pre>
    func (p *Point) Length() float64 {
    	return math.Sqrt(p.x * p.x + p.y * p.y)
    }
    
    func (p *Point) Scale(factor float64) {
    	p.x *= factor
    	p.y *= factor
    }
    </pre>
    
    <p>
    bind the methods <code>Length</code> and <code>Scale</code>,
    with receiver type <code>*Point</code>,
    to the base type <code>Point</code>.
    </p>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/1-time.md

    Second, the timer channel associated with a `Timer` or `Ticker` is
    now unbuffered, with capacity 0.
    The main effect of this change is that Go now guarantees
    that for any call to a `Reset` or `Stop` method, no stale values
    prepared before that call will be sent or received after the call.
    Earlier versions of Go used channels with a one-element buffer,
    making it difficult to use `Reset` and `Stop` correctly.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/amd64error.s

    	EXTRACTPS $4, X2, (BX)          // ERROR "invalid instruction"
    	EXTRACTPS $-1, X2, (BX)         // ERROR "invalid instruction"
    	// VSIB addressing does not permit non-vector (X/Y)
    	// scaled index register.
    	VPGATHERDQ X12,(R13)(AX*2), X11 // ERROR "invalid instruction"
    	VPGATHERDQ X2, 664(BX*1), X1    // ERROR "invalid instruction"
    	VPGATHERDQ Y2, (BP)(AX*2), Y1   // ERROR "invalid instruction"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 14 00:03:57 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  5. doc/asm.html

    to a <code>NOP</code> instruction).
    </p>
    
    <p>
    Addressing modes:
    </p>
    
    <ul>
    
    <li>
    <code>(R5)(R6*1)</code>: The location at <code>R5</code> plus <code>R6</code>.
    It is a scaled mode as on the x86, but the only scale allowed is <code>1</code>.
    </li>
    
    </ul>
    
    <h3 id="mips">MIPS, MIPS64</h3>
    
    <p>
    General purpose registers are named <code>R0</code> through <code>R31</code>,
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    </p>
    
    <pre>
    func (p *Point) Length() float64 {
    	return math.Sqrt(p.x * p.x + p.y * p.y)
    }
    
    func (p *Point) Scale(factor float64) {
    	p.x *= factor
    	p.y *= factor
    }
    </pre>
    
    <p>
    bind the methods <code>Length</code> and <code>Scale</code>,
    with receiver type <code>*Point</code>,
    to the base type <code>Point</code>.
    </p>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/amd64enc.s

    	FPTAN                                   // d9f2
    	FRNDINT                                 // d9fc
    	//TODO: FRSTORL (BX)                    // dd23
    	//TODO: FRSTORL (R11)                   // 41dd23
    	FSCALE                                  // d9fd
    	FSIN                                    // d9fe
    	FSINCOS                                 // d9fb
    	FSQRT                                   // d9fa
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 08 21:38:44 GMT 2021
    - 581.9K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/asm.go

    func (p *Parser) validSymbol(pseudo string, addr *obj.Addr, offsetOk bool) bool {
    	if addr.Sym == nil || addr.Name != obj.NAME_EXTERN && addr.Name != obj.NAME_STATIC || addr.Scale != 0 || addr.Reg != 0 {
    		p.errorf("%s symbol %q must be a symbol(SB)", pseudo, symbolName(addr))
    		return false
    	}
    	if !offsetOk && addr.Offset != 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)
  9. doc/go1.22.html

        </p>
      </dd>
    </dl><!-- runtime/metrics -->
    
    <dl id="runtime/pprof"><dt><a href="/pkg/runtime/pprof/">runtime/pprof</a></dt>
      <dd>
        <p><!-- https://go.dev/issue/61015 -->
          Mutex profiles now scale contention by the number of goroutines blocked on the mutex.
          This provides a more accurate representation of the degree to which a mutex is a bottleneck in
          a Go program.
    HTML
    - Registered: Tue Feb 06 11:13:10 GMT 2024
    - Last Modified: Wed Jan 31 20:51:56 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  10. misc/ios/go_ios_exec.go

    	return err
    }
    
    func runDevice(appdir, bundleID string, args []string) error {
    	attempt := 0
    	for {
    		// The device app path reported by the device might be stale, so retry
    		// the lookup of the device path along with the lldb launching below.
    		deviceapp, err := findDeviceAppPath(bundleID)
    		if err != nil {
    			// The device app path might not yet exist for a newly installed app.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
Back to top