Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 924 for Elements (0.12 sec)

  1. guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1}, 0, 0, 1, new byte[] {1});
        testRotate(new byte[] {1}, 1, 0, 1, new byte[] {1});
        testRotate(new byte[] {1}, 1, 1, 1, new byte[] {1});
    
        // Rotate the central 5 elements, leaving the ends as-is
        testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, -6, 1, 6, new byte[] {0, 2, 3, 4, 5, 1, 6});
        testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, -1, 1, 6, new byte[] {0, 2, 3, 4, 5, 1, 6});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

                String url = element.'@url'
                if (url.startsWith('website:')) {
                    url = url.substring(8)
                    url = "${websiteUrl.get()}/${url}"
                    element.setAttribute('url', url)
                }
            }
        }
    
        static def findAll(Document doc, String byName) {
            doc.documentElement.depthFirst().findAll { it.name() == byName }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java

    public class CollectionStreamTester<E> extends AbstractCollectionTester<E> {
      /*
       * We're not really testing the implementation of Stream, only that we're getting a Stream
       * that corresponds to the expected elements.
       */
    
      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testStreamToArrayUnknownOrder() {
        Helpers.assertEqualIgnoringOrder(getSampleElements(), asList(collection.stream().toArray()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1}, 0, 0, 1, new byte[] {1});
        testRotate(new byte[] {1}, 1, 0, 1, new byte[] {1});
        testRotate(new byte[] {1}, 1, 1, 1, new byte[] {1});
    
        // Rotate the central 5 elements, leaving the ends as-is
        testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, -6, 1, 6, new byte[] {0, 2, 3, 4, 5, 1, 6});
        testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, -1, 1, 6, new byte[] {0, 2, 3, 4, 5, 1, 6});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/ValueGraph.java

       * IllegalArgumentException}.
       */
      @Override
      boolean allowsSelfLoops();
    
      /** Returns the order of iteration for the elements of {@link #nodes()}. */
      @Override
      ElementOrder<N> nodeOrder();
    
      /**
       * Returns an {@link ElementOrder} that specifies the order of iteration for the elements of
       * {@link #edges()}, {@link #adjacentNodes(Object)}, {@link #predecessors(Object)}, {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java

      public void testRemoveAll_duplicate() {
        ArrayWithDuplicate<E> arrayAndDuplicate = createArrayWithDuplicateElement();
        collection = getSubjectGenerator().create(arrayAndDuplicate.elements);
        E duplicate = arrayAndDuplicate.duplicate;
    
        assertTrue(
            "removeAll(intersectingCollection) should return true",
            getList().removeAll(MinimalCollection.of(duplicate)));
        assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java

      public void testRemoveAll_duplicate() {
        ArrayWithDuplicate<E> arrayAndDuplicate = createArrayWithDuplicateElement();
        collection = getSubjectGenerator().create(arrayAndDuplicate.elements);
        E duplicate = arrayAndDuplicate.duplicate;
    
        assertTrue(
            "removeAll(intersectingCollection) should return true",
            getList().removeAll(MinimalCollection.of(duplicate)));
        assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/OrderingTest.java

              }
            };
    
        // Don't let the elements be in such a predictable order
        list = shuffledCopy(list, new Random(1));
    
        sort(list, arbitrary);
    
        // Now we don't care what order it's put the list in, only that
        // comparing any pair of elements gives the answer we expect.
        testComparator(arbitrary, list);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/OrderingTest.java

              }
            };
    
        // Don't let the elements be in such a predictable order
        list = shuffledCopy(list, new Random(1));
    
        sort(list, arbitrary);
    
        // Now we don't care what order it's put the list in, only that
        // comparing any pair of elements gives the answer we expect.
        testComparator(arbitrary, list);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/SignedBytes.java

        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(byte[] array) {
        checkNotNull(array);
        sortDescending(array, 0, array.length);
      }
    
      /**
       * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top