tablemodelwire

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package tablemodelwire is the table model's and the convergence verb's table wire, generated by the schema compiler from schemas/tablemodel/tablemodel.schema: the model's State, Action, Event, Trace (head, initial state and steps), the witness Finding, the ReplayEvent, the suite Step and StepResult, and the convergence verb's State. They are VARIABLE tables. Every other .go file here is generated: edit the .schema and run go generate ./pkg/tablemodelwire, never the output. pkg/schemaread reads it strictly: binary wire or padded standard base64 of the wire, each refused by name when damaged.

Index

Constants

View Source
const (
	TableFixedReasonPreviousForm         = "previous_form"
	TableFixedReasonMessageFormAsFile    = "message_form_as_file"
	TableFixedReasonNewerForm            = "newer_form"
	TableFixedReasonLayoutMalformed      = "layout_malformed"
	TableFixedReasonLayoutUnknown        = "layout_unknown"
	TableFixedReasonLayoutNewer          = "layout_newer"
	TableFixedReasonLayoutUnsupported    = "layout_unsupported"
	TableFixedReasonLayoutRecordTooLarge = "layout_record_too_large"
	TableFixedReasonPlanTooLarge         = "plan_too_large"
	TableFixedReasonBatchTooLarge        = "batch_too_large"
	TableFixedReasonNoLayout             = "no_layout"
	TableFixedReasonTextIllFormed        = "text_ill_formed"
	TableFixedReasonTruncated            = "truncated"
	TableFixedReasonReservedNotZero      = "reserved_not_zero"
)

THE FIXED LOAD'S REFUSAL NAMES — EXPORTED (mas-bandwidth/schema docs/FIXED-FORM-ALGORITHM.md §5.3, mas-bandwidth/schema docs/SPEC-TABLES.md §3.4). Every refusal of the fixed load has a name, the framing-damage returns included, so an adopter's existing report.Reason == "layout_newer" comparisons keep compiling against these constants; the emitted <T>FixedLoad names every reason constant in place of a string literal.

TableFixedReasonLayoutUnknown is the Reason of a file whose header hash no entry of this build's lineage holds (mas-bandwidth/schema docs/SPEC-TABLES.md §21.3, algorithm §5.3 step 5). It says what the reader knows and not which way the file lies: a newer writer's layout, an older one nobody locked and a damaged hash byte read the same.

TableFixedReasonLayoutNewer ("ship the reader") is RESERVED (SPEC-TABLES §21.3) for a hash the lock lineage proves newer, which nothing on the wire or in the lock does today, so no Go fixed load answers it; it stays exported so an adopter's existing comparisons keep compiling.

View Source
const BuildVersion uint64 = 0xfb2fcd6eeb6926c2

BuildVersion is the unit's build version (mas-bandwidth/schema docs/SPEC-TABLES.md §20): the one digest a block carries and BlockOpen compares, and the fact §3.3's announcement carries before the first body so a peer's build is knowable.

View Source
const ConvergeStateLoadRetainBuilder = "ConvergeState: retention requires a region round trip through the VARIABLE form"
View Source
const ConvergeStateSaveRetainMessages = "ConvergeState: retention requires a region round trip through the VARIABLE form"
View Source
const ConvergeStreamEntryLoadRetainBuilder = "ConvergeStreamEntry: retention requires a region round trip through the VARIABLE form"
View Source
const ConvergeStreamEntrySaveRetainMessages = "ConvergeStreamEntry: retention requires a region round trip through the VARIABLE form"
View Source
const ModelActionLoadRetainBuilder = "ModelAction: retention requires a region round trip through the VARIABLE form"
View Source
const ModelActionSaveRetainMessages = "ModelAction: retention requires a region round trip through the VARIABLE form"
View Source
const ModelArgLoadRetainBuilder = "ModelArg: retention requires a region round trip through the VARIABLE form"
View Source
const ModelArgSaveRetainMessages = "ModelArg: retention requires a region round trip through the VARIABLE form"
View Source
const ModelBindLoadRetainBuilder = "ModelBind: retention requires a region round trip through the VARIABLE form"
View Source
const ModelBindSaveRetainMessages = "ModelBind: retention requires a region round trip through the VARIABLE form"
View Source
const ModelCellLoadRetainBuilder = "ModelCell: retention requires a region round trip through the VARIABLE form"
View Source
const ModelCellSaveRetainMessages = "ModelCell: retention requires a region round trip through the VARIABLE form"
View Source
const ModelDatumLoadRetainBuilder = "ModelDatum: retention requires a region round trip through the VARIABLE form"
View Source
const ModelDatumSaveRetainMessages = "ModelDatum: retention requires a region round trip through the VARIABLE form"
View Source
const ModelDetailLoadRetainBuilder = "ModelDetail: retention requires a region round trip through the VARIABLE form"
View Source
const ModelDetailSaveRetainMessages = "ModelDetail: retention requires a region round trip through the VARIABLE form"
View Source
const ModelEventFieldLoadRetainBuilder = "ModelEventField: retention requires a region round trip through the VARIABLE form"
View Source
const ModelEventFieldSaveRetainMessages = "ModelEventField: retention requires a region round trip through the VARIABLE form"
View Source
const ModelEventLoadRetainBuilder = "ModelEvent: retention requires a region round trip through the VARIABLE form"
View Source
const ModelEventSaveRetainMessages = "ModelEvent: retention requires a region round trip through the VARIABLE form"
View Source
const ModelFindingLoadRetainBuilder = "ModelFinding: retention requires a region round trip through the VARIABLE form"
View Source
const ModelFindingSaveRetainMessages = "ModelFinding: retention requires a region round trip through the VARIABLE form"
View Source
const ModelHashLoadRetainBuilder = "ModelHash: retention requires a region round trip through the VARIABLE form"
View Source
const ModelHashSaveRetainMessages = "ModelHash: retention requires a region round trip through the VARIABLE form"
View Source
const ModelLocationLoadRetainBuilder = "ModelLocation: retention requires a region round trip through the VARIABLE form"
View Source
const ModelLocationSaveRetainMessages = "ModelLocation: retention requires a region round trip through the VARIABLE form"
View Source
const ModelOutcomeLoadRetainBuilder = "ModelOutcome: retention requires a region round trip through the VARIABLE form"
View Source
const ModelOutcomeSaveRetainMessages = "ModelOutcome: retention requires a region round trip through the VARIABLE form"
View Source
const ModelPhysLoadRetainBuilder = "ModelPhys: retention requires a region round trip through the VARIABLE form"
View Source
const ModelPhysSaveRetainMessages = "ModelPhys: retention requires a region round trip through the VARIABLE form"
View Source
const ModelPlacementLoadRetainBuilder = "ModelPlacement: retention requires a region round trip through the VARIABLE form"
View Source
const ModelPlacementSaveRetainMessages = "ModelPlacement: retention requires a region round trip through the VARIABLE form"
View Source
const ModelReplayEventLoadRetainBuilder = "ModelReplayEvent: retention requires a region round trip through the VARIABLE form"
View Source
const ModelReplayEventSaveRetainMessages = "ModelReplayEvent: retention requires a region round trip through the VARIABLE form"
View Source
const ModelRowAtLoadRetainBuilder = "ModelRowAt: retention requires a region round trip through the VARIABLE form"
View Source
const ModelRowAtSaveRetainMessages = "ModelRowAt: retention requires a region round trip through the VARIABLE form"
View Source
const ModelSeenLoadRetainBuilder = "ModelSeen: retention requires a region round trip through the VARIABLE form"
View Source
const ModelSeenSaveRetainMessages = "ModelSeen: retention requires a region round trip through the VARIABLE form"
View Source
const ModelStateLoadRetainBuilder = "ModelState: retention requires a region round trip through the VARIABLE form"
View Source
const ModelStateSaveRetainMessages = "ModelState: retention requires a region round trip through the VARIABLE form"
View Source
const ModelStepLoadRetainBuilder = "ModelStep: retention requires a region round trip through the VARIABLE form"
View Source
const ModelStepResultLoadRetainBuilder = "ModelStepResult: retention requires a region round trip through the VARIABLE form"
View Source
const ModelStepResultSaveRetainMessages = "ModelStepResult: retention requires a region round trip through the VARIABLE form"
View Source
const ModelStepSaveRetainMessages = "ModelStep: retention requires a region round trip through the VARIABLE form"
View Source
const ModelTraceLoadRetainBuilder = "ModelTrace: retention requires a region round trip through the VARIABLE form"
View Source
const ModelTraceSaveRetainMessages = "ModelTrace: retention requires a region round trip through the VARIABLE form"
View Source
const ModelTraceStepLoadRetainBuilder = "ModelTraceStep: retention requires a region round trip through the VARIABLE form"
View Source
const ModelTraceStepSaveRetainMessages = "ModelTraceStep: retention requires a region round trip through the VARIABLE form"
View Source
const ModelViolationLoadRetainBuilder = "ModelViolation: retention requires a region round trip through the VARIABLE form"
View Source
const ModelViolationSaveRetainMessages = "ModelViolation: retention requires a region round trip through the VARIABLE form"
View Source
const ProtocolId uint64 = 0x0f7960ef3c060de6

The unit's protocol id — the hash of its wire shape (SPEC §3.1). Two sides at the same id speak identical bits; there is no other versioning.

View Source
const TableCookHeaderBytes int64 = 64

TableCookHeaderBytes is §7.1's header: 64 bytes of u64 words. The DATA part begins at align_up(64, alignment) — DERIVED and not a header field, because a fact a reader computes is a fact two writers cannot disagree about.

View Source
const TableCookMagic uint64 = 0x4b4f4f434d484353

TableCookMagic is the cook's magic (mas-bandwidth/schema docs/SPEC-TABLES.md §7.1), read before anything else: it is what establishes the byte order every other header word is written in, and it is also what separates a COOK from a BLOCK — the two accelerators carry the same build version and different magics, because a form's identity belongs in its magic rather than in a second digest.

The value is "SCHMCOOK" read as ASCII in the byte order a little-endian store produces, so a hex dump of a little-endian cook is legible.

View Source
const TableCookMaxAlign int64 = 64

TableCookMaxAlign is the ceiling on the header's alignment word: the same sixty-four a block's base takes (§19.1), past which the derived data offset would no longer be the 64 every unit this language can declare produces.

View Source
const TableDocNone = ""

THE SHARED EMPTY DOC (mas-bandwidth/schema docs/SPEC-TABLES.md §8.1): a declaration with no /// block carries a doc column naming this one definition, so absence costs a unit no string data and a printer concatenates doc columns with no nil test. Go gives a string no address identity, so what the rule is READ OFF here is the emitted text: the generated file defines the empty doc once and every unannotated row names that definition, rather than each row carrying an inline "" of its own.

View Source
const TableFixedForm uint8 = 3
View Source
const TableFixedHashAt = 8
View Source
const TableFixedHeaderBytes = 16
View Source
const TableMessageBatchMax = 256
View Source
const TableMessageEntriesHere = 88
View Source
const TableMessageRefBitsHere = 7

Variables

View Source
var ConvergeStateTableFields = []TableFieldInfo{
	{Name: "streams", Json: "streams", TypeName: "ConvergeStreamEntry", DeclaredTypeName: "ConvergeStreamEntry", Id: 0x81f528932d7f3d02, Kind: 13, IsArray: true, Counted: true, Optional: false,
		ArrayBound: 2147483647, Offset: uint32(unsafe.Offsetof(ConvergeState{}.Streams)), ElemSize: uint32(unsafe.Sizeof(*new(ConvergeStreamEntryRow))), CountOffset: (uint32(unsafe.Offsetof(ConvergeState{}.Streams))) + 8, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 32, CookCountOffset: 8, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		List: true, ElemAlign: 8,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ConvergeStreamEntryTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ConvergeStateTableFields is ConvergeState's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ConvergeStreamEntryTableFields = []TableFieldInfo{
	{Name: "name", Json: "name", TypeName: "string", DeclaredTypeName: "string", Id: 0xc4bcadba8e631b86, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ConvergeStreamEntry{}.Name)), ElemSize: uint32(unsafe.Sizeof(ConvergeStreamEntry{}.Name)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "now", Json: "now", TypeName: "float64", DeclaredTypeName: "float64", Id: 0x215ad519258e9d97, Kind: 11, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ConvergeStreamEntry{}.Now)), ElemSize: uint32(unsafe.Sizeof(ConvergeStreamEntry{}.Now)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 8, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "at", Json: "at", TypeName: "string", DeclaredTypeName: "string", Id: 0x89c4e07b545a968, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ConvergeStreamEntry{}.At)), ElemSize: uint32(unsafe.Sizeof(ConvergeStreamEntry{}.At)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 16, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "widening", Json: "widening", TypeName: "int64", DeclaredTypeName: "int64", Id: 0x248c1dfd660df88c, Kind: 5, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ConvergeStreamEntry{}.Widening)), ElemSize: uint32(unsafe.Sizeof(ConvergeStreamEntry{}.Widening)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 24, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ConvergeStreamEntryTableFields is ConvergeStreamEntry's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ErrValidation = errors.New("tablemodelwire: wire validation failed")

ErrValidation is returned when a read rejects the wire: a wrong constant, nonzero reserved bits, or an interior null in a string (SPEC §4.3, §4.7).

View Source
var ModelActionTableFields = []TableFieldInfo{
	{Name: "verb", Json: "verb", TypeName: "string", DeclaredTypeName: "string", Id: 0x673ebb0102773a20, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelAction{}.Verb)), ElemSize: uint32(unsafe.Sizeof(ModelAction{}.Verb)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "args", Json: "args", TypeName: "ModelArg", DeclaredTypeName: "ModelArg", Id: 0x894930843ebc9d7c, Kind: 13, IsArray: true, Counted: true, Optional: false,
		ArrayBound: 2147483647, Offset: uint32(unsafe.Offsetof(ModelAction{}.Args)), ElemSize: uint32(unsafe.Sizeof(*new(ModelArgRow))), CountOffset: (uint32(unsafe.Offsetof(ModelAction{}.Args))) + 8, PresentOffset: 0xffffffff,
		CookOffset: 8, CookElemSize: 8, CookCountOffset: 16, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		List: true, ElemAlign: 8,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelArgTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "actor", Json: "actor", TypeName: "string", DeclaredTypeName: "string", Id: 0xdcccc5391c47d4da, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelAction{}.Actor)), ElemSize: uint32(unsafe.Sizeof(ModelAction{}.Actor)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 24, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelActionTableFields is ModelAction's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelArgTableFields = []TableFieldInfo{
	{Name: "text", Json: "text", TypeName: "string", DeclaredTypeName: "string", Id: 0xfa04f4ef1995407e, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelArg{}.Text)), ElemSize: uint32(unsafe.Sizeof(ModelArg{}.Text)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelArgTableFields is ModelArg's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelBindTableFields = []TableFieldInfo{
	{Name: "cell", Json: "cell", TypeName: "ModelCell", DeclaredTypeName: "ModelCell", Id: 0xd98b1e90fd653435, Kind: 13, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelBind{}.Cell)), ElemSize: uint32(unsafe.Sizeof(ModelBind{}.Cell)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 32, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelCellTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "target", Json: "target", TypeName: "ModelCell", DeclaredTypeName: "ModelCell", Id: 0x16f3e46051eee3e8, Kind: 13, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelBind{}.Target)), ElemSize: uint32(unsafe.Sizeof(ModelBind{}.Target)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 32, CookElemSize: 32, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelCellTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelBindTableFields is ModelBind's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelCellTableFields = []TableFieldInfo{
	{Name: "p", Json: "p", TypeName: "ModelPhys", DeclaredTypeName: "ModelPhys", Id: 0xaf63ed4c8602096f, Kind: 13, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelCell{}.P)), ElemSize: uint32(unsafe.Sizeof(ModelCell{}.P)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 16, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelPhysTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "row", Json: "row", TypeName: "string", DeclaredTypeName: "string", Id: 0x8a0bc1196111ad9b, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelCell{}.Row)), ElemSize: uint32(unsafe.Sizeof(ModelCell{}.Row)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 16, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "col", Json: "col", TypeName: "string", DeclaredTypeName: "string", Id: 0xf604f3190d016791, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelCell{}.Col)), ElemSize: uint32(unsafe.Sizeof(ModelCell{}.Col)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 24, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelCellTableFields is ModelCell's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelDatumTableFields = []TableFieldInfo{
	{Name: "cell", Json: "cell", TypeName: "ModelCell", DeclaredTypeName: "ModelCell", Id: 0xd98b1e90fd653435, Kind: 13, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelDatum{}.Cell)), ElemSize: uint32(unsafe.Sizeof(ModelDatum{}.Cell)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 32, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelCellTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "member", Json: "member", TypeName: "string", DeclaredTypeName: "string", Id: 0x8cada599d66ec543, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelDatum{}.Member)), ElemSize: uint32(unsafe.Sizeof(ModelDatum{}.Member)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 32, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "score", Json: "score", TypeName: "int64", DeclaredTypeName: "int64", Id: 0xc10e63fbe7f624f5, Kind: 5, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelDatum{}.Score)), ElemSize: uint32(unsafe.Sizeof(ModelDatum{}.Score)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 40, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelDatumTableFields is ModelDatum's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelDetailTableFields = []TableFieldInfo{
	{Name: "text", Json: "text", TypeName: "string", DeclaredTypeName: "string", Id: 0xfa04f4ef1995407e, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelDetail{}.Text)), ElemSize: uint32(unsafe.Sizeof(ModelDetail{}.Text)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelDetailTableFields is ModelDetail's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelEventFieldTableFields = []TableFieldInfo{
	{Name: "key", Json: "key", TypeName: "string", DeclaredTypeName: "string", Id: 0x3dc94a19365b10ec, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelEventField{}.Key)), ElemSize: uint32(unsafe.Sizeof(ModelEventField{}.Key)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "value", Json: "value", TypeName: "string", DeclaredTypeName: "string", Id: 0x7ce4fd9430e80cea, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelEventField{}.Value)), ElemSize: uint32(unsafe.Sizeof(ModelEventField{}.Value)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 8, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelEventFieldTableFields is ModelEventField's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelEventTableFields = []TableFieldInfo{
	{Name: "fields", Json: "fields", TypeName: "ModelEventField", DeclaredTypeName: "ModelEventField", Id: 0x490e596d24847edc, Kind: 13, IsArray: true, Counted: true, Optional: false,
		ArrayBound: 2147483647, Offset: uint32(unsafe.Offsetof(ModelEvent{}.Fields)), ElemSize: uint32(unsafe.Sizeof(*new(ModelEventFieldRow))), CountOffset: (uint32(unsafe.Offsetof(ModelEvent{}.Fields))) + 8, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 16, CookCountOffset: 8, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		List: true, ElemAlign: 8,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelEventFieldTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelEventTableFields is ModelEvent's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelFindingTableFields = []TableFieldInfo{
	{Name: "name", Json: "name", TypeName: "string", DeclaredTypeName: "string", Id: 0xc4bcadba8e631b86, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelFinding{}.Name)), ElemSize: uint32(unsafe.Sizeof(ModelFinding{}.Name)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "result", Json: "result", TypeName: "string", DeclaredTypeName: "string", Id: 0x9b51cd7cd76778c4, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelFinding{}.Result)), ElemSize: uint32(unsafe.Sizeof(ModelFinding{}.Result)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 8, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "text", Json: "text", TypeName: "string", DeclaredTypeName: "string", Id: 0xfa04f4ef1995407e, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelFinding{}.Text)), ElemSize: uint32(unsafe.Sizeof(ModelFinding{}.Text)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 16, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelFindingTableFields is ModelFinding's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelHashTableFields = []TableFieldInfo{
	{Name: "module", Json: "module", TypeName: "string", DeclaredTypeName: "string", Id: 0x43e6a23362b6dadd, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelHash{}.Module)), ElemSize: uint32(unsafe.Sizeof(ModelHash{}.Module)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "sha256", Json: "sha256", TypeName: "string", DeclaredTypeName: "string", Id: 0x31c5f470214e1c5a, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelHash{}.Sha256)), ElemSize: uint32(unsafe.Sizeof(ModelHash{}.Sha256)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 8, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelHashTableFields is ModelHash's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelLocationTableFields = []TableFieldInfo{
	{Name: "p", Json: "p", TypeName: "ModelPhys", DeclaredTypeName: "ModelPhys", Id: 0xaf63ed4c8602096f, Kind: 13, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelLocation{}.P)), ElemSize: uint32(unsafe.Sizeof(ModelLocation{}.P)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 16, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelPhysTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "cell", Json: "cell", TypeName: "ModelCell", DeclaredTypeName: "ModelCell", Id: 0xd98b1e90fd653435, Kind: 13, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelLocation{}.Cell)), ElemSize: uint32(unsafe.Sizeof(ModelLocation{}.Cell)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 16, CookElemSize: 32, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelCellTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelLocationTableFields is ModelLocation's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelOutcomeTableFields = []TableFieldInfo{
	{Name: "completed", Json: "completed", TypeName: "bool", DeclaredTypeName: "bool", Id: 0xfdde30c24ce38292, Kind: 1, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelOutcome{}.Completed)), ElemSize: uint32(unsafe.Sizeof(ModelOutcome{}.Completed)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 1, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "generated", Json: "generated", TypeName: "string", DeclaredTypeName: "string", Id: 0xe062a9743d7b3b62, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelOutcome{}.Generated)), ElemSize: uint32(unsafe.Sizeof(ModelOutcome{}.Generated)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 8, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "distinct", Json: "distinct", TypeName: "string", DeclaredTypeName: "string", Id: 0x65a59df633133c8d, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelOutcome{}.Distinct)), ElemSize: uint32(unsafe.Sizeof(ModelOutcome{}.Distinct)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 16, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "violations", Json: "violations", TypeName: "ModelViolation", DeclaredTypeName: "ModelViolation", Id: 0x7170d96cddbdcbf1, Kind: 13, IsArray: true, Counted: true, Optional: false,
		ArrayBound: 2147483647, Offset: uint32(unsafe.Offsetof(ModelOutcome{}.Violations)), ElemSize: uint32(unsafe.Sizeof(*new(ModelViolationRow))), CountOffset: (uint32(unsafe.Offsetof(ModelOutcome{}.Violations))) + 8, PresentOffset: 0xffffffff,
		CookOffset: 24, CookElemSize: 16, CookCountOffset: 32, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		List: true, ElemAlign: 8,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelViolationTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "initialState", Json: "initialState", TypeName: "bool", DeclaredTypeName: "bool", Id: 0x4cea86c6bb96e874, Kind: 1, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelOutcome{}.InitialState)), ElemSize: uint32(unsafe.Sizeof(ModelOutcome{}.InitialState)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 40, CookElemSize: 1, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelOutcomeTableFields is ModelOutcome's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelPhysTableFields = []TableFieldInfo{
	{Name: "table_name", Json: "table_name", TypeName: "string", DeclaredTypeName: "string", Id: 0x6bcb6e85b78cf363, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelPhys{}.TableName)), ElemSize: uint32(unsafe.Sizeof(ModelPhys{}.TableName)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "epoch", Json: "epoch", TypeName: "int64", DeclaredTypeName: "int64", Id: 0xfc9697d1196e6ba6, Kind: 5, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelPhys{}.Epoch)), ElemSize: uint32(unsafe.Sizeof(ModelPhys{}.Epoch)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 8, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelPhysTableFields is ModelPhys's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelPlacementTableFields = []TableFieldInfo{
	{Name: "member", Json: "member", TypeName: "string", DeclaredTypeName: "string", Id: 0x8cada599d66ec543, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelPlacement{}.Member)), ElemSize: uint32(unsafe.Sizeof(ModelPlacement{}.Member)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "locations", Json: "locations", TypeName: "ModelLocation", DeclaredTypeName: "ModelLocation", Id: 0x86c910f0aa9f8e2f, Kind: 13, IsArray: true, Counted: true, Optional: false,
		ArrayBound: 2147483647, Offset: uint32(unsafe.Offsetof(ModelPlacement{}.Locations)), ElemSize: uint32(unsafe.Sizeof(*new(ModelLocationRow))), CountOffset: (uint32(unsafe.Offsetof(ModelPlacement{}.Locations))) + 8, PresentOffset: 0xffffffff,
		CookOffset: 8, CookElemSize: 48, CookCountOffset: 16, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		List: true, ElemAlign: 8,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelLocationTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelPlacementTableFields is ModelPlacement's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelReplayEventTableFields = []TableFieldInfo{
	{Name: "step", Json: "step", TypeName: "string", DeclaredTypeName: "string", Id: 0xaf0b4e191da20cef, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelReplayEvent{}.Step)), ElemSize: uint32(unsafe.Sizeof(ModelReplayEvent{}.Step)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "verdict", Json: "verdict", TypeName: "string", DeclaredTypeName: "string", Id: 0x96aeedce78407976, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelReplayEvent{}.Verdict)), ElemSize: uint32(unsafe.Sizeof(ModelReplayEvent{}.Verdict)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 8, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "fields", Json: "fields", TypeName: "ModelDetail", DeclaredTypeName: "ModelDetail", Id: 0x490e596d24847edc, Kind: 13, IsArray: true, Counted: true, Optional: false,
		ArrayBound: 2147483647, Offset: uint32(unsafe.Offsetof(ModelReplayEvent{}.Fields)), ElemSize: uint32(unsafe.Sizeof(*new(ModelDetailRow))), CountOffset: (uint32(unsafe.Offsetof(ModelReplayEvent{}.Fields))) + 8, PresentOffset: 0xffffffff,
		CookOffset: 16, CookElemSize: 8, CookCountOffset: 24, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		List: true, ElemAlign: 8,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelDetailTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelReplayEventTableFields is ModelReplayEvent's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelRowAtTableFields = []TableFieldInfo{
	{Name: "p", Json: "p", TypeName: "ModelPhys", DeclaredTypeName: "ModelPhys", Id: 0xaf63ed4c8602096f, Kind: 13, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelRowAt{}.P)), ElemSize: uint32(unsafe.Sizeof(ModelRowAt{}.P)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 16, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelPhysTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "row", Json: "row", TypeName: "string", DeclaredTypeName: "string", Id: 0x8a0bc1196111ad9b, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelRowAt{}.Row)), ElemSize: uint32(unsafe.Sizeof(ModelRowAt{}.Row)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 16, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelRowAtTableFields is ModelRowAt's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelSeenTableFields = []TableFieldInfo{
	{Name: "writer", Json: "writer", TypeName: "string", DeclaredTypeName: "string", Id: 0x2a5c507228ac9b4a, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelSeen{}.Writer)), ElemSize: uint32(unsafe.Sizeof(ModelSeen{}.Writer)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "epoch", Json: "epoch", TypeName: "int64", DeclaredTypeName: "int64", Id: 0xfc9697d1196e6ba6, Kind: 5, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelSeen{}.Epoch)), ElemSize: uint32(unsafe.Sizeof(ModelSeen{}.Epoch)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 8, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelSeenTableFields is ModelSeen's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelStateTableFields = []TableFieldInfo{
	{Name: "live", Json: "live", TypeName: "ModelPhys", DeclaredTypeName: "ModelPhys", Id: 0xbf6695ad6966058f, Kind: 13, IsArray: true, Counted: true, Optional: false,
		ArrayBound: 2147483647, Offset: uint32(unsafe.Offsetof(ModelState{}.Live)), ElemSize: uint32(unsafe.Sizeof(*new(ModelPhysRow))), CountOffset: (uint32(unsafe.Offsetof(ModelState{}.Live))) + 8, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 16, CookCountOffset: 8, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		List: true, ElemAlign: 8,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelPhysTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "rows", Json: "rows", TypeName: "ModelRowAt", DeclaredTypeName: "ModelRowAt", Id: 0xa3a7061ff10a8138, Kind: 13, IsArray: true, Counted: true, Optional: false,
		ArrayBound: 2147483647, Offset: uint32(unsafe.Offsetof(ModelState{}.Rows)), ElemSize: uint32(unsafe.Sizeof(*new(ModelRowAtRow))), CountOffset: (uint32(unsafe.Offsetof(ModelState{}.Rows))) + 8, PresentOffset: 0xffffffff,
		CookOffset: 16, CookElemSize: 24, CookCountOffset: 24, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		List: true, ElemAlign: 8,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelRowAtTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "binds", Json: "binds", TypeName: "ModelBind", DeclaredTypeName: "ModelBind", Id: 0x3cadc9c3a6a7e0c7, Kind: 13, IsArray: true, Counted: true, Optional: false,
		ArrayBound: 2147483647, Offset: uint32(unsafe.Offsetof(ModelState{}.Binds)), ElemSize: uint32(unsafe.Sizeof(*new(ModelBindRow))), CountOffset: (uint32(unsafe.Offsetof(ModelState{}.Binds))) + 8, PresentOffset: 0xffffffff,
		CookOffset: 32, CookElemSize: 64, CookCountOffset: 40, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		List: true, ElemAlign: 8,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelBindTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "data", Json: "data", TypeName: "ModelDatum", DeclaredTypeName: "ModelDatum", Id: 0x855b556730a34a05, Kind: 13, IsArray: true, Counted: true, Optional: false,
		ArrayBound: 2147483647, Offset: uint32(unsafe.Offsetof(ModelState{}.Data)), ElemSize: uint32(unsafe.Sizeof(*new(ModelDatumRow))), CountOffset: (uint32(unsafe.Offsetof(ModelState{}.Data))) + 8, PresentOffset: 0xffffffff,
		CookOffset: 48, CookElemSize: 48, CookCountOffset: 56, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		List: true, ElemAlign: 8,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelDatumTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "place", Json: "place", TypeName: "ModelPlacement", DeclaredTypeName: "ModelPlacement", Id: 0xfd6f0e4e166f85bc, Kind: 13, IsArray: true, Counted: true, Optional: false,
		ArrayBound: 2147483647, Offset: uint32(unsafe.Offsetof(ModelState{}.Place)), ElemSize: uint32(unsafe.Sizeof(*new(ModelPlacementRow))), CountOffset: (uint32(unsafe.Offsetof(ModelState{}.Place))) + 8, PresentOffset: 0xffffffff,
		CookOffset: 64, CookElemSize: 24, CookCountOffset: 72, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		List: true, ElemAlign: 8,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelPlacementTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "active", Json: "active", TypeName: "int64", DeclaredTypeName: "int64", Id: 0x6580790b036f0c6f, Kind: 5, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelState{}.Active)), ElemSize: uint32(unsafe.Sizeof(ModelState{}.Active)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 80, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "seen", Json: "seen", TypeName: "ModelSeen", DeclaredTypeName: "ModelSeen", Id: 0x2cfadb18d3ecd12a, Kind: 13, IsArray: true, Counted: true, Optional: false,
		ArrayBound: 2147483647, Offset: uint32(unsafe.Offsetof(ModelState{}.Seen)), ElemSize: uint32(unsafe.Sizeof(*new(ModelSeenRow))), CountOffset: (uint32(unsafe.Offsetof(ModelState{}.Seen))) + 8, PresentOffset: 0xffffffff,
		CookOffset: 88, CookElemSize: 16, CookCountOffset: 96, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		List: true, ElemAlign: 8,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelSeenTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelStateTableFields is ModelState's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelStepResultTableFields = []TableFieldInfo{
	{Name: "step", Json: "step", TypeName: "ModelStep", DeclaredTypeName: "ModelStep", Id: 0xaf0b4e191da20cef, Kind: 13, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelStepResult{}.Step)), ElemSize: uint32(unsafe.Sizeof(ModelStepResult{}.Step)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 48, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelStepTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "verdict", Json: "verdict", TypeName: "string", DeclaredTypeName: "string", Id: 0x96aeedce78407976, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelStepResult{}.Verdict)), ElemSize: uint32(unsafe.Sizeof(ModelStepResult{}.Verdict)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 48, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "ok", Json: "ok", TypeName: "bool", DeclaredTypeName: "bool", Id: 0x8b05d07b5566bef, Kind: 1, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelStepResult{}.Ok)), ElemSize: uint32(unsafe.Sizeof(ModelStepResult{}.Ok)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 56, CookElemSize: 1, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "code", Json: "code", TypeName: "int64", DeclaredTypeName: "int64", Id: 0xbb51791194b4414, Kind: 5, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelStepResult{}.Code)), ElemSize: uint32(unsafe.Sizeof(ModelStepResult{}.Code)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 64, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "seconds", Json: "seconds", TypeName: "int64", DeclaredTypeName: "int64", Id: 0x9eff639fb8a1be0a, Kind: 5, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelStepResult{}.Seconds)), ElemSize: uint32(unsafe.Sizeof(ModelStepResult{}.Seconds)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 72, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "outcome", Json: "outcome", TypeName: "ModelOutcome", DeclaredTypeName: "ModelOutcome", Id: 0x75fe2a8465b02e53, Kind: 13, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelStepResult{}.Outcome)), ElemSize: uint32(unsafe.Sizeof(ModelStepResult{}.Outcome)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 80, CookElemSize: 48, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelOutcomeTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "log", Json: "log", TypeName: "string", DeclaredTypeName: "string", Id: 0x125073191daf5431, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelStepResult{}.Log)), ElemSize: uint32(unsafe.Sizeof(ModelStepResult{}.Log)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 128, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelStepResultTableFields is ModelStepResult's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelStepTableFields = []TableFieldInfo{
	{Name: "name", Json: "name", TypeName: "string", DeclaredTypeName: "string", Id: 0xc4bcadba8e631b86, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelStep{}.Name)), ElemSize: uint32(unsafe.Sizeof(ModelStep{}.Name)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "module", Json: "module", TypeName: "string", DeclaredTypeName: "string", Id: 0x43e6a23362b6dadd, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelStep{}.Module)), ElemSize: uint32(unsafe.Sizeof(ModelStep{}.Module)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 8, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "workers", Json: "workers", TypeName: "int64", DeclaredTypeName: "int64", Id: 0xe4dede02383cb9cc, Kind: 5, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelStep{}.Workers)), ElemSize: uint32(unsafe.Sizeof(ModelStep{}.Workers)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 16, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "kind", Json: "kind", TypeName: "string", DeclaredTypeName: "string", Id: 0xef9c96d721673243, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelStep{}.Kind)), ElemSize: uint32(unsafe.Sizeof(ModelStep{}.Kind)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 24, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "property", Json: "property", TypeName: "string", DeclaredTypeName: "string", Id: 0x58da6b1ccd7c4488, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelStep{}.Property)), ElemSize: uint32(unsafe.Sizeof(ModelStep{}.Property)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 32, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "met", Json: "met", TypeName: "string", DeclaredTypeName: "string", Id: 0x81d4d1917795689, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelStep{}.Met)), ElemSize: uint32(unsafe.Sizeof(ModelStep{}.Met)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 40, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelStepTableFields is ModelStep's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelTraceStepTableFields = []TableFieldInfo{
	{Name: "verb", Json: "verb", TypeName: "string", DeclaredTypeName: "string", Id: 0x673ebb0102773a20, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelTraceStep{}.Verb)), ElemSize: uint32(unsafe.Sizeof(ModelTraceStep{}.Verb)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "args", Json: "args", TypeName: "ModelArg", DeclaredTypeName: "ModelArg", Id: 0x894930843ebc9d7c, Kind: 13, IsArray: true, Counted: true, Optional: false,
		ArrayBound: 2147483647, Offset: uint32(unsafe.Offsetof(ModelTraceStep{}.Args)), ElemSize: uint32(unsafe.Sizeof(*new(ModelArgRow))), CountOffset: (uint32(unsafe.Offsetof(ModelTraceStep{}.Args))) + 8, PresentOffset: 0xffffffff,
		CookOffset: 8, CookElemSize: 8, CookCountOffset: 16, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		List: true, ElemAlign: 8,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelArgTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "actor", Json: "actor", TypeName: "string", DeclaredTypeName: "string", Id: 0xdcccc5391c47d4da, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelTraceStep{}.Actor)), ElemSize: uint32(unsafe.Sizeof(ModelTraceStep{}.Actor)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 24, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "refused", Json: "refused", TypeName: "bool", DeclaredTypeName: "bool", Id: 0xdd362779f48a4b03, Kind: 1, IsArray: false, Counted: false, Optional: true,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelTraceStep{}.Refused)), ElemSize: uint32(unsafe.Sizeof(ModelTraceStep{}.Refused)), CountOffset: 0xffffffff, PresentOffset: uint32(unsafe.Offsetof(ModelTraceStep{}.RefusedPresent)),
		CookOffset: 32, CookElemSize: 1, CookCountOffset: 4294967295, CookPresentOffset: 33,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "hasReceipt", Json: "hasReceipt", TypeName: "bool", DeclaredTypeName: "bool", Id: 0xfd4f7e71a1a21495, Kind: 1, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelTraceStep{}.HasReceipt)), ElemSize: uint32(unsafe.Sizeof(ModelTraceStep{}.HasReceipt)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 34, CookElemSize: 1, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "receipt", Json: "receipt", TypeName: "ModelEvent", DeclaredTypeName: "ModelEvent", Id: 0xf8f39921c835bf03, Kind: 13, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelTraceStep{}.Receipt)), ElemSize: uint32(unsafe.Sizeof(ModelTraceStep{}.Receipt)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 40, CookElemSize: 16, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelEventTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "model", Json: "model", TypeName: "string", DeclaredTypeName: "string", Id: 0x9de543933e6e703a, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelTraceStep{}.Model)), ElemSize: uint32(unsafe.Sizeof(ModelTraceStep{}.Model)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 56, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "state", Json: "state", TypeName: "ModelState", DeclaredTypeName: "ModelState", Id: 0xee63aaad45b1b116, Kind: 13, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelTraceStep{}.State)), ElemSize: uint32(unsafe.Sizeof(ModelTraceStep{}.State)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 64, CookElemSize: 104, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelStateTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelTraceStepTableFields is ModelTraceStep's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelTraceTableFields = []TableFieldInfo{
	{Name: "sourceSha256", Json: "sourceSha256", TypeName: "string", DeclaredTypeName: "string", Id: 0x4fbdf626b33de6bf, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelTrace{}.SourceSha256)), ElemSize: uint32(unsafe.Sizeof(ModelTrace{}.SourceSha256)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "modelSha256", Json: "modelSha256", TypeName: "ModelHash", DeclaredTypeName: "ModelHash", Id: 0x952f22722a282495, Kind: 13, IsArray: true, Counted: true, Optional: false,
		ArrayBound: 2147483647, Offset: uint32(unsafe.Offsetof(ModelTrace{}.ModelSha256)), ElemSize: uint32(unsafe.Sizeof(*new(ModelHashRow))), CountOffset: (uint32(unsafe.Offsetof(ModelTrace{}.ModelSha256))) + 8, PresentOffset: 0xffffffff,
		CookOffset: 8, CookElemSize: 16, CookCountOffset: 16, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		List: true, ElemAlign: 8,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelHashTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "initial", Json: "initial", TypeName: "ModelState", DeclaredTypeName: "ModelState", Id: 0x7f5f002d3284b6c3, Kind: 13, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelTrace{}.Initial)), ElemSize: uint32(unsafe.Sizeof(ModelTrace{}.Initial)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 24, CookElemSize: 104, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelStateTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "steps", Json: "steps", TypeName: "ModelTraceStep", DeclaredTypeName: "ModelTraceStep", Id: 0x124250ad5a5b6d14, Kind: 13, IsArray: true, Counted: true, Optional: false,
		ArrayBound: 2147483647, Offset: uint32(unsafe.Offsetof(ModelTrace{}.Steps)), ElemSize: uint32(unsafe.Sizeof(*new(ModelTraceStepRow))), CountOffset: (uint32(unsafe.Offsetof(ModelTrace{}.Steps))) + 8, PresentOffset: 0xffffffff,
		CookOffset: 128, CookElemSize: 168, CookCountOffset: 136, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		List: true, ElemAlign: 8,
		FracBits: 0, Pointer: false, TargetId: 0x0000000000000000,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: ModelTraceStepTableType,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelTraceTableFields is ModelTrace's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var ModelViolationTableFields = []TableFieldInfo{
	{Name: "kind", Json: "kind", TypeName: "string", DeclaredTypeName: "string", Id: 0xef9c96d721673243, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelViolation{}.Kind)), ElemSize: uint32(unsafe.Sizeof(ModelViolation{}.Kind)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 0, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
	{Name: "name", Json: "name", TypeName: "string", DeclaredTypeName: "string", Id: 0xc4bcadba8e631b86, Kind: 17, IsArray: false, Counted: false, Optional: false,
		ArrayBound: 0, Offset: uint32(unsafe.Offsetof(ModelViolation{}.Name)), ElemSize: uint32(unsafe.Sizeof(ModelViolation{}.Name)), CountOffset: 0xffffffff, PresentOffset: 0xffffffff,
		CookOffset: 8, CookElemSize: 8, CookCountOffset: 4294967295, CookPresentOffset: 4294967295,
		HasRange: false, RangeMin: 0.0, RangeMax: 0.0, EnumMax: -1,
		FracBits: 0, Pointer: true, TargetId: 0x704be0d8faaffc58,
		EnumName:    nil,
		VariantId:   nil,
		KeyTypeName: "", KeyName: nil, KeyId: nil,
		Arms:  nil,
		Guard: "", Table: nil,
		Doc: TableDocNone, NumTags: 0, Tags: nil},
}

