MCPcopy Create free account

hub / github.com/boltdb/raw / functions

Functions23 in github.com/boltdb/raw

↓ 17 callersFunctiontocamelcase
(s string)
cmd/bolt-rawgen/main.go:332
↓ 7 callersFunctiontostr
tostr converts a node to a string.
cmd/bolt-rawgen/main.go:322
↓ 6 callersFunctiontraceln
(v ...interface{})
cmd/bolt-rawgen/main.go:351
↓ 3 callersMethodBytes
Bytes returns a byte slice pointing to the string's contents.
raw.go:24
↓ 3 callersMethodEncode
Encode encodes an Event into a byte slice that can be read by a RawEvent.
raw_test.go:59
↓ 2 callersMethodString
String returns a Go string of the string value from an encoded byte slice.
raw.go:29
↓ 1 callersFunctionimportsRaw
importsRaw returns true if a given path imports boltdb/raw.
cmd/bolt-rawgen/main.go:71
↓ 1 callersFunctionisRawStructType
isRawStructType returns true when a type declaration uses all raw types.
cmd/bolt-rawgen/main.go:305
↓ 1 callersFunctionprocess
process parses and rewrites a file by generating the appropriate exported types for raw types.
cmd/bolt-rawgen/main.go:87
↓ 1 callersFunctiontracef
(format string, v ...interface{})
cmd/bolt-rawgen/main.go:345
↓ 1 callersMethodvisitTypeSpec
visitTypeSpec is called for every type declaration. Each declaration is checked for raw usage and an exported type is generated if appropriate.
cmd/bolt-rawgen/main.go:144
↓ 1 callersFunctionwriteAccessorFuncs
writeAccessorFuncs writes a accessor functions for a raw struct type.
cmd/bolt-rawgen/main.go:276
↓ 1 callersFunctionwriteDecodeFunc
writeDecodeFunc writes a generated decoding function for a raw struct type.
cmd/bolt-rawgen/main.go:261
↓ 1 callersFunctionwriteEncodeFunc
writeEncodeFunc writes a generated encoding function for a raw struct type.
cmd/bolt-rawgen/main.go:228
↓ 1 callersFunctionwriteExportedType
writeExportedType writes a generated exported type for a raw struct type.
cmd/bolt-rawgen/main.go:192
FunctionBenchmarkStringDecode
(b *testing.B)
raw_test.go:39
FunctionBenchmarkStringEncode
(b *testing.B)
raw_test.go:29
MethodEncode
Encode writes a string to a byte slice and updates the offset/length.
raw.go:17
FunctionTestString_Encode
Ensure that an event can be correctly encoded.
raw_test.go:11
MethodVisit
Visit implements the ast.Visitor interface. It is called once for every AST node.
cmd/bolt-rawgen/main.go:128
Functionmain
()
cmd/bolt-rawgen/main.go:23
Functiontrace
(v ...interface{})
cmd/bolt-rawgen/main.go:339
Functionwalk
Walk recursively iterates over all files in a directory and processes any file that imports "github.com/boltdb/raw".
cmd/bolt-rawgen/main.go:41