Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for IsArray (0.12 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

            return cache.get(type, this::createTypeAnnotationMetadata);
        }
    
        private TypeAnnotationMetadata createTypeAnnotationMetadata(Class<?> type) {
            if (type.isPrimitive() || type.isArray() || type.isAnnotation()) {
                return EMPTY_TYPE_ANNOTATION_METADATA;
            }
    
            Package typePackage = type.getPackage();
            if (typePackage != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        Object sample = pickInstance(samples, null);
        if (sample != null) {
          return sample;
        }
        if (rawType.isEnum()) {
          return pickInstance(rawType.getEnumConstants(), null);
        }
        if (type.isArray()) {
          TypeToken<?> componentType = requireNonNull(type.getComponentType());
          Object array = Array.newInstance(componentType.getRawType(), 1);
          Array.set(array, 0, generate(componentType));
          return array;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        Object sample = pickInstance(samples, null);
        if (sample != null) {
          return sample;
        }
        if (rawType.isEnum()) {
          return pickInstance(rawType.getEnumConstants(), null);
        }
        if (type.isArray()) {
          TypeToken<?> componentType = requireNonNull(type.getComponentType());
          Object array = Array.newInstance(componentType.getRawType(), 1);
          Array.set(array, 0, generate(componentType));
          return array;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 28K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/assign.go

    			// TODO(mdempsky): Disallow init statements on lvalues.
    			init := ir.TakeInit(l)
    			walkStmtList(init)
    			early.Append(init...)
    
    			switch ll := l.(type) {
    			case *ir.IndexExpr:
    				if ll.X.Type().IsArray() {
    					save(&ll.Index)
    					l = ll.X
    					continue
    				}
    			case *ir.ParenExpr:
    				l = ll.X
    				continue
    			case *ir.SelectorExpr:
    				if ll.Op() == ir.ODOT {
    					l = ll.X
    					continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java

                    if (a == b) {
                        return true;
                    }
                    if (a == null) {
                        return false;
                    }
                    if (a.getClass().isArray()) {
                        return Arrays.equals((Object[]) a, (Object[]) b);
                    }
                    return a.equals(b);
                }
    
                @Override
                public int hashCode() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 04:42:54 UTC 2024
    - 45.4K bytes
    - Viewed (0)
Back to top