Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 90 for as_list (0.13 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

            List<String> strings() {
                Arrays.asList("foo")
            }
    
            @Model
            List<? super String> superStrings() {
                Arrays.asList("foo")
            }
    
            @Model
            List<? extends String> extendsStrings() {
                Arrays.asList("foo")
            }
    
            @Model
            List<?> wildcard() {
                Arrays.asList("foo")
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableList.java

        if (elements instanceof ImmutableCollection) {
          @SuppressWarnings("unchecked") // all supported methods are covariant
          ImmutableList<E> list = ((ImmutableCollection<E>) elements).asList();
          return list.isPartialView() ? ImmutableList.<E>asImmutableList(list.toArray()) : list;
        }
        return construct(elements.toArray());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Ordering.java

       */
      // TODO(kevinb): provide replacement
      @GwtCompatible(serializable = true)
      public static <T> Ordering<T> explicit(T leastValue, T... remainingValuesInOrder) {
        return explicit(Lists.asList(leastValue, remainingValuesInOrder));
      }
    
      // Ordering<Object> singletons
    
      /**
       * Returns an ordering which treats all values as equal, indicating "no ordering." Passing this
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

                if (typesArray == null || typesArray.length == 0) {
                    Set<Class<?>> types = new HashSet<>(Arrays.asList(clazz.getInterfaces()));
                    types.add(Object.class);
                    return types;
                } else {
                    return new HashSet<>(Arrays.asList(typesArray));
                }
            } else {
                return null;
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Ordering.java

       */
      // TODO(kevinb): provide replacement
      @GwtCompatible(serializable = true)
      public static <T> Ordering<T> explicit(T leastValue, T... remainingValuesInOrder) {
        return explicit(Lists.asList(leastValue, remainingValuesInOrder));
      }
    
      // Ordering<Object> singletons
    
      /**
       * Returns an ordering which treats all values as equal, indicating "no ordering." Passing this
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

         * @see ArtifactResolver#resolve(Session, Collection)
         */
        @Override
        public Map<Artifact, Path> resolveArtifacts(ArtifactCoordinate... coordinates) {
            return resolveArtifacts(Arrays.asList(coordinates));
        }
    
        /**
         * Shortcut for <code>getService(ArtifactResolver.class).resolve(...)</code>
         *
         * @throws ArtifactResolverException if the artifact resolution failed
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

            return filter(list, Lists.<T>newArrayListWithCapacity(list.size()), filter);
        }
    
        public static <T> List<T> filter(T[] array, Spec<? super T> filter) {
            return filter(Arrays.asList(array), Lists.<T>newArrayListWithCapacity(array.length), filter);
        }
    
    
        /**
         * Returns a sorted copy of the provided collection of things. Uses the provided comparator to sort.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.cc

        return ret;
      }
      status->status =
          tensorflow::AttrTypeByName(*attr_types_, attr_name, &ret, is_list);
      return ret;
    }
    
    TF_AttrType TFE_OpNameGetAttrType(TFE_Context* ctx,
                                      const char* op_or_function_name,
                                      const char* attr_name, unsigned char* is_list,
                                      TF_Status* status) {
      TF_AttrType ret;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableList.java

        if (elements instanceof ImmutableCollection) {
          @SuppressWarnings("unchecked") // all supported methods are covariant
          ImmutableList<E> list = ((ImmutableCollection<E>) elements).asList();
          return list.isPartialView() ? ImmutableList.<E>asImmutableList(list.toArray()) : list;
        }
        return construct(elements.toArray());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java

                    .map(annotation -> getAccessorSpec(method, annotation, parentDeprecationSpec, parentBinaryCompatibility))
                    .collect(Collectors.toList());
            }
            return Arrays.asList(
                getAccessorSpec(method, AccessorType.GETTER, annotationMirror),
                getAccessorSpec(method, AccessorType.SETTER, annotationMirror)
            );
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 24.6K bytes
    - Viewed (0)
Back to top