Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for Map (0.02 sec)

  1. src/cmd/go/testdata/script/cgo_trimpath_macro.txt

    # This is a test that -trimpath trims the paths of every directory
    # of Cgo dependencies in the module, and trims file paths included
    # through the __FILE__ macro using --file-prefix-map.
    
    [!cgo] skip
    [short] skip 'links and runs binaries'
    
    # Test in main module.
    go run -trimpath -mod=vendor ./main
    stdout '(\\_\\_|/_)[\\/]m[\\/]c[\\/]bar.h'
    
    # Test in vendored module.
    go run -trimpath -mod=vendor v.com/main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 22 19:56:37 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/build_pgo_auto_multi.txt

    stderr 'preprofile.*-i.*b(/|\\\\)default\.pgo'
    
    # a and b built once each with PGO.
    # Ideally we would check that the passed profile is the expected profile (here
    # and for dependencies). Unfortunately there is no nice way to map the expected
    # paths after preprocessing.
    stderr -count=1 'compile.*-pgoprofile=.*a(/|\\\\)a\.go'
    stderr -count=1 'compile.*-pgoprofile=.*b(/|\\\\)b\.go'
    
    # nopgo should be built without PGO.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:38:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. api/go1.22.txt

    pkg go/types, method (*Info) PkgNameOf(*ast.ImportSpec) *PkgName #62037
    pkg go/types, method (Checker) PkgNameOf(*ast.ImportSpec) *PkgName #62037
    pkg go/types, type Alias struct #63223
    pkg go/types, type Info struct, FileVersions map[*ast.File]string #62605
    pkg go/version, func Compare(string, string) int #62039
    pkg go/version, func IsValid(string) bool #62039
    pkg go/version, func Lang(string) string #62039
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 20:54:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_overlay.txt

    [short] skip
    
    # Test building in overlays.
    # TODO(#39958): add a test case where the destination file in the replace map
    #   isn't a go file. Either completely exclude that case in fs.IsDirWithGoFiles
    #   if the compiler doesn't allow it, or test that it works all the way.
    # TODO(#39958): add a test that both gc and gccgo assembly files can include .h
    #   files.
    
    # The main package (m) is contained in an overlay. It imports m/dir2 which has one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 29 00:40:18 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_download_concurrent_read.txt

    // those files for reading. When the done chan is closed, readCache closes
    // files and returns.
    func readCache(gopath string, done <-chan struct{}) {
    	files := make(map[string]*os.File)
    	defer func() {
    		for _, f := range files {
    			f.Close()
    		}
    	}()
    
    	pattern := filepath.Join(gopath, "pkg/mod/rsc.io/quote@v1.5.2*/go.mod")
    	for {
    		select {
    		case <-done:
    			return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/build_trimpath_cgo.txt

    		fmt.Println(file)
    	}
    }
    
    func run(exePath string) ([]string, error) {
    	dwarfData, err := readDWARF(exePath)
    	if err != nil {
    		return nil, err
    	}
    
    	dwarfReader := dwarfData.Reader()
    	files := make(map[string]bool)
    	for {
    		e, err := dwarfReader.Next()
    		if err != nil {
    			return nil, err
    		}
    		if e == nil {
    			break
    		}
    		lr, err := dwarfData.LineReader(e)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top