Movatterモバイル変換


[0]ホーム

URL:


Google Git
Sign in
chromium /chromium /src /refs/heads/main /. /ipc /tracing_helpers_unittest.cc
blob: 1ff8dffb68feeea36371050f785d6cdcb84717ef [file] [log] [blame] [edit]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include"ipc/tracing_helpers.h"
namespace ipc{
// Ensure that everything works at compile-time by comparing to a few
// reference hashes.
constexprchar kMessage0[]="message digest";
static_assert(GetLegacyIpcTraceId(kMessage0)==0xF96B697Dul,
"incorrect MD5Hash32 implementation");
constexprchar kMessage1[]="The quick brown fox jumps over the lazy dog";
static_assert(GetLegacyIpcTraceId(kMessage1)==0x9E107D9Dul,
"incorrect MD5Hash32 implementation");
}// namespace ipc

[8]ページ先頭

©2009-2025 Movatter.jp