Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 332 for CONSTRUCTOR (0.23 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

                Class<?> clazz = classNameTransformer.transform(type);
                if (clazz != null && causes.size() <= 1) {
                    Constructor<?> constructor = clazz.getConstructor(String.class);
                    Throwable reconstructed = (Throwable) constructor.newInstance(message);
                    if (!causes.isEmpty()) {
                        reconstructed.initCause(causes.get(0));
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/DefaultStructBindingsStore.java

        }
    
        private static Constructor<?> findCustomConstructor(Class<?> typeClass) {
            Constructor<?>[] constructors = typeClass.getConstructors();
            for (Constructor<?> constructor : constructors) {
                if (constructor.getParameterTypes().length > 0) {
                    return constructor;
                }
            }
            return null;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingMap.java

    public abstract class ForwardingMap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingObject implements Map<K, V> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
      protected ForwardingMap() {}
    
      @Override
      protected abstract Map<K, V> delegate();
    
      @Override
      public int size() {
        return delegate().size();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingMap.java

    public abstract class ForwardingMap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingObject implements Map<K, V> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
      protected ForwardingMap() {}
    
      @Override
      protected abstract Map<K, V> delegate();
    
      @Override
      public int size() {
        return delegate().size();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. 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: Tue Feb 13 14:28:25 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

                }
            }
    
            Constructor<?>[] constructors = source.getDeclaredConstructors();
            for (Constructor<?> constructor : constructors) {
                if (constructor.getParameterTypes().length > 0) {
                    problems.add("Cannot declare a constructor that takes arguments");
                    break;
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

      val socketPolicy: SocketPolicy
    
      val bodyDelayNanos: Long
      val headersDelayNanos: Long
    
      val pushPromises: List<PushPromise>
    
      val settings: Settings
    
      @JvmOverloads
      constructor(
        code: Int = 200,
        headers: Headers = headersOf(),
        body: String = "",
        inTunnel: Boolean = false,
        socketPolicy: SocketPolicy = KeepOpen,
      ) : this(
        Builder()
          .apply {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            return isAnnotatedWithIncubating(field) || isAnnotatedWithIncubating(field.jApiClass)
        }
    
        private static boolean isIncubatingConstructor(JApiConstructor constructor) {
            return isAnnotatedWithIncubating(constructor) || isAnnotatedWithIncubating(constructor.jApiClass)
        }
    
        protected boolean isOverride(JApiMethod method) {
            // No point in parsing the source file if the method is not there any more.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/compilerFacility/AbstractCompilerFacilityTest.kt

    import org.jetbrains.kotlin.psi.KtCodeFragment
    import org.jetbrains.kotlin.psi.KtElement
    import org.jetbrains.kotlin.psi.KtFile
    import org.jetbrains.kotlin.psi.KtPsiFactory
    import org.jetbrains.kotlin.test.Constructor
    import org.jetbrains.kotlin.test.builders.TestConfigurationBuilder
    import org.jetbrains.kotlin.test.directives.ConfigurationDirectives
    import org.jetbrains.kotlin.test.directives.JvmEnvironmentConfigurationDirectives
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.td

        "mlir::tf_device::TensorFlowDeviceDialect"
      ];
      let constructor = "mlir::TFTPU::CreateTPURewritePass()";
    }
    
    def TPUVariableRuntimeReformattingPass : Pass<"tf-tpu-variable-runtime-reformatting", "ModuleOp"> {
      let summary = "Adds device variable formatting op to allow compilation-guided "
               "variable formatting.";
      let constructor = "TFTPU::CreateTPUVariableRuntimeReformattingPass()";
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top