Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for inPackage (0.15 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/cover/cover.go

    	// we have instrumented functions.
    	if counterStmt == nil && len(p.counterLengths) != 0 {
    		panic("internal error: seen functions with regonly/testmain")
    	}
    
    	// Emit package name.
    	fmt.Fprintf(w, "\npackage %s\n\n", pkgconfig.PkgName)
    
    	// Emit package ID var.
    	fmt.Fprintf(w, "\nvar %sP uint32\n", *varVar)
    
    	// Emit all of the counter variables.
    	for k := range p.counterLengths {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. 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