MCPcopy Index your code

hub / github.com/coast-team/dotted-logootsplit / functions

Functions378 in github.com/coast-team/dotted-logootsplit

↓ 148 callersMethodinsertAt
* [Mutation] * Insert {@link items } at {@link index}. * * @param index 0-based index; Where to insert. * @param items elements to
src/core/op-replicated-list.ts:145
↓ 139 callersMethodcompare
* @example * a.compare(b) == Ordering.Before if a < b * * @param other * @return this [Order relation] {@link other}.
src/core/block.ts:314
↓ 135 callersFunctionassert
(test: Lazy<boolean>, msg: string)
src/util/assert.ts:17
↓ 107 callersFunctionisU32
(n: unknown)
src/util/number.ts:22
↓ 106 callersMethodconcatenated
* @param prefix * @return Concatenated version prefixed by `prefix`.
src/core/delta-replicated-list.ts:86
↓ 101 callersMethodfrom
* @example * Anchor(p, false) is just before p * Anchor(p, true) is just after p * There does not exist a position between Anchor(p) an
src/core/anchor.ts:28
↓ 79 callersMethodinsert
@Override
src/list/avl/op-avl-list.ts:97
↓ 74 callersFunctiontitled
(defaultTitle: string)
test/list/macro.ts:51
↓ 64 callersMethodcompareBase
@override
src/pos/simple/simple-pos.ts:222
↓ 57 callersMethodstructuralHashCode
* Non-cryptographic way to approximate object identity. * Do not take the content into account.
src/core/block.ts:226
↓ 37 callersMethodtoLengthBlock
* @return Length block representation of this block.
src/core/block.ts:217
↓ 32 callersMethodfromPlain
* @param posFromPlain * @param itemsFromPlain * @return function that accepts a value and attempt to build a block. * It returns the b
src/core/block.ts:111
↓ 31 callersMethodconcat
@override
src/core/concat.ts:84
↓ 28 callersMethodremoveAt
* [Mutation] * Remove a number of {@link length } elements from {@link index } * * @param index 0-based index. * @param length Num
src/core/op-replicated-list.ts:155
↓ 28 callersMethodsplitAt
* @example * b.splitAt(n) == [b.leftSplitAt(n), b.rightSplitAt(n)] * * @param index 0-based index * 0 < {@link index } < {@li
src/core/block.ts:414
↓ 23 callersMethodinsertRight
@Override
src/list/avl/avl-list-node.ts:346
↓ 21 callersFunctionisObject
(x: unknown)
src/util/data-validation.ts:26
↓ 20 callersMethodintDistance
@override
src/pos/simple/simple-pos.ts:174
↓ 19 callersMethodcopy
* @return Deep copy of this.
src/pos/simple/simple-block-factory.ts:174
↓ 19 callersMethodremove
@Override
src/list/avl/op-avl-list.ts:109
↓ 18 callersMethodapplyDelta
(delta: LengthBlock<P> | Block<P, E>)
src/core/delta-replicated-list.ts:211
↓ 18 callersMethodrightSplitAt
* @example * Block(p, "ab").rightSplitAt(1) == Block(p+1, "b") * Block(p, "ab").rightSplitAt(0) == Block(p, "ab") * * @param index
src/core/block.ts:398
↓ 17 callersFunctionheavyAssert
(test: Lazy<boolean>, msg: string)
src/util/assert.ts:31
↓ 17 callersMethodinsertable
@Override
src/list/avl/op-avl-list.ts:88
↓ 17 callersMethodleftSplitAt
* @example * Block(p, "ab").leftSplitAt(1) == Block(p, "a") * Block(p, "ab").leftSplitAt(2) == Block(p, "ab") * * @param index 0-b
src/core/block.ts:379
↓ 16 callersFunctioncompareU32
(n1: u32, n2: u32)
src/util/number.ts:33
↓ 16 callersMethodfromLength
* @param lower {@link IntInterval#lower } * @param length {@link IntInterval#length } * @return New range.
src/core/u32-range.ts:56
↓ 14 callersMethodanchorAt
* @param index index where the anchor is * @param isAfter Is the anchor after `index`? * @return anchor at `index`. * The anchor is st
src/core/op-replicated-list.ts:135
↓ 14 callersMethodbalance
()
src/list/avl/avl-list-node.ts:149
↓ 14 callersMethodsetLeft
(l: Node<P, E>)
src/list/avl/avl-list-node.ts:88
↓ 14 callersMethodsetRight
(r: Node<P, E>)
src/list/avl/avl-list-node.ts:98
↓ 13 callersMethoddepth
* Number of part in {@link SimplePosPart#parts }.
src/pos/simple/simple-pos.ts:149
↓ 13 callersMethoddepth
* Number of part in {@link SimplePosPart#parts }.
src/dot-pos/simple/simple-dot-pos.ts:140
↓ 13 callersMethodupper
* Upper bound.
src/core/u32-range.ts:111
↓ 12 callersFunctiontwinPosition
(ref: SimplePos)
test/pos/simple/pos.testutil.ts:10
↓ 12 callersFunctiontwinPosition
(ref: SimpleDotPos)
test/dot-pos/simple/pos.testutil.ts:10
↓ 11 callersMethodappendable
* @param other * this includes or overlaps after {@link other } * @return Part of this block which can be append to {@link block }.
src/core/block.ts:441
↓ 11 callersMethodindexFrom
* @param anchor * @return A pair that includes the index of `anchor` in the block and * its order relation. * Ordering.EQUAL means th
src/core/block.ts:283
↓ 11 callersMethodprependable
* @param other * this includes or overlaps before {@link other } * @return Part of this block which can be prepend to {@link block }.
src/core/block.ts:460
↓ 11 callersMethodreplace
(block: Block<P, E>)
src/list/avl/avl-list-node.ts:93
↓ 10 callersMethodoffset
* Offset of the position in the block.
src/pos/simple/simple-pos.ts:169
↓ 10 callersMethodremove
(delta: LengthBlock<P>)
src/core/delta-replicated-list.ts:179
↓ 10 callersMethodslice
@override
src/core/concat.ts:71
↓ 9 callersMethodcurrent
()
src/list/avl/avl-list-node.ts:188
↓ 9 callersMethodhasIntSucc
@override
src/pos/simple/simple-pos.ts:216
↓ 9 callersMethodleaf
( block: Block<P, E> )
src/list/avl/avl-list-node.ts:37
↓ 9 callersFunctionlexCompareOrdering
(r1: Ordering, r2: Ordering)
src/util/ordering.ts:56
↓ 8 callersMethodbalanceFactor
()
src/list/avl/avl-list-node.ts:110
↓ 8 callersMethodinsert
@Override
src/list/linked/op-linked-list.ts:101
↓ 8 callersMethodintSucc
@override
src/pos/simple/simple-pos.ts:132
↓ 8 callersMethodintersection
* @param other * this and {@link other } intersect. * @return Intersection part between this and {@link other }.
src/core/block.ts:475
↓ 8 callersMethodsplitWith
* @param other splitting block * {@link other } must split this * @return Left and right splits.
src/core/block.ts:428
↓ 8 callersMethodwithOffset
* @param offset The offset of the new position * @return Position with the same base, but with a different offset
src/pos/simple/simple-pos.ts:113
↓ 7 callersMethodappend
* @example * Block(p, "ab").append(Block(_, "cd")) == Block(p, "abcd") * * @param other * {@link other } is appendable to thi
src/core/block.ts:362
↓ 7 callersMethodcurrentRelativeIndex
()
src/list/avl/avl-list-node.ts:192
↓ 7 callersMethodnth
* Each position is generated for the `nth` generated block. * The pair (replica, nth) globally and uniquely identifies a block.
src/pos/simple/simple-pos.ts:162
↓ 7 callersMethodseq
@override
src/dot-pos/simple/simple-dot-pos.ts:150
↓ 7 callersFunctiontwinPositionPart
(ref: SimplePosPart)
test/pos/simple/pos.testutil.ts:6
↓ 7 callersMethodwithSeq
* @param seq The seq of the new position * @return Position with the same base, but with a different seq.
src/dot-pos/simple/simple-dot-pos.ts:108
↓ 6 callersMethodhasAppendable
* @param other * @return Has this an appendable segment to {@link other }?
src/core/block.ts:254
↓ 6 callersMethodhasPrependable
* @param other * @return Has this a prependable segment to {@link other }?
src/core/block.ts:267
↓ 6 callersFunctionhashCodeOf
(values: readonly u32[])
src/util/number.ts:50
↓ 6 callersMethodinsert
(delta: Block<P, E>)
src/core/delta-replicated-list.ts:169
↓ 6 callersMethodisBaseEqual
@override
src/pos/simple/simple-pos.ts:254
↓ 6 callersFunctiontwinPositionPart
(ref: SimpleDotPosPart)
test/dot-pos/simple/pos.testutil.ts:6
↓ 6 callersMethodupdated
()
src/list/avl/avl-list-node.ts:167
↓ 5 callersMethodhasIntPred
* hasIntPred(0) is always true. * * See also {@link Pos#hasIntSucc }. * * @param n 0-based index. * @return is there a {@link
src/pos/simple/simple-pos.ts:210
↓ 5 callersMethodinsertable
* Complexity: O(1) * * @param delta * @return parts of `delta` that can be inserted.
src/core/delta-replicated-list.ts:120
↓ 5 callersMethodmax
()
src/list/avl/avl-list-node.ts:203
↓ 5 callersMethodmerge
* [Mutation] * Unidirectional merge from other to this. * This operation is idempotent. * * @param other * @return Performed
src/core/delta-replicated-list.ts:228
↓ 5 callersMethodnthPos
* @example * b.nthPos(0) == b.lowerPos * b.nthPos(b.length - 1) == b.upperPos * * @param nth 0-based index * @return {@link n
src/core/block.ts:143
↓ 5 callersMethodremove
@Override
src/list/linked/op-linked-list.ts:108
↓ 5 callersMethodremoveAtLeft
@Override
src/list/avl/avl-list-node.ts:449
↓ 5 callersMethodremoveAtRight
@Override
src/list/avl/avl-list-node.ts:460
↓ 5 callersMethodreplica
* Globally unique identifier of the author which generated this block.
src/core/block.ts:188
↓ 5 callersMethodreplica
@override
src/pos/simple/simple-pos.ts:154
↓ 4 callersMethodanchor
* @param nth 0-based index * @param isAfter is the anchor after the `nth` position? * @return Anchor relative to the `nth` psoyion of the bl
src/core/block.ts:172
↓ 4 callersMethodblockFromPlain
* See {@link BlockFactoryConstructor#blockFromPlain}
src/pos/simple/simple-block-factory.ts:126
↓ 4 callersMethodcompare
* @param other * @return this [order relation] other.
src/core/u32-range.ts:210
↓ 4 callersMethodcompareWith
* @example * Anchor(p).compareTo(q) == Ordering.Before if p <= q * * @param pos * @return Is before or after {@link pos}?
src/core/anchor.ts:97
↓ 4 callersMethodfromPlain
* @param f * @param itemsFromPlain * @return function that accepts a value and attempt to build a list. * It returns the built list if
src/list/avl/op-avl-list.ts:38
↓ 4 callersMethodinsertable
@Override
src/list/linked/op-linked-list.ts:95
↓ 4 callersMethodinsertableLeft
@Override
src/list/avl/avl-list-node.ts:296
↓ 4 callersMethodinsertableRight
@Override
src/list/avl/avl-list-node.ts:304
↓ 4 callersFunctionlengthOf
( node: Node<P, E> )
src/list/avl/avl-list-node.ts:17
↓ 4 callersMethodmin
()
src/list/avl/avl-list-node.ts:196
↓ 4 callersMethodposBetween
@override
src/pos/simple/simple-block-factory.ts:249
↓ 4 callersFunctionrankOf
(node: Node<P, E>)
src/list/avl/avl-list-node.ts:26
↓ 4 callersMethodreduceBlock
(f: (acc: U, b: Block<P, E>) => U, prefix: U)
src/core/delta-replicated-list.ts:78
↓ 4 callersMethodremoveLeft
@Override
src/list/avl/avl-list-node.ts:427
↓ 4 callersMethodremoveRight
@Override
src/list/avl/avl-list-node.ts:438
↓ 4 callersMethodseqs
* When each position of this block were generated.
src/core/block.ts:195
↓ 4 callersMethodupdate
()
src/list/avl/avl-list-node.ts:103
↓ 3 callersMethodasTuple
* @return [priority, replica, nth, offset]
src/pos/simple/simple-pos-part.ts:140
↓ 3 callersMethodfrom
* The random generator is seeded with both globalSee>eplica. * * @param replica {@link SimpleBlockFactory#replica }> * @param globalSee
src/pos/simple/simple-block-factory.ts:65
↓ 3 callersMethodfromPlain
* @param blockFromPlain * @return function that accepts a value and returns a Cell from * the value, or undefined if the value is mal-forme
src/list/linked/linked-list-cell.ts:465
↓ 3 callersMethodinsertLeft
@Override
src/list/avl/avl-list-node.ts:332
↓ 3 callersMethodinsertSuccessor
@Override
src/list/avl/avl-list-node.ts:322
↓ 3 callersMethodisLengthBlock
* @return Is this block a length block?
src/core/block.ts:234
↓ 3 callersMethodlastPart
* Last part of {@link SimplePosPart#parts }.
src/pos/simple/simple-pos.ts:142
next →1–100 of 378, ranked by callers