Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 858 for element1 (0.06 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableListTest.java

      public void testBuilderAddArrayHandlesNulls() {
        @Nullable String[] elements = new @Nullable String[] {"a", null, "b"};
        ImmutableList.Builder<String> builder = ImmutableList.builder();
        assertThrows(NullPointerException.class, () -> builder.add((String[]) elements));
        ImmutableList<String> result = builder.build();
    
        /*
         * Maybe it rejects all elements, or maybe it adds "a" before failing.
         * Either way is fine with us.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

                    new TestStringSortedSetGenerator() {
                      @Override
                      protected SortedSet<String> create(String[] elements) {
                        return new StandardImplForwardingSortedSet<>(
                            new SafeTreeSet<String>(asList(elements)));
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

      }
    
      private static TestStringMultisetGenerator linkedHashMultisetGenerator() {
        return new TestStringMultisetGenerator() {
          @Override
          protected Multiset<String> create(String[] elements) {
            return LinkedHashMultiset.create(asList(elements));
          }
    
          @Override
          public List<String> order(List<String> insertionOrder) {
            List<String> order = Lists.newArrayList();
            for (String s : insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
                      public Map<TypeToken, Object> create(Object... elements) {
                        MutableTypeToInstanceMap<Object> map = new MutableTypeToInstanceMap<>();
                        for (Object object : elements) {
                          Entry<TypeToken, Object> entry = (Entry<TypeToken, Object>) object;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/path-params-numeric-validations.md

    Mas você ainda precisa usar `Path` para o parâmetro de rota `item_id`.
    
    O Python irá acusar se você colocar um elemento com um valor padrão definido antes de outro que não tenha um valor padrão.
    
    Mas você pode reordená-los, colocando primeiro o elemento sem o valor padrão (o parâmetro de consulta `q`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        // Add more than two elements to increment size removals.
        cache.put(3, 20);
        cache.put(6, 2);
        cache.put(98, 45);
        cache.put(56, 76);
        cache.put(23, 84);
    
        // Replace the two present elements.
        cache.put(23, 20);
        cache.put(56, 49);
        cache.put(23, 2);
        cache.put(56, 4);
    
        // Expire the two present elements.
        fakeTicker.advance(1001, MILLISECONDS);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ElementOrder.java

      }
    
      /**
       * Returns an instance which specifies that the natural ordering of the elements is guaranteed.
       */
      public static <S extends Comparable<? super S>> ElementOrder<S> natural() {
        return new ElementOrder<>(Type.SORTED, Ordering.<S>natural());
      }
    
      /**
       * Returns an instance which specifies that the ordering of the elements is guaranteed to be
       * determined by {@code comparator}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/ElementOrder.java

      }
    
      /**
       * Returns an instance which specifies that the natural ordering of the elements is guaranteed.
       */
      public static <S extends Comparable<? super S>> ElementOrder<S> natural() {
        return new ElementOrder<>(Type.SORTED, Ordering.<S>natural());
      }
    
      /**
       * Returns an instance which specifies that the ordering of the elements is guaranteed to be
       * determined by {@code comparator}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

          protected ListIterator<E> newTargetIterator() {
            resetCollection();
            return getList().listIterator();
          }
    
          @Override
          protected void verify(List<E> elements) {
            expectContents(elements);
          }
        }.test();
      }
    
      public void testListIterator_tooLow() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().listIterator(-1));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.h

    // `oper` and `num_dims` with the corresponding number of dimensions. On return,
    // for every i where `num_dims[i]` > 0, `dims[i]` will be an array of
    // `num_dims[i]` elements. A value of -1 for `num_dims[i]` indicates that the
    // i-th shape in the list is unknown.
    //
    // The elements of `dims` will point to addresses in `storage` which must be
    // large enough to hold at least `storage_size` int64_ts.  Ideally, `num_shapes`
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top