Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for skipSpaceOrComment (0.15 sec)

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

    }
    
    var (
    	slashSlash = []byte("//")
    	slashStar  = []byte("/*")
    	starSlash  = []byte("*/")
    	newline    = []byte("\n")
    )
    
    // skipSpaceOrComment returns data with any leading spaces or comments removed.
    func skipSpaceOrComment(data []byte) []byte {
    	for len(data) > 0 {
    		switch data[0] {
    		case ' ', '\t', '\r', '\n':
    			data = data[1:]
    			continue
    		case '/':
    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/build/build.go

    }
    
    var (
    	slashSlash = []byte("//")
    	slashStar  = []byte("/*")
    	starSlash  = []byte("*/")
    	newline    = []byte("\n")
    )
    
    // skipSpaceOrComment returns data with any leading spaces or comments removed.
    func skipSpaceOrComment(data []byte) []byte {
    	for len(data) > 0 {
    		switch data[0] {
    		case ' ', '\t', '\r', '\n':
    			data = data[1:]
    			continue
    		case '/':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
Back to top