chromium/v8/src/inspector/crc32.cc

// Copyright 2023 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/inspector/crc32.h"

#include "src/base/macros.h"

namespace v8_inspector {

// Generated from the polynomial 0xedb88320 using the following script:
// for i in range(0, 256):
//   c = i ^ 0xff
//   for j in range(0, 8):
//     l = 0 if c & 1 else 0xedb88320
//     c = (c >> 1) ^ l
//   print("0x%x" % (c))
static uint32_t kCrcTable[256] =;

int32_t computeCrc32(const String16& text) {}

}  // namespace v8_inspector