Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,131 for Constraint (0.22 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataSerializer.java

                encoder.writeSmallInt(constraints.size());
                for (ComponentVariant.DependencyConstraint constraint : constraints) {
                    componentSelectorSerializer.write(encoder, constraint.getGroup(), constraint.getModule(), constraint.getVersionConstraint(), constraint.getAttributes(), Collections.emptyList());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  2. src/go/build/constraint/vers_test.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package constraint
    
    import (
    	"fmt"
    	"testing"
    )
    
    var tests = []struct {
    	in  string
    	out int
    }{
    	{"//go:build linux && go1.60", 60},
    	{"//go:build ignore && go1.60", 60},
    	{"//go:build ignore || go1.60", -1},
    	{"//go:build go1.50 || (ignore && go1.60)", 50},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 19:39:51 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/LocalOriginDependencyMetadata.java

        LocalOriginDependencyMetadata withTargetAndArtifacts(ComponentSelector target, List<IvyArtifactName> artifacts);
    
        @Override
        LocalOriginDependencyMetadata forced();
    
        /**
         * Is this a dependency constraint created for a dependency lock?
         */
        boolean isFromLock();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 19:31:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/AbstractDependencyMetadataRulesTest.groovy

            then:
            if (supportedInMetadata(metadataType)) {
                assert dependencies.size() == 2
                assert dependencies[0].constraint == addAllDependenciesAsConstraints()
                assert dependencies[1].constraint == addAllDependenciesAsConstraints()
            } else {
                assert dependencies.empty
            }
    
            where:
            metadataType | metadataImplementation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 12:39:10 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. src/go/parser/testdata/interface.go2

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file contains test cases for interfaces containing
    // constraint elements.
    
    package p
    
    type _ interface {
    	m()
    	~int
    	~int|string
    	E
    }
    
    type _ interface {
    	m()
    	~int
    	int | string
    	int | ~string
    	~int | ~string
    }
    
    type _ interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 15:34:22 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  6. test/typeparam/issue48424.go

    // run
    
    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Smoke test for constraint literals with elided interface
    // per issue #48424.
    
    package main
    
    func identity[T int](x T) T {
    	return x
    }
    
    func min[T int | string](x, y T) T {
    	if x < y {
    		return x
    	}
    	return y
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:48:58 UTC 2022
    - 916 bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/override/ComponentOverrideMetadataResolveIntegrationTest.groovy

                root(":", ":test:") {
                    edge('org:foo', 'org:foo:1.0') {
                        byConstraint()
                        artifact(type: 'distribution-tgz')
                    }
                    constraint('org:foo:1.0')
                }
            }
        }
    
        def "The first artifact is used as replacement for metadata if multiple artifacts are declared using #declaration"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 03 18:15:26 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/artifacts/DependencyConstraintMetadata.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.artifacts;
    
    /**
     * Describes a dependency constraint declared in a resolved component's metadata, which typically originates from
     * a component descriptor (Gradle metadata file). This interface can be used to adjust
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 22 14:14:42 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/remove_sharding_custom_call.td

    limitations under the License.
    ==============================================================================*/
    include "stablehlo/dialect/StablehloOps.td"
    
    class IsStringAttrOf<string value> : Constraint<
      CPred<"::llvm::isa_and_nonnull<StringAttr>($_self) && $_self.cast<StringAttr>().getValue() == \"" # value # "\"">,
      "Is a string attribute whose value is \"" # value # "\""
    >;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 07:04:47 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. src/internal/fuzz/counters_unsupported.go

    // TODO: expand the set of supported platforms, with testing. Nothing about
    // the instrumentation is OS specific, but only amd64 and arm64 are
    // supported in the runtime. See src/runtime/libfuzzer*.
    //
    // If you update this constraint, also update internal/platform.FuzzInstrumented.
    //
    //go:build !((darwin || linux || windows || freebsd) && (amd64 || arm64))
    
    package fuzz
    
    // TODO(#48504): re-enable on platforms where instrumentation works.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 17:10:57 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top