SharedStorageChannelTrackingModel class

A Dart model of SharedStorageChannelTracking.

Constructors

SharedStorageChannelTrackingModel(int channelId, {required int indexWidth})
Creates a channel tracking model.

Properties

bypass ↔ bool
Whether a push and pop occur together with one entry stored.
getter/setter pair
channelId → int
The channel tracked.
final
empty → bool
Whether the channel has no entries.
no setter
firstIndex ↔ int
Index at the head of this channel.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
indexWidth → int
Width of entry indices.
final
lastIndex ↔ int
Index at the tail of this channel.
getter/setter pair
nextFirstIndex ↔ int
The head index after the pending edge.
getter/setter pair
nextFirstIndexValid ↔ bool
Whether nextFirstIndex is usable.
getter/setter pair
occupancy ↔ int
Number of entries in this channel.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply() → void
Commits the edge prepared by prepare.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepare({required bool push, required int pushIndex, required bool pop, required int popReplacementIndex}) → void
Computes the combinational next-head values for a pending edge.
reset() → void
Clears all state.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited