Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for plusBuild (0.31 sec)

  1. src/cmd/go/internal/modindex/build.go

    			if !constraint.IsPlusBuild(text) {
    				continue
    			}
    			plusBuild = append(plusBuild, text)
    		}
    	}
    
    	return string(goBuildBytes), plusBuild, sawBinaryOnly, nil
    }
    
    func parseFileHeader(content []byte) (trimmed, goBuild []byte, sawBinaryOnly bool, err error) {
    	end := 0
    	p := content
    	ended := false       // found non-blank, non-// line, so stopped accepting // +build lines
    	inSlashStar := false // in /* */ comment
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  2. src/go/printer/printer.go

    	// shortcut common case of //-style comments
    	if text[1] == '/' {
    		if constraint.IsGoBuild(text) {
    			p.goBuild = append(p.goBuild, len(p.output))
    		} else if constraint.IsPlusBuild(text) {
    			p.plusBuild = append(p.plusBuild, len(p.output))
    		}
    		p.writeString(pos, trimRight(text), true)
    		return
    	}
    
    	// for /*-style comments, print line by line and let the
    	// write function take care of the proper indentation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
Back to top