Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 211 for traits (0.1 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/DynamicGroovyPluginMixin.groovy

    /**
     * A set of helpers to generate a Groovy plugin with provided code in buildSrc and apply it to the project under test.
     * The trait is intended to be mixed into something that extends {@link org.gradle.integtests.fixtures.AbstractIntegrationSpec}.
     */
    trait DynamicGroovyPluginMixin {
        void withPluginCode(String imports, String codeUnderTest, boolean enableIndy) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiConnection.groovy

        }
    }
    
    /**
     * This trait is used to add the missing methods to the ToolingApiConnection class without actually deriving from ProjectConnection.
     * While still allowing the ToolingApiConnection to be used as a ProjectConnection.
     * This avoids loading the ProjectConnection class from the test code and postbones loading to the tooling api magic.
     */
    
    trait ProjectConnectionTrait implements ProjectConnection {
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. platforms/jvm/scala/src/integTest/resources/org/gradle/scala/compile/IncrementalScalaCompileIntegrationTest/recompilesDependentClasses/NewIPerson.scala

    trait IPerson {
        def getName(): String
        def getAddress(): String
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 72 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_op_quant_spec.h

    #include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h"
    
    namespace mlir {
    namespace quant {
    
    // Check if the op has data movement trait. Ops with this trait do not perform
    // any computations but just move data and has one result operand.
    bool IsOpWithDataMovementTrait(Operation* op);
    
    // Check if the op is quantizable. Currently, the scope of quantizable op is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. tests/integration/ambient/untaint/main_test.go

    		// TODO: log
    		return
    	}
    
    	for _, node := range nodes.Items {
    		var taints []corev1.Taint
    		for _, taint := range node.Spec.Taints {
    			if taint.Key == "cni.istio.io/not-ready" {
    				continue
    			}
    			taints = append(taints, taint)
    		}
    		if len(taints) != len(node.Spec.Taints) {
    			node.Spec.Taints = taints
    			_, err := nodeC.Update(context.TODO(), &node, metav1.UpdateOptions{})
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 14:58:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/RunnerFactory.groovy

     */
    
    package org.gradle.smoketests
    
    import groovy.transform.SelfType
    import org.gradle.util.internal.VersionNumber
    
    /**
     * Implementing this trait means that a class knows how to create runners for testing Android and Kotlin plugins.
     */
    @SelfType(AbstractSmokeTest)
    trait RunnerFactory {
    
        SmokeTestGradleRunner mixedRunner(boolean parallel, String agpVersion, VersionNumber kgpVersion, String... tasks) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. platforms/jvm/scala/src/integTest/resources/org/gradle/scala/compile/IncrementalScalaCompileIntegrationTest/recompilesDependentClasses/src/main/scala/IPerson.scala

    trait IPerson {
        def getName(): String
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 43 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/scala/customizedLayout/groovy/src/scala/org/gradle/sample/Named.scala

    package org.gradle.sample
    
    trait Named {
      def names: List[String]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 69 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/scala/customizedLayout/kotlin/src/scala/org/gradle/sample/Named.scala

    package org.gradle.sample
    
    trait Named {
      def names: List[String]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 69 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeref.go

    // This is especially usefully when the schema is not known or available.
    type TypeRef struct {
    	celObjectType *types.Type
    	celTypeType   *types.Type
    }
    
    func (r *TypeRef) HasTrait(trait int) bool {
    	return common.ObjectTraits|trait != 0
    }
    
    // TypeName returns the name of this TypeRef.
    func (r *TypeRef) TypeName() string {
    	return r.celObjectType.TypeName()
    }
    
    // Val returns an instance given the fields.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top