- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 375 for Checking (0.24 sec)
-
src/go/types/check.go
// guard against this behavior changing during the type checking pass. // Therefore we implement the following rule: any number of goroutines can type // check concurrently with the same EnableAlias value, but if any goroutine // tries to type check concurrently with a different EnableAlias value, we // panic. // // To achieve this, _aliasAny is a state machine: // // 0: no type checking is occurring
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check.go
// during the type checking pass. Therefore we implement the following rule: // any number of goroutines can type check concurrently with the same // EnableAlias value, but if any goroutine tries to type check concurrently // with a different EnableAlias value, we panic. // // To achieve this, _aliasAny is a state machine: // // 0: no type checking is occurring
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go
// considered "printf wrappers"; calls to them are subject to the same // checking. In this example, logf is a printf wrapper: // // func logf(level int, format string, args ...any) { // if enabled(level) { // log.Printf(format, args...) // } // } // // logf(3, "invalid request: %v") // logf format reads arg 1, but call has 0 args // // To enable printf checking on a function that is not found by this
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 3.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stdlib_test.go
} start := time.Now() // Though we read files while parsing, type-checking is otherwise CPU bound. // // This doesn't achieve great CPU utilization as many packages may block // waiting for a common import, but in combination with the non-deterministic // map iteration below this should provide decent coverage of concurrent // type-checking (see golang/go#47729). cpulimit := make(chan struct{}, runtime.GOMAXPROCS(0))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:18:33 UTC 2024 - 13.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go
// TypeCheckingResult holds the issues found during type checking, any returned // error, and the gvk that the type checking is performed against. type TypeCheckingResult struct { // GVK is the associated GVK GVK schema.GroupVersionKind // Issues contain machine-readable information about the typechecking result. Issues error // Err is the possible error that was encounter during type checking. Err error }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 15.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go
// "/livez" to mux. *All handlers* for mux must be specified in // exactly one call to InstallHandler. Calling InstallHandler more // than once for the same mux will result in a panic. func InstallLivezHandler(mux mux, checks ...HealthChecker) { InstallPathHandler(mux, "/livez", checks...) } // InstallPathHandler registers handlers for health checking on
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 19:11:24 UTC 2024 - 10.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named.go
// 4. instantiated from a generic type // // In cases 1, 3, and 4, it is possible that the underlying type or methods of // N may not be immediately available. // - During type-checking, we allocate N before type-checking its underlying // type or methods, so that we may resolve recursive references. // - When loading from export data, we may load its methods and underlying // type lazily using a provided load function.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 23.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api.go
// Package types2 declares the data types and implements // the algorithms for type-checking of Go packages. Use // Config.Check to invoke the type checker for a package. // Alternatively, create a new type checker with NewChecker // and invoke it incrementally by calling Checker.Files. // // Type-checking consists of several interdependent phases: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:48:53 UTC 2024 - 17.4K bytes - Viewed (0) -
src/go/types/api.go
// Package types declares the data types and implements // the algorithms for type-checking of Go packages. Use // [Config.Check] to invoke the type checker for a package. // Alternatively, create a new type checker with [NewChecker] // and invoke it incrementally by calling [Checker.Files]. // // Type-checking consists of several interdependent phases: // // Name resolution maps each identifier ([ast.Ident]) in the program
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0) -
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/permissions/KaAnalysisPermissionChecker.kt
import com.intellij.openapi.project.Project import org.jetbrains.kotlin.analysis.api.platform.KaEngineService /** * [KaAnalysisPermissionChecker] is an *engine service* which allows checking whether analysis is currently allowed. */ public interface KaAnalysisPermissionChecker : KaEngineService { public fun isAnalysisAllowed(): Boolean public fun getRejectionReason(): String
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:57:40 UTC 2024 - 855 bytes - Viewed (0)