- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 145 for declareNS (0.18 sec)
-
src/cmd/compile/internal/types2/typestring.go
// (say int), point out where it is declared to avoid confusing // error messages. This doesn't need to be super-elegant; we just // need a clear indication that this is not a predeclared name. if w.ctxt == nil && Universe.Lookup(t.obj.name) != nil { if isTypes2 { w.string(fmt.Sprintf(" /* with %s declared at %v */", t.obj.name, t.obj.Pos())) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typexpr.go
// may be different from obj.Parent(). See also Scope.LookupParent doc. scope, obj := check.scope.LookupParent(e.Value, check.pos) switch obj { case nil: if e.Value == "_" { // Blank identifiers are never declared, but the current identifier may // be a placeholder for a receiver type parameter. In this case we can // resolve its type and object from Checker.recvTParamMap. if tpar := check.recvTParamMap[e]; tpar != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 16.6K bytes - Viewed (0) -
src/go/ast/filter.go
// all names (including struct field and interface method names, but // not from parameter lists) that don't pass through the filter f. // // FilterDecl reports whether there are any declared names left after // filtering. func FilterDecl(decl Decl, f Filter) bool { return filterDecl(decl, f, false) } func filterDecl(decl Decl, f Filter, export bool) bool { switch d := decl.(type) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 13.3K bytes - Viewed (0) -
src/go/types/issues_test.go
typecheck(src, &conf, nil) // do not crash want := "\n" + "p:1:27: declared and not used: a\n" + "p:1:30: declared and not used: b\n" + "p:1:33: declared and not used: c\n" + "p:1:36: declared and not used: d\n" + "p:1:39: declared and not used: e\n" if got != want { t.Errorf("got: %swant: %s", got, want) } } func TestIssue25627(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentAttributesRulesIntegrationTest.groovy
} failure.assertThatCause(containsNormalizedString("Incompatible because this component declares attribute 'quality' with value 'canary' and the consumer needed attribute 'quality' with value 'qa'")) } where: fixApplied << [false, true] // for description of the test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:10:53 UTC 2024 - 16.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
typecheck(src, &conf, nil) // do not crash want := "\n" + "p:1:27: declared and not used: a\n" + "p:1:30: declared and not used: b\n" + "p:1:33: declared and not used: c\n" + "p:1:36: declared and not used: d\n" + "p:1:39: declared and not used: e\n" if got != want { t.Errorf("got: %swant: %s", got, want) } } func TestIssue25627(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 26K bytes - Viewed (0) -
README.md
* If it is not, the client will see a useful, clear error. * Check if there is an optional query parameter named `q` (as in `http://127.0.0.1:8000/items/foo?q=somequery`) for `GET` requests. * As the `q` parameter is declared with `= None`, it is optional. * Without the `None` it would be required (as is the body in the case with `PUT`). * For `PUT` requests to `/items/{item_id}`, Read the body as JSON:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 30 13:28:20 UTC 2024 - 22.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java
} catch (IllegalAccessException e) { throw UncheckedException.throwAsUncheckedException(e); } } // Query the declared methods of the meta class for (MetaMethod method : metaClass.getMethods()) { if (method.getName().equals("propertyMissing") && method.getParameterTypes().length == 1) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 29.3K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
Next it will convert and validate the data. So, when you use that `settings` object, you will have data of the types you declared (e.g. `items_per_user` will be an `int`). ### Use the `settings` Then you can use the new `settings` object in your application: ```Python hl_lines="18-20" {!../../../docs_src/settings/tutorial001.py!}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 15.7K bytes - Viewed (0)