Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 233 for CONSTRUCTOR (0.42 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy

            failure.assertHasCause('Could not create an instance of type Thing.')
            failure.assertHasCause('Unable to determine constructor argument #1: missing parameter of type Unknown, or no service of type Unknown')
        }
    
        def "object creation fails with ObjectInstantiationException when constructor throws an exception"() {
            given:
            buildFile """
            class Thing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 07 02:25:12 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCall.kt

     * ```
     * open class SuperClass(i: Int)
     * class SubClass1: SuperClass(1) // a call to constructor of `SuperClass` with single argument `1`
     * class SubClass2 : SuperClass {
     *   constructor(i: Int): super(i) {} // a call to constructor of `SuperClass` with single argument `i`
     *   constructor(): this(2) {} // a call to constructor of `SubClass2` with single argument `2`.
     * }
     * ```
     */
    public class KaDelegatedConstructorCall(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          return arbitraryConstantInstanceOrNull(type);
        }
        final Constructor<T> constructor;
        try {
          constructor = type.getConstructor();
        } catch (NoSuchMethodException e) {
          return arbitraryConstantInstanceOrNull(type);
        }
        constructor.setAccessible(true); // accessibility check is too slow
        try {
          return constructor.newInstance();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      }
    
      /** constructor creates array of given size with all elements zero */
      public void testConstructor() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
          assertBitEquals(0.0, aa.get(i));
        }
      }
    
      /** constructor with null array throws NPE */
      public void testConstructor2NPE() {
        double[] a = null;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectContainerExtensions.kt

     * the purpose of providing specialized implementations for the `provideDelegate` operator
     * based on the static type of the provider.
     */
    class RegisteringDomainObjectDelegateProvider<T>
    private constructor(
        internal val delegateProvider: T
    ) {
        companion object {
            fun <T> of(delegateProvider: T) =
                RegisteringDomainObjectDelegateProvider(delegateProvider)
        }
    }
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 22:09:44 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. tensorflow/cc/experimental/libtf/value.h

      /// TaggedValue constructor for type FLOAT32.
      explicit TaggedValue(float f32) : type_(FLOAT32), data_(Float32(f32)) {}
      /// TaggedValue constructor for type INT64.
      explicit TaggedValue(int64_t i64) : type_(INT64), data_(Int64(i64)) {}
      /// TaggedValue constructor for type FLOAT32.
      explicit TaggedValue(Float32 f32) : type_(FLOAT32), data_(f32) {}
      /// TaggedValue constructor for type INT64.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          return arbitraryConstantInstanceOrNull(type);
        }
        final Constructor<T> constructor;
        try {
          constructor = type.getConstructor();
        } catch (NoSuchMethodException e) {
          return arbitraryConstantInstanceOrNull(type);
        }
        constructor.setAccessible(true); // accessibility check is too slow
        try {
          return constructor.newInstance();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td

        include verifying that clusters have been created and have been outside
        compiled, the result is device agnostic and in TF functional dialect &
        that the device attribute exists.
      }];
    
      let constructor = "tensorflow::tf2xla::internal::CreateVerifyClusteringPass()";
    }
    
    def TPUClusterFormationPass : Pass<"tf-tpu-cluster-formation", "ModuleOp"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. tensorflow/cc/framework/scope.h

    /// Graph object to which operations are added when the new scope or its
    /// children are used by an Op constructor. The new scope also has a Status
    /// object which will be used to indicate errors by Op-constructor functions
    /// called on any child scope. The Op-constructor functions have to check the
    /// scope's status by calling the ok() method before proceeding to construct the
    /// op.
    ///
    /// Thread safety:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:08:33 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/ZincScalaCompilerFactory.java

            }
            if (checkingClass != null) {
                try {
                    Constructor<ClassLoaderCache> constructor = ClassLoaderCache.class.getConstructor(abstractCacheClass);
                    Object cache = checkingClass.getConstructors()[0].newInstance(COMPILER_CLASSLOADER_CACHE_SIZE);
                    COMPILER_CLASSLOADER_CACHE = constructor.newInstance(cache);
                } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top