Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-17 08:54:12

0001 /*
0002  * SPDX-PackageName: "covfie, a part of the ACTS project"
0003  * SPDX-FileCopyrightText: 2022 CERN
0004  * SPDX-License-Identifier: MPL-2.0
0005  */
0006 
0007 #pragma once
0008 
0009 #ifdef _MSC_VER
0010 #define UNLIKELY(x) x
0011 #else
0012 #define UNLIKELY(x) __builtin_expect(x, false)
0013 #endif
0014 
0015 #ifdef _MSC_VER
0016 #define LIKELY(x) x
0017 #else
0018 #define LIKELY(x) __builtin_expect(x, true)
0019 #endif