Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for inPackage (0.16 sec)

  1. src/cmd/go/internal/modget/get.go

    					resolved++
    					continue
    				}
    
    				filtered, isPackage, m, unique := r.disambiguate(cs)
    				if !unique {
    					unresolved = append(unresolved, filtered)
    					continue
    				}
    
    				if m.Path == "" {
    					// The query is not viable. Choose an arbitrary candidate from
    					// before filtering and “resolve” it to report a conflict.
    					isPackage, m = r.chooseArbitrarily(cs)
    				}
    				if isPackage {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  2. src/cmd/internal/testdir/testdir_test.go

    	}
    	if action == "" {
    		t.Fatalf("execution recipe not found in GOROOT/test/%s", t.goFileName())
    	}
    
    	// Check for build constraints only up to the actual code.
    	header, _, ok := strings.Cut(src, "\npackage")
    	if !ok {
    		header = action // some files are intentionally malformed
    	}
    	if ok, why := shouldTest(header, goos, goarch); !ok {
    		t.Skip(why)
    	}
    
    	var args, flags, runenv []string
    	var tim int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
Back to top