Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 145 for declareNS (0.17 sec)

  1. src/go/types/decl.go

    		assert(m.name != "_")
    		if alt := mset.insert(m); alt != nil {
    			if alt.Pos().IsValid() {
    				check.errorf(m, DuplicateMethod, "method %s.%s already declared at %v", obj.Name(), m.name, alt.Pos())
    			} else {
    				check.errorf(m, DuplicateMethod, "method %s.%s already declared", obj.Name(), m.name)
    			}
    			continue
    		}
    
    		if base != nil {
    			base.AddMethod(m)
    		}
    	}
    }
    
    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/cmd/compile/internal/types2/decl.go

    		assert(m.name != "_")
    		if alt := mset.insert(m); alt != nil {
    			if alt.Pos().IsKnown() {
    				check.errorf(m.pos, DuplicateMethod, "method %s.%s already declared at %v", obj.Name(), m.name, alt.Pos())
    			} else {
    				check.errorf(m.pos, DuplicateMethod, "method %s.%s already declared", obj.Name(), m.name)
    			}
    			continue
    		}
    
    		if base != nil {
    			base.AddMethod(m)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/component_metadata_rules.adoc

    ====
    
    By default, rules declared in a project will *override* whatever is declared in settings.
    It is possible to change this default, for example to always prefer the settings rules:
    
    .Preferring rules declared in settings
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncompatibleTasksIntegrationTest.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. src/unsafe/unsafe.go

    // only as *reflect.SliceHeader and *reflect.StringHeader pointing at actual
    // slices or strings, never as plain structs.
    // A program should not declare or allocate variables of these struct types.
    //
    //	// INVALID: a directly-declared header will not hold Data as a reference.
    //	var hdr reflect.StringHeader
    //	hdr.Data = uintptr(unsafe.Pointer(p))
    //	hdr.Len = n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:45:20 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/stmt0.go

    	case a /* ERROR "send or receive" */ := ch:
    	}
    
    	// test for issue 9570: ch2 in second case falsely resolved to
    	// ch2 declared in body of first case
    	ch1 := make(chan int)
    	ch2 := make(chan int)
    	select {
    	case <-ch1:
    		var ch2 /* ERROR "declared and not used: ch2" */ chan bool
    	case i := <-ch2:
    		print(i + 1)
    	}
    }
    
    func gos() {
    	go 1; /* ERROR "must be function call" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api.go

    	//
    	// Invariant: Uses[id].Pos() != id.Pos()
    	Uses map[*syntax.Name]Object
    
    	// Implicits maps nodes to their implicitly declared objects, if any.
    	// The following node and object types may appear:
    	//
    	//     node               declared object
    	//
    	//     *syntax.ImportDecl    *PkgName for imports without renames
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. src/go/types/api.go

    	//
    	// Invariant: Uses[id].Pos() != id.Pos()
    	Uses map[*ast.Ident]Object
    
    	// Implicits maps nodes to their implicitly declared objects, if any.
    	// The following node and object types may appear:
    	//
    	//     node               declared object
    	//
    	//     *ast.ImportSpec    *PkgName for imports without renames
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/IvyDependencyDescriptorTest.groovy

            then:
            ConfigurationSelectionException e = thrown()
            e.message == "A dependency was declared from configuration 'from' to configuration 'to' which is not declared in the descriptor for thing b."
    
            where:
            lhs    | rhs
            "from" | "to"
            "*"    | "to"
            "%"    | "to"
            "%"    | "to(to)"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy

            then:
            def e = thrown(ConfigurationSelectionException)
            e.message == "A dependency was declared on configuration 'to' which is not declared in the descriptor for [target]."
        }
    
        def "excludes nothing when no exclude rules provided"() {
            def moduleExclusions = new ModuleExclusions()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 25.3K bytes
    - Viewed (0)
Back to top