ModelViolationTableFields is ModelViolation's per-field reflection data (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

View Source
var TableCookByteOrder = tableCookNativeOrder()

TableCookByteOrder is THIS BUILD's byte order, as §7.1's order word records it. The byte order is settled AT COOK TIME for the target build, so a matching build version already means a matching order and Open never fixes anything up; a cook whose recorded order is not this build's is simply not this build's file.

Functions

func Announce

func Announce(buffer []byte) int64

func AnnounceMeasure

func AnnounceMeasure() int64

func AnnounceRead

func AnnounceRead(v *TableVocabulary, data []byte, report *TableReport) bool

func ConvergeStateCookFrom

func ConvergeStateCookFrom(value *ConvergeState, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ConvergeStateCookMeasure

func ConvergeStateCookMeasure(value *ConvergeState, context ...TableWriteContext) int64

func ConvergeStateCookMeasureReason

func ConvergeStateCookMeasureReason(value *ConvergeState, context ...TableWriteContext) (int64, error)

func ConvergeStateFromJson

func ConvergeStateFromJson(builder *ConvergeStateBuilder, text []byte, report *TableReport) bool

func ConvergeStateLoadBody

func ConvergeStateLoadBody(r *TableReader, value *ConvergeState) bool

func ConvergeStateLoadBodyRetain

func ConvergeStateLoadBodyRetain(r *TableRetainReader, value *ConvergeState) bool

func ConvergeStateLoadBuilder

func ConvergeStateLoadBuilder(b *ConvergeStateBuilder, wire []byte, report *TableReport) bool

func ConvergeStateLoadMeasure

func ConvergeStateLoadMeasure(wire []byte) int64

func ConvergeStateLoadMeasureReason

func ConvergeStateLoadMeasureReason(wire []byte) (int64, error)

func ConvergeStateLoadMessageBody

func ConvergeStateLoadMessageBody(r *TableMessageReader, value *ConvergeState) bool

func ConvergeStateLoadMessageBodyRetain

func ConvergeStateLoadMessageBodyRetain(r *TableRetainMessageReader, value *ConvergeState) bool

func ConvergeStateMeasure

func ConvergeStateMeasure(value *ConvergeState, context ...TableWriteContext) int64

func ConvergeStateMeasureBody

func ConvergeStateMeasureBody(value *ConvergeState, ids *TableIds) int64

func ConvergeStateMeasureBodyRetain

func ConvergeStateMeasureBodyRetain(value *ConvergeState, ids *TableRetainIds) int64

func ConvergeStateMeasureReason

func ConvergeStateMeasureReason(value *ConvergeState, context ...TableWriteContext) (int64, error)

func ConvergeStateMeasureRetain

func ConvergeStateMeasureRetain(value *ConvergeState, retain *TableRetain, allocator ...TableAllocator) int64

func ConvergeStateOpen

func ConvergeStateOpen(cook *ConvergeStateCook, base unsafe.Pointer, length int64) bool

ConvergeStateOpen is the bool convenience for the typed Open error on the handle.

func ConvergeStateReset

func ConvergeStateReset(value *ConvergeState)

ConvergeStateReset restores ConvergeState's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ConvergeStateSave

func ConvergeStateSave(value *ConvergeState, buffer []byte, context ...TableWriteContext) int64

func ConvergeStateSaveBody

func ConvergeStateSaveBody(w *TableWriter, value *ConvergeState) bool

func ConvergeStateSaveBodyFields

func ConvergeStateSaveBodyFields(w *TableWriter, value *ConvergeState) bool

func ConvergeStateSaveBodyFieldsRetain

func ConvergeStateSaveBodyFieldsRetain(w *TableRetainWriter, value *ConvergeState) bool

func ConvergeStateSaveBodyRetain

func ConvergeStateSaveBodyRetain(w *TableRetainWriter, value *ConvergeState) bool

func ConvergeStateSaveMessageBody

func ConvergeStateSaveMessageBody(w *TableMessageWriter, value *ConvergeState) bool

func ConvergeStateSaveRetain

func ConvergeStateSaveRetain(value *ConvergeState, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ConvergeStateSaveText

func ConvergeStateSaveText(value *ConvergeState, context ...TableWriteContext) (string, error)

ConvergeStateSaveText returns the base64 of ConvergeState's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ConvergeStateSave takes.

func ConvergeStateStreamsEach

func ConvergeStateStreamsEach(holder *TableList[ConvergeStreamEntryRow], visit func(*ConvergeStreamEntryRow) bool, arena ...*TableArena) bool

func ConvergeStateStreamsErase

func ConvergeStateStreamsErase(arena *TableArena, holder *TableList[ConvergeStreamEntryRow], element *ConvergeStreamEntryRow) bool

func ConvergeStateToJson

func ConvergeStateToJson(value *ConvergeState, buffer []byte, allocator ...TableAllocator) int64

func ConvergeStateToJsonMeasure

func ConvergeStateToJsonMeasure(value *ConvergeState, allocator ...TableAllocator) int64

func ConvergeStreamEntryCookFrom

func ConvergeStreamEntryCookFrom(value *ConvergeStreamEntry, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ConvergeStreamEntryCookMeasure

func ConvergeStreamEntryCookMeasure(value *ConvergeStreamEntry, context ...TableWriteContext) int64

func ConvergeStreamEntryCookMeasureReason

func ConvergeStreamEntryCookMeasureReason(value *ConvergeStreamEntry, context ...TableWriteContext) (int64, error)

func ConvergeStreamEntryFromJson

func ConvergeStreamEntryFromJson(builder *ConvergeStreamEntryBuilder, text []byte, report *TableReport) bool

func ConvergeStreamEntryLoadBody

func ConvergeStreamEntryLoadBody(r *TableReader, value *ConvergeStreamEntry) bool

func ConvergeStreamEntryLoadBodyRetain

func ConvergeStreamEntryLoadBodyRetain(r *TableRetainReader, value *ConvergeStreamEntry) bool

func ConvergeStreamEntryLoadBuilder

func ConvergeStreamEntryLoadBuilder(b *ConvergeStreamEntryBuilder, wire []byte, report *TableReport) bool

func ConvergeStreamEntryLoadMeasure

func ConvergeStreamEntryLoadMeasure(wire []byte) int64

func ConvergeStreamEntryLoadMeasureReason

func ConvergeStreamEntryLoadMeasureReason(wire []byte) (int64, error)

func ConvergeStreamEntryLoadMessageBody

func ConvergeStreamEntryLoadMessageBody(r *TableMessageReader, value *ConvergeStreamEntry) bool

func ConvergeStreamEntryLoadMessageBodyRetain

func ConvergeStreamEntryLoadMessageBodyRetain(r *TableRetainMessageReader, value *ConvergeStreamEntry) bool

func ConvergeStreamEntryMeasure

func ConvergeStreamEntryMeasure(value *ConvergeStreamEntry, context ...TableWriteContext) int64

func ConvergeStreamEntryMeasureBody

func ConvergeStreamEntryMeasureBody(value *ConvergeStreamEntry, ids *TableIds) int64

func ConvergeStreamEntryMeasureBodyRetain

func ConvergeStreamEntryMeasureBodyRetain(value *ConvergeStreamEntry, ids *TableRetainIds) int64

func ConvergeStreamEntryMeasureReason

func ConvergeStreamEntryMeasureReason(value *ConvergeStreamEntry, context ...TableWriteContext) (int64, error)

func ConvergeStreamEntryMeasureRetain

func ConvergeStreamEntryMeasureRetain(value *ConvergeStreamEntry, retain *TableRetain, allocator ...TableAllocator) int64

func ConvergeStreamEntryOpen

func ConvergeStreamEntryOpen(cook *ConvergeStreamEntryCook, base unsafe.Pointer, length int64) bool

ConvergeStreamEntryOpen is the bool convenience for the typed Open error on the handle.

func ConvergeStreamEntryReset

func ConvergeStreamEntryReset(value *ConvergeStreamEntry)

ConvergeStreamEntryReset restores ConvergeStreamEntry's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ConvergeStreamEntrySave

func ConvergeStreamEntrySave(value *ConvergeStreamEntry, buffer []byte, context ...TableWriteContext) int64

func ConvergeStreamEntrySaveBody

func ConvergeStreamEntrySaveBody(w *TableWriter, value *ConvergeStreamEntry) bool

func ConvergeStreamEntrySaveBodyFields

func ConvergeStreamEntrySaveBodyFields(w *TableWriter, value *ConvergeStreamEntry) bool

func ConvergeStreamEntrySaveBodyFieldsRetain

func ConvergeStreamEntrySaveBodyFieldsRetain(w *TableRetainWriter, value *ConvergeStreamEntry) bool

func ConvergeStreamEntrySaveBodyRetain

func ConvergeStreamEntrySaveBodyRetain(w *TableRetainWriter, value *ConvergeStreamEntry) bool

func ConvergeStreamEntrySaveMessageBody

func ConvergeStreamEntrySaveMessageBody(w *TableMessageWriter, value *ConvergeStreamEntry) bool

func ConvergeStreamEntrySaveRetain

func ConvergeStreamEntrySaveRetain(value *ConvergeStreamEntry, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ConvergeStreamEntrySaveText

func ConvergeStreamEntrySaveText(value *ConvergeStreamEntry, context ...TableWriteContext) (string, error)

ConvergeStreamEntrySaveText returns the base64 of ConvergeStreamEntry's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ConvergeStreamEntrySave takes.

func ConvergeStreamEntryToJson

func ConvergeStreamEntryToJson(value *ConvergeStreamEntry, buffer []byte, allocator ...TableAllocator) int64

func ConvergeStreamEntryToJsonMeasure

func ConvergeStreamEntryToJsonMeasure(value *ConvergeStreamEntry, allocator ...TableAllocator) int64

func ModelActionArgsEach

func ModelActionArgsEach(holder *TableList[ModelArgRow], visit func(*ModelArgRow) bool, arena ...*TableArena) bool

func ModelActionArgsErase

func ModelActionArgsErase(arena *TableArena, holder *TableList[ModelArgRow], element *ModelArgRow) bool

func ModelActionCookFrom

func ModelActionCookFrom(value *ModelAction, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelActionCookMeasure

func ModelActionCookMeasure(value *ModelAction, context ...TableWriteContext) int64

func ModelActionCookMeasureReason

func ModelActionCookMeasureReason(value *ModelAction, context ...TableWriteContext) (int64, error)

func ModelActionFromJson

func ModelActionFromJson(builder *ModelActionBuilder, text []byte, report *TableReport) bool

func ModelActionLoadBody

func ModelActionLoadBody(r *TableReader, value *ModelAction) bool

func ModelActionLoadBodyRetain

func ModelActionLoadBodyRetain(r *TableRetainReader, value *ModelAction) bool

func ModelActionLoadBuilder

func ModelActionLoadBuilder(b *ModelActionBuilder, wire []byte, report *TableReport) bool

func ModelActionLoadMeasure

func ModelActionLoadMeasure(wire []byte) int64

func ModelActionLoadMeasureReason

func ModelActionLoadMeasureReason(wire []byte) (int64, error)

func ModelActionLoadMessageBody

func ModelActionLoadMessageBody(r *TableMessageReader, value *ModelAction) bool

func ModelActionLoadMessageBodyRetain

func ModelActionLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelAction) bool

func ModelActionMeasure

func ModelActionMeasure(value *ModelAction, context ...TableWriteContext) int64

func ModelActionMeasureBody

func ModelActionMeasureBody(value *ModelAction, ids *TableIds) int64

func ModelActionMeasureBodyRetain

func ModelActionMeasureBodyRetain(value *ModelAction, ids *TableRetainIds) int64

func ModelActionMeasureReason

func ModelActionMeasureReason(value *ModelAction, context ...TableWriteContext) (int64, error)

func ModelActionMeasureRetain

func ModelActionMeasureRetain(value *ModelAction, retain *TableRetain, allocator ...TableAllocator) int64

func ModelActionOpen

func ModelActionOpen(cook *ModelActionCook, base unsafe.Pointer, length int64) bool

ModelActionOpen is the bool convenience for the typed Open error on the handle.

func ModelActionReset

func ModelActionReset(value *ModelAction)

ModelActionReset restores ModelAction's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelActionSave

func ModelActionSave(value *ModelAction, buffer []byte, context ...TableWriteContext) int64

func ModelActionSaveBody

func ModelActionSaveBody(w *TableWriter, value *ModelAction) bool

func ModelActionSaveBodyFields

func ModelActionSaveBodyFields(w *TableWriter, value *ModelAction) bool

func ModelActionSaveBodyFieldsRetain

func ModelActionSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelAction) bool

func ModelActionSaveBodyRetain

func ModelActionSaveBodyRetain(w *TableRetainWriter, value *ModelAction) bool

func ModelActionSaveMessageBody

func ModelActionSaveMessageBody(w *TableMessageWriter, value *ModelAction) bool

func ModelActionSaveRetain

func ModelActionSaveRetain(value *ModelAction, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelActionSaveText

func ModelActionSaveText(value *ModelAction, context ...TableWriteContext) (string, error)

ModelActionSaveText returns the base64 of ModelAction's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelActionSave takes.

func ModelActionToJson

func ModelActionToJson(value *ModelAction, buffer []byte, allocator ...TableAllocator) int64

func ModelActionToJsonMeasure

func ModelActionToJsonMeasure(value *ModelAction, allocator ...TableAllocator) int64

func ModelArgCookFrom

func ModelArgCookFrom(value *ModelArg, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelArgCookMeasure

func ModelArgCookMeasure(value *ModelArg, context ...TableWriteContext) int64

func ModelArgCookMeasureReason

func ModelArgCookMeasureReason(value *ModelArg, context ...TableWriteContext) (int64, error)

func ModelArgFromJson

func ModelArgFromJson(builder *ModelArgBuilder, text []byte, report *TableReport) bool

func ModelArgLoadBody

func ModelArgLoadBody(r *TableReader, value *ModelArg) bool

func ModelArgLoadBodyRetain

func ModelArgLoadBodyRetain(r *TableRetainReader, value *ModelArg) bool

func ModelArgLoadBuilder

func ModelArgLoadBuilder(b *ModelArgBuilder, wire []byte, report *TableReport) bool

func ModelArgLoadMeasure

func ModelArgLoadMeasure(wire []byte) int64

func ModelArgLoadMeasureReason

func ModelArgLoadMeasureReason(wire []byte) (int64, error)

func ModelArgLoadMessageBody

func ModelArgLoadMessageBody(r *TableMessageReader, value *ModelArg) bool

func ModelArgLoadMessageBodyRetain

func ModelArgLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelArg) bool

func ModelArgMeasure

func ModelArgMeasure(value *ModelArg, context ...TableWriteContext) int64

func ModelArgMeasureBody

func ModelArgMeasureBody(value *ModelArg, ids *TableIds) int64

func ModelArgMeasureBodyRetain

func ModelArgMeasureBodyRetain(value *ModelArg, ids *TableRetainIds) int64

func ModelArgMeasureReason

func ModelArgMeasureReason(value *ModelArg, context ...TableWriteContext) (int64, error)

func ModelArgMeasureRetain

func ModelArgMeasureRetain(value *ModelArg, retain *TableRetain, allocator ...TableAllocator) int64

func ModelArgOpen

func ModelArgOpen(cook *ModelArgCook, base unsafe.Pointer, length int64) bool

ModelArgOpen is the bool convenience for the typed Open error on the handle.

func ModelArgReset

func ModelArgReset(value *ModelArg)

ModelArgReset restores ModelArg's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelArgSave

func ModelArgSave(value *ModelArg, buffer []byte, context ...TableWriteContext) int64

func ModelArgSaveBody

func ModelArgSaveBody(w *TableWriter, value *ModelArg) bool

func ModelArgSaveBodyFields

func ModelArgSaveBodyFields(w *TableWriter, value *ModelArg) bool

func ModelArgSaveBodyFieldsRetain

func ModelArgSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelArg) bool

func ModelArgSaveBodyRetain

func ModelArgSaveBodyRetain(w *TableRetainWriter, value *ModelArg) bool

func ModelArgSaveMessageBody

func ModelArgSaveMessageBody(w *TableMessageWriter, value *ModelArg) bool

func ModelArgSaveRetain

func ModelArgSaveRetain(value *ModelArg, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelArgSaveText

func ModelArgSaveText(value *ModelArg, context ...TableWriteContext) (string, error)

ModelArgSaveText returns the base64 of ModelArg's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelArgSave takes.

func ModelArgToJson

func ModelArgToJson(value *ModelArg, buffer []byte, allocator ...TableAllocator) int64

func ModelArgToJsonMeasure

func ModelArgToJsonMeasure(value *ModelArg, allocator ...TableAllocator) int64

func ModelBindCookFrom

func ModelBindCookFrom(value *ModelBind, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelBindCookMeasure

func ModelBindCookMeasure(value *ModelBind, context ...TableWriteContext) int64

func ModelBindCookMeasureReason

func ModelBindCookMeasureReason(value *ModelBind, context ...TableWriteContext) (int64, error)

func ModelBindFromJson

func ModelBindFromJson(builder *ModelBindBuilder, text []byte, report *TableReport) bool

func ModelBindLoadBody

func ModelBindLoadBody(r *TableReader, value *ModelBind) bool

func ModelBindLoadBodyRetain

func ModelBindLoadBodyRetain(r *TableRetainReader, value *ModelBind) bool

func ModelBindLoadBuilder

func ModelBindLoadBuilder(b *ModelBindBuilder, wire []byte, report *TableReport) bool

func ModelBindLoadMeasure

func ModelBindLoadMeasure(wire []byte) int64

func ModelBindLoadMeasureReason

func ModelBindLoadMeasureReason(wire []byte) (int64, error)

func ModelBindLoadMessageBody

func ModelBindLoadMessageBody(r *TableMessageReader, value *ModelBind) bool

func ModelBindLoadMessageBodyRetain

func ModelBindLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelBind) bool

func ModelBindMeasure

func ModelBindMeasure(value *ModelBind, context ...TableWriteContext) int64

func ModelBindMeasureBody

func ModelBindMeasureBody(value *ModelBind, ids *TableIds) int64

func ModelBindMeasureBodyRetain

func ModelBindMeasureBodyRetain(value *ModelBind, ids *TableRetainIds) int64

func ModelBindMeasureReason

func ModelBindMeasureReason(value *ModelBind, context ...TableWriteContext) (int64, error)

func ModelBindMeasureRetain

func ModelBindMeasureRetain(value *ModelBind, retain *TableRetain, allocator ...TableAllocator) int64

func ModelBindOpen

func ModelBindOpen(cook *ModelBindCook, base unsafe.Pointer, length int64) bool

ModelBindOpen is the bool convenience for the typed Open error on the handle.

func ModelBindReset

func ModelBindReset(value *ModelBind)

ModelBindReset restores ModelBind's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelBindSave

func ModelBindSave(value *ModelBind, buffer []byte, context ...TableWriteContext) int64

func ModelBindSaveBody

func ModelBindSaveBody(w *TableWriter, value *ModelBind) bool

func ModelBindSaveBodyFields

func ModelBindSaveBodyFields(w *TableWriter, value *ModelBind) bool

func ModelBindSaveBodyFieldsRetain

func ModelBindSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelBind) bool

func ModelBindSaveBodyRetain

func ModelBindSaveBodyRetain(w *TableRetainWriter, value *ModelBind) bool

func ModelBindSaveMessageBody

func ModelBindSaveMessageBody(w *TableMessageWriter, value *ModelBind) bool

func ModelBindSaveRetain

func ModelBindSaveRetain(value *ModelBind, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelBindSaveText

func ModelBindSaveText(value *ModelBind, context ...TableWriteContext) (string, error)

ModelBindSaveText returns the base64 of ModelBind's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelBindSave takes.

func ModelBindToJson

func ModelBindToJson(value *ModelBind, buffer []byte, allocator ...TableAllocator) int64

func ModelBindToJsonMeasure

func ModelBindToJsonMeasure(value *ModelBind, allocator ...TableAllocator) int64

func ModelCellCookFrom

func ModelCellCookFrom(value *ModelCell, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelCellCookMeasure

func ModelCellCookMeasure(value *ModelCell, context ...TableWriteContext) int64

func ModelCellCookMeasureReason

func ModelCellCookMeasureReason(value *ModelCell, context ...TableWriteContext) (int64, error)

func ModelCellFromJson

func ModelCellFromJson(builder *ModelCellBuilder, text []byte, report *TableReport) bool

func ModelCellLoadBody

func ModelCellLoadBody(r *TableReader, value *ModelCell) bool

func ModelCellLoadBodyRetain

func ModelCellLoadBodyRetain(r *TableRetainReader, value *ModelCell) bool

func ModelCellLoadBuilder

func ModelCellLoadBuilder(b *ModelCellBuilder, wire []byte, report *TableReport) bool

func ModelCellLoadMeasure

func ModelCellLoadMeasure(wire []byte) int64

func ModelCellLoadMeasureReason

func ModelCellLoadMeasureReason(wire []byte) (int64, error)

func ModelCellLoadMessageBody

func ModelCellLoadMessageBody(r *TableMessageReader, value *ModelCell) bool

func ModelCellLoadMessageBodyRetain

func ModelCellLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelCell) bool

func ModelCellMeasure

func ModelCellMeasure(value *ModelCell, context ...TableWriteContext) int64

func ModelCellMeasureBody

func ModelCellMeasureBody(value *ModelCell, ids *TableIds) int64

func ModelCellMeasureBodyRetain

func ModelCellMeasureBodyRetain(value *ModelCell, ids *TableRetainIds) int64

func ModelCellMeasureReason

func ModelCellMeasureReason(value *ModelCell, context ...TableWriteContext) (int64, error)

func ModelCellMeasureRetain

func ModelCellMeasureRetain(value *ModelCell, retain *TableRetain, allocator ...TableAllocator) int64

func ModelCellOpen

func ModelCellOpen(cook *ModelCellCook, base unsafe.Pointer, length int64) bool

ModelCellOpen is the bool convenience for the typed Open error on the handle.

func ModelCellReset

func ModelCellReset(value *ModelCell)

ModelCellReset restores ModelCell's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelCellSave

func ModelCellSave(value *ModelCell, buffer []byte, context ...TableWriteContext) int64

func ModelCellSaveBody

func ModelCellSaveBody(w *TableWriter, value *ModelCell) bool

func ModelCellSaveBodyFields

func ModelCellSaveBodyFields(w *TableWriter, value *ModelCell) bool

func ModelCellSaveBodyFieldsRetain

func ModelCellSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelCell) bool

func ModelCellSaveBodyRetain

func ModelCellSaveBodyRetain(w *TableRetainWriter, value *ModelCell) bool

func ModelCellSaveMessageBody

func ModelCellSaveMessageBody(w *TableMessageWriter, value *ModelCell) bool

func ModelCellSaveRetain

func ModelCellSaveRetain(value *ModelCell, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelCellSaveText

func ModelCellSaveText(value *ModelCell, context ...TableWriteContext) (string, error)

ModelCellSaveText returns the base64 of ModelCell's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelCellSave takes.

func ModelCellToJson

func ModelCellToJson(value *ModelCell, buffer []byte, allocator ...TableAllocator) int64

func ModelCellToJsonMeasure

func ModelCellToJsonMeasure(value *ModelCell, allocator ...TableAllocator) int64

func ModelDatumCookFrom

func ModelDatumCookFrom(value *ModelDatum, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelDatumCookMeasure

func ModelDatumCookMeasure(value *ModelDatum, context ...TableWriteContext) int64

func ModelDatumCookMeasureReason

func ModelDatumCookMeasureReason(value *ModelDatum, context ...TableWriteContext) (int64, error)

func ModelDatumFromJson

func ModelDatumFromJson(builder *ModelDatumBuilder, text []byte, report *TableReport) bool

func ModelDatumLoadBody

func ModelDatumLoadBody(r *TableReader, value *ModelDatum) bool

func ModelDatumLoadBodyRetain

func ModelDatumLoadBodyRetain(r *TableRetainReader, value *ModelDatum) bool

func ModelDatumLoadBuilder

func ModelDatumLoadBuilder(b *ModelDatumBuilder, wire []byte, report *TableReport) bool

func ModelDatumLoadMeasure

func ModelDatumLoadMeasure(wire []byte) int64

func ModelDatumLoadMeasureReason

func ModelDatumLoadMeasureReason(wire []byte) (int64, error)

func ModelDatumLoadMessageBody

func ModelDatumLoadMessageBody(r *TableMessageReader, value *ModelDatum) bool

func ModelDatumLoadMessageBodyRetain

func ModelDatumLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelDatum) bool

func ModelDatumMeasure

func ModelDatumMeasure(value *ModelDatum, context ...TableWriteContext) int64

func ModelDatumMeasureBody

func ModelDatumMeasureBody(value *ModelDatum, ids *TableIds) int64

func ModelDatumMeasureBodyRetain

func ModelDatumMeasureBodyRetain(value *ModelDatum, ids *TableRetainIds) int64

func ModelDatumMeasureReason

func ModelDatumMeasureReason(value *ModelDatum, context ...TableWriteContext) (int64, error)

func ModelDatumMeasureRetain

func ModelDatumMeasureRetain(value *ModelDatum, retain *TableRetain, allocator ...TableAllocator) int64

func ModelDatumOpen

func ModelDatumOpen(cook *ModelDatumCook, base unsafe.Pointer, length int64) bool

ModelDatumOpen is the bool convenience for the typed Open error on the handle.

func ModelDatumReset

func ModelDatumReset(value *ModelDatum)

ModelDatumReset restores ModelDatum's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelDatumSave

func ModelDatumSave(value *ModelDatum, buffer []byte, context ...TableWriteContext) int64

func ModelDatumSaveBody

func ModelDatumSaveBody(w *TableWriter, value *ModelDatum) bool

func ModelDatumSaveBodyFields

func ModelDatumSaveBodyFields(w *TableWriter, value *ModelDatum) bool

func ModelDatumSaveBodyFieldsRetain

func ModelDatumSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelDatum) bool

func ModelDatumSaveBodyRetain

func ModelDatumSaveBodyRetain(w *TableRetainWriter, value *ModelDatum) bool

func ModelDatumSaveMessageBody

func ModelDatumSaveMessageBody(w *TableMessageWriter, value *ModelDatum) bool

func ModelDatumSaveRetain

func ModelDatumSaveRetain(value *ModelDatum, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelDatumSaveText

func ModelDatumSaveText(value *ModelDatum, context ...TableWriteContext) (string, error)

ModelDatumSaveText returns the base64 of ModelDatum's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelDatumSave takes.

func ModelDatumToJson

func ModelDatumToJson(value *ModelDatum, buffer []byte, allocator ...TableAllocator) int64

func ModelDatumToJsonMeasure

func ModelDatumToJsonMeasure(value *ModelDatum, allocator ...TableAllocator) int64

func ModelDetailCookFrom

func ModelDetailCookFrom(value *ModelDetail, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelDetailCookMeasure

func ModelDetailCookMeasure(value *ModelDetail, context ...TableWriteContext) int64

func ModelDetailCookMeasureReason

func ModelDetailCookMeasureReason(value *ModelDetail, context ...TableWriteContext) (int64, error)

func ModelDetailFromJson

func ModelDetailFromJson(builder *ModelDetailBuilder, text []byte, report *TableReport) bool

func ModelDetailLoadBody

func ModelDetailLoadBody(r *TableReader, value *ModelDetail) bool

func ModelDetailLoadBodyRetain

func ModelDetailLoadBodyRetain(r *TableRetainReader, value *ModelDetail) bool

func ModelDetailLoadBuilder

func ModelDetailLoadBuilder(b *ModelDetailBuilder, wire []byte, report *TableReport) bool

func ModelDetailLoadMeasure

func ModelDetailLoadMeasure(wire []byte) int64

func ModelDetailLoadMeasureReason

func ModelDetailLoadMeasureReason(wire []byte) (int64, error)

func ModelDetailLoadMessageBody

func ModelDetailLoadMessageBody(r *TableMessageReader, value *ModelDetail) bool

func ModelDetailLoadMessageBodyRetain

func ModelDetailLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelDetail) bool

func ModelDetailMeasure

func ModelDetailMeasure(value *ModelDetail, context ...TableWriteContext) int64

func ModelDetailMeasureBody

func ModelDetailMeasureBody(value *ModelDetail, ids *TableIds) int64

func ModelDetailMeasureBodyRetain

func ModelDetailMeasureBodyRetain(value *ModelDetail, ids *TableRetainIds) int64

func ModelDetailMeasureReason

func ModelDetailMeasureReason(value *ModelDetail, context ...TableWriteContext) (int64, error)

func ModelDetailMeasureRetain

func ModelDetailMeasureRetain(value *ModelDetail, retain *TableRetain, allocator ...TableAllocator) int64

func ModelDetailOpen

func ModelDetailOpen(cook *ModelDetailCook, base unsafe.Pointer, length int64) bool

ModelDetailOpen is the bool convenience for the typed Open error on the handle.

func ModelDetailReset

func ModelDetailReset(value *ModelDetail)

ModelDetailReset restores ModelDetail's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelDetailSave

func ModelDetailSave(value *ModelDetail, buffer []byte, context ...TableWriteContext) int64

func ModelDetailSaveBody

func ModelDetailSaveBody(w *TableWriter, value *ModelDetail) bool

func ModelDetailSaveBodyFields

func ModelDetailSaveBodyFields(w *TableWriter, value *ModelDetail) bool

func ModelDetailSaveBodyFieldsRetain

func ModelDetailSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelDetail) bool

func ModelDetailSaveBodyRetain

func ModelDetailSaveBodyRetain(w *TableRetainWriter, value *ModelDetail) bool

func ModelDetailSaveMessageBody

func ModelDetailSaveMessageBody(w *TableMessageWriter, value *ModelDetail) bool

func ModelDetailSaveRetain

func ModelDetailSaveRetain(value *ModelDetail, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelDetailSaveText

func ModelDetailSaveText(value *ModelDetail, context ...TableWriteContext) (string, error)

ModelDetailSaveText returns the base64 of ModelDetail's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelDetailSave takes.

func ModelDetailToJson

func ModelDetailToJson(value *ModelDetail, buffer []byte, allocator ...TableAllocator) int64

func ModelDetailToJsonMeasure

func ModelDetailToJsonMeasure(value *ModelDetail, allocator ...TableAllocator) int64

func ModelEventCookFrom

func ModelEventCookFrom(value *ModelEvent, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelEventCookMeasure

func ModelEventCookMeasure(value *ModelEvent, context ...TableWriteContext) int64

func ModelEventCookMeasureReason

func ModelEventCookMeasureReason(value *ModelEvent, context ...TableWriteContext) (int64, error)

func ModelEventFieldCookFrom

func ModelEventFieldCookFrom(value *ModelEventField, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelEventFieldCookMeasure

func ModelEventFieldCookMeasure(value *ModelEventField, context ...TableWriteContext) int64

func ModelEventFieldCookMeasureReason

func ModelEventFieldCookMeasureReason(value *ModelEventField, context ...TableWriteContext) (int64, error)

func ModelEventFieldFromJson

func ModelEventFieldFromJson(builder *ModelEventFieldBuilder, text []byte, report *TableReport) bool

func ModelEventFieldLoadBody

func ModelEventFieldLoadBody(r *TableReader, value *ModelEventField) bool

func ModelEventFieldLoadBodyRetain

func ModelEventFieldLoadBodyRetain(r *TableRetainReader, value *ModelEventField) bool

func ModelEventFieldLoadBuilder

func ModelEventFieldLoadBuilder(b *ModelEventFieldBuilder, wire []byte, report *TableReport) bool

func ModelEventFieldLoadMeasure

func ModelEventFieldLoadMeasure(wire []byte) int64

func ModelEventFieldLoadMeasureReason

func ModelEventFieldLoadMeasureReason(wire []byte) (int64, error)

func ModelEventFieldLoadMessageBody

func ModelEventFieldLoadMessageBody(r *TableMessageReader, value *ModelEventField) bool

func ModelEventFieldLoadMessageBodyRetain

func ModelEventFieldLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelEventField) bool

func ModelEventFieldMeasure

func ModelEventFieldMeasure(value *ModelEventField, context ...TableWriteContext) int64

func ModelEventFieldMeasureBody

func ModelEventFieldMeasureBody(value *ModelEventField, ids *TableIds) int64

func ModelEventFieldMeasureBodyRetain

func ModelEventFieldMeasureBodyRetain(value *ModelEventField, ids *TableRetainIds) int64

func ModelEventFieldMeasureReason

func ModelEventFieldMeasureReason(value *ModelEventField, context ...TableWriteContext) (int64, error)

func ModelEventFieldMeasureRetain

func ModelEventFieldMeasureRetain(value *ModelEventField, retain *TableRetain, allocator ...TableAllocator) int64

func ModelEventFieldOpen

func ModelEventFieldOpen(cook *ModelEventFieldCook, base unsafe.Pointer, length int64) bool

ModelEventFieldOpen is the bool convenience for the typed Open error on the handle.

func ModelEventFieldReset

func ModelEventFieldReset(value *ModelEventField)

ModelEventFieldReset restores ModelEventField's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelEventFieldSave

func ModelEventFieldSave(value *ModelEventField, buffer []byte, context ...TableWriteContext) int64

func ModelEventFieldSaveBody

func ModelEventFieldSaveBody(w *TableWriter, value *ModelEventField) bool

func ModelEventFieldSaveBodyFields

func ModelEventFieldSaveBodyFields(w *TableWriter, value *ModelEventField) bool

func ModelEventFieldSaveBodyFieldsRetain

func ModelEventFieldSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelEventField) bool

func ModelEventFieldSaveBodyRetain

func ModelEventFieldSaveBodyRetain(w *TableRetainWriter, value *ModelEventField) bool

func ModelEventFieldSaveMessageBody

func ModelEventFieldSaveMessageBody(w *TableMessageWriter, value *ModelEventField) bool

func ModelEventFieldSaveRetain

func ModelEventFieldSaveRetain(value *ModelEventField, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelEventFieldSaveText

func ModelEventFieldSaveText(value *ModelEventField, context ...TableWriteContext) (string, error)

ModelEventFieldSaveText returns the base64 of ModelEventField's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelEventFieldSave takes.

func ModelEventFieldToJson

func ModelEventFieldToJson(value *ModelEventField, buffer []byte, allocator ...TableAllocator) int64

func ModelEventFieldToJsonMeasure

func ModelEventFieldToJsonMeasure(value *ModelEventField, allocator ...TableAllocator) int64

func ModelEventFieldsEach

func ModelEventFieldsEach(holder *TableList[ModelEventFieldRow], visit func(*ModelEventFieldRow) bool, arena ...*TableArena) bool

func ModelEventFieldsErase

func ModelEventFieldsErase(arena *TableArena, holder *TableList[ModelEventFieldRow], element *ModelEventFieldRow) bool

func ModelEventFromJson

func ModelEventFromJson(builder *ModelEventBuilder, text []byte, report *TableReport) bool

func ModelEventLoadBody

func ModelEventLoadBody(r *TableReader, value *ModelEvent) bool

func ModelEventLoadBodyRetain

func ModelEventLoadBodyRetain(r *TableRetainReader, value *ModelEvent) bool

func ModelEventLoadBuilder

func ModelEventLoadBuilder(b *ModelEventBuilder, wire []byte, report *TableReport) bool

func ModelEventLoadMeasure

func ModelEventLoadMeasure(wire []byte) int64

func ModelEventLoadMeasureReason

func ModelEventLoadMeasureReason(wire []byte) (int64, error)

func ModelEventLoadMessageBody

func ModelEventLoadMessageBody(r *TableMessageReader, value *ModelEvent) bool

func ModelEventLoadMessageBodyRetain

func ModelEventLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelEvent) bool

func ModelEventMeasure

func ModelEventMeasure(value *ModelEvent, context ...TableWriteContext) int64

func ModelEventMeasureBody

func ModelEventMeasureBody(value *ModelEvent, ids *TableIds) int64

func ModelEventMeasureBodyRetain

func ModelEventMeasureBodyRetain(value *ModelEvent, ids *TableRetainIds) int64

func ModelEventMeasureReason

func ModelEventMeasureReason(value *ModelEvent, context ...TableWriteContext) (int64, error)

func ModelEventMeasureRetain

func ModelEventMeasureRetain(value *ModelEvent, retain *TableRetain, allocator ...TableAllocator) int64

func ModelEventOpen

func ModelEventOpen(cook *ModelEventCook, base unsafe.Pointer, length int64) bool

ModelEventOpen is the bool convenience for the typed Open error on the handle.

func ModelEventReset

func ModelEventReset(value *ModelEvent)

ModelEventReset restores ModelEvent's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelEventSave

func ModelEventSave(value *ModelEvent, buffer []byte, context ...TableWriteContext) int64

func ModelEventSaveBody

func ModelEventSaveBody(w *TableWriter, value *ModelEvent) bool

func ModelEventSaveBodyFields

func ModelEventSaveBodyFields(w *TableWriter, value *ModelEvent) bool

func ModelEventSaveBodyFieldsRetain

func ModelEventSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelEvent) bool

func ModelEventSaveBodyRetain

func ModelEventSaveBodyRetain(w *TableRetainWriter, value *ModelEvent) bool

func ModelEventSaveMessageBody

func ModelEventSaveMessageBody(w *TableMessageWriter, value *ModelEvent) bool

func ModelEventSaveRetain

func ModelEventSaveRetain(value *ModelEvent, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelEventSaveText

func ModelEventSaveText(value *ModelEvent, context ...TableWriteContext) (string, error)

ModelEventSaveText returns the base64 of ModelEvent's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelEventSave takes.

func ModelEventToJson

func ModelEventToJson(value *ModelEvent, buffer []byte, allocator ...TableAllocator) int64

func ModelEventToJsonMeasure

func ModelEventToJsonMeasure(value *ModelEvent, allocator ...TableAllocator) int64

func ModelFindingCookFrom

func ModelFindingCookFrom(value *ModelFinding, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelFindingCookMeasure

func ModelFindingCookMeasure(value *ModelFinding, context ...TableWriteContext) int64

func ModelFindingCookMeasureReason

func ModelFindingCookMeasureReason(value *ModelFinding, context ...TableWriteContext) (int64, error)

func ModelFindingFromJson

func ModelFindingFromJson(builder *ModelFindingBuilder, text []byte, report *TableReport) bool

func ModelFindingLoadBody

func ModelFindingLoadBody(r *TableReader, value *ModelFinding) bool

func ModelFindingLoadBodyRetain

func ModelFindingLoadBodyRetain(r *TableRetainReader, value *ModelFinding) bool

func ModelFindingLoadBuilder

func ModelFindingLoadBuilder(b *ModelFindingBuilder, wire []byte, report *TableReport) bool

func ModelFindingLoadMeasure

func ModelFindingLoadMeasure(wire []byte) int64

func ModelFindingLoadMeasureReason

func ModelFindingLoadMeasureReason(wire []byte) (int64, error)

func ModelFindingLoadMessageBody

func ModelFindingLoadMessageBody(r *TableMessageReader, value *ModelFinding) bool

func ModelFindingLoadMessageBodyRetain

func ModelFindingLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelFinding) bool

func ModelFindingMeasure

func ModelFindingMeasure(value *ModelFinding, context ...TableWriteContext) int64

func ModelFindingMeasureBody

func ModelFindingMeasureBody(value *ModelFinding, ids *TableIds) int64

func ModelFindingMeasureBodyRetain

func ModelFindingMeasureBodyRetain(value *ModelFinding, ids *TableRetainIds) int64

func ModelFindingMeasureReason

func ModelFindingMeasureReason(value *ModelFinding, context ...TableWriteContext) (int64, error)

func ModelFindingMeasureRetain

func ModelFindingMeasureRetain(value *ModelFinding, retain *TableRetain, allocator ...TableAllocator) int64

func ModelFindingOpen

func ModelFindingOpen(cook *ModelFindingCook, base unsafe.Pointer, length int64) bool

ModelFindingOpen is the bool convenience for the typed Open error on the handle.

func ModelFindingReset

func ModelFindingReset(value *ModelFinding)

ModelFindingReset restores ModelFinding's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelFindingSave

func ModelFindingSave(value *ModelFinding, buffer []byte, context ...TableWriteContext) int64

func ModelFindingSaveBody

func ModelFindingSaveBody(w *TableWriter, value *ModelFinding) bool

func ModelFindingSaveBodyFields

func ModelFindingSaveBodyFields(w *TableWriter, value *ModelFinding) bool

func ModelFindingSaveBodyFieldsRetain

func ModelFindingSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelFinding) bool

func ModelFindingSaveBodyRetain

func ModelFindingSaveBodyRetain(w *TableRetainWriter, value *ModelFinding) bool

func ModelFindingSaveMessageBody

func ModelFindingSaveMessageBody(w *TableMessageWriter, value *ModelFinding) bool

func ModelFindingSaveRetain

func ModelFindingSaveRetain(value *ModelFinding, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelFindingSaveText

func ModelFindingSaveText(value *ModelFinding, context ...TableWriteContext) (string, error)

ModelFindingSaveText returns the base64 of ModelFinding's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelFindingSave takes.

func ModelFindingToJson

func ModelFindingToJson(value *ModelFinding, buffer []byte, allocator ...TableAllocator) int64

func ModelFindingToJsonMeasure

func ModelFindingToJsonMeasure(value *ModelFinding, allocator ...TableAllocator) int64

func ModelHashCookFrom

func ModelHashCookFrom(value *ModelHash, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelHashCookMeasure

func ModelHashCookMeasure(value *ModelHash, context ...TableWriteContext) int64

func ModelHashCookMeasureReason

func ModelHashCookMeasureReason(value *ModelHash, context ...TableWriteContext) (int64, error)

func ModelHashFromJson

func ModelHashFromJson(builder *ModelHashBuilder, text []byte, report *TableReport) bool

func ModelHashLoadBody

func ModelHashLoadBody(r *TableReader, value *ModelHash) bool

func ModelHashLoadBodyRetain

func ModelHashLoadBodyRetain(r *TableRetainReader, value *ModelHash) bool

func ModelHashLoadBuilder

func ModelHashLoadBuilder(b *ModelHashBuilder, wire []byte, report *TableReport) bool

func ModelHashLoadMeasure

func ModelHashLoadMeasure(wire []byte) int64

func ModelHashLoadMeasureReason

func ModelHashLoadMeasureReason(wire []byte) (int64, error)

func ModelHashLoadMessageBody

func ModelHashLoadMessageBody(r *TableMessageReader, value *ModelHash) bool

func ModelHashLoadMessageBodyRetain

func ModelHashLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelHash) bool

func ModelHashMeasure

func ModelHashMeasure(value *ModelHash, context ...TableWriteContext) int64

func ModelHashMeasureBody

func ModelHashMeasureBody(value *ModelHash, ids *TableIds) int64

func ModelHashMeasureBodyRetain

func ModelHashMeasureBodyRetain(value *ModelHash, ids *TableRetainIds) int64

func ModelHashMeasureReason

func ModelHashMeasureReason(value *ModelHash, context ...TableWriteContext) (int64, error)

func ModelHashMeasureRetain

func ModelHashMeasureRetain(value *ModelHash, retain *TableRetain, allocator ...TableAllocator) int64

func ModelHashOpen

func ModelHashOpen(cook *ModelHashCook, base unsafe.Pointer, length int64) bool

ModelHashOpen is the bool convenience for the typed Open error on the handle.

func ModelHashReset

func ModelHashReset(value *ModelHash)

ModelHashReset restores ModelHash's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelHashSave

func ModelHashSave(value *ModelHash, buffer []byte, context ...TableWriteContext) int64

func ModelHashSaveBody

func ModelHashSaveBody(w *TableWriter, value *ModelHash) bool

func ModelHashSaveBodyFields

func ModelHashSaveBodyFields(w *TableWriter, value *ModelHash) bool

func ModelHashSaveBodyFieldsRetain

func ModelHashSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelHash) bool

func ModelHashSaveBodyRetain

func ModelHashSaveBodyRetain(w *TableRetainWriter, value *ModelHash) bool

func ModelHashSaveMessageBody

func ModelHashSaveMessageBody(w *TableMessageWriter, value *ModelHash) bool

func ModelHashSaveRetain

func ModelHashSaveRetain(value *ModelHash, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelHashSaveText

func ModelHashSaveText(value *ModelHash, context ...TableWriteContext) (string, error)

ModelHashSaveText returns the base64 of ModelHash's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelHashSave takes.

func ModelHashToJson

func ModelHashToJson(value *ModelHash, buffer []byte, allocator ...TableAllocator) int64

func ModelHashToJsonMeasure

func ModelHashToJsonMeasure(value *ModelHash, allocator ...TableAllocator) int64

func ModelLocationCookFrom

func ModelLocationCookFrom(value *ModelLocation, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelLocationCookMeasure

func ModelLocationCookMeasure(value *ModelLocation, context ...TableWriteContext) int64

func ModelLocationCookMeasureReason

func ModelLocationCookMeasureReason(value *ModelLocation, context ...TableWriteContext) (int64, error)

func ModelLocationFromJson

func ModelLocationFromJson(builder *ModelLocationBuilder, text []byte, report *TableReport) bool

func ModelLocationLoadBody

func ModelLocationLoadBody(r *TableReader, value *ModelLocation) bool

func ModelLocationLoadBodyRetain

func ModelLocationLoadBodyRetain(r *TableRetainReader, value *ModelLocation) bool

func ModelLocationLoadBuilder

func ModelLocationLoadBuilder(b *ModelLocationBuilder, wire []byte, report *TableReport) bool

func ModelLocationLoadMeasure

func ModelLocationLoadMeasure(wire []byte) int64

func ModelLocationLoadMeasureReason

func ModelLocationLoadMeasureReason(wire []byte) (int64, error)

func ModelLocationLoadMessageBody

func ModelLocationLoadMessageBody(r *TableMessageReader, value *ModelLocation) bool

func ModelLocationLoadMessageBodyRetain

func ModelLocationLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelLocation) bool

func ModelLocationMeasure

func ModelLocationMeasure(value *ModelLocation, context ...TableWriteContext) int64

func ModelLocationMeasureBody

func ModelLocationMeasureBody(value *ModelLocation, ids *TableIds) int64

func ModelLocationMeasureBodyRetain

func ModelLocationMeasureBodyRetain(value *ModelLocation, ids *TableRetainIds) int64

func ModelLocationMeasureReason

func ModelLocationMeasureReason(value *ModelLocation, context ...TableWriteContext) (int64, error)

func ModelLocationMeasureRetain

func ModelLocationMeasureRetain(value *ModelLocation, retain *TableRetain, allocator ...TableAllocator) int64

func ModelLocationOpen

func ModelLocationOpen(cook *ModelLocationCook, base unsafe.Pointer, length int64) bool

ModelLocationOpen is the bool convenience for the typed Open error on the handle.

func ModelLocationReset

func ModelLocationReset(value *ModelLocation)

ModelLocationReset restores ModelLocation's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelLocationSave

func ModelLocationSave(value *ModelLocation, buffer []byte, context ...TableWriteContext) int64

func ModelLocationSaveBody

func ModelLocationSaveBody(w *TableWriter, value *ModelLocation) bool

func ModelLocationSaveBodyFields

func ModelLocationSaveBodyFields(w *TableWriter, value *ModelLocation) bool

func ModelLocationSaveBodyFieldsRetain

func ModelLocationSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelLocation) bool

func ModelLocationSaveBodyRetain

func ModelLocationSaveBodyRetain(w *TableRetainWriter, value *ModelLocation) bool

func ModelLocationSaveMessageBody

func ModelLocationSaveMessageBody(w *TableMessageWriter, value *ModelLocation) bool

func ModelLocationSaveRetain

func ModelLocationSaveRetain(value *ModelLocation, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelLocationSaveText

func ModelLocationSaveText(value *ModelLocation, context ...TableWriteContext) (string, error)

ModelLocationSaveText returns the base64 of ModelLocation's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelLocationSave takes.

func ModelLocationToJson

func ModelLocationToJson(value *ModelLocation, buffer []byte, allocator ...TableAllocator) int64

func ModelLocationToJsonMeasure

func ModelLocationToJsonMeasure(value *ModelLocation, allocator ...TableAllocator) int64

func ModelOutcomeCookFrom

func ModelOutcomeCookFrom(value *ModelOutcome, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelOutcomeCookMeasure

func ModelOutcomeCookMeasure(value *ModelOutcome, context ...TableWriteContext) int64

func ModelOutcomeCookMeasureReason

func ModelOutcomeCookMeasureReason(value *ModelOutcome, context ...TableWriteContext) (int64, error)

func ModelOutcomeFromJson

func ModelOutcomeFromJson(builder *ModelOutcomeBuilder, text []byte, report *TableReport) bool

func ModelOutcomeLoadBody

func ModelOutcomeLoadBody(r *TableReader, value *ModelOutcome) bool

func ModelOutcomeLoadBodyRetain

func ModelOutcomeLoadBodyRetain(r *TableRetainReader, value *ModelOutcome) bool

func ModelOutcomeLoadBuilder

func ModelOutcomeLoadBuilder(b *ModelOutcomeBuilder, wire []byte, report *TableReport) bool

func ModelOutcomeLoadMeasure

func ModelOutcomeLoadMeasure(wire []byte) int64

func ModelOutcomeLoadMeasureReason

func ModelOutcomeLoadMeasureReason(wire []byte) (int64, error)

func ModelOutcomeLoadMessageBody

func ModelOutcomeLoadMessageBody(r *TableMessageReader, value *ModelOutcome) bool

func ModelOutcomeLoadMessageBodyRetain

func ModelOutcomeLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelOutcome) bool

func ModelOutcomeMeasure

func ModelOutcomeMeasure(value *ModelOutcome, context ...TableWriteContext) int64

func ModelOutcomeMeasureBody

func ModelOutcomeMeasureBody(value *ModelOutcome, ids *TableIds) int64

func ModelOutcomeMeasureBodyRetain

func ModelOutcomeMeasureBodyRetain(value *ModelOutcome, ids *TableRetainIds) int64

func ModelOutcomeMeasureReason

func ModelOutcomeMeasureReason(value *ModelOutcome, context ...TableWriteContext) (int64, error)

func ModelOutcomeMeasureRetain

func ModelOutcomeMeasureRetain(value *ModelOutcome, retain *TableRetain, allocator ...TableAllocator) int64

func ModelOutcomeOpen

func ModelOutcomeOpen(cook *ModelOutcomeCook, base unsafe.Pointer, length int64) bool

ModelOutcomeOpen is the bool convenience for the typed Open error on the handle.

func ModelOutcomeReset

func ModelOutcomeReset(value *ModelOutcome)

ModelOutcomeReset restores ModelOutcome's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelOutcomeSave

func ModelOutcomeSave(value *ModelOutcome, buffer []byte, context ...TableWriteContext) int64

func ModelOutcomeSaveBody

func ModelOutcomeSaveBody(w *TableWriter, value *ModelOutcome) bool

func ModelOutcomeSaveBodyFields

func ModelOutcomeSaveBodyFields(w *TableWriter, value *ModelOutcome) bool

func ModelOutcomeSaveBodyFieldsRetain

func ModelOutcomeSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelOutcome) bool

func ModelOutcomeSaveBodyRetain

func ModelOutcomeSaveBodyRetain(w *TableRetainWriter, value *ModelOutcome) bool

func ModelOutcomeSaveMessageBody

func ModelOutcomeSaveMessageBody(w *TableMessageWriter, value *ModelOutcome) bool

func ModelOutcomeSaveRetain

func ModelOutcomeSaveRetain(value *ModelOutcome, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelOutcomeSaveText

func ModelOutcomeSaveText(value *ModelOutcome, context ...TableWriteContext) (string, error)

ModelOutcomeSaveText returns the base64 of ModelOutcome's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelOutcomeSave takes.

func ModelOutcomeToJson

func ModelOutcomeToJson(value *ModelOutcome, buffer []byte, allocator ...TableAllocator) int64

func ModelOutcomeToJsonMeasure

func ModelOutcomeToJsonMeasure(value *ModelOutcome, allocator ...TableAllocator) int64

func ModelOutcomeViolationsEach

func ModelOutcomeViolationsEach(holder *TableList[ModelViolationRow], visit func(*ModelViolationRow) bool, arena ...*TableArena) bool

func ModelOutcomeViolationsErase

func ModelOutcomeViolationsErase(arena *TableArena, holder *TableList[ModelViolationRow], element *ModelViolationRow) bool

func ModelPhysCookFrom

func ModelPhysCookFrom(value *ModelPhys, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelPhysCookMeasure

func ModelPhysCookMeasure(value *ModelPhys, context ...TableWriteContext) int64

func ModelPhysCookMeasureReason

func ModelPhysCookMeasureReason(value *ModelPhys, context ...TableWriteContext) (int64, error)

func ModelPhysFromJson

func ModelPhysFromJson(builder *ModelPhysBuilder, text []byte, report *TableReport) bool

func ModelPhysLoadBody

func ModelPhysLoadBody(r *TableReader, value *ModelPhys) bool

func ModelPhysLoadBodyRetain

func ModelPhysLoadBodyRetain(r *TableRetainReader, value *ModelPhys) bool

func ModelPhysLoadBuilder

func ModelPhysLoadBuilder(b *ModelPhysBuilder, wire []byte, report *TableReport) bool

func ModelPhysLoadMeasure

func ModelPhysLoadMeasure(wire []byte) int64

func ModelPhysLoadMeasureReason

func ModelPhysLoadMeasureReason(wire []byte) (int64, error)

func ModelPhysLoadMessageBody

func ModelPhysLoadMessageBody(r *TableMessageReader, value *ModelPhys) bool

func ModelPhysLoadMessageBodyRetain

func ModelPhysLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelPhys) bool

func ModelPhysMeasure

func ModelPhysMeasure(value *ModelPhys, context ...TableWriteContext) int64

func ModelPhysMeasureBody

func ModelPhysMeasureBody(value *ModelPhys, ids *TableIds) int64

func ModelPhysMeasureBodyRetain

func ModelPhysMeasureBodyRetain(value *ModelPhys, ids *TableRetainIds) int64

func ModelPhysMeasureReason

func ModelPhysMeasureReason(value *ModelPhys, context ...TableWriteContext) (int64, error)

func ModelPhysMeasureRetain

func ModelPhysMeasureRetain(value *ModelPhys, retain *TableRetain, allocator ...TableAllocator) int64

func ModelPhysOpen

func ModelPhysOpen(cook *ModelPhysCook, base unsafe.Pointer, length int64) bool

ModelPhysOpen is the bool convenience for the typed Open error on the handle.

func ModelPhysReset

func ModelPhysReset(value *ModelPhys)

ModelPhysReset restores ModelPhys's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelPhysSave

func ModelPhysSave(value *ModelPhys, buffer []byte, context ...TableWriteContext) int64

func ModelPhysSaveBody

func ModelPhysSaveBody(w *TableWriter, value *ModelPhys) bool

func ModelPhysSaveBodyFields

func ModelPhysSaveBodyFields(w *TableWriter, value *ModelPhys) bool

func ModelPhysSaveBodyFieldsRetain

func ModelPhysSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelPhys) bool

func ModelPhysSaveBodyRetain

func ModelPhysSaveBodyRetain(w *TableRetainWriter, value *ModelPhys) bool

func ModelPhysSaveMessageBody

func ModelPhysSaveMessageBody(w *TableMessageWriter, value *ModelPhys) bool

func ModelPhysSaveRetain

func ModelPhysSaveRetain(value *ModelPhys, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelPhysSaveText

func ModelPhysSaveText(value *ModelPhys, context ...TableWriteContext) (string, error)

ModelPhysSaveText returns the base64 of ModelPhys's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelPhysSave takes.

func ModelPhysToJson

func ModelPhysToJson(value *ModelPhys, buffer []byte, allocator ...TableAllocator) int64

func ModelPhysToJsonMeasure

func ModelPhysToJsonMeasure(value *ModelPhys, allocator ...TableAllocator) int64

func ModelPlacementCookFrom

func ModelPlacementCookFrom(value *ModelPlacement, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelPlacementCookMeasure

func ModelPlacementCookMeasure(value *ModelPlacement, context ...TableWriteContext) int64

func ModelPlacementCookMeasureReason

func ModelPlacementCookMeasureReason(value *ModelPlacement, context ...TableWriteContext) (int64, error)

func ModelPlacementFromJson

func ModelPlacementFromJson(builder *ModelPlacementBuilder, text []byte, report *TableReport) bool

func ModelPlacementLoadBody

func ModelPlacementLoadBody(r *TableReader, value *ModelPlacement) bool

func ModelPlacementLoadBodyRetain

func ModelPlacementLoadBodyRetain(r *TableRetainReader, value *ModelPlacement) bool

func ModelPlacementLoadBuilder

func ModelPlacementLoadBuilder(b *ModelPlacementBuilder, wire []byte, report *TableReport) bool

func ModelPlacementLoadMeasure

func ModelPlacementLoadMeasure(wire []byte) int64

func ModelPlacementLoadMeasureReason

func ModelPlacementLoadMeasureReason(wire []byte) (int64, error)

func ModelPlacementLoadMessageBody

func ModelPlacementLoadMessageBody(r *TableMessageReader, value *ModelPlacement) bool

func ModelPlacementLoadMessageBodyRetain

func ModelPlacementLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelPlacement) bool

func ModelPlacementLocationsEach

func ModelPlacementLocationsEach(holder *TableList[ModelLocationRow], visit func(*ModelLocationRow) bool, arena ...*TableArena) bool

func ModelPlacementLocationsErase

func ModelPlacementLocationsErase(arena *TableArena, holder *TableList[ModelLocationRow], element *ModelLocationRow) bool

func ModelPlacementMeasure

func ModelPlacementMeasure(value *ModelPlacement, context ...TableWriteContext) int64

func ModelPlacementMeasureBody

func ModelPlacementMeasureBody(value *ModelPlacement, ids *TableIds) int64

func ModelPlacementMeasureBodyRetain

func ModelPlacementMeasureBodyRetain(value *ModelPlacement, ids *TableRetainIds) int64

func ModelPlacementMeasureReason

func ModelPlacementMeasureReason(value *ModelPlacement, context ...TableWriteContext) (int64, error)

func ModelPlacementMeasureRetain

func ModelPlacementMeasureRetain(value *ModelPlacement, retain *TableRetain, allocator ...TableAllocator) int64

func ModelPlacementOpen

func ModelPlacementOpen(cook *ModelPlacementCook, base unsafe.Pointer, length int64) bool

ModelPlacementOpen is the bool convenience for the typed Open error on the handle.

func ModelPlacementReset

func ModelPlacementReset(value *ModelPlacement)

ModelPlacementReset restores ModelPlacement's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelPlacementSave

func ModelPlacementSave(value *ModelPlacement, buffer []byte, context ...TableWriteContext) int64

func ModelPlacementSaveBody

func ModelPlacementSaveBody(w *TableWriter, value *ModelPlacement) bool

func ModelPlacementSaveBodyFields

func ModelPlacementSaveBodyFields(w *TableWriter, value *ModelPlacement) bool

func ModelPlacementSaveBodyFieldsRetain

func ModelPlacementSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelPlacement) bool

func ModelPlacementSaveBodyRetain

func ModelPlacementSaveBodyRetain(w *TableRetainWriter, value *ModelPlacement) bool

func ModelPlacementSaveMessageBody

func ModelPlacementSaveMessageBody(w *TableMessageWriter, value *ModelPlacement) bool

func ModelPlacementSaveRetain

func ModelPlacementSaveRetain(value *ModelPlacement, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelPlacementSaveText

func ModelPlacementSaveText(value *ModelPlacement, context ...TableWriteContext) (string, error)

ModelPlacementSaveText returns the base64 of ModelPlacement's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelPlacementSave takes.

func ModelPlacementToJson

func ModelPlacementToJson(value *ModelPlacement, buffer []byte, allocator ...TableAllocator) int64

func ModelPlacementToJsonMeasure

func ModelPlacementToJsonMeasure(value *ModelPlacement, allocator ...TableAllocator) int64

func ModelReplayEventCookFrom

func ModelReplayEventCookFrom(value *ModelReplayEvent, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelReplayEventCookMeasure

func ModelReplayEventCookMeasure(value *ModelReplayEvent, context ...TableWriteContext) int64

func ModelReplayEventCookMeasureReason

func ModelReplayEventCookMeasureReason(value *ModelReplayEvent, context ...TableWriteContext) (int64, error)

func ModelReplayEventFieldsEach

func ModelReplayEventFieldsEach(holder *TableList[ModelDetailRow], visit func(*ModelDetailRow) bool, arena ...*TableArena) bool

func ModelReplayEventFieldsErase

func ModelReplayEventFieldsErase(arena *TableArena, holder *TableList[ModelDetailRow], element *ModelDetailRow) bool

func ModelReplayEventFromJson

func ModelReplayEventFromJson(builder *ModelReplayEventBuilder, text []byte, report *TableReport) bool

func ModelReplayEventLoadBody

func ModelReplayEventLoadBody(r *TableReader, value *ModelReplayEvent) bool

func ModelReplayEventLoadBodyRetain

func ModelReplayEventLoadBodyRetain(r *TableRetainReader, value *ModelReplayEvent) bool

func ModelReplayEventLoadBuilder

func ModelReplayEventLoadBuilder(b *ModelReplayEventBuilder, wire []byte, report *TableReport) bool

func ModelReplayEventLoadMeasure

func ModelReplayEventLoadMeasure(wire []byte) int64

func ModelReplayEventLoadMeasureReason

func ModelReplayEventLoadMeasureReason(wire []byte) (int64, error)

func ModelReplayEventLoadMessageBody

func ModelReplayEventLoadMessageBody(r *TableMessageReader, value *ModelReplayEvent) bool

func ModelReplayEventLoadMessageBodyRetain

func ModelReplayEventLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelReplayEvent) bool

func ModelReplayEventMeasure

func ModelReplayEventMeasure(value *ModelReplayEvent, context ...TableWriteContext) int64

func ModelReplayEventMeasureBody

func ModelReplayEventMeasureBody(value *ModelReplayEvent, ids *TableIds) int64

func ModelReplayEventMeasureBodyRetain

func ModelReplayEventMeasureBodyRetain(value *ModelReplayEvent, ids *TableRetainIds) int64

func ModelReplayEventMeasureReason

func ModelReplayEventMeasureReason(value *ModelReplayEvent, context ...TableWriteContext) (int64, error)

func ModelReplayEventMeasureRetain

func ModelReplayEventMeasureRetain(value *ModelReplayEvent, retain *TableRetain, allocator ...TableAllocator) int64

func ModelReplayEventOpen

func ModelReplayEventOpen(cook *ModelReplayEventCook, base unsafe.Pointer, length int64) bool

ModelReplayEventOpen is the bool convenience for the typed Open error on the handle.

func ModelReplayEventReset

func ModelReplayEventReset(value *ModelReplayEvent)

ModelReplayEventReset restores ModelReplayEvent's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelReplayEventSave

func ModelReplayEventSave(value *ModelReplayEvent, buffer []byte, context ...TableWriteContext) int64

func ModelReplayEventSaveBody

func ModelReplayEventSaveBody(w *TableWriter, value *ModelReplayEvent) bool

func ModelReplayEventSaveBodyFields

func ModelReplayEventSaveBodyFields(w *TableWriter, value *ModelReplayEvent) bool

func ModelReplayEventSaveBodyFieldsRetain

func ModelReplayEventSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelReplayEvent) bool

func ModelReplayEventSaveBodyRetain

func ModelReplayEventSaveBodyRetain(w *TableRetainWriter, value *ModelReplayEvent) bool

func ModelReplayEventSaveMessageBody

func ModelReplayEventSaveMessageBody(w *TableMessageWriter, value *ModelReplayEvent) bool

func ModelReplayEventSaveRetain

func ModelReplayEventSaveRetain(value *ModelReplayEvent, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelReplayEventSaveText

func ModelReplayEventSaveText(value *ModelReplayEvent, context ...TableWriteContext) (string, error)

ModelReplayEventSaveText returns the base64 of ModelReplayEvent's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelReplayEventSave takes.

func ModelReplayEventToJson

func ModelReplayEventToJson(value *ModelReplayEvent, buffer []byte, allocator ...TableAllocator) int64

func ModelReplayEventToJsonMeasure

func ModelReplayEventToJsonMeasure(value *ModelReplayEvent, allocator ...TableAllocator) int64

func ModelRowAtCookFrom

func ModelRowAtCookFrom(value *ModelRowAt, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelRowAtCookMeasure

func ModelRowAtCookMeasure(value *ModelRowAt, context ...TableWriteContext) int64

func ModelRowAtCookMeasureReason

func ModelRowAtCookMeasureReason(value *ModelRowAt, context ...TableWriteContext) (int64, error)

func ModelRowAtFromJson

func ModelRowAtFromJson(builder *ModelRowAtBuilder, text []byte, report *TableReport) bool

func ModelRowAtLoadBody

func ModelRowAtLoadBody(r *TableReader, value *ModelRowAt) bool

func ModelRowAtLoadBodyRetain

func ModelRowAtLoadBodyRetain(r *TableRetainReader, value *ModelRowAt) bool

func ModelRowAtLoadBuilder

func ModelRowAtLoadBuilder(b *ModelRowAtBuilder, wire []byte, report *TableReport) bool

func ModelRowAtLoadMeasure

func ModelRowAtLoadMeasure(wire []byte) int64

func ModelRowAtLoadMeasureReason

func ModelRowAtLoadMeasureReason(wire []byte) (int64, error)

func ModelRowAtLoadMessageBody

func ModelRowAtLoadMessageBody(r *TableMessageReader, value *ModelRowAt) bool

func ModelRowAtLoadMessageBodyRetain

func ModelRowAtLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelRowAt) bool

func ModelRowAtMeasure

func ModelRowAtMeasure(value *ModelRowAt, context ...TableWriteContext) int64

func ModelRowAtMeasureBody

func ModelRowAtMeasureBody(value *ModelRowAt, ids *TableIds) int64

func ModelRowAtMeasureBodyRetain

func ModelRowAtMeasureBodyRetain(value *ModelRowAt, ids *TableRetainIds) int64

func ModelRowAtMeasureReason

func ModelRowAtMeasureReason(value *ModelRowAt, context ...TableWriteContext) (int64, error)

func ModelRowAtMeasureRetain

func ModelRowAtMeasureRetain(value *ModelRowAt, retain *TableRetain, allocator ...TableAllocator) int64

func ModelRowAtOpen

func ModelRowAtOpen(cook *ModelRowAtCook, base unsafe.Pointer, length int64) bool

ModelRowAtOpen is the bool convenience for the typed Open error on the handle.

func ModelRowAtReset

func ModelRowAtReset(value *ModelRowAt)

ModelRowAtReset restores ModelRowAt's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelRowAtSave

func ModelRowAtSave(value *ModelRowAt, buffer []byte, context ...TableWriteContext) int64

func ModelRowAtSaveBody

func ModelRowAtSaveBody(w *TableWriter, value *ModelRowAt) bool

func ModelRowAtSaveBodyFields

func ModelRowAtSaveBodyFields(w *TableWriter, value *ModelRowAt) bool

func ModelRowAtSaveBodyFieldsRetain

func ModelRowAtSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelRowAt) bool

func ModelRowAtSaveBodyRetain

func ModelRowAtSaveBodyRetain(w *TableRetainWriter, value *ModelRowAt) bool

func ModelRowAtSaveMessageBody

func ModelRowAtSaveMessageBody(w *TableMessageWriter, value *ModelRowAt) bool

func ModelRowAtSaveRetain

func ModelRowAtSaveRetain(value *ModelRowAt, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelRowAtSaveText

func ModelRowAtSaveText(value *ModelRowAt, context ...TableWriteContext) (string, error)

ModelRowAtSaveText returns the base64 of ModelRowAt's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelRowAtSave takes.

func ModelRowAtToJson

func ModelRowAtToJson(value *ModelRowAt, buffer []byte, allocator ...TableAllocator) int64

func ModelRowAtToJsonMeasure

func ModelRowAtToJsonMeasure(value *ModelRowAt, allocator ...TableAllocator) int64

func ModelSeenCookFrom

func ModelSeenCookFrom(value *ModelSeen, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelSeenCookMeasure

func ModelSeenCookMeasure(value *ModelSeen, context ...TableWriteContext) int64

func ModelSeenCookMeasureReason

func ModelSeenCookMeasureReason(value *ModelSeen, context ...TableWriteContext) (int64, error)

func ModelSeenFromJson

func ModelSeenFromJson(builder *ModelSeenBuilder, text []byte, report *TableReport) bool

func ModelSeenLoadBody

func ModelSeenLoadBody(r *TableReader, value *ModelSeen) bool

func ModelSeenLoadBodyRetain

func ModelSeenLoadBodyRetain(r *TableRetainReader, value *ModelSeen) bool

func ModelSeenLoadBuilder

func ModelSeenLoadBuilder(b *ModelSeenBuilder, wire []byte, report *TableReport) bool

func ModelSeenLoadMeasure

func ModelSeenLoadMeasure(wire []byte) int64

func ModelSeenLoadMeasureReason

func ModelSeenLoadMeasureReason(wire []byte) (int64, error)

func ModelSeenLoadMessageBody

func ModelSeenLoadMessageBody(r *TableMessageReader, value *ModelSeen) bool

func ModelSeenLoadMessageBodyRetain

func ModelSeenLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelSeen) bool

func ModelSeenMeasure

func ModelSeenMeasure(value *ModelSeen, context ...TableWriteContext) int64

func ModelSeenMeasureBody

func ModelSeenMeasureBody(value *ModelSeen, ids *TableIds) int64

func ModelSeenMeasureBodyRetain

func ModelSeenMeasureBodyRetain(value *ModelSeen, ids *TableRetainIds) int64

func ModelSeenMeasureReason

func ModelSeenMeasureReason(value *ModelSeen, context ...TableWriteContext) (int64, error)

func ModelSeenMeasureRetain

func ModelSeenMeasureRetain(value *ModelSeen, retain *TableRetain, allocator ...TableAllocator) int64

func ModelSeenOpen

func ModelSeenOpen(cook *ModelSeenCook, base unsafe.Pointer, length int64) bool

ModelSeenOpen is the bool convenience for the typed Open error on the handle.

func ModelSeenReset

func ModelSeenReset(value *ModelSeen)

ModelSeenReset restores ModelSeen's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelSeenSave

func ModelSeenSave(value *ModelSeen, buffer []byte, context ...TableWriteContext) int64

func ModelSeenSaveBody

func ModelSeenSaveBody(w *TableWriter, value *ModelSeen) bool

func ModelSeenSaveBodyFields

func ModelSeenSaveBodyFields(w *TableWriter, value *ModelSeen) bool

func ModelSeenSaveBodyFieldsRetain

func ModelSeenSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelSeen) bool

func ModelSeenSaveBodyRetain

func ModelSeenSaveBodyRetain(w *TableRetainWriter, value *ModelSeen) bool

func ModelSeenSaveMessageBody

func ModelSeenSaveMessageBody(w *TableMessageWriter, value *ModelSeen) bool

func ModelSeenSaveRetain

func ModelSeenSaveRetain(value *ModelSeen, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelSeenSaveText

func ModelSeenSaveText(value *ModelSeen, context ...TableWriteContext) (string, error)

ModelSeenSaveText returns the base64 of ModelSeen's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelSeenSave takes.

func ModelSeenToJson

func ModelSeenToJson(value *ModelSeen, buffer []byte, allocator ...TableAllocator) int64

func ModelSeenToJsonMeasure

func ModelSeenToJsonMeasure(value *ModelSeen, allocator ...TableAllocator) int64

func ModelStateBindsEach

func ModelStateBindsEach(holder *TableList[ModelBindRow], visit func(*ModelBindRow) bool, arena ...*TableArena) bool

func ModelStateBindsErase

func ModelStateBindsErase(arena *TableArena, holder *TableList[ModelBindRow], element *ModelBindRow) bool

func ModelStateCookFrom

func ModelStateCookFrom(value *ModelState, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelStateCookMeasure

func ModelStateCookMeasure(value *ModelState, context ...TableWriteContext) int64

func ModelStateCookMeasureReason

func ModelStateCookMeasureReason(value *ModelState, context ...TableWriteContext) (int64, error)

func ModelStateDataEach

func ModelStateDataEach(holder *TableList[ModelDatumRow], visit func(*ModelDatumRow) bool, arena ...*TableArena) bool

func ModelStateDataErase

func ModelStateDataErase(arena *TableArena, holder *TableList[ModelDatumRow], element *ModelDatumRow) bool

func ModelStateFromJson

func ModelStateFromJson(builder *ModelStateBuilder, text []byte, report *TableReport) bool

func ModelStateLiveEach

func ModelStateLiveEach(holder *TableList[ModelPhysRow], visit func(*ModelPhysRow) bool, arena ...*TableArena) bool

func ModelStateLiveErase

func ModelStateLiveErase(arena *TableArena, holder *TableList[ModelPhysRow], element *ModelPhysRow) bool

func ModelStateLoadBody

func ModelStateLoadBody(r *TableReader, value *ModelState) bool

func ModelStateLoadBodyRetain

func ModelStateLoadBodyRetain(r *TableRetainReader, value *ModelState) bool

func ModelStateLoadBuilder

func ModelStateLoadBuilder(b *ModelStateBuilder, wire []byte, report *TableReport) bool

func ModelStateLoadMeasure

func ModelStateLoadMeasure(wire []byte) int64

func ModelStateLoadMeasureReason

func ModelStateLoadMeasureReason(wire []byte) (int64, error)

func ModelStateLoadMessageBody

func ModelStateLoadMessageBody(r *TableMessageReader, value *ModelState) bool

func ModelStateLoadMessageBodyRetain

func ModelStateLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelState) bool

func ModelStateMeasure

func ModelStateMeasure(value *ModelState, context ...TableWriteContext) int64

func ModelStateMeasureBody

func ModelStateMeasureBody(value *ModelState, ids *TableIds) int64

func ModelStateMeasureBodyRetain

func ModelStateMeasureBodyRetain(value *ModelState, ids *TableRetainIds) int64

func ModelStateMeasureReason

func ModelStateMeasureReason(value *ModelState, context ...TableWriteContext) (int64, error)

func ModelStateMeasureRetain

func ModelStateMeasureRetain(value *ModelState, retain *TableRetain, allocator ...TableAllocator) int64

func ModelStateOpen

func ModelStateOpen(cook *ModelStateCook, base unsafe.Pointer, length int64) bool

ModelStateOpen is the bool convenience for the typed Open error on the handle.

func ModelStatePlaceEach

func ModelStatePlaceEach(holder *TableList[ModelPlacementRow], visit func(*ModelPlacementRow) bool, arena ...*TableArena) bool

func ModelStatePlaceErase

func ModelStatePlaceErase(arena *TableArena, holder *TableList[ModelPlacementRow], element *ModelPlacementRow) bool

func ModelStateReset

func ModelStateReset(value *ModelState)

ModelStateReset restores ModelState's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelStateRowsEach

func ModelStateRowsEach(holder *TableList[ModelRowAtRow], visit func(*ModelRowAtRow) bool, arena ...*TableArena) bool

func ModelStateRowsErase

func ModelStateRowsErase(arena *TableArena, holder *TableList[ModelRowAtRow], element *ModelRowAtRow) bool

func ModelStateSave

func ModelStateSave(value *ModelState, buffer []byte, context ...TableWriteContext) int64

func ModelStateSaveBody

func ModelStateSaveBody(w *TableWriter, value *ModelState) bool

func ModelStateSaveBodyFields

func ModelStateSaveBodyFields(w *TableWriter, value *ModelState) bool

func ModelStateSaveBodyFieldsRetain

func ModelStateSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelState) bool

func ModelStateSaveBodyRetain

func ModelStateSaveBodyRetain(w *TableRetainWriter, value *ModelState) bool

func ModelStateSaveMessageBody

func ModelStateSaveMessageBody(w *TableMessageWriter, value *ModelState) bool

func ModelStateSaveRetain

func ModelStateSaveRetain(value *ModelState, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelStateSaveText

func ModelStateSaveText(value *ModelState, context ...TableWriteContext) (string, error)

ModelStateSaveText returns the base64 of ModelState's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelStateSave takes.

func ModelStateSeenEach

func ModelStateSeenEach(holder *TableList[ModelSeenRow], visit func(*ModelSeenRow) bool, arena ...*TableArena) bool

func ModelStateSeenErase

func ModelStateSeenErase(arena *TableArena, holder *TableList[ModelSeenRow], element *ModelSeenRow) bool

func ModelStateToJson

func ModelStateToJson(value *ModelState, buffer []byte, allocator ...TableAllocator) int64

func ModelStateToJsonMeasure

func ModelStateToJsonMeasure(value *ModelState, allocator ...TableAllocator) int64

func ModelStepCookFrom

func ModelStepCookFrom(value *ModelStep, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelStepCookMeasure

func ModelStepCookMeasure(value *ModelStep, context ...TableWriteContext) int64

func ModelStepCookMeasureReason

func ModelStepCookMeasureReason(value *ModelStep, context ...TableWriteContext) (int64, error)

func ModelStepFromJson

func ModelStepFromJson(builder *ModelStepBuilder, text []byte, report *TableReport) bool

func ModelStepLoadBody

func ModelStepLoadBody(r *TableReader, value *ModelStep) bool

func ModelStepLoadBodyRetain

func ModelStepLoadBodyRetain(r *TableRetainReader, value *ModelStep) bool

func ModelStepLoadBuilder

func ModelStepLoadBuilder(b *ModelStepBuilder, wire []byte, report *TableReport) bool

func ModelStepLoadMeasure

func ModelStepLoadMeasure(wire []byte) int64

func ModelStepLoadMeasureReason

func ModelStepLoadMeasureReason(wire []byte) (int64, error)

func ModelStepLoadMessageBody

func ModelStepLoadMessageBody(r *TableMessageReader, value *ModelStep) bool

func ModelStepLoadMessageBodyRetain

func ModelStepLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelStep) bool

func ModelStepMeasure

func ModelStepMeasure(value *ModelStep, context ...TableWriteContext) int64

func ModelStepMeasureBody

func ModelStepMeasureBody(value *ModelStep, ids *TableIds) int64

func ModelStepMeasureBodyRetain

func ModelStepMeasureBodyRetain(value *ModelStep, ids *TableRetainIds) int64

func ModelStepMeasureReason

func ModelStepMeasureReason(value *ModelStep, context ...TableWriteContext) (int64, error)

func ModelStepMeasureRetain

func ModelStepMeasureRetain(value *ModelStep, retain *TableRetain, allocator ...TableAllocator) int64

func ModelStepOpen

func ModelStepOpen(cook *ModelStepCook, base unsafe.Pointer, length int64) bool

ModelStepOpen is the bool convenience for the typed Open error on the handle.

func ModelStepReset

func ModelStepReset(value *ModelStep)

ModelStepReset restores ModelStep's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelStepResultCookFrom

func ModelStepResultCookFrom(value *ModelStepResult, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelStepResultCookMeasure

func ModelStepResultCookMeasure(value *ModelStepResult, context ...TableWriteContext) int64

func ModelStepResultCookMeasureReason

func ModelStepResultCookMeasureReason(value *ModelStepResult, context ...TableWriteContext) (int64, error)

func ModelStepResultFromJson

func ModelStepResultFromJson(builder *ModelStepResultBuilder, text []byte, report *TableReport) bool

func ModelStepResultLoadBody

func ModelStepResultLoadBody(r *TableReader, value *ModelStepResult) bool

func ModelStepResultLoadBodyRetain

func ModelStepResultLoadBodyRetain(r *TableRetainReader, value *ModelStepResult) bool

func ModelStepResultLoadBuilder

func ModelStepResultLoadBuilder(b *ModelStepResultBuilder, wire []byte, report *TableReport) bool

func ModelStepResultLoadMeasure

func ModelStepResultLoadMeasure(wire []byte) int64

func ModelStepResultLoadMeasureReason

func ModelStepResultLoadMeasureReason(wire []byte) (int64, error)

func ModelStepResultLoadMessageBody

func ModelStepResultLoadMessageBody(r *TableMessageReader, value *ModelStepResult) bool

func ModelStepResultLoadMessageBodyRetain

func ModelStepResultLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelStepResult) bool

func ModelStepResultMeasure

func ModelStepResultMeasure(value *ModelStepResult, context ...TableWriteContext) int64

func ModelStepResultMeasureBody

func ModelStepResultMeasureBody(value *ModelStepResult, ids *TableIds) int64

func ModelStepResultMeasureBodyRetain

func ModelStepResultMeasureBodyRetain(value *ModelStepResult, ids *TableRetainIds) int64

func ModelStepResultMeasureReason

func ModelStepResultMeasureReason(value *ModelStepResult, context ...TableWriteContext) (int64, error)

func ModelStepResultMeasureRetain

func ModelStepResultMeasureRetain(value *ModelStepResult, retain *TableRetain, allocator ...TableAllocator) int64

func ModelStepResultOpen

func ModelStepResultOpen(cook *ModelStepResultCook, base unsafe.Pointer, length int64) bool

ModelStepResultOpen is the bool convenience for the typed Open error on the handle.

func ModelStepResultReset

func ModelStepResultReset(value *ModelStepResult)

ModelStepResultReset restores ModelStepResult's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelStepResultSave

func ModelStepResultSave(value *ModelStepResult, buffer []byte, context ...TableWriteContext) int64

func ModelStepResultSaveBody

func ModelStepResultSaveBody(w *TableWriter, value *ModelStepResult) bool

func ModelStepResultSaveBodyFields

func ModelStepResultSaveBodyFields(w *TableWriter, value *ModelStepResult) bool

func ModelStepResultSaveBodyFieldsRetain

func ModelStepResultSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelStepResult) bool

func ModelStepResultSaveBodyRetain

func ModelStepResultSaveBodyRetain(w *TableRetainWriter, value *ModelStepResult) bool

func ModelStepResultSaveMessageBody

func ModelStepResultSaveMessageBody(w *TableMessageWriter, value *ModelStepResult) bool

func ModelStepResultSaveRetain

func ModelStepResultSaveRetain(value *ModelStepResult, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelStepResultSaveText

func ModelStepResultSaveText(value *ModelStepResult, context ...TableWriteContext) (string, error)

ModelStepResultSaveText returns the base64 of ModelStepResult's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelStepResultSave takes.

func ModelStepResultToJson

func ModelStepResultToJson(value *ModelStepResult, buffer []byte, allocator ...TableAllocator) int64

func ModelStepResultToJsonMeasure

func ModelStepResultToJsonMeasure(value *ModelStepResult, allocator ...TableAllocator) int64

func ModelStepSave

func ModelStepSave(value *ModelStep, buffer []byte, context ...TableWriteContext) int64

func ModelStepSaveBody

func ModelStepSaveBody(w *TableWriter, value *ModelStep) bool

func ModelStepSaveBodyFields

func ModelStepSaveBodyFields(w *TableWriter, value *ModelStep) bool

func ModelStepSaveBodyFieldsRetain

func ModelStepSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelStep) bool

func ModelStepSaveBodyRetain

func ModelStepSaveBodyRetain(w *TableRetainWriter, value *ModelStep) bool

func ModelStepSaveMessageBody

func ModelStepSaveMessageBody(w *TableMessageWriter, value *ModelStep) bool

func ModelStepSaveRetain

func ModelStepSaveRetain(value *ModelStep, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelStepSaveText

func ModelStepSaveText(value *ModelStep, context ...TableWriteContext) (string, error)

ModelStepSaveText returns the base64 of ModelStep's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelStepSave takes.

func ModelStepToJson

func ModelStepToJson(value *ModelStep, buffer []byte, allocator ...TableAllocator) int64

func ModelStepToJsonMeasure

func ModelStepToJsonMeasure(value *ModelStep, allocator ...TableAllocator) int64

func ModelTraceCookFrom

func ModelTraceCookFrom(value *ModelTrace, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelTraceCookMeasure

func ModelTraceCookMeasure(value *ModelTrace, context ...TableWriteContext) int64

func ModelTraceCookMeasureReason

func ModelTraceCookMeasureReason(value *ModelTrace, context ...TableWriteContext) (int64, error)

func ModelTraceFromJson

func ModelTraceFromJson(builder *ModelTraceBuilder, text []byte, report *TableReport) bool

func ModelTraceLoadBody

func ModelTraceLoadBody(r *TableReader, value *ModelTrace) bool

func ModelTraceLoadBodyRetain

func ModelTraceLoadBodyRetain(r *TableRetainReader, value *ModelTrace) bool

func ModelTraceLoadBuilder

func ModelTraceLoadBuilder(b *ModelTraceBuilder, wire []byte, report *TableReport) bool

func ModelTraceLoadMeasure

func ModelTraceLoadMeasure(wire []byte) int64

func ModelTraceLoadMeasureReason

func ModelTraceLoadMeasureReason(wire []byte) (int64, error)

func ModelTraceLoadMessageBody

func ModelTraceLoadMessageBody(r *TableMessageReader, value *ModelTrace) bool

func ModelTraceLoadMessageBodyRetain

func ModelTraceLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelTrace) bool

func ModelTraceMeasure

func ModelTraceMeasure(value *ModelTrace, context ...TableWriteContext) int64

func ModelTraceMeasureBody

func ModelTraceMeasureBody(value *ModelTrace, ids *TableIds) int64

func ModelTraceMeasureBodyRetain

func ModelTraceMeasureBodyRetain(value *ModelTrace, ids *TableRetainIds) int64

func ModelTraceMeasureReason

func ModelTraceMeasureReason(value *ModelTrace, context ...TableWriteContext) (int64, error)

func ModelTraceMeasureRetain

func ModelTraceMeasureRetain(value *ModelTrace, retain *TableRetain, allocator ...TableAllocator) int64

func ModelTraceModelSha256Each

func ModelTraceModelSha256Each(holder *TableList[ModelHashRow], visit func(*ModelHashRow) bool, arena ...*TableArena) bool

func ModelTraceModelSha256Erase

func ModelTraceModelSha256Erase(arena *TableArena, holder *TableList[ModelHashRow], element *ModelHashRow) bool

func ModelTraceOpen

func ModelTraceOpen(cook *ModelTraceCook, base unsafe.Pointer, length int64) bool

ModelTraceOpen is the bool convenience for the typed Open error on the handle.

func ModelTraceReset

func ModelTraceReset(value *ModelTrace)

ModelTraceReset restores ModelTrace's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelTraceSave

func ModelTraceSave(value *ModelTrace, buffer []byte, context ...TableWriteContext) int64

func ModelTraceSaveBody

func ModelTraceSaveBody(w *TableWriter, value *ModelTrace) bool

func ModelTraceSaveBodyFields

func ModelTraceSaveBodyFields(w *TableWriter, value *ModelTrace) bool

func ModelTraceSaveBodyFieldsRetain

func ModelTraceSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelTrace) bool

func ModelTraceSaveBodyRetain

func ModelTraceSaveBodyRetain(w *TableRetainWriter, value *ModelTrace) bool

func ModelTraceSaveMessageBody

func ModelTraceSaveMessageBody(w *TableMessageWriter, value *ModelTrace) bool

func ModelTraceSaveRetain

func ModelTraceSaveRetain(value *ModelTrace, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelTraceSaveText

func ModelTraceSaveText(value *ModelTrace, context ...TableWriteContext) (string, error)

ModelTraceSaveText returns the base64 of ModelTrace's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelTraceSave takes.

func ModelTraceStepArgsEach

func ModelTraceStepArgsEach(holder *TableList[ModelArgRow], visit func(*ModelArgRow) bool, arena ...*TableArena) bool

func ModelTraceStepArgsErase

func ModelTraceStepArgsErase(arena *TableArena, holder *TableList[ModelArgRow], element *ModelArgRow) bool

func ModelTraceStepCookFrom

func ModelTraceStepCookFrom(value *ModelTraceStep, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelTraceStepCookMeasure

func ModelTraceStepCookMeasure(value *ModelTraceStep, context ...TableWriteContext) int64

func ModelTraceStepCookMeasureReason

func ModelTraceStepCookMeasureReason(value *ModelTraceStep, context ...TableWriteContext) (int64, error)

func ModelTraceStepFromJson

func ModelTraceStepFromJson(builder *ModelTraceStepBuilder, text []byte, report *TableReport) bool

func ModelTraceStepLoadBody

func ModelTraceStepLoadBody(r *TableReader, value *ModelTraceStep) bool

func ModelTraceStepLoadBodyRetain

func ModelTraceStepLoadBodyRetain(r *TableRetainReader, value *ModelTraceStep) bool

func ModelTraceStepLoadBuilder

func ModelTraceStepLoadBuilder(b *ModelTraceStepBuilder, wire []byte, report *TableReport) bool

func ModelTraceStepLoadMeasure

func ModelTraceStepLoadMeasure(wire []byte) int64

func ModelTraceStepLoadMeasureReason

func ModelTraceStepLoadMeasureReason(wire []byte) (int64, error)

func ModelTraceStepLoadMessageBody

func ModelTraceStepLoadMessageBody(r *TableMessageReader, value *ModelTraceStep) bool

func ModelTraceStepLoadMessageBodyRetain

func ModelTraceStepLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelTraceStep) bool

func ModelTraceStepMeasure

func ModelTraceStepMeasure(value *ModelTraceStep, context ...TableWriteContext) int64

func ModelTraceStepMeasureBody

func ModelTraceStepMeasureBody(value *ModelTraceStep, ids *TableIds) int64

func ModelTraceStepMeasureBodyRetain

func ModelTraceStepMeasureBodyRetain(value *ModelTraceStep, ids *TableRetainIds) int64

func ModelTraceStepMeasureReason

func ModelTraceStepMeasureReason(value *ModelTraceStep, context ...TableWriteContext) (int64, error)

func ModelTraceStepMeasureRetain

func ModelTraceStepMeasureRetain(value *ModelTraceStep, retain *TableRetain, allocator ...TableAllocator) int64

func ModelTraceStepOpen

func ModelTraceStepOpen(cook *ModelTraceStepCook, base unsafe.Pointer, length int64) bool

ModelTraceStepOpen is the bool convenience for the typed Open error on the handle.

func ModelTraceStepReset

func ModelTraceStepReset(value *ModelTraceStep)

ModelTraceStepReset restores ModelTraceStep's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelTraceStepSave

func ModelTraceStepSave(value *ModelTraceStep, buffer []byte, context ...TableWriteContext) int64

func ModelTraceStepSaveBody

func ModelTraceStepSaveBody(w *TableWriter, value *ModelTraceStep) bool

func ModelTraceStepSaveBodyFields

func ModelTraceStepSaveBodyFields(w *TableWriter, value *ModelTraceStep) bool

func ModelTraceStepSaveBodyFieldsRetain

func ModelTraceStepSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelTraceStep) bool

func ModelTraceStepSaveBodyRetain

func ModelTraceStepSaveBodyRetain(w *TableRetainWriter, value *ModelTraceStep) bool

func ModelTraceStepSaveMessageBody

func ModelTraceStepSaveMessageBody(w *TableMessageWriter, value *ModelTraceStep) bool

func ModelTraceStepSaveRetain

func ModelTraceStepSaveRetain(value *ModelTraceStep, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelTraceStepSaveText

func ModelTraceStepSaveText(value *ModelTraceStep, context ...TableWriteContext) (string, error)

ModelTraceStepSaveText returns the base64 of ModelTraceStep's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelTraceStepSave takes.

func ModelTraceStepToJson

func ModelTraceStepToJson(value *ModelTraceStep, buffer []byte, allocator ...TableAllocator) int64

func ModelTraceStepToJsonMeasure

func ModelTraceStepToJsonMeasure(value *ModelTraceStep, allocator ...TableAllocator) int64

func ModelTraceStepsEach

func ModelTraceStepsEach(holder *TableList[ModelTraceStepRow], visit func(*ModelTraceStepRow) bool, arena ...*TableArena) bool

func ModelTraceStepsErase

func ModelTraceStepsErase(arena *TableArena, holder *TableList[ModelTraceStepRow], element *ModelTraceStepRow) bool

func ModelTraceToJson

func ModelTraceToJson(value *ModelTrace, buffer []byte, allocator ...TableAllocator) int64

func ModelTraceToJsonMeasure

func ModelTraceToJsonMeasure(value *ModelTrace, allocator ...TableAllocator) int64

func ModelViolationCookFrom

func ModelViolationCookFrom(value *ModelViolation, buffer []byte, order TableByteOrder, context ...TableWriteContext) bool

func ModelViolationCookMeasure

func ModelViolationCookMeasure(value *ModelViolation, context ...TableWriteContext) int64

func ModelViolationCookMeasureReason

func ModelViolationCookMeasureReason(value *ModelViolation, context ...TableWriteContext) (int64, error)

func ModelViolationFromJson

func ModelViolationFromJson(builder *ModelViolationBuilder, text []byte, report *TableReport) bool

func ModelViolationLoadBody

func ModelViolationLoadBody(r *TableReader, value *ModelViolation) bool

func ModelViolationLoadBodyRetain

func ModelViolationLoadBodyRetain(r *TableRetainReader, value *ModelViolation) bool

func ModelViolationLoadBuilder

func ModelViolationLoadBuilder(b *ModelViolationBuilder, wire []byte, report *TableReport) bool

func ModelViolationLoadMeasure

func ModelViolationLoadMeasure(wire []byte) int64

func ModelViolationLoadMeasureReason

func ModelViolationLoadMeasureReason(wire []byte) (int64, error)

func ModelViolationLoadMessageBody

func ModelViolationLoadMessageBody(r *TableMessageReader, value *ModelViolation) bool

func ModelViolationLoadMessageBodyRetain

func ModelViolationLoadMessageBodyRetain(r *TableRetainMessageReader, value *ModelViolation) bool

func ModelViolationMeasure

func ModelViolationMeasure(value *ModelViolation, context ...TableWriteContext) int64

func ModelViolationMeasureBody

func ModelViolationMeasureBody(value *ModelViolation, ids *TableIds) int64

func ModelViolationMeasureBodyRetain

func ModelViolationMeasureBodyRetain(value *ModelViolation, ids *TableRetainIds) int64

func ModelViolationMeasureReason

func ModelViolationMeasureReason(value *ModelViolation, context ...TableWriteContext) (int64, error)

func ModelViolationMeasureRetain

func ModelViolationMeasureRetain(value *ModelViolation, retain *TableRetain, allocator ...TableAllocator) int64

func ModelViolationOpen

func ModelViolationOpen(cook *ModelViolationCook, base unsafe.Pointer, length int64) bool

ModelViolationOpen is the bool convenience for the typed Open error on the handle.

func ModelViolationReset

func ModelViolationReset(value *ModelViolation)

ModelViolationReset restores ModelViolation's declared defaults in place, reusing the storage the value already holds. The reader calls it before overlaying.

func ModelViolationSave

func ModelViolationSave(value *ModelViolation, buffer []byte, context ...TableWriteContext) int64

func ModelViolationSaveBody

func ModelViolationSaveBody(w *TableWriter, value *ModelViolation) bool

func ModelViolationSaveBodyFields

func ModelViolationSaveBodyFields(w *TableWriter, value *ModelViolation) bool

func ModelViolationSaveBodyFieldsRetain

func ModelViolationSaveBodyFieldsRetain(w *TableRetainWriter, value *ModelViolation) bool

func ModelViolationSaveBodyRetain

func ModelViolationSaveBodyRetain(w *TableRetainWriter, value *ModelViolation) bool

func ModelViolationSaveMessageBody

func ModelViolationSaveMessageBody(w *TableMessageWriter, value *ModelViolation) bool

func ModelViolationSaveRetain

func ModelViolationSaveRetain(value *ModelViolation, retain *TableRetain, buffer []byte, report *TableReport, allocator ...TableAllocator) int64

func ModelViolationSaveText

func ModelViolationSaveText(value *ModelViolation, context ...TableWriteContext) (string, error)

ModelViolationSaveText returns the base64 of ModelViolation's binary wire (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8): the whole file, form byte first, so the text keeps the form byte, the framing check and every versioning guarantee and is opaque. It takes the write context ModelViolationSave takes.

func ModelViolationToJson

func ModelViolationToJson(value *ModelViolation, buffer []byte, allocator ...TableAllocator) int64

func ModelViolationToJsonMeasure

func ModelViolationToJsonMeasure(value *ModelViolation, allocator ...TableAllocator) int64

func TableBytesEmplace

func TableBytesEmplace(worker *TableWorker, slot *TableRef, length int64) []byte

func TableStringEmplace

func TableStringEmplace(worker *TableWorker, slot *TableRef, text []byte) []byte

Types

type ConvergeState

type ConvergeState = ConvergeStateRow

func ConvergeStateLoad

func ConvergeStateLoad(region, wire []byte, report *TableReport) *ConvergeState

func ConvergeStateLoadRetain

func ConvergeStateLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ConvergeState

func ConvergeStateLoadText

func ConvergeStateLoadText(text string, report *TableReport) (*ConvergeState, error)

ConvergeStateLoadText reads one ConvergeState from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ConvergeStateReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ConvergeStateReadStrict

func ConvergeStateReadStrict(wire []byte) (*ConvergeState, error)

ConvergeStateReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ConvergeStateBuilder

type ConvergeStateBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ConvergeStateBuilder) AsConst

func (b *ConvergeStateBuilder) AsConst() *ConvergeState

func (*ConvergeStateBuilder) GetRoot

func (b *ConvergeStateBuilder) GetRoot() *ConvergeState

func (*ConvergeStateBuilder) Init

func (b *ConvergeStateBuilder) Init(allocator ...TableAllocator) bool

func (*ConvergeStateBuilder) Lock

func (b *ConvergeStateBuilder) Lock() bool

func (*ConvergeStateBuilder) PackMeasure

func (b *ConvergeStateBuilder) PackMeasure() int64

func (*ConvergeStateBuilder) PackMeasureReason

func (b *ConvergeStateBuilder) PackMeasureReason() (int64, error)

func (*ConvergeStateBuilder) Region

func (b *ConvergeStateBuilder) Region() []byte

func (*ConvergeStateBuilder) Shutdown

func (b *ConvergeStateBuilder) Shutdown()

type ConvergeStateCook

type ConvergeStateCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ConvergeStateCook is ConvergeState's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ConvergeStateOpen, ConvergeStateAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ConvergeStateCook) Open

func (cook *ConvergeStateCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ConvergeStateCook) RegionAlignment

func (c ConvergeStateCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ConvergeStateCook) Root

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ConvergeStateCook) RootAlign

func (c ConvergeStateCook) RootAlign() int64

func (ConvergeStateCook) RootSize

func (c ConvergeStateCook) RootSize() int64

func (ConvergeStateCook) Type

func (c ConvergeStateCook) Type() *TableCookInfo

Type is ConvergeState's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ConvergeStateRow

type ConvergeStateRow struct {
	Streams TableList[ConvergeStreamEntryRow]
}

ConvergeStateRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ConvergeStateAt

func ConvergeStateAt(slot *int64, arena ...*TableArena) *ConvergeStateRow

ConvergeStateAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

type ConvergeStreamEntry

type ConvergeStreamEntry = ConvergeStreamEntryRow

func ConvergeStreamEntryLoad

func ConvergeStreamEntryLoad(region, wire []byte, report *TableReport) *ConvergeStreamEntry

func ConvergeStreamEntryLoadRetain

func ConvergeStreamEntryLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ConvergeStreamEntry

func ConvergeStreamEntryLoadText

func ConvergeStreamEntryLoadText(text string, report *TableReport) (*ConvergeStreamEntry, error)

ConvergeStreamEntryLoadText reads one ConvergeStreamEntry from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ConvergeStreamEntryReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ConvergeStreamEntryReadStrict

func ConvergeStreamEntryReadStrict(wire []byte) (*ConvergeStreamEntry, error)

ConvergeStreamEntryReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ConvergeStreamEntryBuilder

type ConvergeStreamEntryBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ConvergeStreamEntryBuilder) AsConst

func (*ConvergeStreamEntryBuilder) GetRoot

func (*ConvergeStreamEntryBuilder) Init

func (b *ConvergeStreamEntryBuilder) Init(allocator ...TableAllocator) bool

func (*ConvergeStreamEntryBuilder) Lock

func (b *ConvergeStreamEntryBuilder) Lock() bool

func (*ConvergeStreamEntryBuilder) PackMeasure

func (b *ConvergeStreamEntryBuilder) PackMeasure() int64

func (*ConvergeStreamEntryBuilder) PackMeasureReason

func (b *ConvergeStreamEntryBuilder) PackMeasureReason() (int64, error)

func (*ConvergeStreamEntryBuilder) Region

func (b *ConvergeStreamEntryBuilder) Region() []byte

func (*ConvergeStreamEntryBuilder) Shutdown

func (b *ConvergeStreamEntryBuilder) Shutdown()

type ConvergeStreamEntryCook

type ConvergeStreamEntryCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ConvergeStreamEntryCook is ConvergeStreamEntry's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ConvergeStreamEntryOpen, ConvergeStreamEntryAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ConvergeStreamEntryCook) Open

func (cook *ConvergeStreamEntryCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ConvergeStreamEntryCook) RegionAlignment

func (c ConvergeStreamEntryCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ConvergeStreamEntryCook) Root

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ConvergeStreamEntryCook) RootAlign

