MCPcopy Create free account

hub / github.com/chain/txvm / functions

Functions1,025 in github.com/chain/txvm

MethodString
()
cmd/hex/flag.go:29
MethodSub
Sub computes x-y (mod L) and places the result in z, returning that. Any or all of x, y, and z may be the same pointer.
crypto/ed25519/ecmath/scalar.go:71
FunctionSubInt32
SubInt32 returns a - b with an integer overflow check.
math/checked/checked.go:107
FunctionSubInt64
SubInt64 returns a - b with an integer overflow check.
math/checked/checked.go:27
FunctionSubUint32
SubUint32 returns a - b with an integer overflow check.
math/checked/checked.go:234
FunctionSubUint64
SubUint64 returns a - b with an integer overflow check.
math/checked/checked.go:177
MethodSum
Sum applies padding to the hash state and then squeezes out the desired number of output bytes.
crypto/sha3/sha3.go:188
MethodSum
Sum applies padding to the hash state and then squeezes out the desired number of output bytes.
crypto/sha3/tuple_hash.go:137
FunctionSum224
Sum224 returns the SHA3-224 digest of the data.
crypto/sha3/hashes.go:36
FunctionSum384
Sum384 returns the SHA3-384 digest of the data.
crypto/sha3/hashes.go:52
FunctionSum512
Sum512 returns the SHA3-512 digest of the data.
crypto/sha3/hashes.go:60
MethodSwap
(i, j int)
protocol/txbuilder/template.go:144
FunctionTestAddPrefixkv0
(t *testing.T)
log/log_test.go:59
FunctionTestAddPrefixkv1
(t *testing.T)
log/log_test.go:67
FunctionTestAddPrefixkv2
(t *testing.T)
log/log_test.go:77
FunctionTestAddPrefixkvAppendTwice
(t *testing.T)
log/log_test.go:88
FunctionTestAllDuplicateLeaves
(t *testing.T)
protocol/merkle/merkle_test.go:39
FunctionTestAppend
TestAppend checks that appending works when reallocation is necessary.
crypto/sha3/sha3_test.go:159
FunctionTestAppend
(t *testing.T)
log/rotation/file_test.go:219
FunctionTestAppendNoRealloc
TestAppendNoRealloc tests that appending works when no reallocation is necessary.
crypto/sha3/sha3_test.go:179
FunctionTestApplyBlock
(t *testing.T)
protocol/state/snapshot_test.go:81
FunctionTestApplyIssuanceTwice
(t *testing.T)
protocol/state/snapshot_test.go:52
FunctionTestApplyTx
(t *testing.T)
protocol/state/snapshot_test.go:140
FunctionTestApplyTxSpend
(t *testing.T)
protocol/state/snapshot_test.go:28
FunctionTestAssembler
(t *testing.T)
protocol/txvm/asm/asm_test.go:11
FunctionTestAtomicApplyTx
(t *testing.T)
protocol/state/snapshot_test.go:201
FunctionTestBadMaxNonceWindow
(t *testing.T)
protocol/tx_test.go:11
FunctionTestBasePointArith
(t *testing.T)
crypto/ed25519/ecmath/point_test.go:12
FunctionTestBlock
(t *testing.T)
protocol/validation/validation_test.go:13
FunctionTestBlockBytes
(t *testing.T)
protocol/bc/block_test.go:62
FunctionTestBlockHeaderHash
(t *testing.T)
protocol/bc/blockheader_test.go:27
FunctionTestBlockHeaderScanValue
(t *testing.T)
protocol/bc/blockheader_test.go:51
FunctionTestBlockMarshal
(t *testing.T)
protocol/bc/block_test.go:102
FunctionTestBlockOnly
(t *testing.T)
protocol/validation/validation_test.go:145
FunctionTestBlockPrev
(t *testing.T)
protocol/validation/validation_test.go:205
FunctionTestBlockScan
(t *testing.T)
protocol/bc/block_test.go:131
FunctionTestBlockSig
(t *testing.T)
protocol/validation/validation_test.go:73
FunctionTestBuilder
(t *testing.T)
protocol/txvm/txvmutil/builder_test.go:15
FunctionTestCShakeNISTSample1
TODO: - tests for leftEncode and rightEncode - current test vectors only test a handful of values. - tests for cSHAKE(X,L,N=nil,S=nil) == SHAKE(X,L) T
crypto/sha3/cshake_test.go:14
FunctionTestCShakeNISTSample2
(t *testing.T)
crypto/sha3/cshake_test.go:25
FunctionTestCShakeNISTSample3
(t *testing.T)
crypto/sha3/cshake_test.go:40
FunctionTestCShakeNISTSample4
(t *testing.T)
crypto/sha3/cshake_test.go:51
FunctionTestChildKeys
(t *testing.T)
crypto/ed25519/chainkd/chainkd_test.go:9
FunctionTestCommitBlockIdempotence
(t *testing.T)
protocol/block_test.go:164
FunctionTestComplexOpcodes
(t *testing.T)
protocol/txvm/complex_ops_test.go:11
FunctionTestContains
(t *testing.T)
protocol/patricia/patricia_test.go:204
FunctionTestCopySnapshot
(t *testing.T)
protocol/state/snapshot_test.go:68
FunctionTestCryptoSigner
(t *testing.T)
crypto/ed25519/ed25519_test.go:65
FunctionTestData
(t *testing.T)
errors/errors_test.go:101
FunctionTestDecode
(t *testing.T)
cmd/hex/main_test.go:38
FunctionTestDeepEqual
(t *testing.T)
testutil/deepequal_test.go:5
FunctionTestDelete
(t *testing.T)
protocol/patricia/patricia_test.go:430
FunctionTestDeletePrefix
(t *testing.T)
protocol/patricia/patricia_test.go:535
FunctionTestDetail
(t *testing.T)
errors/errors_test.go:75
FunctionTestDuplicateLeaves
(t *testing.T)
protocol/merkle/merkle_test.go:20
FunctionTestDurationMillis
(t *testing.T)
protocol/bc/time_test.go:32
FunctionTestEmptyTree
(t *testing.T)
protocol/merkle/merkle_test.go:13
FunctionTestEncode
(t *testing.T)
cmd/hex/main_test.go:24
FunctionTestError
(t *testing.T)
log/log_test.go:239
FunctionTestFormatKey
(t *testing.T)
log/log_test.go:356
FunctionTestFormatValue
(t *testing.T)
log/log_test.go:377
FunctionTestGenerateBlock
(t *testing.T)
protocol/block_test.go:74
FunctionTestGetBlock
(t *testing.T)
protocol/block_test.go:22
FunctionTestGolden
(t *testing.T)
crypto/ed25519/ed25519_test.go:93
FunctionTestHasPrefix
(t *testing.T)
protocol/patricia/patricia_test.go:596
FunctionTestHashBytes
(t *testing.T)
protocol/bc/hash_test.go:8
FunctionTestHashIsZero
(t *testing.T)
protocol/bc/hash_test.go:164
FunctionTestHashMarshalText
(t *testing.T)
protocol/bc/hash_test.go:27
FunctionTestHashReadFrom
(t *testing.T)
protocol/bc/hash_test.go:137
FunctionTestHashScan
(t *testing.T)
protocol/bc/hash_test.go:109
FunctionTestHashUnmarshalJSON
(t *testing.T)
protocol/bc/hash_test.go:61
FunctionTestHashUnmarshalText
(t *testing.T)
protocol/bc/hash_test.go:41
FunctionTestHashValue
(t *testing.T)
protocol/bc/hash_test.go:90
FunctionTestHeaderAccessors
(t *testing.T)
protocol/state/snapshot_test.go:238
FunctionTestHelperStack
(t *testing.T)
log/log_test.go:286
FunctionTestInsert
(t *testing.T)
protocol/patricia/patricia_test.go:233
FunctionTestInstructionsRunlimit
To generate the table: $ go test . -run=TestInstructionsRunlimit -v TODO(bobg): This isn't actually testing anything. Perhaps it should be generating
protocol/txvm/asm/runlimit_test.go:428
FunctionTestInt32
(t *testing.T)
math/checked/checked_test.go:120
FunctionTestInt64
(t *testing.T)
math/checked/checked_test.go:11
FunctionTestInternalWriteNoRotate
(t *testing.T)
log/rotation/file_test.go:88
FunctionTestInternalWriteRotate
(t *testing.T)
log/rotation/file_test.go:116
FunctionTestIntrospection
(t *testing.T)
protocol/txvm/introspection_test.go:10
FunctionTestIsStackVal
(t *testing.T)
log/log_test.go:313
FunctionTestKMACNISTSample1
(t *testing.T)
crypto/sha3/kmac_test.go:13
FunctionTestKMACNISTSample2
(t *testing.T)
crypto/sha3/kmac_test.go:27
FunctionTestKMACNISTSample3
(t *testing.T)
crypto/sha3/kmac_test.go:41
FunctionTestKMACNISTSample4
(t *testing.T)
crypto/sha3/kmac_test.go:58
FunctionTestKMACNISTSample5
(t *testing.T)
crypto/sha3/kmac_test.go:72
FunctionTestKMACNISTSample6
(t *testing.T)
crypto/sha3/kmac_test.go:89
FunctionTestKMACXOFNISTSample1
(t *testing.T)
crypto/sha3/kmac_test.go:106
FunctionTestKMACXOFNISTSample2
(t *testing.T)
crypto/sha3/kmac_test.go:120
FunctionTestKMACXOFNISTSample3
(t *testing.T)
crypto/sha3/kmac_test.go:134
FunctionTestKMACXOFNISTSample4
(t *testing.T)
crypto/sha3/kmac_test.go:151
FunctionTestKMACXOFNISTSample5
(t *testing.T)
crypto/sha3/kmac_test.go:165
FunctionTestKMACXOFNISTSample6
(t *testing.T)
crypto/sha3/kmac_test.go:182
FunctionTestKeccakKats
TestKeccakKats tests the SHA-3 and Shake implementations against all the ShortMsgKATs from https://github.com/gvanas/KeccakCodePackage (The testvector
crypto/sha3/sha3_test.go:89
FunctionTestLeafVsInternalNodes
(t *testing.T)
protocol/patricia/patricia_test.go:83
FunctionTestLookup
(t *testing.T)
protocol/patricia/patricia_test.go:140
FunctionTestMakeBlock
(t *testing.T)
protocol/prottest/block_test.go:5
FunctionTestMarshalDuration
(t *testing.T)
encoding/json/duration_test.go:57
← previousnext →701–800 of 1,025, ranked by callers