Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mediachain/concat
/ functions
Functions
779 in github.com/mediachain/concat
⨍
Functions
779
◇
Types & classes
159
↓ 136 callers
Function
checkContains
(t *testing.T, where string, res []interface{}, val interface{})
mc/query/query_test.go:148
↓ 135 callers
Function
checkErrorNow
(t *testing.T, where string, err error)
mc/query/query_test.go:130
↓ 97 callers
Function
checkResultLen
(t *testing.T, where string, res []interface{}, xlen int)
mc/query/query_test.go:138
↓ 63 callers
Function
apiError
(w http.ResponseWriter, status int, err error)
mcnode/api.go:26
↓ 63 callers
Function
parseCompileEval
(db *sql.DB, qs string)
mc/query/query_test.go:1260
↓ 60 callers
Method
Error
()
mcnode/node.go:142
↓ 40 callers
Method
Close
()
mcnode/node.go:84
↓ 37 callers
Function
ParseQuery
query parsing
mc/query/parse.go:8
↓ 33 callers
Function
EvalQuery
query evaluation: very primitive eval with only simple statements will have to do until we have an index and we can compile to sql.
mc/query/eval.go:11
↓ 32 callers
Method
Pretty
()
mc/identity.go:29
↓ 23 callers
Method
push
(val interface{})
mc/query/parse.go:158
↓ 20 callers
Method
pop
()
mc/query/parse.go:163
↓ 17 callers
Method
Scan
(res ...interface{})
mc/query/compile.go:18
↓ 13 callers
Method
String
()
mc/nat.go:33
↓ 11 callers
Function
apiNetError
(w http.ResponseWriter, err error)
mcnode/api.go:31
↓ 10 callers
Method
Get
(Key)
mcnode/node.go:71
↓ 7 callers
Method
Put
(data []byte)
mcnode/node.go:68
↓ 6 callers
Method
Open
(home string)
mcnode/node.go:67
↓ 6 callers
Method
Query
(*mcq.Query)
mcnode/node.go:55
↓ 6 callers
Function
disambigSelector
when we are JOINing, id is ambiguous because it is a column in both tables; this funciton disambiguates
mc/query/compile.go:122
↓ 6 callers
Method
doConnect
Connectivity
mcnode/net.go:458
↓ 6 callers
Function
entityKeyNotFound
(what string)
mc/entity.go:36
↓ 5 callers
Function
apiConfigMethod
config api
mcnode/api.go:1002
↓ 5 callers
Method
doDirConnect
(ctx context.Context, dir p2p_pstore.PeerInfo, proto p2p_proto.ID)
mcnode/net.go:813
↓ 5 callers
Function
isAddrSubnet
multiaddr juggling
mc/util.go:138
↓ 5 callers
Method
isParentOf
(u token32)
mc/query/query.peg.go:236
↓ 5 callers
Function
makeSubnetSpec
(subnets []string)
mc/util.go:174
↓ 5 callers
Method
saveConfig
()
mcnode/node.go:334
↓ 5 callers
Function
sendStreamError
(ctx context.Context, ch chan interface{}, what string)
mcnode/node.go:154
↓ 4 callers
Method
Delete
(Key)
mcnode/node.go:72
↓ 4 callers
Method
Expand
(index int)
mc/query/query.peg.go:474
↓ 4 callers
Method
GetBody
()
proto/stmt.pb.go:73
↓ 4 callers
Method
GetValue
()
proto/node.pb.go:416
↓ 4 callers
Method
QueryStream
(context.Context, *mcq.Query)
mcnode/node.go:56
↓ 4 callers
Function
marshalJSON
(m pb.Message)
proto/json.go:8
↓ 4 callers
Function
selectorColumn
(sel SimpleSelector, rename map[string]string)
mc/query/compile.go:133
↓ 4 callers
Function
unmarshalJSON
(data []byte, m pb.Message)
proto/json.go:14
↓ 3 callers
Method
GetResult
()
proto/node.pb.go:138
↓ 3 callers
Method
GetResult
()
proto/node.pb.go:628
↓ 3 callers
Method
MergeBatch
([]*pb.Statement)
mcnode/node.go:59
↓ 3 callers
Method
String
()
mc/query/query.peg.go:244
↓ 3 callers
Method
doConnectPeer
(ctx context.Context, pid p2p_peer.ID)
mcnode/net.go:467
↓ 3 callers
Method
doDirCollect
(ctx context.Context, proc func(ctx context.Context, dir p2p_pstore.PeerInfo) ([]string, error))
mcnode/net.go:659
↓ 3 callers
Method
listPeersFilter
(filter func(PeerRecord) bool)
mcdir/dir.go:100
↓ 3 callers
Method
lookupManifest
(filter func(*pb.Manifest) bool)
mcdir/mfs.go:125
↓ 3 callers
Method
makePublicAddr
(addr, port string)
mc/nat.go:80
↓ 3 callers
Method
mergeObjectKey
(key58 string, keys map[string]Key)
mcnode/proto.go:791
↓ 2 callers
Method
Bootstrap
()
mcnode/node.go:80
↓ 2 callers
Method
Compact
()
mcnode/node.go:75
↓ 2 callers
Function
CompileQuery
CompileQuery compiles a query to sql. Returns the compiled sql query and a selector for extracting values from an sql result set Note: The row selecto
mc/query/compile.go:31
↓ 2 callers
Method
GetBody
()
proto/node.pb.go:795
↓ 2 callers
Function
GetPublicIP
()
mc/nat.go:128
↓ 2 callers
Method
GetValue
()
proto/node.pb.go:285
↓ 2 callers
Method
GetValue
()
proto/node.pb.go:933
↓ 2 callers
Method
Has
(Key)
mcnode/node.go:70
↓ 2 callers
Method
IsSimpleSelect
(sel string)
mc/query/query.go:23
↓ 2 callers
Method
IterKeys
(ctx context.Context)
mcnode/node.go:73
↓ 2 callers
Method
Order
()
mc/query/query.peg.go:263
↓ 2 callers
Method
PreOrder
()
mc/query/query.peg.go:322
↓ 2 callers
Method
Provide
(ctx context.Context, key string)
mcnode/node.go:82
↓ 2 callers
Function
PublisherID58
(pubk p2p_crypto.PubKey)
mc/identity.go:142
↓ 2 callers
Function
SimpleValueOf
(sv *pb.SimpleValue)
mc/message.go:101
↓ 2 callers
Function
StatementRefs
(stmt *pb.Statement)
mc/query/stmt.go:7
↓ 2 callers
Method
Tokens
()
mc/query/query.peg.go:450
↓ 2 callers
Method
Vacuum
(full bool)
mcnode/node.go:61
↓ 2 callers
Method
_goOnline
()
mcnode/net.go:75
↓ 2 callers
Method
add
(*pb.Statement)
mc/query/eval.go:37
↓ 2 callers
Method
addSimpleKeys
(s *pb.SimpleStatement, keys map[string]bool)
mcnode/gc.go:148
↓ 2 callers
Method
begin
(hint int)
mc/query/eval.go:36
↓ 2 callers
Method
bootstrapConnect
(ctx context.Context, count int)
mcnode/dht.go:76
↓ 2 callers
Function
checkBool
(t *testing.T, where string, e bool)
mc/query/query_test.go:158
↓ 2 callers
Function
checkError
(t *testing.T, where string, err error)
mc/query/query_test.go:123
↓ 2 callers
Function
checkFunctionSelector
(sel *FunctionSelector)
mc/query/eval.go:370
↓ 2 callers
Method
checkStatement
(stmt *pb.Statement)
mcnode/node.go:267
↓ 2 callers
Method
doImport
(stmts []*pb.Statement, pkcache map[string]p2p_crypto.PubKey)
mcnode/node.go:199
↓ 2 callers
Method
doLookup
(ctx context.Context, pid p2p_peer.ID)
mcnode/net.go:489
↓ 2 callers
Method
doMergeDataImpl
(s p2p_net.Stream, keys map[string]Key)
mcnode/proto.go:655
↓ 2 callers
Method
doMergeStream
(ctx context.Context, pid p2p_peer.ID, ch <-chan interface{})
mcnode/proto.go:503
↓ 2 callers
Method
doPublishBatch
(ns string, lst []interface{})
mcnode/node.go:179
↓ 2 callers
Method
doRemoteQuery
(ctx context.Context, pid p2p_peer.ID, q string)
mcnode/proto.go:430
↓ 2 callers
Method
end
()
mc/query/eval.go:38
↓ 2 callers
Function
getIdentity
identity
mcid/main.go:175
↓ 2 callers
Method
getToken32
()
mc/query/query.peg.go:240
↓ 2 callers
Method
httpDirListImpl
(w http.ResponseWriter, r *http.Request, inclSelf bool)
mcnode/api.go:241
↓ 2 callers
Function
loadKey
Key management
mc/identity.go:158
↓ 2 callers
Function
makeSimpleResultSet
(getf StatementSelector, limit int)
mc/query/eval.go:441
↓ 2 callers
Method
makeStatement
(ns string, body interface{})
mcnode/node.go:218
↓ 2 callers
Method
mergeKeys
(keys map[string]bool)
mcnode/gc.go:155
↓ 2 callers
Method
mergeSimple
(stmt *pb.SimpleStatement)
mc/query/stmt.go:32
↓ 2 callers
Method
mergeStatement
(stmt *pb.Statement)
mc/query/stmt.go:19
↓ 2 callers
Method
natAddr
()
mcnode/net.go:314
↓ 2 callers
Function
parseEval
(qs string, stmts []*pb.Statement)
mc/query/query_test.go:595
↓ 2 callers
Method
result
()
mc/query/eval.go:39
↓ 2 callers
Function
saveKey
(privk p2p_crypto.PrivKey, kpath string)
mc/identity.go:167
↓ 2 callers
Function
selectorp
(sel QuerySelector, tbl map[string]bool, funp bool)
mc/query/compile.go:508
↓ 2 callers
Method
sklen
()
mc/query/parse.go:173
↓ 2 callers
Method
toJSON
()
mcnode/node.go:454
↓ 2 callers
Function
unmarshalEntityKeyBytes
(key []byte, khash multihash.Multihash)
mc/entity.go:194
↓ 2 callers
Method
value
()
mc/query/compile.go:285
↓ 2 callers
Method
verifyStatementCacheKeys
(stmt *pb.Statement, pkcache map[string]p2p_crypto.PubKey)
mcnode/node.go:285
next →
1–100 of 779, ranked by callers