Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dotchain/dot
/ functions
Functions
1,359 in github.com/dotchain/dot
⨍
Functions
1,359
◇
Types & classes
213
↓ 4 callers
Method
Latest
Latest returns the latest entry in the stream
stress/generated.go:74
↓ 4 callers
Method
MapIndex
MapIndex maps an index to the new location of the index after the splice. It also returns whether the item at that index has been modified by the spli
changes/splice.go:203
↓ 4 callers
Method
Merge
Merge updates the range based on the change. Note that it always returns a nil change as there are cases where there isn't sufficient information to
refs/range.go:34
↓ 4 callers
Function
NewRank
NewRank returns a new rank with current Epoch and some random bits to ensure uniqueness
changes/crdt/rank.go:39
↓ 4 callers
Method
ReverseMerge
(changes.Change)
changes/run/run_test.go:223
↓ 4 callers
Method
Revert
Revert implements Change.Revert
changes/path.go:18
↓ 4 callers
Method
Revert
Revert undoes the effect of the Run
changes/run/run.go:31
↓ 4 callers
Function
Run
Run runs the required number of rounds of test
stress/stress.go:41
↓ 4 callers
Method
SetCellValue
SetCellValue sets the rich text for a cell. It works for rows which don't have values for specific columns as well as rows where the columns have a va
x/rich/data/table.go:84
↓ 4 callers
Method
SetOverride
SetOverride update an override that is used for text insertion
x/rich/riched/stream.go:44
↓ 4 callers
Method
Splice
Splice replaces s[offset:offset+count] with the provided insert string value.
streams/s8.go:57
↓ 4 callers
Method
SpliceRows
SpliceRows splices a set of rowIDs at the provided offset, first removing the specified count of IDs.
changes/table/sparse.go:38
↓ 4 callers
Method
Update
Update inserts a new Entry wite provided Rank or updates the Rank for an existng Entry
x/heap/heap.go:52
↓ 4 callers
Method
UpdateChange
UpdateChange returns the change to apply for either inserting an item into the heap or updating its Rank.
x/heap/heap.go:30
↓ 4 callers
Function
WithSession
WithSession configures the connector to start with the provided version and pending instead of starting from scrach
ops/sync/config.go:53
↓ 4 callers
Method
WithVersion
WithVersion returns a new op with the specified version.
ops/op.go:40
↓ 4 callers
Method
WithVersion
WithVersion implements Op.WithVersion
ops/op.go:94
↓ 4 callers
Method
activeKey
()
x/dotc/testdata/myunion/generated.go:49
↓ 4 callers
Method
activeKey
()
x/dotc/testdata/myunion/generated2.go:49
↓ 4 callers
Method
apply
(ctx changes.Context, v changes.Value, c changes.Change)
changes/run/run.go:115
↓ 4 callers
Function
compare
(fn func(x, y int) bool)
x/rich/eval/callable.go:83
↓ 4 callers
Function
dropTable
()
ops/pg/pg_test.go:23
↓ 4 callers
Method
failIf
(cond bool, offset int, message string)
x/rich/eval/parser.go:218
↓ 4 callers
Function
getBranchedOps
()
ops/transformer_test.go:142
↓ 4 callers
Method
items
()
changes/crdt/seq.go:102
↓ 4 callers
Method
maxRank
()
x/dotc/testdata/myunion/generated.go:61
↓ 4 callers
Method
maxRank
()
x/dotc/testdata/myunion/generated2.go:61
↓ 4 callers
Method
mergeRef
(r Ref, c changes.Change)
refs/update.go:101
↓ 4 callers
Function
must
(err error)
ops/bolt/bolt.go:172
↓ 4 callers
Method
pullChanges
(t cType)
streams/undo/stack.go:30
↓ 4 callers
Method
push
(text string, attrs Attrs, size int)
x/rich/text.go:218
↓ 4 callers
Method
readStringValue
(r *bufio.Reader)
ops/sjson/decoder.go:271
↓ 4 callers
Method
sliceAttr
(offset, count int, name string)
x/rich/text.go:112
↓ 4 callers
Function
stream
(s ops.Store, version int, pending []ops.Op)
ops/sync/sync_test.go:162
↓ 4 callers
Function
swap
(x, y Change)
changes/changes.go:264
↓ 4 callers
Method
transformer
()
x/dotc/testdata/myunion/generated.go:166
↓ 4 callers
Method
transformer
()
x/dotc/testdata/myunion/generated2.go:166
↓ 4 callers
Method
updateSubPathIndex
(o PathChange, idx int)
changes/path.go:81
↓ 4 callers
Function
validateMerge
(t *testing.T, initial changes.Value, left, right changes.Change)
changes/convergence_test.go:13
↓ 4 callers
Function
valuesFormySlice2PStream
()
x/dotc/testdata/myslice/input_test.go:30
↓ 4 callers
Function
valuesFormySlice2Stream
()
x/dotc/testdata/myslice/input_test.go:21
↓ 4 callers
Function
valuesFormySlice3PStream
()
x/dotc/testdata/myslice/input_test.go:47
↓ 4 callers
Function
valuesFormySlice3Stream
()
x/dotc/testdata/myslice/input_test.go:37
↓ 3 callers
Method
Apply
Apply implements changes.Value
x/rich/riched/editor.go:48
↓ 3 callers
Method
Apply
Apply implements changes.Value
x/rich/data/cols.go:16
↓ 3 callers
Method
Apply
Apply implements changes.Value.
x/rich/data/blockquote.go:24
↓ 3 callers
Method
Apply
Apply implements changes.Value
x/rich/data/rows.go:16
↓ 3 callers
Method
Apply
Apply implements changes.Value
changes/crdt/seq.go:78
↓ 3 callers
Method
ClearOverrides
ClearOverrides removes any overrides if present
x/rich/riched/stream.go:54
↓ 3 callers
Method
Count
()
x/dotc/testdata/mystruct/generated3.go:117
↓ 3 callers
Method
Delete
Delete removes the value for the key.
changes/crdt/dict.go:22
↓ 3 callers
Method
Equal
Equal does a deep comparison of all attributes
x/rich/attrs.go:27
↓ 3 callers
Method
GenerateApply
GenerateApply generates the code for the changes.Value Apply() method
x/dotc/union.go:33
↓ 3 callers
Method
GenerateSetters
GenerateSetters generates the code for the field setters
x/dotc/union.go:38
↓ 3 callers
Method
GenerateStream
GenerateStream generates the stream implementation
x/dotc/unions.go:26
↓ 3 callers
Method
GenerateStreamTests
GenerateStreamTests generates the stream tests
x/dotc/unions.go:31
↓ 3 callers
Method
Increment
Increment by specified amount
streams/counter.go:60
↓ 3 callers
Method
InsertRowBefore
InsertRowBefore inserts a new row before another The row may already exist in which case it is simply moved
x/rich/data/table.go:158
↓ 3 callers
Method
IsCreate
IsCreate identifies if the change is a create
changes/replace.go:67
↓ 3 callers
Method
Latest
Latest returns the latest entry in the stream
example/generated.go:168
↓ 3 callers
Method
Latest
Latest returns the latest non-nil entry in the stream
streams/counter.go:41
↓ 3 callers
Method
Latest
Latest returns the latest non-nil entry in the stream
streams/s8.go:37
↓ 3 callers
Method
Less
Less returns true iff r < o
changes/crdt/rank.go:25
↓ 3 callers
Method
Load
Load loads the snapshot value
x/snapshot/snapshot.go:40
↓ 3 callers
Method
Merge
Merge implements the Change.Merge method
changes/splice.go:182
↓ 3 callers
Method
Merge
Merge implements Change.Merge.
changes/changes.go:180
↓ 3 callers
Method
Revert
Revert implements Change.Revert.
changes/changes.go:205
↓ 3 callers
Method
SetSelection
SetSelection updates selection state
x/rich/riched/stream.go:39
↓ 3 callers
Method
SpliceCols
SpliceCols splices a set of colIDs at the provided offset, first removing the specified count of IDs
changes/table/sparse.go:47
↓ 3 callers
Function
StartServer
Starts the stress server at the provided address. It uses /stress/ as the path to serve. The returned function can be used to shutdown the server
stress/stress.go:22
↓ 3 callers
Method
Str16
()
x/dotc/testdata/mystruct/generated.go:117
↓ 3 callers
Method
Str16
()
x/dotc/testdata/mystruct/generated2.go:117
↓ 3 callers
Method
Str16
()
x/dotc/testdata/myunion/generated.go:217
↓ 3 callers
Method
Str16
()
x/dotc/testdata/myunion/generated2.go:217
↓ 3 callers
Method
Text
()
stress/generated.go:90
↓ 3 callers
Method
ToStreamType
ToStreamType returns the name of the associated stream type
x/dotc/field.go:93
↓ 3 callers
Method
Update
Update replaces the current value with the new value
streams/s8.go:45
↓ 3 callers
Method
Value
(key interface{})
changes/changes.go:252
↓ 3 callers
Function
WithAutoTransform
WithAutoTransform specifies that the initial store yields untransformed operations and must be automatically transformed. The cache is required
ops/sync/config.go:90
↓ 3 callers
Function
WithLog
WithLog configures the logger to use
ops/sync/config.go:71
↓ 3 callers
Function
WithLogger
WithLogger updates the logger for server
server.go:36
↓ 3 callers
Function
WithNotify
WithNotify configures a callback to be called when the session state changes. In particular, this is called when the session is closed.
ops/sync/config.go:64
↓ 3 callers
Method
Write
(p []byte)
ops/sjson/sjson_test.go:226
↓ 3 callers
Method
between
(ords []string, offset, remove, count int)
changes/crdt/seq.go:82
↓ 3 callers
Method
boo
()
x/dotc/testdata/mystruct/generated3.go:108
↓ 3 callers
Method
boo
()
x/dotc/testdata/mystruct/generated.go:108
↓ 3 callers
Method
boo
()
x/dotc/testdata/mystruct/generated2.go:108
↓ 3 callers
Method
boo
()
x/dotc/testdata/myunion/generated.go:205
↓ 3 callers
Method
boo
()
x/dotc/testdata/myunion/generated2.go:205
↓ 3 callers
Method
boop
()
x/dotc/testdata/mystruct/generated3.go:111
↓ 3 callers
Method
boop
()
x/dotc/testdata/mystruct/generated.go:111
↓ 3 callers
Method
boop
()
x/dotc/testdata/mystruct/generated2.go:111
↓ 3 callers
Method
boop
()
x/dotc/testdata/myunion/generated.go:209
↓ 3 callers
Method
boop
()
x/dotc/testdata/myunion/generated2.go:209
↓ 3 callers
Function
catch
(e *error)
x/snapshot/snapshot.go:138
↓ 3 callers
Function
evalArray
(s Scope, v types.A)
x/rich/eval/eval.go:117
↓ 3 callers
Method
format
(key, format string, m map[string]string)
x/dotc/field.go:51
↓ 3 callers
Method
fromValue
(v changes.Value)
changes/table/sparse.go:162
↓ 3 callers
Method
getField
(field changes.Value)
x/rich/eval/dict.go:78
↓ 3 callers
Method
joinChanges
(c1, c2 changes.Change)
refs/refs.go:74
← previous
next →
201–300 of 1,359, ranked by callers