- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 152 for circuit (0.4 sec)
-
maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
static boolean matchPattern(ArtifactRepository originalRepository, String pattern) { boolean result = false; String originalId = originalRepository.getId(); // simple checks first to short circuit processing below. if (WILDCARD.equals(pattern) || pattern.equals(originalId)) { result = true; } else { // process the list String[] repos = pattern.split(",");
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sat Feb 17 18:40:11 UTC 2024 - 32.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 05 00:02:47 UTC 2023 - 11.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go
} return nil } // lockPath returns a typePath describing the location of a lock value // contained in typ. If there is no contained lock, it returns nil. // // The seen map is used to short-circuit infinite recursion due to type cycles. func lockPath(tpkg *types.Package, typ types.Type, seen map[types.Type]bool) typePath { if typ == nil || seen[typ] { return nil } if seen == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy
@Override void execute(CompatibilityCheckDetails<String> details) { details.incompatible() } } def "compatibility rules can mark values as incompatible and short-circuit evaluation"() { def attr = Attribute.of(String) given: schema.attribute(attr).compatibilityRules.add(IncompatibleStringsRule) schema.attribute(attr).compatibilityRules.add(BrokenRule)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 16.9K bytes - Viewed (0) -
pilot/pkg/status/distribution/reporter.go
reportbytes, err := yaml.Marshal(report) if err != nil { scope.Errorf("Error serializing Distribution Report: %v", err) return } r.cm.Data[dataField] = string(reportbytes) // TODO: short circuit this write in the leader _, err = CreateOrUpdateConfigMap(ctx, r.cm, r.client) if err != nil { scope.Errorf("Error writing Distribution Report: %v", err) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 30 17:25:17 UTC 2024 - 11.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/start.go
// child. // // On the other hand, if telemetryChildVar were simply unset, then the // delegated go commands would fork themselves recursively. Short-circuit // this recursion. os.Setenv(telemetryChildVar, "2") upload := os.Getenv(telemetryUploadVar) == "1" child(reportCrashes, upload, config.UploadStartTime, config.UploadURL) os.Exit(0) case "2":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 10.8K bytes - Viewed (0) -
pkg/kubelet/kubeletconfig/util/files/files_test.go
errs = append(errs, fmt.Errorf("no prior parent directory in c.expects for file %s", f.name)) continue } dirs[path][filepath.Base(f.name)] = f.data } } // short-circuit test case validation errors if len(errs) > 0 { return errs } // call ReplaceDir for each desired dir for path, files := range dirs { if err := ReplaceDir(fs, path, files); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 07 11:36:13 UTC 2022 - 11.7K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_static.go
// resource when considering pod alignment. // In terms of hints, this is equal to: TopologyHints[NUMANodeAffinity: nil, Preferred: true]. if requested == 0 { return nil } // Short circuit to regenerate the same hints if there are already // guaranteed CPUs allocated to the Container. This might happen after a // kubelet restart, for example.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 06 13:16:15 UTC 2023 - 28.8K bytes - Viewed (0) -
src/go/doc/doc.go
} } // TODO(dmitshur,gri): A relatively high level call to ast.NewPackage with a simpleImporter // ast.Importer implementation is made below. It might be possible to short-circuit and simplify. // Compute package documentation. pkg, _ := ast.NewPackage(fset, goFiles, simpleImporter, nil) // Ignore errors that can happen due to unresolved identifiers. p := New(pkg, importPath, mode)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 11.2K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/controller.go
} return slices.Filter(cfgs, func(c config.Config) bool { return c.Namespace == namespace }) } // hasResources determines if there are any gateway-api resources created at all. // If not, we can short circuit all processing to avoid excessive work. func (kr GatewayResources) hasResources() bool { return len(kr.GatewayClass) > 0 || len(kr.Gateway) > 0 || len(kr.HTTPRoute) > 0 || len(kr.GRPCRoute) > 0 ||
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 05:26:03 UTC 2024 - 13.5K bytes - Viewed (0)