Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F27036774
computed_table.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Authored By
Unknown
Size
822 B
Referenced Files
None
Subscribers
None
computed_table.hpp
View Options
// Copyright 2025 Oliver Theimer
#pragma once
#include
<cstddef>
#include
"./bbdd_node.hpp"
#include
"./bbdd_types.hpp"
struct
merge_key
{
bbdd_node_t
*
f
,
*
g
;
bbdd_op_t
op
;
bool
operator
==
(
const
merge_key
&
key
)
const
{
return
f
->
cvo_lvl
.
pv
==
key
.
f
->
cvo_lvl
.
pv
&&
f
->
cvo_lvl
.
sv
==
key
.
f
->
cvo_lvl
.
sv
&&
f
->
neq_child
==
key
.
f
->
neq_child
&&
f
->
eq_child
==
key
.
f
->
eq_child
&&
g
->
cvo_lvl
.
pv
==
key
.
g
->
cvo_lvl
.
pv
&&
g
->
cvo_lvl
.
sv
==
key
.
g
->
cvo_lvl
.
sv
&&
g
->
neq_child
==
key
.
g
->
neq_child
&&
g
->
eq_child
==
key
.
g
->
eq_child
&&
op
==
key
.
op
;
}
};
struct
merge_hash
{
std
::
size_t
operator
()(
const
merge_key
&
k
)
const
{
return
std
::
hash
<
int
>
()(
k
.
f
->
index
)
^
(
std
::
hash
<
int
>
()(
k
.
g
->
index
)
<<
1
)
^
(
std
::
hash
<
char
>
()(
k
.
op
)
<<
2
);
}
};
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Tue, Oct 27, 8:11 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
404377
Default Alt Text
computed_table.hpp (822 B)
Attached To
Mode
R271 SoC_BBDD_Library
Attached
Detach File
Event Timeline