Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 130 for mordred (0.15 sec)

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

        assertThat(SignedBytes.join(",", (byte) -128, (byte) -1)).isEqualTo("-128,-1");
      }
    
      @J2ktIncompatible // b/285319375
      public void testLexicographicalComparator() {
        List<byte[]> ordered =
            Arrays.asList(
                new byte[] {},
                new byte[] {LEAST},
                new byte[] {LEAST, LEAST},
                new byte[] {LEAST, (byte) 1},
                new byte[] {(byte) 1},
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
      public List<String> order(List<String> insertionOrder) {
        return insertionOrder;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SortedIterables.java

        } else {
          return false;
        }
        return comparator.equals(comparator2);
      }
    
      @SuppressWarnings("unchecked")
      // if sortedSet.comparator() is null, the set must be naturally ordered
      public static <E extends @Nullable Object> Comparator<? super E> comparator(
          SortedSet<E> sortedSet) {
        Comparator<? super E> result = sortedSet.comparator();
        if (result == null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Jun 30 10:33:07 GMT 2021
    - 2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

      }
    
      @Test
      public void hasEdgeConnecting_mismatch() {
        putEdge(N1, N2);
        assertThat(graph.hasEdgeConnecting(EndpointPair.ordered(N1, N2))).isFalse();
        assertThat(graph.hasEdgeConnecting(EndpointPair.ordered(N2, N1))).isFalse();
      }
    
      @Test
      public void adjacentNodes_selfLoop() {
        assume().that(graph.allowsSelfLoops()).isTrue();
    
        putEdge(N1, N1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

                UnsignedLongs.min(
                    0x5a4316b8c153ac4dL, 8L, 100L, 0L, 0x6cf78a4b139a4e2aL, 0xff1a618b7f65ea12L))
            .isEqualTo(0L);
      }
    
      public void testLexicographicalComparator() {
        List<long[]> ordered =
            Arrays.asList(
                new long[] {},
                new long[] {LEAST},
                new long[] {LEAST, LEAST},
                new long[] {LEAST, (long) 1},
                new long[] {(long) 1},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

                    (int) 0x5a4316b8L,
                    (int) 0xff1a618bL,
                    (int) 0L))
            .isEqualTo((int) 0L);
      }
    
      public void testLexicographicalComparator() {
        List<int[]> ordered =
            Arrays.asList(
                new int[] {},
                new int[] {LEAST},
                new int[] {LEAST, LEAST},
                new int[] {LEAST, (int) 1L},
                new int[] {(int) 1L},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/collect/SortedLists.java

          public int resultIndex(int higherIndex) {
            return ~higherIndex;
          }
        };
    
        abstract int resultIndex(int higherIndex);
      }
    
      /**
       * Searches the specified naturally ordered list for the specified object using the binary search
       * algorithm.
       *
       * <p>Equivalent to {@link #binarySearch(List, Function, Object, Comparator, KeyPresentBehavior,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/StandardRowSortedTable.java

    /**
     * Implementation of {@code Table} whose iteration ordering across row keys is sorted by their
     * natural ordering or by a supplied comparator. Note that iterations across the columns keys for a
     * single row key may or may not be ordered, depending on the implementation. When rows and columns
     * are both sorted, it's easier to use the {@link TreeBasedTable} subclass.
     *
     * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link #rowMap} method
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jul 15 15:41:16 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.join(",", 1.3, 2.4)).isEqualTo("1.3,2.4");
        assertThat(Doubles.join("", 1.4, 2.5, 3.6)).isEqualTo("1.42.53.6");
      }
    
      public void testLexicographicalComparator() {
        List<double[]> ordered =
            Arrays.asList(
                new double[] {},
                new double[] {LEAST},
                new double[] {LEAST, LEAST},
                new double[] {LEAST, (double) 1},
                new double[] {(double) 1},
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.join(",", (long) 1, (long) 2)).isEqualTo("1,2");
        assertThat(Longs.join("", (long) 1, (long) 2, (long) 3)).isEqualTo("123");
      }
    
      public void testLexicographicalComparator() {
        List<long[]> ordered =
            Arrays.asList(
                new long[] {},
                new long[] {MIN_VALUE},
                new long[] {MIN_VALUE, MIN_VALUE},
                new long[] {MIN_VALUE, (long) 1},
                new long[] {(long) 1},
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
Back to top