Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for strideTable (0.05 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 strideTable[3][word & 0xFF]
              ^ strideTable[2][(word >>> 8) & 0xFF]
              ^ strideTable[1][(word >>> 16) & 0xFF]
              ^ strideTable[0][word >>> 24];
        }
    
        static int combine(int csum, int crc) {
          csum ^= crc;
          for (int i = 0; i < 4; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 21.2K 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.strideTable;
        assertTrue(
            "Expected: \n"
                + Arrays.deepToString(expected)
                + "\nActual:\n"
                + Arrays.deepToString(actual),
            Arrays.deepEquals(expected, actual));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top