Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,079 for Constraint (0.28 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyResolveIntegrationTest.groovy

                            byAncestor()
                            byConstraint()
                            configuration('extra')
                        }
                    }
                    constraint("org:foo:{strictly 1.0}", "org:foo:1.0")
                    constraint("org:bar:{strictly 1.0}", "org:bar:1.0")
                }
            }
        }
    
        // TODO: This is not desired behavior. We should deprecate and forbid this.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 13:59:13 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/testdata/issue48382.go

    package p
    
    type _ func /* ERROR function type must have no type parameters */ [ /* ERROR empty type parameter list */ ]()
    type _ func /* ERROR function type must have no type parameters */ [ x /* ERROR missing type constraint */ ]()
    type _ func /* ERROR function type must have no type parameters */ [P any]()
    
    var _ = (func /* ERROR function type must have no type parameters */ [P any]())(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 20 20:49:36 UTC 2022
    - 736 bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportTaskIntegrationTest.groovy

    org:foo:1.0 FAILED
       Selection reasons:
          - By constraint: dependency was locked to version '1.0'
       Failures:
          - Could not resolve org:foo:{strictly 1.0}.
              - Cannot find a version of 'org:foo' that satisfies the version constraints:
                   Dependency path ':insight-test:unspecified' --> 'org:foo:1.+'
                   Constraint path ':insight-test:unspecified' --> 'org:foo:1.1'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 15:15:56 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DependencyConstraintFactoryInternal.java

    package org.gradle.api.internal.artifacts.dsl.dependencies;
    
    import org.gradle.api.artifacts.DependencyConstraint;
    import org.gradle.api.artifacts.dsl.DependencyConstraintFactory;
    
    /**
     * Internal API for dependency constraint creation.
     */
    public interface DependencyConstraintFactoryInternal extends DependencyConstraintFactory {
        DependencyConstraint createDependencyConstraint(Object dependencyNotation);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 22:19:06 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. clause/on_conflict.go

    func (OnConflict) Name() string {
    	return "ON CONFLICT"
    }
    
    // Build build onConflict clause
    func (onConflict OnConflict) Build(builder Builder) {
    	if onConflict.OnConstraint != "" {
    		builder.WriteString("ON CONSTRAINT ")
    		builder.WriteString(onConflict.OnConstraint)
    		builder.WriteByte(' ')
    	} else {
    		if len(onConflict.Columns) > 0 {
    			builder.WriteByte('(')
    			for idx, column := range onConflict.Columns {
    				if idx > 0 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Oct 07 05:46:20 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. test/fixedbugs/issue10607.go

    // and external linking mode.
    
    package main
    
    import (
    	"fmt"
    	"os"
    	"os/exec"
    	"path/filepath"
    )
    
    func main() {
    	test("internal")
    	test("external") // The 'cgo' build constraint should imply that a linker is available.
    }
    
    func test(linkmode string) {
    	out, err := exec.Command("go", "run", "-ldflags", "-B=0x12345678 -linkmode="+linkmode, filepath.Join("fixedbugs", "issue10607a.go")).CombinedOutput()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 776 bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/ForcingUsingStrictlyPlatformAlignmentTest.groovy

                            members.each { member ->
                                constraint(member)
                            }
                            noArtifacts = true
                        }
                        // this is used only in BOMs
                        members.each { member ->
                            constraint(member)
                        }
    
                        withModule(MavenHttpModule) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy

            run 'checkWithApi'
    
            then:
            outputContains("""Module org:bar:1.0
       REQUESTED : requested
       SELECTED_BY_RULE : fix comes from component selection rule
       CONSTRAINT : ${useReason?'This reason comes from a constraint':'constraint'}
    """)
            where:
            useReason << [true, false]
        }
    
        @ToBeFixedForConfigurationCache(because = "task exercises the resolution result API")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go

    			if strings.HasPrefix(elem, "!!") {
    				return fmt.Errorf("invalid double negative in build constraint: %s", arg)
    			}
    			elem = strings.TrimPrefix(elem, "!")
    			for _, c := range elem {
    				if !unicode.IsLetter(c) && !unicode.IsDigit(c) && c != '_' && c != '.' {
    					return fmt.Errorf("invalid non-alphanumeric build constraint: %s", arg)
    				}
    			}
    		}
    	}
    	return nil
    }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/api_predicates.go

    //
    // The behavior of AssertableTo is unspecified in three cases:
    //   - if T is Typ[Invalid]
    //   - if V is a generalized interface; i.e., an interface that may only be used
    //     as a type constraint in Go code
    //   - if T is an uninstantiated generic type
    func AssertableTo(V *Interface, T Type) bool {
    	// Checker.newAssertableTo suppresses errors for invalid types, so we need special
    	// handling here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top