func (c ConvergeStreamEntryCook) RootAlign() int64

func (ConvergeStreamEntryCook) RootSize

func (c ConvergeStreamEntryCook) RootSize() int64

func (ConvergeStreamEntryCook) Type

Type is ConvergeStreamEntry's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ConvergeStreamEntryRow

type ConvergeStreamEntryRow struct {
	Name     int64 // *: signed self-relative delta, zero is null (§6.3)
	Now      float64
	At       int64 // *: signed self-relative delta, zero is null (§6.3)
	Widening int64
}

ConvergeStreamEntryRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ConvergeStateStreamsAdd

func ConvergeStateStreamsAdd(worker *TableWorker, holder *TableList[ConvergeStreamEntryRow]) *ConvergeStreamEntryRow

func ConvergeStreamEntryAt

func ConvergeStreamEntryAt(slot *int64, arena ...*TableArena) *ConvergeStreamEntryRow

ConvergeStreamEntryAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

type ModelAction

type ModelAction = ModelActionRow

func ModelActionLoad

func ModelActionLoad(region, wire []byte, report *TableReport) *ModelAction

func ModelActionLoadRetain

func ModelActionLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelAction

func ModelActionLoadText

func ModelActionLoadText(text string, report *TableReport) (*ModelAction, error)

ModelActionLoadText reads one ModelAction from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelActionReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelActionReadStrict

