Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,677 for checkIn (0.13 sec)

  1. src/cmd/compile/internal/types2/alias.go

    // rhs must not be nil.
    func (check *Checker) newAlias(obj *TypeName, rhs Type) *Alias {
    	assert(rhs != nil)
    	a := new(Alias)
    	a.obj = obj
    	a.orig = a
    	a.fromRHS = rhs
    	if obj.typ == nil {
    		obj.typ = a
    	}
    
    	// Ensure that a.actual is set at the end of type checking.
    	if check != nil {
    		check.needsCleanup(a)
    	}
    
    	return a
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/go/types/errors.go

    // The positioner interface is used to extract the position of type-checker errors.
    type positioner interface {
    	Pos() token.Pos
    }
    
    func (check *Checker) error(at positioner, code Code, msg string) {
    	err := check.newError(code)
    	err.addf(at, "%s", msg)
    	err.report()
    }
    
    func (check *Checker) errorf(at positioner, code Code, format string, args ...any) {
    	err := check.newError(code)
    	err.addf(at, format, args...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/go/types/alias.go

    // rhs must not be nil.
    func (check *Checker) newAlias(obj *TypeName, rhs Type) *Alias {
    	assert(rhs != nil)
    	a := new(Alias)
    	a.obj = obj
    	a.orig = a
    	a.fromRHS = rhs
    	if obj.typ == nil {
    		obj.typ = a
    	}
    
    	// Ensure that a.actual is set at the end of type checking.
    	if check != nil {
    		check.needsCleanup(a)
    	}
    
    	return a
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/errors.go

    }
    
    func (check *Checker) error(at poser, code Code, msg string) {
    	err := check.newError(code)
    	err.addf(at, "%s", msg)
    	err.report()
    }
    
    func (check *Checker) errorf(at poser, code Code, format string, args ...any) {
    	err := check.newError(code)
    	err.addf(at, format, args...)
    	err.report()
    }
    
    func (check *Checker) softErrorf(at poser, code Code, format string, args ...any) {
    	err := check.newError(code)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/testFixtures/groovy/org/gradle/internal/execution/WorkValidationExceptionChecker.groovy

        private final Set<String> problems
    
        static void check(Exception exception, boolean ignoreType = false, @DelegatesTo(value = WorkValidationExceptionChecker, strategy = Closure.DELEGATE_FIRST) Closure<?> spec) {
            assert exception instanceof WorkValidationException
            def checker = new WorkValidationExceptionChecker(exception, ignoreType)
            spec.delegate = checker
            spec.resolveStrategy = Closure.DELEGATE_FIRST
            spec()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/doc.go

    // license that can be found in the LICENSE file.
    
    // Package tests defines an Analyzer that checks for common mistaken
    // usages of tests and examples.
    //
    // # Analyzer tests
    //
    // tests: check for common mistaken usages of tests and examples
    //
    // The tests checker walks Test, Benchmark, Fuzzing and Example functions checking
    // malformed names, wrong signatures and examples documenting non-existent
    // identifiers.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 703 bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/MavenPluginPrerequisitesChecker.java

    import org.apache.maven.plugin.descriptor.PluginDescriptor;
    
    /**
     * Service responsible for checking if plugin's prerequisites are met.
     */
    @FunctionalInterface
    public interface MavenPluginPrerequisitesChecker extends Consumer<PluginDescriptor> {
        /**
         *
         * @param pluginDescriptor
         * @throws IllegalStateException in case the checked prerequisites are not met
         */
        void accept(PluginDescriptor pluginDescriptor);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go

    		return ""
    	}
    	if r.Err != nil {
    		return fmt.Sprintf("%v: type checking error: %v\n", r.GVK, r.Err)
    	}
    	return fmt.Sprintf("%v: %s\n", r.GVK, r.Issues)
    }
    
    // Check preforms the type check against the given policy, and format the result
    // as []ExpressionWarning that is ready to be set in policy.Status
    // The result is nil if type checking returns no warning.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. src/go/types/format.go

    		strings.Repeat(".  ", check.indent),
    		sprintf(check.fset, check.qualifier, true, format, args...),
    	)
    }
    
    // dump is only needed for debugging
    func (check *Checker) dump(format string, args ...any) {
    	fmt.Println(sprintf(check.fset, check.qualifier, true, format, args...))
    }
    
    func (check *Checker) qualifier(pkg *Package) string {
    	// Qualify the package unless it's the package being type-checked.
    	if pkg != check.pkg {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/format.go

    // dump is only needed for debugging
    func (check *Checker) dump(format string, args ...any) {
    	fmt.Println(sprintf(check.qualifier, true, format, args...))
    }
    
    func (check *Checker) qualifier(pkg *Package) string {
    	// Qualify the package unless it's the package being type-checked.
    	if pkg != check.pkg {
    		if check.pkgPathMap == nil {
    			check.pkgPathMap = make(map[string]map[string]bool)
    			check.seenPkgMap = make(map[*Package]bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top