- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 532 for checkLine (0.16 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go
} if !bytes.Contains(line, []byte("+build")) { continue } if err := checkLine(string(line), i >= cutoff); err != nil { pass.Reportf(analysisutil.LineStart(tf, i+1), "%s", err) continue } } return nil } // checkLine checks a line that starts with "//" and contains "+build". func checkLine(line string, pastCutoff bool) error { line = strings.TrimPrefix(line, "//")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 4.3K bytes - Viewed (0) -
pkg/kubeapiserver/authorizer/reload.go
filesystem.WatchUntil( ctx, r.reloadInterval, r.initialConfig.ReloadFile, func() { r.checkFile(ctx) }, func(err error) { klog.ErrorS(err, "watching authorization config file") }, ) } func (r *reloadableAuthorizerResolver) checkFile(ctx context.Context) { r.lastLoadedLock.Lock() defer r.lastLoadedLock.Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 9.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileAccess.groovy
} static class FileCheck extends UndeclaredFileAccess { private final String checkKind FileCheck(String filePath, String checkKind) { super(filePath) this.checkKind = checkKind } @Override String getKotlinExpression() { "File(\"${filePath}\").$checkKind()" } @Override String getGroovyExpression() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.6K bytes - Viewed (0) -
src/cmd/compile/internal/types/size.go
// is needed immediately. CheckSize makes sure the // size is evaluated eventually. var deferredTypeStack []*Type func CheckSize(t *Type) { if t == nil { return } // function arg structs should not be checked // outside of the enclosing function. if t.IsFuncArgStruct() { base.Fatalf("CheckSize %v", t) } if defercalc == 0 { CalcSize(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 15K bytes - Viewed (0) -
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) -
testing/precondition-tester/src/test/groovy/org/gradle/test/precondition/PreconditionProbingTest.groovy
* limitations under the License. */ package org.gradle.test.precondition import org.junit.jupiter.api.Assumptions import spock.lang.Specification /** * This class executes a special test suite, checking all the allowed precondition combinations. * * <p> * Each combination can have three outcomes: * <ul> * <li><b>Successful:</b> the precondition combination could be satisfied.</li> * <li>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.3K 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)