func ModelActionReadStrict(wire []byte) (*ModelAction, error)

ModelActionReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelActionBuilder

type ModelActionBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelActionBuilder) AsConst

func (b *ModelActionBuilder) AsConst() *ModelAction

func (*ModelActionBuilder) GetRoot

func (b *ModelActionBuilder) GetRoot() *ModelAction

func (*ModelActionBuilder) Init

func (b *ModelActionBuilder) Init(allocator ...TableAllocator) bool

func (*ModelActionBuilder) Lock

func (b *ModelActionBuilder) Lock() bool

func (*ModelActionBuilder) PackMeasure

func (b *ModelActionBuilder) PackMeasure() int64

func (*ModelActionBuilder) PackMeasureReason

func (b *ModelActionBuilder) PackMeasureReason() (int64, error)

func (*ModelActionBuilder) Region

func (b *ModelActionBuilder) Region() []byte

func (*ModelActionBuilder) Shutdown

func (b *ModelActionBuilder) Shutdown()

type ModelActionCook

type ModelActionCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelActionCook is ModelAction's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelActionOpen, ModelActionAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelActionCook) Open

func (cook *ModelActionCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelActionCook) RegionAlignment

func (c ModelActionCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelActionCook) Root

func (c ModelActionCook) Root() *ModelActionRow

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelActionCook) RootAlign

