MCPcopy Create free account

hub / github.com/bazil/bazil / functions

Functions1,400 in github.com/bazil/bazil

↓ 6 callersFunctionParse
Parse interprets a string as a value of any of the recognized types. Value should be a pointer.
cliutil/strconvx/strconvx.go:17
↓ 6 callersMethodParse
(args []string)
cliutil/subcommands/iface.go:14
↓ 6 callersMethodPrivate
Private extracts the private data from a Key in the private range. The return value ok is false if the Key was not a private key.
cas/key.go:76
↓ 6 callersMethodRecv
()
peer/wire/peer.pb.go:843
↓ 6 callersMethodToBlob
(type_ string)
cas/wire/to-blobs.go:8
↓ 6 callersMethodTombstone
Tombstone changes clock into a tombstone.
fs/clock/clock.go:121
↓ 6 callersFunctionVerify
Verify a vouch as offered by the TLS peer. Returns the signing public key. It is up to the caller to decide whether this key is acceptable. Does not
util/edtls/vouch.go:64
↓ 6 callersFunctionbenchmark
(b *testing.B, fn func(b *testing.B, mnt string))
fs/bench_test.go:14
↓ 6 callersFunctioncheckRPCError
(err error, code codes.Code, message string)
server/control/common_test.go:10
↓ 6 callersMethodsetName
(name string)
fs/fs.go:448
↓ 5 callersFunctionEmptyManifest
EmptyManifest returns an empty manifest of the given type with the default tuning parameters.
cas/blobs/blobs.go:53
↓ 5 callersMethodError
()
cas/blobs/blobs.go:101
↓ 5 callersMethodError
()
db/volumeClock.go:18
↓ 5 callersFunctionHash
Hash hashes the data in a chunk into a cas.Key. Hash makes sure to never return a Special Key.
cas/chunks/chunkutil/hash.go:22
↓ 5 callersMethodMarshalBinary
()
fs/clock/clock.go:31
↓ 5 callersMethodResolveOurs
ResolveOurs records a conflict resolution in favor of us.
fs/clock/clock.go:140
↓ 5 callersMethodString
()
server/control/wire/peer.pb.go:32
↓ 5 callersMethodString
String returns a hex encoding of the key.
cas/key.go:42
↓ 5 callersMethodString
()
fs/clock/vector.go:31
↓ 5 callersMethodTruncate
Truncate adjusts the size of the blob. If the new size is less than the old size, data past that point is lost. If the new size is greater than the ol
cas/blobs/blobs.go:498
↓ 5 callersMethodUsage
Usage writes a usage message for the active subcommand to standard error.
cliutil/subcommands/result.go:63
↓ 5 callersMethodUsageTo
UsageTo writes a usage message for the active subcommand to the given Writer.
cliutil/subcommands/result.go:69
↓ 5 callersMethodauth
(ctx context.Context)
server/peer/peer.go:17
↓ 5 callersMethoddirtyEpoch
()
fs/fs.go:125
↓ 5 callersMethodupdateParents
updateParents updates the modified clock on d and its parents. The source of the modification time change is a child of d, with the given modified cl
fs/dir.go:252
↓ 4 callersMethodClose
()
db/common_test.go:33
↓ 4 callersMethodError
()
cliutil/positional/parse.go:13
↓ 4 callersMethodGetByVolumeID
(volID *VolumeID)
db/volume.go:69
↓ 4 callersMethodGetVolume
(id *db.VolumeID)
server/server.go:130
↓ 4 callersFunctionNew
(k ...kv.KV)
kv/kvmulti/kvmulti.go:14
↓ 4 callersMethodNext
()
db/peer.go:148
↓ 4 callersFunctionOpen
Serve this snapshot with FUSE, with this object store.
fs/snap/fuse.go:20
↓ 4 callersMethodOpen
(ctx context.Context, req *fuse.OpenRequest, resp *fuse.OpenResponse)
fs/readonly/file.go:58
↓ 4 callersMethodPing
(ctx context.Context, in *PingRequest, opts ...grpc.CallOption)
peer/wire/peer.pb.go:769
↓ 4 callersMethodPing
(ctx context.Context, in *PingRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:140
↓ 4 callersMethodRewritePeers
RewritePeers updates the peer identifiers in the clock based on the given mapping. This is useful because the short identifiers are not globally alloc
fs/clock/clock.go:169
↓ 4 callersMethodRun
()
cliutil/subcommands/iface.go:44
↓ 4 callersMethodSeek
Seek to first name equal to name, or the next one if exact match is not found. Passing an empty name seeks to the beginning of the directory.
db/volumeDir.go:171
↓ 4 callersMethodServe
()
server/http/http.go:27
↓ 4 callersFunctionSyncToMissing
SyncToMissing returns what action receiving state from A to B should cause us to take. B does not exist currently.
fs/clock/clock.go:233
↓ 4 callersMethodUnmarshalBinary
(b []byte)
cas/key.go:93
↓ 4 callersMethodUnmarshalBinary
(data []byte)
db/volumeID.go:22
↓ 4 callersFunctioncheckMakePeer
(tx *db.Tx, pub *peer.PublicKey, id peer.ID)
db/peer_test.go:11
↓ 4 callersMethodlast
()
cliutil/subcommands/result.go:56
↓ 4 callersFunctionlocalChunkIndexes
Given a global chunk index, generate a list of local chunk indexes. The list needs to be generated bottom up, but we consume it top down, so generate
cas/blobs/blobs.go:158
↓ 4 callersMethodlookup
Lookup name in active children, adding one if necessary, and return the refcount data for it. Caller is responsible for increasing the refcount. Call
fs/dir.go:123
↓ 4 callersFunctionmustGenerateTLSConfig
(t *testing.T, signPub *[ed25519.PublicKeySize]byte, signPriv *[ed25519.PrivateKeySize]byte)
util/edtls/client_test.go:37
↓ 4 callersMethodpathToKey
(parentInode uint64, name string, clock []byte)
db/volumeConflict.go:21
↓ 4 callersFunctionsetup_dir
(t testing.TB, chunkStore chunks.Store, dirents []*wire.Dirent)
fs/snap/serve_test.go:64
↓ 4 callersMethodsyncToNode
child can be nil iff wde is a Tombstone. caller must hold d.mu
fs/dir.go:772
↓ 3 callersMethodClone
Clone is like Get but clones the chunk if it's not already private. Chunks that are already private are returned as-is. A cloned chunk will have a bu
cas/chunks/stash/stash.go:75
↓ 3 callersMethodCreate
(ctx context.Context, req *fuse.CreateRequest, resp *fuse.CreateResponse)
fs/snap/fuse.go:118
↓ 3 callersMethodDelete
Delete the entry in parent directory with the given name. Returns fuse.ENOENT if an entry does not exist.
db/volumeDir.go:61
↓ 3 callersMethodDirent
Dirent returns the directory entry for this item. out is valid after the transaction.
db/volumeConflict.go:168
↓ 3 callersMethodFS
FS returns the underlying filesystem implementation. Caller must keep a reference to VolumeRef for the duration
server/server.go:288
↓ 3 callersMethodGetType
()
peer/wire/peer.pb.go:544
↓ 3 callersMethodGetType
()
fs/wire/dirent.pb.go:90
↓ 3 callersMethodInodeBucket
InodeBucket returns a bolt bucket for storing inodes in.
db/volume.go:210
↓ 3 callersMethodIsAllowed
(vol *Volume)
db/peer.go:260
↓ 3 callersFunctionNewClient
(rawConn net.Conn, config *tls.Config, peerPub *[ed25519.PublicKeySize]byte)
util/edtls/client.go:30
↓ 3 callersFunctionNewRandReader
(seed int64)
cas/blobs/quickblobs_test.go:44
↓ 3 callersMethodPeerLocationSet
(ctx context.Context, in *PeerLocationSetRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:149
↓ 3 callersMethodPeerStorageAllow
(ctx context.Context, in *PeerStorageAllowRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:150
↓ 3 callersMethodPeerVolumeAllow
(ctx context.Context, in *PeerVolumeAllowRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:151
↓ 3 callersMethodPub
()
db/peer.go:157
↓ 3 callersMethodPublicKeyGet
(ctx context.Context, in *PublicKeyGetRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:141
↓ 3 callersMethodPut
Put returns an id to the pool.
idpool/idpool.go:33
↓ 3 callersMethodRead
(p []byte)
cas/blobs/quickblobs_test.go:30
↓ 3 callersMethodSecret
Secret copies the secret key to out. out is valid after the transaction.
db/sharingKey.go:114
↓ 3 callersMethodSet
(value string)
peer/peer.go:38
↓ 3 callersMethodSnapBucket
SnapBucket returns a bolt bucket for storing snapshots in.
db/volume.go:215
↓ 3 callersMethodValidateKV
(backend string)
server/server.go:254
↓ 3 callersMethodVolumeConnect
(ctx context.Context, in *VolumeConnectRequest, opts ...grpc.CallOption)
peer/wire/peer.pb.go:772
↓ 3 callersMethodVolumeConnect
(ctx context.Context, in *VolumeConnectRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:143
↓ 3 callersMethodVolumeCreate
(ctx context.Context, in *VolumeCreateRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:142
↓ 3 callersMethodVolumeMount
(ctx context.Context, in *VolumeMountRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:144
↓ 3 callersMethodVolumeStorageAdd
(ctx context.Context, in *VolumeStorageAddRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:145
↓ 3 callersMethodVolumeSyncPull
(ctx context.Context, in *VolumeSyncPullRequest, opts ...grpc.CallOption)
peer/wire/peer.pb.go:773
↓ 3 callersFunctionVouch
Vouch a self-signed certificate that is about to be created with an Ed25519 signature.
util/edtls/vouch.go:20
↓ 3 callersMethodadd
(name string, pkg string, cmd interface{})
cliutil/subcommands/result.go:29
↓ 3 callersFunctioncheckHasNoPeers
(app *server.App)
server/control/peerAdd_test.go:22
↓ 3 callersFunctioncheckNoSharingKey
(name string)
server/control/sharingKeyAdd_test.go:19
↓ 3 callersFunctionconnectVolume
connectVolumeOnly connects a volume.
fs/sync_test.go:92
↓ 3 callersFunctiondoReads
(size int64)
fs/bench_test.go:67
↓ 3 callersFunctiondoWrites
(size int64)
fs/bench_test.go:27
↓ 3 callersMethodgrow
(ctx context.Context, level uint8)
cas/blobs/blobs.go:291
↓ 3 callersMethoditem
(k, v []byte)
db/volumeDir.go:178
↓ 3 callersMethodlistSubcommands
(pkg string)
cliutil/subcommands/shell.go:70
↓ 3 callersFunctionmakeKey
(keybuf []byte)
cas/chunks/chunkutil/hash.go:50
↓ 3 callersFunctionmarshalUvarint
(buf *bytes.Buffer, n uint64)
fs/clock/marshal.go:29
↓ 3 callersFunctionmarshalVector
(buf *bytes.Buffer, vec vector)
fs/clock/marshal.go:35
↓ 3 callersFunctionmeta
(field reflect.StructField)
cliutil/positional/usage.go:36
↓ 3 callersFunctionnewDir
(filesys *Volume, inode uint64, parent *dir, name string)
fs/dir.go:69
↓ 3 callersFunctionnewFS
(chunkStore chunks.Store, de *wire.Dirent)
fs/snap/serve_test.go:32
↓ 3 callersMethodrewritePeers
(m map[Peer]Peer)
fs/clock/vector.go:120
↓ 3 callersMethodsaveInternal
saveInternal persists entry name in dir to the database. uses no mutable state of d, and hence does not need to lock d.mu.
fs/dir.go:235
↓ 3 callersFunctionsetup_fs
(t *testing.T)
fs/snap/serve_test.go:93
↓ 3 callersFunctionunmarshalVector
(buf *bytes.Reader, vec *vector)
fs/clock/marshal.go:72
↓ 2 callersMethodAdd
(de *wire.Dirent)
fs/snap/writer.go:30
↓ 2 callersMethodArgs
()
cliutil/subcommands/iface.go:15
← previousnext →101–200 of 1,400, ranked by callers