Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for origin (0.56 sec)

  1. doc/go_spec.html

    </p>
    <pre>
    type Point3D struct { x, y, z float64 }
    type Line struct { p, q Point3D }
    </pre>
    
    <p>
    one may write
    </p>
    
    <pre>
    origin := Point3D{}                            // zero value for Point3D
    line := Line{origin, Point3D{y: -4, z: 12.3}}  // zero value for line.q.x
    </pre>
    
    <p>
    For array and slice literals the following rules apply:
    </p>
    <ul>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    				b.Likely = ssa.BranchLikely
    
    				// We have atomic instructions - use it directly.
    				s.startBlock(bTrue)
    				emit(s, n, args, op1, typ)
    				s.endBlock().AddEdgeTo(bEnd)
    
    				// Use original instruction sequence.
    				s.startBlock(bFalse)
    				emit(s, n, args, op0, typ)
    				s.endBlock().AddEdgeTo(bEnd)
    
    				// Merge results.
    				s.startBlock(bEnd)
    			}
    			if typ == types.TNIL {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top