Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for pos (0.06 sec)

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

    		v.AuxInt = int32ToAuxInt(2)
    		v0 := b.NewValue0(v.Pos, OpPPC64SLD, t)
    		v1 := b.NewValue0(v.Pos, OpPPC64MOVHZreg, typ.Int64)
    		v1.AddArg(x)
    		v0.AddArg2(v1, y)
    		v2 := b.NewValue0(v.Pos, OpPPC64MOVDconst, typ.Int64)
    		v2.AuxInt = int64ToAuxInt(0)
    		v3 := b.NewValue0(v.Pos, OpPPC64CMPconst, types.TypeFlags)
    		v3.AuxInt = int64ToAuxInt(0)
    		v4 := b.NewValue0(v.Pos, OpPPC64ANDconst, typ.Int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    			p := Arch.Ginsnop(s.pp)
    			p.Pos = p.Pos.WithIsStmt()
    			if b.Pos == src.NoXPos {
    				b.Pos = p.Pos // It needs a file, otherwise a no-file non-zero line causes confusion.  See #35652.
    				if b.Pos == src.NoXPos {
    					b.Pos = s.pp.Text.Pos // Sometimes p.Pos is empty.  See #35695.
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  3. doc/go_spec.html

    assigned the return values of <code>g</code> that remain after
    assignment of regular parameters.
    </p>
    
    <pre>
    func Split(s string, pos int) (string, string) {
    	return s[0:pos], s[pos:]
    }
    
    func Join(s, t string) string {
    	return s + t
    }
    
    if Join(Split(value, len(value)/2)) != value {
    	log.Panic("test fails")
    }
    </pre>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
Back to top