Documentation ¶
Index ¶
- Constants
- func CheckFalse(b *BoolTest) bool
- func CheckTrue(b *BoolTest) bool
- func IterateMapKeys(m map[uint64]uint64) uint64
- func IterateMapValues(m map[uint64]uint64) uint64
- type AdderType
- type ArrayEditor
- type Bar
- type BoolTest
- type Dec
- type Editor
- type Enc
- type Foo
- type Log
- type LoopStruct
- type MultipleArgsType
- type Pair
- type S
- type SquareStruct
- type StructWrap
- type TwoInts
- type Uint32
Constants ¶
View Source
const MaxTxnWrites uint64 = 10 // 10 is completely arbitrary
MaxTxnWrites is a guaranteed reservation for each transaction.
Variables ¶
This section is empty.
Functions ¶
func CheckFalse ¶
func IterateMapKeys ¶
func IterateMapValues ¶
Types ¶
type ArrayEditor ¶
type ArrayEditor struct {
// contains filtered or unexported fields
}
helpers
func (*ArrayEditor) Advance ¶
func (ae *ArrayEditor) Advance(arr []uint64, next uint64)
type Editor ¶
type Editor struct {
// contains filtered or unexported fields
}
helpers
func (*Editor) AdvanceReturn ¶
advances the array editor, and returns the value it wrote, storing "next" in next_val
type Foo ¶
type Foo struct {
// contains filtered or unexported fields
}
Foo contains a nested struct which is intended to be manipulated through a Foo pointer
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
func (Log) Apply ¶
func (l Log) Apply()
Apply all the committed transactions.
Frees all the space in the log.
func (Log) BeginTxn ¶
BeginTxn allocates space for a new transaction in the log.
Returns true if the allocation succeeded.
type LoopStruct ¶
type LoopStruct struct {
// contains filtered or unexported fields
}
based off diskAppendWait loop pattern in logging2
type MultipleArgsType ¶
type SquareStruct ¶
type SquareStruct struct {
Side uint64
}
func (SquareStruct) Square ¶
func (t SquareStruct) Square() uint64
func (SquareStruct) Volume ¶
func (t SquareStruct) Volume() uint64
type StructWrap ¶
type StructWrap struct {
// contains filtered or unexported fields
}
Source Files ¶
- allocator.go
- closures.go
- comparisons.go
- conversions.go
- copy.go
- encoding.go
- function_ordering.go
- int_conversions.go
- interfaces.go
- interfaces_failing.go
- lock.go
- loops.go
- maps.go
- multiple_return.go
- nil.go
- operations.go
- precedence.go
- prims.go
- shortcircuiting.go
- slices.go
- strings.go
- struct_pointers.go
- structs.go
- wal.go
Click to show internal directories.
Click to hide internal directories.