Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 302 for reverse2 (0.13 sec)

  1. src/sort/sort_test.go

    	sizes := []int{100, 1023, 1024, 1025}
    	if testing.Short() {
    		sizes = []int{100, 127, 128, 129}
    	}
    	dists := []string{"sawtooth", "rand", "stagger", "plateau", "shuffle"}
    	modes := []string{"copy", "reverse", "reverse1", "reverse2", "sort", "dither"}
    	var tmp1, tmp2 [1025]int
    	for _, n := range sizes {
    		for m := 1; m < 2*n; m *= 2 {
    			for dist := 0; dist < _NDist; dist++ {
    				j := 0
    				k := 1
    				data := tmp1[0:n]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:41:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. src/math/bits/bits.go

    	s := uint(k) & (n - 1)
    	return x<<s | x>>(n-s)
    }
    
    // --- Reverse ---
    
    // Reverse returns the value of x with its bits in reversed order.
    func Reverse(x uint) uint {
    	if UintSize == 32 {
    		return uint(Reverse32(uint32(x)))
    	}
    	return uint(Reverse64(uint64(x)))
    }
    
    // Reverse8 returns the value of x with its bits in reversed order.
    func Reverse8(x uint8) uint8 {
    	return rev8tab[x]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Converter.java

    /**
     * A function from {@code A} to {@code B} with an associated <i>reverse</i> function from {@code B}
     * to {@code A}; used for converting back and forth between <i>different representations of the same
     * information</i>.
     *
     * <h3>Invertibility</h3>
     *
     * <p>The reverse operation <b>may</b> be a strict <i>inverse</i> (meaning that {@code
     * converter.reverse().convert(converter.convert(a)).equals(a)} is always true). However, it is very
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Converter.java

    /**
     * A function from {@code A} to {@code B} with an associated <i>reverse</i> function from {@code B}
     * to {@code A}; used for converting back and forth between <i>different representations of the same
     * information</i>.
     *
     * <h3>Invertibility</h3>
     *
     * <p>The reverse operation <b>may</b> be a strict <i>inverse</i> (meaning that {@code
     * converter.reverse().convert(converter.convert(a)).equals(a)} is always true). However, it is very
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Ints.java

        Arrays.sort(array, fromIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Ints.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(int[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Bytes.java

      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Bytes.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(byte[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Bytes.java

      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Bytes.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(byte[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/GeneralRange.java

      }
    
      @LazyInit @CheckForNull private transient GeneralRange<T> reverse;
    
      /** Returns the same range relative to the reversed comparator. */
      GeneralRange<T> reverse() {
        GeneralRange<T> result = reverse;
        if (result == null) {
          result =
              new GeneralRange<>(
                  Ordering.from(comparator).reverse(),
                  hasUpperBound,
                  getUpperEndpoint(),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/GeneralRange.java

      }
    
      @LazyInit @CheckForNull private transient GeneralRange<T> reverse;
    
      /** Returns the same range relative to the reversed comparator. */
      GeneralRange<T> reverse() {
        GeneralRange<T> result = reverse;
        if (result == null) {
          result =
              new GeneralRange<>(
                  Ordering.from(comparator).reverse(),
                  hasUpperBound,
                  getUpperEndpoint(),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Booleans.java

        return count;
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Booleans.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(boolean[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top