MCPcopy Create free account

hub / github.com/dotchain/dot / functions

Functions1,359 in github.com/dotchain/dot

↓ 351 callersMethodError
Error implements the Error interface
x/rich/eval/errors.go:26
↓ 338 callersMethodError
()
ops/nw/common.go:98
↓ 196 callersMethodApply
Apply applies the specified change on the object and returns the updated value.
changes/changes.go:152
↓ 127 callersMethodFatal
(v ...interface{})
log/log.go:17
↓ 110 callersMethodAppend
Append a sequence of operations. If the operation IDs already exist, those operations are ignored but do not generate an error.
ops/store.go:28
↓ 91 callersFunctionNew
New returns a new Stream
streams/stream.go:136
↓ 86 callersMethodNext
Next returns the change and the next stream. If no further changes exist, it returns nil for both. All related stream instances are guaranateed to con
streams/stream.go:116
↓ 78 callersFunctionNewText
NewText initializes a new rich text value
x/rich/text.go:13
↓ 76 callersMethodAppend
Append adds a change on top of the current change. If the current change has a Next, this is merged with the next and applied to the Next instead. T
streams/stream.go:101
↓ 75 callersMethodPrintln
(v ...interface{})
log/log.go:16
↓ 71 callersMethodCount
Count should noly be called on collection-like objects such as the Before/After fields of a Splice. It returns the size of the collection.
changes/changes.go:171
↓ 59 callersMethodSlice
Slice should only be called on collection-like objects such as the Before/After fields of a Splice. Note that unlike Go's slice notation, the argument
changes/changes.go:166
↓ 47 callersMethodClose
Close releases all resources. Any ongoing calls should not be canceled unless the caller cancels them via the context.
ops/store.go:44
↓ 43 callersMethodGetSince
GetSince returns all operations with version atleast equal to the specified parameter. If the number of operations is larger than the limit, it is tru
ops/store.go:40
↓ 36 callersFunctionFormat
Format converts any value to HTML
x/rich/html/format.go:22
↓ 36 callersFunctionSubstream
Substream creates a child stream The sequence of keys are used as paths into the logical value and work for both array indices and object-like keys.
streams/substream.go:33
↓ 34 callersFunctionmust
(err error)
ops/sjson/catch.go:17
↓ 31 callersMethodMerge
Merge takes the current change and another change that were both applied to the same virtual JSON and returns transformed versions such that: c + oth
changes/changes.go:98
↓ 31 callersMethodMerge
Merge updates the caret index based on the change. Note that it always returns a nil change as there is no way for a change to affect the caret.
refs/caret.go:37
↓ 31 callersMethodSetAttribute
SetAttribute returns a change which when applied would set all the attributes in the range [offset, offset+count] to the provided value.
x/rich/text.go:86
↓ 27 callersMethodMerge
Merge takes a change and returns an Ref that reflects the effect of the change. If the change affects the item specified by the Ref, it returns a mod
refs/refs.go:22
↓ 27 callersFunctiontestMerge
(t *testing.T, s *rich.Text, c1, c2 changes.Change)
x/rich/setattr_test.go:230
↓ 26 callersMethodGet
Get returns the current value or nil if there is no value available.
changes/crdt/dict.go:29
↓ 26 callersFunctionSimplify
Simplify converts a change to a simpler form if possible
changes/changes.go:280
↓ 24 callersMethodApplyCollection
ApplyCollection is just strongly typed Apply
changes/changes.go:161
↓ 24 callersMethodcheck
(s string, r *bufio.Reader)
ops/sjson/decoder.go:259
↓ 23 callersMethodApply
Apply implements changes.Value
x/rich/data/table.go:211
↓ 23 callersMethodMerge
Merge implements Ref.Merge
refs/path.go:23
↓ 23 callersFunctiontestReverseMerge
(t *testing.T, s *rich.Text, c1, c2 changes.Change)
x/rich/setattr_test.go:240
↓ 22 callersFunctionEval
Eval evaluates a value within a particular scope Values of type CallExpr evaluate to the corresponding call. All other values are simply the same va
x/rich/eval/eval.go:101
↓ 21 callersMethodMove
(initial string, offset, count, distance int)
test/seqtest/seqtest.go:57
↓ 21 callersMethodRevert
Revert returns the opposite effect of the current change. If applied directly after the current change it should undo the effect of the current change
changes/changes.go:103
↓ 19 callersMethodItems
Items returns the seq as an array
changes/crdt/seq.go:20
↓ 19 callersMethodPush
Push pushes all local change up to any remote stream. Does nothing if not connected to a remote stream
streams/stream.go:120
↓ 18 callersFunctionmust
(err error)
x/dotc/info.go:136
↓ 17 callersMethodElem
Elem returns a field version of the element
x/dotc/slice.go:28
↓ 17 callersMethodName
()
x/rich/attrs.go:15
↓ 17 callersFunctionvalidateMerge
(t *testing.T, l, r changes.Change)
changes/run/run_test.go:189
↓ 16 callersMethodPull
Pull pulls all changes from a remote stream. Does nothing if not connected to a remote stream
streams/stream.go:124
↓ 15 callersMethodEqual
Equal tests if two refs are the same.
refs/refs.go:25
↓ 15 callersFunctionLatest
Latest returns the latest stream instance and the set of changes that have taken place until then
streams/stream.go:201
↓ 15 callersFunctionMemStore
MemStore returns an in-memory implementation of the Store interface
test/testops/store.go:15
↓ 15 callersMethodReverseAppend
ReverseAppend is just like Append except ReverseMerge is used instead of Merge. ReverseAppend is used to when a remote change is being appended -- wi
streams/stream.go:108
↓ 14 callersMethodApply
Apply implements changes.Value:Apply
refs/container.go:48
↓ 14 callersFunctionLessOrd
LessOrd returns true if a < b
changes/crdt/ord.go:28
↓ 14 callersMethodRevert
()
changes/crdt/wrapper.go:11
↓ 14 callersMethodSet
Set creates or updates the value for a key
changes/crdt/dict.go:15
↓ 14 callersMethodSplice
(initial string, offset, count int, replacement string)
test/seqtest/seqtest.go:56
↓ 14 callersMethoddest
()
changes/move.go:221
↓ 13 callersFunctionNextOrd
NextOrd returns the next ordinal. Less(key, next(key)) is guaranteed to always be true
changes/crdt/ord.go:16
↓ 13 callersMethodPlainText
PlainText returns the plain text version of the rich text.
x/rich/text.go:48
↓ 12 callersMethodEncode
(value interface{}, writer io.Writer)
ops/nw/common.go:22
↓ 12 callersMethodError
()
ops/sync/session.go:95
↓ 12 callersFunctionTransform
Transform creates a new stream where changes are modified before being appended or before being fetched. Both next and append are optional. Note tha
streams/transform.go:16
↓ 12 callersFunctionTransformed
Transformed takes a store of raw operations and converts them to a transformed version that can be applied in sequence. The transformed Store only mo
ops/transformer.go:32
↓ 12 callersMethodUpdate
(val *bool)
x/dotc/testdata/mystruct/input.go:37
↓ 11 callersMethodApply
Apply applies the change and returns the updated value Note: deleting an element via changes.Replace simply replaces it with nil. It does not actual
changes/types/array.go:57
↓ 11 callersMethodApplyTo
(ctx changes.Context, v changes.Value)
changes/crdt/wrapper.go:10
↓ 11 callersFunctionFormatBuilder
FormatBuilder converts any value to HTML If a formatter is provided, it is used for embedded objects
x/rich/html/format.go:31
↓ 11 callersMethodID
ID is the unique identifier for the operation. It should be of any type that can be compared for equality
ops/op.go:31
↓ 11 callersMethodNormalize
Normalize ensures that distance is always positive
changes/move.go:289
↓ 11 callersMethodParent
Parent is the ID of the local operation this particular operation is based upon. If this operaiton is based upon an operation that has a version at t
ops/op.go:46
↓ 11 callersFunctionPolled
Polled implements a low-latency in memory poller. Any append will effectively trigger any pending polls to return. It can be used to wrap a store tha
ops/poller.go:18
↓ 11 callersMethodReverseMerge
ReverseMerge is used when a "known" change type is merged with a custom type: move.Merge(myType) The known type has no way of figuring out how to me
changes/changes.go:138
↓ 10 callersMethodBasis
Basis is the last "stored" operation (i.e. with non-negative version) that has been factored in before the current operation. Example: If a client m
ops/op.go:65
↓ 10 callersMethodConcat
Concat joins two rich text values
x/rich/text.go:78
↓ 10 callersFunctionNullCache
NullCache implements ops.Cache but does not save anything
test/testops/cache.go:12
↓ 10 callersMethodSimplify
()
changes/changes.go:288
↓ 10 callersFunctionsimpleCall
(op string)
x/rich/eval/parse.go:149
↓ 9 callersMethodApplyTo
ApplyTo allows custom change types to implement a method to apply their changes onto known "values". This allows Value implementations to be written
changes/changes.go:144
↓ 9 callersMethodDiff
Diff implemnets Differ.Diff for standard types
changes/diff/diff.go:29
↓ 9 callersFunctionNewEmbed
NewEmbed creates a text with an embedded object (such as data.link)
x/rich/text.go:22
↓ 9 callersMethodencodeValue
(v reflect.Value, w *bufio.Writer)
ops/sjson/encoder.go:42
↓ 9 callersFunctionformatPath
(path []interface{}, s string)
x/cmd/dotls/dotls.go:152
↓ 9 callersFunctionmust
(err error)
ops/sync/sync_test.go:226
↓ 8 callersMethodAppend
Append proxies the Append call over to the url
ops/nw/request.go:66
↓ 8 callersMethodApply
Apply implements changes.Value
x/rich/text.go:101
↓ 8 callersFunctionBranch
Branch returns a new stream based on the provided stream. All changes made on the branch are only merged upstream when Push is called explicitly and a
streams/branch.go:13
↓ 8 callersMethodChanges
Changes is the changes associated with this operation. It can be nil.
ops/op.go:69
↓ 8 callersMethodColIDs
ColIDs returns all the column IDs sorted in order
x/rich/data/table.go:37
↓ 8 callersMethodDecode
(value interface{}, reader io.Reader)
ops/nw/common.go:23
↓ 8 callersMethodGetStr16
()
x/dotc/testdata/myunion/generated.go:118
↓ 8 callersMethodIterate
Iterate calls the provided function for each Entry in the heap in descending order of Rank value.
x/heap/heap.go:68
↓ 8 callersFunctionRegister
Register registers the values with all the default codecs
ops/nw/common.go:81
↓ 8 callersMethodRegister
(v interface{})
ops/nw/common.go:24
↓ 8 callersMethodRowIDs
RowIDs returns all the row IDs sorted in order
x/rich/data/table.go:50
↓ 8 callersMethodString
()
ops/sjson/sjson_test.go:58
↓ 8 callersMethodUpdate
(val *bool)
x/dotc/testdata/myunion/input.go:31
↓ 8 callersMethodVersion
Version is the index of the operation in the sequential store. For operations that have not yet been stored (such as client operations), this must be
ops/op.go:37
↓ 8 callersMethodgetBoo
()
x/dotc/testdata/myunion/generated.go:76
↓ 8 callersMethodgetBoop
()
x/dotc/testdata/myunion/generated.go:90
↓ 8 callersFunctiongetContext
()
ops/nw/nw_test.go:141
↓ 8 callersMethodgetStr
()
x/dotc/testdata/myunion/generated.go:104
↓ 8 callersFunctionrandS
()
changes/diff/string_test.go:62
↓ 8 callersFunctionvalidateMergeResults
(t *testing.T, l, r, lexpected, rexpected changes.Change)
changes/path_test.go:150
↓ 7 callersMethodApply
Apply applies the change and returns the updated value
changes/types/map.go:36
↓ 7 callersMethodApplyTo
(ctx changes.Context, v changes.Value)
changes/crdt/wrapper.go:32
↓ 7 callersFunctionBetweenOrd
BetweenOrd returns keys between the two provided keys.
changes/crdt/ord.go:33
↓ 7 callersMethodLatest
Latest returns the latest non-nil entry in the stream
streams/s16.go:37
↓ 7 callersMethodMapIndex
MapIndex maps a particular index to the new location of the index after the move
changes/move.go:199
next →1–100 of 1,359, ranked by callers