Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for report (0.8 sec)

  1. src/cmd/go/internal/modload/load.go

    		}
    	}
    }
    
    // has reports whether all of the flags in cond are set in af.
    func (af *atomicLoadPkgFlags) has(cond loadPkgFlags) bool {
    	return loadPkgFlags(af.bits.Load())&cond == cond
    }
    
    // isTest reports whether pkg is a test of another package.
    func (pkg *loadPkg) isTest() bool {
    	return pkg.testOf != nil
    }
    
    // fromExternalModule reports whether pkg was loaded from a module other than
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modget/get.go

    				// it unresolved. Either some other query (perhaps a wildcard matching a
    				// newly-added dependency for some other missing package) will fill in
    				// the gaps, or we will report an error (with a better import stack) in
    				// the final LoadPackages call.
    				return true
    			}
    		}
    
    		mu.Lock()
    		upgrades = append(upgrades, pathSet{path: path, pkgMods: pkgMods, err: err})
    		mu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    	}
    
    	// V1 has no method m. Should not report wrongType.
    	checkMissingMethod("V1", false)
    
    	// V2 has method m with wrong signature type (ignoring receiver). Should report wrongType.
    	checkMissingMethod("V2", true)
    
    	// V3 has no method m but it exists on *V3. Should report wrongType.
    	checkMissingMethod("V3", true)
    
    	// V4 has no method m but has M. Should not report wrongType.
    	checkMissingMethod("V4", false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/init.go

    		// not usually a good experience.
    		//
    		// Instead, we forbid resolving import paths to modules other than std and
    		// cmd. Users may still build packages specified with .go files on the
    		// command line, but they'll see an error if those files import anything
    		// outside std.
    		//
    		// This can be overridden by calling AllowMissingModuleImports.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    			actual = f(tc.in, tc.arg)
    		} else {
    			actual = fb(tc.in, []byte(tc.arg))
    		}
    		report := func(s []byte) string {
    			if s == nil {
    				return "nil"
    			} else {
    				return fmt.Sprintf("%q", s)
    			}
    		}
    		if len(actual) != 0 {
    			t.Errorf("%s(%s, %q) returned non-empty value", name, report(tc.in), tc.arg)
    		} else {
    			actualNil := actual == nil
    			outNil := tc.out == nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/test/test.go

    	if cfg.BuildCover {
    		for _, p := range pkgs {
    			// sync/atomic import is inserted by the cover tool if
    			// we're using atomic mode (and not compiling
    			// sync/atomic package itself). See #18486 and #57445.
    			// Note that this needs to be done prior to any of the
    			// builderTest invocations below, due to the fact that
    			// a given package in the 'pkgs' list may import
    			// package Q which appears later in the list (if this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/buildlist.go

    	// otherwise-missing test dependencies for packages in "all". For those test
    	// dependencies, we prefer to add roots for packages with shorter import
    	// stacks first, on the theory that the module requirements for those will
    	// tend to fill in the requirements for their transitive imports (which have
    	// deeper import stacks). So we add the missing dependencies for one depth at
    	// a time, starting with the packages actually in "all" and expanding outwards
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/expr.go

    func (check *Checker) matchTypes(x, y *operand) {
    	// mayConvert reports whether the operands x and y may
    	// possibly have matching types after converting one
    	// untyped operand to the type of the other.
    	// If mayConvert returns true, we try to convert the
    	// operands to each other's types, and if that fails
    	// we report a conversion failure.
    	// If mayConvert returns false, we continue without an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  9. src/cmd/go/go_test.go

    	tg.setenv("GOCACHE", tg.tempdir)
    
    	tg.run("list", "-f", "{{.Export}}", "strings")
    	if tg.stdout.String() != "" {
    		t.Fatalf(".Export without -export unexpectedly set")
    	}
    	tg.run("list", "-export", "-f", "{{.Export}}", "strings")
    	file := strings.TrimSpace(tg.stdout.String())
    	if file == "" {
    		t.Fatalf(".Export with -export was empty")
    	}
    	if _, err := os.Stat(file); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    // values are taken into account.
    func (tr *TypeRepr) String() string {
    	if len(tr.Repr) == 0 {
    		return ""
    	}
    	if len(tr.FormatArgs) == 0 {
    		return tr.Repr
    	}
    	return fmt.Sprintf(tr.Repr, tr.FormatArgs...)
    }
    
    // Empty reports whether the result of String would be "".
    func (tr *TypeRepr) Empty() bool {
    	return len(tr.Repr) == 0
    }
    
    // Set modifies the type representation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top