func (c ModelActionCook) RootAlign() int64

func (ModelActionCook) RootSize

func (c ModelActionCook) RootSize() int64

func (ModelActionCook) Type

func (c ModelActionCook) Type() *TableCookInfo

Type is ModelAction's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelActionRow

type ModelActionRow struct {
	Verb  int64 // *: signed self-relative delta, zero is null (§6.3)
	Args  TableList[ModelArgRow]
	Actor int64 // *: signed self-relative delta, zero is null (§6.3)
}

ModelActionRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelActionAt

func ModelActionAt(slot *int64, arena ...*TableArena) *ModelActionRow

ModelActionAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

type ModelArg

type ModelArg = ModelArgRow

func ModelArgLoad

func ModelArgLoad(region, wire []byte, report *TableReport) *ModelArg

func ModelArgLoadRetain

func ModelArgLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelArg

func ModelArgLoadText

func ModelArgLoadText(text string, report *TableReport) (*ModelArg, error)

ModelArgLoadText reads one ModelArg from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelArgReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelArgReadStrict

func ModelArgReadStrict(wire []byte) (*ModelArg, error)

ModelArgReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelArgBuilder

type ModelArgBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelArgBuilder) AsConst

func (b *ModelArgBuilder) AsConst() *ModelArg

func (*ModelArgBuilder) GetRoot

func (b *ModelArgBuilder) GetRoot() *ModelArg

func (*ModelArgBuilder) Init

func (b *ModelArgBuilder) Init(allocator ...TableAllocator) bool

func (*ModelArgBuilder) Lock

func (b *ModelArgBuilder) Lock() bool

func (*ModelArgBuilder) PackMeasure

func (b *ModelArgBuilder) PackMeasure() int64

func (*ModelArgBuilder) PackMeasureReason

func (b *ModelArgBuilder) PackMeasureReason() (int64, error)

func (*ModelArgBuilder) Region

func (b *ModelArgBuilder) Region() []byte

func (*ModelArgBuilder) Shutdown

func (b *ModelArgBuilder) Shutdown()

type ModelArgCook

type ModelArgCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelArgCook is ModelArg's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelArgOpen, ModelArgAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelArgCook) Open

func (cook *ModelArgCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelArgCook) RegionAlignment

func (c ModelArgCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelArgCook) Root

func (c ModelArgCook) Root() *ModelArgRow

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelArgCook) RootAlign

func (c ModelArgCook) RootAlign() int64

func (ModelArgCook) RootSize

func (c ModelArgCook) RootSize() int64

func (ModelArgCook) Type

func (c ModelArgCook) Type() *TableCookInfo

Type is ModelArg's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelArgRow

type ModelArgRow struct {
	Text int64 // *: signed self-relative delta, zero is null (§6.3)
}

ModelArgRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelActionArgsAdd

func ModelActionArgsAdd(worker *TableWorker, holder *TableList[ModelArgRow]) *ModelArgRow

func ModelArgAt

func ModelArgAt(slot *int64, arena ...*TableArena) *ModelArgRow

ModelArgAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

func ModelTraceStepArgsAdd

func ModelTraceStepArgsAdd(worker *TableWorker, holder *TableList[ModelArgRow]) *ModelArgRow

type ModelBind

type ModelBind = ModelBindRow

func ModelBindLoad

func ModelBindLoad(region, wire []byte, report *TableReport) *ModelBind

func ModelBindLoadRetain

func ModelBindLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelBind

func ModelBindLoadText

func ModelBindLoadText(text string, report *TableReport) (*ModelBind, error)

ModelBindLoadText reads one ModelBind from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelBindReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelBindReadStrict

func ModelBindReadStrict(wire []byte) (*ModelBind, error)

ModelBindReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelBindBuilder

type ModelBindBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelBindBuilder) AsConst

func (b *ModelBindBuilder) AsConst() *ModelBind

func (*ModelBindBuilder) GetRoot

func (b *ModelBindBuilder) GetRoot() *ModelBind

func (*ModelBindBuilder) Init

func (b *ModelBindBuilder) Init(allocator ...TableAllocator) bool

func (*ModelBindBuilder) Lock

func (b *ModelBindBuilder) Lock() bool

func (*ModelBindBuilder) PackMeasure

func (b *ModelBindBuilder) PackMeasure() int64

func (*ModelBindBuilder) PackMeasureReason

func (b *ModelBindBuilder) PackMeasureReason() (int64, error)

func (*ModelBindBuilder) Region

func (b *ModelBindBuilder) Region() []byte

func (*ModelBindBuilder) Shutdown

func (b *ModelBindBuilder) Shutdown()

type ModelBindCook

type ModelBindCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelBindCook is ModelBind's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelBindOpen, ModelBindAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelBindCook) Open

func (cook *ModelBindCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelBindCook) RegionAlignment

func (c ModelBindCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelBindCook) Root

func (c ModelBindCook) Root() *ModelBindRow

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelBindCook) RootAlign

func (c ModelBindCook) RootAlign() int64

func (ModelBindCook) RootSize

func (c ModelBindCook) RootSize() int64

func (ModelBindCook) Type

func (c ModelBindCook) Type() *TableCookInfo

Type is ModelBind's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelBindRow

type ModelBindRow struct {
	Cell   ModelCellRow
	Target ModelCellRow
}

ModelBindRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelBindAt

func ModelBindAt(slot *int64, arena ...*TableArena) *ModelBindRow

ModelBindAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

func ModelStateBindsAdd

func ModelStateBindsAdd(worker *TableWorker, holder *TableList[ModelBindRow]) *ModelBindRow

type ModelCell

type ModelCell = ModelCellRow

func ModelCellLoad

func ModelCellLoad(region, wire []byte, report *TableReport) *ModelCell

func ModelCellLoadRetain

func ModelCellLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelCell

func ModelCellLoadText

func ModelCellLoadText(text string, report *TableReport) (*ModelCell, error)

ModelCellLoadText reads one ModelCell from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelCellReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelCellReadStrict

func ModelCellReadStrict(wire []byte) (*ModelCell, error)

ModelCellReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelCellBuilder

type ModelCellBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelCellBuilder) AsConst

func (b *ModelCellBuilder) AsConst() *ModelCell

func (*ModelCellBuilder) GetRoot

func (b *ModelCellBuilder) GetRoot() *ModelCell

func (*ModelCellBuilder) Init

func (b *ModelCellBuilder) Init(allocator ...TableAllocator) bool

func (*ModelCellBuilder) Lock

func (b *ModelCellBuilder) Lock() bool

func (*ModelCellBuilder) PackMeasure

