Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for inArray (0.17 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt

    
    internal
    val MemberValue.intArrayValue: IntArray
        get() {
            var value: IntArray? = null
            accept(object : MemberValueVisitorAdapter() {
                override fun visitArrayMemberValue(node: ArrayMemberValue) {
                    value = node.value.map { it.intValue }.toIntArray()
                }
            })
            if (value == null) throw annotationMemberValueNotFound(typeOf<IntArray>())
            return value!!
        }
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

        /**
         *
         */
        @Test
        public void testIsArray() {
            assertFalse(ArrayUtil.isArray(null));
            assertFalse(ArrayUtil.isArray("hoge"));
            assertTrue(ArrayUtil.isArray(new Object[] {}));
            assertTrue(ArrayUtil.isArray(new Object[] { "" }));
            assertTrue(ArrayUtil.isArray(new Object[] { "aaa" }));
        }
    
        /**
         *
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

            private void traverseObjectWithParents(Class<?> cls, Object target) throws ModelInterpolationException {
                if (cls == null) {
                    return;
                }
    
                if (cls.isArray()) {
                    evaluateArray(target);
                } else if (isQualifiedForInterpolation(cls)) {
                    Field[] fields = FIELDS_BY_CLASS.computeIfAbsent(cls, k -> cls.getDeclaredFields());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(TypeToken.of(Object[].class).isArray());
        assertTrue(TypeToken.of(Object[][].class).isArray());
        assertTrue(TypeToken.of(char[].class).isArray());
        assertTrue(TypeToken.of(char[][].class).isArray());
        assertTrue(TypeToken.of(byte[].class).isArray());
        assertTrue(TypeToken.of(short[].class).isArray());
        assertTrue(TypeToken.of(int[].class).isArray());
        assertTrue(TypeToken.of(long[].class).isArray());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy

            _ * method.ownerClass >> ownerClass
            _ * ownerClass.className >> className
            return method
        }
    
        def type(String name, boolean isArray = false) {
            TypeMetaData type = new TypeMetaData(name)
            if (isArray) {
                type.arrayDimensions = 1
            }
            return type
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(TypeToken.of(Object[].class).isArray());
        assertTrue(TypeToken.of(Object[][].class).isArray());
        assertTrue(TypeToken.of(char[].class).isArray());
        assertTrue(TypeToken.of(char[][].class).isArray());
        assertTrue(TypeToken.of(byte[].class).isArray());
        assertTrue(TypeToken.of(short[].class).isArray());
        assertTrue(TypeToken.of(int[].class).isArray());
        assertTrue(TypeToken.of(long[].class).isArray());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

     * Settings are [connection][Http2Connection] scoped.
     */
    class Settings {
      /** Bitfield of which flags that values. */
      private var set: Int = 0
    
      /** Flag values. */
      private val values = IntArray(COUNT)
    
      /** Returns -1 if unset. */
      val headerTableSize: Int
        get() {
          val bit = 1 shl HEADER_TABLE_SIZE
          return if (bit and set != 0) values[HEADER_TABLE_SIZE] else -1
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

          }
          final Class<?> returnType = method.getReturnType();
          assertTrue(
              rootLocaleFormat("%s.%s() must return an array.", annotationClass, propertyName),
              returnType.isArray());
          assertSame(
              rootLocaleFormat(
                  "%s.%s() must return an array of %s.",
                  annotationClass, propertyName, annotationClass.getDeclaringClass()),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

          }
          final Class<?> returnType = method.getReturnType();
          assertTrue(
              rootLocaleFormat("%s.%s() must return an array.", annotationClass, propertyName),
              returnType.isArray());
          assertSame(
              rootLocaleFormat(
                  "%s.%s() must return an array of %s.",
                  annotationClass, propertyName, annotationClass.getDeclaringClass()),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

                Metadata(
                    kind = annotation.getMemberValue("k")?.intValue ?: 1,
                    metadataVersion = annotation.getMemberValue("mv")?.intArrayValue ?: IntArray(0),
                    data1 = annotation.getMemberValue("d1")?.stringArrayValue ?: arrayOf(),
                    data2 = annotation.getMemberValue("d2")?.stringArrayValue ?: arrayOf(),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 12:41:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top