Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 244 for Primitive (0.14 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ArrayOfPrimitiveValueSnapshot.java

        public <S> S coerce(Class<S> type) {
            return null;
        }
    
        private byte getPrimitiveTypeCode() {
            return (byte) primitiveType.ordinal();
        }
    
        /**
         * The primitive array type.
         * <br>
         * <b>IMPORTANT: the order in which the enums are defined here matters and should be considered part of the
         * cross-version protocol since the {@link Enum#ordinal()} is part of the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          derWriter.writeUtf8("a".repeat(201))
        }
    
        assertThat(buffer.readByteString(3)).isEqualTo("1e81c9".decodeHex())
        assertThat(buffer.readUtf8()).isEqualTo("a".repeat(201))
      }
    
      @Test fun `decode primitive bit string`() {
        val buffer =
          Buffer()
            .write("0307040A3B5F291CD0".decodeHex())
    
        val derReader = DerReader(buffer)
    
        derReader.read("test") { header ->
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelGroovyScalarConfigurationIntegrationTest.groovy

            'theLong'       | Long
            'thelong'       | long
            'theshort'      | short
            'theShort'      | Short
            'thebyte'       | byte
            'theByte'       | Byte
        }
    
        void 'primitive types cannot accept null values'() {
            when:
            buildFile << CLASSES
            buildFile << """
                model {
                    props {
                        $varname = null
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  4. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

                .and(not(inGradlePublicApiPackages()))
                .and(not(inTestFixturePackages()))
                .as("in Gradle internal API packages");
        }
    
        DescribedPredicate<JavaClass> primitive = new DescribedPredicate<JavaClass>("primitive") {
            @Override
            public boolean test(JavaClass input) {
                return input.isPrimitive();
            }
        };
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingProperties.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.configuration.inputs;
    
    import com.google.common.primitives.Primitives;
    
    import javax.annotation.Nullable;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.PrintStream;
    import java.io.PrintWriter;
    import java.io.Reader;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:51 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. 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
    - 24.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/troubleshooting/validation_problems.adoc

    [[cannot_use_optional_on_primitive_types]]
    == Invalid use of @Optional annotation on primitive types
    
    This error indicates that a property of primitive type is also annotated with `@Optional`.
    This is similar to `null` not being assignable to primitive types in Java.
    
    To fix this problem, you have two options:
    
    - remove the `@Optional` annotation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy

            !propertyNames.contains("notString")
        }
    
        /**
         * See <a href="https://issues.apache.org/jira/browse/GROOVY-10708">GROOVY-10708</a>
         */
        def "is methods with non-primitive boolean return type are not considered properties by Gradle, Groovy nor Java"() {
            assumeTrue('This test requires bundled Groovy 4 or later', VersionNumber.parse(GroovySystem.version).major >= 4)
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h

    namespace mlir::quantfork {
    
    // Performs type conversion from an arbitrary input type to a type
    // that is expressed by a QuantizedType.
    //
    // This handles cases where the inputType is a supported primitive type
    // (i.e. f32, bf16, etc) or a vector/tensor type based on a supported
    // elemental type.
    //
    // Since conversion often involves introspecting some attributes of the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

            where:
            [operator, orElseKind] << [
                ['systemProperty', 'environmentVariable'],
                ['primitive', 'provider', 'task output']
            ].combinations()
            orElseArgument = orElseKind == 'primitive'
                ? '"absent"'
                : orElseKind == 'provider'
                ? 'providers.provider { "absent" }'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top