Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 229 for STRICT (0.14 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/strict/StrictVersionConstraintsFeatureInteractionIntegrationTest.groovy

     */
    package org.gradle.integtests.resolve.strict
    
    import org.gradle.integtests.fixtures.GradleMetadataResolveRunner
    import org.gradle.integtests.fixtures.RequiredFeature
    import org.gradle.integtests.resolve.AbstractModuleDependencyResolveTest
    
    class StrictVersionConstraintsFeatureInteractionIntegrationTest extends AbstractModuleDependencyResolveTest {
        def "can turn constraint into strict constraint by using a component metadata rule"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 15K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/poset.go

    // A poset edge. The zero value is the null/empty edge.
    // Packs target node index (31 bits) and strict flag (1 bit).
    type posetEdge uint32
    
    func newedge(t uint32, strict bool) posetEdge {
    	s := uint32(0)
    	if strict {
    		s = 1
    	}
    	return posetEdge(t<<1 | s)
    }
    func (e posetEdge) Target() uint32 { return uint32(e) >> 1 }
    func (e posetEdge) Strict() bool   { return uint32(e)&1 != 0 }
    func (e posetEdge) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/dependency_downgrade_and_exclude.adoc

    ====
    
    [[sec:strict-version-consequences]]
    === Consequences of using strict versions
    
    Using a strict version must be carefully considered, in particular by library authors.
    As the _producer_, a strict version will effectively behave like a _force_: the version declaration takes precedence over whatever is found in the transitive dependency graph.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/strict/EndorseStrictVersionsIntegrationTest.groovy

       Constraint path ':test:unspecified' --> 'org:platform-b:1.0' (runtime) --> 'org:foo:{strictly 2.0}'"""
        }
    
        def "a module from which strict versions are endorsed can itself be influenced by strict versions endorsed form elsewhere"() {
            given:
            repository {
                'org:platform:1.0'() {
                    constraint(group: 'org', artifact: 'foo', strictly: '1.0')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/AbstractRichVersionConstraintsIntegrationTest.groovy

    import org.gradle.test.fixtures.ivy.IvyModule
    import spock.lang.Issue
    
    abstract class AbstractRichVersionConstraintsIntegrationTest extends AbstractModuleDependencyResolveTest {
    
        void "can declare a strict dependency onto an external component"() {
            given:
            repository {
                'org:foo:1.0'()
            }
    
            buildFile << """
                dependencies {
                    conf('org:foo:1.0!!')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 15:37:32 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/strict/StrictVersionConstraintsIntegrationTest.groovy

                    }
                    module('org:bar:1.0') {
                        edge('org:foo:2.0', 'org:foo:1.0')
                    }
                }
            }
        }
    
        def "a strict constraint wins over a nested strict constraint"() {
            boolean publishedConstraintsSupported = gradleMetadataPublished
    
            given:
            repository {
                'org:a:1.0' {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy

            then:
            LockfileFixture.verifyCustomLockfile(lockFile, 'classpath', ['org.foo:foo-plugin:1.1'])
        }
    
        def 'strict locks on buildscript classpath does not mean strict locks on project (initial unique: #unique)'() {
            given:
            mavenRepo.module('org.foo', 'foo-plugin', '1.0').publish()
            mavenRepo.module('org.foo', 'foo-plugin', '1.1').publish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/peer_authentication_simulation_test.go

       matchLabels:
         app: foo
     mtls:
       mode: STRICT
     portLevelMtls:
       9000:
         mode: DISABLE
    ---`
    	paDisableWithStrictOnPort9000 := `
    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
     name: default
    spec:
     selector:
       matchLabels:
         app: foo
     mtls:
       mode: DISABLE
     portLevelMtls:
       9000:
         mode: STRICT
    ---`
    	paDisableWithPermissiveOnPort9000 := `
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/DefaultDependencyLockingProviderTest.groovy

        }
    
        def 'fails with missing lockfile in strict mode (Unique: #unique)'() {
            given:
            provider.getLockMode().set(LockMode.STRICT)
    
            when:
            provider.loadLockState('conf', owner)
    
            then:
            def ex = thrown(MissingLockStateException)
            1 * owner.getCapitalizedDisplayName() >> "Owner"
            ex.message == 'Locking strict mode: Owner is locked but does not have lock state.'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. maven-di/src/main/java/org/apache/maven/di/impl/Types.java

            Class<?> fromRawClazz = getRawType(from);
            if (strict && !toRawClazz.equals(fromRawClazz)) {
                return false;
            }
            if (!strict && !toRawClazz.isAssignableFrom(fromRawClazz)) {
                return false;
            }
            if (toRawClazz.isArray()) {
                return true;
            }
            Type[] fromTypeArguments = getActualTypeArguments(from);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top