Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,398 for checkers (0.22 sec)

  1. src/go/types/decl.go

    		check.trace(names[0].Pos(), "type params = %v", tparams[len(tparams)-len(names):])
    	}
    
    	return tparams
    }
    
    func (check *Checker) collectMethods(obj *TypeName) {
    	// get associated methods
    	// (Checker.collectObjects only collects methods with non-blank names;
    	// Checker.resolveBaseTypeName ensures that obj is not an alias name
    	// if it has attached methods.)
    	methods := check.methods[obj]
    	if methods == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  2. src/go/types/api_predicates.go

    //     as a type constraint in Go code
    //   - if T is an uninstantiated generic type
    func AssertableTo(V *Interface, T Type) bool {
    	// Checker.newAssertableTo suppresses errors for invalid types, so we need special
    	// handling here.
    	if !isValid(T.Underlying()) {
    		return false
    	}
    	return (*Checker)(nil).newAssertableTo(nopos, V, T, nil)
    }
    
    // AssignableTo reports whether a value of type V is assignable to a variable
    // of type T.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/typexpr.go

    		check.errorf(e, NotAType, "%s is not a type", obj.Name())
    		// avoid "declared but not used" errors
    		// (don't use Checker.use - we don't want to evaluate too much)
    		if v, _ := obj.(*Var); v != nil && v.pkg == check.pkg /* see Checker.use1 */ {
    			v.used = true
    		}
    		return
    	}
    
    	// Type-check the object.
    	// Only call Checker.objDecl if the object doesn't have a type yet
    	// (in which case we must actually determine it) or the object is a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SubtypingComponent.kt

    import org.jetbrains.kotlin.analysis.api.lifetime.KaLifetimeToken
    import org.jetbrains.kotlin.analysis.api.types.KaType
    import org.jetbrains.kotlin.types.checker.IsErrorTypeEqualToAnythingTypeChecker
    import org.jetbrains.kotlin.types.checker.KotlinTypeChecker
    import org.jetbrains.kotlin.types.checker.NewKotlinTypeCheckerImpl
    
    internal class KaFe10SubtypingComponent(
        override val analysisSession: KaFe10Session
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/decl.go

    	check.declare(check.scope, name, tname, scopePos)
    	return tpar
    }
    
    func (check *Checker) collectMethods(obj *TypeName) {
    	// get associated methods
    	// (Checker.collectObjects only collects methods with non-blank names;
    	// Checker.resolveBaseTypeName ensures that obj is not an alias name
    	// if it has attached methods.)
    	methods := check.methods[obj]
    	if methods == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  6. src/go/types/badlinkname.go

    //   - github.com/goplus/gox
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname badlinkname_Checker_infer go/types.(*Checker).infer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 702 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go

    	var check checker
    	check.init(pass)
    	defer check.finish()
    
    	// We cannot use the Go parser, since this may not be a Go source file.
    	// Read the raw bytes instead.
    	content, tf, err := analysisutil.ReadFile(pass, filename)
    	if err != nil {
    		return err
    	}
    
    	check.file(token.Pos(tf.Base()), string(content))
    	return nil
    }
    
    type checker struct {
    	pass         *analysis.Pass
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. cmd/sftp-server.go

    	// username in authentication request matches to identities in certificate
    	// and that certificate type is correct.
    	checker := ssh.CertChecker{}
    	checker.IsUserAuthority = func(k ssh.PublicKey) bool {
    		return subtle.ConstantTimeCompare(caPublicKey.Marshal(), k.Marshal()) == 1
    	}
    
    	_, err = checker.Authenticate(c, clientKey)
    	return
    }
    
    type sftpLogger struct{}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. src/sync/cond.go

    // are attempting to lock c.L, they may be awoken before a "waiting" goroutine.
    func (c *Cond) Signal() {
    	c.checker.check()
    	runtime_notifyListNotifyOne(&c.notify)
    }
    
    // Broadcast wakes all goroutines waiting on c.
    //
    // It is allowed but not required for the caller to hold c.L
    // during the call.
    func (c *Cond) Broadcast() {
    	c.checker.check()
    	runtime_notifyListNotifyAll(&c.notify)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesErrorHandlingIntegTest.groovy

            repositoryInteractions {
                'org.utils:api:1.2' {
                    allowAll()
                }
            }
    
            then:
            fails ':checkDeps'
            GradleContextualExecuter.configCache || failure.assertHasDescription("Execution failed for task ':checkDeps'.")
            failure.assertHasFileName("Build file '$buildFile.path'")
            failure.assertHasLineNumber(lines + 10)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top