Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 83 for Potato (0.14 sec)

  1. src/math/bits/bits.go

    // To rotate x right by k bits, call RotateLeft8(x, -k).
    //
    // This function's execution time does not depend on the inputs.
    func RotateLeft8(x uint8, k int) uint8 {
    	const n = 8
    	s := uint(k) & (n - 1)
    	return x<<s | x>>(n-s)
    }
    
    // RotateLeft16 returns the value of x rotated left by (k mod 16) bits.
    // To rotate x right by k bits, call RotateLeft16(x, -k).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/LongsTest.java

        input = Arrays.copyOf(input, input.length);
        Longs.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          long[] input, int distance, int fromIndex, int toIndex, long[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Longs.rotate(input, distance, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go

    		{name: "ROLW", argLength: 2, reg: gp21, asm: "ROLW"},                  // rotate left least significant word of arg0 by (arg1 & 31), sign extended
    		{name: "ROR", argLength: 2, reg: gp21, asm: "ROR"},                    // rotate right arg0 by (arg1 & 63)
    		{name: "RORI", argLength: 1, reg: gp11, asm: "RORI", aux: "Int64"},    // rotate right arg0 by auxint, shift amount 0-63
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        input = Arrays.copyOf(input, input.length);
        Doubles.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          double[] input, int distance, int fromIndex, int toIndex, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Doubles.rotate(input, distance, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/IntsTest.java

        input = Arrays.copyOf(input, input.length);
        Ints.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          int[] input, int distance, int fromIndex, int toIndex, int[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Ints.rotate(input, distance, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ShortsTest.java

        input = Arrays.copyOf(input, input.length);
        Shorts.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          short[] input, int distance, int fromIndex, int toIndex, short[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Shorts.rotate(input, distance, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        input = Arrays.copyOf(input, input.length);
        Floats.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          float[] input, int distance, int fromIndex, int toIndex, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Floats.rotate(input, distance, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        input = Arrays.copyOf(input, input.length);
        Ints.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          int[] input, int distance, int fromIndex, int toIndex, int[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Ints.rotate(input, distance, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/DoublesTest.java

        input = Arrays.copyOf(input, input.length);
        Doubles.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          double[] input, int distance, int fromIndex, int toIndex, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Doubles.rotate(input, distance, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/FloatsTest.java

        input = Arrays.copyOf(input, input.length);
        Floats.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          float[] input, int distance, int fromIndex, int toIndex, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Floats.rotate(input, distance, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top