MCPcopy Create free account
hub / github.com/corestoreio/pkg / Size

Method Size

storage/lru/lru_cache.go:53–53  ·  view source on GitHub ↗

Size returns how big this value is. If you want to just track the cache by number of objects, you may return the size as 1.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

mainFunction · 0.65
mainFunction · 0.65
MarshalToMethod · 0.65
MarshalToMethod · 0.65
MarshalToMethod · 0.65
MarshalToMethod · 0.65
MarshalToMethod · 0.65
MarshalToMethod · 0.65
SizeMethod · 0.65
SizeMethod · 0.65
SizeMethod · 0.65
SizeMethod · 0.65

Implementers 15

Storestore/entities_gen.go
Storesstore/entities_gen.go
StoreGroupstore/entities_gen.go
StoreGroupsstore/entities_gen.go
StoreWebsitestore/entities_gen.go
StoreWebsitesstore/entities_gen.go
ProtoIsAllowedStoreIDRequeststore/service.pb.go
ProtoRunModeRequeststore/service.pb.go
ProtoIDRequeststore/service.pb.go
ProtoStoreIDbyCodeRequeststore/service.pb.go

Calls

no outgoing calls

Tested by 12

TestFloat64FromFunction · 0.52
TestMakeNullUint8Function · 0.52
TestStringFromFunction · 0.52
TestNullString_MarshalToFunction · 0.52
TestMakeNullUint64Function · 0.52
TestMakeNullInt32Function · 0.52
TestMakeNullUint16Function · 0.52
TestMakeNullUint32Function · 0.52
TestMakeNullInt16Function · 0.52
TestMakeNullInt64Function · 0.52
TestMakeNullInt8Function · 0.52
TestCapacityIsObeyedFunction · 0.52