Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 428 for Primitive (0.13 sec)

  1. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy

            'keyWithNonStringValue' | NON_STRING_VALUE      | OTHER_VALUE      | false
            'keyWithNonStringValue' | NON_STRING_VALUE      | null             | false
        }
    
        def "replaceAll() uses equals for primitive wrappers and Strings"() {
            def map = getMapUnderTestToWrite(intValue: 100500, stringValue: "value")
            when:
            map.replaceAll { k, v ->
                switch (k) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

            when:
            render optionalOnPrimitive {
                type('Person').property('age')
                primitive(int.class)
                includeLink()
            }
    
            then:
            outputEquals """
    Type 'Person' property 'age' of type int shouldn't be annotated with @Optional.
    
    Reason: Properties of primitive type cannot be optional.
    
    Possible solutions:
      1. Remove the @Optional annotation.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectingInstantiatorTest.groovy

            when:
            def result = instantiator.newInstance(HasInjectConstructor, 12)
    
            then:
            result.param1 == "string"
            result.param2 == 12
        }
    
        def "unboxes primitive types"() {
            when:
            def result = instantiator.newInstance(AcceptsPrimitiveTypes, 12, true)
    
            then:
            result.param1 == 12
            result.param2
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 04:41:06 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeToken.java

        if (isPrimitive()) {
          @SuppressWarnings("unchecked") // this is a primitive class
          Class<T> type = (Class<T>) runtimeType;
          return of(Primitives.wrap(type));
        }
        return this;
      }
    
      private boolean isWrapper() {
        return Primitives.allWrapperTypes().contains(runtimeType);
      }
    
      /**
       * Returns the corresponding primitive type if this is a wrapper type; otherwise returns {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt

        public fun KaCallableSymbol.getDispatchReceiverType(): KaType? =
            withValidityAssertion { analysisSession.typeProvider.getDispatchReceiverType(this) }
    
        /**
         * If provided [KaType] is a primitive type array or [Array], returns the type of the array's elements. Otherwise, returns null.
         */
        public fun KaType.getArrayElementType(): KaType? =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/ops.h

    };
    
    /// Represents a tensor value that can be used as an operand to an Operation.
    class Input {
     public:
      /// Initializer enables constructing an Input object from various kinds of C++
      /// constants such as simple primitive constants and nested initializer lists
      /// representing a multi-dimensional array. Initializer constructors are all
      /// templates, so the aforementioned kinds of C++ constants can be used to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/Stats.java

     *
     * <ul>
     *   <li>If all the values you want to summarize are already known, use the appropriate {@code
     *       Stats.of} factory method below. Primitive arrays, iterables and iterators of any kind of
     *       {@code Number}, and primitive varargs are supported.
     *   <li>Or, to avoid storing up all the data first, create a {@link StatsAccumulator} instance,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 22K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

    - Property 'thing' is not valid: it must both have an abstract getter and a setter"""
        }
    
        def "allows 'is' as a prefix for getter on non primitive Boolean in #type"() {
            assumeTrue('This test requires bundled Groovy 3', VersionNumber.parse(GroovySystem.version).major == 3)
            def bindings = extract(BoxedBoolean)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-asm/src/main/java/org/gradle/model/internal/asm/MethodVisitorScope.java

            _CHECKCAST(boxedType);
            _INVOKEVIRTUAL(boxedType, unboxMethod, unboxMethodDescriptor);
        }
    
        /**
         * Boxes the value at the top of the stack, if primitive
         */
        public void _AUTOBOX(Class<?> valueClass, Type valueType) {
            if (valueClass.isPrimitive()) {
                // Box value
                Type boxedType = getType(getWrapperTypeForPrimitiveType(valueClass));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 15:31:29 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. src/crypto/internal/nistec/fiat/generate.go

    		log.Printf("Generating %s_fiat64.go...", c.Prefix)
    		cmd := exec.Command("docker", "run", "--rm", "--entrypoint", "word_by_word_montgomery",
    			"fiat-crypto:v0.0.9", "--lang", "Go", "--no-wide-int", "--cmovznz-by-mul",
    			"--relax-primitive-carry-to-bitwidth", "32,64", "--internal-static",
    			"--public-function-case", "camelCase", "--public-type-case", "camelCase",
    			"--private-function-case", "camelCase", "--private-type-case", "camelCase",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 9.1K bytes
    - Viewed (0)
Back to top