Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 231 for Reverse8 (0.08 sec)

  1. guava/src/com/google/common/net/InetAddresses.java

       */
      public static InetAddress fromLittleEndianByteArray(byte[] addr) throws UnknownHostException {
        byte[] reversed = new byte[addr.length];
        for (int i = 0; i < addr.length; i++) {
          reversed[i] = addr[addr.length - i - 1];
        }
        return InetAddress.getByAddress(reversed);
      }
    
      /**
       * Returns a new InetAddress that is one less than the passed in address. This method works for
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      //   2. Flipping the bits of the constant so we can process a byte at a time. => 0x82F63B78
      private static final int CRC32C_GENERATOR = 0x1EDC6F41; // 0x11EDC6F41
      private static final int CRC32C_GENERATOR_FLIPPED = Integer.reverse(CRC32C_GENERATOR);
    
      public void testCrc32cByteTable() {
        // See Hacker's Delight 2nd Edition, Figure 14-7.
        int[] expected = new int[256];
        for (int i = 0; i < expected.length; i++) {
          int crc = i;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

              SerializableTester.reserializeAndAssert(asMap);
              SerializableTester.reserializeAndAssert(descendingMap);
              assertEquals(
                  ImmutableList.copyOf(asMap.entrySet()).reverse(),
                  ImmutableList.copyOf(descendingMap.entrySet()));
    
              for (Range<Integer> query : RANGES) {
                assertEquals(expectedAsMap.get(query), asMap.get(query));
              }
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

      // be a DNS subdomain (dots allowed, 253 characters). To ensure that
      // there are no conflicts with other CSI drivers on the cluster, the recommendation
      // is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends
      // with the unique CSI driver name.
      //
      // Objects are namespaced.
      //
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      public void testDescendingNavigation() {
        List<E> descending = new ArrayList<>();
        for (Iterator<E> i = navigableSet.descendingIterator(); i.hasNext(); ) {
          descending.add(i.next());
        }
        Collections.reverse(descending);
        assertEquals(values, descending);
      }
    
      public void testEmptySubSet() {
        NavigableSet<E> empty = navigableSet.subSet(e0(), false, e0(), false);
        assertEquals(new TreeSet<E>(), empty);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        }
        // If we succeeded then list holds all the runnables we to execute. The pairs in the stack are
        // in the opposite order from how they were added so we need to reverse the list to fulfill our
        // contract.
        // This is somewhat annoying, but turns out to be very fast in practice. Alternatively, we could
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:17:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

          }
        }
      }
    
      /** Decreasing integer values. A {@code null} comes before any non-null value. */
      private static final Comparator<@Nullable Integer> DECREASING_INT_COMPARATOR =
          Ordering.<Integer>natural().reverse().<Integer>nullsFirst();
    
      private SetMultimap<String, Integer> create() {
        return TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

    import org.eclipse.aether.resolution.ArtifactRequest;
    import org.eclipse.aether.util.artifact.ArtifactIdUtils;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A class building reverse tree using {@link CollectStepData} trace data provided in {@link RepositoryEvent}
     * events fired during collection.
     *
     * @since 3.9.0
     */
    class ReverseTreeRepositoryListener extends AbstractRepositoryListener {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            }
    
            private static Comparator<Binding<?>> getBindingComparator() {
                Comparator<Binding<?>> comparing = Comparator.comparing(Binding::getPriority);
                return comparing.reversed();
            }
    
            private <T> boolean isPlexusBean(BeanEntry<Annotation, T> entry) {
                try {
                    if ("org.eclipse.sisu.inject.LazyBeanEntry"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class MinMaxPriorityQueueTest extends TestCase {
      private static final Ordering<Integer> SOME_COMPARATOR = Ordering.<Integer>natural().reverse();
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(MinMaxPriorityQueueTest.class);
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top