Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 594 for instantiation (0.32 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/ClassGenerator.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.internal.instantiation.generator;
    
    import org.gradle.api.Describable;
    import org.gradle.internal.instantiation.ClassGenerationException;
    import org.gradle.internal.instantiation.InstanceGenerator;
    import org.gradle.internal.service.ServiceLookup;
    
    import javax.annotation.Nullable;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/inst_test.go

    		t.Fatalf("Failed: %v:\nOutput: %s\n", err, output)
    	}
    
    	// Test that there is exactly one shape-based instantiation of Sort in
    	// the executable.
    	cmd = testenv.Command(t, gotool, "tool", "nm", dest)
    	if output, err = cmd.CombinedOutput(); err != nil {
    		t.Fatalf("Failed: %v:\nOut: %s\n", err, output)
    	}
    	// Look for shape-based instantiation of Sort, but ignore any extra wrapper
    	// ending in "-tramp" (which are created on riscv).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/InstantiationScheme.java

         */
        InstantiationScheme withServices(ServiceLookup services);
    
        /**
         * Returns the instantiator which creates instances using a default set of services, based on the configuration of this scheme.
         */
        InstanceGenerator instantiator();
    
        /**
         * Returns an instantiator that creates instances to be deserialized, based on the configuration of this scheme.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/IdentityClassGenerator.java

     * limitations under the License.
     */
    
    package org.gradle.internal.instantiation.generator;
    
    import com.google.common.collect.Ordering;
    import org.gradle.api.Describable;
    import org.gradle.internal.deprecation.DeprecationLogger;
    import org.gradle.internal.instantiation.ClassGenerationException;
    import org.gradle.internal.instantiation.InstanceGenerator;
    import org.gradle.internal.service.ServiceLookup;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/mono.go

    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    	. "internal/types/errors"
    )
    
    // This file implements a check to validate that a Go package doesn't
    // have unbounded recursive instantiation, which is not compatible
    // with compilers using static instantiation (such as
    // monomorphization).
    //
    // It implements a sort of "type flow" analysis by detecting which
    // type parameters are instantiated with other type parameters (or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 00:05:29 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. test/typeparam/issue50002.go

    		}()
    	}
    	_ = x.(A)
    	if !shouldMatch {
    		fmt.Printf("Should have panicked")
    	}
    }
    
    func main() {
    	// Test instantiation where the type switch/type asserts can't possibly succeed
    	// (since string does not implement I[byte]).
    	F[byte, string](S{}, false)
    
    	// Test instantiation where the type switch/type asserts should succeed
    	// (since S does implement I[byte])
    	F[byte, S](S{}, true)
    	F[byte, S](I[byte](S{}), true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. test/typeparam/shape1.go

    // license that can be found in the LICENSE file.
    
    package main
    
    type I interface {
    	foo() int
    }
    
    // There should be one instantiation of f for both squarer and doubler.
    // Similarly, there should be one instantiation of f for both *incrementer and *decrementer.
    func f[T I](x T) int {
    	return x.foo()
    }
    
    type squarer int
    
    func (x squarer) foo() int {
    	return int(x*x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 855 bytes
    - Viewed (0)
  8. maven-compat/src/test/resources/org/apache/maven/artifact/resolver/ArtifactUpdatePolicyTest.xml

        <component>
          <role>org.apache.maven.wagon.Wagon</role>
          <role-hint>testfile</role-hint>
          <implementation>org.apache.maven.artifact.resolver.TestFileWagon</implementation>
          <instantiation-strategy>per-lookup</instantiation-strategy>
        </component>
      </components>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Nov 27 22:32:16 UTC 2008
    - 1.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/operations/OperationIdentifierTest.groovy

        def "allows instantiation with non-zero values"() {
            expect:
            new OperationIdentifier(-1).getId() == -1
            new OperationIdentifier(1).getId() == 1
            new OperationIdentifier(Long.MAX_VALUE).getId() == Long.MAX_VALUE
            new OperationIdentifier(Long.MIN_VALUE).getId() == Long.MIN_VALUE
        }
    
        def "disallows instantiation with a value of 0"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/TaskFactoryTest.groovy

    import org.gradle.api.reflect.ObjectInstantiationException
    import org.gradle.api.tasks.TaskInstantiationException
    import org.gradle.internal.instantiation.DeserializationInstantiator
    import org.gradle.internal.instantiation.InstanceGenerator
    import org.gradle.internal.instantiation.InstantiationScheme
    import org.gradle.test.fixtures.AbstractProjectBuilderSpec
    import org.gradle.util.Path
    import org.gradle.util.TestUtil
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 25 21:08:17 UTC 2022
    - 4.9K bytes
    - Viewed (0)
Back to top