Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for STRIDE_TABLE (0.21 sec)

  1. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

        static final int INVERSE_COMPUTE_FOR_WORD_OF_ALL_1S = 0xeee3ddcd;
    
        static int computeForWord(int word) {
          return STRIDE_TABLE[3][word & 0xFF]
              ^ STRIDE_TABLE[2][(word >>> 8) & 0xFF]
              ^ STRIDE_TABLE[1][(word >>> 16) & 0xFF]
              ^ STRIDE_TABLE[0][word >>> 24];
        }
    
        static int combine(int csum, int crc) {
          csum ^= crc;
          for (int i = 0; i < 4; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 21.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

            for (int i = bit + 1; i < (bit << 1); i++) {
              expected[b][i] = expected[b][bit] ^ expected[b][i ^ bit];
            }
          }
        }
    
        int[][] actual = Crc32cHashFunction.Crc32cHasher.STRIDE_TABLE;
        assertTrue(
            "Expected: \n"
                + Arrays.deepToString(expected)
                + "\nActual:\n"
                + Arrays.deepToString(actual),
            Arrays.deepEquals(expected, actual));
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

            for (int i = bit + 1; i < (bit << 1); i++) {
              expected[b][i] = expected[b][bit] ^ expected[b][i ^ bit];
            }
          }
        }
    
        int[][] actual = Crc32cHashFunction.Crc32cHasher.STRIDE_TABLE;
        assertTrue(
            "Expected: \n"
                + Arrays.deepToString(expected)
                + "\nActual:\n"
                + Arrays.deepToString(actual),
            Arrays.deepEquals(expected, actual));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
Back to top