func (b *ModelCellBuilder) PackMeasure() int64

func (*ModelCellBuilder) PackMeasureReason

func (b *ModelCellBuilder) PackMeasureReason() (int64, error)

func (*ModelCellBuilder) Region

func (b *ModelCellBuilder) Region() []byte

func (*ModelCellBuilder) Shutdown

func (b *ModelCellBuilder) Shutdown()

type ModelCellCook

type ModelCellCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelCellCook is ModelCell's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelCellOpen, ModelCellAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelCellCook) Open

func (cook *ModelCellCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelCellCook) RegionAlignment

func (c ModelCellCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelCellCook) Root

func (c ModelCellCook) Root() *ModelCellRow

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelCellCook) RootAlign

func (c ModelCellCook) RootAlign() int64

func (ModelCellCook) RootSize

func (c ModelCellCook) RootSize() int64

func (ModelCellCook) Type

func (c ModelCellCook) Type() *TableCookInfo

Type is ModelCell's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelCellRow

type ModelCellRow struct {
	P   ModelPhysRow
	Row int64 // *: signed self-relative delta, zero is null (§6.3)
	Col int64 // *: signed self-relative delta, zero is null (§6.3)
}

ModelCellRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelCellAt

func ModelCellAt(slot *int64, arena ...*TableArena) *ModelCellRow

ModelCellAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

type ModelDatum

type ModelDatum = ModelDatumRow

func ModelDatumLoad

func ModelDatumLoad(region, wire []byte, report *TableReport) *ModelDatum

func ModelDatumLoadRetain

func ModelDatumLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelDatum

func ModelDatumLoadText

func ModelDatumLoadText(text string, report *TableReport) (*ModelDatum, error)

ModelDatumLoadText reads one ModelDatum from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelDatumReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelDatumReadStrict

func ModelDatumReadStrict(wire []byte) (*ModelDatum, error)

ModelDatumReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelDatumBuilder

type ModelDatumBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelDatumBuilder) AsConst

func (b *ModelDatumBuilder) AsConst() *ModelDatum

func (*ModelDatumBuilder) GetRoot

func (b *ModelDatumBuilder) GetRoot() *ModelDatum

func (*ModelDatumBuilder) Init

func (b *ModelDatumBuilder) Init(allocator ...TableAllocator) bool

func (*ModelDatumBuilder) Lock

func (b *ModelDatumBuilder) Lock() bool

func (*ModelDatumBuilder) PackMeasure

func (b *ModelDatumBuilder) PackMeasure() int64

func (*ModelDatumBuilder) PackMeasureReason

func (b *ModelDatumBuilder) PackMeasureReason() (int64, error)

func (*ModelDatumBuilder) Region

func (b *ModelDatumBuilder) Region() []byte

func (*ModelDatumBuilder) Shutdown

func (b *ModelDatumBuilder) Shutdown()

type ModelDatumCook

type ModelDatumCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelDatumCook is ModelDatum's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelDatumOpen, ModelDatumAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelDatumCook) Open

func (cook *ModelDatumCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelDatumCook) RegionAlignment

func (c ModelDatumCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelDatumCook) Root

func (c ModelDatumCook) Root() *ModelDatumRow

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelDatumCook) RootAlign

func (c ModelDatumCook) RootAlign() int64

func (ModelDatumCook) RootSize

func (c ModelDatumCook) RootSize() int64

func (ModelDatumCook) Type

func (c ModelDatumCook) Type() *TableCookInfo

Type is ModelDatum's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelDatumRow

type ModelDatumRow struct {
	Cell   ModelCellRow
	Member int64 // *: signed self-relative delta, zero is null (§6.3)
	Score  int64
}

ModelDatumRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelDatumAt

func ModelDatumAt(slot *int64, arena ...*TableArena) *ModelDatumRow

ModelDatumAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

func ModelStateDataAdd

func ModelStateDataAdd(worker *TableWorker, holder *TableList[ModelDatumRow]) *ModelDatumRow

type ModelDetail

type ModelDetail = ModelDetailRow

func ModelDetailLoad

func ModelDetailLoad(region, wire []byte, report *TableReport) *ModelDetail

func ModelDetailLoadRetain

func ModelDetailLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelDetail

func ModelDetailLoadText

func ModelDetailLoadText(text string, report *TableReport) (*ModelDetail, error)

ModelDetailLoadText reads one ModelDetail from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelDetailReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelDetailReadStrict

func ModelDetailReadStrict(wire []byte) (*ModelDetail, error)

ModelDetailReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelDetailBuilder

type ModelDetailBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelDetailBuilder) AsConst

func (b *ModelDetailBuilder) AsConst() *ModelDetail

func (*ModelDetailBuilder) GetRoot

func (b *ModelDetailBuilder) GetRoot() *ModelDetail

func (*ModelDetailBuilder) Init

func (b *ModelDetailBuilder) Init(allocator ...TableAllocator) bool

func (*ModelDetailBuilder) Lock

func (b *ModelDetailBuilder) Lock() bool

func (*ModelDetailBuilder) PackMeasure

func (b *ModelDetailBuilder) PackMeasure() int64

func (*ModelDetailBuilder) PackMeasureReason

func (b *ModelDetailBuilder) PackMeasureReason() (int64, error)

func (*ModelDetailBuilder) Region

func (b *ModelDetailBuilder) Region() []byte

func (*ModelDetailBuilder) Shutdown

func (b *ModelDetailBuilder) Shutdown()

type ModelDetailCook

type ModelDetailCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelDetailCook is ModelDetail's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelDetailOpen, ModelDetailAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelDetailCook) Open

func (cook *ModelDetailCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelDetailCook) RegionAlignment

func (c ModelDetailCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelDetailCook) Root

func (c ModelDetailCook) Root() *ModelDetailRow

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelDetailCook) RootAlign

func (c ModelDetailCook) RootAlign() int64

func (ModelDetailCook) RootSize

func (c ModelDetailCook) RootSize() int64

func (ModelDetailCook) Type

func (c ModelDetailCook) Type() *TableCookInfo

Type is ModelDetail's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelDetailRow

type ModelDetailRow struct {
	Text int64 // *: signed self-relative delta, zero is null (§6.3)
}

ModelDetailRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelDetailAt

func ModelDetailAt(slot *int64, arena ...*TableArena) *ModelDetailRow

ModelDetailAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

func ModelReplayEventFieldsAdd

func ModelReplayEventFieldsAdd(worker *TableWorker, holder *TableList[ModelDetailRow]) *ModelDetailRow

type ModelEvent

type ModelEvent = ModelEventRow

func ModelEventLoad

func ModelEventLoad(region, wire []byte, report *TableReport) *ModelEvent

func ModelEventLoadRetain

func ModelEventLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelEvent

func ModelEventLoadText

func ModelEventLoadText(text string, report *TableReport) (*ModelEvent, error)

ModelEventLoadText reads one ModelEvent from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelEventReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelEventReadStrict

func ModelEventReadStrict(wire []byte) (*ModelEvent, error)

ModelEventReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelEventBuilder

type ModelEventBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelEventBuilder) AsConst

func (b *ModelEventBuilder) AsConst() *ModelEvent

func (*ModelEventBuilder) GetRoot

func (b *ModelEventBuilder) GetRoot() *ModelEvent

func (*ModelEventBuilder) Init

func (b *ModelEventBuilder) Init(allocator ...TableAllocator) bool

func (*ModelEventBuilder) Lock

func (b *ModelEventBuilder) Lock() bool

func (*ModelEventBuilder) PackMeasure

func (b *ModelEventBuilder) PackMeasure() int64

func (*ModelEventBuilder) PackMeasureReason

func (b *ModelEventBuilder) PackMeasureReason() (int64, error)

func (*ModelEventBuilder) Region

func (b *ModelEventBuilder) Region() []byte

func (*ModelEventBuilder) Shutdown

func (b *ModelEventBuilder) Shutdown()

type ModelEventCook

type ModelEventCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelEventCook is ModelEvent's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelEventOpen, ModelEventAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelEventCook) Open

func (cook *ModelEventCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelEventCook) RegionAlignment

func (c ModelEventCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelEventCook) Root

func (c ModelEventCook) Root() *ModelEventRow

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelEventCook) RootAlign

func (c ModelEventCook) RootAlign() int64

func (ModelEventCook) RootSize

func (c ModelEventCook) RootSize() int64

func (ModelEventCook) Type

func (c ModelEventCook) Type() *TableCookInfo

Type is ModelEvent's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelEventField

type ModelEventField = ModelEventFieldRow

func ModelEventFieldLoad

func ModelEventFieldLoad(region, wire []byte, report *TableReport) *ModelEventField

func ModelEventFieldLoadRetain

func ModelEventFieldLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelEventField

func ModelEventFieldLoadText

func ModelEventFieldLoadText(text string, report *TableReport) (*ModelEventField, error)

ModelEventFieldLoadText reads one ModelEventField from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelEventFieldReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelEventFieldReadStrict

func ModelEventFieldReadStrict(wire []byte) (*ModelEventField, error)

ModelEventFieldReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelEventFieldBuilder

type ModelEventFieldBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelEventFieldBuilder) AsConst

func (*ModelEventFieldBuilder) GetRoot

func (*ModelEventFieldBuilder) Init

func (b *ModelEventFieldBuilder) Init(allocator ...TableAllocator) bool

func (*ModelEventFieldBuilder) Lock

func (b *ModelEventFieldBuilder) Lock() bool

func (*ModelEventFieldBuilder) PackMeasure

func (b *ModelEventFieldBuilder) PackMeasure() int64

func (*ModelEventFieldBuilder) PackMeasureReason

func (b *ModelEventFieldBuilder) PackMeasureReason() (int64, error)

func (*ModelEventFieldBuilder) Region

func (b *ModelEventFieldBuilder) Region() []byte

func (*ModelEventFieldBuilder) Shutdown

func (b *ModelEventFieldBuilder) Shutdown()

type ModelEventFieldCook

type ModelEventFieldCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelEventFieldCook is ModelEventField's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelEventFieldOpen, ModelEventFieldAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelEventFieldCook) Open

func (cook *ModelEventFieldCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelEventFieldCook) RegionAlignment

func (c ModelEventFieldCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelEventFieldCook) Root

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelEventFieldCook) RootAlign

func (c ModelEventFieldCook) RootAlign() int64

func (ModelEventFieldCook) RootSize

func (c ModelEventFieldCook) RootSize() int64

func (ModelEventFieldCook) Type

Type is ModelEventField's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelEventFieldRow

type ModelEventFieldRow struct {
	Key   int64 // *: signed self-relative delta, zero is null (§6.3)
	Value int64 // *: signed self-relative delta, zero is null (§6.3)
}

ModelEventFieldRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelEventFieldAt

func ModelEventFieldAt(slot *int64, arena ...*TableArena) *ModelEventFieldRow

ModelEventFieldAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

func ModelEventFieldsAdd

func ModelEventFieldsAdd(worker *TableWorker, holder *TableList[ModelEventFieldRow]) *ModelEventFieldRow

type ModelEventRow

type ModelEventRow struct {
	Fields TableList[ModelEventFieldRow]
}

ModelEventRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelEventAt

func ModelEventAt(slot *int64, arena ...*TableArena) *ModelEventRow

ModelEventAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

type ModelFinding

type ModelFinding = ModelFindingRow

func ModelFindingLoad

func ModelFindingLoad(region, wire []byte, report *TableReport) *ModelFinding

func ModelFindingLoadRetain

func ModelFindingLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelFinding

func ModelFindingLoadText

func ModelFindingLoadText(text string, report *TableReport) (*ModelFinding, error)

ModelFindingLoadText reads one ModelFinding from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelFindingReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelFindingReadStrict

func ModelFindingReadStrict(wire []byte) (*ModelFinding, error)

ModelFindingReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelFindingBuilder

type ModelFindingBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelFindingBuilder) AsConst

func (b *ModelFindingBuilder) AsConst() *ModelFinding

func (*ModelFindingBuilder) GetRoot

func (b *ModelFindingBuilder) GetRoot() *ModelFinding

func (*ModelFindingBuilder) Init

func (b *ModelFindingBuilder) Init(allocator ...TableAllocator) bool

func (*ModelFindingBuilder) Lock

func (b *ModelFindingBuilder) Lock() bool

func (*ModelFindingBuilder) PackMeasure

func (b *ModelFindingBuilder) PackMeasure() int64

func (*ModelFindingBuilder) PackMeasureReason

func (b *ModelFindingBuilder) PackMeasureReason() (int64, error)

func (*ModelFindingBuilder) Region

func (b *ModelFindingBuilder) Region() []byte

func (*ModelFindingBuilder) Shutdown

func (b *ModelFindingBuilder) Shutdown()

type ModelFindingCook

type ModelFindingCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelFindingCook is ModelFinding's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelFindingOpen, ModelFindingAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelFindingCook) Open

func (cook *ModelFindingCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelFindingCook) RegionAlignment

func (c ModelFindingCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelFindingCook) Root

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelFindingCook) RootAlign

func (c ModelFindingCook) RootAlign() int64

func (ModelFindingCook) RootSize

func (c ModelFindingCook) RootSize() int64

func (ModelFindingCook) Type

func (c ModelFindingCook) Type() *TableCookInfo

Type is ModelFinding's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelFindingRow

type ModelFindingRow struct {
	Name   int64 // *: signed self-relative delta, zero is null (§6.3)
	Result int64 // *: signed self-relative delta, zero is null (§6.3)
	Text   int64 // *: signed self-relative delta, zero is null (§6.3)
}

ModelFindingRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelFindingAt

func ModelFindingAt(slot *int64, arena ...*TableArena) *ModelFindingRow

ModelFindingAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

type ModelHash

type ModelHash = ModelHashRow

func ModelHashLoad

func ModelHashLoad(region, wire []byte, report *TableReport) *ModelHash

func ModelHashLoadRetain

func ModelHashLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelHash

func ModelHashLoadText

func ModelHashLoadText(text string, report *TableReport) (*ModelHash, error)

ModelHashLoadText reads one ModelHash from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelHashReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelHashReadStrict

func ModelHashReadStrict(wire []byte) (*ModelHash, error)

ModelHashReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelHashBuilder

type ModelHashBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelHashBuilder) AsConst

func (b *ModelHashBuilder) AsConst() *ModelHash

func (*ModelHashBuilder) GetRoot

func (b *ModelHashBuilder) GetRoot() *ModelHash

func (*ModelHashBuilder) Init

func (b *ModelHashBuilder) Init(allocator ...TableAllocator) bool

func (*ModelHashBuilder) Lock

func (b *ModelHashBuilder) Lock() bool

func (*ModelHashBuilder) PackMeasure

func (b *ModelHashBuilder) PackMeasure() int64

func (*ModelHashBuilder) PackMeasureReason

func (b *ModelHashBuilder) PackMeasureReason() (int64, error)

func (*ModelHashBuilder) Region

func (b *ModelHashBuilder) Region() []byte

func (*ModelHashBuilder) Shutdown

func (b *ModelHashBuilder) Shutdown()

type ModelHashCook

type ModelHashCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelHashCook is ModelHash's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelHashOpen, ModelHashAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelHashCook) Open

func (cook *ModelHashCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelHashCook) RegionAlignment

func (c ModelHashCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelHashCook) Root

func (c ModelHashCook) Root() *ModelHashRow

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelHashCook) RootAlign

func (c ModelHashCook) RootAlign() int64

func (ModelHashCook) RootSize

func (c ModelHashCook) RootSize() int64

func (ModelHashCook) Type

func (c ModelHashCook) Type() *TableCookInfo

Type is ModelHash's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelHashRow

type ModelHashRow struct {
	Module int64 // *: signed self-relative delta, zero is null (§6.3)
	Sha256 int64 // *: signed self-relative delta, zero is null (§6.3)
}

ModelHashRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelHashAt

func ModelHashAt(slot *int64, arena ...*TableArena) *ModelHashRow

ModelHashAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

func ModelTraceModelSha256Add

func ModelTraceModelSha256Add(worker *TableWorker, holder *TableList[ModelHashRow]) *ModelHashRow

type ModelLocation

type ModelLocation = ModelLocationRow

func ModelLocationLoad

func ModelLocationLoad(region, wire []byte, report *TableReport) *ModelLocation

func ModelLocationLoadRetain

func ModelLocationLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelLocation

func ModelLocationLoadText

func ModelLocationLoadText(text string, report *TableReport) (*ModelLocation, error)

ModelLocationLoadText reads one ModelLocation from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelLocationReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelLocationReadStrict

func ModelLocationReadStrict(wire []byte) (*ModelLocation, error)

ModelLocationReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelLocationBuilder

type ModelLocationBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelLocationBuilder) AsConst

func (b *ModelLocationBuilder) AsConst() *ModelLocation

func (*ModelLocationBuilder) GetRoot

func (b *ModelLocationBuilder) GetRoot() *ModelLocation

func (*ModelLocationBuilder) Init

func (b *ModelLocationBuilder) Init(allocator ...TableAllocator) bool

func (*ModelLocationBuilder) Lock

func (b *ModelLocationBuilder) Lock() bool

func (*ModelLocationBuilder) PackMeasure

func (b *ModelLocationBuilder) PackMeasure() int64

func (*ModelLocationBuilder) PackMeasureReason

func (b *ModelLocationBuilder) PackMeasureReason() (int64, error)

func (*ModelLocationBuilder) Region

func (b *ModelLocationBuilder) Region() []byte

func (*ModelLocationBuilder) Shutdown

func (b *ModelLocationBuilder) Shutdown()

type ModelLocationCook

type ModelLocationCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelLocationCook is ModelLocation's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelLocationOpen, ModelLocationAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelLocationCook) Open

func (cook *ModelLocationCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelLocationCook) RegionAlignment

func (c ModelLocationCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelLocationCook) Root

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelLocationCook) RootAlign

func (c ModelLocationCook) RootAlign() int64

func (ModelLocationCook) RootSize

func (c ModelLocationCook) RootSize() int64

func (ModelLocationCook) Type

func (c ModelLocationCook) Type() *TableCookInfo

Type is ModelLocation's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelLocationRow

type ModelLocationRow struct {
	P    ModelPhysRow
	Cell ModelCellRow
}

ModelLocationRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelLocationAt

func ModelLocationAt(slot *int64, arena ...*TableArena) *ModelLocationRow

ModelLocationAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

func ModelPlacementLocationsAdd

func ModelPlacementLocationsAdd(worker *TableWorker, holder *TableList[ModelLocationRow]) *ModelLocationRow

type ModelOutcome

type ModelOutcome = ModelOutcomeRow

func ModelOutcomeLoad

func ModelOutcomeLoad(region, wire []byte, report *TableReport) *ModelOutcome

func ModelOutcomeLoadRetain

func ModelOutcomeLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelOutcome

func ModelOutcomeLoadText

func ModelOutcomeLoadText(text string, report *TableReport) (*ModelOutcome, error)

ModelOutcomeLoadText reads one ModelOutcome from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelOutcomeReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelOutcomeReadStrict

func ModelOutcomeReadStrict(wire []byte) (*ModelOutcome, error)

ModelOutcomeReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelOutcomeBuilder

type ModelOutcomeBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelOutcomeBuilder) AsConst

func (b *ModelOutcomeBuilder) AsConst() *ModelOutcome

func (*ModelOutcomeBuilder) GetRoot

func (b *ModelOutcomeBuilder) GetRoot() *ModelOutcome

func (*ModelOutcomeBuilder) Init

func (b *ModelOutcomeBuilder) Init(allocator ...TableAllocator) bool

func (*ModelOutcomeBuilder) Lock

func (b *ModelOutcomeBuilder) Lock() bool

func (*ModelOutcomeBuilder) PackMeasure

func (b *ModelOutcomeBuilder) PackMeasure() int64

func (*ModelOutcomeBuilder) PackMeasureReason

func (b *ModelOutcomeBuilder) PackMeasureReason() (int64, error)

func (*ModelOutcomeBuilder) Region

func (b *ModelOutcomeBuilder) Region() []byte

func (*ModelOutcomeBuilder) Shutdown

func (b *ModelOutcomeBuilder) Shutdown()

type ModelOutcomeCook

type ModelOutcomeCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelOutcomeCook is ModelOutcome's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelOutcomeOpen, ModelOutcomeAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelOutcomeCook) Open

func (cook *ModelOutcomeCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelOutcomeCook) RegionAlignment

func (c ModelOutcomeCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelOutcomeCook) Root

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelOutcomeCook) RootAlign

func (c ModelOutcomeCook) RootAlign() int64

func (ModelOutcomeCook) RootSize

func (c ModelOutcomeCook) RootSize() int64

func (ModelOutcomeCook) Type

func (c ModelOutcomeCook) Type() *TableCookInfo

Type is ModelOutcome's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelOutcomeRow

type ModelOutcomeRow struct {
	Completed bool

	Generated    int64 // *: signed self-relative delta, zero is null (§6.3)
	Distinct     int64 // *: signed self-relative delta, zero is null (§6.3)
	Violations   TableList[ModelViolationRow]
	InitialState bool
	// contains filtered or unexported fields
}

ModelOutcomeRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelOutcomeAt

func ModelOutcomeAt(slot *int64, arena ...*TableArena) *ModelOutcomeRow

ModelOutcomeAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

type ModelPhys

type ModelPhys = ModelPhysRow

func ModelPhysLoad

func ModelPhysLoad(region, wire []byte, report *TableReport) *ModelPhys

func ModelPhysLoadRetain

func ModelPhysLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelPhys

func ModelPhysLoadText

func ModelPhysLoadText(text string, report *TableReport) (*ModelPhys, error)

ModelPhysLoadText reads one ModelPhys from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelPhysReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelPhysReadStrict

func ModelPhysReadStrict(wire []byte) (*ModelPhys, error)

ModelPhysReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelPhysBuilder

type ModelPhysBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelPhysBuilder) AsConst

func (b *ModelPhysBuilder) AsConst() *ModelPhys

func (*ModelPhysBuilder) GetRoot

func (b *ModelPhysBuilder) GetRoot() *ModelPhys

func (*ModelPhysBuilder) Init

func (b *ModelPhysBuilder) Init(allocator ...TableAllocator) bool

func (*ModelPhysBuilder) Lock

func (b *ModelPhysBuilder) Lock() bool

func (*ModelPhysBuilder) PackMeasure

func (b *ModelPhysBuilder) PackMeasure() int64

func (*ModelPhysBuilder) PackMeasureReason

func (b *ModelPhysBuilder) PackMeasureReason() (int64, error)

func (*ModelPhysBuilder) Region

func (b *ModelPhysBuilder) Region() []byte

func (*ModelPhysBuilder) Shutdown

func (b *ModelPhysBuilder) Shutdown()

type ModelPhysCook

type ModelPhysCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelPhysCook is ModelPhys's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelPhysOpen, ModelPhysAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelPhysCook) Open

func (cook *ModelPhysCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelPhysCook) RegionAlignment

func (c ModelPhysCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelPhysCook) Root

func (c ModelPhysCook) Root() *ModelPhysRow

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelPhysCook) RootAlign

func (c ModelPhysCook) RootAlign() int64

func (ModelPhysCook) RootSize

func (c ModelPhysCook) RootSize() int64

func (ModelPhysCook) Type

func (c ModelPhysCook) Type() *TableCookInfo

Type is ModelPhys's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelPhysRow

type ModelPhysRow struct {
	TableName int64 // *: signed self-relative delta, zero is null (§6.3)
	Epoch     int64
}

ModelPhysRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelPhysAt

func ModelPhysAt(slot *int64, arena ...*TableArena) *ModelPhysRow

ModelPhysAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

func ModelStateLiveAdd

func ModelStateLiveAdd(worker *TableWorker, holder *TableList[ModelPhysRow]) *ModelPhysRow

type ModelPlacement

type ModelPlacement = ModelPlacementRow

func ModelPlacementLoad

func ModelPlacementLoad(region, wire []byte, report *TableReport) *ModelPlacement

func ModelPlacementLoadRetain

func ModelPlacementLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelPlacement

func ModelPlacementLoadText

func ModelPlacementLoadText(text string, report *TableReport) (*ModelPlacement, error)

ModelPlacementLoadText reads one ModelPlacement from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelPlacementReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelPlacementReadStrict

func ModelPlacementReadStrict(wire []byte) (*ModelPlacement, error)

ModelPlacementReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelPlacementBuilder

type ModelPlacementBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelPlacementBuilder) AsConst

func (b *ModelPlacementBuilder) AsConst() *ModelPlacement

func (*ModelPlacementBuilder) GetRoot

func (b *ModelPlacementBuilder) GetRoot() *ModelPlacement

func (*ModelPlacementBuilder) Init

func (b *ModelPlacementBuilder) Init(allocator ...TableAllocator) bool

func (*ModelPlacementBuilder) Lock

func (b *ModelPlacementBuilder) Lock() bool

func (*ModelPlacementBuilder) PackMeasure

func (b *ModelPlacementBuilder) PackMeasure() int64

func (*ModelPlacementBuilder) PackMeasureReason

func (b *ModelPlacementBuilder) PackMeasureReason() (int64, error)

func (*ModelPlacementBuilder) Region

func (b *ModelPlacementBuilder) Region() []byte

func (*ModelPlacementBuilder) Shutdown

func (b *ModelPlacementBuilder) Shutdown()

type ModelPlacementCook

type ModelPlacementCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelPlacementCook is ModelPlacement's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelPlacementOpen, ModelPlacementAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelPlacementCook) Open

func (cook *ModelPlacementCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelPlacementCook) RegionAlignment

func (c ModelPlacementCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelPlacementCook) Root

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelPlacementCook) RootAlign

func (c ModelPlacementCook) RootAlign() int64

func (ModelPlacementCook) RootSize

func (c ModelPlacementCook) RootSize() int64

func (ModelPlacementCook) Type

Type is ModelPlacement's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelPlacementRow

type ModelPlacementRow struct {
	Member    int64 // *: signed self-relative delta, zero is null (§6.3)
	Locations TableList[ModelLocationRow]
}

ModelPlacementRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelPlacementAt

func ModelPlacementAt(slot *int64, arena ...*TableArena) *ModelPlacementRow

ModelPlacementAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

func ModelStatePlaceAdd

func ModelStatePlaceAdd(worker *TableWorker, holder *TableList[ModelPlacementRow]) *ModelPlacementRow

type ModelReplayEvent

type ModelReplayEvent = ModelReplayEventRow

func ModelReplayEventLoad

func ModelReplayEventLoad(region, wire []byte, report *TableReport) *ModelReplayEvent

func ModelReplayEventLoadRetain

func ModelReplayEventLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelReplayEvent

func ModelReplayEventLoadText

func ModelReplayEventLoadText(text string, report *TableReport) (*ModelReplayEvent, error)

ModelReplayEventLoadText reads one ModelReplayEvent from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelReplayEventReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelReplayEventReadStrict

func ModelReplayEventReadStrict(wire []byte) (*ModelReplayEvent, error)

ModelReplayEventReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelReplayEventBuilder

type ModelReplayEventBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelReplayEventBuilder) AsConst

func (*ModelReplayEventBuilder) GetRoot

func (*ModelReplayEventBuilder) Init

func (b *ModelReplayEventBuilder) Init(allocator ...TableAllocator) bool

func (*ModelReplayEventBuilder) Lock

func (b *ModelReplayEventBuilder) Lock() bool

func (*ModelReplayEventBuilder) PackMeasure

func (b *ModelReplayEventBuilder) PackMeasure() int64

func (*ModelReplayEventBuilder) PackMeasureReason

func (b *ModelReplayEventBuilder) PackMeasureReason() (int64, error)

func (*ModelReplayEventBuilder) Region

func (b *ModelReplayEventBuilder) Region() []byte

func (*ModelReplayEventBuilder) Shutdown

func (b *ModelReplayEventBuilder) Shutdown()

type ModelReplayEventCook

type ModelReplayEventCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelReplayEventCook is ModelReplayEvent's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelReplayEventOpen, ModelReplayEventAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelReplayEventCook) Open

func (cook *ModelReplayEventCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelReplayEventCook) RegionAlignment

func (c ModelReplayEventCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelReplayEventCook) Root

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelReplayEventCook) RootAlign

func (c ModelReplayEventCook) RootAlign() int64

func (ModelReplayEventCook) RootSize

func (c ModelReplayEventCook) RootSize() int64

func (ModelReplayEventCook) Type

Type is ModelReplayEvent's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelReplayEventRow

type ModelReplayEventRow struct {
	Step    int64 // *: signed self-relative delta, zero is null (§6.3)
	Verdict int64 // *: signed self-relative delta, zero is null (§6.3)
	Fields  TableList[ModelDetailRow]
}

ModelReplayEventRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelReplayEventAt

func ModelReplayEventAt(slot *int64, arena ...*TableArena) *ModelReplayEventRow

ModelReplayEventAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

type ModelRowAt

type ModelRowAt = ModelRowAtRow

func ModelRowAtLoad

func ModelRowAtLoad(region, wire []byte, report *TableReport) *ModelRowAt

func ModelRowAtLoadRetain

func ModelRowAtLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelRowAt

func ModelRowAtLoadText

func ModelRowAtLoadText(text string, report *TableReport) (*ModelRowAt, error)

ModelRowAtLoadText reads one ModelRowAt from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelRowAtReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelRowAtReadStrict

func ModelRowAtReadStrict(wire []byte) (*ModelRowAt, error)

ModelRowAtReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelRowAtBuilder

type ModelRowAtBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelRowAtBuilder) AsConst

func (b *ModelRowAtBuilder) AsConst() *ModelRowAt

func (*ModelRowAtBuilder) GetRoot

func (b *ModelRowAtBuilder) GetRoot() *ModelRowAt

func (*ModelRowAtBuilder) Init

func (b *ModelRowAtBuilder) Init(allocator ...TableAllocator) bool

func (*ModelRowAtBuilder) Lock

func (b *ModelRowAtBuilder) Lock() bool

func (*ModelRowAtBuilder) PackMeasure

func (b *ModelRowAtBuilder) PackMeasure() int64

func (*ModelRowAtBuilder) PackMeasureReason

func (b *ModelRowAtBuilder) PackMeasureReason() (int64, error)

func (*ModelRowAtBuilder) Region

func (b *ModelRowAtBuilder) Region() []byte

func (*ModelRowAtBuilder) Shutdown

func (b *ModelRowAtBuilder) Shutdown()

type ModelRowAtCook

type ModelRowAtCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelRowAtCook is ModelRowAt's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelRowAtOpen, ModelRowAtAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelRowAtCook) Open

func (cook *ModelRowAtCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelRowAtCook) RegionAlignment

func (c ModelRowAtCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelRowAtCook) Root

func (c ModelRowAtCook) Root() *ModelRowAtRow

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelRowAtCook) RootAlign

func (c ModelRowAtCook) RootAlign() int64

func (ModelRowAtCook) RootSize

func (c ModelRowAtCook) RootSize() int64

func (ModelRowAtCook) Type

func (c ModelRowAtCook) Type() *TableCookInfo

Type is ModelRowAt's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelRowAtRow

type ModelRowAtRow struct {
	P   ModelPhysRow
	Row int64 // *: signed self-relative delta, zero is null (§6.3)
}

ModelRowAtRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelRowAtAt

func ModelRowAtAt(slot *int64, arena ...*TableArena) *ModelRowAtRow

ModelRowAtAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

func ModelStateRowsAdd

func ModelStateRowsAdd(worker *TableWorker, holder *TableList[ModelRowAtRow]) *ModelRowAtRow

type ModelSeen

type ModelSeen = ModelSeenRow

func ModelSeenLoad

func ModelSeenLoad(region, wire []byte, report *TableReport) *ModelSeen

func ModelSeenLoadRetain

func ModelSeenLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelSeen

func ModelSeenLoadText

func ModelSeenLoadText(text string, report *TableReport) (*ModelSeen, error)

ModelSeenLoadText reads one ModelSeen from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelSeenReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelSeenReadStrict

func ModelSeenReadStrict(wire []byte) (*ModelSeen, error)

ModelSeenReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelSeenBuilder

type ModelSeenBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelSeenBuilder) AsConst

func (b *ModelSeenBuilder) AsConst() *ModelSeen

func (*ModelSeenBuilder) GetRoot

func (b *ModelSeenBuilder) GetRoot() *ModelSeen

func (*ModelSeenBuilder) Init

func (b *ModelSeenBuilder) Init(allocator ...TableAllocator) bool

func (*ModelSeenBuilder) Lock

func (b *ModelSeenBuilder) Lock() bool

func (*ModelSeenBuilder) PackMeasure

func (b *ModelSeenBuilder) PackMeasure() int64

func (*ModelSeenBuilder) PackMeasureReason

func (b *ModelSeenBuilder) PackMeasureReason() (int64, error)

func (*ModelSeenBuilder) Region

func (b *ModelSeenBuilder) Region() []byte

func (*ModelSeenBuilder) Shutdown

func (b *ModelSeenBuilder) Shutdown()

type ModelSeenCook

type ModelSeenCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelSeenCook is ModelSeen's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelSeenOpen, ModelSeenAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelSeenCook) Open

func (cook *ModelSeenCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelSeenCook) RegionAlignment

func (c ModelSeenCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelSeenCook) Root

func (c ModelSeenCook) Root() *ModelSeenRow

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelSeenCook) RootAlign

func (c ModelSeenCook) RootAlign() int64

func (ModelSeenCook) RootSize

func (c ModelSeenCook) RootSize() int64

func (ModelSeenCook) Type

func (c ModelSeenCook) Type() *TableCookInfo

Type is ModelSeen's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelSeenRow

type ModelSeenRow struct {
	Writer int64 // *: signed self-relative delta, zero is null (§6.3)
	Epoch  int64
}

ModelSeenRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelSeenAt

func ModelSeenAt(slot *int64, arena ...*TableArena) *ModelSeenRow

ModelSeenAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

func ModelStateSeenAdd

func ModelStateSeenAdd(worker *TableWorker, holder *TableList[ModelSeenRow]) *ModelSeenRow

type ModelState

type ModelState = ModelStateRow

func ModelStateLoad

func ModelStateLoad(region, wire []byte, report *TableReport) *ModelState

func ModelStateLoadRetain

func ModelStateLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelState

func ModelStateLoadText

func ModelStateLoadText(text string, report *TableReport) (*ModelState, error)

ModelStateLoadText reads one ModelState from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelStateReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelStateReadStrict

func ModelStateReadStrict(wire []byte) (*ModelState, error)

ModelStateReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelStateBuilder

type ModelStateBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelStateBuilder) AsConst

func (b *ModelStateBuilder) AsConst() *ModelState

func (*ModelStateBuilder) GetRoot

func (b *ModelStateBuilder) GetRoot() *ModelState

func (*ModelStateBuilder) Init

func (b *ModelStateBuilder) Init(allocator ...TableAllocator) bool

func (*ModelStateBuilder) Lock

func (b *ModelStateBuilder) Lock() bool

func (*ModelStateBuilder) PackMeasure

func (b *ModelStateBuilder) PackMeasure() int64

func (*ModelStateBuilder) PackMeasureReason

func (b *ModelStateBuilder) PackMeasureReason() (int64, error)

func (*ModelStateBuilder) Region

func (b *ModelStateBuilder) Region() []byte

func (*ModelStateBuilder) Shutdown

func (b *ModelStateBuilder) Shutdown()

type ModelStateCook

type ModelStateCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelStateCook is ModelState's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelStateOpen, ModelStateAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelStateCook) Open

func (cook *ModelStateCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelStateCook) RegionAlignment

func (c ModelStateCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelStateCook) Root

func (c ModelStateCook) Root() *ModelStateRow

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelStateCook) RootAlign

func (c ModelStateCook) RootAlign() int64

func (ModelStateCook) RootSize

func (c ModelStateCook) RootSize() int64

func (ModelStateCook) Type

func (c ModelStateCook) Type() *TableCookInfo

Type is ModelState's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelStateRow

ModelStateRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelStateAt

func ModelStateAt(slot *int64, arena ...*TableArena) *ModelStateRow

ModelStateAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

type ModelStep

type ModelStep = ModelStepRow

func ModelStepLoad

func ModelStepLoad(region, wire []byte, report *TableReport) *ModelStep

func ModelStepLoadRetain

func ModelStepLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelStep

func ModelStepLoadText

func ModelStepLoadText(text string, report *TableReport) (*ModelStep, error)

ModelStepLoadText reads one ModelStep from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelStepReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelStepReadStrict

func ModelStepReadStrict(wire []byte) (*ModelStep, error)

ModelStepReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelStepBuilder

type ModelStepBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelStepBuilder) AsConst

func (b *ModelStepBuilder) AsConst() *ModelStep

func (*ModelStepBuilder) GetRoot

func (b *ModelStepBuilder) GetRoot() *ModelStep

func (*ModelStepBuilder) Init

func (b *ModelStepBuilder) Init(allocator ...TableAllocator) bool

func (*ModelStepBuilder) Lock

func (b *ModelStepBuilder) Lock() bool

func (*ModelStepBuilder) PackMeasure

func (b *ModelStepBuilder) PackMeasure() int64

func (*ModelStepBuilder) PackMeasureReason

func (b *ModelStepBuilder) PackMeasureReason() (int64, error)

func (*ModelStepBuilder) Region

func (b *ModelStepBuilder) Region() []byte

func (*ModelStepBuilder) Shutdown

func (b *ModelStepBuilder) Shutdown()

type ModelStepCook

type ModelStepCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelStepCook is ModelStep's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelStepOpen, ModelStepAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelStepCook) Open

func (cook *ModelStepCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelStepCook) RegionAlignment

func (c ModelStepCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelStepCook) Root

func (c ModelStepCook) Root() *ModelStepRow

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelStepCook) RootAlign

func (c ModelStepCook) RootAlign() int64

func (ModelStepCook) RootSize

func (c ModelStepCook) RootSize() int64

func (ModelStepCook) Type

func (c ModelStepCook) Type() *TableCookInfo

Type is ModelStep's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelStepResult

type ModelStepResult = ModelStepResultRow

func ModelStepResultLoad

func ModelStepResultLoad(region, wire []byte, report *TableReport) *ModelStepResult

func ModelStepResultLoadRetain

func ModelStepResultLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelStepResult

func ModelStepResultLoadText

func ModelStepResultLoadText(text string, report *TableReport) (*ModelStepResult, error)

ModelStepResultLoadText reads one ModelStepResult from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelStepResultReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelStepResultReadStrict

func ModelStepResultReadStrict(wire []byte) (*ModelStepResult, error)

ModelStepResultReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelStepResultBuilder

type ModelStepResultBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelStepResultBuilder) AsConst

func (*ModelStepResultBuilder) GetRoot

func (*ModelStepResultBuilder) Init

func (b *ModelStepResultBuilder) Init(allocator ...TableAllocator) bool

func (*ModelStepResultBuilder) Lock

func (b *ModelStepResultBuilder) Lock() bool

func (*ModelStepResultBuilder) PackMeasure

func (b *ModelStepResultBuilder) PackMeasure() int64

func (*ModelStepResultBuilder) PackMeasureReason

func (b *ModelStepResultBuilder) PackMeasureReason() (int64, error)

func (*ModelStepResultBuilder) Region

func (b *ModelStepResultBuilder) Region() []byte

func (*ModelStepResultBuilder) Shutdown

func (b *ModelStepResultBuilder) Shutdown()

type ModelStepResultCook

type ModelStepResultCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelStepResultCook is ModelStepResult's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelStepResultOpen, ModelStepResultAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelStepResultCook) Open

func (cook *ModelStepResultCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelStepResultCook) RegionAlignment

func (c ModelStepResultCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelStepResultCook) Root

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelStepResultCook) RootAlign

func (c ModelStepResultCook) RootAlign() int64

func (ModelStepResultCook) RootSize

func (c ModelStepResultCook) RootSize() int64

func (ModelStepResultCook) Type

Type is ModelStepResult's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelStepResultRow

type ModelStepResultRow struct {
	Step    ModelStepRow
	Verdict int64 // *: signed self-relative delta, zero is null (§6.3)
	Ok      bool

	Code    int64
	Seconds int64
	Outcome ModelOutcomeRow
	Log     int64 // *: signed self-relative delta, zero is null (§6.3)
	// contains filtered or unexported fields
}

ModelStepResultRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelStepResultAt

func ModelStepResultAt(slot *int64, arena ...*TableArena) *ModelStepResultRow

ModelStepResultAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

type ModelStepRow

type ModelStepRow struct {
	Name     int64 // *: signed self-relative delta, zero is null (§6.3)
	Module   int64 // *: signed self-relative delta, zero is null (§6.3)
	Workers  int64
	Kind     int64 // *: signed self-relative delta, zero is null (§6.3)
	Property int64 // *: signed self-relative delta, zero is null (§6.3)
	Met      int64 // *: signed self-relative delta, zero is null (§6.3)
}

ModelStepRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelStepAt

func ModelStepAt(slot *int64, arena ...*TableArena) *ModelStepRow

ModelStepAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

type ModelTrace

type ModelTrace = ModelTraceRow

func ModelTraceLoad

func ModelTraceLoad(region, wire []byte, report *TableReport) *ModelTrace

func ModelTraceLoadRetain

func ModelTraceLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelTrace

func ModelTraceLoadText

func ModelTraceLoadText(text string, report *TableReport) (*ModelTrace, error)

ModelTraceLoadText reads one ModelTrace from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelTraceReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelTraceReadStrict

func ModelTraceReadStrict(wire []byte) (*ModelTrace, error)

ModelTraceReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelTraceBuilder

type ModelTraceBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelTraceBuilder) AsConst

func (b *ModelTraceBuilder) AsConst() *ModelTrace

func (*ModelTraceBuilder) GetRoot

func (b *ModelTraceBuilder) GetRoot() *ModelTrace

func (*ModelTraceBuilder) Init

func (b *ModelTraceBuilder) Init(allocator ...TableAllocator) bool

func (*ModelTraceBuilder) Lock

func (b *ModelTraceBuilder) Lock() bool

func (*ModelTraceBuilder) PackMeasure

func (b *ModelTraceBuilder) PackMeasure() int64

func (*ModelTraceBuilder) PackMeasureReason

func (b *ModelTraceBuilder) PackMeasureReason() (int64, error)

func (*ModelTraceBuilder) Region

func (b *ModelTraceBuilder) Region() []byte

func (*ModelTraceBuilder) Shutdown

func (b *ModelTraceBuilder) Shutdown()

type ModelTraceCook

type ModelTraceCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelTraceCook is ModelTrace's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelTraceOpen, ModelTraceAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelTraceCook) Open

func (cook *ModelTraceCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelTraceCook) RegionAlignment

func (c ModelTraceCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelTraceCook) Root

func (c ModelTraceCook) Root() *ModelTraceRow

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelTraceCook) RootAlign

func (c ModelTraceCook) RootAlign() int64

func (ModelTraceCook) RootSize

func (c ModelTraceCook) RootSize() int64

func (ModelTraceCook) Type

func (c ModelTraceCook) Type() *TableCookInfo

Type is ModelTrace's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelTraceRow

type ModelTraceRow struct {
	SourceSha256 int64 // *: signed self-relative delta, zero is null (§6.3)
	ModelSha256  TableList[ModelHashRow]
	Initial      ModelStateRow
	Steps        TableList[ModelTraceStepRow]
}

ModelTraceRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelTraceAt

func ModelTraceAt(slot *int64, arena ...*TableArena) *ModelTraceRow

ModelTraceAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

type ModelTraceStep

type ModelTraceStep = ModelTraceStepRow

func ModelTraceStepLoad

func ModelTraceStepLoad(region, wire []byte, report *TableReport) *ModelTraceStep

func ModelTraceStepLoadRetain

func ModelTraceStepLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelTraceStep

func ModelTraceStepLoadText

func ModelTraceStepLoadText(text string, report *TableReport) (*ModelTraceStep, error)

ModelTraceStepLoadText reads one ModelTraceStep from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelTraceStepReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelTraceStepReadStrict

func ModelTraceStepReadStrict(wire []byte) (*ModelTraceStep, error)

ModelTraceStepReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelTraceStepBuilder

type ModelTraceStepBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelTraceStepBuilder) AsConst

func (b *ModelTraceStepBuilder) AsConst() *ModelTraceStep

func (*ModelTraceStepBuilder) GetRoot

func (b *ModelTraceStepBuilder) GetRoot() *ModelTraceStep

func (*ModelTraceStepBuilder) Init

func (b *ModelTraceStepBuilder) Init(allocator ...TableAllocator) bool

func (*ModelTraceStepBuilder) Lock

func (b *ModelTraceStepBuilder) Lock() bool

func (*ModelTraceStepBuilder) PackMeasure

func (b *ModelTraceStepBuilder) PackMeasure() int64

func (*ModelTraceStepBuilder) PackMeasureReason

func (b *ModelTraceStepBuilder) PackMeasureReason() (int64, error)

func (*ModelTraceStepBuilder) Region

func (b *ModelTraceStepBuilder) Region() []byte

func (*ModelTraceStepBuilder) Shutdown

func (b *ModelTraceStepBuilder) Shutdown()

type ModelTraceStepCook

type ModelTraceStepCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelTraceStepCook is ModelTraceStep's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelTraceStepOpen, ModelTraceStepAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelTraceStepCook) Open

func (cook *ModelTraceStepCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelTraceStepCook) RegionAlignment

func (c ModelTraceStepCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelTraceStepCook) Root

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelTraceStepCook) RootAlign

func (c ModelTraceStepCook) RootAlign() int64

func (ModelTraceStepCook) RootSize

func (c ModelTraceStepCook) RootSize() int64

func (ModelTraceStepCook) Type

Type is ModelTraceStep's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelTraceStepRow

type ModelTraceStepRow struct {
	Verb           int64 // *: signed self-relative delta, zero is null (§6.3)
	Args           TableList[ModelArgRow]
	Actor          int64 // *: signed self-relative delta, zero is null (§6.3)
	Refused        bool
	RefusedPresent bool // ?: one byte, in Go's model as in C++
	HasReceipt     bool

	Receipt ModelEventRow
	Model   int64 // *: signed self-relative delta, zero is null (§6.3)
	State   ModelStateRow
	// contains filtered or unexported fields
}

ModelTraceStepRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelTraceStepAt

func ModelTraceStepAt(slot *int64, arena ...*TableArena) *ModelTraceStepRow

ModelTraceStepAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

func ModelTraceStepsAdd

func ModelTraceStepsAdd(worker *TableWorker, holder *TableList[ModelTraceStepRow]) *ModelTraceStepRow

type ModelViolation

type ModelViolation = ModelViolationRow

func ModelViolationLoad

func ModelViolationLoad(region, wire []byte, report *TableReport) *ModelViolation

func ModelViolationLoadRetain

func ModelViolationLoadRetain(region, wire []byte, retain *TableRetain, report *TableReport) *ModelViolation

func ModelViolationLoadText

func ModelViolationLoadText(text string, report *TableReport) (*ModelViolation, error)

ModelViolationLoadText reads one ModelViolation from a base64 wire text (mas-bandwidth/schema docs/SPEC-TABLES.md §16.8) into a builder of its own and returns the locked root, as ModelViolationReadStrict does: it is the STRICT read (§6.5) and refuses whenever the read's report holds an error (TableReport.Err), whatever the tolerant LoadBuilder answered, so a recovered value never comes back. It refuses by name: base64_damaged when the body does not decode, unknown_form when the decoded wire's form byte is not one this build carries, wire_damaged for framing damage, and the report's own reason (malformed, clamped, kind_mismatch, ...) otherwise. A nil report is allowed; a supplied one receives THIS read's report, so earlier counts in it never decide.

func ModelViolationReadStrict

func ModelViolationReadStrict(wire []byte) (*ModelViolation, error)

ModelViolationReadStrict is the STRICT read (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5): one call, its own builder, one typed reason.

type ModelViolationBuilder

type ModelViolationBuilder struct {
	Arena TableArena
	Main  TableWorker
	// contains filtered or unexported fields
}

func (*ModelViolationBuilder) AsConst

func (b *ModelViolationBuilder) AsConst() *ModelViolation

func (*ModelViolationBuilder) GetRoot

func (b *ModelViolationBuilder) GetRoot() *ModelViolation

func (*ModelViolationBuilder) Init

func (b *ModelViolationBuilder) Init(allocator ...TableAllocator) bool

func (*ModelViolationBuilder) Lock

func (b *ModelViolationBuilder) Lock() bool

func (*ModelViolationBuilder) PackMeasure

func (b *ModelViolationBuilder) PackMeasure() int64

func (*ModelViolationBuilder) PackMeasureReason

func (b *ModelViolationBuilder) PackMeasureReason() (int64, error)

func (*ModelViolationBuilder) Region

func (b *ModelViolationBuilder) Region() []byte

func (*ModelViolationBuilder) Shutdown

func (b *ModelViolationBuilder) Shutdown()

type ModelViolationCook

type ModelViolationCook struct {
	Region       unsafe.Pointer // the DATA part's base: the root sits at offset zero
	RegionLength int64          // data_length, as the header framed it
}

ModelViolationCook is ModelViolation's cook: a pointer and a length, and then the root where it lies. Opening one is a HEADER MATCH and no copy; a reference is one add (mas-bandwidth/schema docs/SPEC-TABLES.md §7).

`Cook` is a CLAIMED suffix (§11). C++ spells the same claimed verbs as free functions — ModelViolationOpen, ModelViolationAt — and so does Go, because Go has free functions; what is a MEMBER here is only what §11 leaves a language free to make one.

THE MEMORY IS THE CONSUMER'S. Nothing here allocates, nothing here copies and nothing here pins: the region must stay put and stay aligned for as long as this handle or anything reached through it is used.

func (*ModelViolationCook) Open

func (cook *ModelViolationCook) Open(base unsafe.Pointer, length int64) error

Open checks the header in SPEC §7 order, bytewise until base alignment is established. A successful match points at the region and allocates nothing.

func (ModelViolationCook) RegionAlignment

func (c ModelViolationCook) RegionAlignment() int64

§7.1's constants, so a consumer reading this file has the facts and not a description of them. They are METHODS because §11 leaves a language whose accessors are members free to spell them that way, and a package constant per table per fact would claim names §11 does not.

func (ModelViolationCook) Root

Root is the root record at the region's base. It is a POINTER and not a copy: a cooked graph is walked by adding deltas to slot addresses.

func (ModelViolationCook) RootAlign

func (c ModelViolationCook) RootAlign() int64

func (ModelViolationCook) RootSize

func (c ModelViolationCook) RootSize() int64

func (ModelViolationCook) Type

Type is ModelViolation's cooked-record descriptor, the head of the graph a reflective walk follows (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type ModelViolationRow

type ModelViolationRow struct {
	Kind int64 // *: signed self-relative delta, zero is null (§6.3)
	Name int64 // *: signed self-relative delta, zero is null (§6.3)
}

ModelViolationRow — a cooked record. `Row` is a CLAIMED suffix (mas-bandwidth/schema docs/SPEC-TABLES.md §11), so no declaration in the unit can take it.

func ModelOutcomeViolationsAdd

func ModelOutcomeViolationsAdd(worker *TableWorker, holder *TableList[ModelViolationRow]) *ModelViolationRow

func ModelViolationAt

func ModelViolationAt(slot *int64, arena ...*TableArena) *ModelViolationRow

ModelViolationAt dereferences a reference, and it is the same call in a locked region and an opened cook because they are the same encoding (§6.3): the slot is eight bytes, SIGNED, self-relative from the SLOT'S OWN ADDRESS, so a deref needs no base pointer and no bounds test, and NULL IS A DELTA OF ZERO. Nothing about this call is the cook's: it is what a region reference is, and a cook is a region written verbatim.

It takes the SLOT and not its value, because a self-relative delta means nothing without the address it is relative to.

type TableAllocator

type TableAllocator struct {
	Alloc func(int64) []byte
	Free  func([]byte)
}

TableAllocator owns authoring and temporary writer storage. Both callbacks are required together; an empty pair uses Go-owned storage. Alloc supplies zeroed bytes aligned to tableRegionAlign and may return more than requested. Free always receives the original slice, with its original length and base. Load and LoadMeasure use caller buffers and never call this pair.

type TableArena

type TableArena struct {
	Allocator TableAllocator
	Locked    bool
	// contains filtered or unexported fields
}

func (*TableArena) At

func (a *TableArena) At(ref TableRef) unsafe.Pointer

func (*TableArena) Init

func (a *TableArena) Init(allocator ...TableAllocator) bool

func (*TableArena) Shutdown

func (a *TableArena) Shutdown()

type TableBitReader

type TableBitReader struct {
	Buffer []byte
	Offset int64
}

func (*TableBitReader) Align

func (r *TableBitReader) Align() bool

func (*TableBitReader) Get

func (r *TableBitReader) Get(n int64) (uint64, bool)

func (*TableBitReader) Skip

func (r *TableBitReader) Skip(n int64) bool

type TableBitWriter

type TableBitWriter struct {
	Buffer              []byte
	Bits                int64
	Measuring, Overflow bool
}

TableBitWriter uses the packet wire's low-bit-first order. Measuring walks the identical stream, including alignment, without touching a buffer.

func (*TableBitWriter) Align

func (w *TableBitWriter) Align()

func (*TableBitWriter) Put

func (w *TableBitWriter) Put(value uint64, n int64)

func (*TableBitWriter) Raw

func (w *TableBitWriter) Raw(data []byte)

type TableBlob

type TableBlob struct {
	Length uint32
	Zero   uint32
}

Blob ABI follows the established tool and C++ byte contract: u32 length, u32 zero. SPEC-TABLES §7.2 currently labels this u64; the big-endian fixtures distinguish them.

func TableBlobAt

func TableBlobAt(slot *TableRef, arena ...*TableArena) *TableBlob

type TableBuildVersionMismatch

type TableBuildVersionMismatch struct{ Peer, Own uint64 }

TableBuildVersionMismatch is the typed error a strict announcement refusal reports (mas-bandwidth/schema docs/SPEC-TABLES.md §3.3): the peer's build version and the reader's own, each a 64-bit number.

func (TableBuildVersionMismatch) Error

type TableByteOrder

type TableByteOrder uint8

TableByteOrder selects the target order, independently of the writing host.

const (
	TableByteOrderLittle TableByteOrder = 1
	TableByteOrderBig    TableByteOrder = 2
)

type TableBytesView

type TableBytesView struct {
	Data   []byte
	Length int64
}

TableBytesView borrows its backing region or arena. Keep that storage alive and do not free, reuse, or shut it down while using the view.

func TableBytesAt

func TableBytesAt(slot *TableRef, arena ...*TableArena) TableBytesView

type TableCookFieldInfo

type TableCookFieldInfo struct {
	Name          string
	Offset        int32 // the field's offset in the record this descriptor describes
	Size          int32 // its whole storage there, companions included
	ElemSize      int32 // one element's size, for an array; the field's own otherwise
	IsArray       bool
	ArrayBound    int32 // the DECLARED bound: a counted array's N, a string's or bytes' length
	IsPointer     bool  // an eight-byte SIGNED SELF-RELATIVE delta slot (§6.3)
	CountOffset   int32 // the count companion's offset, or -1 when the field has none
	PresentOffset int32 // an optional's presence bool, or -1
	Storage       TableCookStorage
	// Record is the record this field NAMES, behind a function so the table
	// stays constructible in any order — Go refuses an initialisation cycle
	// among package-level variables, and the DESCRIPTOR graph is cyclic by
	// design: a record's field column can name its own record. A cooked REGION
	// is never cyclic; schema cook refuses one by name (§3.1).
	// nil when the field is a scalar. Following it is how a walker DESCENDS: a
	// pointer's target, a by-value nesting, and an array's element are all
	// reached through this one column.
	Record func() *TableCookInfo
}

TableCookFieldInfo is one record's field as DATA — the mechanism behind a reflective read of a cooked region, and what a gate walks a whole graph with. A field carries the facts a region actually has: where it sits, how big it is, whether it is a POINTER EDGE, the bound its COUNT COMPANION is checked against, and the record it names.

type TableCookInfo

type TableCookInfo struct {
	Name      string
	Size      int32
	Align     int32
	NumFields int32
	Fields    []TableCookFieldInfo
}

TableCookInfo is one cooked record's layout as DATA.

type TableCookStorage

type TableCookStorage uint8

TableCookStorage is what a cooked SLOT holds, which is not always what the WIRE carries: an ENUM slot holds the ORDINAL at the enum's own derived storage width (mas-bandwidth/schema docs/SPEC-TABLES.md §7.2), where the wire rides the variant-name hash. A walker reads a slot with the width ElemSize gives and the signedness this names.

