\r\n

51Degrees Device Detection C/C++  4.4

A device detection library that is used natively or by 51Degrees products

fiftyoneDegreesGraphNode Struct Reference

Detailed Description

Graph node structure used to construct the directed acyclic graph to search.

Data Fields

int32_t  unmatchedNodeOffset
Offset of the node to use if there is no matching hash record. More...
byte  flags
Flags available for future implementation. More...
int16_t  firstIndex
First character index to search for a matching hash code. More...
int16_t  lastIndex
Last character index to search for a matching hash code. More...
byte  length
Length of the substring to hash. More...
int32_t  hashesCount
Number of hash records in the node. More...
int32_t  modulo
Modulo to use when the hashes are a hash table. More...

Field Documentation

◆ firstIndex

int16_t fiftyoneDegreesGraphNode::firstIndex

First character index to search for a matching hash code.

◆ flags

byte fiftyoneDegreesGraphNode::flags

Flags available for future implementation.

◆ hashesCount

int32_t fiftyoneDegreesGraphNode::hashesCount

Number of hash records in the node.

◆ lastIndex

int16_t fiftyoneDegreesGraphNode::lastIndex

Last character index to search for a matching hash code.

◆ length

byte fiftyoneDegreesGraphNode::length

Length of the substring to hash.

◆ modulo

int32_t fiftyoneDegreesGraphNode::modulo

Modulo to use when the hashes are a hash table.

◆ unmatchedNodeOffset

int32_t fiftyoneDegreesGraphNode::unmatchedNodeOffset

Offset of the node to use if there is no matching hash record.


The documentation for this struct was generated from the following file:
  • /home/runner/work/device-detection-cxx/device-detection-cxx/common/device-detection-cxx/src/hash/graph.h
On This Page