Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for commands (0.27 sec)

  1. src/cmd/cgo/gcc.go

    	// We need to parse the output from this gcc command, so ensure that it
    	// doesn't have any ANSI escape sequences in it. (TERM=dumb is
    	// insufficient; if the user specifies CGO_CFLAGS=-fdiagnostics-color,
    	// GCC will ignore TERM, and GCC can also be configured at compile-time
    	// to ignore TERM.)
    	stderr := p.gccErrors(b.Bytes(), "-fdiagnostics-color=never")
    	if strings.Contains(stderr, "unrecognized command line option") {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    		result[i] = string(v)
    	}
    	return result
    }
    
    // For ease of reading, the test cases use strings that are converted to byte
    // slices before invoking the functions.
    
    var abcd = "abcd"
    var faces = "☺☻☹"
    var commas = "1,2,3,4"
    var dots = "1....2....3....4"
    
    type BinOpTest struct {
    	a string
    	b string
    	i int
    }
    
    func TestEqual(t *testing.T) {
    	// Run the tests and check for allocation at the same time.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top