Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for original (0.14 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/net/http/h2_bundle.go

    	// If the Body is nil (or http.NoBody), it's safe to reuse
    	// this request and its Body.
    	if req.Body == nil || req.Body == NoBody {
    		return req, nil
    	}
    
    	// If the request body can be reset back to its original
    	// state via the optional req.GetBody, do that.
    	if req.GetBody != nil {
    		body, err := req.GetBody()
    		if err != nil {
    			return nil, err
    		}
    		newReq := *req
    		newReq.Body = body
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  3. 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