Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NethermindEth/cairo-vm-go
/ functions
Functions
1,195 in github.com/NethermindEth/cairo-vm-go
⨍
Functions
1,195
◇
Types & classes
243
Method
Add
Adds a memory address and a field element
pkg/vm/memory/memory_value.go:66
Method
AddOffset
(offset int16)
pkg/hintrunner/hinter/operand.go:52
Method
AddOffset
(offset int16)
pkg/hintrunner/hinter/operand.go:79
Method
Any
()
pkg/vm/memory/memory_value.go:222
Method
ApplyApTracking
(hint, ref zero.ApTracking)
pkg/hintrunner/hinter/operand.go:44
Method
ApplyApTracking
(hint, ref zero.ApTracking)
pkg/hintrunner/hinter/operand.go:74
Method
ApplyApTracking
(hint, ref zero.ApTracking)
pkg/hintrunner/hinter/operand.go:103
Method
ApplyApTracking
(hint, ref zero.ApTracking)
pkg/hintrunner/hinter/operand.go:154
Method
ApplyApTracking
(hint, ref zero.ApTracking)
pkg/hintrunner/hinter/operand.go:175
Method
ApplyApTracking
(hint, ref zero.ApTracking)
pkg/hintrunner/hinter/operand.go:228
Method
AsDeref
()
pkg/assembler/grammar.go:121
Method
AsDeref
()
pkg/assembler/grammar.go:144
Method
AsDoubleDeref
()
pkg/assembler/grammar.go:125
Method
AsDoubleDeref
()
pkg/assembler/grammar.go:148
Method
AsImmediate
()
pkg/assembler/grammar.go:133
Method
AsImmediate
()
pkg/assembler/grammar.go:155
Method
AsMathOperation
()
pkg/assembler/grammar.go:129
Method
AsMathOperation
()
pkg/assembler/grammar.go:152
Method
At
Given a memory address and a key it returns the value held at that position. The address is used to locate the correct dictionary and the key to index
pkg/hintrunner/hinter/dict.go:86
Function
BenchmarkAllocSegment
(b *testing.B)
pkg/hintrunner/core/hint_benchmark_test.go:14
Function
BenchmarkAssertEqual
(b *testing.B)
pkg/vm/vm_benchmark_test.go:7
Function
BenchmarkAssertLeFindSmallArc
(b *testing.B)
pkg/hintrunner/core/hint_benchmark_test.go:366
Function
BenchmarkAssertLeIsFirstArcExcluded
(b *testing.B)
pkg/hintrunner/core/hint_benchmark_test.go:316
Function
BenchmarkAssertLeIsSecondArcExcluded
(b *testing.B)
pkg/hintrunner/core/hint_benchmark_test.go:341
Function
BenchmarkFieldSqrt
(b *testing.B)
pkg/hintrunner/core/hint_benchmark_test.go:423
Function
BenchmarkLessThan
(b *testing.B)
pkg/hintrunner/core/hint_benchmark_test.go:33
Function
BenchmarkLinearSplit
(b *testing.B)
pkg/hintrunner/core/hint_benchmark_test.go:201
Function
BenchmarkRandomEcPoint
(b *testing.B)
pkg/hintrunner/core/hint_benchmark_test.go:402
Function
BenchmarkRunnerWithFibonacci
(b *testing.B)
pkg/runner/runner_benchmark_test.go:11
Function
BenchmarkSquareRoot
(b *testing.B)
pkg/hintrunner/core/hint_benchmark_test.go:72
Function
BenchmarkUint256DivMod
(b *testing.B)
pkg/hintrunner/core/hint_benchmark_test.go:162
Function
BenchmarkUint256SquareRoot
(b *testing.B)
pkg/hintrunner/core/hint_benchmark_test.go:280
Function
BenchmarkUint512DivModByUint256
(b *testing.B)
pkg/hintrunner/core/hint_benchmark_test.go:233
Function
BenchmarkUintDivMod
(b *testing.B)
pkg/hintrunner/core/hint_benchmark_test.go:132
Function
BenchmarkWideMul128
(b *testing.B)
pkg/hintrunner/core/hint_benchmark_test.go:100
Method
CheckWrite
(segment *Segment, offset uint64, value *MemoryValue)
pkg/vm/memory/memory_test.go:165
Method
CheckWrite
(segment *Segment, offset uint64, value *MemoryValue)
pkg/vm/memory/memory.go:22
Method
CheckWrite
(segment *mem.Segment, offset uint64, value *mem.MemoryValue)
pkg/vm/builtins/pedersen.go:25
Method
CheckWrite
verify_ecdsa_signature(message_hash, public_key, sig_r, sig_s)
pkg/vm/builtins/ecdsa.go:28
Method
CheckWrite
( segment *memory.Segment, offset uint64, value *memory.MemoryValue, )
pkg/vm/builtins/bitwise.go:25
Method
CheckWrite
(segment *memory.Segment, offset uint64, value *memory.MemoryValue)
pkg/vm/builtins/output.go:17
Method
CheckWrite
(segment *memory.Segment, offset uint64, value *memory.MemoryValue)
pkg/vm/builtins/keccak.go:35
Method
CheckWrite
(segment *mem.Segment, offset uint64, value *mem.MemoryValue)
pkg/vm/builtins/poseidon.go:24
Method
CheckWrite
(segment *mem.Segment, offset uint64, value *mem.MemoryValue)
pkg/vm/builtins/ecop.go:40
Method
CheckWrite
(segment *memory.Segment, offset uint64, value *memory.MemoryValue)
pkg/vm/builtins/modulo.go:111
Function
EcDoubleSlope
(pointX, pointY, alpha, prime *big.Int)
pkg/hintrunner/utils/math_utils.go:12
Function
EmptyMemoryValueAs
(address bool)
pkg/vm/memory/memory_value.go:198
Function
EmptySegmentWithCapacity
(capacity int)
pkg/vm/memory/memory.go:70
Method
Equal
(other *MemoryAddress)
pkg/vm/memory/memory_value.go:23
Method
Evaluate
AST Functionality
pkg/hintrunner/zero/hintparser.go:125
Method
Evaluate
()
pkg/hintrunner/zero/hintparser.go:136
Method
Evaluate
()
pkg/hintrunner/zero/hintparser.go:173
Method
Evaluate
()
pkg/hintrunner/zero/hintparser.go:223
Method
Evaluate
()
pkg/hintrunner/zero/hintparser.go:234
Method
Evaluate
()
pkg/hintrunner/zero/hintparser.go:251
Method
Evaluate
()
pkg/hintrunner/zero/hintparser.go:270
Method
Evaluate
()
pkg/hintrunner/zero/hintparser.go:278
Method
Evaluate
()
pkg/hintrunner/zero/hintparser.go:286
Method
Evaluate
()
pkg/hintrunner/zero/hintparser.go:310
Method
Evaluate
()
pkg/hintrunner/zero/hintparser.go:330
Method
Evaluate
()
pkg/hintrunner/zero/hintparser.go:338
Method
Execute
(vm *VM.VirtualMachine, ctx *hinter.HintRunnerContext)
pkg/hintrunner/zero/zerohint.go:22
Method
Execute
(vm *VM.VirtualMachine, ctx *hinter.HintRunnerContext)
pkg/hintrunner/core/hint.go:1077
Method
Execute
(vm *VM.VirtualMachine, ctx *hinter.HintRunnerContext)
pkg/hintrunner/core/hint.go:1137
Method
Execute
(vm *VM.VirtualMachine, ctx *hinter.HintRunnerContext)
pkg/hintrunner/core/hint.go:1170
Method
Execute
(vm *VM.VirtualMachine, ctx *hinter.HintRunnerContext)
pkg/hintrunner/core/hint.go:1206
Method
Execute
(vm *VM.VirtualMachine, ctx *hinter.HintRunnerContext)
pkg/hintrunner/core/hint.go:1241
Method
Execute
(vm *VM.VirtualMachine, ctx *hinter.HintRunnerContext)
pkg/hintrunner/core/hint.go:1320
Method
Execute
(vm *VM.VirtualMachine, ctx *hinter.HintRunnerContext)
pkg/hintrunner/core/hint.go:1345
Method
Execute
(vm *VM.VirtualMachine, ctx *hinter.HintRunnerContext)
pkg/hintrunner/core/hint.go:1371
Method
Execute
(vm *VM.VirtualMachine, ctx *hinter.HintRunnerContext)
pkg/hintrunner/core/hint.go:1402
Method
Execute
(vm *VM.VirtualMachine, ctx *hinter.HintRunnerContext)
pkg/hintrunner/core/hint.go:1431
Method
Execute
(vm *VM.VirtualMachine, ctx *hinter.HintRunnerContext)
pkg/hintrunner/core/hint.go:1943
Method
Execute
(vm *VM.VirtualMachine, ctx *hinter.HintRunnerContext)
pkg/hintrunner/core/hint.go:2001
Method
Execute
(vm *VM.VirtualMachine, ctx *hinter.HintRunnerContext)
pkg/hintrunner/core/hint.go:2023
Method
Expression
()
pkg/assembler/grammar.go:96
Method
Get
(vm *VM.VirtualMachine)
pkg/hintrunner/hinter/operand.go:165
Method
Get
(vm *VM.VirtualMachine)
pkg/hintrunner/hinter/operand.go:198
Method
GetAirPrivateInput
(pedersenSegment *mem.Segment)
pkg/vm/builtins/pedersen.go:78
Method
GetAirPrivateInput
(ecdsaSegment *memory.Segment)
pkg/vm/builtins/ecdsa.go:181
Method
GetAirPrivateInput
(bitwiseSegment *memory.Segment)
pkg/vm/builtins/bitwise.go:114
Method
GetAirPrivateInput
(keccakSegment *memory.Segment)
pkg/vm/builtins/keccak.go:110
Method
GetAirPrivateInput
(poseidonSegment *mem.Segment)
pkg/vm/builtins/poseidon.go:77
Method
GetAirPrivateInput
(ecOpSegment *mem.Segment)
pkg/vm/builtins/ecop.go:252
Method
GetAirPrivateInput
(rangeCheckSegment *memory.Segment)
pkg/vm/builtins/range_check.go:104
Method
GetAllocatedSize
(segmentUsedSize uint64, vmCurrentStep uint64)
pkg/vm/memory/memory_test.go:184
Method
GetAllocatedSize
(segmentUsedSize uint64, vmCurrentStep uint64)
pkg/vm/memory/memory.go:34
Method
GetAllocatedSize
(segmentUsedSize uint64, vmCurrentStep uint64)
pkg/vm/builtins/pedersen.go:68
Method
GetAllocatedSize
(segmentUsedSize uint64, vmCurrentStep uint64)
pkg/vm/builtins/ecdsa.go:146
Method
GetAllocatedSize
(segmentUsedSize uint64, vmCurrentStep uint64)
pkg/vm/builtins/bitwise.go:104
Method
GetAllocatedSize
(segmentUsedSize uint64, vmCurrentStep uint64)
pkg/vm/builtins/output.go:32
Method
GetAllocatedSize
(segmentUsedSize uint64, vmCurrentStep uint64)
pkg/vm/builtins/keccak.go:94
Method
GetAllocatedSize
(segmentUsedSize uint64, vmCurrentStep uint64)
pkg/vm/builtins/poseidon.go:62
Method
GetAllocatedSize
(segmentUsedSize uint64, vmCurrentStep uint64)
pkg/vm/builtins/ecop.go:118
Method
GetAllocatedSize
(segmentUsedSize uint64, vmCurrentStep uint64)
pkg/vm/builtins/range_check.go:71
Method
GetAllocatedSize
(segmentUsedSize uint64, vmCurrentStep uint64)
pkg/vm/builtins/modulo.go:123
Function
GetBetaBig
()
pkg/hintrunner/utils/secp_utils.go:73
Method
GetCellsPerInstance
()
pkg/vm/memory/memory_test.go:188
Method
GetCellsPerInstance
()
pkg/vm/memory/memory.go:38
Method
GetCellsPerInstance
()
pkg/vm/builtins/pedersen.go:119
← previous
next →
701–800 of 1,195, ranked by callers