Its members are FLAT package-level constants, which is what Go already does with every enum a schema declares (SPEC.md §6.1's Go column) — so all eight spellings are claimed in mas-bandwidth/schema internal/tablenames, exactly as a declared enum's variants are claimed by the checker. C# spells the same vocabulary as one scoped enum and claims one name; the port does not get to have it both ways, and the flat form is the one a Go consumer expects to write.

const (
	TableCookStorageRecord    TableCookStorage = iota // a nested record, or an array of them: descend through it
	TableCookStorageReference                         // an eight-byte SIGNED SELF-RELATIVE delta slot (§6.3)
	TableCookStorageBool
	TableCookStorageSigned
	TableCookStorageUnsigned // an unsigned integer, an enum ordinal, a bits(N), a flags mask
	TableCookStorageFloat
	TableCookStorageString // char[N + 1] with an int32 used length beside it
	TableCookStorageBytes  // uint8[N] with an int32 used length beside it
)

type TableExtentCarve

type TableExtentCarve struct {
	Base      unsafe.Pointer
	At, Limit int64
	Worker    *TableWorker
	Refused   bool
}

func (*TableExtentCarve) Alloc

func (c *TableExtentCarve) Alloc(n, align int64) unsafe.Pointer

type TableFieldInfo

type TableFieldInfo struct {
	CookOffset, CookElemSize, CookCountOffset, CookPresentOffset uint32
	List, Map                                                    bool // unbounded by-value containers
	ElemAlign                                                    uint32
	Name                                                         string // schema field name, e.g. "health"
	Json                                                         string // the TEXT form's key: the json = "key" attribute, else Name (§16.3)
	TypeName                                                     string // schema element type, e.g. "float32", "Grade"
	DeclaredTypeName                                             string // complete schema spelling including arrays, bounds and pointers
	Id                                                           uint64 // table-wire field id (name hash; the was alias's hash after a rename)
	Pointer                                                      bool
	TargetId                                                     uint64
	Kind                                                         uint8 // table-wire kind; for arrays/strings/bytes, the ELEMENT kind
	IsArray                                                      bool  // fixed or counted array (bytes included)
	Counted                                                      bool  // a <Name>Count/<Name>Length int32 companion exists
	Optional                                                     bool  // a ?T field: a <Name>Present bool decides whether it rides

	ArrayBound    int32  // array capacity / string max length; 0 for plain scalars
	Offset        uint32 // unsafe.Offsetof the storage member
	ElemSize      uint32 // unsafe.Sizeof the member (element size for arrays)
	CountOffset   uint32 // unsafe.Offsetof the count/length companion, or 0xffffffff
	PresentOffset uint32 // unsafe.Offsetof the Present companion, or 0xffffffff

	FracBits         uint8 // fixed-point binary scale
	WideRange        bool
	WideMin, WideMax [2]uint64 // exact two-complement raw bounds, low lane first
	HasRange         bool      // a declared [min, max] (int or float)
	RangeMin         float64   // NOTE: int64 ranges beyond 2^53 lose precision here
	RangeMax         float64

	// EnumMax bounds the vocabulary: enums, the highest valid value (None = 0
	// is always valid); unions, the arm count (tag range [0, EnumMax]); a
	// FLAGS field, the highest declared BIT INDEX; else -1.
	EnumMax int64
	// EnumName is the vocabulary's names, indexed the way EnumMax bounds: an
	// enum's value -> name, a union's tag -> arm name, a FLAGS field's bit
	// index -> variant name. nil for every other kind.
	EnumName func(value uint64) string
	// VariantId is the TABLE-WIRE id of one variant (mas-bandwidth/schema docs/SPEC-TABLES.md §5): for
	// an enum, the hash of the variant's name; for a union, the hash of the
	// arm's name. Hash zero is an ordinary id; ordinal zero is None. nil
	// for every other kind — a FLAGS field's variants have no per-variant wire
	// id (§4), so a nil here beside a non-nil EnumName is what says "flags".
	VariantId func(value uint64) uint64

	// an ENUM-KEYED array (mas-bandwidth/schema docs/SPEC-TABLES.md §2.4, §8): the array has one slot
	// per variant of KeyTypeName, indexed by the variant's value, and its
	// slots ride under variant ids rather than positions. KeyName and KeyId
	// are the key's vocabulary — walk [0, ArrayBound) to print slots by name.
	// All three are nil/"" on every other field.
	KeyTypeName string
	KeyName     func(value uint64) string
	KeyId       func(value uint64) uint64

	// Arms is a union field's shape: the tag and the arms indexed by it, behind
	// a function so a descriptor graph needs no initialization order. nil for
	// every other kind.
	Arms func() *TableUnionInfo

	Guard string // branch guard, e.g. "at_rest" or "!at_rest"; "" if unguarded

	// Table is the nested table's descriptor, or nil. Held as a factory rather
	// than a value so a descriptor graph needs no initialization order: Go
	// refuses an initialization cycle across package-level variables, and a
	// table may name one declared later.
	Table func() *TableTypeInfo

	// what a PERSON wrote about the field (mas-bandwidth/schema docs/SPEC-TABLES.md §8.1): the ///
	// block above it, verbatim (SPEC §4.1). It is TableDocNone when there is
	// none, never nil. Its tags (SPEC §4.2) follow in declared order, and an
	// untagged field is 0 beside a nil list. Static package data, allocating
	// nothing.
	Doc     string
	NumTags int32
	Tags    []string
}

TableFieldInfo is one field's descriptor.

type TableFixedDst

type TableFixedDst struct {
	Dst, Stride, Aux   uint32
	Counted, Arg, Meta uint8
}

type TableFixedEntry

type TableFixedEntry struct {
	Src, Dst, Size, Aux, Guard uint32
	// Arg IS THE GUARD'S ORDINAL AT FULL WIDTH (mas-bandwidth/schema docs/FIXED-FORM-ALGORITHM.md
	// §4.1: arg : u64, "no byte lane anywhere"): a union past 255 arms or an
	// enum past 65535 variants holds its ordinal whole in this lane, and the
	// compare is made against the 64-bit tag load, never a truncation of it.
	Arg uint64
	// Guard2 / Arg2 / ArgW2 ARE THE OUTER TAG AN ARM INSIDE AN ARM ALSO ANSWERS
	// TO (mas-bandwidth/schema docs/FIXED-FORM-ALGORITHM.md §4.1): the entry runs only when BOTH tags
	// hold their ordinal. ArgW2 of zero is "no outer tag", so a plan that never
	// nests a union leaves the lane unset and the read is unchanged.
	Guard2 uint32
	Arg2   uint64
	// GuardIndex / GuardCount ARE THE GUARD CHAIN (mas-bandwidth/schema docs/FIXED-FORM-ALGORITHM.md
	// §4.1): offset+count into a pool of (guard, arg, argw) links, OUTERMOST
	// FIRST. GuardIndex is a BYTE OFFSET from the plan's own base, where the pool
	// is laid behind the entries the way the ordinal remap tables are, so the
	// plan stays one slice and the read loop one signature. Every guarded entry
	// carries its whole chain; the two lanes above stay its innermost two, the
	// special case, so the loop walks the pool only for a chain past two. The
	// only bound on a chain is the layout's 64 (tableFixedMaxDepth).
	GuardIndex, GuardCount               uint32
	Op, ArgW, DstSize, Sign, Meta, ArgW2 uint8
}

Arg is the guard's arm ordinal: tableFixedRun compares src[Guard] against it. Meta is a text entry's flavour (tableFixedTextUtf8/Wide/Bytes). They shared one lane until reference-fix 12; compiling a string under a union arm overwrote the guard with the flavour and the read skipped the string. tableFixedEntryBytes is the FILE layout entry (id+kind+size+children), not this in-memory plan row — Meta does not ride the wire. ArgW IS THE GUARD'S WIDTH IN BYTES (§5.2 THE GUARD'S WIDTH): a union tag is one, two, four or eight bytes, clamped 1..8, and 0 reads as 1. The guard is tested at that FULL width and never at its first byte — a foreign two-byte tag 0x0101 is not arm 1. Arg is the arm ordinal and carries NO BYTE LANE (§5.8 row 5): a 256-arm union's ordinal does not fit a byte.

type TableFixedGuardLink struct {
	Guard uint32
	Arg   uint64
	ArgW  uint8
}

TableFixedGuardLink is ONE LINK of a guard chain (mas-bandwidth/schema docs/FIXED-FORM-ALGORITHM.md §4.1): the offset of the tag it reads, the ordinal the tag must hold, and the width it is compared at. A chain is a CONJUNCTION — every link must hold.

type TableFixedKnownLayout

type TableFixedKnownLayout struct {
	Hash        uint64
	Layout      []byte
	LayoutBytes int
	Record      int64
}

TableFixedKnownLayout is one locked layout: the wire hash a file is matched on, the layout bytes verbatim with its byte length BESIDE the pointer, and the RECORD SIZE taken from the lock and never from the file. The members are §5.9 #19's: hash, layout, layout_bytes, record_bytes, in that order.

type TableIds

type TableIds struct {
	Numbering *TableNumbering
	Values    [tableIdCapacity]uint64

	Count    int
	Overflow bool
	// contains filtered or unexported fields
}

TableIds interns the writer's ids in first-use order. Bucket links are one-based so its zero value is ready to use, including for hash zero.

func (*TableIds) Ref

func (ids *TableIds) Ref(id uint64) uint64

func (*TableIds) RefAt

func (ids *TableIds) RefAt(ordinal int, id uint64) uint64

RefAt is Ref for a compile-time-constant id. The ordinal is that id's index in TableWireIds. A hit is one load and one compare; first-use order is still append order. Truncate clears the ordinal in O(popped) so a speculative intern does not leak into the next walk. An ordinal outside the slot range falls back to Ref; it does not index slot.

func (*TableIds) Truncate

func (ids *TableIds) Truncate(mark int)

Truncate removes speculative ids when a measured field elides, or before writing the payload whose size was just measured under the same vocabulary.

type TableList

type TableList[T any] struct {
	Ref   int64
	Count int32
	// contains filtered or unexported fields
}

func (*TableList[T]) At

func (l *TableList[T]) At(index int32, arena ...*TableArena) *T

func (*TableList[T]) Clear

func (l *TableList[T]) Clear()

type TableMap

type TableMap[T any] struct {
	Ref   int64
	Count int32
	// contains filtered or unexported fields
}

func (*TableMap[T]) At

func (m *TableMap[T]) At(index int32, arena ...*TableArena) *T

func (*TableMap[T]) Clear

func (m *TableMap[T]) Clear()

type TableMapIndex

type TableMapIndex struct {
	// contains filtered or unexported fields
}

type TableMessageEntry

type TableMessageEntry struct {
	Id             uint64
	Shape, Element TableMessageShape
}

type TableMessageReader

type TableMessageReader struct {
	Nodes      TableNodeMap
	Bits       TableBitReader
	Vocabulary *TableVocabulary
	Report     TableReport
	IndexBits  int64
}

type TableMessageShape

type TableMessageShape struct {
	Kind, Packing uint8
	Bits          int64
	Base          [2]uint64
	Min, Max      int64
	QMin, QDelta  float32
	QCount        uint32
}

type TableMessageWriter

type TableMessageWriter struct {
	TableBitWriter
	IndexBits int64
	Clamped   int32
	Numbering *TableNumbering
	// contains filtered or unexported fields
}

type TableMissingRequired

type TableMissingRequired struct{ Fields string }

TableMissingRequired is the typed error a strict read reports for a record that lacks a | required field (mas-bandwidth/schema docs/SPEC-TABLES.md §2.3): Fields names the missing fields, comma-separated in declaration order, at whatever depth of the record they were missing, and Error() is the report's own reason.

func (TableMissingRequired) Error

func (m TableMissingRequired) Error() string

type TableNodeDirEntry

type TableNodeDirEntry struct{ Offset, TypeId uint64 }

type TableNodeMap

type TableNodeMap struct {
	Carve   TableExtentCarve
	Base    unsafe.Pointer
	Entries []TableNodeDirEntry
	Good    bool
	Arena   bool
}

func (TableNodeMap) Resolve

func (m TableNodeMap) Resolve(slot *TableRef, index, target uint64, r *TableReport)

type TableNumbering

type TableNumbering struct {
	// contains filtered or unexported fields
}

The root and arena keep the source storage live while pointer-free backing allocations hold the index and entries. Temporary storage is released by caller.

func (*TableNumbering) Index

func (n *TableNumbering) Index(slot *TableRef) (uint64, bool)

func (*TableNumbering) Release

func (n *TableNumbering) Release()

type TableOpenVerdict

type TableOpenVerdict uint8

TableOpenVerdict distinguishes an unsupported form from framing damage.

const (
	TableOpenOk TableOpenVerdict = iota
	TableOpenRefused
	TableOpenDamaged
	TableOpenBodyStopped
)

type TableReader

type TableReader struct {
	Nodes  TableNodeMap
	Buffer []byte
	Offset int64
	Report *TableReport
	Ids    []byte
	Nested bool
}

TableReader holds one bounded body and a view of the file's id trailer. Sub-readers share the trailer and report, but cannot consume sibling bytes.

func (*TableReader) Body

func (r *TableReader) Body() (TableReader, bool)

func (TableReader) EndsEarly

func (r TableReader) EndsEarly() bool

EndsEarly only recognizes an otherwise walkable body's early terminator. Other damage is decoded normally, preserving the prefix already read.

func (*TableReader) Get8

func (r *TableReader) Get8() uint8

func (*TableReader) Get16

func (r *TableReader) Get16() uint16

func (*TableReader) Get32

func (r *TableReader) Get32() uint32

func (*TableReader) Get64

func (r *TableReader) Get64() uint64

func (*TableReader) Has

func (r *TableReader) Has(n int64) bool

func (*TableReader) Leb

func (r *TableReader) Leb() (uint64, bool)

A rejected integer leaves the cursor unchanged. Its spelling must be minimal and fit in 64 bits, including the tenth byte's single value bit.

func (*TableReader) Resolve

func (r *TableReader) Resolve(ref uint64) (uint64, bool)

func (*TableReader) Room

func (r *TableReader) Room(n uint64) bool

func (*TableReader) Signed

func (r *TableReader) Signed(kind uint8) int64

func (*TableReader) Skip

func (r *TableReader) Skip(kind uint8) bool

func (*TableReader) Sub

func (r *TableReader) Sub(n int64) TableReader

func (*TableReader) Take

func (r *TableReader) Take(sub TableReader)

func (*TableReader) Unsigned

func (r *TableReader) Unsigned(kind uint8) uint64

type TableRef

type TableRef = int64

type TableRefuseReason

type TableRefuseReason uint8

TableRefuseReason is the typed error shared by file and accelerator failures. A successful call returns nil; a failure returns its first failing clause.

const (
	TableRefuseOk TableRefuseReason = iota
	TableRefuseNotACook
	TableRefuseForeignOrder
	TableRefuseWrongBuildVersion
	TableRefuseReservedNotZero
	TableRefuseBadAlignment
	TableRefuseTruncated
	TableRefuseUnalignedBase
	TableRefuseBadLayout
	TableRefuseUnknownForm
	TableRefuseCountOverLength
	TableRefuseCountOverExtentCap
	TableRefuseBlobOverSizeCap
	TableRefuseDataCycle
	TableRefuseInvalidValue
	TableRefuseAllocationFailed
	TableRefuseWireDamaged
	TableRefuseMalformed
	TableRefuseClamped
	TableRefuseKindMismatch
	TableRefuseBase64Damaged
)

func (TableRefuseReason) Error

func (r TableRefuseReason) Error() string

type TableReport

type TableReport struct {
	Retained, RetainLost int32
	Verdict              TableOpenVerdict // unsupported form is distinct from damage
	Reason               string           // why the form was refused; empty for a file read
	Widened              int32            // a compatible wider kind preserved the value
	Unknown              int32            // unknown field ids skipped (newer data)
	KindMismatch         int32            // known id, changed type — skipped, never misdecoded
	Clamped              int32            // out-of-range values clamped to declared bounds
	// Duplicate counts repeated text keys. Fixed-class wire fields do not raise it.
	// A body carrying an id twice is legal input
	// whose last occurrence wins, silently. A wire read always leaves it zero.
	Duplicate int32
	// MissingRequired counts required fields (mas-bandwidth/schema docs/SPEC-TABLES.md §2.3) the
	// record did not carry: a record an older writer produced before the field
	// became required. The refusal names the field in Reason.
	MissingRequired int32
	Malformed       bool // framing damage; decode stopped, partial result kept
	// BuildVersionPeer and BuildVersionOwn are the two build versions a strict
	// announcement refusal carries (mas-bandwidth/schema docs/SPEC-TABLES.md §3.3): the peer's
	// announcement and this unit's own. They are zero on every other read.
	BuildVersionPeer uint64
	BuildVersionOwn  uint64
	// LayoutHash is THE FILE'S hash, and it is set by ONE refusal:
	// layout_newer reports it "AND NOTHING ELSE" (§5.3). layout_unsupported
	// reports it too — the operator's other answer, a layout this build served
	// and has retired.
	LayoutHash uint64
}

TableReport is the table-wire read report — the permissive contract's ledger. Silence (all zero) means the data matched this reader's schema exactly. Err (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5) is the STRICT read's typed reason for malformed, clamped, kind-mismatched, unknown form, wire-damaged and build-version-mismatched. Unknown, Widened and Retained alone are not one.

func (*TableReport) Err

func (r *TableReport) Err() error

Err is the report's typed error (mas-bandwidth/schema docs/SPEC-TABLES.md §6.5, mas-bandwidth/schema docs/VERSIONING.md The read report). A strict read refuses malformed, clamped, kind-mismatched, unknown form, wire-damaged, build-version-mismatched and missing-required (§2.3, naming the field), each as one typed reason. Unknown, Widened and Retained alone leave it nil, as does a clean read.

type TableRetain

type TableRetain struct {
	Bytes []byte
	Ids   []TableRetainId
	Used  int64
	Count int
	// contains filtered or unexported fields
}

type TableRetainId

type TableRetainId struct {
	Id   uint64
	Slot int
}

type TableRetainIds

type TableRetainIds struct {
	Numbering      *TableNumbering
	Retain         *TableRetain
	Path           tableRetainPath
	Count          int
	Overflow, Lost bool
	// contains filtered or unexported fields
}

func (*TableRetainIds) Ref

func (i *TableRetainIds) Ref(id uint64) uint64

func (*TableRetainIds) RefAt

func (i *TableRetainIds) RefAt(ordinal int, id uint64) uint64

func (*TableRetainIds) Truncate

func (i *TableRetainIds) Truncate(mark int)

type TableRetainMessageReader

type TableRetainMessageReader struct {
	Retain *TableRetain
	Path   tableRetainPath
	// contains filtered or unexported fields
}

type TableRetainReader

type TableRetainReader struct {
	Retain *TableRetain
	Path   tableRetainPath
	// contains filtered or unexported fields
}

func (*TableRetainReader) Body

func (*TableRetainReader) Take

func (r *TableRetainReader) Take(sub TableRetainReader)

type TableRetainWriter

type TableRetainWriter struct {
	Buffer    []byte
	Offset    int64
	Overflow  bool
	Measuring bool
	Ids       *TableRetainIds
}

func (*TableRetainWriter) Advance

func (w *TableRetainWriter) Advance(n int64) bool

func (*TableRetainWriter) Header

func (w *TableRetainWriter) Header(ref uint64, kind uint8)

Header writes a field's reference and kind. A reference below 128 is one LEB byte, so the pair is one two-byte store. Larger references still go through PutLeb then Put8. Bytes match that two-call spelling; a pair that does not fit now leaves the buffer alone, and Save answers -1.

func (*TableRetainWriter) Id

func (w *TableRetainWriter) Id(id uint64)

func (*TableRetainWriter) IdAt

func (w *TableRetainWriter) IdAt(ordinal int, id uint64)

func (*TableRetainWriter) Put8

func (w *TableRetainWriter) Put8(v uint8)

func (*TableRetainWriter) Put16

func (w *TableRetainWriter) Put16(v uint16)

func (*TableRetainWriter) Put32

func (w *TableRetainWriter) Put32(v uint32)

func (*TableRetainWriter) Put64

func (w *TableRetainWriter) Put64(v uint64)

func (*TableRetainWriter) Put128

func (w *TableRetainWriter) Put128(lo, hi uint64)

Put128 writes two little-endian lanes, low first, under one Advance.

func (*TableRetainWriter) PutLeb

func (w *TableRetainWriter) PutLeb(v uint64)

func (*TableRetainWriter) Raw

func (w *TableRetainWriter) Raw(data []byte)

func (*TableRetainWriter) Trailer

func (w *TableRetainWriter) Trailer()

type TableStringView

type TableStringView struct {
	Data   []byte
	Length int64
}

TableStringView has the same borrowed lifetime as TableBytesView.

func TableStringAt

func TableStringAt(slot *TableRef, arena ...*TableArena) TableStringView

type TableTimestampError

type TableTimestampError struct {
	Field string
	Time  time.Time
}

TableTimestampError is the refusal of a time.Time that no count names: its nanoseconds since the Unix epoch do not fit an int64, which is Time.UnixNano's own domain, the years 1678 through 2262 (mas-bandwidth/schema docs/SPEC-TABLES.md §2.11).

func (TableTimestampError) Error

func (e TableTimestampError) Error() string

type TableTypeInfo

type TableTypeInfo struct {
	SaveBodyRetain        func(*TableRetainWriter, unsafe.Pointer) bool
	LoadBodyRetain        func(TableRetainReader, unsafe.Pointer) bool
	LoadMessageBodyRetain func(TableRetainMessageReader, unsafe.Pointer) (TableRetainMessageReader, bool)
	CookSize, CookAlign   uint32
	Name                  string // schema type name
	Size                  uint32 // unsafe.Sizeof the storage struct
	Id                    uint64
	Variable              bool
	NodeType              func(uint64) *TableTypeInfo
	SaveBody              func(*TableWriter, unsafe.Pointer) bool
	LoadBody              func(TableReader, unsafe.Pointer) bool
	SaveMessageBody       func(*TableMessageWriter, unsafe.Pointer) bool
	LoadMessageBody       func(TableMessageReader, unsafe.Pointer) (TableMessageReader, bool)
	NumFields             int32
	Fields                []TableFieldInfo
	// Reset puts one instance back at its declared defaults, in place. A
	// generic walker that fills a value has to be able to establish the
	// defaults an absent field takes, and it holds no type to spell — this is
	// the one thing the descriptors could not express without it.
	Reset func(storage unsafe.Pointer)

	// the declaration's own doc and tags, on the same terms as a field's
	// (mas-bandwidth/schema docs/SPEC-TABLES.md §8.1, SPEC §4.1, §4.2)
	Doc     string
	NumTags int32
	Tags    []string
}

TableTypeInfo is one type's descriptor.

var ConvergeStateTableInfo TableTypeInfo

ConvergeStateTableInfo is ConvergeState's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ConvergeStreamEntryTableInfo TableTypeInfo

ConvergeStreamEntryTableInfo is ConvergeStreamEntry's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelActionTableInfo TableTypeInfo

ModelActionTableInfo is ModelAction's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelArgTableInfo TableTypeInfo

ModelArgTableInfo is ModelArg's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelBindTableInfo TableTypeInfo

ModelBindTableInfo is ModelBind's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelCellTableInfo TableTypeInfo

ModelCellTableInfo is ModelCell's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelDatumTableInfo TableTypeInfo

ModelDatumTableInfo is ModelDatum's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelDetailTableInfo TableTypeInfo

ModelDetailTableInfo is ModelDetail's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelEventFieldTableInfo TableTypeInfo

ModelEventFieldTableInfo is ModelEventField's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelEventTableInfo TableTypeInfo

ModelEventTableInfo is ModelEvent's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelFindingTableInfo TableTypeInfo

ModelFindingTableInfo is ModelFinding's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelHashTableInfo TableTypeInfo

ModelHashTableInfo is ModelHash's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelLocationTableInfo TableTypeInfo

ModelLocationTableInfo is ModelLocation's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelOutcomeTableInfo TableTypeInfo

ModelOutcomeTableInfo is ModelOutcome's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelPhysTableInfo TableTypeInfo

ModelPhysTableInfo is ModelPhys's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelPlacementTableInfo TableTypeInfo

ModelPlacementTableInfo is ModelPlacement's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelReplayEventTableInfo TableTypeInfo

ModelReplayEventTableInfo is ModelReplayEvent's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelRowAtTableInfo TableTypeInfo

ModelRowAtTableInfo is ModelRowAt's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelSeenTableInfo TableTypeInfo

ModelSeenTableInfo is ModelSeen's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelStateTableInfo TableTypeInfo

ModelStateTableInfo is ModelState's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelStepResultTableInfo TableTypeInfo

ModelStepResultTableInfo is ModelStepResult's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelStepTableInfo TableTypeInfo

ModelStepTableInfo is ModelStep's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelTraceStepTableInfo TableTypeInfo

ModelTraceStepTableInfo is ModelTraceStep's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelTraceTableInfo TableTypeInfo

ModelTraceTableInfo is ModelTrace's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

var ModelViolationTableInfo TableTypeInfo

ModelViolationTableInfo is ModelViolation's reflection descriptor (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

func ConvergeStateTableType

func ConvergeStateTableType() *TableTypeInfo

ConvergeStateTableType returns ConvergeState's reflection descriptor.

func ConvergeStreamEntryTableType

func ConvergeStreamEntryTableType() *TableTypeInfo

ConvergeStreamEntryTableType returns ConvergeStreamEntry's reflection descriptor.

func ModelActionTableType

func ModelActionTableType() *TableTypeInfo

ModelActionTableType returns ModelAction's reflection descriptor.

func ModelArgTableType

func ModelArgTableType() *TableTypeInfo

ModelArgTableType returns ModelArg's reflection descriptor.

func ModelBindTableType

func ModelBindTableType() *TableTypeInfo

ModelBindTableType returns ModelBind's reflection descriptor.

func ModelCellTableType

func ModelCellTableType() *TableTypeInfo

ModelCellTableType returns ModelCell's reflection descriptor.

func ModelDatumTableType

func ModelDatumTableType() *TableTypeInfo

ModelDatumTableType returns ModelDatum's reflection descriptor.

func ModelDetailTableType

func ModelDetailTableType() *TableTypeInfo

ModelDetailTableType returns ModelDetail's reflection descriptor.

func ModelEventFieldTableType

func ModelEventFieldTableType() *TableTypeInfo

ModelEventFieldTableType returns ModelEventField's reflection descriptor.

func ModelEventTableType

func ModelEventTableType() *TableTypeInfo

ModelEventTableType returns ModelEvent's reflection descriptor.

func ModelFindingTableType

func ModelFindingTableType() *TableTypeInfo

ModelFindingTableType returns ModelFinding's reflection descriptor.

func ModelHashTableType

func ModelHashTableType() *TableTypeInfo

ModelHashTableType returns ModelHash's reflection descriptor.

func ModelLocationTableType

func ModelLocationTableType() *TableTypeInfo

ModelLocationTableType returns ModelLocation's reflection descriptor.

func ModelOutcomeTableType

func ModelOutcomeTableType() *TableTypeInfo

ModelOutcomeTableType returns ModelOutcome's reflection descriptor.

func ModelPhysTableType

func ModelPhysTableType() *TableTypeInfo

ModelPhysTableType returns ModelPhys's reflection descriptor.

func ModelPlacementTableType

func ModelPlacementTableType() *TableTypeInfo

ModelPlacementTableType returns ModelPlacement's reflection descriptor.

func ModelReplayEventTableType

func ModelReplayEventTableType() *TableTypeInfo

ModelReplayEventTableType returns ModelReplayEvent's reflection descriptor.

func ModelRowAtTableType

func ModelRowAtTableType() *TableTypeInfo

ModelRowAtTableType returns ModelRowAt's reflection descriptor.

func ModelSeenTableType

func ModelSeenTableType() *TableTypeInfo

ModelSeenTableType returns ModelSeen's reflection descriptor.

func ModelStateTableType

func ModelStateTableType() *TableTypeInfo

ModelStateTableType returns ModelState's reflection descriptor.

func ModelStepResultTableType

func ModelStepResultTableType() *TableTypeInfo

ModelStepResultTableType returns ModelStepResult's reflection descriptor.

func ModelStepTableType

func ModelStepTableType() *TableTypeInfo

ModelStepTableType returns ModelStep's reflection descriptor.

func ModelTraceStepTableType

func ModelTraceStepTableType() *TableTypeInfo

ModelTraceStepTableType returns ModelTraceStep's reflection descriptor.

func ModelTraceTableType

func ModelTraceTableType() *TableTypeInfo

ModelTraceTableType returns ModelTrace's reflection descriptor.

func ModelViolationTableType

func ModelViolationTableType() *TableTypeInfo

ModelViolationTableType returns ModelViolation's reflection descriptor.

type TableUnionArmInfo

type TableUnionArmInfo struct {
	Field  TableFieldInfo               // arm shape; offsets are relative to union storage
	Void   bool                         // a selected payload-free arm
	Reset  func(storage unsafe.Pointer) // establish selected payload defaults
	Offset uint32                       // unsafe.Offsetof the arm's payload within the union storage
	Table  func() *TableTypeInfo        // the arm payload's descriptor
}

TableUnionArmInfo is one arm of a union field: where its payload sits inside the union's storage and what its payload looks like. The arm's NAME and its table-wire id come from the field's EnumName/VariantId functions at the same tag, so nothing is spelled twice (mas-bandwidth/schema docs/SPEC-TABLES.md §8).

type TableUnionInfo

type TableUnionInfo struct {
	CookTagSize uint32
	TagOffset   uint32 // unsafe.Offsetof the tag within the union storage
	TagSize     uint32 // unsafe.Sizeof the tag
	Arms        []TableUnionArmInfo
}

TableUnionInfo is a union field's shape: the tag, and the arms indexed by it. Arms run [0, EnumMax]; index 0 is the EMPTY arm and carries no payload.

type TableVocabulary

type TableVocabulary struct {
	Entries            []TableMessageEntry
	Count, RefBits     int64
	BuildVersion       uint64
	Announced, Refused bool
	MaxBytes           int64
	Strict             bool
}

Storage belongs to the caller and is resolved once for one connection direction.

func (*TableVocabulary) Entry

func (v *TableVocabulary) Entry(ref uint64) (TableMessageEntry, bool)

func (*TableVocabulary) Init

func (v *TableVocabulary) Init(storage []TableMessageEntry)

func (*TableVocabulary) Name

func (v *TableVocabulary) Name(ref uint64) (uint64, bool)

type TableWorker

type TableWorker struct {
	Arena *TableArena
	// contains filtered or unexported fields
}

func (*TableWorker) Alloc

func (w *TableWorker) Alloc(n int64) (unsafe.Pointer, TableRef)

func (*TableWorker) AllocBytes

func (w *TableWorker) AllocBytes(length int64) ([]byte, TableRef)

func (*TableWorker) AllocString

func (w *TableWorker) AllocString(length int64) ([]byte, TableRef)

type TableWriteContext

type TableWriteContext interface {
	// contains filtered or unexported methods
}

TableWriteContext selects allocation independently from reference addressing. Pass a TableAllocator for a loaded/locked region, or *TableArena for authoring references and that arena's allocation pair. Omit it for Go-owned temporaries.

type TableWriter

type TableWriter struct {
	Buffer    []byte
	Offset    int64
	Overflow  bool
	Measuring bool
	Ids       *TableIds
}

TableWriter writes into the caller's buffer, or counts exactly the same bytes in Measuring mode. Offset and every length are checked before use.

func (*TableWriter) Advance

func (w *TableWriter) Advance(n int64) bool

func (*TableWriter) Header

func (w *TableWriter) Header(ref uint64, kind uint8)

Header writes a field's reference and kind. A reference below 128 is one LEB byte, so the pair is one two-byte store. Larger references still go through PutLeb then Put8. Bytes match that two-call spelling; a pair that does not fit now leaves the buffer alone, and Save answers -1.

func (*TableWriter) Id

func (w *TableWriter) Id(id uint64)

func (*TableWriter) IdAt

func (w *TableWriter) IdAt(ordinal int, id uint64)

func (*TableWriter) Put8

func (w *TableWriter) Put8(v uint8)

func (*TableWriter) Put16

func (w *TableWriter) Put16(v uint16)

func (*TableWriter) Put32

func (w *TableWriter) Put32(v uint32)

func (*TableWriter) Put64

func (w *TableWriter) Put64(v uint64)

func (*TableWriter) Put128

func (w *TableWriter) Put128(lo, hi uint64)

Put128 writes two little-endian lanes, low first, under one Advance.

func (*TableWriter) PutLeb

func (w *TableWriter) PutLeb(v uint64)

func (*TableWriter) Raw

func (w *TableWriter) Raw(data []byte)

func (*TableWriter) Trailer

func (w *TableWriter) Trailer()

type UnitViewInfo

type UnitViewInfo struct {
	Package                                                          string
	ProtocolId                                                       uint64
	NumTypes, NumTables, NumEnums, NumFlags, NumUnions, NumConstants int32
	Types, Tables                                                    []ViewType
	Enums, Flags, Unions                                             []ViewVocabulary
	Constants                                                        []ViewConstant
}

func UnitView

func UnitView() *UnitViewInfo

type ViewConstant

type ViewConstant struct {
	Name, File, TypeName string
	IsFloat              bool
	IntValue             int64
	FloatValue           float64
	Doc                  string
	NumTags              int32
	Tags                 []string
}

UnitView returns this build's registry. Treat its descriptors and slices as immutable; lookups allocate nothing. Packet-only types gain no table codec. A packet dependency can use different storage from its table Row; its descriptor follows that storage, so every offset remains valid for the value.

type ViewType

type ViewType struct {
	Name, File string
	Table      bool
	Type       *TableTypeInfo
	Doc        string
	NumTags    int32
	Tags       []string
}

type ViewVariant

type ViewVariant struct {
	Value       uint64
	Name        string
	Id          uint64
	PayloadName string
	Payload     func() *TableTypeInfo
	Field       func() *TableFieldInfo
	Doc         string
	NumTags     int32
	Tags        []string
}

type ViewVocabulary

type ViewVocabulary struct {
	Name, File               string
	Max                      int64
	StorageBits, NumVariants int32
	PayloadOffset            uint32
	Variants                 []ViewVariant
	Doc                      string
	NumTags                  int32
	Tags                     []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL