Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for generator (0.4 sec)

  1. src/cmd/compile/internal/ssa/_gen/cover.bash

    # example:
    #
    #     ./cover.bash && go tool cover -html=cover.out
    #
    # This script is needed to set up a temporary test file, so that we don't break
    # regular 'go run .' usage to run the generator.
    
    cat >main_test.go <<-EOF
    	//go:build ignore
    
    	package main
    
    	import "testing"
    
    	func TestCoverage(t *testing.T) { main() }
    EOF
    
    go test -run='^TestCoverage$' -coverprofile=cover.out "$@" *.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 664 bytes
    - Viewed (0)
  2. lib/time/update.bash

    #
    # To review such a commit (as the reviewer), use:
    #
    #	git codereview change NNNNNN   # CL number
    #	cd lib/time
    #	./update.bash
    #
    # If it prints "No updates needed.", then the generated files
    # in the CL match the update.bash in the CL.
    
    # Versions to use.
    CODE=2024a
    DATA=2024a
    
    set -e
    
    cd $(dirname $0)
    rm -rf work
    mkdir work
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 18:20:41 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top