SYMBOL INDEX (3933 symbols across 300 files) FILE: cmd/util/kingpin_command.go type KingpinHandler (line 9) | type KingpinHandler type KingpinCommand (line 10) | type KingpinCommand FILE: go/chunks/chunk.go type Chunk (line 16) | type Chunk struct method Hash (line 23) | func (c Chunk) Hash() hash.Hash { method Data (line 27) | func (c Chunk) Data() []byte { method IsEmpty (line 31) | func (c Chunk) IsEmpty() bool { function NewChunk (line 36) | func NewChunk(data []byte) Chunk { function NewChunkWithHash (line 42) | func NewChunkWithHash(r hash.Hash, data []byte) Chunk { type ChunkWriter (line 47) | type ChunkWriter struct method Write (line 59) | func (w *ChunkWriter) Write(data []byte) (int, error) { method Chunk (line 69) | func (w *ChunkWriter) Chunk() Chunk { method Close (line 75) | func (w *ChunkWriter) Close() error { function NewChunkWriter (line 52) | func NewChunkWriter() *ChunkWriter { FILE: go/chunks/chunk_serializer.go function Serialize (line 30) | func Serialize(chunk Chunk, writer io.Writer) { function Deserialize (line 51) | func Deserialize(reader io.Reader, chunkChan chan<- *Chunk) (err error) { function deserializeChunk (line 67) | func deserializeChunk(reader io.Reader) (Chunk, error) { FILE: go/chunks/chunk_serializer_test.go function TestSerializeRoundTrip (line 14) | func TestSerializeRoundTrip(t *testing.T) { function TestBadSerialization (line 40) | func TestBadSerialization(t *testing.T) { FILE: go/chunks/chunk_store.go type ChunkStore (line 15) | type ChunkStore interface type Factory (line 75) | type Factory interface FILE: go/chunks/chunk_store_common_test.go type ChunkStoreTestSuite (line 14) | type ChunkStoreTestSuite struct method TestChunkStorePut (line 19) | func (suite *ChunkStoreTestSuite) TestChunkStorePut() { method TestChunkStoreRoot (line 30) | func (suite *ChunkStoreTestSuite) TestChunkStoreRoot() { method TestChunkStoreCommitPut (line 47) | func (suite *ChunkStoreTestSuite) TestChunkStoreCommitPut() { method TestChunkStoreGetNonExisting (line 65) | func (suite *ChunkStoreTestSuite) TestChunkStoreGetNonExisting() { method TestChunkStoreVersion (line 72) | func (suite *ChunkStoreTestSuite) TestChunkStoreVersion() { method TestChunkStoreCommitUnchangedRoot (line 82) | func (suite *ChunkStoreTestSuite) TestChunkStoreCommitUnchangedRoot() { FILE: go/chunks/chunk_test.go function TestChunk (line 13) | func TestChunk(t *testing.T) { function TestChunkWriteAfterCloseFails (line 20) | func TestChunkWriteAfterCloseFails(t *testing.T) { function TestChunkWriteAfterChunkFails (line 31) | func TestChunkWriteAfterChunkFails(t *testing.T) { function TestChunkChunkCloses (line 42) | func TestChunkChunkCloses(t *testing.T) { FILE: go/chunks/memory_store.go type MemoryStorage (line 20) | type MemoryStorage struct method NewView (line 28) | func (ms *MemoryStorage) NewView() ChunkStore { method Get (line 34) | func (ms *MemoryStorage) Get(h hash.Hash) Chunk { method Has (line 45) | func (ms *MemoryStorage) Has(r hash.Hash) bool { method Len (line 53) | func (ms *MemoryStorage) Len() int { method Root (line 60) | func (ms *MemoryStorage) Root() hash.Hash { method Update (line 69) | func (ms *MemoryStorage) Update(current, last hash.Hash, novel map[has... type MemoryStoreView (line 90) | type MemoryStoreView struct method Get (line 98) | func (ms *MemoryStoreView) Get(h hash.Hash) Chunk { method GetMany (line 107) | func (ms *MemoryStoreView) GetMany(hashes hash.HashSet, foundChunks ch... method Has (line 117) | func (ms *MemoryStoreView) Has(h hash.Hash) bool { method HasMany (line 126) | func (ms *MemoryStoreView) HasMany(hashes hash.HashSet) hash.HashSet { method Version (line 136) | func (ms *MemoryStoreView) Version() string { method Put (line 140) | func (ms *MemoryStoreView) Put(c Chunk) { method Len (line 149) | func (ms *MemoryStoreView) Len() int { method Rebase (line 155) | func (ms *MemoryStoreView) Rebase() { method Root (line 161) | func (ms *MemoryStoreView) Root() hash.Hash { method Commit (line 167) | func (ms *MemoryStoreView) Commit(current, last hash.Hash) bool { method Stats (line 182) | func (ms *MemoryStoreView) Stats() interface{} { method StatsSummary (line 186) | func (ms *MemoryStoreView) StatsSummary() string { method Close (line 190) | func (ms *MemoryStoreView) Close() error { type memoryStoreFactory (line 194) | type memoryStoreFactory struct method CreateStoreFromCache (line 203) | func (f *memoryStoreFactory) CreateStoreFromCache(ns string) ChunkStore { method CreateStore (line 207) | func (f *memoryStoreFactory) CreateStore(ns string) ChunkStore { method Shutter (line 221) | func (f *memoryStoreFactory) Shutter() { function NewMemoryStoreFactory (line 199) | func NewMemoryStoreFactory() Factory { FILE: go/chunks/memory_store_test.go function TestMemoryStoreTestSuite (line 13) | func TestMemoryStoreTestSuite(t *testing.T) { type MemoryStoreTestSuite (line 17) | type MemoryStoreTestSuite struct method SetupTest (line 21) | func (suite *MemoryStoreTestSuite) SetupTest() { method TearDownTest (line 25) | func (suite *MemoryStoreTestSuite) TearDownTest() { FILE: go/chunks/put_cache.go function newUnwrittenPutCache (line 13) | func newUnwrittenPutCache() *unwrittenPutCache { type unwrittenPutCache (line 17) | type unwrittenPutCache struct method Add (line 22) | func (p *unwrittenPutCache) Add(c Chunk) bool { method Has (line 33) | func (p *unwrittenPutCache) Has(c Chunk) (has bool) { method Get (line 40) | func (p *unwrittenPutCache) Get(r hash.Hash) Chunk { method Clear (line 49) | func (p *unwrittenPutCache) Clear(chunks []Chunk) { FILE: go/chunks/remote_requests.go type ReadRequest (line 13) | type ReadRequest interface function NewGetRequest (line 18) | func NewGetRequest(r hash.Hash, ch chan<- *Chunk) GetRequest { type GetRequest (line 22) | type GetRequest struct method Hashes (line 56) | func (g GetRequest) Hashes() hash.HashSet { method Outstanding (line 60) | func (g GetRequest) Outstanding() OutstandingRequest { function NewGetManyRequest (line 27) | func NewGetManyRequest(hashes hash.HashSet, wg *sync.WaitGroup, ch chan<... type GetManyRequest (line 31) | type GetManyRequest struct method Hashes (line 64) | func (g GetManyRequest) Hashes() hash.HashSet { method Outstanding (line 68) | func (g GetManyRequest) Outstanding() OutstandingRequest { function NewAbsentRequest (line 37) | func NewAbsentRequest(r hash.Hash, ch chan<- bool) AbsentRequest { type AbsentRequest (line 41) | type AbsentRequest struct method Hashes (line 72) | func (h AbsentRequest) Hashes() hash.HashSet { method Outstanding (line 76) | func (h AbsentRequest) Outstanding() OutstandingRequest { function NewAbsentManyRequest (line 46) | func NewAbsentManyRequest(hashes hash.HashSet, wg *sync.WaitGroup, ch ch... type AbsentManyRequest (line 50) | type AbsentManyRequest struct method Hashes (line 80) | func (h AbsentManyRequest) Hashes() hash.HashSet { method Outstanding (line 84) | func (h AbsentManyRequest) Outstanding() OutstandingRequest { type OutstandingRequest (line 88) | type OutstandingRequest interface type OutstandingGet (line 93) | type OutstandingGet method Satisfy (line 104) | func (r OutstandingGet) Satisfy(h hash.Hash, c *Chunk) { method Fail (line 108) | func (r OutstandingGet) Fail() { type OutstandingGetMany (line 94) | type OutstandingGetMany struct method Satisfy (line 112) | func (ogm OutstandingGetMany) Satisfy(h hash.Hash, c *Chunk) { method Fail (line 117) | func (ogm OutstandingGetMany) Fail() { type OutstandingAbsent (line 98) | type OutstandingAbsent method Satisfy (line 121) | func (oh OutstandingAbsent) Satisfy(h hash.Hash, c *Chunk) { method Fail (line 125) | func (oh OutstandingAbsent) Fail() { type OutstandingAbsentMany (line 99) | type OutstandingAbsentMany struct method Satisfy (line 129) | func (ohm OutstandingAbsentMany) Satisfy(h hash.Hash, c *Chunk) { method Fail (line 134) | func (ohm OutstandingAbsentMany) Fail() { type ReadBatch (line 139) | type ReadBatch method Close (line 142) | func (rb *ReadBatch) Close() error { FILE: go/chunks/remote_requests_test.go function TestGetRequestBatch (line 15) | func TestGetRequestBatch(t *testing.T) { function TestGetManyRequestBatch (line 78) | func TestGetManyRequestBatch(t *testing.T) { function TestAbsentManyRequestBatch (line 120) | func TestAbsentManyRequestBatch(t *testing.T) { FILE: go/chunks/test_utils.go function assertInputInStore (line 13) | func assertInputInStore(input string, h hash.Hash, s ChunkStore, assert ... function assertInputNotInStore (line 19) | func assertInputNotInStore(input string, h hash.Hash, s ChunkStore, asse... type TestStorage (line 24) | type TestStorage struct method NewView (line 28) | func (t *TestStorage) NewView() *TestStoreView { type TestStoreView (line 32) | type TestStoreView struct method Get (line 39) | func (s *TestStoreView) Get(h hash.Hash) Chunk { method GetMany (line 44) | func (s *TestStoreView) GetMany(hashes hash.HashSet, foundChunks chan ... method Has (line 49) | func (s *TestStoreView) Has(h hash.Hash) bool { method HasMany (line 54) | func (s *TestStoreView) HasMany(hashes hash.HashSet) hash.HashSet { method Put (line 59) | func (s *TestStoreView) Put(c Chunk) { type TestStoreFactory (line 64) | type TestStoreFactory struct method CreateStore (line 72) | func (f *TestStoreFactory) CreateStore(ns string) ChunkStore { method Shutter (line 83) | func (f *TestStoreFactory) Shutter() { function NewTestStoreFactory (line 68) | func NewTestStoreFactory() *TestStoreFactory { FILE: go/config/config.go type Config (line 19) | type Config struct method WriteTo (line 83) | func (c *Config) WriteTo(configHome string) (string, error) { method String (line 125) | func (c *Config) String() string { method writeableString (line 134) | func (c *Config) writeableString() string { type DbConfig (line 24) | type DbConfig struct constant NomsConfigFile (line 29) | NomsConfigFile = ".nomsconfig" constant DefaultDbAlias (line 30) | DefaultDbAlias = "default" function FindNomsConfig (line 38) | func FindNomsConfig() (*Config, error) { function ReadConfig (line 62) | func ReadConfig(name string) (*Config, error) { function NewConfig (line 75) | func NewConfig(data string) (*Config, error) { function absDbSpec (line 96) | func absDbSpec(configHome string, url string) string { function qualifyPaths (line 111) | func qualifyPaths(configPath string, c *Config) (*Config, error) { FILE: go/config/config_test.go constant nbsSpec (line 19) | nbsSpec = "nbs:./local" constant memSpec (line 20) | memSpec = "mem" constant httpSpec (line 21) | httpSpec = "http://test.com:8080/foo" constant nbsAbsSpec (line 22) | nbsAbsSpec = "nbs:/tmp/noms" constant remoteAlias (line 23) | remoteAlias = "origin" type paths (line 62) | type paths struct function getPaths (line 67) | func getPaths(assert *assert.Assertions, base string) paths { function qualifyFilePath (line 77) | func qualifyFilePath(assert *assert.Assertions, path string) string { function assertDbSpecsEquiv (line 83) | func assertDbSpecsEquiv(assert *assert.Assertions, expected string, actu... function validateConfig (line 104) | func validateConfig(assert *assert.Assertions, file string, e *Config, a... function writeConfig (line 114) | func writeConfig(assert *assert.Assertions, c *Config, home string) stri... function TestConfig (line 120) | func TestConfig(t *testing.T) { function TestUnreadableConfig (line 149) | func TestUnreadableConfig(t *testing.T) { function TestNoConfig (line 164) | func TestNoConfig(t *testing.T) { function TestBadConfig (line 173) | func TestBadConfig(t *testing.T) { function TestQualifyingPaths (line 184) | func TestQualifyingPaths(t *testing.T) { function TestCwd (line 197) | func TestCwd(t *testing.T) { FILE: go/config/resolver.go type Resolver (line 18) | type Resolver struct method verbose (line 39) | func (r *Resolver) verbose(orig string, replacement string) string { method ResolveDbSpec (line 52) | func (r *Resolver) ResolveDbSpec(str string) string { method ResolvePathSpec (line 70) | func (r *Resolver) ResolvePathSpec(str string) string { method GetDatabase (line 90) | func (r *Resolver) GetDatabase(str string) (datas.Database, error) { method GetChunkStore (line 99) | func (r *Resolver) GetChunkStore(str string) (chunks.ChunkStore, error) { method GetDataset (line 110) | func (r *Resolver) GetDataset(str string) (datas.Database, datas.Datas... method GetPath (line 121) | func (r *Resolver) GetPath(str string) (datas.Database, types.Value, e... function NewResolver (line 27) | func NewResolver() *Resolver { FILE: go/config/resolver_test.go constant localSpec (line 18) | localSpec = nbsSpec constant remoteSpec (line 19) | remoteSpec = httpSpec constant testDs (line 20) | testDs = "testds" constant testObject (line 21) | testObject = "#pckdvpvr9br1fie6c3pjudrlthe7na18" type testData (line 24) | type testData struct function withConfig (line 63) | func withConfig(t *testing.T) *Resolver { function withoutConfig (line 74) | func withoutConfig(t *testing.T) *Resolver { function assertPathSpecsEquiv (line 83) | func assertPathSpecsEquiv(assert *assert.Assertions, expected string, ac... function TestResolveDatabaseWithConfig (line 97) | func TestResolveDatabaseWithConfig(t *testing.T) { function TestResolvePathWithConfig (line 106) | func TestResolvePathWithConfig(t *testing.T) { function TestResolveDatabaseWithoutConfig (line 115) | func TestResolveDatabaseWithoutConfig(t *testing.T) { function TestResolvePathWithoutConfig (line 124) | func TestResolvePathWithoutConfig(t *testing.T) { function TestResolveDestPathWithDot (line 134) | func TestResolveDestPathWithDot(t *testing.T) { FILE: go/constants/http.go constant RootPath (line 8) | RootPath = "/root/" constant GetRefsPath (line 9) | GetRefsPath = "/getRefs/" constant GetBlobPath (line 10) | GetBlobPath = "/getBlob/" constant HasRefsPath (line 11) | HasRefsPath = "/hasRefs/" constant WriteValuePath (line 12) | WriteValuePath = "/writeValue/" constant BasePath (line 13) | BasePath = "/" constant GraphQLPath (line 15) | GraphQLPath = "/graphql/" constant StatsPath (line 16) | StatsPath = "/stats/" FILE: go/constants/version.go constant NomsVersion (line 8) | NomsVersion = "7.18" FILE: go/d/check_error.go function CheckError (line 15) | func CheckError(err error) { function CheckErrorNoUsage (line 23) | func CheckErrorNoUsage(err error) { FILE: go/d/try.go type panicker (line 21) | type panicker struct method Errorf (line 24) | func (s panicker) Errorf(format string, args ...interface{}) { function Panic (line 30) | func Panic(format string, args ...interface{}) { function PanicIfError (line 42) | func PanicIfError(err error) { function PanicIfTrue (line 49) | func PanicIfTrue(b bool) { function PanicIfFalse (line 56) | func PanicIfFalse(b bool) { function Try (line 66) | func Try(f func(), types ...interface{}) (err error) { function TryCatch (line 76) | func TryCatch(f func(), catch func(err error) error) (err error) { type WrappedError (line 82) | type WrappedError interface function Wrap (line 89) | func Wrap(err error) WrappedError { function Unwrap (line 105) | func Unwrap(err error) error { function causeInTypes (line 114) | func causeInTypes(err error, types ...interface{}) bool { function PanicIfNotType (line 126) | func PanicIfNotType(err error, types ...interface{}) error { type wrappedError (line 140) | type wrappedError struct method Error (line 145) | func (we wrappedError) Error() string { return we.msg } method Cause (line 146) | func (we wrappedError) Cause() error { return we.cause } method Unwrap (line 147) | func (we wrappedError) Unwrap() error { return we.cause } type stackTracer (line 149) | type stackTracer struct method Errorf (line 153) | func (s *stackTracer) Errorf(format string, args ...interface{}) { function recoverWrappedTypes (line 157) | func recoverWrappedTypes(errp *error, types []interface{}) { function recoverWrapped (line 171) | func recoverWrapped(errp *error, catch func(err error) error) { FILE: go/d/try_test.go type testError (line 20) | type testError struct method Error (line 24) | func (e testError) Error() string { return e.s } type testError2 (line 26) | type testError2 struct method Error (line 30) | func (e testError2) Error() string { return e.s } function TestTry2 (line 32) | func TestTry2(t *testing.T) { function TestTryCatch (line 66) | func TestTryCatch(t *testing.T) { function TestUnwrap (line 115) | func TestUnwrap(t *testing.T) { function TestPanicIfTrue (line 124) | func TestPanicIfTrue(t *testing.T) { function TestPanicIfFalse (line 154) | func TestPanicIfFalse(t *testing.T) { function TestPanicIfNotType (line 184) | func TestPanicIfNotType(t *testing.T) { function TestCauseInTypes (line 198) | func TestCauseInTypes(t *testing.T) { function TestWrap (line 210) | func TestWrap(t *testing.T) { FILE: go/datas/commit.go constant ParentsField (line 17) | ParentsField = "parents" constant ValueField (line 18) | ValueField = "value" constant MetaField (line 19) | MetaField = "meta" constant commitName (line 20) | commitName = "Commit" function NewCommit (line 43) | func NewCommit(value types.Value, parents types.Set, meta types.Struct) ... function FindCommonAncestor (line 50) | func FindCommonAncestor(c1, c2 types.Ref, vr types.ValueReader) (a types... function parentsToQueue (line 77) | func parentsToQueue(refs types.RefSlice, q *types.RefByHeight, vr types.... function findCommonRef (line 88) | func findCommonRef(a, b types.RefSlice) (types.Ref, bool) { function makeCommitStructType (line 106) | func makeCommitStructType(metaType, parentsType, valueType *types.Type) ... function getRefElementType (line 123) | func getRefElementType(t *types.Type) *types.Type { function IsCommitType (line 128) | func IsCommitType(t *types.Type) bool { function IsCommit (line 132) | func IsCommit(v types.Value) bool { function IsRefOfCommitType (line 136) | func IsRefOfCommitType(t *types.Type) bool { FILE: go/datas/commit_options.go type CommitOptions (line 13) | type CommitOptions struct FILE: go/datas/commit_test.go function TestNewCommit (line 18) | func TestNewCommit(t *testing.T) { function TestCommitWithoutMetaField (line 88) | func TestCommitWithoutMetaField(t *testing.T) { function toRefSet (line 112) | func toRefSet(vrw types.ValueReadWriter, commits ...types.Struct) types.... function toValuesString (line 121) | func toValuesString(refSet types.Set, vr types.ValueReader) string { function TestFindCommonAncestor (line 129) | func TestFindCommonAncestor(t *testing.T) { function TestNewCommitRegressionTest (line 207) | func TestNewCommitRegressionTest(t *testing.T) { FILE: go/datas/database.go type Database (line 24) | type Database interface function NewDatabase (line 121) | func NewDatabase(cs chunks.ChunkStore) Database { FILE: go/datas/database_common.go type database (line 19) | type database struct method chunkStore (line 48) | func (db *database) chunkStore() chunks.ChunkStore { method Stats (line 52) | func (db *database) Stats() interface{} { method StatsSummary (line 56) | func (db *database) StatsSummary() string { method Flush (line 60) | func (db *database) Flush() { method Datasets (line 71) | func (db *database) Datasets() types.Map { method GetDataset (line 80) | func (db *database) GetDataset(datasetID string) Dataset { method Rebase (line 92) | func (db *database) Rebase() { method Close (line 96) | func (db *database) Close() error { method SetHead (line 100) | func (db *database) SetHead(ds Dataset, newHeadRef types.Ref) (Dataset... method doSetHead (line 104) | func (db *database) doSetHead(ds Dataset, newHeadRef types.Ref) error { method FastForward (line 117) | func (db *database) FastForward(ds Dataset, newHeadRef types.Ref) (Dat... method doFastForward (line 121) | func (db *database) doFastForward(ds Dataset, newHeadRef types.Ref) er... method Commit (line 135) | func (db *database) Commit(ds Dataset, v types.Value, opts CommitOptio... method CommitValue (line 142) | func (db *database) CommitValue(ds Dataset, v types.Value) (Dataset, e... method doCommit (line 147) | func (db *database) doCommit(datasetID string, commit types.Struct, me... method Delete (line 194) | func (db *database) Delete(ds Dataset) (Dataset, error) { method doDelete (line 199) | func (db *database) doDelete(datasetIDstr string) error { method tryCommitChunks (line 226) | func (db *database) tryCommitChunks(currentDatasets types.Map, current... method validateRefAsCommit (line 235) | func (db *database) validateRefAsCommit(r types.Ref) types.Struct { method doHeadUpdate (line 263) | func (db *database) doHeadUpdate(ds Dataset, updateFunc func(ds Datase... type rootTracker (line 30) | type rootTracker interface function newDatabase (line 36) | func newDatabase(cs chunks.ChunkStore) *database { function buildNewCommit (line 247) | func buildNewCommit(ds Dataset, v types.Value, opts CommitOptions) types... FILE: go/datas/database_server.go type connectionState (line 20) | type connectionState struct type RemoteDatabaseServer (line 25) | type RemoteDatabaseServer struct method Port (line 47) | func (s *RemoteDatabaseServer) Port() int { method Run (line 77) | func (s *RemoteDatabaseServer) Run() { method connState (line 139) | func (s *RemoteDatabaseServer) connState(c net.Conn, cs http.ConnState) { method Stop (line 148) | func (s *RemoteDatabaseServer) Stop() { function NewRemoteDatabaseServer (line 36) | func NewRemoteDatabaseServer(cs chunks.ChunkStore, address string, port ... function Router (line 51) | func Router(cs chunks.ChunkStore, prefix string) *httprouter.Router { function makeHandle (line 116) | func makeHandle(hndlr Handler, cs chunks.ChunkStore) httprouter.Handle { function noopHandle (line 122) | func noopHandle(w http.ResponseWriter, r *http.Request, ps httprouter.Pa... function corsHandle (line 125) | func corsHandle(f httprouter.Handle) httprouter.Handle { FILE: go/datas/database_test.go function TestLocalDatabase (line 18) | func TestLocalDatabase(t *testing.T) { function TestRemoteDatabase (line 22) | func TestRemoteDatabase(t *testing.T) { function TestValidateRef (line 26) | func TestValidateRef(t *testing.T) { type DatabaseSuite (line 37) | type DatabaseSuite struct method TearDownTest (line 66) | func (suite *DatabaseSuite) TearDownTest() { method TestTolerateUngettableRefs (line 76) | func (suite *DatabaseSuite) TestTolerateUngettableRefs() { method TestCompletenessCheck (line 80) | func (suite *DatabaseSuite) TestCompletenessCheck() { method TestRebase (line 100) | func (suite *DatabaseSuite) TestRebase() { method TestCommitProperlyTracksRoot (line 138) | func (suite *DatabaseSuite) TestCommitProperlyTracksRoot() { method TestDatabaseCommit (line 161) | func (suite *DatabaseSuite) TestDatabaseCommit() { method TestDatasetsMapType (line 223) | func (suite *DatabaseSuite) TestDatasetsMapType() { method TestDatabaseDuplicateCommit (line 246) | func (suite *DatabaseSuite) TestDatabaseDuplicateCommit() { method TestDatabaseCommitMerge (line 260) | func (suite *DatabaseSuite) TestDatabaseCommitMerge() { method TestDatabaseDelete (line 302) | func (suite *DatabaseSuite) TestDatabaseDelete() { method TestCommitWithConcurrentChunkStoreUse (line 348) | func (suite *DatabaseSuite) TestCommitWithConcurrentChunkStoreUse() { method TestDeleteWithConcurrentChunkStoreUse (line 395) | func (suite *DatabaseSuite) TestDeleteWithConcurrentChunkStoreUse() { method TestSetHead (line 439) | func (suite *DatabaseSuite) TestSetHead() { method TestFastForward (line 465) | func (suite *DatabaseSuite) TestFastForward() { method TestDatabaseHeightOfRefs (line 503) | func (suite *DatabaseSuite) TestDatabaseHeightOfRefs() { method TestDatabaseHeightOfCollections (line 512) | func (suite *DatabaseSuite) TestDatabaseHeightOfCollections() { method TestMetaOption (line 559) | func (suite *DatabaseSuite) TestMetaOption() { type LocalDatabaseSuite (line 44) | type LocalDatabaseSuite struct method SetupTest (line 48) | func (suite *LocalDatabaseSuite) SetupTest() { type RemoteDatabaseSuite (line 54) | type RemoteDatabaseSuite struct method SetupTest (line 58) | func (suite *RemoteDatabaseSuite) SetupTest() { method TestWriteRefToNonexistentValue (line 70) | func (suite *RemoteDatabaseSuite) TestWriteRefToNonexistentValue() { function newOpts (line 242) | func newOpts(vrw types.ValueReadWriter, parents ...types.Value) CommitOp... function newOptsWithMerge (line 298) | func newOptsWithMerge(vrw types.ValueReadWriter, policy merge.ResolveFun... type waitDuringUpdateRootChunkStore (line 336) | type waitDuringUpdateRootChunkStore struct method Commit (line 341) | func (w *waitDuringUpdateRootChunkStore) Commit(current, last hash.Has... FILE: go/datas/dataset.go type Dataset (line 23) | type Dataset struct method Database (line 36) | func (ds Dataset) Database() Database { method ID (line 41) | func (ds Dataset) ID() string { method MaybeHead (line 48) | func (ds Dataset) MaybeHead() (types.Struct, bool) { method Head (line 57) | func (ds Dataset) Head() types.Struct { method MaybeHeadRef (line 68) | func (ds Dataset) MaybeHeadRef() (types.Ref, bool) { method HasHead (line 76) | func (ds Dataset) HasHead() bool { method HeadRef (line 82) | func (ds Dataset) HeadRef() types.Ref { method MaybeHeadValue (line 92) | func (ds Dataset) MaybeHeadValue() (types.Value, bool) { method HeadValue (line 100) | func (ds Dataset) HeadValue() types.Value { function newDataset (line 29) | func newDataset(db Database, id string, head types.Value) Dataset { function IsValidDatasetName (line 105) | func IsValidDatasetName(name string) bool { FILE: go/datas/dataset_test.go function TestExplicitBranchUsingDatasets (line 15) | func TestExplicitBranchUsingDatasets(t *testing.T) { function TestTwoClientsWithEmptyDataset (line 64) | func TestTwoClientsWithEmptyDataset(t *testing.T) { function TestTwoClientsWithNonEmptyDataset (line 93) | func TestTwoClientsWithNonEmptyDataset(t *testing.T) { function TestIdValidation (line 132) | func TestIdValidation(t *testing.T) { function TestHeadValueFunctions (line 145) | func TestHeadValueFunctions(t *testing.T) { function TestIsValidDatasetName (line 179) | func TestIsValidDatasetName(t *testing.T) { FILE: go/datas/http_chunk_store.go constant httpChunkStoreConcurrency (line 31) | httpChunkStoreConcurrency = 6 constant readThreshold (line 32) | readThreshold = 1 << 12 type httpChunkStore (line 42) | type httpChunkStore struct method Version (line 94) | func (hcs *httpChunkStore) Version() string { method Close (line 98) | func (hcs *httpChunkStore) Close() (e error) { method Stats (line 115) | func (hcs *httpChunkStore) Stats() interface{} { method StatsSummary (line 127) | func (hcs *httpChunkStore) StatsSummary() string { method Get (line 142) | func (hcs *httpChunkStore) Get(h hash.Hash) chunks.Chunk { method GetMany (line 164) | func (hcs *httpChunkStore) GetMany(hashes hash.HashSet, foundChunks ch... method batchGetRequests (line 194) | func (hcs *httpChunkStore) batchGetRequests() { method Has (line 198) | func (hcs *httpChunkStore) Has(h hash.Hash) bool { method HasMany (line 219) | func (hcs *httpChunkStore) HasMany(hashes hash.HashSet) (absent hash.H... method batchHasRequests (line 247) | func (hcs *httpChunkStore) batchHasRequests() { method batchReadRequests (line 253) | func (hcs *httpChunkStore) batchReadRequests(queue <-chan chunks.ReadR... method sendReadRequests (line 268) | func (hcs *httpChunkStore) sendReadRequests(req chunks.ReadRequest, qu... method getRefs (line 296) | func (hcs *httpChunkStore) getRefs(batch chunks.ReadBatch) { method hasRefs (line 334) | func (hcs *httpChunkStore) hasRefs(batch chunks.ReadBatch) { method Put (line 377) | func (hcs *httpChunkStore) Put(c chunks.Chunk) { method Root (line 420) | func (hcs *httpChunkStore) Root() hash.Hash { method Rebase (line 426) | func (hcs *httpChunkStore) Rebase() { method getRoot (line 433) | func (hcs *httpChunkStore) getRoot(checkVers bool) (root hash.Hash, ve... method Commit (line 448) | func (hcs *httpChunkStore) Commit(current, last hash.Hash) bool { method requestRoot (line 498) | func (hcs *httpChunkStore) requestRoot(method string, current, last ha... function NewHTTPChunkStore (line 60) | func NewHTTPChunkStore(baseURL, auth string) chunks.ChunkStore { function newHTTPChunkStoreWithClient (line 65) | func newHTTPChunkStoreWithClient(baseURL, auth string, client httpDoer) ... type httpDoer (line 90) | type httpDoer interface function checkStatus (line 119) | func checkStatus(status int, res *http.Response, body io.Reader) { type batchGetter (line 251) | type batchGetter function resBodyReader (line 364) | func resBodyReader(res *http.Response) (reader io.ReadCloser) { function sendWriteRequest (line 388) | func sendWriteRequest(u url.URL, auth, vers string, p *nbs.NomsBlockCach... function newRequest (line 516) | func newRequest(method, auth, url string, body io.Reader, header http.He... function expectVersion (line 531) | func expectVersion(expected string, res *http.Response) { function closeResponse (line 546) | func closeResponse(rc io.ReadCloser) error { FILE: go/datas/http_chunk_store_test.go constant testAuthToken (line 24) | testAuthToken = "aToken123" function TestHTTPChunkStore (line 26) | func TestHTTPChunkStore(t *testing.T) { type HTTPChunkStoreSuite (line 30) | type HTTPChunkStoreSuite struct method SetupTest (line 52) | func (suite *HTTPChunkStoreSuite) SetupTest() { method TearDownTest (line 150) | func (suite *HTTPChunkStoreSuite) TearDownTest() { method TestPutChunk (line 155) | func (suite *HTTPChunkStoreSuite) TestPutChunk() { method TestPutChunksInOrder (line 164) | func (suite *HTTPChunkStoreSuite) TestPutChunksInOrder() { method TestStats (line 182) | func (suite *HTTPChunkStoreSuite) TestStats() { method TestRebase (line 191) | func (suite *HTTPChunkStoreSuite) TestRebase() { method TestRoot (line 204) | func (suite *HTTPChunkStoreSuite) TestRoot() { method TestVersionMismatch (line 213) | func (suite *HTTPChunkStoreSuite) TestVersionMismatch() { method TestCommit (line 222) | func (suite *HTTPChunkStoreSuite) TestCommit() { method TestEmptyHashCommit (line 231) | func (suite *HTTPChunkStoreSuite) TestEmptyHashCommit() { method TestCommitWithParams (line 236) | func (suite *HTTPChunkStoreSuite) TestCommitWithParams() { method TestGet (line 247) | func (suite *HTTPChunkStoreSuite) TestGet() { method TestGetMany (line 261) | func (suite *HTTPChunkStoreSuite) TestGetMany() { method TestOverGetThreshold_Issue3589 (line 283) | func (suite *HTTPChunkStoreSuite) TestOverGetThreshold_Issue3589() { method TestGetManyAllCached (line 312) | func (suite *HTTPChunkStoreSuite) TestGetManyAllCached() { method TestGetManySomeCached (line 331) | func (suite *HTTPChunkStoreSuite) TestGetManySomeCached() { method TestGetSame (line 353) | func (suite *HTTPChunkStoreSuite) TestGetSame() { method TestGetWithRoot (line 367) | func (suite *HTTPChunkStoreSuite) TestGetWithRoot() { method TestHas (line 400) | func (suite *HTTPChunkStoreSuite) TestHas() { method TestHasMany (line 412) | func (suite *HTTPChunkStoreSuite) TestHasMany() { method TestHasManyAllCached (line 433) | func (suite *HTTPChunkStoreSuite) TestHasManyAllCached() { method TestHasManySomeCached (line 452) | func (suite *HTTPChunkStoreSuite) TestHasManySomeCached() { type inlineServer (line 36) | type inlineServer struct method Do (line 40) | func (serv inlineServer) Do(req *http.Request) (resp *http.Response, e... function newHTTPChunkStoreForTest (line 58) | func newHTTPChunkStoreForTest(cs chunks.ChunkStore) *httpChunkStore { function newAuthenticatingHTTPChunkStoreForTest (line 106) | func newAuthenticatingHTTPChunkStoreForTest(assert *assert.Assertions, c... function newBadVersionHTTPChunkStoreForTest (line 130) | func newBadVersionHTTPChunkStoreForTest(cs chunks.ChunkStore) *httpChunk... FILE: go/datas/pull.go type PullProgress (line 18) | type PullProgress struct constant bytesWrittenSampleRate (line 23) | bytesWrittenSampleRate = .10 constant batchSize (line 24) | batchSize = 1 << 12 function Pull (line 28) | func Pull(srcDB, sinkDB Database, sourceRef types.Ref, progressCh chan P... FILE: go/datas/pull_test.go constant datasetID (line 15) | datasetID = "ds1" function TestLocalToLocalPulls (line 17) | func TestLocalToLocalPulls(t *testing.T) { function TestRemoteToLocalPulls (line 21) | func TestRemoteToLocalPulls(t *testing.T) { function TestLocalToRemotePulls (line 25) | func TestLocalToRemotePulls(t *testing.T) { function TestRemoteToRemotePulls (line 29) | func TestRemoteToRemotePulls(t *testing.T) { type PullSuite (line 33) | type PullSuite struct method TearDownTest (line 93) | func (suite *PullSuite) TearDownTest() { method TestPullEverything (line 148) | func (suite *PullSuite) TestPullEverything() { method TestPullMultiGeneration (line 183) | func (suite *PullSuite) TestPullMultiGeneration() { method TestPullDivergentHistory (line 229) | func (suite *PullSuite) TestPullDivergentHistory() { method TestPullUpdates (line 269) | func (suite *PullSuite) TestPullUpdates() { method commitToSource (line 295) | func (suite *PullSuite) commitToSource(v types.Value, p types.Set) typ... method commitToSink (line 302) | func (suite *PullSuite) commitToSink(v types.Value, p types.Set) types... function makeTestStoreViews (line 42) | func makeTestStoreViews() (ts1, ts2 *chunks.TestStoreView) { type LocalToLocalSuite (line 47) | type LocalToLocalSuite struct method SetupTest (line 51) | func (suite *LocalToLocalSuite) SetupTest() { type RemoteToLocalSuite (line 57) | type RemoteToLocalSuite struct method SetupTest (line 61) | func (suite *RemoteToLocalSuite) SetupTest() { type LocalToRemoteSuite (line 67) | type LocalToRemoteSuite struct method SetupTest (line 71) | func (suite *LocalToRemoteSuite) SetupTest() { type RemoteToRemoteSuite (line 78) | type RemoteToRemoteSuite struct method SetupTest (line 82) | func (suite *RemoteToRemoteSuite) SetupTest() { function makeRemoteDb (line 89) | func makeRemoteDb(cs chunks.ChunkStore) Database { type progressTracker (line 100) | type progressTracker struct method Validate (line 117) | func (pt *progressTracker) Validate(suite *PullSuite) { function startProgressTracker (line 105) | func startProgressTracker() *progressTracker { function buildListOfHeight (line 309) | func buildListOfHeight(height int, vrw types.ValueReadWriter) types.List { FILE: go/datas/remote_database_handlers.go type URLParams (line 31) | type URLParams interface type Handler (line 35) | type Handler constant NomsVersionHeader (line 40) | NomsVersionHeader = "x-noms-vers" constant nomsBaseHTML (line 41) | nomsBaseHTML = "

Hi. This is a Noms HTTP... constant maxGetBatchSize (line 42) | maxGetBatchSize = 1 << 14 function createHandler (line 99) | func createHandler(hndlr Handler, versionCheck bool) Handler { function handleWriteValue (line 123) | func handleWriteValue(w http.ResponseWriter, req *http.Request, ps URLPa... function buildWriteValueRequest (line 201) | func buildWriteValueRequest(chunkChan chan *chunks.Chunk) io.ReadCloser { function checkClose (line 216) | func checkClose(c io.Closer) { function bodyReader (line 220) | func bodyReader(req *http.Request) (reader io.ReadCloser) { function respWriter (line 233) | func respWriter(req *http.Request, w http.ResponseWriter) (writer io.Wri... type wc (line 247) | type wc struct method Close (line 251) | func (wc wc) Close() error { function persistChunks (line 255) | func persistChunks(cs chunks.ChunkStore) { function handleGetRefs (line 260) | func handleGetRefs(w http.ResponseWriter, req *http.Request, ps URLParam... function handleGetBlob (line 301) | func handleGetBlob(w http.ResponseWriter, req *http.Request, ps URLParam... function extractHashes (line 326) | func extractHashes(req *http.Request) hash.HashSlice { function BuildHashesRequestForTest (line 333) | func BuildHashesRequestForTest(hashes hash.HashSet) io.ReadCloser { function buildHashesRequest (line 341) | func buildHashesRequest(batch chunks.ReadBatch) io.ReadCloser { function handleHasRefs (line 350) | func handleHasRefs(w http.ResponseWriter, req *http.Request, ps URLParam... function handleRootGet (line 367) | func handleRootGet(w http.ResponseWriter, req *http.Request, ps URLParam... function handleStats (line 375) | func handleStats(w http.ResponseWriter, req *http.Request, ps URLParams,... function handleRootPost (line 383) | func handleRootPost(w http.ResponseWriter, req *http.Request, ps URLPara... function validateLast (line 449) | func validateLast(last hash.Hash, vrw types.ValueReadWriter) types.Map { function validateProposed (line 460) | func validateProposed(proposed, last hash.Hash, vrw types.ValueReadWrite... function assertMapOfStringToRefOfCommit (line 478) | func assertMapOfStringToRefOfCommit(proposed, datasets types.Map, vr typ... function mergeDatasetMaps (line 503) | func mergeDatasetMaps(a, b, parent types.Map, vrw types.ValueReadWriter)... function handleGraphQL (line 576) | func handleGraphQL(w http.ResponseWriter, req *http.Request, ps URLParam... function handleBaseGet (line 635) | func handleBaseGet(w http.ResponseWriter, req *http.Request, ps URLParam... FILE: go/datas/remote_database_handlers_test.go function TestHandleWriteValue (line 26) | func TestHandleWriteValue(t *testing.T) { function TestHandleWriteValuePanic (line 61) | func TestHandleWriteValuePanic(t *testing.T) { function TestHandleWriteValueDupChunks (line 74) | func TestHandleWriteValueDupChunks(t *testing.T) { function TestBuildWriteValueRequest (line 101) | func TestBuildWriteValueRequest(t *testing.T) { function serializeChunks (line 128) | func serializeChunks(chnx []chunks.Chunk, assert *assert.Assertions) io.... function TestBuildHashesRequest (line 138) | func TestBuildHashesRequest(t *testing.T) { function TestHandleGetRefs (line 154) | func TestHandleGetRefs(t *testing.T) { function TestHandleGetBlob (line 198) | func TestHandleGetBlob(t *testing.T) { function TestHandleHasRefs (line 261) | func TestHandleHasRefs(t *testing.T) { function TestHandleGetRoot (line 306) | func TestHandleGetRoot(t *testing.T) { function TestHandleGetBase (line 323) | func TestHandleGetBase(t *testing.T) { function TestHandlePostRoot (line 335) | func TestHandlePostRoot(t *testing.T) { function buildPostRootURL (line 376) | func buildPostRootURL(current, last hash.Hash) string { function buildTestCommit (line 385) | func buildTestCommit(vrw types.ValueReadWriter, v types.Value, parents .... function TestRejectPostRoot (line 389) | func TestRejectPostRoot(t *testing.T) { type params (line 426) | type params method ByName (line 428) | func (p params) ByName(k string) string { FILE: go/datas/serialize_hashes.go function serializedLength (line 16) | func serializedLength(batch chunks.ReadBatch) uint32 { function serializeHashes (line 20) | func serializeHashes(w io.Writer, batch chunks.ReadBatch) { function serializeHash (line 28) | func serializeHash(w io.Writer, h hash.Hash) { function deserializeHashes (line 33) | func deserializeHashes(reader io.Reader) hash.HashSlice { function deserializeHash (line 45) | func deserializeHash(reader io.Reader) hash.Hash { FILE: go/datas/serialize_hashes_test.go function TestHashRoundTrip (line 16) | func TestHashRoundTrip(t *testing.T) { FILE: go/diff/apply_patch.go function Apply (line 28) | func Apply(root types.Value, patch Patch) types.Value { function commonPrefixCount (line 199) | func commonPrefixCount(p1, p2 types.Path) int { type stackElem (line 215) | type stackElem struct method newestValue (line 228) | func (se stackElem) newestValue() types.Value { type patchStack (line 235) | type patchStack struct method updateNode (line 109) | func (stack *patchStack) updateNode(top *stackElem, parent types.Value... method push (line 242) | func (stack *patchStack) push(p types.Path, pp types.PathPart, changeT... method top (line 246) | func (stack *patchStack) top() *stackElem { method pop (line 252) | func (stack *patchStack) pop() stackElem { method Len (line 263) | func (stack *patchStack) Len() int { method adjustIndexOffset (line 277) | func (stack *patchStack) adjustIndexOffset(p types.Path, changeType ty... FILE: go/diff/apply_patch_test.go function TestCommonPrefixCount (line 17) | func TestCommonPrefixCount(t *testing.T) { type testFunc (line 50) | type testFunc type testKey (line 51) | type testKey struct function vfk (line 59) | func vfk(keys ...string) []types.Value { function testValues (line 67) | func testValues(vrw types.ValueReadWriter) map[string]types.Value { function newTestValueStore (line 117) | func newTestValueStore() *types.ValueStore { function getPatch (line 122) | func getPatch(g1, g2 types.Value) Patch { function checkApplyPatch (line 137) | func checkApplyPatch(assert *assert.Assertions, g1, expectedG2 types.Val... function TestPatches (line 143) | func TestPatches(t *testing.T) { function TestNestedLists (line 160) | func TestNestedLists(t *testing.T) { function TestUpdateNode (line 176) | func TestUpdateNode(t *testing.T) { function checkApplyDiffs (line 236) | func checkApplyDiffs(a *assert.Assertions, n1, n2 types.Value, leftRight... function tryApplyDiff (line 253) | func tryApplyDiff(a *assert.Assertions, a1, a2 interface{}) { function TestUpdateList (line 263) | func TestUpdateList(t *testing.T) { function TestUpdateMap (line 307) | func TestUpdateMap(t *testing.T) { function TestUpdateStruct (line 321) | func TestUpdateStruct(t *testing.T) { function TestUpdateSet (line 347) | func TestUpdateSet(t *testing.T) { function mustMarshal (line 362) | func mustMarshal(v interface{}) types.Value { FILE: go/diff/diff.go type diffFunc (line 12) | type diffFunc type pathPartFunc (line 13) | type pathPartFunc type valueFunc (line 14) | type valueFunc type Difference (line 18) | type Difference struct method IsEmpty (line 32) | func (dif Difference) IsEmpty() bool { type differ (line 37) | type differ struct method diff (line 88) | func (d differ) diff(p types.Path, v1, v2 types.Value) bool { method diffLists (line 103) | func (d differ) diffLists(p types.Path, v1, v2 types.List) (stop bool) { method diffMaps (line 155) | func (d differ) diffMaps(p types.Path, v1, v2 types.Map) bool { method diffStructs (line 177) | func (d differ) diffStructs(p types.Path, v1, v2 types.Struct) bool { method diffSets (line 192) | func (d differ) diffSets(p types.Path, v1, v2 types.Set) bool { method diffOrdered (line 213) | func (d differ) diffOrdered(p types.Path, ppf pathPartFunc, df diffFun... method sendDiff (line 266) | func (d differ) sendDiff(dif Difference) bool { function Diff (line 77) | func Diff(v1, v2 types.Value, dChan chan<- Difference, stopChan chan str... function shouldDescend (line 260) | func shouldDescend(v1, v2 types.Value) bool { FILE: go/diff/diff_test.go function valToTypesValue (line 30) | func valToTypesValue(v interface{}) types.Value { function valsToTypesValues (line 43) | func valsToTypesValues(kv ...interface{}) []types.Value { function createMap (line 52) | func createMap(kv ...interface{}) types.Map { function createSet (line 59) | func createSet(kv ...interface{}) types.Set { function createList (line 66) | func createList(kv ...interface{}) types.List { function createStruct (line 73) | func createStruct(name string, kv ...interface{}) types.Struct { function pathsFromDiff (line 81) | func pathsFromDiff(v1, v2 types.Value, leftRight bool) []string { function mustParsePath (line 97) | func mustParsePath(assert *assert.Assertions, s string) types.Path { function TestNomsDiffPrintMap (line 106) | func TestNomsDiffPrintMap(t *testing.T) { function TestNomsDiffPrintSet (line 137) | func TestNomsDiffPrintSet(t *testing.T) { function TestNomsDiffPrintStop (line 206) | func TestNomsDiffPrintStop(t *testing.T) { function TestNomsDiffPrintStruct (line 238) | func TestNomsDiffPrintStruct(t *testing.T) { function TestNomsDiffPrintMapWithStructKeys (line 314) | func TestNomsDiffPrintMapWithStructKeys(t *testing.T) { function TestNomsDiffPrintList (line 345) | func TestNomsDiffPrintList(t *testing.T) { function TestNomsDiffPrintBlob (line 417) | func TestNomsDiffPrintBlob(t *testing.T) { function TestNomsDiffPrintType (line 441) | func TestNomsDiffPrintType(t *testing.T) { function TestNomsDiffPrintRef (line 474) | func TestNomsDiffPrintRef(t *testing.T) { FILE: go/diff/patch.go type Patch (line 16) | type Patch method Swap (line 18) | func (r Patch) Swap(i, j int) { method Len (line 22) | func (r Patch) Len() int { method Less (line 28) | func (r Patch) Less(i, j int) bool { function pathIsLess (line 37) | func pathIsLess(p1, p2 types.Path) bool { function fieldPathCompare (line 53) | func fieldPathCompare(pp types.FieldPath, o types.PathPart) int { function indexPathCompare (line 71) | func indexPathCompare(pp types.IndexPath, o types.PathPart) int { function hashIndexPathCompare (line 95) | func hashIndexPathCompare(pp types.HashIndexPath, o types.PathPart) int { function pathPartCompare (line 120) | func pathPartCompare(pp, pp2 types.PathPart) int { FILE: go/diff/patch_test.go function TestPatchPathPartCompare (line 16) | func TestPatchPathPartCompare(t *testing.T) { function TestPatchPathIsLess (line 51) | func TestPatchPathIsLess(t *testing.T) { function TestPatchSort (line 74) | func TestPatchSort(t *testing.T) { FILE: go/diff/print_diff.go type prefixOp (line 15) | type prefixOp constant ADD (line 18) | ADD = "+ " constant DEL (line 19) | DEL = "- " type printFunc (line 23) | type printFunc function PrintDiff (line 29) | func PrintDiff(w io.Writer, v1, v2 types.Value, leftRight bool) (err err... function writeHeader (line 112) | func writeHeader(w io.Writer, p types.Path, wroteHdr *bool) error { function writeFooter (line 124) | func writeFooter(w io.Writer, wroteHdr *bool) error { function line (line 132) | func line(w io.Writer, op prefixOp, key, val types.Value) error { function field (line 145) | func field(w io.Writer, op prefixOp, name, val types.Value) error { function writeEncodedValue (line 156) | func writeEncodedValue(w io.Writer, v types.Value) error { function write (line 165) | func write(w io.Writer, b []byte) error { FILE: go/diff/summary.go function Summary (line 17) | func Summary(value1, value2 types.Value) { type diffSummaryProgress (line 60) | type diffSummaryProgress struct function diffSummary (line 64) | func diffSummary(ch chan diffSummaryProgress, v1, v2 types.Value) { function diffSummaryList (line 85) | func diffSummaryList(ch chan<- diffSummaryProgress, v1, v2 types.List) { function diffSummaryMap (line 105) | func diffSummaryMap(ch chan<- diffSummaryProgress, v1, v2 types.Map) { function diffSummarySet (line 111) | func diffSummarySet(ch chan<- diffSummaryProgress, v1, v2 types.Set) { function diffSummaryStructs (line 117) | func diffSummaryStructs(ch chan<- diffSummaryProgress, v1, v2 types.Stru... function diffSummaryValueChanged (line 126) | func diffSummaryValueChanged(ch chan<- diffSummaryProgress, oldSize, new... function reportChanges (line 139) | func reportChanges(ch chan<- diffSummaryProgress, changeChan chan types.... function formatStatus (line 154) | func formatStatus(acc diffSummaryProgress, singular, plural string) { FILE: go/hash/base32.go function encode (line 11) | func encode(data []byte) string { function decode (line 15) | func decode(s string) []byte { FILE: go/hash/base32_test.go function TestBase32Encode (line 13) | func TestBase32Encode(t *testing.T) { function TestBase32Decode (line 40) | func TestBase32Decode(t *testing.T) { FILE: go/hash/hash.go constant ByteLen (line 43) | ByteLen = 20 constant StringLen (line 46) | StringLen = 32 type Hash (line 55) | type Hash method IsEmpty (line 58) | func (h Hash) IsEmpty() bool { method String (line 63) | func (h Hash) String() string { method Less (line 104) | func (h Hash) Less(other Hash) bool { method Greater (line 109) | func (h Hash) Greater(other Hash) bool { function Of (line 68) | func Of(data []byte) Hash { function New (line 76) | func New(data []byte) Hash { function MaybeParse (line 85) | func MaybeParse(s string) (Hash, bool) { function Parse (line 95) | func Parse(s string) Hash { type HashSet (line 115) | type HashSet method Insert (line 126) | func (hs HashSet) Insert(hash Hash) { method Has (line 131) | func (hs HashSet) Has(hash Hash) (has bool) { method Remove (line 137) | func (hs HashSet) Remove(hash Hash) { function NewHashSet (line 117) | func NewHashSet(hashes ...Hash) HashSet { FILE: go/hash/hash_slice.go type HashSlice (line 7) | type HashSlice method Len (line 9) | func (rs HashSlice) Len() int { method Less (line 13) | func (rs HashSlice) Less(i, j int) bool { method Swap (line 17) | func (rs HashSlice) Swap(i, j int) { method Equals (line 21) | func (rs HashSlice) Equals(other HashSlice) bool { method HashSet (line 33) | func (rs HashSlice) HashSet() HashSet { FILE: go/hash/hash_slice_test.go function TestHashSliceSort (line 14) | func TestHashSliceSort(t *testing.T) { FILE: go/hash/hash_test.go function TestParseError (line 14) | func TestParseError(t *testing.T) { function TestMaybeParse (line 42) | func TestMaybeParse(t *testing.T) { function TestEquals (line 63) | func TestEquals(t *testing.T) { function TestString (line 76) | func TestString(t *testing.T) { function TestOf (line 82) | func TestOf(t *testing.T) { function TestIsEmpty (line 87) | func TestIsEmpty(t *testing.T) { function TestLess (line 98) | func TestLess(t *testing.T) { function TestGreater (line 115) | func TestGreater(t *testing.T) { FILE: go/marshal/decode.go function Unmarshal (line 63) | func Unmarshal(v types.Value, out interface{}) (err error) { function UnmarshalOpt (line 68) | func UnmarshalOpt(v types.Value, opt Opt, out interface{}) (err error) { function MustUnmarshal (line 88) | func MustUnmarshal(v types.Value, out interface{}) { function MustUnmarshalOpt (line 93) | func MustUnmarshalOpt(v types.Value, opt Opt, out interface{}) { type Unmarshaler (line 114) | type Unmarshaler interface type InvalidUnmarshalError (line 123) | type InvalidUnmarshalError struct method Error (line 127) | func (e *InvalidUnmarshalError) Error() string { type UnmarshalTypeMismatchError (line 140) | type UnmarshalTypeMismatchError struct method Error (line 146) | func (e *UnmarshalTypeMismatchError) Error() string { function overflowError (line 156) | func overflowError(v types.Number, t reflect.Type) *UnmarshalTypeMismatc... type unmarshalNomsError (line 162) | type unmarshalNomsError struct method Error (line 166) | func (e *unmarshalNomsError) Error() string { type decoderFunc (line 170) | type decoderFunc function typeDecoder (line 172) | func typeDecoder(t reflect.Type, tags nomsTags) decoderFunc { function boolDecoder (line 212) | func boolDecoder(v types.Value, rv reflect.Value) { function stringDecoder (line 220) | func stringDecoder(v types.Value, rv reflect.Value) { function floatDecoder (line 228) | func floatDecoder(v types.Value, rv reflect.Value) { function intDecoder (line 236) | func intDecoder(v types.Value, rv reflect.Value) { function uintDecoder (line 248) | func uintDecoder(v types.Value, rv reflect.Value) { type decoderCacheT (line 260) | type decoderCacheT struct method get (line 271) | func (c *decoderCacheT) get(t reflect.Type) decoderFunc { method set (line 277) | func (c *decoderCacheT) set(t reflect.Type, d decoderFunc) { type decField (line 286) | type decField struct function structDecoderFields (line 294) | func structDecoderFields(t reflect.Type) []decField { function structDecoder (line 327) | func structDecoder(t reflect.Type) decoderFunc { function nomsValueDecoder (line 367) | func nomsValueDecoder(v types.Value, rv reflect.Value) { function marshalerDecoder (line 374) | func marshalerDecoder(t reflect.Type) decoderFunc { function iterListOrSlice (line 385) | func iterListOrSlice(v types.Value, t reflect.Type, f func(c types.Value... function sliceDecoder (line 400) | func sliceDecoder(t reflect.Type) decoderFunc { function arrayDecoder (line 432) | func arrayDecoder(t reflect.Type) decoderFunc { function mapFromSetDecoder (line 465) | func mapFromSetDecoder(t reflect.Type) decoderFunc { function mapDecoder (line 501) | func mapDecoder(t reflect.Type, tags nomsTags) decoderFunc { function interfaceDecoder (line 547) | func interfaceDecoder(t reflect.Type) decoderFunc { function getGoTypeForNomsType (line 565) | func getGoTypeForNomsType(nt *types.Type, rt reflect.Type, v types.Value... function shouldMapDecodeFromSet (line 593) | func shouldMapDecodeFromSet(rt reflect.Type, tags nomsTags) bool { FILE: go/marshal/decode_test.go function TestDecode (line 23) | func TestDecode(tt *testing.T) { function TestDecodeStructWithNomsValue (line 212) | func TestDecodeStructWithNomsValue(t *testing.T) { function TestDecodeNilPointer (line 243) | func TestDecodeNilPointer(t *testing.T) { function TestDecodeNonPointer (line 248) | func TestDecodeNonPointer(t *testing.T) { function TestDecodeNil (line 253) | func TestDecodeNil(t *testing.T) { function newTestValueStore (line 259) | func newTestValueStore() *types.ValueStore { function TestDecodeTypeMismatch (line 264) | func TestDecodeTypeMismatch(t *testing.T) { function assertDecodeErrorMessage (line 284) | func assertDecodeErrorMessage(t *testing.T, v types.Value, ptr interface... function TestDecodeInvalidTypes (line 291) | func TestDecodeInvalidTypes(tt *testing.T) { function TestDecodeOverflows (line 309) | func TestDecodeOverflows(tt *testing.T) { function TestDecodeMissingField (line 339) | func TestDecodeMissingField(t *testing.T) { function TestDecodeEmbeddedStruct (line 350) | func TestDecodeEmbeddedStruct(tt *testing.T) { function TestDecodeEmbeddedStructSkip (line 379) | func TestDecodeEmbeddedStructSkip(tt *testing.T) { function TestDecodeEmbeddedStructNamed (line 397) | func TestDecodeEmbeddedStructNamed(tt *testing.T) { function TestDecodeEmbeddedStructOriginal (line 418) | func TestDecodeEmbeddedStructOriginal(tt *testing.T) { function TestDecodeNonExportedField (line 443) | func TestDecodeNonExportedField(tt *testing.T) { function TestDecodeTaggingSkip (line 451) | func TestDecodeTaggingSkip(t *testing.T) { function TestDecodeNamedFields (line 481) | func TestDecodeNamedFields(t *testing.T) { function TestDecodeInvalidNamedFields (line 499) | func TestDecodeInvalidNamedFields(t *testing.T) { function TestDecodeInvalidNomsType (line 509) | func TestDecodeInvalidNomsType(t *testing.T) { function TestDecodeNomsTypePtr (line 522) | func TestDecodeNomsTypePtr(t *testing.T) { function ExampleUnmarshal (line 546) | func ExampleUnmarshal() { function TestDecodeSlice (line 565) | func TestDecodeSlice(t *testing.T) { function TestDecodeSliceEmpty (line 582) | func TestDecodeSliceEmpty(t *testing.T) { function TestDecodeSliceReuse (line 608) | func TestDecodeSliceReuse(t *testing.T) { function TestDecodeArray (line 627) | func TestDecodeArray(t *testing.T) { function TestDecodeArrayEmpty (line 644) | func TestDecodeArrayEmpty(t *testing.T) { function TestDecodeStructWithSlice (line 661) | func TestDecodeStructWithSlice(t *testing.T) { function TestDecodeStructWithArrayOfNomsValue (line 684) | func TestDecodeStructWithArrayOfNomsValue(t *testing.T) { function TestDecodeWrongArrayLength (line 701) | func TestDecodeWrongArrayLength(t *testing.T) { function TestDecodeWrongArrayType (line 709) | func TestDecodeWrongArrayType(t *testing.T) { function TestDecodeWrongSliceType (line 717) | func TestDecodeWrongSliceType(t *testing.T) { function TestDecodeSliceWrongNomsType (line 725) | func TestDecodeSliceWrongNomsType(t *testing.T) { function TestDecodeArrayWrongNomsType (line 733) | func TestDecodeArrayWrongNomsType(t *testing.T) { function TestDecodeRecursive (line 741) | func TestDecodeRecursive(t *testing.T) { function TestDecodeMap (line 779) | func TestDecodeMap(t *testing.T) { function TestDecodeMapEmpty (line 818) | func TestDecodeMapEmpty(t *testing.T) { function TestDecodeMapWrongNomsType (line 835) | func TestDecodeMapWrongNomsType(t *testing.T) { function TestDecodeOntoInterface (line 843) | func TestDecodeOntoInterface(t *testing.T) { function TestDecodeOntoNonSupportedInterface (line 879) | func TestDecodeOntoNonSupportedInterface(t *testing.T) { function TestDecodeOntoInterfaceStruct (line 887) | func TestDecodeOntoInterfaceStruct(t *testing.T) { function TestDecodeSet (line 893) | func TestDecodeSet(t *testing.T) { function TestDecodeOpt (line 950) | func TestDecodeOpt(t *testing.T) { function TestDecodeNamedSet (line 1004) | func TestDecodeNamedSet(t *testing.T) { function TestDecodeSetWrongMapType (line 1026) | func TestDecodeSetWrongMapType(t *testing.T) { function TestDecodeOmitEmpty (line 1063) | func TestDecodeOmitEmpty(t *testing.T) { function TestDecodeOriginal (line 1091) | func TestDecodeOriginal(t *testing.T) { function TestDecodeOriginalReceiveTypeError (line 1113) | func TestDecodeOriginalReceiveTypeError(t *testing.T) { function TestDecodeCanSkipUnexportedField (line 1126) | func TestDecodeCanSkipUnexportedField(t *testing.T) { method UnmarshalNoms (line 1141) | func (u *primitiveType) UnmarshalNoms(v types.Value) error { function TestUnmarshalerPrimitiveType (line 1146) | func TestUnmarshalerPrimitiveType(t *testing.T) { method UnmarshalNoms (line 1155) | func (u *primitiveSliceType) UnmarshalNoms(v types.Value) error { function TestUnmarshalerPrimitiveSliceType (line 1165) | func TestUnmarshalerPrimitiveSliceType(t *testing.T) { method UnmarshalNoms (line 1174) | func (u *primitiveMapType) UnmarshalNoms(v types.Value) error { function TestUnmarshalerPrimitiveMapType (line 1185) | func TestUnmarshalerPrimitiveMapType(t *testing.T) { method UnmarshalNoms (line 1200) | func (u *primitiveStructType) UnmarshalNoms(v types.Value) error { function TestUnmarshalerPrimitiveStructType (line 1207) | func TestUnmarshalerPrimitiveStructType(t *testing.T) { method UnmarshalNoms (line 1216) | func (u *builtinType) UnmarshalNoms(v types.Value) error { function TestUnmarshalerBuiltinType (line 1222) | func TestUnmarshalerBuiltinType(t *testing.T) { method UnmarshalNoms (line 1233) | func (u *wrappedMarshalerType) UnmarshalNoms(v types.Value) error { function TestUnmarshalerWrappedMarshalerType (line 1239) | func TestUnmarshalerWrappedMarshalerType(t *testing.T) { function TestUnmarshalerComplexStructType (line 1248) | func TestUnmarshalerComplexStructType(t *testing.T) { method UnmarshalNoms (line 1284) | func (u *returnsMarshalerError) UnmarshalNoms(v types.Value) error { method UnmarshalNoms (line 1290) | func (u panicsMarshaler) UnmarshalNoms(v types.Value) error { function TestUnmarshalerError (line 1294) | func TestUnmarshalerError(t *testing.T) { type notPointer (line 1305) | type notPointer struct method UnmarshalNoms (line 1309) | func (u notPointer) UnmarshalNoms(v types.Value) error { function TestUnmarshalNomsNotPointerDoesNotShareState (line 1314) | func TestUnmarshalNomsNotPointerDoesNotShareState(t *testing.T) { function TestUnmarshalMustUnmarshal (line 1324) | func TestUnmarshalMustUnmarshal(t *testing.T) { FILE: go/marshal/encode.go function Marshal (line 94) | func Marshal(vrw types.ValueReadWriter, v interface{}) (types.Value, err... function MarshalOpt (line 99) | func MarshalOpt(vrw types.ValueReadWriter, v interface{}, opt Opt) (noms... function MustMarshal (line 118) | func MustMarshal(vrw types.ValueReadWriter, v interface{}) types.Value { function MustMarshalOpt (line 123) | func MustMarshalOpt(vrw types.ValueReadWriter, v interface{}, opt Opt) t... type Marshaler (line 133) | type Marshaler interface type StructNameMarshaler (line 142) | type StructNameMarshaler interface type UnsupportedTypeError (line 148) | type UnsupportedTypeError struct method Error (line 153) | func (e *UnsupportedTypeError) Error() string { type InvalidTagError (line 163) | type InvalidTagError struct method Error (line 167) | func (e *InvalidTagError) Error() string { type marshalNomsError (line 173) | type marshalNomsError struct method Error (line 177) | func (e *marshalNomsError) Error() string { type Opt (line 181) | type Opt struct type nomsTags (line 186) | type nomsTags struct type encoderFunc (line 200) | type encoderFunc function boolEncoder (line 202) | func boolEncoder(v reflect.Value, vrw types.ValueReadWriter) types.Value { function float64Encoder (line 206) | func float64Encoder(v reflect.Value, vrw types.ValueReadWriter) types.Va... function intEncoder (line 210) | func intEncoder(v reflect.Value, vrw types.ValueReadWriter) types.Value { function uintEncoder (line 214) | func uintEncoder(v reflect.Value, vrw types.ValueReadWriter) types.Value { function stringEncoder (line 218) | func stringEncoder(v reflect.Value, vrw types.ValueReadWriter) types.Val... function nomsValueEncoder (line 222) | func nomsValueEncoder(v reflect.Value, vrw types.ValueReadWriter) types.... function marshalerEncoder (line 226) | func marshalerEncoder(t reflect.Type) encoderFunc { function typeEncoder (line 239) | func typeEncoder(t reflect.Type, seenStructs map[string]reflect.Type, ta... function getStructName (line 284) | func getStructName(t reflect.Type) string { function structEncoder (line 292) | func structEncoder(t reflect.Type, seenStructs map[string]reflect.Type) ... function isEmptyValue (line 358) | func isEmptyValue(v reflect.Value) bool { type field (line 379) | type field struct type fieldSlice (line 387) | type fieldSlice method Len (line 389) | func (fs fieldSlice) Len() int { return len(fs) } method Swap (line 390) | func (fs fieldSlice) Swap(i, j int) { fs[i], fs[j] = fs[j], fs[i] } method Less (line 391) | func (fs fieldSlice) Less(i, j int) bool { return fs[i].name < fs[j].n... type encoderCacheT (line 393) | type encoderCacheT struct method get (line 404) | func (c *encoderCacheT) get(t reflect.Type) encoderFunc { method set (line 410) | func (c *encoderCacheT) set(t reflect.Type, e encoderFunc) { function getTags (line 419) | func getTags(f reflect.StructField) (tags nomsTags) { function validateField (line 455) | func validateField(f reflect.StructField, t reflect.Type) { function typeFields (line 464) | func typeFields(t reflect.Type, seenStructs map[string]reflect.Type, com... function listEncoder (line 525) | func listEncoder(t reflect.Type, seenStructs map[string]reflect.Type) en... function setFromListEncoder (line 552) | func setFromListEncoder(t reflect.Type, seenStructs map[string]reflect.T... function setEncoder (line 578) | func setEncoder(t reflect.Type, seenStructs map[string]reflect.Type) enc... function mapEncoder (line 604) | func mapEncoder(t reflect.Type, seenStructs map[string]reflect.Type) enc... function shouldEncodeAsSet (line 634) | func shouldEncodeAsSet(t reflect.Type, tags nomsTags) bool { FILE: go/marshal/encode_test.go function TestEncode (line 20) | func TestEncode(tt *testing.T) { function assertEncodeErrorMessage (line 158) | func assertEncodeErrorMessage(t *testing.T, v interface{}, expectedMessa... function TestInvalidTypes (line 167) | func TestInvalidTypes(t *testing.T) { function TestEncodeEmbeddedStructSkip (line 173) | func TestEncodeEmbeddedStructSkip(t *testing.T) { function TestEncodeEmbeddedStructWithName (line 194) | func TestEncodeEmbeddedStructWithName(t *testing.T) { function TestEncodeEmbeddedStruct (line 218) | func TestEncodeEmbeddedStruct(t *testing.T) { function TestEncodeEmbeddedStructOriginal (line 252) | func TestEncodeEmbeddedStructOriginal(t *testing.T) { function TestEncodeNonExportedField (line 280) | func TestEncodeNonExportedField(t *testing.T) { function TestEncodeTaggingSkip (line 287) | func TestEncodeTaggingSkip(t *testing.T) { function TestEncodeNamedFields (line 305) | func TestEncodeNamedFields(t *testing.T) { function TestEncodeInvalidNamedFields (line 326) | func TestEncodeInvalidNamedFields(t *testing.T) { function TestEncodeOmitEmpty (line 333) | func TestEncodeOmitEmpty(t *testing.T) { function ExampleMarshal (line 486) | func ExampleMarshal() { function TestEncodeSlice (line 504) | func TestEncodeSlice(t *testing.T) { function TestEncodeArray (line 515) | func TestEncodeArray(t *testing.T) { function TestEncodeStructWithSlice (line 526) | func TestEncodeStructWithSlice(t *testing.T) { function TestEncodeStructWithArrayOfNomsValue (line 542) | func TestEncodeStructWithArrayOfNomsValue(t *testing.T) { function TestEncodeNomsTypePtr (line 558) | func TestEncodeNomsTypePtr(t *testing.T) { function TestEncodeRecursive (line 586) | func TestEncodeRecursive(t *testing.T) { function TestEncodeMap (line 632) | func TestEncodeMap(t *testing.T) { function TestEncodeInterface (line 665) | func TestEncodeInterface(t *testing.T) { function TestEncodeSet (line 687) | func TestEncodeSet(t *testing.T) { function TestEncodeOpt (line 759) | func TestEncodeOpt(t *testing.T) { function TestEncodeSetWithTags (line 799) | func TestEncodeSetWithTags(t *testing.T) { function TestInvalidTag (line 833) | func TestInvalidTag(t *testing.T) { function TestEncodeCanSkipUnexportedField (line 844) | func TestEncodeCanSkipUnexportedField(t *testing.T) { function TestEncodeOriginal (line 862) | func TestEncodeOriginal(t *testing.T) { function TestNomsTypes (line 923) | func TestNomsTypes(t *testing.T) { type primitiveType (line 954) | type primitiveType method MarshalNoms (line 956) | func (t primitiveType) MarshalNoms(vrw types.ValueReadWriter) (types.V... function TestMarshalerPrimitiveType (line 960) | func TestMarshalerPrimitiveType(t *testing.T) { type primitiveSliceType (line 971) | type primitiveSliceType method MarshalNoms (line 973) | func (u primitiveSliceType) MarshalNoms(vrw types.ValueReadWriter) (ty... function TestMarshalerPrimitiveSliceType (line 977) | func TestMarshalerPrimitiveSliceType(t *testing.T) { type primitiveMapType (line 988) | type primitiveMapType method MarshalNoms (line 990) | func (u primitiveMapType) MarshalNoms(vrw types.ValueReadWriter) (type... function TestMarshalerPrimitiveMapType (line 998) | func TestMarshalerPrimitiveMapType(t *testing.T) { type primitiveStructType (line 1012) | type primitiveStructType struct method MarshalNoms (line 1016) | func (u primitiveStructType) MarshalNoms(vrw types.ValueReadWriter) (t... function TestMarshalerPrimitiveStructType (line 1020) | func TestMarshalerPrimitiveStructType(t *testing.T) { type builtinType (line 1031) | type builtinType method MarshalNoms (line 1033) | func (u builtinType) MarshalNoms(vrw types.ValueReadWriter) (types.Val... function TestMarshalerBuiltinType (line 1038) | func TestMarshalerBuiltinType(t *testing.T) { type wrappedMarshalerType (line 1051) | type wrappedMarshalerType method MarshalNoms (line 1053) | func (u wrappedMarshalerType) MarshalNoms(vrw types.ValueReadWriter) (... function TestMarshalerWrapperMarshalerType (line 1057) | func TestMarshalerWrapperMarshalerType(t *testing.T) { type TestComplexStructType (line 1068) | type TestComplexStructType struct function TestMarshalerComplexStructType (line 1078) | func TestMarshalerComplexStructType(t *testing.T) { type returnsMarshalerError (line 1115) | type returnsMarshalerError struct method MarshalNoms (line 1119) | func (u returnsMarshalerError) MarshalNoms(vrw types.ValueReadWriter) ... type returnsMarshalerNil (line 1123) | type returnsMarshalerNil struct method MarshalNoms (line 1125) | func (u returnsMarshalerNil) MarshalNoms(vrw types.ValueReadWriter) (t... type panicsMarshaler (line 1129) | type panicsMarshaler struct method MarshalNoms (line 1131) | func (u panicsMarshaler) MarshalNoms(vrw types.ValueReadWriter) (types... function TestMarshalerErrors (line 1135) | func TestMarshalerErrors(t *testing.T) { type TestStructWithNameImpl (line 1153) | type TestStructWithNameImpl struct method MarshalNomsStructName (line 1157) | func (ts TestStructWithNameImpl) MarshalNomsStructName() string { function TestMarshalStructName (line 1160) | func TestMarshalStructName(t *testing.T) { type TestStructWithNameImpl2 (line 1175) | type TestStructWithNameImpl2 struct method MarshalNomsStructName (line 1179) | func (ts TestStructWithNameImpl2) MarshalNomsStructName() string { function TestMarshalStructName2 (line 1182) | func TestMarshalStructName2(t *testing.T) { FILE: go/marshal/encode_type.go function MarshalType (line 25) | func MarshalType(v interface{}) (nt *types.Type, err error) { function MarshalTypeOpt (line 30) | func MarshalTypeOpt(v interface{}, opt Opt) (nt *types.Type, err error) { function MustMarshalType (line 49) | func MustMarshalType(v interface{}) (nt *types.Type) { function MustMarshalTypeOpt (line 54) | func MustMarshalTypeOpt(v interface{}, opt Opt) (nt *types.Type) { type TypeMarshaler (line 70) | type TypeMarshaler interface function encodeType (line 80) | func encodeType(t reflect.Type, seenStructs map[string]reflect.Type, tag... function structEncodeType (line 175) | func structEncodeType(t reflect.Type, seenStructs map[string]reflect.Typ... FILE: go/marshal/encode_type_test.go function TestMarshalTypeType (line 18) | func TestMarshalTypeType(tt *testing.T) { function assertMarshalTypeErrorMessage (line 107) | func assertMarshalTypeErrorMessage(t *testing.T, v interface{}, expected... function TestMarshalTypeInvalidTypes (line 113) | func TestMarshalTypeInvalidTypes(t *testing.T) { function TestMarshalTypeEmbeddedStruct (line 117) | func TestMarshalTypeEmbeddedStruct(t *testing.T) { function TestMarshalTypeEmbeddedStructSkip (line 137) | func TestMarshalTypeEmbeddedStructSkip(t *testing.T) { function TestMarshalTypeEmbeddedStructNamed (line 156) | func TestMarshalTypeEmbeddedStructNamed(t *testing.T) { function TestMarshalTypeEncodeNonExportedField (line 178) | func TestMarshalTypeEncodeNonExportedField(t *testing.T) { function TestMarshalTypeEncodeTaggingSkip (line 185) | func TestMarshalTypeEncodeTaggingSkip(t *testing.T) { function TestMarshalTypeNamedFields (line 200) | func TestMarshalTypeNamedFields(t *testing.T) { function TestMarshalTypeInvalidNamedFields (line 218) | func TestMarshalTypeInvalidNamedFields(t *testing.T) { function TestMarshalTypeOmitEmpty (line 226) | func TestMarshalTypeOmitEmpty(t *testing.T) { function ExampleMarshalType (line 238) | func ExampleMarshalType() { function TestMarshalTypeSlice (line 258) | func TestMarshalTypeSlice(t *testing.T) { function TestMarshalTypeArray (line 267) | func TestMarshalTypeArray(t *testing.T) { function TestMarshalTypeStructWithSlice (line 276) | func TestMarshalTypeStructWithSlice(t *testing.T) { function TestMarshalTypeRecursive (line 290) | func TestMarshalTypeRecursive(t *testing.T) { function TestMarshalTypeMap (line 314) | func TestMarshalTypeMap(t *testing.T) { function TestMarshalTypeSet (line 336) | func TestMarshalTypeSet(t *testing.T) { function TestEncodeTypeOpt (line 367) | func TestEncodeTypeOpt(t *testing.T) { function TestMarshalTypeSetWithTags (line 404) | func TestMarshalTypeSetWithTags(t *testing.T) { function TestMarshalTypeInvalidTag (line 423) | func TestMarshalTypeInvalidTag(t *testing.T) { function TestMarshalTypeCanSkipUnexportedField (line 434) | func TestMarshalTypeCanSkipUnexportedField(t *testing.T) { function TestMarshalTypeOriginal (line 449) | func TestMarshalTypeOriginal(t *testing.T) { function TestMarshalTypeNomsTypes (line 465) | func TestMarshalTypeNomsTypes(t *testing.T) { method MarshalNomsType (line 487) | func (t primitiveType) MarshalNomsType() (*types.Type, error) { function TestTypeMarshalerPrimitiveType (line 491) | func TestTypeMarshalerPrimitiveType(t *testing.T) { method MarshalNomsType (line 499) | func (u primitiveSliceType) MarshalNomsType() (*types.Type, error) { function TestTypeMarshalerPrimitiveSliceType (line 503) | func TestTypeMarshalerPrimitiveSliceType(t *testing.T) { method MarshalNomsType (line 511) | func (u primitiveMapType) MarshalNomsType() (*types.Type, error) { function TestTypeMarshalerPrimitiveMapType (line 515) | func TestTypeMarshalerPrimitiveMapType(t *testing.T) { function TestTypeMarshalerPrimitiveStructTypeNoMarshalNomsType (line 523) | func TestTypeMarshalerPrimitiveStructTypeNoMarshalNomsType(t *testing.T) { method MarshalNomsType (line 532) | func (u builtinType) MarshalNomsType() (*types.Type, error) { function TestTypeMarshalerBuiltinType (line 536) | func TestTypeMarshalerBuiltinType(t *testing.T) { method MarshalNomsType (line 544) | func (u wrappedMarshalerType) MarshalNomsType() (*types.Type, error) { function TestTypeMarshalerWrapperMarshalerType (line 548) | func TestTypeMarshalerWrapperMarshalerType(t *testing.T) { method MarshalNomsType (line 556) | func (u returnsMarshalerError) MarshalNomsType() (*types.Type, error) { method MarshalNomsType (line 560) | func (u returnsMarshalerNil) MarshalNomsType() (*types.Type, error) { method MarshalNomsType (line 564) | func (u panicsMarshaler) MarshalNomsType() (*types.Type, error) { function TestTypeMarshalerErrors (line 568) | func TestTypeMarshalerErrors(t *testing.T) { function TestMarshalTypeStructName (line 583) | func TestMarshalTypeStructName(t *testing.T) { function TestMarshalTypeStructName2 (line 591) | func TestMarshalTypeStructName2(t *testing.T) { type OutPhoto (line 599) | type OutPhoto struct type OutFace (line 604) | type OutFace struct method MarshalNomsStructName (line 608) | func (f OutFace) MarshalNomsStructName() string { function TestMarshalTypeOutface (line 612) | func TestMarshalTypeOutface(t *testing.T) { FILE: go/merge/candidate.go type candidate (line 18) | type candidate interface type mapCandidate (line 25) | type mapCandidate struct method diff (line 29) | func (mc mapCandidate) diff(p candidate, change chan<- types.ValueChan... method get (line 33) | func (mc mapCandidate) get(k types.Value) types.Value { method pathConcat (line 37) | func (mc mapCandidate) pathConcat(change types.ValueChanged, path type... method getValue (line 47) | func (mc mapCandidate) getValue() types.Value { type setCandidate (line 51) | type setCandidate struct method diff (line 55) | func (sc setCandidate) diff(p candidate, change chan<- types.ValueChan... method get (line 59) | func (sc setCandidate) get(k types.Value) types.Value { method pathConcat (line 63) | func (sc setCandidate) pathConcat(change types.ValueChanged, path type... method getValue (line 73) | func (sc setCandidate) getValue() types.Value { type structCandidate (line 77) | type structCandidate struct method diff (line 81) | func (sc structCandidate) diff(p candidate, change chan<- types.ValueC... method get (line 85) | func (sc structCandidate) get(key types.Value) types.Value { method pathConcat (line 93) | func (sc structCandidate) pathConcat(change types.ValueChanged, path t... method getValue (line 102) | func (sc structCandidate) getValue() types.Value { FILE: go/merge/three_way.go type Policy (line 18) | type Policy type ResolveFunc (line 29) | type ResolveFunc function None (line 32) | func None(aChange, bChange types.DiffChangeType, a, b types.Value, path ... function Ours (line 37) | func Ours(aChange, bChange types.DiffChangeType, a, b types.Value, path ... function Theirs (line 42) | func Theirs(aChange, bChange types.DiffChangeType, a, b types.Value, pat... type ErrMergeConflict (line 48) | type ErrMergeConflict struct method Error (line 52) | func (e *ErrMergeConflict) Error() string { function newMergeConflict (line 56) | func newMergeConflict(format string, args ...interface{}) *ErrMergeConfl... function NewThreeWay (line 62) | func NewThreeWay(resolve ResolveFunc) Policy { function ThreeWay (line 136) | func ThreeWay(a, b, parent types.Value, vrw types.ValueReadWriter, resol... function unmergeable (line 158) | func unmergeable(a, b types.Value) bool { type merger (line 166) | type merger struct method threeWay (line 179) | func (m *merger) threeWay(a, b, parent types.Value, path types.Path) (... method threeWayMapMerge (line 223) | func (m *merger) threeWayMapMerge(a, b, parent types.Map, path types.P... method threeWaySetMerge (line 238) | func (m *merger) threeWaySetMerge(a, b, parent types.Set, path types.P... method threeWayStructMerge (line 253) | func (m *merger) threeWayStructMerge(a, b, parent types.Struct, path t... function updateProgress (line 172) | func updateProgress(progress chan<- struct{}) { function listAssert (line 278) | func listAssert(vrw types.ValueReadWriter, a, b, parent types.Value) (aL... function mapAssert (line 290) | func mapAssert(vrw types.ValueReadWriter, a, b, parent types.Value) (aMa... function refAssert (line 302) | func refAssert(a, b, parent types.Value, vrw types.ValueReadWriter) (aVa... function setAssert (line 323) | func setAssert(vrw types.ValueReadWriter, a, b, parent types.Value) (aSe... function structAssert (line 335) | func structAssert(a, b, parent types.Value) (aStruct, bStruct, pStruct t... FILE: go/merge/three_way_keyval_test.go function TestThreeWayMapMerge (line 14) | func TestThreeWayMapMerge(t *testing.T) { function TestThreeWayStructMerge (line 18) | func TestThreeWayStructMerge(t *testing.T) { type kvs (line 22) | type kvs method items (line 24) | func (kv kvs) items() []interface{} { method remove (line 28) | func (kv kvs) remove(k interface{}) kvs { method set (line 38) | func (kv kvs) set(k, v interface{}) kvs { type ThreeWayKeyValMergeSuite (line 66) | type ThreeWayKeyValMergeSuite struct method TestThreeWayMerge_DoNothing (line 104) | func (s *ThreeWayKeyValMergeSuite) TestThreeWayMerge_DoNothing() { method TestThreeWayMerge_NoRecursion (line 108) | func (s *ThreeWayKeyValMergeSuite) TestThreeWayMerge_NoRecursion() { method TestThreeWayMerge_RecursiveCreate (line 113) | func (s *ThreeWayKeyValMergeSuite) TestThreeWayMerge_RecursiveCreate() { method TestThreeWayMerge_RecursiveCreateNil (line 118) | func (s *ThreeWayKeyValMergeSuite) TestThreeWayMerge_RecursiveCreateNi... method TestThreeWayMerge_RecursiveMerge (line 123) | func (s *ThreeWayKeyValMergeSuite) TestThreeWayMerge_RecursiveMerge() { method TestThreeWayMerge_RefMerge (line 128) | func (s *ThreeWayKeyValMergeSuite) TestThreeWayMerge_RefMerge() { method TestThreeWayMerge_RecursiveMultiLevelMerge (line 140) | func (s *ThreeWayKeyValMergeSuite) TestThreeWayMerge_RecursiveMultiLev... method TestThreeWayMerge_CustomMerge (line 150) | func (s *ThreeWayKeyValMergeSuite) TestThreeWayMerge_CustomMerge() { method TestThreeWayMerge_MergeOurs (line 180) | func (s *ThreeWayKeyValMergeSuite) TestThreeWayMerge_MergeOurs() { method TestThreeWayMerge_MergeTheirs (line 193) | func (s *ThreeWayKeyValMergeSuite) TestThreeWayMerge_MergeTheirs() { method TestThreeWayMerge_NilConflict (line 206) | func (s *ThreeWayKeyValMergeSuite) TestThreeWayMerge_NilConflict() { method TestThreeWayMerge_ImmediateConflict (line 211) | func (s *ThreeWayKeyValMergeSuite) TestThreeWayMerge_ImmediateConflict... method TestThreeWayMerge_RefConflict (line 216) | func (s *ThreeWayKeyValMergeSuite) TestThreeWayMerge_RefConflict() { method TestThreeWayMerge_NestedConflict (line 228) | func (s *ThreeWayKeyValMergeSuite) TestThreeWayMerge_NestedConflict() { method TestThreeWayMerge_NestedConflictingOperation (line 234) | func (s *ThreeWayKeyValMergeSuite) TestThreeWayMerge_NestedConflicting... type ThreeWayMapMergeSuite (line 70) | type ThreeWayMapMergeSuite struct method SetupSuite (line 74) | func (s *ThreeWayMapMergeSuite) SetupSuite() { type ThreeWayStructMergeSuite (line 85) | type ThreeWayStructMergeSuite struct method SetupSuite (line 89) | func (s *ThreeWayStructMergeSuite) SetupSuite() { FILE: go/merge/three_way_list.go function threeWayListMerge (line 14) | func threeWayListMerge(a, b, parent types.List) (merged types.List, err ... function overlap (line 90) | func overlap(s1, s2 types.Splice) bool { function canMerge (line 99) | func canMerge(a, b types.List, aSplice, bSplice types.Splice) bool { function merge (line 114) | func merge(s1, s2 types.Splice) types.Splice { function apply (line 118) | func apply(source, target types.List, offset uint64, s types.Splice) typ... function describeSplice (line 131) | func describeSplice(s types.Splice) string { FILE: go/merge/three_way_list_test.go function TestThreeWayListMerge (line 14) | func TestThreeWayListMerge(t *testing.T) { type ThreeWayListMergeSuite (line 18) | type ThreeWayListMergeSuite struct method SetupSuite (line 22) | func (s *ThreeWayListMergeSuite) SetupSuite() { method TestThreeWayMerge_DoNothing (line 35) | func (s *ThreeWayListMergeSuite) TestThreeWayMerge_DoNothing() { method TestThreeWayMerge_NoLengthChange (line 39) | func (s *ThreeWayListMergeSuite) TestThreeWayMerge_NoLengthChange() { method TestThreeWayMerge_HandleEmpty (line 47) | func (s *ThreeWayListMergeSuite) TestThreeWayMerge_HandleEmpty() { method TestThreeWayMerge_HandleNil (line 53) | func (s *ThreeWayListMergeSuite) TestThreeWayMerge_HandleNil() { method TestThreeWayMerge_MakeLonger (line 57) | func (s *ThreeWayListMergeSuite) TestThreeWayMerge_MakeLonger() { method TestThreeWayMerge_MakeShorter (line 66) | func (s *ThreeWayListMergeSuite) TestThreeWayMerge_MakeShorter() { method TestThreeWayMerge_BothSidesRemove (line 74) | func (s *ThreeWayListMergeSuite) TestThreeWayMerge_BothSidesRemove() { method TestThreeWayMerge_OverlapSameRemoveNoInsert (line 82) | func (s *ThreeWayListMergeSuite) TestThreeWayMerge_OverlapSameRemoveNo... method TestThreeWayMerge_OverlapSameRemoveSameInsert (line 90) | func (s *ThreeWayListMergeSuite) TestThreeWayMerge_OverlapSameRemoveSa... method TestThreeWayMerge_RemoveUpToOtherSideInsertionPoint (line 98) | func (s *ThreeWayListMergeSuite) TestThreeWayMerge_RemoveUpToOtherSide... method TestThreeWayMerge_ConflictingAppends (line 106) | func (s *ThreeWayListMergeSuite) TestThreeWayMerge_ConflictingAppends() { method TestThreeWayMerge_OverlappingRemoves (line 113) | func (s *ThreeWayListMergeSuite) TestThreeWayMerge_OverlappingRemoves() { method TestThreeWayMerge_SameRemoveAddPrefix (line 120) | func (s *ThreeWayListMergeSuite) TestThreeWayMerge_SameRemoveAddPrefix... method TestThreeWayMerge_RemoveSupersetAddPrefix (line 127) | func (s *ThreeWayListMergeSuite) TestThreeWayMerge_RemoveSupersetAddPr... method TestThreeWayMerge_RemoveOtherSideInsertionPoint (line 134) | func (s *ThreeWayListMergeSuite) TestThreeWayMerge_RemoveOtherSideInse... FILE: go/merge/three_way_ordered_sequence.go type applyFunc (line 14) | type applyFunc method threeWayOrderedSequenceMerge (line 16) | func (m *merger) threeWayOrderedSequenceMerge(a, b, parent candidate, ap... method mergeChanges (line 73) | func (m *merger) mergeChanges(aChange, bChange types.ValueChanged, a, b,... function stopAndDrain (line 107) | func stopAndDrain(stop chan<- struct{}, drain <-chan types.ValueChanged) { function describeChange (line 113) | func describeChange(change types.ValueChanged) string { FILE: go/merge/three_way_set_test.go function TestThreeWaySetMerge (line 14) | func TestThreeWaySetMerge(t *testing.T) { type items (line 18) | type items method items (line 20) | func (kv items) items() []interface{} { type ThreeWaySetMergeSuite (line 24) | type ThreeWaySetMergeSuite struct method SetupSuite (line 28) | func (s *ThreeWaySetMergeSuite) SetupSuite() { method TestThreeWayMerge_DoNothing (line 51) | func (s *ThreeWaySetMergeSuite) TestThreeWayMerge_DoNothing() { method TestThreeWayMerge_Primitives (line 55) | func (s *ThreeWaySetMergeSuite) TestThreeWayMerge_Primitives() { method TestThreeWayMerge_HandleEmpty (line 60) | func (s *ThreeWaySetMergeSuite) TestThreeWayMerge_HandleEmpty() { method TestThreeWayMerge_HandleNil (line 65) | func (s *ThreeWaySetMergeSuite) TestThreeWayMerge_HandleNil() { method TestThreeWayMerge_Refs (line 70) | func (s *ThreeWaySetMergeSuite) TestThreeWayMerge_Refs() { method TestThreeWayMerge_ImmediateConflict (line 82) | func (s *ThreeWaySetMergeSuite) TestThreeWayMerge_ImmediateConflict() { FILE: go/merge/three_way_test.go type seq (line 16) | type seq interface type ThreeWayMergeSuite (line 20) | type ThreeWayMergeSuite struct method SetupTest (line 27) | func (s *ThreeWayMergeSuite) SetupTest() { method TearDownTest (line 32) | func (s *ThreeWayMergeSuite) TearDownTest() { method tryThreeWayMerge (line 36) | func (s *ThreeWayMergeSuite) tryThreeWayMerge(a, b, p, exp seq) { method tryThreeWayConflict (line 44) | func (s *ThreeWayMergeSuite) tryThreeWayConflict(a, b, p types.Value, ... function valsToTypesValues (line 53) | func valsToTypesValues(f func(seq) types.Value, items ...interface{}) []... function valToTypesValue (line 62) | func valToTypesValue(f func(seq) types.Value, v interface{}) types.Value { function TestThreeWayMerge_PrimitiveConflict (line 77) | func TestThreeWayMerge_PrimitiveConflict(t *testing.T) { FILE: go/metrics/histogram.go type Histogram (line 29) | type Histogram struct method Sample (line 44) | func (h *Histogram) Sample(v uint64) { method SampleTimeSince (line 61) | func (h *Histogram) SampleTimeSince(t time.Time) { method SampleLen (line 71) | func (h *Histogram) SampleLen(l int) { method bucketVal (line 75) | func (h Histogram) bucketVal(bucket int) uint64 { method Sum (line 81) | func (h Histogram) Sum() uint64 { method Add (line 87) | func (h *Histogram) Add(other Histogram) { method Delta (line 99) | func (h Histogram) Delta(other Histogram) Histogram { method Mean (line 113) | func (h Histogram) Mean() uint64 { method Samples (line 123) | func (h Histogram) Samples() uint64 { method String (line 131) | func (h Histogram) String() string { method Report (line 156) | func (h Histogram) Report() string { type ToStringFunc (line 35) | type ToStringFunc function identToString (line 37) | func identToString(v uint64) string { constant bucketCount (line 41) | bucketCount = 64 function NewTimeHistogram (line 139) | func NewTimeHistogram() Histogram { function timeToString (line 143) | func timeToString(v uint64) string { function NewByteHistogram (line 148) | func NewByteHistogram() Histogram { constant colWidth (line 152) | colWidth = 100 FILE: go/metrics/histogram_test.go function TestHistogramBucketValue (line 13) | func TestHistogramBucketValue(t *testing.T) { function TestHistogramBasic (line 24) | func TestHistogramBasic(t *testing.T) { function TestHistogramLarge (line 52) | func TestHistogramLarge(t *testing.T) { function TestHistogramAdd (line 60) | func TestHistogramAdd(t *testing.T) { function TestHistogramString (line 78) | func TestHistogramString(t *testing.T) { function TestHistogramReport (line 98) | func TestHistogramReport(t *testing.T) { FILE: go/nbs/aws_chunk_source.go function newAWSChunkSource (line 14) | func newAWSChunkSource(ddb *ddbTableStore, s3 *s3ObjectReader, al awsLim... type awsChunkSource (line 53) | type awsChunkSource struct method hash (line 58) | func (acs *awsChunkSource) hash() addr { type awsTableReaderAt (line 62) | type awsTableReaderAt struct method hash (line 74) | func (atra *awsTableReaderAt) hash() addr { method ReadAtWithStats (line 78) | func (atra *awsTableReaderAt) ReadAtWithStats(p []byte, off int64, sta... method getTableReaderAt (line 83) | func (atra *awsTableReaderAt) getTableReaderAt(stats *Stats) tableRead... FILE: go/nbs/aws_chunk_source_test.go function TestAWSChunkSource (line 13) | func TestAWSChunkSource(t *testing.T) { FILE: go/nbs/aws_table_persister.go constant minS3PartSize (line 22) | minS3PartSize = 5 * 1 << 20 constant maxS3PartSize (line 23) | maxS3PartSize = 64 * 1 << 20 constant maxS3Parts (line 24) | maxS3Parts = 10000 constant maxDynamoChunks (line 26) | maxDynamoChunks = 64 constant maxDynamoItemSize (line 27) | maxDynamoItemSize = 400 * (1 << 10) constant defaultS3PartSize (line 29) | defaultS3PartSize = minS3PartSize type awsTablePersister (line 32) | type awsTablePersister struct method Open (line 59) | func (s3p awsTablePersister) Open(name addr, chunkCount uint32, stats ... method Persist (line 76) | func (s3p awsTablePersister) Persist(mt *memTable, haver chunkReader, ... method newReaderFromIndexData (line 94) | func (s3p awsTablePersister) newReaderFromIndexData(idxData []byte, na... method multipartUpload (line 104) | func (s3p awsTablePersister) multipartUpload(data []byte, key string) { method startMultipartUpload (line 114) | func (s3p awsTablePersister) startMultipartUpload(key string) string { method abortMultipartUpload (line 123) | func (s3p awsTablePersister) abortMultipartUpload(key, uploadID string) { method completeMultipartUpload (line 132) | func (s3p awsTablePersister) completeMultipartUpload(key, uploadID str... method uploadParts (line 142) | func (s3p awsTablePersister) uploadParts(data []byte, key, uploadID st... method ConjoinAll (line 239) | func (s3p awsTablePersister) ConjoinAll(sources chunkSources, stats *S... method loadIntoCache (line 256) | func (s3p awsTablePersister) loadIntoCache(name addr) { method executeCompactionPlan (line 267) | func (s3p awsTablePersister) executeCompactionPlan(plan compactionPlan... method assembleTable (line 277) | func (s3p awsTablePersister) assembleTable(plan compactionPlan, key, u... method uploadPartCopy (line 460) | func (s3p awsTablePersister) uploadPartCopy(src string, srcStart, srcE... method uploadPart (line 476) | func (s3p awsTablePersister) uploadPart(data []byte, key, uploadID str... type awsLimits (line 42) | type awsLimits struct method tableFitsInDynamo (line 48) | func (al awsLimits) tableFitsInDynamo(name addr, dataLen int, chunkCou... method tableMayBeInDynamo (line 55) | func (al awsLimits) tableMayBeInDynamo(chunkCount uint32) bool { type s3UploadedPart (line 71) | type s3UploadedPart struct function getNumParts (line 217) | func getNumParts(dataLen, minPartSize uint64) uint64 { type partsByPartNum (line 225) | type partsByPartNum method Len (line 227) | func (s partsByPartNum) Len() int { method Less (line 231) | func (s partsByPartNum) Less(i, j int) bool { method Swap (line 235) | func (s partsByPartNum) Swap(i, j int) { type copyPart (line 392) | type copyPart struct type manualPart (line 397) | type manualPart struct function dividePlan (line 403) | func dividePlan(plan compactionPlan, minPartSize, maxPartSize uint64) (c... function splitOnMaxSize (line 442) | func splitOnMaxSize(dataLen, maxPartSize uint64) []int64 { FILE: go/nbs/aws_table_persister_test.go function TestAWSTablePersisterPersist (line 18) | func TestAWSTablePersisterPersist(t *testing.T) { function makeFakeDTS (line 194) | func makeFakeDTS(ddb ddbsvc, tc *sizecache.SizeCache) *ddbTableStore { type waitOnStoreTableCache (line 198) | type waitOnStoreTableCache struct method checkout (line 204) | func (mtc *waitOnStoreTableCache) checkout(h addr) io.ReaderAt { method checkin (line 210) | func (mtc *waitOnStoreTableCache) checkin(h addr) {} method store (line 212) | func (mtc *waitOnStoreTableCache) store(h addr, data io.Reader, size u... type failingFakeS3 (line 219) | type failingFakeS3 struct method UploadPart (line 225) | func (m *failingFakeS3) UploadPart(input *s3.UploadPartInput) (*s3.Upl... function TestAWSTablePersisterDividePlan (line 235) | func TestAWSTablePersisterDividePlan(t *testing.T) { function TestAWSTablePersisterCalcPartSizes (line 268) | func TestAWSTablePersisterCalcPartSizes(t *testing.T) { function TestAWSTablePersisterConjoinAll (line 289) | func TestAWSTablePersisterConjoinAll(t *testing.T) { function bytesToChunkSource (line 464) | func bytesToChunkSource(bs ...[]byte) chunkSource { FILE: go/nbs/block_store_test.go constant testMemTableSize (line 24) | testMemTableSize = 1 << 8 function TestBlockStoreSuite (line 26) | func TestBlockStoreSuite(t *testing.T) { type BlockStoreSuite (line 30) | type BlockStoreSuite struct method SetupTest (line 37) | func (suite *BlockStoreSuite) SetupTest() { method TearDownTest (line 47) | func (suite *BlockStoreSuite) TearDownTest() { method TestChunkStoreMissingDir (line 52) | func (suite *BlockStoreSuite) TestChunkStoreMissingDir() { method TestChunkStoreNotDir (line 57) | func (suite *BlockStoreSuite) TestChunkStoreNotDir() { method TestChunkStorePut (line 63) | func (suite *BlockStoreSuite) TestChunkStorePut() { method TestChunkStorePutMany (line 92) | func (suite *BlockStoreSuite) TestChunkStorePutMany() { method TestChunkStoreStatsSummary (line 108) | func (suite *BlockStoreSuite) TestChunkStoreStatsSummary() { method TestChunkStorePutMoreThanMemTable (line 121) | func (suite *BlockStoreSuite) TestChunkStorePutMoreThanMemTable() { method TestChunkStoreGetMany (line 140) | func (suite *BlockStoreSuite) TestChunkStoreGetMany() { method TestChunkStoreHasMany (line 170) | func (suite *BlockStoreSuite) TestChunkStoreHasMany() { method TestChunkStoreExtractChunks (line 191) | func (suite *BlockStoreSuite) TestChunkStoreExtractChunks() { method TestChunkStoreFlushOptimisticLockFail (line 210) | func (suite *BlockStoreSuite) TestChunkStoreFlushOptimisticLockFail() { method TestChunkStoreRebaseOnNoOpFlush (line 235) | func (suite *BlockStoreSuite) TestChunkStoreRebaseOnNoOpFlush() { method TestChunkStorePutWithRebase (line 253) | func (suite *BlockStoreSuite) TestChunkStorePutWithRebase() { method TestChunkStoreGetNonExisting (line 420) | func (suite *BlockStoreSuite) TestChunkStoreGetNonExisting() { function TestBlockStoreConjoinOnCommit (line 293) | func TestBlockStoreConjoinOnCommit(t *testing.T) { type cannedConjoin (line 382) | type cannedConjoin struct type fakeConjoiner (line 387) | type fakeConjoiner struct method ConjoinRequired (line 391) | func (fc *fakeConjoiner) ConjoinRequired(ts tableSet) bool { method Conjoin (line 398) | func (fc *fakeConjoiner) Conjoin(upstream manifestContents, mm manifes... function assertInputInStore (line 414) | func assertInputInStore(input []byte, h hash.Hash, s chunks.ChunkStore, ... FILE: go/nbs/cache.go constant defaultCacheMemTableSize (line 17) | defaultCacheMemTableSize uint64 = 1 << 27 function NewCache (line 20) | func NewCache() *NomsBlockCache { type NomsBlockCache (line 29) | type NomsBlockCache struct method Insert (line 35) | func (nbc *NomsBlockCache) Insert(c chunks.Chunk) { method Has (line 40) | func (nbc *NomsBlockCache) Has(hash hash.Hash) bool { method HasMany (line 46) | func (nbc *NomsBlockCache) HasMany(hashes hash.HashSet) hash.HashSet { method Get (line 52) | func (nbc *NomsBlockCache) Get(hash hash.Hash) chunks.Chunk { method GetMany (line 59) | func (nbc *NomsBlockCache) GetMany(hashes hash.HashSet, foundChunks ch... method ExtractChunks (line 65) | func (nbc *NomsBlockCache) ExtractChunks(chunkChan chan *chunks.Chunk) { method Count (line 70) | func (nbc *NomsBlockCache) Count() uint32 { method Destroy (line 75) | func (nbc *NomsBlockCache) Destroy() error { FILE: go/nbs/conjoiner.go type conjoiner (line 16) | type conjoiner interface type inlineConjoiner (line 32) | type inlineConjoiner struct method ConjoinRequired (line 36) | func (c inlineConjoiner) ConjoinRequired(ts tableSet) bool { method Conjoin (line 40) | func (c inlineConjoiner) Conjoin(upstream manifestContents, mm manifes... function conjoin (line 44) | func conjoin(upstream manifestContents, mm manifestUpdater, p tablePersi... function conjoinTables (line 91) | func conjoinTables(p tablePersister, upstream []tableSpec, stats *Stats)... function chooseConjoinees (line 118) | func chooseConjoinees(upstream chunkSources) (toConjoin, toKeep chunkSou... function toSpecs (line 133) | func toSpecs(srcs chunkSources) []tableSpec { FILE: go/nbs/conjoiner_test.go type tableSpecsByAscendingCount (line 18) | type tableSpecsByAscendingCount method Len (line 20) | func (ts tableSpecsByAscendingCount) Len() int { return len(ts) } method Less (line 21) | func (ts tableSpecsByAscendingCount) Less(i, j int) bool { method Swap (line 28) | func (ts tableSpecsByAscendingCount) Swap(i, j int) { ts[i], ts[j] = t... function makeTestSrcs (line 30) | func makeTestSrcs(tableSizes []uint32, p tablePersister) (srcs chunkSour... function TestConjoin (line 50) | func TestConjoin(t *testing.T) { type updatePreemptManifest (line 169) | type updatePreemptManifest struct method Update (line 174) | func (u updatePreemptManifest) Update(lastLock addr, newContents manif... FILE: go/nbs/dynamo_fake_test.go type fakeDDB (line 17) | type fakeDDB struct method readerForTable (line 35) | func (m *fakeDDB) readerForTable(name addr) chunkReader { method GetItem (line 44) | func (m *fakeDDB) GetItem(input *dynamodb.GetItemInput) (*dynamodb.Get... method putRecord (line 68) | func (m *fakeDDB) putRecord(k string, l, r []byte, v string, s string) { method putData (line 72) | func (m *fakeDDB) putData(k string, d []byte) { method PutItem (line 76) | func (m *fakeDDB) PutItem(input *dynamodb.PutItemInput) (*dynamodb.Put... type record (line 23) | type record struct function makeFakeDDB (line 28) | func makeFakeDDB(t *testing.T) *fakeDDB { function checkCondition (line 124) | func checkCondition(current record, expressionAttrVals map[string]*dynam... FILE: go/nbs/dynamo_manifest.go constant dbAttr (line 21) | dbAttr = "db" constant lockAttr (line 22) | lockAttr = "lck" constant rootAttr (line 23) | rootAttr = "root" constant versAttr (line 24) | versAttr = "vers" constant nbsVersAttr (line 25) | nbsVersAttr = "nbsVers" constant tableSpecsAttr (line 26) | tableSpecsAttr = "specs" type ddbsvc (line 34) | type ddbsvc interface type dynamoManifest (line 40) | type dynamoManifest struct method Name (line 51) | func (dm dynamoManifest) Name() string { method ParseIfExists (line 55) | func (dm dynamoManifest) ParseIfExists(stats *Stats, readHook func()) ... method Update (line 99) | func (dm dynamoManifest) Update(lastLock addr, newContents manifestCon... function newDynamoManifest (line 45) | func newDynamoManifest(table, namespace string, ddb ddbsvc) manifest { function validateManifest (line 85) | func validateManifest(item map[string]*dynamodb.AttributeValue) (valid, ... function errIsConditionalCheckFailed (line 144) | func errIsConditionalCheckFailed(err error) bool { FILE: go/nbs/dynamo_manifest_test.go constant table (line 16) | table = "testTable" constant db (line 17) | db = "testDB" function makeDynamoManifestFake (line 20) | func makeDynamoManifestFake(t *testing.T) (mm manifest, ddb *fakeDDB) { function TestDynamoManifestParseIfExists (line 26) | func TestDynamoManifestParseIfExists(t *testing.T) { function makeContents (line 52) | func makeContents(lock, root string, specs []tableSpec) manifestContents { function TestDynamoManifestUpdateWontClobberOldVersion (line 56) | func TestDynamoManifestUpdateWontClobberOldVersion(t *testing.T) { function TestDynamoManifestUpdate (line 69) | func TestDynamoManifestUpdate(t *testing.T) { function TestDynamoManifestCaching (line 109) | func TestDynamoManifestCaching(t *testing.T) { function TestDynamoManifestUpdateEmpty (line 142) | func TestDynamoManifestUpdateEmpty(t *testing.T) { FILE: go/nbs/dynamo_table_reader.go constant dataAttr (line 20) | dataAttr = "data" constant tablePrefix (line 21) | tablePrefix = "*" type dynamoTableReaderAt (line 25) | type dynamoTableReaderAt struct method ReadAtWithStats (line 38) | func (dtra *dynamoTableReaderAt) ReadAtWithStats(p []byte, off int64, ... type tableNotInDynamoErr (line 30) | type tableNotInDynamoErr struct method Error (line 34) | func (t tableNotInDynamoErr) Error() string { type ddbTableStore (line 48) | type ddbTableStore struct method ReadTable (line 55) | func (dts *ddbTableStore) ReadTable(name addr, stats *Stats) (data []b... method readTable (line 82) | func (dts *ddbTableStore) readTable(name addr) (data []byte, err error) { method Write (line 120) | func (dts *ddbTableStore) Write(name addr, data []byte) error { function fmtTableName (line 116) | func fmtTableName(name addr) string { FILE: go/nbs/dynamo_table_reader_test.go function TestDynamoTableReaderAt (line 15) | func TestDynamoTableReaderAt(t *testing.T) { type eventuallyConsistentDDB (line 113) | type eventuallyConsistentDDB struct method GetItem (line 117) | func (ec *eventuallyConsistentDDB) GetItem(input *dynamodb.GetItemInpu... FILE: go/nbs/factory.go constant defaultAWSReadLimit (line 21) | defaultAWSReadLimit = 1024 constant awsMaxTables (line 22) | awsMaxTables = 128 constant defaultSmallTableCacheSize (line 24) | defaultSmallTableCacheSize = 1 << 28 type AWSStoreFactory (line 28) | type AWSStoreFactory struct method CreateStore (line 71) | func (asf *AWSStoreFactory) CreateStore(ns string) chunks.ChunkStore { method CreateStoreFromCache (line 76) | func (asf *AWSStoreFactory) CreateStoreFromCache(ns string) chunks.Chu... method Shutter (line 86) | func (asf *AWSStoreFactory) Shutter() { function NewAWSStoreFactory (line 41) | func NewAWSStoreFactory(sess *session.Session, table, bucket string, max... type LocalStoreFactory (line 89) | type LocalStoreFactory struct method CreateStore (line 128) | func (lsf *LocalStoreFactory) CreateStore(ns string) chunks.ChunkStore { method CreateStoreFromCache (line 137) | func (lsf *LocalStoreFactory) CreateStoreFromCache(ns string) chunks.C... method Shutter (line 151) | func (lsf *LocalStoreFactory) Shutter() { function checkDir (line 99) | func checkDir(dir string) error { function NewLocalStoreFactory (line 110) | func NewLocalStoreFactory(dir string, indexCacheSize uint64, maxOpenFile... FILE: go/nbs/factory_test.go function TestLocalStoreFactory (line 19) | func TestLocalStoreFactory(t *testing.T) { FILE: go/nbs/fd_cache.go function newFDCache (line 15) | func newFDCache(targetSize int) *fdCache { type fdCache (line 24) | type fdCache struct method RefFile (line 42) | func (fc *fdCache) RefFile(path string) (f *os.File, err error) { method UnrefFile (line 84) | func (fc *fdCache) UnrefFile(path string) { method Drop (line 114) | func (fc *fdCache) Drop() { method reportEntries (line 124) | func (fc *fdCache) reportEntries() sort.StringSlice { type fdCacheEntry (line 30) | type fdCacheEntry struct FILE: go/nbs/fd_cache_test.go function TestFDCache (line 19) | func TestFDCache(t *testing.T) { FILE: go/nbs/file_manifest.go constant manifestFileName (line 23) | manifestFileName = "manifest" constant lockFileName (line 24) | lockFileName = "LOCK" type fileManifest (line 32) | type fileManifest struct method Name (line 36) | func (fm fileManifest) Name() string { method ParseIfExists (line 46) | func (fm fileManifest) ParseIfExists(stats *Stats, readHook func()) (e... method Update (line 100) | func (fm fileManifest) Update(lastLock addr, newContents manifestConte... function openIfExists (line 73) | func openIfExists(path string) *os.File { function parseManifest (line 82) | func parseManifest(r io.Reader) manifestContents { function writeManifest (line 145) | func writeManifest(temp io.Writer, contents manifestContents) { function checkClose (line 154) | func checkClose(c io.Closer) { function flock (line 158) | func flock(lockFilePath string) io.Closer { FILE: go/nbs/file_manifest_test.go function makeFileManifestTempDir (line 21) | func makeFileManifestTempDir(t *testing.T) fileManifest { function TestFileManifestLoadIfExists (line 27) | func TestFileManifestLoadIfExists(t *testing.T) { function TestFileManifestLoadIfExistsHoldsLock (line 55) | func TestFileManifestLoadIfExistsHoldsLock(t *testing.T) { function TestFileManifestUpdateWontClobberOldVersion (line 86) | func TestFileManifestUpdateWontClobberOldVersion(t *testing.T) { function TestFileManifestUpdateEmpty (line 99) | func TestFileManifestUpdateEmpty(t *testing.T) { function TestFileManifestUpdate (line 125) | func TestFileManifestUpdate(t *testing.T) { function tryClobberManifest (line 174) | func tryClobberManifest(dir, contents string) ([]byte, error) { function clobberManifest (line 179) | func clobberManifest(dir, contents string) error { function runClobber (line 186) | func runClobber(dir, contents string) ([]byte, error) { FILE: go/nbs/file_table_persister.go constant tempTablePrefix (line 17) | tempTablePrefix = "nbs_table_" function newFSTablePersister (line 19) | func newFSTablePersister(dir string, fc *fdCache, indexCache *indexCache... type fsTablePersister (line 24) | type fsTablePersister struct method Open (line 30) | func (ftp *fsTablePersister) Open(name addr, chunkCount uint32, stats ... method Persist (line 34) | func (ftp *fsTablePersister) Persist(mt *memTable, haver chunkReader, ... method persistTable (line 39) | func (ftp *fsTablePersister) persistTable(name addr, data []byte, chun... method ConjoinAll (line 61) | func (ftp *fsTablePersister) ConjoinAll(sources chunkSources, stats *S... FILE: go/nbs/file_table_persister_test.go function TestFSTableCacheOnOpen (line 19) | func TestFSTableCacheOnOpen(t *testing.T) { function makeTempDir (line 60) | func makeTempDir(t *testing.T) string { function writeTableData (line 66) | func writeTableData(dir string, chunx ...[]byte) (name addr, err error) { function removeTables (line 73) | func removeTables(dir string, names ...addr) error { function contains (line 82) | func contains(s sort.StringSlice, e string) bool { function TestFSTablePersisterPersist (line 91) | func TestFSTablePersisterPersist(t *testing.T) { function persistTableData (line 109) | func persistTableData(p tablePersister, chunx ...[]byte) (src chunkSourc... function TestFSTablePersisterPersistNoData (line 119) | func TestFSTablePersisterPersistNoData(t *testing.T) { function TestFSTablePersisterCacheOnPersist (line 142) | func TestFSTablePersisterCacheOnPersist(t *testing.T) { function TestFSTablePersisterConjoinAll (line 171) | func TestFSTablePersisterConjoinAll(t *testing.T) { function TestFSTablePersisterConjoinAllDups (line 205) | func TestFSTablePersisterConjoinAllDups(t *testing.T) { FILE: go/nbs/fs_table_cache.go type tableCache (line 20) | type tableCache interface type fsTableCache (line 26) | type fsTableCache struct method init (line 42) | func (ftc *fsTableCache) init(concurrency int) { method checkout (line 95) | func (ftc *fsTableCache) checkout(h addr) io.ReaderAt { method checkin (line 106) | func (ftc *fsTableCache) checkin(h addr) { method store (line 110) | func (ftc *fsTableCache) store(h addr, data io.Reader, size uint64) { method expire (line 129) | func (ftc *fsTableCache) expire(h addr) { function newFSTableCache (line 32) | func newFSTableCache(dir string, cacheSize uint64, maxOpenFds int) *fsTa... FILE: go/nbs/fs_table_cache_test.go function TestFSTableCache (line 19) | func TestFSTableCache(t *testing.T) { function assertDataInReaderAt (line 106) | func assertDataInReaderAt(t *testing.T, data []byte, r io.ReaderAt) { FILE: go/nbs/manifest.go type manifest (line 17) | type manifest interface type manifestUpdater (line 39) | type manifestUpdater interface type manifestContents (line 58) | type manifestContents struct method size (line 65) | func (mc manifestContents) size() (size uint64) { function newManifestLocks (line 73) | func newManifestLocks() *manifestLocks { type manifestLocks (line 77) | type manifestLocks struct method lockForFetch (line 83) | func (ml *manifestLocks) lockForFetch(db string) { method unlockForFetch (line 87) | func (ml *manifestLocks) unlockForFetch(db string) { method lockForUpdate (line 91) | func (ml *manifestLocks) lockForUpdate(db string) { method unlockForUpdate (line 95) | func (ml *manifestLocks) unlockForUpdate(db string) { function lockByName (line 99) | func lockByName(db string, c *sync.Cond, locks map[string]struct{}) { function unlockByName (line 112) | func unlockByName(db string, c *sync.Cond, locks map[string]struct{}) { type manifestManager (line 123) | type manifestManager struct method lockOutFetch (line 129) | func (mm manifestManager) lockOutFetch() { method allowFetch (line 133) | func (mm manifestManager) allowFetch() { method LockForUpdate (line 137) | func (mm manifestManager) LockForUpdate() { method UnlockForUpdate (line 141) | func (mm manifestManager) UnlockForUpdate() { method updateWillFail (line 145) | func (mm manifestManager) updateWillFail(lastLock addr) (cached manife... method Fetch (line 154) | func (mm manifestManager) Fetch(stats *Stats) (exists bool, contents m... method Update (line 176) | func (mm manifestManager) Update(lastLock addr, newContents manifestCo... method Name (line 192) | func (mm manifestManager) Name() string { type tableSpec (line 196) | type tableSpec struct function parseSpecs (line 201) | func parseSpecs(tableInfo []string) []tableSpec { function formatSpecs (line 212) | func formatSpecs(specs []tableSpec, tableInfo []string) { function generateLockHash (line 226) | func generateLockHash(root hash.Hash, specs []tableSpec) (lock addr) { FILE: go/nbs/manifest_cache.go function newManifestCache (line 16) | func newManifestCache(maxSize uint64) *manifestCache { type manifestCacheEntry (line 24) | type manifestCacheEntry struct type manifestCache (line 30) | type manifestCache struct method Get (line 41) | func (mc *manifestCache) Get(db string) (contents manifestContents, t ... method entry (line 54) | func (mc *manifestCache) entry(key string) (manifestCacheEntry, bool) { method Put (line 70) | func (mc *manifestCache) Put(db string, contents manifestContents, t t... FILE: go/nbs/manifest_cache_test.go function TestSizeCache (line 14) | func TestSizeCache(t *testing.T) { FILE: go/nbs/mem_table.go type memTable (line 15) | type memTable struct method addChunk (line 27) | func (mt *memTable) addChunk(h addr, data []byte) bool { method count (line 49) | func (mt *memTable) count() uint32 { method uncompressedLen (line 53) | func (mt *memTable) uncompressedLen() uint64 { method has (line 57) | func (mt *memTable) has(h addr) (has bool) { method hasMany (line 62) | func (mt *memTable) hasMany(addrs []hasRecord) (remaining bool) { method get (line 77) | func (mt *memTable) get(h addr, stats *Stats) []byte { method getMany (line 81) | func (mt *memTable) getMany(reqs []getRecord, foundChunks chan *chunks... method extract (line 94) | func (mt *memTable) extract(chunks chan<- extractRecord) { method write (line 101) | func (mt *memTable) write(haver chunkReader, stats *Stats) (name addr,... function newMemTable (line 23) | func newMemTable(memTableSize uint64) *memTable { FILE: go/nbs/mem_table_test.go function TestMemTableAddHasGetChunk (line 17) | func TestMemTableAddHasGetChunk(t *testing.T) { function TestMemTableAddOverflowChunk (line 42) | func TestMemTableAddOverflowChunk(t *testing.T) { function TestMemTableWrite (line 71) | func TestMemTableWrite(t *testing.T) { type tableReaderAtAdapter (line 101) | type tableReaderAtAdapter struct method ReadAtWithStats (line 109) | func (adapter tableReaderAtAdapter) ReadAtWithStats(p []byte, off int6... function tableReaderAtFromBytes (line 105) | func tableReaderAtFromBytes(b []byte) tableReaderAt { function TestMemTableSnappyWriteOutOfLine (line 113) | func TestMemTableSnappyWriteOutOfLine(t *testing.T) { type outOfLineSnappy (line 131) | type outOfLineSnappy struct method Encode (line 135) | func (o *outOfLineSnappy) Encode(dst, src []byte) []byte { type chunkReaderGroup (line 147) | type chunkReaderGroup method has (line 149) | func (crg chunkReaderGroup) has(h addr) bool { method get (line 158) | func (crg chunkReaderGroup) get(h addr, stats *Stats) []byte { method hasMany (line 167) | func (crg chunkReaderGroup) hasMany(addrs []hasRecord) (remaining bool) { method getMany (line 176) | func (crg chunkReaderGroup) getMany(reqs []getRecord, foundChunks chan... method count (line 185) | func (crg chunkReaderGroup) count() (count uint32) { method uncompressedLen (line 192) | func (crg chunkReaderGroup) uncompressedLen() (data uint64) { method extract (line 199) | func (crg chunkReaderGroup) extract(chunks chan<- extractRecord) { FILE: go/nbs/mmap_table_reader.go type mmapTableReader (line 20) | type mmapTableReader struct method hash (line 83) | func (mmtr *mmapTableReader) hash() addr { constant fileBlockSize (line 27) | fileBlockSize = 1 << 12 function init (line 35) | func init() { function newMmapTableReader (line 41) | func newMmapTableReader(dir string, h addr, chunkCount uint32, indexCach... type cacheReaderAt (line 87) | type cacheReaderAt struct method ReadAtWithStats (line 92) | func (cra *cacheReaderAt) ReadAtWithStats(p []byte, off int64, stats *... FILE: go/nbs/mmap_table_reader_test.go function TestMmapTableReader (line 16) | func TestMmapTableReader(t *testing.T) { FILE: go/nbs/persisting_chunk_source.go function newPersistingChunkSource (line 17) | func newPersistingChunkSource(mt *memTable, haver chunkReader, p tablePe... type persistingChunkSource (line 40) | type persistingChunkSource struct method getReader (line 48) | func (ccs *persistingChunkSource) getReader() chunkReader { method has (line 57) | func (ccs *persistingChunkSource) has(h addr) bool { method hasMany (line 63) | func (ccs *persistingChunkSource) hasMany(addrs []hasRecord) bool { method get (line 69) | func (ccs *persistingChunkSource) get(h addr, stats *Stats) []byte { method getMany (line 75) | func (ccs *persistingChunkSource) getMany(reqs []getRecord, foundChunk... method count (line 81) | func (ccs *persistingChunkSource) count() uint32 { method uncompressedLen (line 87) | func (ccs *persistingChunkSource) uncompressedLen() uint64 { method hash (line 93) | func (ccs *persistingChunkSource) hash() addr { method index (line 99) | func (ccs *persistingChunkSource) index() tableIndex { method reader (line 105) | func (ccs *persistingChunkSource) reader() io.Reader { method calcReads (line 111) | func (ccs *persistingChunkSource) calcReads(reqs []getRecord, blockSiz... method extract (line 117) | func (ccs *persistingChunkSource) extract(chunks chan<- extractRecord) { type emptyChunkSource (line 123) | type emptyChunkSource struct method has (line 125) | func (ecs emptyChunkSource) has(h addr) bool { method hasMany (line 129) | func (ecs emptyChunkSource) hasMany(addrs []hasRecord) bool { method get (line 133) | func (ecs emptyChunkSource) get(h addr, stats *Stats) []byte { method getMany (line 137) | func (ecs emptyChunkSource) getMany(reqs []getRecord, foundChunks chan... method count (line 141) | func (ecs emptyChunkSource) count() uint32 { method uncompressedLen (line 145) | func (ecs emptyChunkSource) uncompressedLen() uint64 { method hash (line 149) | func (ecs emptyChunkSource) hash() addr { method index (line 153) | func (ecs emptyChunkSource) index() tableIndex { method reader (line 157) | func (ecs emptyChunkSource) reader() io.Reader { method calcReads (line 161) | func (ecs emptyChunkSource) calcReads(reqs []getRecord, blockSize uint... method extract (line 165) | func (ecs emptyChunkSource) extract(chunks chan<- extractRecord) {} FILE: go/nbs/persisting_chunk_source_test.go function TestPersistingChunkStoreEmpty (line 13) | func TestPersistingChunkStoreEmpty(t *testing.T) { type pausingFakeTablePersister (line 20) | type pausingFakeTablePersister struct method Persist (line 25) | func (ftp pausingFakeTablePersister) Persist(mt *memTable, haver chunk... function TestPersistingChunkStore (line 30) | func TestPersistingChunkStore(t *testing.T) { FILE: go/nbs/root_tracker_test.go function TestChunkStoreZeroValue (line 18) | func TestChunkStoreZeroValue(t *testing.T) { function TestChunkStoreVersion (line 28) | func TestChunkStoreVersion(t *testing.T) { function TestChunkStoreRebase (line 40) | func TestChunkStoreRebase(t *testing.T) { function TestChunkStoreCommit (line 63) | func TestChunkStoreCommit(t *testing.T) { function TestChunkStoreManifestAppearsAfterConstruction (line 88) | func TestChunkStoreManifestAppearsAfterConstruction(t *testing.T) { function TestChunkStoreManifestFirstWriteByOtherProcess (line 104) | func TestChunkStoreManifestFirstWriteByOtherProcess(t *testing.T) { function TestChunkStoreCommitOptimisticLockFail (line 121) | func TestChunkStoreCommitOptimisticLockFail(t *testing.T) { function TestChunkStoreManifestPreemptiveOptimisticLockFail (line 135) | func TestChunkStoreManifestPreemptiveOptimisticLockFail(t *testing.T) { function TestChunkStoreCommitLocksOutFetch (line 166) | func TestChunkStoreCommitLocksOutFetch(t *testing.T) { function TestChunkStoreSerializeCommits (line 196) | func TestChunkStoreSerializeCommits(t *testing.T) { function makeStoreWithFakes (line 242) | func makeStoreWithFakes(t *testing.T) (fm *fakeManifest, p tablePersiste... function interloperWrite (line 251) | func interloperWrite(fm *fakeManifest, p tablePersister, rootChunk []byt... function createMemTable (line 259) | func createMemTable(chunks [][]byte) *memTable { function assertDataInStore (line 267) | func assertDataInStore(slices [][]byte, store chunks.ChunkStore, assert ... type fakeManifest (line 274) | type fakeManifest struct method Name (line 280) | func (fm *fakeManifest) Name() string { return fm.name } method ParseIfExists (line 284) | func (fm *fakeManifest) ParseIfExists(stats *Stats, readHook func()) (... method Update (line 298) | func (fm *fakeManifest) Update(lastLock addr, newContents manifestCont... method set (line 309) | func (fm *fakeManifest) set(version string, lock addr, root hash.Hash,... function newFakeTableSet (line 313) | func newFakeTableSet() tableSet { function newFakeTablePersister (line 317) | func newFakeTablePersister() tablePersister { type fakeTablePersister (line 321) | type fakeTablePersister struct method Persist (line 326) | func (ftp fakeTablePersister) Persist(mt *memTable, haver chunkReader,... method ConjoinAll (line 339) | func (ftp fakeTablePersister) ConjoinAll(sources chunkSources, stats *... method Open (line 392) | func (ftp fakeTablePersister) Open(name addr, chunkCount uint32, stats... function compactSourcesToBuffer (line 350) | func compactSourcesToBuffer(sources chunkSources) (name addr, data []byt... type chunkSourceAdapter (line 398) | type chunkSourceAdapter struct method hash (line 403) | func (csa chunkSourceAdapter) hash() addr { method index (line 407) | func (csa chunkSourceAdapter) index() tableIndex { FILE: go/nbs/s3_fake_test.go type mockAWSError (line 25) | type mockAWSError method Error (line 27) | func (m mockAWSError) Error() string { return string(m) } method Code (line 28) | func (m mockAWSError) Code() string { return string(m) } method Message (line 29) | func (m mockAWSError) Message() string { return string(m) } method OrigErr (line 30) | func (m mockAWSError) OrigErr() error { return nil } function makeFakeS3 (line 32) | func makeFakeS3(t *testing.T) *fakeS3 { type fakeS3 (line 41) | type fakeS3 struct method readerForTable (line 57) | func (m *fakeS3) readerForTable(name addr) chunkReader { method AbortMultipartUpload (line 66) | func (m *fakeS3) AbortMultipartUpload(input *s3.AbortMultipartUploadIn... method CreateMultipartUpload (line 81) | func (m *fakeS3) CreateMultipartUpload(input *s3.CreateMultipartUpload... method UploadPart (line 99) | func (m *fakeS3) UploadPart(input *s3.UploadPartInput) (*s3.UploadPart... method UploadPartCopy (line 122) | func (m *fakeS3) UploadPartCopy(input *s3.UploadPartCopyInput) (*s3.Up... method CompleteMultipartUpload (line 156) | func (m *fakeS3) CompleteMultipartUpload(input *s3.CompleteMultipartUp... method GetObject (line 176) | func (m *fakeS3) GetObject(input *s3.GetObjectInput) (*s3.GetObjectOut... method PutObject (line 218) | func (m *fakeS3) PutObject(input *s3.PutObjectInput) (*s3.PutObjectOut... type fakeS3Multipart (line 52) | type fakeS3Multipart struct function parseRange (line 198) | func parseRange(hdr string, total int) (start, end int) { FILE: go/nbs/s3_table_reader.go constant s3RangePrefix (line 23) | s3RangePrefix = "bytes" constant s3BlockSize (line 24) | s3BlockSize = (1 << 10) * 512 type s3TableReaderAt (line 27) | type s3TableReaderAt struct method ReadAtWithStats (line 42) | func (s3tra *s3TableReaderAt) ReadAtWithStats(p []byte, off int64, sta... type s3svc (line 32) | type s3svc interface type s3ObjectReader (line 47) | type s3ObjectReader struct method ReadAt (line 54) | func (s3or *s3ObjectReader) ReadAt(name addr, p []byte, off int64, sta... method ReadFromEnd (line 81) | func (s3or *s3ObjectReader) ReadFromEnd(name addr, p []byte, stats *St... method readRange (line 90) | func (s3or *s3ObjectReader) readRange(name addr, p []byte, rangeHeader... function s3RangeHeader (line 76) | func s3RangeHeader(off, length int64) string { function isConnReset (line 134) | func isConnReset(err error) bool { FILE: go/nbs/s3_table_reader_test.go function TestS3TableReaderAt (line 20) | func TestS3TableReaderAt(t *testing.T) { type flakyS3 (line 70) | type flakyS3 struct method GetObject (line 79) | func (fs3 *flakyS3) GetObject(input *s3.GetObjectInput) (output *s3.Ge... function makeFlakyS3 (line 75) | func makeFlakyS3(svc s3svc) *flakyS3 { type resettingReader (line 88) | type resettingReader struct method Read (line 90) | func (rr resettingReader) Read(p []byte) (n int, err error) { FILE: go/nbs/stats.go type Stats (line 13) | type Stats struct method Add (line 84) | func (s *Stats) Add(other Stats) { method Delta (line 127) | func (s Stats) Delta(other Stats) Stats { method String (line 172) | func (s Stats) String() string { function NewStats (line 56) | func NewStats() *Stats { FILE: go/nbs/stats_test.go function TestStats (line 17) | func TestStats(t *testing.T) { FILE: go/nbs/store.go constant StorageVersion (line 26) | StorageVersion = "4" constant defaultMemTableSize (line 28) | defaultMemTableSize uint64 = (1 << 20) * 128 constant defaultMaxTables (line 29) | defaultMaxTables = 192 constant defaultIndexCacheSize (line 31) | defaultIndexCacheSize = (1 << 20) * 8 constant defaultManifestCacheSize (line 32) | defaultManifestCacheSize = 1 << 23 constant preflushChunkCount (line 33) | preflushChunkCount = 8 function makeGlobalCaches (line 43) | func makeGlobalCaches() { type NomsBlockStore (line 52) | type NomsBlockStore struct method Put (line 135) | func (nbs *NomsBlockStore) Put(c chunks.Chunk) { method addChunk (line 145) | func (nbs *NomsBlockStore) addChunk(h addr, data []byte) bool { method Get (line 159) | func (nbs *NomsBlockStore) Get(h hash.Hash) chunks.Chunk { method GetMany (line 185) | func (nbs *NomsBlockStore) GetMany(hashes hash.HashSet, foundChunks ch... method CalcReads (line 233) | func (nbs *NomsBlockStore) CalcReads(hashes hash.HashSet, blockSize ui... method extractChunks (line 248) | func (nbs *NomsBlockStore) extractChunks(chunkChan chan<- *chunks.Chun... method Count (line 266) | func (nbs *NomsBlockStore) Count() uint32 { method Has (line 278) | func (nbs *NomsBlockStore) Has(h hash.Hash) bool { method HasMany (line 296) | func (nbs *NomsBlockStore) HasMany(hashes hash.HashSet) hash.HashSet { method Rebase (line 349) | func (nbs *NomsBlockStore) Rebase() { method Root (line 358) | func (nbs *NomsBlockStore) Root() hash.Hash { method Commit (line 364) | func (nbs *NomsBlockStore) Commit(current, last hash.Hash) bool { method updateManifest (line 412) | func (nbs *NomsBlockStore) updateManifest(current, last hash.Hash) err... method Version (line 463) | func (nbs *NomsBlockStore) Version() string { method Close (line 467) | func (nbs *NomsBlockStore) Close() (err error) { method Stats (line 471) | func (nbs *NomsBlockStore) Stats() interface{} { method StatsSummary (line 475) | func (nbs *NomsBlockStore) StatsSummary() string { function NewAWSStore (line 68) | func NewAWSStore(table, ns, bucket string, s3 s3svc, ddb ddbsvc, memTabl... function NewLocalStore (line 84) | func NewLocalStore(dir string, memTableSize uint64) *NomsBlockStore { function newNomsBlockStore (line 93) | func newNomsBlockStore(mm manifestManager, p tablePersister, c conjoiner... function newNomsBlockStoreWithContents (line 118) | func newNomsBlockStoreWithContents(mm manifestManager, mc manifestConten... function toGetRecords (line 217) | func toGetRecords(hashes hash.HashSet) []getRecord { function toHasRecords (line 332) | func toHasRecords(hashes hash.HashSet) []hasRecord { FILE: go/nbs/table.go constant addrSize (line 106) | addrSize uint64 = 20 constant addrPrefixSize (line 107) | addrPrefixSize uint64 = 8 constant addrSuffixSize (line 108) | addrSuffixSize = addrSize - addrPrefixSize constant uint64Size (line 109) | uint64Size uint64 = 8 constant uint32Size (line 110) | uint32Size uint64 = 4 constant ordinalSize (line 111) | ordinalSize uint64 = uint32Size constant lengthSize (line 112) | lengthSize uint64 = uint32Size constant magicNumber (line 113) | magicNumber = "\xff\xb5\xd8\xc2\x24\x63\xee\x50" constant magicNumberSize (line 114) | magicNumberSize uint64 = uint64(len(magicNumber)) constant footerSize (line 115) | footerSize = uint32Size + uint64Size + magicNumberSize constant prefixTupleSize (line 116) | prefixTupleSize = addrPrefixSize + ordinalSize constant checksumSize (line 117) | checksumSize uint64 = uint32Size constant maxChunkLengthSize (line 118) | maxChunkLengthSize uint64 = binary.MaxVarintLen64 constant maxChunkSize (line 119) | maxChunkSize uint64 = 0xffffffff function crc (line 124) | func crc(b []byte) uint32 { function computeAddrDefault (line 128) | func computeAddrDefault(data []byte) addr { type addr (line 137) | type addr method String (line 141) | func (a addr) String() string { method Prefix (line 145) | func (a addr) Prefix() uint64 { method Checksum (line 149) | func (a addr) Checksum() uint32 { function ParseAddr (line 153) | func ParseAddr(b []byte) (h addr) { function ValidateAddr (line 158) | func ValidateAddr(s string) bool { type addrSlice (line 163) | type addrSlice method Len (line 165) | func (hs addrSlice) Len() int { return len(hs) } method Less (line 166) | func (hs addrSlice) Less(i, j int) bool { return bytes.Compare(hs[i][:... method Swap (line 167) | func (hs addrSlice) Swap(i, j int) { hs[i], hs[j] = hs[j], hs[i] } type hasRecord (line 169) | type hasRecord struct type hasRecordByPrefix (line 176) | type hasRecordByPrefix method Len (line 178) | func (hs hasRecordByPrefix) Len() int { return len(hs) } method Less (line 179) | func (hs hasRecordByPrefix) Less(i, j int) bool { return hs[i].prefix ... method Swap (line 180) | func (hs hasRecordByPrefix) Swap(i, j int) { hs[i], hs[j] = hs[j]... type hasRecordByOrder (line 182) | type hasRecordByOrder method Len (line 184) | func (hs hasRecordByOrder) Len() int { return len(hs) } method Less (line 185) | func (hs hasRecordByOrder) Less(i, j int) bool { return hs[i].order < ... method Swap (line 186) | func (hs hasRecordByOrder) Swap(i, j int) { hs[i], hs[j] = hs[j],... type getRecord (line 188) | type getRecord struct type getRecordByPrefix (line 194) | type getRecordByPrefix method Len (line 196) | func (hs getRecordByPrefix) Len() int { return len(hs) } method Less (line 197) | func (hs getRecordByPrefix) Less(i, j int) bool { return hs[i].prefix ... method Swap (line 198) | func (hs getRecordByPrefix) Swap(i, j int) { hs[i], hs[j] = hs[j]... type extractRecord (line 200) | type extractRecord struct type chunkReader (line 206) | type chunkReader interface type chunkReadPlanner (line 216) | type chunkReadPlanner interface type chunkSource (line 227) | type chunkSource interface type chunkSources (line 237) | type chunkSources FILE: go/nbs/table_persister.go type tablePersister (line 23) | type tablePersister interface type indexCache (line 39) | type indexCache struct method lockEntry (line 52) | func (sic *indexCache) lockEntry(name addr) { method unlockEntry (line 65) | func (sic *indexCache) unlockEntry(name addr) { method get (line 76) | func (sic *indexCache) get(name addr) (tableIndex, bool) { method put (line 83) | func (sic *indexCache) put(name addr, idx tableIndex) { function newIndexCache (line 46) | func newIndexCache(size uint64) *indexCache { type chunkSourcesByAscendingCount (line 88) | type chunkSourcesByAscendingCount method Len (line 90) | func (csbc chunkSourcesByAscendingCount) Len() int { return len(csbc) } method Less (line 91) | func (csbc chunkSourcesByAscendingCount) Less(i, j int) bool { method Swap (line 99) | func (csbc chunkSourcesByAscendingCount) Swap(i, j int) { csbc[i], csb... type chunkSourcesByDescendingDataSize (line 101) | type chunkSourcesByDescendingDataSize method Len (line 103) | func (csbds chunkSourcesByDescendingDataSize) Len() int { return len(c... method Less (line 104) | func (csbds chunkSourcesByDescendingDataSize) Less(i, j int) bool { method Swap (line 112) | func (csbds chunkSourcesByDescendingDataSize) Swap(i, j int) { csbds[i... type sourceWithSize (line 114) | type sourceWithSize struct type compactionPlan (line 119) | type compactionPlan struct method lengths (line 126) | func (cp compactionPlan) lengths() []byte { method suffixes (line 131) | func (cp compactionPlan) suffixes() []byte { function planConjoin (line 136) | func planConjoin(sources chunkSources, stats *Stats) (plan compactionPla... function nameFromSuffixes (line 195) | func nameFromSuffixes(suffixes []byte) (name addr) { function calcChunkDataLen (line 205) | func calcChunkDataLen(index tableIndex) uint64 { FILE: go/nbs/table_persister_test.go function TestPlanCompaction (line 13) | func TestPlanCompaction(t *testing.T) { FILE: go/nbs/table_reader.go type tableIndex (line 20) | type tableIndex struct method prefixIdxToOrdinal (line 102) | func (ti tableIndex) prefixIdxToOrdinal(idx uint32) uint32 { method prefixIdx (line 108) | func (ti tableIndex) prefixIdx(prefix uint64) (idx uint32) { method ordinalSuffixMatches (line 126) | func (ti tableIndex) ordinalSuffixMatches(ordinal uint32, h addr) bool { method lookupOrdinal (line 132) | func (ti tableIndex) lookupOrdinal(h addr) uint32 { type tableReaderAt (line 28) | type tableReaderAt interface type tableReader (line 34) | type tableReader struct method hasMany (line 151) | func (tr tableReader) hasMany(addrs []hasRecord) (remaining bool) { method count (line 192) | func (tr tableReader) count() uint32 { method uncompressedLen (line 196) | func (tr tableReader) uncompressedLen() uint64 { method index (line 200) | func (tr tableReader) index() tableIndex { method has (line 205) | func (tr tableReader) has(h addr) bool { method get (line 212) | func (tr tableReader) get(h addr, stats *Stats) (data []byte) { method readAtOffsets (line 243) | func (tr tableReader) readAtOffsets( method getMany (line 276) | func (tr tableReader) getMany( method getManyAtOffsets (line 289) | func (tr tableReader) getManyAtOffsets( method findOffsets (line 343) | func (tr tableReader) findOffsets(reqs []getRecord) (ors offsetRecSlic... method parseChunk (line 401) | func (tr tableReader) parseChunk(buff []byte) []byte { method calcReads (line 413) | func (tr tableReader) calcReads(reqs []getRecord, blockSize uint64) (r... method extract (line 451) | func (tr tableReader) extract(chunks chan<- extractRecord) { method reader (line 476) | func (tr tableReader) reader() io.Reader { function parseTableIndex (line 41) | func parseTableIndex(buff []byte) tableIndex { function computeOffsets (line 77) | func computeOffsets(count uint32, buff []byte) (lengths []uint32, offset... function computePrefixes (line 90) | func computePrefixes(count uint32, buff []byte) (prefixes []uint64, ordi... function newTableReader (line 146) | func newTableReader(index tableIndex, r tableReaderAt, blockSize uint64)... type offsetRec (line 231) | type offsetRec struct type offsetRecSlice (line 237) | type offsetRecSlice method Len (line 239) | func (hs offsetRecSlice) Len() int { return len(hs) } method Less (line 240) | func (hs offsetRecSlice) Less(i, j int) bool { return hs[i].offset < h... method Swap (line 241) | func (hs offsetRecSlice) Swap(i, j int) { hs[i], hs[j] = hs[j], h... function canReadAhead (line 383) | func canReadAhead(fRec offsetRec, fLength uint32, readStart, readEnd, bl... type readerAdapter (line 480) | type readerAdapter struct method Read (line 485) | func (ra *readerAdapter) Read(p []byte) (n int, err error) { FILE: go/nbs/table_set.go constant concurrentCompactions (line 14) | concurrentCompactions = 5 function newTableSet (line 16) | func newTableSet(persister tablePersister) tableSet { type tableSet (line 21) | type tableSet struct method has (line 27) | func (ts tableSet) has(h addr) bool { method hasMany (line 39) | func (ts tableSet) hasMany(addrs []hasRecord) (remaining bool) { method get (line 51) | func (ts tableSet) get(h addr, stats *Stats) []byte { method getMany (line 66) | func (ts tableSet) getMany(reqs []getRecord, foundChunks chan *chunks.... method calcReads (line 88) | func (ts tableSet) calcReads(reqs []getRecord, blockSize uint64) (read... method count (line 110) | func (ts tableSet) count() uint32 { method uncompressedLen (line 120) | func (ts tableSet) uncompressedLen() uint64 { method physicalLen (line 130) | func (ts tableSet) physicalLen() uint64 { method Size (line 143) | func (ts tableSet) Size() int { method Novel (line 149) | func (ts tableSet) Novel() int { method Upstream (line 154) | func (ts tableSet) Upstream() int { method Prepend (line 160) | func (ts tableSet) Prepend(mt *memTable, stats *Stats) tableSet { method extract (line 173) | func (ts tableSet) extract(chunks chan<- extractRecord) { method Flatten (line 185) | func (ts tableSet) Flatten() (flattened tableSet) { method Rebase (line 202) | func (ts tableSet) Rebase(specs []tableSpec, stats *Stats) tableSet { method ToSpecs (line 242) | func (ts tableSet) ToSpecs() []tableSpec { FILE: go/nbs/table_set_test.go function TestTableSetPrependEmpty (line 15) | func TestTableSetPrependEmpty(t *testing.T) { function TestTableSetPrepend (line 20) | func TestTableSetPrepend(t *testing.T) { function TestTableSetToSpecsExcludesEmptyTable (line 41) | func TestTableSetToSpecsExcludesEmptyTable(t *testing.T) { function TestTableSetFlattenExcludesEmptyTable (line 61) | func TestTableSetFlattenExcludesEmptyTable(t *testing.T) { function TestTableSetExtract (line 81) | func TestTableSetExtract(t *testing.T) { function TestTableSetRebase (line 109) | func TestTableSetRebase(t *testing.T) { function TestTableSetPhysicalLen (line 136) | func TestTableSetPhysicalLen(t *testing.T) { FILE: go/nbs/table_test.go function buildTable (line 21) | func buildTable(chunks [][]byte) ([]byte, addr) { function TestSimple (line 40) | func TestSimple(t *testing.T) { function assertChunksInReader (line 71) | func assertChunksInReader(chunks [][]byte, r chunkReader, assert *assert... function assertChunksNotInReader (line 77) | func assertChunksNotInReader(chunks [][]byte, r chunkReader, assert *ass... function TestHasMany (line 83) | func TestHasMany(t *testing.T) { function TestHasManySequentialPrefix (line 109) | func TestHasManySequentialPrefix(t *testing.T) { function TestGetMany (line 153) | func TestGetMany(t *testing.T) { function TestCalcReads (line 188) | func TestCalcReads(t *testing.T) { function TestExtract (line 219) | func TestExtract(t *testing.T) { function Test65k (line 244) | func Test65k(t *testing.T) { function computeAddrCommonPrefix (line 278) | func computeAddrCommonPrefix(data []byte) addr { function doTestNGetMany (line 290) | func doTestNGetMany(t *testing.T, count int) { function Test65kGetMany (line 328) | func Test65kGetMany(t *testing.T) { function Test2kGetManyCommonPrefix (line 332) | func Test2kGetManyCommonPrefix(t *testing.T) { function TestEmpty (line 341) | func TestEmpty(t *testing.T) { FILE: go/nbs/table_writer.go type tableWriter (line 19) | type tableWriter struct method addChunk (line 72) | func (tw *tableWriter) addChunk(h addr, data []byte) bool { method finish (line 108) | func (tw *tableWriter) finish() (uncompressedLength uint64, blockAddr ... method writeIndex (line 131) | func (tw *tableWriter) writeIndex() { method writeFooter (line 165) | func (tw *tableWriter) writeFooter() { type snappyEncoder (line 30) | type snappyEncoder interface type realSnappyEncoder (line 34) | type realSnappyEncoder struct method Encode (line 36) | func (r realSnappyEncoder) Encode(dst, src []byte) []byte { function maxTableSize (line 40) | func maxTableSize(numChunks, totalData uint64) uint64 { function indexSize (line 48) | func indexSize(numChunks uint32) uint64 { function lengthsOffset (line 52) | func lengthsOffset(numChunks uint32) uint64 { function suffixesOffset (line 56) | func suffixesOffset(numChunks uint32) uint64 { function newTableWriter (line 61) | func newTableWriter(buff []byte, snapper snappyEncoder) *tableWriter { type prefixIndexRec (line 119) | type prefixIndexRec struct type prefixIndexSlice (line 125) | type prefixIndexSlice method Len (line 127) | func (hs prefixIndexSlice) Len() int { return len(hs) } method Less (line 128) | func (hs prefixIndexSlice) Less(i, j int) bool { return hs[i].prefix <... method Swap (line 129) | func (hs prefixIndexSlice) Swap(i, j int) { hs[i], hs[j] = hs[j],... function writeFooter (line 169) | func writeFooter(dst []byte, chunkCount uint32, uncData uint64) (consume... FILE: go/nbs/test/manifest_clobber.go function main (line 15) | func main() { FILE: go/ngql/query.go constant atKey (line 19) | atKey = "at" constant countKey (line 20) | countKey = "count" constant elementsKey (line 21) | elementsKey = "elements" constant entriesKey (line 22) | entriesKey = "entries" constant keyKey (line 23) | keyKey = "key" constant keysKey (line 24) | keysKey = "keys" constant rootKey (line 25) | rootKey = "root" constant rootQueryKey (line 26) | rootQueryKey = "Root" constant scalarValue (line 27) | scalarValue = "scalarValue" constant sizeKey (line 28) | sizeKey = "size" constant targetHashKey (line 29) | targetHashKey = "targetHash" constant targetValueKey (line 30) | targetValueKey = "targetValue" constant throughKey (line 31) | throughKey = "through" constant valueKey (line 32) | valueKey = "value" constant valuesKey (line 33) | valuesKey = "values" constant vrwKey (line 34) | vrwKey = "vrw" function NewRootQueryObject (line 39) | func NewRootQueryObject(rootValue types.Value, tm *TypeMap) *graphql.Obj... method NewRootQueryObject (line 46) | func (tc *TypeConverter) NewRootQueryObject(rootValue types.Value) *grap... function NewContext (line 64) | func NewContext(vrw types.ValueReader) context.Context { function Query (line 70) | func Query(rootValue types.Value, query string, vrw types.ValueReadWrite... function queryWithSchemaConfig (line 76) | func queryWithSchemaConfig(rootValue types.Value, query string, schemaCo... function Error (line 92) | func Error(err error, w io.Writer) { FILE: go/ngql/query_test.go type QueryGraphQLSuite (line 23) | type QueryGraphQLSuite struct method SetupTest (line 37) | func (suite *QueryGraphQLSuite) SetupTest() { method assertQueryResult (line 41) | func (suite *QueryGraphQLSuite) assertQueryResult(v types.Value, q, ex... method TestScalars (line 47) | func (suite *QueryGraphQLSuite) TestScalars() { method TestStructBasic (line 63) | func (suite *QueryGraphQLSuite) TestStructBasic() { method TestEmptyStruct (line 76) | func (suite *QueryGraphQLSuite) TestEmptyStruct() { method TestEmbeddedStruct (line 82) | func (suite *QueryGraphQLSuite) TestEmbeddedStruct() { method TestListBasic (line 96) | func (suite *QueryGraphQLSuite) TestListBasic() { method TestListOfStruct (line 126) | func (suite *QueryGraphQLSuite) TestListOfStruct() { method TestListOfStructWithOptionalFields (line 147) | func (suite *QueryGraphQLSuite) TestListOfStructWithOptionalFields() { method TestSetBasic (line 170) | func (suite *QueryGraphQLSuite) TestSetBasic() { method TestSetOfStruct (line 206) | func (suite *QueryGraphQLSuite) TestSetOfStruct() { method TestMapBasic (line 227) | func (suite *QueryGraphQLSuite) TestMapBasic() { method TestMapOfStruct (line 246) | func (suite *QueryGraphQLSuite) TestMapOfStruct() { method TestRef (line 267) | func (suite *QueryGraphQLSuite) TestRef() { method TestListOfUnionOfStructs (line 288) | func (suite *QueryGraphQLSuite) TestListOfUnionOfStructs() { method TestListOfUnionOfStructsConflictingFieldTypes (line 310) | func (suite *QueryGraphQLSuite) TestListOfUnionOfStructsConflictingFie... method TestListOfUnionOfScalars (line 331) | func (suite *QueryGraphQLSuite) TestListOfUnionOfScalars() { method TestCyclicStructs (line 341) | func (suite *QueryGraphQLSuite) TestCyclicStructs() { method TestCyclicStructsWithUnion (line 362) | func (suite *QueryGraphQLSuite) TestCyclicStructsWithUnion() { method TestNestedCollection (line 434) | func (suite *QueryGraphQLSuite) TestNestedCollection() { method TestLoFi (line 452) | func (suite *QueryGraphQLSuite) TestLoFi() { method TestError (line 461) | func (suite *QueryGraphQLSuite) TestError() { method TestMapArgs (line 468) | func (suite *QueryGraphQLSuite) TestMapArgs() { method TestMapKeysArg (line 568) | func (suite *QueryGraphQLSuite) TestMapKeysArg() { method TestSetArgs (line 602) | func (suite *QueryGraphQLSuite) TestSetArgs() { method TestMapValues (line 704) | func (suite *QueryGraphQLSuite) TestMapValues() { method TestMapKeys (line 782) | func (suite *QueryGraphQLSuite) TestMapKeys() { method TestMapNullable (line 860) | func (suite *QueryGraphQLSuite) TestMapNullable() { method TestStructWithOptionalField (line 881) | func (suite *QueryGraphQLSuite) TestStructWithOptionalField() { method TestMutationScalarArgs (line 917) | func (suite *QueryGraphQLSuite) TestMutationScalarArgs() { method TestMutationWeirdosArgs (line 938) | func (suite *QueryGraphQLSuite) TestMutationWeirdosArgs() { method assertMutationTypes (line 953) | func (suite *QueryGraphQLSuite) assertMutationTypes(query, expected st... method TestMutationCollectionArgs (line 976) | func (suite *QueryGraphQLSuite) TestMutationCollectionArgs() { method TestMapWithComplexKeys (line 1022) | func (suite *QueryGraphQLSuite) TestMapWithComplexKeys() { method TestSetWithComplexKeys (line 1077) | func (suite *QueryGraphQLSuite) TestSetWithComplexKeys() { method TestInputToNomsValue (line 1116) | func (suite *QueryGraphQLSuite) TestInputToNomsValue() { method TestErrorsInInputType (line 1196) | func (suite *QueryGraphQLSuite) TestErrorsInInputType() { method TestVariables (line 1222) | func (suite *QueryGraphQLSuite) TestVariables() { method TestNameFunc (line 1384) | func (suite *QueryGraphQLSuite) TestNameFunc() { function TestQueryGraphQL (line 28) | func TestQueryGraphQL(t *testing.T) { function newTestValueStore (line 32) | func newTestValueStore() *types.ValueStore { function TestGetListElementsWithSet (line 1488) | func TestGetListElementsWithSet(t *testing.T) { function TestNoErrorOnNonCyclicTypeRefsInputType (line 1506) | func TestNoErrorOnNonCyclicTypeRefsInputType(t *testing.T) { function TestErrorOnCyclicTypeRefsInputType (line 1524) | func TestErrorOnCyclicTypeRefsInputType(t *testing.T) { FILE: go/ngql/types.go type TypeConverter (line 21) | type TypeConverter struct method getTypeName (line 37) | func (tc *TypeConverter) getTypeName(nomsType *types.Type) string { method getInputTypeName (line 41) | func (tc *TypeConverter) getInputTypeName(nomsType *types.Type) string { method NomsTypeToGraphQLType (line 47) | func (tc *TypeConverter) NomsTypeToGraphQLType(nomsType *types.Type) g... method NomsTypeToGraphQLInputType (line 54) | func (tc *TypeConverter) NomsTypeToGraphQLInputType(nomsType *types.Ty... method scalarToValue (line 108) | func (tc *TypeConverter) scalarToValue(nomsType *types.Type, scalarTyp... method nomsTypeToGraphQLType (line 137) | func (tc *TypeConverter) nomsTypeToGraphQLType(nomsType *types.Type, b... method nomsTypeToGraphQLInputType (line 205) | func (tc *TypeConverter) nomsTypeToGraphQLInputType(nomsType *types.Ty... method unionToGQLUnion (line 268) | func (tc *TypeConverter) unionToGQLUnion(nomsType *types.Type) *graphq... method structToGQLObject (line 306) | func (tc *TypeConverter) structToGQLObject(nomsType *types.Type) *grap... method listAndSetToGraphQLInputObject (line 342) | func (tc *TypeConverter) listAndSetToGraphQLInputObject(nomsType *type... method mapToGraphQLInputObject (line 351) | func (tc *TypeConverter) mapToGraphQLInputObject(nomsType *types.Type)... method structToGQLInputObject (line 368) | func (tc *TypeConverter) structToGQLInputObject(nomsType *types.Type) ... method mapEntryToGraphQLObject (line 653) | func (tc *TypeConverter) mapEntryToGraphQLObject(keyType, valueType gr... method mapEntryToGraphQLInputObject (line 677) | func (tc *TypeConverter) mapEntryToGraphQLInputObject(keyType, valueTy... method listAndSetToGraphQLObject (line 795) | func (tc *TypeConverter) listAndSetToGraphQLObject(nomsType *types.Typ... method mapToGraphQLObject (line 849) | func (tc *TypeConverter) mapToGraphQLObject(nomsType *types.Type) *gra... method refToGraphQLObject (line 930) | func (tc *TypeConverter) refToGraphQLObject(nomsType *types.Type) *gra... function NewTypeConverter (line 27) | func NewTypeConverter() *TypeConverter { type NameFunc (line 35) | type NameFunc type TypeMap (line 60) | type TypeMap type typeMapKey (line 62) | type typeMapKey struct function NewTypeMap (line 69) | func NewTypeMap() *TypeMap { type graphQLTypeMode (line 82) | type graphQLTypeMode constant inputMode (line 85) | inputMode graphQLTypeMode = iota constant outputMode (line 86) | outputMode type getFieldFn (line 94) | type getFieldFn type getSubvaluesFn (line 99) | type getSubvaluesFn function isScalar (line 121) | func isScalar(nomsType *types.Type) bool { function NomsTypeToGraphQLType (line 132) | func NomsTypeToGraphQLType(nomsType *types.Type, boxedIfScalar bool, tm ... function NomsTypeToGraphQLInputType (line 200) | func NomsTypeToGraphQLInputType(nomsType *types.Type, tm *TypeMap) (grap... function isEmptyNomsUnion (line 263) | func isEmptyNomsUnion(nomsType *types.Type) bool { function getListElements (line 407) | func getListElements(vrw types.ValueReadWriter, v types.Value, args map[... function getSetElements (line 458) | func getSetElements(vrw types.ValueReadWriter, v types.Value, args map[s... function getCollectionArgs (line 505) | func getCollectionArgs(vrw types.ValueReadWriter, col types.Collection, ... type mapAppender (line 552) | type mapAppender type mapiter (line 554) | type mapiter interface function getMapElements (line 560) | func getMapElements(vrw types.ValueReadWriter, v types.Value, args map[s... function getCountArg (line 611) | func getCountArg(count uint64, args map[string]interface{}) (c uint64, s... function getThroughArg (line 629) | func getThroughArg(vrw types.ValueReadWriter, nomsKeyType *types.Type, a... type iteratorFactory (line 636) | type iteratorFactory struct type mapEntry (line 642) | type mapEntry struct function DefaultNameFunc (line 694) | func DefaultNameFunc(nomsType *types.Type, isInputType bool) string { function GetTypeName (line 702) | func GetTypeName(nomsType *types.Type) string { function GetInputTypeName (line 708) | func GetInputTypeName(nomsType *types.Type) string { function getTypeName (line 712) | func getTypeName(nomsType *types.Type, suffix string) string { function argsWithSize (line 783) | func argsWithSize() graphql.Fields { function mapAppendKey (line 912) | func mapAppendKey(slice []interface{}, k, v types.Value) []interface{} { function mapAppendValue (line 916) | func mapAppendValue(slice []interface{}, k, v types.Value) []interface{} { function mapAppendEntry (line 920) | func mapAppendEntry(slice []interface{}, k, v types.Value) []interface{} { function MaybeGetScalar (line 958) | func MaybeGetScalar(v types.Value) interface{} { function InputToNomsValue (line 976) | func InputToNomsValue(vrw types.ValueReadWriter, arg interface{}, nomsTy... type mapIteratorForKeys (line 1024) | type mapIteratorForKeys struct method Valid (line 1030) | func (it *mapIteratorForKeys) Valid() bool { method Entry (line 1034) | func (it *mapIteratorForKeys) Entry() (k, v types.Value) { method Next (line 1043) | func (it *mapIteratorForKeys) Next() bool { type setFirstIterator (line 1048) | type setFirstIterator struct method Next (line 1052) | func (it *setFirstIterator) Next() types.Value { method SkipTo (line 1056) | func (it *setFirstIterator) SkipTo(v types.Value) types.Value { type mapFirstIterator (line 1060) | type mapFirstIterator struct method Valid (line 1064) | func (it *mapFirstIterator) Valid() bool { method Entry (line 1068) | func (it *mapFirstIterator) Entry() (types.Value, types.Value) { method Next (line 1077) | func (it *mapFirstIterator) Next() bool { FILE: go/nomdl/lexer.go type lexer (line 12) | type lexer struct method next (line 17) | func (lex *lexer) next() rune { method peek (line 27) | func (lex *lexer) peek() rune { method pos (line 36) | func (lex *lexer) pos() scanner.Position { method tokenText (line 43) | func (lex *lexer) tokenText() string { method eat (line 50) | func (lex *lexer) eat(expected rune) rune { method eatIf (line 56) | func (lex *lexer) eatIf(expected rune) bool { method check (line 65) | func (lex *lexer) check(expected, actual rune) { method tokenMismatch (line 71) | func (lex *lexer) tokenMismatch(expected, actual rune) { method unexpectedToken (line 75) | func (lex *lexer) unexpectedToken(actual rune) { function raiseSyntaxError (line 79) | func raiseSyntaxError(msg string, pos scanner.Position) { type syntaxError (line 86) | type syntaxError struct method Error (line 91) | func (e syntaxError) Error() string { function catchSyntaxError (line 95) | func catchSyntaxError(f func()) (errRes error) { FILE: go/nomdl/parser.go type Parser (line 20) | type Parser struct method ensureAtEnd (line 78) | func (p *Parser) ensureAtEnd() { method parseType (line 130) | func (p *Parser) parseType() *types.Type { method parseTypeWithToken (line 135) | func (p *Parser) parseTypeWithToken(tok rune, tokenText string) *types... method parseSingleType (line 155) | func (p *Parser) parseSingleType() *types.Type { method parseSingleTypeWithToken (line 160) | func (p *Parser) parseSingleTypeWithToken(tok rune, tokenText string) ... method parseStructType (line 195) | func (p *Parser) parseStructType() *types.Type { method parseSingleElemType (line 229) | func (p *Parser) parseSingleElemType(allowEmptyUnion bool) *types.Type { method parseCycleType (line 239) | func (p *Parser) parseCycleType() *types.Type { method parseMapType (line 247) | func (p *Parser) parseMapType() *types.Type { method parseValue (line 312) | func (p *Parser) parseValue() types.Value { method parseFloat (line 362) | func (p *Parser) parseFloat() types.Number { method parseList (line 368) | func (p *Parser) parseList() types.List { method parseSet (line 386) | func (p *Parser) parseSet() types.Set { method parseMap (line 405) | func (p *Parser) parseMap() types.Map { method blobString (line 427) | func (p *Parser) blobString(s string) []byte { method parseBlob (line 447) | func (p *Parser) parseBlob() types.Blob { method parseStruct (line 467) | func (p *Parser) parseStruct() types.Struct { type ParserOptions (line 26) | type ParserOptions struct function New (line 32) | func New(vrw types.ValueReadWriter, r io.Reader, options ParserOptions) ... function ParseType (line 43) | func ParseType(code string) (typ *types.Type, err error) { function MustParseType (line 54) | func MustParseType(code string) *types.Type { function Parse (line 61) | func Parse(vrw types.ValueReadWriter, code string) (v types.Value, err e... function MustParse (line 72) | func MustParse(vrw types.ValueReadWriter, code string) types.Value { FILE: go/nomdl/parser_test.go function newTestValueStore (line 17) | func newTestValueStore() *types.ValueStore { function assertParseType (line 22) | func assertParseType(t *testing.T, code string, expected *types.Type) { function assertParse (line 30) | func assertParse(t *testing.T, vrw types.ValueReadWriter, code string, e... function assertParseError (line 40) | func assertParseError(t *testing.T, code, msg string) { function TestSimpleTypes (line 55) | func TestSimpleTypes(t *testing.T) { function TestWhitespace (line 64) | func TestWhitespace(t *testing.T) { function TestComments (line 71) | func TestComments(t *testing.T) { function TestCompoundTypes (line 78) | func TestCompoundTypes(t *testing.T) { function TestStructTypes (line 122) | func TestStructTypes(t *testing.T) { function TestUnionTypes (line 198) | func TestUnionTypes(t *testing.T) { function TestValuePrimitives (line 227) | func TestValuePrimitives(t *testing.T) { function TestValueList (line 271) | func TestValueList(t *testing.T) { function TestEmptyValuesInEditors (line 292) | func TestEmptyValuesInEditors(t *testing.T) { function TestValueSet (line 308) | func TestValueSet(t *testing.T) { function TestValueMap (line 330) | func TestValueMap(t *testing.T) { function TestValueType (line 354) | func TestValueType(t *testing.T) { function TestValueStruct (line 361) | func TestValueStruct(t *testing.T) { function TestValueBlob (line 390) | func TestValueBlob(t *testing.T) { function TestRoundTrips (line 425) | func TestRoundTrips(t *testing.T) { FILE: go/perf/hash-perf-rig/main.go function main (line 23) | func main() { FILE: go/perf/suite/suite.go type PerfSuite (line 113) | type PerfSuite struct method Suite (line 343) | func (suite *PerfSuite) Suite() *PerfSuite { method NewAssert (line 348) | func (suite *PerfSuite) NewAssert() *assert.Assertions { method TempFile (line 354) | func (suite *PerfSuite) TempFile() *os.File { method TempDir (line 364) | func (suite *PerfSuite) TempDir() string { method tempPrefix (line 371) | func (suite *PerfSuite) tempPrefix() string { method Pause (line 377) | func (suite *PerfSuite) Pause(fn func()) { method OpenGlob (line 388) | func (suite *PerfSuite) OpenGlob(pattern ...string) []io.Reader { method CloseGlob (line 405) | func (suite *PerfSuite) CloseGlob(files []io.Reader) { method getEnvironment (line 422) | func (suite *PerfSuite) getEnvironment(vrw types.ValueReadWriter) type... method getGitHead (line 459) | func (suite *PerfSuite) getGitHead(dir string) string { method StartRemoteDatabase (line 492) | func (suite *PerfSuite) StartRemoteDatabase() (host string, stopFn fun... type SetupRepSuite (line 139) | type SetupRepSuite interface type TearDownRepSuite (line 144) | type TearDownRepSuite interface type perfSuiteT (line 148) | type perfSuiteT interface type environment (line 152) | type environment struct type timeInfo (line 160) | type timeInfo struct type testRep (line 164) | type testRep type nopWriter (line 166) | type nopWriter struct method Write (line 168) | func (r nopWriter) Write(p []byte) (int, error) { function Run (line 173) | func Run(datasetID string, t *testing.T, suiteT perfSuiteT) { function callSafe (line 412) | func callSafe(name string, fun reflect.Value, args ...interface{}) error { FILE: go/perf/suite/suite_test.go type testSuite (line 18) | type testSuite struct method TestNonEmptyPaths (line 27) | func (s *testSuite) TestNonEmptyPaths() { method TestDatabase (line 34) | func (s *testSuite) TestDatabase() { method TestTempFile (line 41) | func (s *testSuite) TestTempFile() { method TestGlob (line 46) | func (s *testSuite) TestGlob() { method TestPause (line 74) | func (s *testSuite) TestPause() { method TestFoo (line 80) | func (s *testSuite) TestFoo() { method TestBar (line 85) | func (s *testSuite) TestBar() { method Test01Abc (line 90) | func (s *testSuite) Test01Abc() { method Test02Def (line 95) | func (s *testSuite) Test02Def() { method testNothing (line 100) | func (s *testSuite) testNothing() { method Testimate (line 105) | func (s *testSuite) Testimate() { method SetupTest (line 110) | func (s *testSuite) SetupTest() { method TearDownTest (line 114) | func (s *testSuite) TearDownTest() { method SetupRep (line 118) | func (s *testSuite) SetupRep() { method TearDownRep (line 122) | func (s *testSuite) TearDownRep() { method SetupSuite (line 126) | func (s *testSuite) SetupSuite() { method TearDownSuite (line 130) | func (s *testSuite) TearDownSuite() { method waitForSmidge (line 134) | func (s *testSuite) waitForSmidge() { function TestSuite (line 139) | func TestSuite(t *testing.T) { function TestSuiteWithMem (line 143) | func TestSuiteWithMem(t *testing.T) { function runTestSuite (line 148) | func runTestSuite(t *testing.T, mem bool) { function TestPrefixFlag (line 252) | func TestPrefixFlag(t *testing.T) { function TestRunFlag (line 283) | func TestRunFlag(t *testing.T) { FILE: go/sloppy/sloppy.go constant maxOffsetPOT (line 12) | maxOffsetPOT = uint16(12) constant maxTableSize (line 13) | maxTableSize = 1 << 14 constant maxLength (line 14) | maxLength = 1<<12 - 1 constant tableMask (line 15) | tableMask = maxTableSize - 1 constant shift (line 16) | shift = uint32(20) type Sloppy (line 63) | type Sloppy struct method Update (line 90) | func (sl *Sloppy) Update(src []byte) { method Reset (line 143) | func (sl *Sloppy) Reset() { method dontCopy (line 175) | func (sl *Sloppy) dontCopy(src []byte, from, to int) bool { method maybeCopy (line 185) | func (sl *Sloppy) maybeCopy(src []byte) bool { function New (line 75) | func New(f func(b byte) bool) *Sloppy { function copyLongEnough (line 154) | func copyLongEnough(off, len uint16) bool { type encoder (line 198) | type encoder interface type binaryEncoder (line 203) | type binaryEncoder struct method emitLiteral (line 207) | func (be binaryEncoder) emitLiteral(b byte) bool { method emitCopy (line 211) | func (be binaryEncoder) emitCopy(offset, length uint16) bool { function fbhash (line 233) | func fbhash(u uint32) uint32 { function load32 (line 237) | func load32(b []byte, i int) uint32 { FILE: go/sloppy/sloppy_test.go type testSloppyEncoder (line 16) | type testSloppyEncoder struct method emitLiteral (line 21) | func (tt *testSloppyEncoder) emitLiteral(b byte) bool { method emitCopy (line 26) | func (tt *testSloppyEncoder) emitCopy(offset, length uint16) bool { method emitString (line 32) | func (tt *testSloppyEncoder) emitString() { function TestCopyLongEnough (line 39) | func TestCopyLongEnough(t *testing.T) { function TestSloppySimple (line 66) | func TestSloppySimple(t *testing.T) { function TestSloppyContinuation (line 113) | func TestSloppyContinuation(t *testing.T) { function TestBinaryEncoder (line 159) | func TestBinaryEncoder(t *testing.T) { function TestSnappyVsSloppy (line 182) | func TestSnappyVsSloppy(t *testing.T) { FILE: go/spec/absolute_path.go type AbsolutePath (line 26) | type AbsolutePath struct method Resolve (line 86) | func (p AbsolutePath) Resolve(db datas.Database) (val types.Value) { method IsEmpty (line 105) | func (p AbsolutePath) IsEmpty() bool { method String (line 109) | func (p AbsolutePath) String() (str string) { function NewAbsolutePath (line 40) | func NewAbsolutePath(str string) (AbsolutePath, error) { function ReadAbsolutePaths (line 128) | func ReadAbsolutePaths(db datas.Database, paths ...string) ([]types.Valu... FILE: go/spec/absolute_path_test.go function TestAbsolutePathToAndFromString (line 19) | func TestAbsolutePathToAndFromString(t *testing.T) { function TestAbsolutePaths (line 33) | func TestAbsolutePaths(t *testing.T) { function TestReadAbsolutePaths (line 84) | func TestReadAbsolutePaths(t *testing.T) { function TestAbsolutePathParseErrors (line 112) | func TestAbsolutePathParseErrors(t *testing.T) { FILE: go/spec/commit_meta.go constant CommitMetaDateFormat (line 17) | CommitMetaDateFormat = time.RFC3339 function CreateCommitMetaStruct (line 31) | func CreateCommitMetaStruct(db datas.Database, date, message string, key... FILE: go/spec/commit_meta_test.go function isEmptyStruct (line 17) | func isEmptyStruct(s types.Struct) bool { function TestCreateCommitMetaStructBasic (line 21) | func TestCreateCommitMetaStructBasic(t *testing.T) { function TestCreateCommitMetaStructFromFlags (line 30) | func TestCreateCommitMetaStructFromFlags(t *testing.T) { function TestCreateCommitMetaStructFromArgs (line 47) | func TestCreateCommitMetaStructFromArgs(t *testing.T) { function TestCreateCommitMetaStructFromFlagsAndArgs (line 64) | func TestCreateCommitMetaStructFromFlagsAndArgs(t *testing.T) { function TestCreateCommitMetaStructBadDate (line 87) | func TestCreateCommitMetaStructBadDate(t *testing.T) { function TestCreateCommitMetaStructBadMetaStrings (line 110) | func TestCreateCommitMetaStructBadMetaStrings(t *testing.T) { function setCommitMetaFlags (line 151) | func setCommitMetaFlags(date, message, kvStrings string) { function resetCommitMetaFlags (line 157) | func resetCommitMetaFlags() { FILE: go/spec/spec.go constant Separator (line 28) | Separator = "::" type ProtocolImpl (line 36) | type ProtocolImpl interface type SpecOptions (line 44) | type SpecOptions struct type Spec (line 53) | type Spec struct method String (line 158) | func (sp Spec) String() string { method GetDatabase (line 173) | func (sp Spec) GetDatabase() datas.Database { method GetDataset (line 184) | func (sp Spec) GetDataset() (ds datas.Dataset) { method GetValue (line 193) | func (sp Spec) GetValue() (val types.Value) { method Href (line 204) | func (sp Spec) Href() string { method Pin (line 217) | func (sp Spec) Pin() (Spec, bool) { method Close (line 243) | func (sp Spec) Close() error { method createDatabase (line 253) | func (sp Spec) createDatabase() datas.Database { method NewChunkStore (line 271) | func (sp Spec) NewChunkStore() chunks.ChunkStore { function newSpec (line 71) | func newSpec(dbSpec string, opts SpecOptions) (Spec, error) { function ForDatabase (line 86) | func ForDatabase(spec string) (Spec, error) { function ForDatabaseOpts (line 91) | func ForDatabaseOpts(spec string, opts SpecOptions) (Spec, error) { function ForDataset (line 96) | func ForDataset(spec string) (Spec, error) { function ForDatasetOpts (line 101) | func ForDatasetOpts(spec string, opts SpecOptions) (Spec, error) { function ForPath (line 130) | func ForPath(spec string) (Spec, error) { function ForPathOpts (line 135) | func ForPathOpts(spec string, opts SpecOptions) (Spec, error) { function parseDatabaseSpec (line 297) | func parseDatabaseSpec(spec string) (protocol, name string, err error) { function splitDatabaseSpec (line 355) | func splitDatabaseSpec(spec string) (string, string, error) { FILE: go/spec/spec_test.go function TestMemDatabaseSpec (line 24) | func TestMemDatabaseSpec(t *testing.T) { function TestMemDatasetSpec (line 41) | func TestMemDatasetSpec(t *testing.T) { function TestMemHashPathSpec (line 63) | func TestMemHashPathSpec(t *testing.T) { function TestMemDatasetPathSpec (line 83) | func TestMemDatasetPathSpec(t *testing.T) { function TestNBSDatabaseSpec (line 104) | func TestNBSDatabaseSpec(t *testing.T) { function TestCloseSpecWithoutOpen (line 160) | func TestCloseSpecWithoutOpen(t *testing.T) { function TestHref (line 166) | func TestHref(t *testing.T) { function TestForDatabase (line 194) | func TestForDatabase(t *testing.T) { function TestForDataset (line 265) | func TestForDataset(t *testing.T) { function TestForPath (line 346) | func TestForPath(t *testing.T) { function TestPinPathSpec (line 402) | func TestPinPathSpec(t *testing.T) { function TestPinDatasetSpec (line 428) | func TestPinDatasetSpec(t *testing.T) { function TestAlreadyPinnedPathSpec (line 458) | func TestAlreadyPinnedPathSpec(t *testing.T) { function TestMultipleSpecsSameNBS (line 468) | func TestMultipleSpecsSameNBS(t *testing.T) { function TestAcccessingInvalidSpec (line 489) | func TestAcccessingInvalidSpec(t *testing.T) { type testProtocol (line 517) | type testProtocol struct method NewChunkStore (line 521) | func (t *testProtocol) NewChunkStore(sp Spec) (chunks.ChunkStore, erro... method NewDatabase (line 525) | func (t *testProtocol) NewDatabase(sp Spec) (datas.Database, error) { function TestExternalProtocol (line 532) | func TestExternalProtocol(t *testing.T) { function TestMkDirAll (line 558) | func TestMkDirAll(t *testing.T) { function TestNetworkError (line 568) | func TestNetworkError(t *testing.T) { FILE: go/spec/util.go function CreateDatabaseSpecString (line 12) | func CreateDatabaseSpecString(protocol, db string) string { function CreateValueSpecString (line 16) | func CreateValueSpecString(protocol, db, path string) string { function CreateHashSpecString (line 22) | func CreateHashSpecString(protocol, db string, h hash.Hash) string { FILE: go/types/blob.go type Blob (line 18) | type Blob struct method Edit (line 30) | func (b Blob) Edit() *BlobEditor { method ReadAt (line 35) | func (b Blob) ReadAt(p []byte, off int64) (n int, err error) { method Reader (line 81) | func (b Blob) Reader() *BlobReader { method Copy (line 85) | func (b Blob) Copy(w io.Writer) (n int64) { method CopyReadAhead (line 92) | func (b Blob) CopyReadAhead(w io.Writer, chunkSize uint64, concurrency... method Concat (line 135) | func (b Blob) Concat(other Blob) Blob { method newChunker (line 142) | func (b Blob) newChunker(cur *sequenceCursor, vrw ValueReadWriter) *se... method asSequence (line 146) | func (b Blob) asSequence() sequence { method Value (line 151) | func (b Blob) Value() Value { method WalkValues (line 155) | func (b Blob) WalkValues(cb ValueCallback) { function newBlob (line 22) | func newBlob(seq sequence) Blob { function NewEmptyBlob (line 26) | func NewEmptyBlob(vrw ValueReadWriter) Blob { type BlobReader (line 158) | type BlobReader struct method Read (line 163) | func (cbr *BlobReader) Read(p []byte) (n int, err error) { method Seek (line 169) | func (cbr *BlobReader) Seek(offset int64, whence int) (int64, error) { function makeBlobLeafChunkFn (line 191) | func makeBlobLeafChunkFn(vrw ValueReadWriter) makeChunkFn { function chunkBlobLeaf (line 204) | func chunkBlobLeaf(vrw ValueReadWriter, buff []byte) (Collection, ordere... function NewBlob (line 211) | func NewBlob(vrw ValueReadWriter, rs ...io.Reader) Blob { function readBlobsP (line 215) | func readBlobsP(vrw ValueReadWriter, rs ...io.Reader) Blob { function readBlob (line 245) | func readBlob(r io.Reader, vrw ValueReadWriter) Blob { FILE: go/types/blob_editor.go type BlobEditor (line 17) | type BlobEditor struct method Kind (line 27) | func (be *BlobEditor) Kind() NomsKind { method Value (line 31) | func (be *BlobEditor) Value() Value { method Blob (line 35) | func (be *BlobEditor) Blob() Blob { method Len (line 134) | func (be *BlobEditor) Len() uint64 { method Splice (line 143) | func (be *BlobEditor) Splice(idx uint64, deleteCount uint64, insert []... method Seek (line 193) | func (be *BlobEditor) Seek(offset int64, whence int) (int64, error) { method Read (line 219) | func (be *BlobEditor) Read(p []byte) (n int, err error) { method Write (line 286) | func (be *BlobEditor) Write(p []byte) (n int, err error) { function NewBlobEditor (line 23) | func NewBlobEditor(b Blob) *BlobEditor { function collapseBlobEdit (line 81) | func collapseBlobEdit(newEdit, edit *blobEdit) bool { function adjustBlobIdx (line 297) | func adjustBlobIdx(idx uint64, e *blobEdit) uint64 { type blobEdit (line 301) | type blobEdit struct FILE: go/types/blob_editor_test.go function TestBlobReadWriteFuzzer (line 21) | func TestBlobReadWriteFuzzer(t *testing.T) { FILE: go/types/blob_leaf_sequence.go type blobLeafSequence (line 9) | type blobLeafSequence struct method writeTo (line 29) | func (bl blobLeafSequence) writeTo(w nomsWriter) { method data (line 35) | func (bl blobLeafSequence) data() []byte { method getCompareFn (line 40) | func (bl blobLeafSequence) getCompareFn(other sequence) compareFn { method getItem (line 49) | func (bl blobLeafSequence) getItem(idx int) sequenceItem { method typeOf (line 54) | func (bl blobLeafSequence) typeOf() *Type { function newBlobLeafSequence (line 13) | func newBlobLeafSequence(vrw ValueReadWriter, data []byte) sequence { FILE: go/types/blob_test.go function randomBuff (line 19) | func randomBuff(powOfTwo uint) []byte { type blobTestSuite (line 27) | type blobTestSuite struct method TestRandomRead (line 86) | func (suite *blobTestSuite) TestRandomRead() { function newBlobTestSuite (line 32) | func newBlobTestSuite(size uint, expectChunkCount int, expectPrependChun... function TestBlobSuite4K (line 69) | func TestBlobSuite4K(t *testing.T) { function TestBlobSuite64K (line 73) | func TestBlobSuite64K(t *testing.T) { function TestBlobSuite256K (line 77) | func TestBlobSuite256K(t *testing.T) { function TestBlobSuite1M (line 81) | func TestBlobSuite1M(t *testing.T) { type testReader (line 140) | type testReader struct method Read (line 145) | func (r *testReader) Read(p []byte) (n int, err error) { function TestBlobFromReaderThatReturnsDataAndError (line 164) | func TestBlobFromReaderThatReturnsDataAndError(t *testing.T) { function TestBlobSplice (line 180) | func TestBlobSplice(t *testing.T) { function TestBlobConcat (line 208) | func TestBlobConcat(t *testing.T) { function TestBlobNewParallel (line 249) | func TestBlobNewParallel(t *testing.T) { function TestStreamingParallelBlob (line 283) | func TestStreamingParallelBlob(t *testing.T) { FILE: go/types/bool.go type Bool (line 12) | type Bool method Value (line 15) | func (b Bool) Value() Value { method Equals (line 19) | func (b Bool) Equals(other Value) bool { method Less (line 23) | func (b Bool) Less(other Value) bool { method Hash (line 30) | func (b Bool) Hash() hash.Hash { method WalkValues (line 34) | func (b Bool) WalkValues(cb ValueCallback) { method WalkRefs (line 37) | func (b Bool) WalkRefs(cb RefCallback) { method typeOf (line 40) | func (b Bool) typeOf() *Type { method Kind (line 44) | func (b Bool) Kind() NomsKind { method valueReadWriter (line 48) | func (b Bool) valueReadWriter() ValueReadWriter { method writeTo (line 52) | func (b Bool) writeTo(w nomsWriter) { method valueBytes (line 57) | func (b Bool) valueBytes() []byte { FILE: go/types/codec.go constant initialBufferSize (line 15) | initialBufferSize = 2048 type valueBytes (line 17) | type valueBytes interface function EncodeValue (line 21) | func EncodeValue(v Value) chunks.Chunk { function DecodeFromBytes (line 34) | func DecodeFromBytes(data []byte, vrw ValueReadWriter) Value { function decodeFromBytesWithValidation (line 41) | func decodeFromBytesWithValidation(data []byte, vrw ValueReadWriter) Val... function DecodeValue (line 50) | func DecodeValue(c chunks.Chunk, vrw ValueReadWriter) Value { type nomsWriter (line 55) | type nomsWriter interface type binaryNomsReader (line 67) | type binaryNomsReader struct method pos (line 72) | func (b *binaryNomsReader) pos() uint32 { method readUint8 (line 76) | func (b *binaryNomsReader) readUint8() uint8 { method peekUint8 (line 82) | func (b *binaryNomsReader) peekUint8() uint8 { method skipUint8 (line 86) | func (b *binaryNomsReader) skipUint8() { method peekKind (line 90) | func (b *binaryNomsReader) peekKind() NomsKind { method readKind (line 94) | func (b *binaryNomsReader) readKind() NomsKind { method skipKind (line 98) | func (b *binaryNomsReader) skipKind() { method readCount (line 102) | func (b *binaryNomsReader) readCount() uint64 { method skipCount (line 108) | func (b *binaryNomsReader) skipCount() { method readNumber (line 113) | func (b *binaryNomsReader) readNumber() Number { method skipNumber (line 122) | func (b *binaryNomsReader) skipNumber() { method readBool (line 129) | func (b *binaryNomsReader) readBool() bool { method skipBool (line 133) | func (b *binaryNomsReader) skipBool() { method readString (line 137) | func (b *binaryNomsReader) readString() string { method skipString (line 145) | func (b *binaryNomsReader) skipString() { method readHash (line 150) | func (b *binaryNomsReader) readHash() hash.Hash { method skipHash (line 157) | func (b *binaryNomsReader) skipHash() { method byteSlice (line 161) | func (b *binaryNomsReader) byteSlice(start, end uint32) []byte { type binaryNomsWriter (line 165) | type binaryNomsWriter struct method data (line 174) | func (b *binaryNomsWriter) data() []byte { method reset (line 178) | func (b *binaryNomsWriter) reset() { method ensureCapacity (line 182) | func (b *binaryNomsWriter) ensureCapacity(n uint32) { method writeBytes (line 198) | func (b *binaryNomsWriter) writeBytes(v []byte) { method writeUint8 (line 205) | func (b *binaryNomsWriter) writeUint8(v uint8) { method writeCount (line 211) | func (b *binaryNomsWriter) writeCount(v uint64) { method writeNumber (line 217) | func (b *binaryNomsWriter) writeNumber(v Number) { method writeBool (line 226) | func (b *binaryNomsWriter) writeBool(v bool) { method writeString (line 234) | func (b *binaryNomsWriter) writeString(v string) { method writeHash (line 243) | func (b *binaryNomsWriter) writeHash(h hash.Hash) { method writeRaw (line 249) | func (b *binaryNomsWriter) writeRaw(buff []byte) { function newBinaryNomsWriter (line 170) | func newBinaryNomsWriter() binaryNomsWriter { FILE: go/types/codec_test.go function TestCodecWriteNumber (line 13) | func TestCodecWriteNumber(t *testing.T) { function TestCodecReadNumber (line 36) | func TestCodecReadNumber(t *testing.T) { FILE: go/types/collection.go type Collection (line 7) | type Collection interface FILE: go/types/collection_test.go type collectionTestSuite (line 9) | type collectionTestSuite struct method TestType (line 25) | func (suite *collectionTestSuite) TestType() { method TestLen (line 29) | func (suite *collectionTestSuite) TestLen() { method TestEquals (line 34) | func (suite *collectionTestSuite) TestEquals() { method TestChunkCountAndType (line 40) | func (suite *collectionTestSuite) TestChunkCountAndType() { method TestRoundTripAndValidate (line 48) | func (suite *collectionTestSuite) TestRoundTripAndValidate() { method TestPrependChunkDiff (line 52) | func (suite *collectionTestSuite) TestPrependChunkDiff() { method TestAppendChunkDiff (line 57) | func (suite *collectionTestSuite) TestAppendChunkDiff() { type validateFn (line 22) | type validateFn type deltaFn (line 23) | type deltaFn function deriveCollectionHeight (line 62) | func deriveCollectionHeight(c Collection) uint64 { function getRefHeightOfCollection (line 66) | func getRefHeightOfCollection(c Collection) uint64 { FILE: go/types/common_supertype.go function ContainCommonSupertype (line 21) | func ContainCommonSupertype(a, b *Type) bool { function containCommonSupertypeImpl (line 26) | func containCommonSupertypeImpl(a, b *Type, aVisited, bVisited []*Type) ... function unionsIntersect (line 51) | func unionsIntersect(a, b *Type, aVisited, bVisited []*Type) bool { function typeList (line 64) | func typeList(t *Type) typeSlice { function containersIntersect (line 71) | func containersIntersect(kind NomsKind, a, b *Type, aVisited, bVisited [... function mapsIntersect (line 76) | func mapsIntersect(a, b *Type, aVisited, bVisited []*Type) bool { function structsIntersect (line 100) | func structsIntersect(a, b *Type, aVisited, bVisited []*Type) bool { FILE: go/types/common_supertype_test.go function TestContainCommonSupertype (line 9) | func TestContainCommonSupertype(t *testing.T) { FILE: go/types/compare_test.go function TestCompareTotalOrdering (line 17) | func TestCompareTotalOrdering(t *testing.T) { function TestCompareEmpties (line 51) | func TestCompareEmpties(t *testing.T) { function TestCompareDifferentPrimitiveTypes (line 59) | func TestCompareDifferentPrimitiveTypes(t *testing.T) { function TestComparePrimitives (line 87) | func TestComparePrimitives(t *testing.T) { function TestCompareEncodedKeys (line 115) | func TestCompareEncodedKeys(t *testing.T) { function encode (line 132) | func encode(v Value) []byte { function compareInts (line 138) | func compareInts(i, j int) (res int) { FILE: go/types/edit_distance.go constant DEFAULT_MAX_SPLICE_MATRIX_SIZE (line 16) | DEFAULT_MAX_SPLICE_MATRIX_SIZE = 2e7 constant SPLICE_UNASSIGNED (line 17) | SPLICE_UNASSIGNED = math.MaxUint64 constant UNCHANGED (line 19) | UNCHANGED = 0 constant UPDATED (line 20) | UPDATED = 1 constant INSERTED (line 21) | INSERTED = 2 constant REMOVED (line 22) | REMOVED = 3 type Splice (line 27) | type Splice struct method String (line 36) | func (s Splice) String() string { type EditDistanceEqualsFn (line 34) | type EditDistanceEqualsFn function uint64Min (line 40) | func uint64Min(a, b uint64) uint64 { function uint64Min3 (line 47) | func uint64Min3(a, b, c uint64) uint64 { function reverse (line 60) | func reverse(numbers []uint64) []uint64 { function addSplice (line 68) | func addSplice(splices []Splice, s Splice) []Splice { function calcSplices (line 76) | func calcSplices(previousLength uint64, currentLength uint64, maxSpliceM... function calcEditDistances (line 165) | func calcEditDistances(eqFn EditDistanceEqualsFn, previousStart uint64, ... function operationsFromEditDistances (line 203) | func operationsFromEditDistances(distances [][]uint64) []uint64 { function sharedPrefix (line 248) | func sharedPrefix(eqFn EditDistanceEqualsFn, searchLength uint64) uint64 { function sharedSuffix (line 258) | func sharedSuffix(eqFn EditDistanceEqualsFn, previousLength uint64, curr... FILE: go/types/edit_distance_test.go function assertDiff (line 13) | func assertDiff(assert *assert.Assertions, last []uint64, current []uint... function TestEditDistanceAppend (line 19) | func TestEditDistanceAppend(t *testing.T) { function TestEditDistancePrepend (line 29) | func TestEditDistancePrepend(t *testing.T) { function TestEditDistanceChopFromEnd (line 39) | func TestEditDistanceChopFromEnd(t *testing.T) { function TestEditDistanceChopFromStart (line 49) | func TestEditDistanceChopFromStart(t *testing.T) { function TestEditDistanceChopFromMiddle (line 59) | func TestEditDistanceChopFromMiddle(t *testing.T) { function TestEditDistanceA (line 69) | func TestEditDistanceA(t *testing.T) { function TestEditDistanceRemoveABunch (line 82) | func TestEditDistanceRemoveABunch(t *testing.T) { function TestEditDistanceAddABunch (line 97) | func TestEditDistanceAddABunch(t *testing.T) { function TestEditDistanceUpdateABunch (line 113) | func TestEditDistanceUpdateABunch(t *testing.T) { function TestEditDistanceLeftOverlap (line 127) | func TestEditDistanceLeftOverlap(t *testing.T) { function TestEditDistanceRightOverlap (line 139) | func TestEditDistanceRightOverlap(t *testing.T) { function TestEditDistanceWithin (line 151) | func TestEditDistanceWithin(t *testing.T) { function TestEditDistanceWithout (line 163) | func TestEditDistanceWithout(t *testing.T) { function TestEditDistanceMix1 (line 175) | func TestEditDistanceMix1(t *testing.T) { function TestEditDistanceReverse (line 191) | func TestEditDistanceReverse(t *testing.T) { FILE: go/types/encode_human_readable.go type HRSCommenter (line 33) | type HRSCommenter interface function RegisterHRSCommenter (line 50) | func RegisterHRSCommenter(typename, unique string, commenter HRSCommente... function UnregisterHRSCommenter (line 63) | func UnregisterHRSCommenter(typename, unique string) { function GetHRSCommenters (line 75) | func GetHRSCommenters(typename string) []HRSCommenter { type hrsWriter (line 87) | type hrsWriter struct method maybeWriteIndentation (line 95) | func (w *hrsWriter) maybeWriteIndentation() { method write (line 104) | func (w *hrsWriter) write(s string) { method indent (line 114) | func (w *hrsWriter) indent() { method outdent (line 118) | func (w *hrsWriter) outdent() { method newLine (line 122) | func (w *hrsWriter) newLine() { method Write (line 172) | func (w *hrsWriter) Write(v Value) { method writeStruct (line 299) | func (w *hrsWriter) writeStruct(v Struct) { method writeSize (line 303) | func (w *hrsWriter) writeSize(v Value) { method writeType (line 316) | func (w *hrsWriter) writeType(t *Type, seenStructs map[*Type]struct{}) { method writeStructType (line 364) | func (w *hrsWriter) writeStructType(t *Type, seenStructs map[*Type]str... type hexWriter (line 129) | type hexWriter struct method Write (line 136) | func (w *hexWriter) Write(p []byte) (n int, err error) { type hrsStructWriter (line 254) | type hrsStructWriter struct method name (line 259) | func (w hrsStructWriter) name(n string) { method count (line 277) | func (w hrsStructWriter) count(c uint64) { method fieldName (line 283) | func (w hrsStructWriter) fieldName(n string) { method fieldValue (line 288) | func (w hrsStructWriter) fieldValue(v Value) { method end (line 294) | func (w hrsStructWriter) end() { function encodedValueFormatMaxLines (line 396) | func encodedValueFormatMaxLines(v Value, floatFormat byte, maxLines uint... function encodedValueFormat (line 407) | func encodedValueFormat(v Value, floatFormat byte) string { function EncodedIndexValue (line 415) | func EncodedIndexValue(v Value) string { function EncodedValue (line 420) | func EncodedValue(v Value) string { function EncodedValueMaxLines (line 426) | func EncodedValueMaxLines(v Value, maxLines uint32) string { function WriteEncodedValue (line 431) | func WriteEncodedValue(w io.Writer, v Value) error { function WriteEncodedValueMaxLines (line 439) | func WriteEncodedValueMaxLines(w io.Writer, v Value, maxLines uint32) er... FILE: go/types/encode_human_readable_test.go function assertWriteHRSEqual (line 17) | func assertWriteHRSEqual(t *testing.T, expected string, v Value) { function TestWriteHumanReadablePrimitiveValues (line 25) | func TestWriteHumanReadablePrimitiveValues(t *testing.T) { function TestWriteHumanReadableRef (line 54) | func TestWriteHumanReadableRef(t *testing.T) { function TestWriteHumanReadableCollections (line 62) | func TestWriteHumanReadableCollections(t *testing.T) { function TestWriteHumanReadableNested (line 88) | func TestWriteHumanReadableNested(t *testing.T) { function TestWriteHumanReadableStruct (line 116) | func TestWriteHumanReadableStruct(t *testing.T) { function TestWriteHumanReadableListOfStruct (line 124) | func TestWriteHumanReadableListOfStruct(t *testing.T) { function TestWriteHumanReadableBlob (line 150) | func TestWriteHumanReadableBlob(t *testing.T) { function TestWriteHumanReadableListOfBlob (line 187) | func TestWriteHumanReadableListOfBlob(t *testing.T) { function TestWriteHumanReadableType (line 201) | func TestWriteHumanReadableType(t *testing.T) { function TestRecursiveStruct (line 218) | func TestRecursiveStruct(t *testing.T) { function TestUnresolvedRecursiveStruct (line 258) | func TestUnresolvedRecursiveStruct(t *testing.T) { type errorWriter (line 274) | type errorWriter struct method Write (line 278) | func (w *errorWriter) Write(p []byte) (int, error) { function TestWriteHumanReadableWriterError (line 282) | func TestWriteHumanReadableWriterError(t *testing.T) { function TestEmptyCollections (line 289) | func TestEmptyCollections(t *testing.T) { function TestEncodedValueMaxLines (line 306) | func TestEncodedValueMaxLines(t *testing.T) { function TestWriteHumanReadableStructOptionalFields (line 319) | func TestWriteHumanReadableStructOptionalFields(t *testing.T) { type TestCommenter (line 326) | type TestCommenter struct method Comment (line 331) | func (c TestCommenter) Comment(v Value) string { function TestRegisterCommenter (line 338) | func TestRegisterCommenter(t *testing.T) { FILE: go/types/encoding_test.go function toBinaryNomsReaderData (line 19) | func toBinaryNomsReaderData(data []interface{}) []byte { function assertEncoding (line 47) | func assertEncoding(t *testing.T, expect []interface{}, v Value) { function TestRoundTrips (line 59) | func TestRoundTrips(t *testing.T) { function TestNonFiniteNumbers (line 119) | func TestNonFiniteNumbers(tt *testing.T) { function TestWritePrimitives (line 133) | func TestWritePrimitives(t *testing.T) { function TestWriteSimpleBlob (line 177) | func TestWriteSimpleBlob(t *testing.T) { function TestWriteList (line 188) | func TestWriteList(t *testing.T) { function TestWriteListOfList (line 199) | func TestWriteListOfList(t *testing.T) { function TestWriteSet (line 213) | func TestWriteSet(t *testing.T) { function TestWriteSetOfSet (line 225) | func TestWriteSetOfSet(t *testing.T) { function TestWriteMap (line 238) | func TestWriteMap(t *testing.T) { function TestWriteMapOfMap (line 250) | func TestWriteMapOfMap(t *testing.T) { function TestWriteCompoundBlob (line 263) | func TestWriteCompoundBlob(t *testing.T) { function TestWriteEmptyStruct (line 284) | func TestWriteEmptyStruct(t *testing.T) { function TestWriteStruct (line 293) | func TestWriteStruct(t *testing.T) { function TestWriteStructTooMuchData (line 303) | func TestWriteStructTooMuchData(t *testing.T) { function TestWriteStructWithList (line 315) | func TestWriteStructWithList(t *testing.T) { function TestWriteStructWithStruct (line 337) | func TestWriteStructWithStruct(t *testing.T) { function TestWriteStructWithBlob (line 355) | func TestWriteStructWithBlob(t *testing.T) { function TestWriteCompoundList (line 367) | func TestWriteCompoundList(t *testing.T) { function TestWriteCompoundSet (line 385) | func TestWriteCompoundSet(t *testing.T) { function TestWriteCompoundSetOfBlobs (line 404) | func TestWriteCompoundSetOfBlobs(t *testing.T) { function TestWriteListOfUnion (line 434) | func TestWriteListOfUnion(t *testing.T) { function TestWriteListOfStruct (line 452) | func TestWriteListOfStruct(t *testing.T) { function TestWriteListOfUnionWithType (line 464) | func TestWriteListOfUnionWithType(t *testing.T) { function TestWriteRef (line 486) | func TestWriteRef(t *testing.T) { function TestWriteListOfTypes (line 497) | func TestWriteListOfTypes(t *testing.T) { function nomsTestWriteRecursiveStruct (line 509) | func nomsTestWriteRecursiveStruct(t *testing.T) { function TestWriteUnionList (line 527) | func TestWriteUnionList(t *testing.T) { function TestWriteEmptyUnionList (line 539) | func TestWriteEmptyUnionList(t *testing.T) { type bogusType (line 550) | type bogusType method Value (line 552) | func (bg bogusType) Value() Value { return bg } method Equals (line 553) | func (bg bogusType) Equals(other Value) bool { return false } method Less (line 554) | func (bg bogusType) Less(other Value) bool { return false } method Hash (line 555) | func (bg bogusType) Hash() hash.Hash { return hash.Hash{} } method WalkValues (line 556) | func (bg bogusType) WalkValues(cb ValueCallback) {} method WalkRefs (line 557) | func (bg bogusType) WalkRefs(cb RefCallback) {} method Kind (line 558) | func (bg bogusType) Kind() NomsKind { method typeOf (line 561) | func (bg bogusType) typeOf() *Type { method writeTo (line 564) | func (bg bogusType) writeTo(nomsWriter) { function TestBogusValueWithUnresolvedCycle (line 568) | func TestBogusValueWithUnresolvedCycle(t *testing.T) { FILE: go/types/equals_test.go function TestValueEquals (line 14) | func TestValueEquals(t *testing.T) { FILE: go/types/get_hash.go function getHash (line 11) | func getHash(v Value) hash.Hash { function getHashNoOverride (line 18) | func getHashNoOverride(v Value) hash.Hash { function EnsureHash (line 22) | func EnsureHash(h *hash.Hash, v Value) hash.Hash { FILE: go/types/graph_builder.go type GraphBuilder (line 49) | type GraphBuilder struct method MapSet (line 71) | func (b *GraphBuilder) MapSet(keys []Value, k Value, v Value) { method SetInsert (line 81) | func (b *GraphBuilder) SetInsert(keys []Value, v Value) { method ListAppend (line 93) | func (b *GraphBuilder) ListAppend(keys []Value, v Value) { method Build (line 111) | func (b *GraphBuilder) Build() Value { method pushNewKeyOnStack (line 198) | func (b *GraphBuilder) pushNewKeyOnStack(key Value, kind NomsKind) { method popKeyFromStack (line 216) | func (b *GraphBuilder) popKeyFromStack() { method appendItemToCurrentTopOfStack (line 225) | func (b *GraphBuilder) appendItemToCurrentTopOfStack(kind NomsKind, it... function NewGraphBuilder (line 58) | func NewGraphBuilder(vrw ValueReadWriter, rootKind NomsKind) *GraphBuild... function newGraphBuilder (line 62) | func newGraphBuilder(vrw ValueReadWriter, opcStore opCacheStore, rootKin... type graphOpContainer (line 100) | type graphOpContainer struct type graphStackElem (line 231) | type graphStackElem struct method done (line 274) | func (e *graphStackElem) done() Collection { method String (line 309) | func (e *graphStackElem) String() string { type graphStack (line 237) | type graphStack struct method push (line 241) | func (s *graphStack) push(e *graphStackElem) { method pop (line 245) | func (s *graphStack) pop() *graphStackElem { method top (line 252) | func (s *graphStack) top() *graphStackElem { method len (line 257) | func (s *graphStack) len() int { method lastIdx (line 261) | func (s *graphStack) lastIdx() int { method String (line 265) | func (s graphStack) String() string { function commonPrefixCount (line 289) | func commonPrefixCount(stack graphStack, keys ValueSlice) int { FILE: go/types/graph_builder_test.go function TestGraphBuilderFindIndex (line 15) | func TestGraphBuilderFindIndex(t *testing.T) { type testGraphOp (line 43) | type testGraphOp struct function SafeEquals (line 49) | func SafeEquals(v1, v2 Value) bool { function TestGraphBuilderEncodeDecodeAsKey (line 59) | func TestGraphBuilderEncodeDecodeAsKey(t *testing.T) { function TestGraphBuilderEncodeDecodeAsValue (line 95) | func TestGraphBuilderEncodeDecodeAsValue(t *testing.T) { function TestGraphBuilderMapSetGraphOp (line 125) | func TestGraphBuilderMapSetGraphOp(t *testing.T) { function createTestMap (line 160) | func createTestMap(vrw ValueReadWriter, levels, avgSize int, valGen func... function valGen (line 213) | func valGen() Value { function dupSlice (line 229) | func dupSlice(s ValueSlice) ValueSlice { function shuffle (line 235) | func shuffle(a []testGraphOp) { function TestGraphBuilderNestedMapSet (line 245) | func TestGraphBuilderNestedMapSet(t *testing.T) { function ExampleGraphBuilder_Build (line 306) | func ExampleGraphBuilder_Build() { FILE: go/types/incremental_test.go function getTestVals (line 15) | func getTestVals(vrw ValueReadWriter) []Value { function isEncodedOutOfLine (line 28) | func isEncodedOutOfLine(v Value) int { function TestIncrementalLoadList (line 36) | func TestIncrementalLoadList(t *testing.T) { function SkipTestIncrementalLoadSet (line 66) | func SkipTestIncrementalLoadSet(t *testing.T) { function SkipTestIncrementalLoadMap (line 87) | func SkipTestIncrementalLoadMap(t *testing.T) { function SkipTestIncrementalAddRef (line 109) | func SkipTestIncrementalAddRef(t *testing.T) { FILE: go/types/indexed_sequence_diff.go function sendSpliceChange (line 7) | func sendSpliceChange(changes chan<- Splice, closeChan <-chan struct{}, ... function indexedSequenceDiff (line 16) | func indexedSequenceDiff(last sequence, lastOffset uint64, current seque... FILE: go/types/indexed_sequences.go function newListMetaSequence (line 12) | func newListMetaSequence(level uint64, tuples []metaTuple, vrw ValueRead... function newBlobMetaSequence (line 16) | func newBlobMetaSequence(level uint64, tuples []metaTuple, vrw ValueRead... function advanceCursorToOffset (line 28) | func advanceCursorToOffset(cur *sequenceCursor, idx uint64) uint64 { function newIndexedMetaSequenceChunkFn (line 59) | func newIndexedMetaSequenceChunkFn(kind NomsKind, vrw ValueReadWriter) m... function orderedKeyFromSum (line 81) | func orderedKeyFromSum(msd []metaTuple) orderedKey { function LoadLeafNodes (line 92) | func LoadLeafNodes(cols []Collection, startIdx, endIdx uint64) ([]Collec... FILE: go/types/leaf_sequence.go type leafSequence (line 13) | type leafSequence struct method values (line 67) | func (seq leafSequence) values() []Value { method valuesSlice (line 71) | func (seq leafSequence) valuesSlice(from, to uint64) []Value { method getCompareFnHelper (line 84) | func (seq leafSequence) getCompareFnHelper(other leafSequence) compare... method getCompareFn (line 95) | func (seq leafSequence) getCompareFn(other sequence) compareFn { method typeOf (line 99) | func (seq leafSequence) typeOf() *Type { method numLeaves (line 122) | func (seq leafSequence) numLeaves() uint64 { method getChildSequence (line 126) | func (seq leafSequence) getChildSequence(idx int) sequence { method treeLevel (line 130) | func (seq leafSequence) treeLevel() uint64 { method isLeaf (line 134) | func (seq leafSequence) isLeaf() bool { method cumulativeNumberOfLeaves (line 138) | func (seq leafSequence) cumulativeNumberOfLeaves(idx int) uint64 { method getCompositeChildSequence (line 142) | func (seq leafSequence) getCompositeChildSequence(start uint64, length... method getItem (line 146) | func (seq leafSequence) getItem(idx int) sequenceItem { function newLeafSequence (line 17) | func newLeafSequence(vrw ValueReadWriter, buff []byte, offsets []uint32,... function newLeafSequenceFromValues (line 21) | func newLeafSequenceFromValues(kind NomsKind, vrw ValueReadWriter, vs ..... function readLeafSequence (line 41) | func readLeafSequence(dec *valueDecoder) leafSequence { function skipLeafSequence (line 48) | func skipLeafSequence(dec *valueDecoder) ([]uint32, uint64) { function getValuesPerIdx (line 151) | func getValuesPerIdx(kind NomsKind) int { FILE: go/types/less.go type kindAndHash (line 11) | type kindAndHash interface function valueLess (line 16) | func valueLess(v1, v2 kindAndHash) bool { FILE: go/types/list.go type List (line 22) | type List struct method Edit (line 56) | func (l List) Edit() *ListEditor { method asSequence (line 62) | func (l List) asSequence() sequence { method Value (line 67) | func (l List) Value() Value { method WalkValues (line 71) | func (l List) WalkValues(cb ValueCallback) { method Get (line 79) | func (l List) Get(idx uint64) Value { method Concat (line 88) | func (l List) Concat(other List) List { method Iter (line 97) | func (l List) Iter(f func(v Value, index uint64) (stop bool)) { method IterRange (line 109) | func (l List) IterRange(startIdx, endIdx uint64, f func(v Value, idx u... method IterAll (line 120) | func (l List) IterAll(f func(v Value, index uint64)) { method Iterator (line 211) | func (l List) Iterator() ListIterator { method IteratorAt (line 217) | func (l List) IteratorAt(index uint64) ListIterator { method Diff (line 225) | func (l List) Diff(last List, changes chan<- Splice, closeChan <-chan ... method DiffWithLimit (line 233) | func (l List) DiffWithLimit(last List, changes chan<- Splice, closeCha... method newChunker (line 250) | func (l List) newChunker(cur *sequenceCursor, vrw ValueReadWriter) *se... function newList (line 26) | func newList(seq sequence) List { function NewList (line 32) | func NewList(vrw ValueReadWriter, values ...Value) List { function NewStreamingList (line 43) | func NewStreamingList(vrw ValueReadWriter, values <-chan Value) <-chan L... function iterAll (line 124) | func iterAll(col Collection, f func(v Value, index uint64)) { function iterRange (line 181) | func iterRange(col Collection, startIdx, endIdx uint64, cb func(v Value)... function makeListLeafChunkFn (line 254) | func makeListLeafChunkFn(vrw ValueReadWriter) makeChunkFn { function newEmptyListSequenceChunker (line 268) | func newEmptyListSequenceChunker(vrw ValueReadWriter) *sequenceChunker { FILE: go/types/list_editor.go type ListEditor (line 13) | type ListEditor struct method Kind (line 22) | func (le *ListEditor) Kind() NomsKind { method Value (line 26) | func (le *ListEditor) Value() Value { method List (line 30) | func (le *ListEditor) List() List { method Len (line 164) | func (le *ListEditor) Len() uint64 { method Splice (line 173) | func (le *ListEditor) Splice(idx uint64, deleteCount uint64, vs ...Val... method Set (line 227) | func (le *ListEditor) Set(idx uint64, v Valuable) *ListEditor { method Append (line 231) | func (le *ListEditor) Append(vs ...Valuable) *ListEditor { method Insert (line 235) | func (le *ListEditor) Insert(idx uint64, vs ...Valuable) *ListEditor { method Remove (line 239) | func (le *ListEditor) Remove(start uint64, end uint64) *ListEditor { method RemoveAt (line 244) | func (le *ListEditor) RemoveAt(idx uint64) *ListEditor { method Get (line 252) | func (le *ListEditor) Get(idx uint64) Valuable { function NewListEditor (line 18) | func NewListEditor(l List) *ListEditor { function collapseListEdit (line 111) | func collapseListEdit(newEdit, edit *listEdit) bool { function adjustIdx (line 248) | func adjustIdx(idx uint64, e *listEdit) uint64 { type listEdit (line 272) | type listEdit struct FILE: go/types/list_editor_test.go function listOfInts (line 14) | func listOfInts(vrw ValueReadWriter, vals ...int) List { function testEditor (line 22) | func testEditor(vrw ValueReadWriter, vals ...int) *ListEditor { function edit (line 26) | func edit(le *ListEditor, idx, remove int, insert ...int) { function assertState (line 34) | func assertState(t *testing.T, vrw ValueReadWriter, le *ListEditor, expe... function TestListEditorBasic (line 51) | func TestListEditorBasic(t *testing.T) { function TestCollapseSplices (line 89) | func TestCollapseSplices(t *testing.T) { function TestFuzzFails (line 149) | func TestFuzzFails(t *testing.T) { function AsValuables (line 176) | func AsValuables(vs []Value) []Valuable { function TestListSpliceFuzzer (line 184) | func TestListSpliceFuzzer(t *testing.T) { FILE: go/types/list_iterator.go type ListIterator (line 12) | type ListIterator struct method Next (line 18) | func (li ListIterator) Next() (out Value) { FILE: go/types/list_iterator_test.go function TestListIterator (line 13) | func TestListIterator(t *testing.T) { FILE: go/types/list_leaf_sequence.go type listLeafSequence (line 7) | type listLeafSequence struct method getCompareFn (line 17) | func (ll listLeafSequence) getCompareFn(other sequence) compareFn { function newListLeafSequence (line 11) | func newListLeafSequence(vrw ValueReadWriter, vs ...Value) sequence { FILE: go/types/list_test.go constant testListSize (line 16) | testListSize = 5000 type testList (line 18) | type testList method AsValuables (line 20) | func (tl testList) AsValuables() []Valuable { method Set (line 28) | func (tl testList) Set(idx int, v Value) (res testList) { method Insert (line 32) | func (tl testList) Insert(idx int, vs ...Value) testList { method Remove (line 36) | func (tl testList) Remove(start, end int) testList { method RemoveAt (line 40) | func (tl testList) RemoveAt(idx int) testList { method Splice (line 44) | func (tl testList) Splice(idx int, remove int, insert ...Value) (res t... method Diff (line 51) | func (tl testList) Diff(last testList) []Splice { method toList (line 58) | func (tl testList) toList(vrw ValueReadWriter) List { function newTestList (line 62) | func newTestList(length int) testList { function newTestListFromList (line 66) | func newTestListFromList(list List) testList { function validateList (line 74) | func validateList(t *testing.T, vrw ValueReadWriter, l List, values Valu... type listTestSuite (line 83) | type listTestSuite struct method TestGet (line 128) | func (suite *listTestSuite) TestGet() { method TestIter (line 136) | func (suite *listTestSuite) TestIter() { method TestIterRange (line 150) | func (suite *listTestSuite) TestIterRange() { function newListTestSuite (line 88) | func newListTestSuite(size uint, expectChunkCount int, expectPrependChun... function TestListSuite4K (line 166) | func TestListSuite4K(t *testing.T) { function TestListSuite8K (line 170) | func TestListSuite8K(t *testing.T) { function TestListInsert (line 174) | func TestListInsert(t *testing.T) { function TestListRemove (line 192) | func TestListRemove(t *testing.T) { function TestListRemoveAt (line 211) | func TestListRemoveAt(t *testing.T) { function getTestListLen (line 227) | func getTestListLen() uint64 { function getTestList (line 231) | func getTestList() testList { function getTestListWithLen (line 235) | func getTestListWithLen(length int) testList { function getTestListUnique (line 245) | func getTestListUnique() testList { function testListFromNomsList (line 259) | func testListFromNomsList(list List) testList { function TestStreamingListCreation (line 267) | func TestStreamingListCreation(t *testing.T) { function TestListAppend (line 294) | func TestListAppend(t *testing.T) { function TestListValidateInsertAscending (line 354) | func TestListValidateInsertAscending(t *testing.T) { function TestListValidateInsertAtZero (line 373) | func TestListValidateInsertAtZero(t *testing.T) { function TestListInsertNothing (line 394) | func TestListInsertNothing(t *testing.T) { function TestListInsertStart (line 412) | func TestListInsertStart(t *testing.T) { function TestListInsertMiddle (line 461) | func TestListInsertMiddle(t *testing.T) { function TestListInsertRanges (line 516) | func TestListInsertRanges(t *testing.T) { function TestListRemoveNothing (line 546) | func TestListRemoveNothing(t *testing.T) { function TestListRemoveEverything (line 564) | func TestListRemoveEverything(t *testing.T) { function TestListRemoveAtMiddle (line 578) | func TestListRemoveAtMiddle(t *testing.T) { function TestListRemoveRanges (line 609) | func TestListRemoveRanges(t *testing.T) { function TestListRemoveAtEnd (line 640) | func TestListRemoveAtEnd(t *testing.T) { function TestListSet (line 661) | func TestListSet(t *testing.T) { function TestListFirstNNumbers (line 696) | func TestListFirstNNumbers(t *testing.T) { function TestListRefOfStructFirstNNumbers (line 703) | func TestListRefOfStructFirstNNumbers(t *testing.T) { function TestListModifyAfterRead (line 713) | func TestListModifyAfterRead(t *testing.T) { function accumulateDiffSplices (line 733) | func accumulateDiffSplices(l1, l2 List) (diff []Splice) { function accumulateDiffSplicesWithLimit (line 745) | func accumulateDiffSplicesWithLimit(l1, l2 List, maxSpliceMatrixSize uin... function TestListDiffIdentical (line 757) | func TestListDiffIdentical(t *testing.T) { function TestListDiffVersusEmpty (line 775) | func TestListDiffVersusEmpty(t *testing.T) { function TestListDiffReverse (line 796) | func TestListDiffReverse(t *testing.T) { function TestListDiffReverseWithLargerLimit (line 821) | func TestListDiffReverseWithLargerLimit(t *testing.T) { function TestListDiffRemove5x100 (line 850) | func TestListDiffRemove5x100(t *testing.T) { function TestListDiffAdd5x5 (line 883) | func TestListDiffAdd5x5(t *testing.T) { function TestListDiffReplaceReverse5x100 (line 916) | func TestListDiffReplaceReverse5x100(t *testing.T) { function TestListDiffString1 (line 952) | func TestListDiffString1(t *testing.T) { function TestListDiffString2 (line 968) | func TestListDiffString2(t *testing.T) { function TestListDiffString3 (line 987) | func TestListDiffString3(t *testing.T) { function TestListDiffLargeWithSameMiddle (line 1006) | func TestListDiffLargeWithSameMiddle(t *testing.T) { function TestListDiffAllValuesInSequenceRemoved (line 1050) | func TestListDiffAllValuesInSequenceRemoved(t *testing.T) { function TestListTypeAfterMutations (line 1077) | func TestListTypeAfterMutations(t *testing.T) { function TestListRemoveLastWhenNotLoaded (line 1107) | func TestListRemoveLastWhenNotLoaded(t *testing.T) { function TestListConcat (line 1128) | func TestListConcat(t *testing.T) { function TestListConcatDifferentTypes (line 1175) | func TestListConcatDifferentTypes(t *testing.T) { function TestListWithStructShouldHaveOptionalFields (line 1191) | func TestListWithStructShouldHaveOptionalFields(t *testing.T) { function TestListWithNil (line 1212) | func TestListWithNil(t *testing.T) { function TestListOfListsDoesNotWriteRoots (line 1223) | func TestListOfListsDoesNotWriteRoots(t *testing.T) { FILE: go/types/make_type.go function MakePrimitiveType (line 13) | func MakePrimitiveType(k NomsKind) *Type { function MakeUnionType (line 33) | func MakeUnionType(elemTypes ...*Type) *Type { function MakeListType (line 37) | func MakeListType(elemType *Type) *Type { function MakeSetType (line 41) | func MakeSetType(elemType *Type) *Type { function MakeRefType (line 45) | func MakeRefType(elemType *Type) *Type { function MakeMapType (line 49) | func MakeMapType(keyType, valType *Type) *Type { function MakeStructType (line 53) | func MakeStructType(name string, fields ...StructField) *Type { function MakeUnionTypeIntersectStructs (line 63) | func MakeUnionTypeIntersectStructs(elemTypes ...*Type) *Type { function MakeCycleType (line 67) | func MakeCycleType(name string) *Type { function makePrimitiveType (line 72) | func makePrimitiveType(k NomsKind) *Type { function makeCompoundType (line 83) | func makeCompoundType(kind NomsKind, elemTypes ...*Type) *Type { function makeUnionType (line 87) | func makeUnionType(elemTypes ...*Type) *Type { function makeStructTypeQuickly (line 94) | func makeStructTypeQuickly(name string, fields structTypeFields) *Type { function makeStructType (line 98) | func makeStructType(name string, fields structTypeFields) *Type { type FieldMap (line 104) | type FieldMap function MakeStructTypeFromFields (line 106) | func MakeStructTypeFromFields(name string, fields FieldMap) *Type { type StructField (line 118) | type StructField struct type structTypeFields (line 124) | type structTypeFields method Len (line 126) | func (s structTypeFields) Len() int { return len(s) } method Swap (line 127) | func (s structTypeFields) Swap(i, j int) { s[i], s[j] = s[j], s[i] } method Less (line 128) | func (s structTypeFields) Less(i, j int) bool { return s[i].Name < s[j... FILE: go/types/map.go type Map (line 14) | type Map struct method Diff (line 85) | func (m Map) Diff(last Map, changes chan<- ValueChanged, closeChan <-c... method DiffHybrid (line 94) | func (m Map) DiffHybrid(last Map, changes chan<- ValueChanged, closeCh... method DiffLeftRight (line 104) | func (m Map) DiffLeftRight(last Map, changes chan<- ValueChanged, clos... method asSequence (line 113) | func (m Map) asSequence() sequence { method Value (line 118) | func (m Map) Value() Value { method WalkValues (line 122) | func (m Map) WalkValues(cb ValueCallback) { method firstOrLast (line 129) | func (m Map) firstOrLast(last bool) (Value, Value) { method First (line 138) | func (m Map) First() (Value, Value) { method Last (line 142) | func (m Map) Last() (Value, Value) { method At (line 146) | func (m Map) At(idx uint64) (key, value Value) { method MaybeGet (line 156) | func (m Map) MaybeGet(key Value) (v Value, ok bool) { method Has (line 169) | func (m Map) Has(key Value) bool { method Get (line 178) | func (m Map) Get(key Value) Value { method Iter (line 185) | func (m Map) Iter(cb mapIterCallback) { method Any (line 194) | func (m Map) Any(cb func(k, v Value) bool) (yep bool) { method Iterator (line 205) | func (m Map) Iterator() *MapIterator { method IteratorAt (line 209) | func (m Map) IteratorAt(pos uint64) *MapIterator { method IteratorFrom (line 215) | func (m Map) IteratorFrom(key Value) *MapIterator { method IterAll (line 223) | func (m Map) IterAll(cb mapIterAllCallback) { method IterFrom (line 236) | func (m Map) IterFrom(start Value, cb mapIterCallback) { method Edit (line 244) | func (m Map) Edit() *MapEditor { function newMap (line 18) | func newMap(seq orderedSequence) Map { function mapHashValueBytes (line 22) | func mapHashValueBytes(item sequenceItem, rv *rollingValueHasher) { function NewMap (line 28) | func NewMap(vrw ValueReadWriter, kv ...Value) Map { function NewStreamingMap (line 46) | func NewStreamingMap(vrw ValueReadWriter, kvs <-chan Value) <-chan Map { type streamingMapReadFunc (line 53) | type streamingMapReadFunc function newStreamingMap (line 55) | func newStreamingMap(vrw ValueReadWriter, kvs <-chan Value, readFunc str... function readMapInput (line 61) | func readMapInput(vrw ValueReadWriter, kvs <-chan Value, outChan chan<- ... type mapIterCallback (line 183) | type mapIterCallback type mapIterAllCallback (line 221) | type mapIterAllCallback function buildMapData (line 248) | func buildMapData(values []Value) mapEntrySlice { function makeMapLeafChunkFn (line 280) | func makeMapLeafChunkFn(vrw ValueReadWriter) makeChunkFn { function newEmptyMapSequenceChunker (line 302) | func newEmptyMapSequenceChunker(vrw ValueReadWriter) *sequenceChunker { FILE: go/types/map_editor.go type MapEditor (line 19) | type MapEditor struct method Kind (line 29) | func (me *MapEditor) Kind() NomsKind { method Value (line 33) | func (me *MapEditor) Value() Value { method Map (line 37) | func (me *MapEditor) Map() Map { method Set (line 131) | func (me *MapEditor) Set(k Value, v Valuable) *MapEditor { method SetM (line 137) | func (me *MapEditor) SetM(kv ...Valuable) *MapEditor { method Remove (line 146) | func (me *MapEditor) Remove(k Value) *MapEditor { method Get (line 151) | func (me *MapEditor) Get(k Value) Valuable { method Has (line 159) | func (me *MapEditor) Has(k Value) bool { method set (line 167) | func (me *MapEditor) set(k Value, v Valuable) { method findEdit (line 191) | func (me *MapEditor) findEdit(k Value) (idx int, found bool) { method normalize (line 216) | func (me *MapEditor) normalize() { function NewMapEditor (line 25) | func NewMapEditor(m Map) *MapEditor { type mapEdit (line 226) | type mapEdit struct type mapEditSlice (line 231) | type mapEditSlice method Len (line 233) | func (mes mapEditSlice) Len() int { return len(mes) } method Swap (line 234) | func (mes mapEditSlice) Swap(i, j int) { mes[i], mes[j] = mes[j],... method Less (line 235) | func (mes mapEditSlice) Less(i, j int) bool { return mes[i].key.Less(m... FILE: go/types/map_iterator.go type MapIterator (line 8) | type MapIterator struct method Valid (line 14) | func (mi *MapIterator) Valid() bool { method Entry (line 18) | func (mi *MapIterator) Entry() (k Value, v Value) { method Key (line 22) | func (mi *MapIterator) Key() Value { method Value (line 29) | func (mi *MapIterator) Value() Value { method Position (line 36) | func (mi *MapIterator) Position() uint64 { method Prev (line 44) | func (mi *MapIterator) Prev() bool { method Next (line 53) | func (mi *MapIterator) Next() bool { FILE: go/types/map_iterator_test.go function TestMapIterator (line 14) | func TestMapIterator(t *testing.T) { FILE: go/types/map_leaf_sequence.go type mapLeafSequence (line 13) | type mapLeafSequence struct method writeTo (line 73) | func (ml mapLeafSequence) writeTo(w nomsWriter) { method getItem (line 79) | func (ml mapLeafSequence) getItem(idx int) sequenceItem { method WalkRefs (line 84) | func (ml mapLeafSequence) WalkRefs(cb RefCallback) { method entries (line 88) | func (ml mapLeafSequence) entries() mapEntrySlice { method getCompareFn (line 97) | func (ml mapLeafSequence) getCompareFn(other sequence) compareFn { method typeOf (line 115) | func (ml mapLeafSequence) typeOf() *Type { method decoderSkipToIndex (line 141) | func (ml mapLeafSequence) decoderSkipToIndex(idx int) valueDecoder { method getKey (line 146) | func (ml mapLeafSequence) getKey(idx int) orderedKey { method search (line 151) | func (ml mapLeafSequence) search(key orderedKey) int { method getValue (line 157) | func (ml mapLeafSequence) getValue(idx int) Value { type mapEntry (line 17) | type mapEntry struct method writeTo (line 22) | func (entry mapEntry) writeTo(w nomsWriter) { method equals (line 31) | func (entry mapEntry) equals(other mapEntry) bool { function readMapEntry (line 27) | func readMapEntry(r *valueDecoder) mapEntry { type mapEntrySlice (line 35) | type mapEntrySlice method Len (line 37) | func (mes mapEntrySlice) Len() int { return len(mes) } method Swap (line 38) | func (mes mapEntrySlice) Swap(i, j int) { mes[i], mes[j] = mes[j]... method Less (line 39) | func (mes mapEntrySlice) Less(i, j int) bool { return mes[i].key.Less(... method Equals (line 40) | func (mes mapEntrySlice) Equals(other mapEntrySlice) bool { function newMapLeafSequence (line 54) | func newMapLeafSequence(vrw ValueReadWriter, data ...mapEntry) orderedSe... FILE: go/types/map_test.go constant testMapSize (line 20) | testMapSize = 8000 type genValueFn (line 22) | type genValueFn type testMap (line 24) | type testMap struct method SetValue (line 29) | func (tm testMap) SetValue(i int, v Value) testMap { method Remove (line 36) | func (tm testMap) Remove(from, to int) testMap { method MaybeGet (line 43) | func (tm testMap) MaybeGet(key Value) (v Value, ok bool) { method Diff (line 52) | func (tm testMap) Diff(last testMap) (added []Value, removed []Value, ... method toMap (line 90) | func (tm testMap) toMap(vrw ValueReadWriter) Map { method Flatten (line 106) | func (tm testMap) Flatten(from, to int) []Value { method FlattenAll (line 115) | func (tm testMap) FlattenAll() []Value { function toValuable (line 98) | func toValuable(vs ValueSlice) []Valuable { function newSortedTestMap (line 119) | func newSortedTestMap(length int, gen genValueFn) testMap { function newTestMapFromMap (line 135) | func newTestMapFromMap(m Map) testMap { function newRandomTestMap (line 143) | func newRandomTestMap(length int, gen genValueFn) testMap { function validateMap (line 161) | func validateMap(t *testing.T, vrw ValueReadWriter, m Map, entries mapEn... type mapTestSuite (line 173) | type mapTestSuite struct method createStreamingMap (line 241) | func (suite *mapTestSuite) createStreamingMap(vs *ValueStore) Map { method TestStreamingMap (line 252) | func (suite *mapTestSuite) TestStreamingMap() { method TestStreamingMapOrder (line 259) | func (suite *mapTestSuite) TestStreamingMapOrder() { method TestStreamingMap2 (line 286) | func (suite *mapTestSuite) TestStreamingMap2() { function newMapTestSuite (line 178) | func newMapTestSuite(size uint, expectChunkCount int, expectPrependChunk... function TestMapSuite4K (line 306) | func TestMapSuite4K(t *testing.T) { function TestMapSuite4KStructs (line 310) | func TestMapSuite4KStructs(t *testing.T) { function newNumber (line 314) | func newNumber(i int) Value { function newNumberStruct (line 318) | func newNumberStruct(i int) Value { function getTestNativeOrderMap (line 322) | func getTestNativeOrderMap(scale int, vrw ValueReadWriter) testMap { function getTestRefValueOrderMap (line 326) | func getTestRefValueOrderMap(scale int, vrw ValueReadWriter) testMap { function getTestRefToNativeOrderMap (line 330) | func getTestRefToNativeOrderMap(scale int, vrw ValueReadWriter) testMap { function getTestRefToValueOrderMap (line 336) | func getTestRefToValueOrderMap(scale int, vrw ValueReadWriter) testMap { function accumulateMapDiffChanges (line 342) | func accumulateMapDiffChanges(m1, m2 Map) (added []Value, removed []Valu... function diffMapTest (line 360) | func diffMapTest(assert *assert.Assertions, m1 Map, m2 Map, numAddsExpec... function TestMapDiff (line 379) | func TestMapDiff(t *testing.T) { function TestMapMutationReadWriteCount (line 397) | func TestMapMutationReadWriteCount(t *testing.T) { function TestMapInfiniteChunkBug (line 450) | func TestMapInfiniteChunkBug(t *testing.T) { function TestNewMap (line 474) | func TestNewMap(t *testing.T) { function TestMapUniqueKeysString (line 486) | func TestMapUniqueKeysString(t *testing.T) { function TestMapUniqueKeysNumber (line 501) | func TestMapUniqueKeysNumber(t *testing.T) { type toTestMapFunc (line 517) | type toTestMapFunc function TestMapHas (line 519) | func TestMapHas(t *testing.T) { function TestMapRemoveMasksUnderlyingMap (line 550) | func TestMapRemoveMasksUnderlyingMap(t *testing.T) { function TestMapHasRemove (line 574) | func TestMapHasRemove(t *testing.T) { function TestMapRemove (line 628) | func TestMapRemove(t *testing.T) { function TestMapRemoveNonexistentKey (line 661) | func TestMapRemoveNonexistentKey(t *testing.T) { function TestMapFirst (line 677) | func TestMapFirst(t *testing.T) { function TestMapFirst2 (line 703) | func TestMapFirst2(t *testing.T) { function TestMapLast (line 728) | func TestMapLast(t *testing.T) { function TestMapLast2 (line 754) | func TestMapLast2(t *testing.T) { function TestMapSetGet (line 779) | func TestMapSetGet(t *testing.T) { function validateMapInsertion (line 838) | func validateMapInsertion(t *testing.T, tm testMap) { function TestMapValidateInsertAscending (line 858) | func TestMapValidateInsertAscending(t *testing.T) { function TestMapSet (line 869) | func TestMapSet(t *testing.T) { function TestMapSetM (line 902) | func TestMapSetM(t *testing.T) { function TestMapSetExistingKeyToNewValue (line 918) | func TestMapSetExistingKeyToNewValue(t *testing.T) { function TestMapDuplicateSet (line 949) | func TestMapDuplicateSet(t *testing.T) { function TestMapMaybeGet (line 957) | func TestMapMaybeGet(t *testing.T) { function TestMapIter (line 987) | func TestMapIter(t *testing.T) { function TestMapIter2 (line 1032) | func TestMapIter2(t *testing.T) { function TestMapAny (line 1065) | func TestMapAny(t *testing.T) { function TestMapIterAll (line 1079) | func TestMapIterAll(t *testing.T) { function TestMapEquals (line 1109) | func TestMapEquals(t *testing.T) { function TestMapNotStringKeys (line 1143) | func TestMapNotStringKeys(t *testing.T) { function testMapOrder (line 1172) | func testMapOrder(assert *assert.Assertions, vrw ValueReadWriter, keyTyp... function TestMapOrdering (line 1181) | func TestMapOrdering(t *testing.T) { function TestMapEmpty (line 1302) | func TestMapEmpty(t *testing.T) { function TestMapType (line 1319) | func TestMapType(t *testing.T) { function TestMapChunks (line 1344) | func TestMapChunks(t *testing.T) { function TestMapFirstNNumbers (line 1362) | func TestMapFirstNNumbers(t *testing.T) { function TestMapRefOfStructFirstNNumbers (line 1379) | func TestMapRefOfStructFirstNNumbers(t *testing.T) { function TestMapModifyAfterRead (line 1400) | func TestMapModifyAfterRead(t *testing.T) { function TestMapTypeAfterMutations (line 1422) | func TestMapTypeAfterMutations(t *testing.T) { function TestCompoundMapWithValuesOfEveryType (line 1454) | func TestCompoundMapWithValuesOfEveryType(t *testing.T) { function TestMapRemoveLastWhenNotLoaded (line 1511) | func TestMapRemoveLastWhenNotLoaded(t *testing.T) { function TestMapIterFrom (line 1535) | func TestMapIterFrom(t *testing.T) { function TestMapAt (line 1565) | func TestMapAt(t *testing.T) { function TestMapWithStructShouldHaveOptionalFields (line 1584) | func TestMapWithStructShouldHaveOptionalFields(t *testing.T) { function TestMapWithNil (line 1630) | func TestMapWithNil(t *testing.T) { function TestNestedEditing (line 1647) | func TestNestedEditing(t *testing.T) { FILE: go/types/meta_sequence.go constant objectWindowSize (line 15) | objectWindowSize = 8 constant orderedSequenceWindowSize (line 16) | orderedSequenceWindowSize = 1 constant objectPattern (line 17) | objectPattern = uint32(1<<6 - 1) function newMetaTuple (line 22) | func newMetaTuple(ref Ref, key orderedKey, numLeaves uint64) metaTuple { type metaTuple (line 36) | type metaTuple struct method decoderAtPart (line 47) | func (mt metaTuple) decoderAtPart(part uint32) valueDecoder { method ref (line 52) | func (mt metaTuple) ref() Ref { method key (line 57) | func (mt metaTuple) key() orderedKey { method numLeaves (line 62) | func (mt metaTuple) numLeaves() uint64 { method getChildSequence (line 67) | func (mt metaTuple) getChildSequence(vr ValueReader) sequence { method writeTo (line 71) | func (mt metaTuple) writeTo(w nomsWriter) { constant metaTuplePartRef (line 42) | metaTuplePartRef = 0 constant metaTuplePartKey (line 43) | metaTuplePartKey = 1 constant metaTuplePartNumLeaves (line 44) | metaTuplePartNumLeaves = 2 type orderedKey (line 77) | type orderedKey struct method Less (line 102) | func (key orderedKey) Less(mk2 orderedKey) bool { method writeTo (line 116) | func (key orderedKey) writeTo(w nomsWriter) { function newOrderedKey (line 83) | func newOrderedKey(v Value) orderedKey { function orderedKeyFromHash (line 90) | func orderedKeyFromHash(h hash.Hash) orderedKey { function orderedKeyFromInt (line 94) | func orderedKeyFromInt(n int) orderedKey { function orderedKeyFromUint64 (line 98) | func orderedKeyFromUint64(n uint64) orderedKey { type metaSequence (line 126) | type metaSequence struct method tuples (line 185) | func (ms metaSequence) tuples() []metaTuple { method getKey (line 194) | func (ms metaSequence) getKey(idx int) orderedKey { method search (line 200) | func (ms metaSequence) search(key orderedKey) int { method cumulativeNumberOfLeaves (line 206) | func (ms metaSequence) cumulativeNumberOfLeaves(idx int) uint64 { method getCompareFn (line 217) | func (ms metaSequence) getCompareFn(other sequence) compareFn { method readTuple (line 226) | func (ms metaSequence) readTuple(dec *valueDecoder) metaTuple { method getRefAt (line 239) | func (ms metaSequence) getRefAt(dec *valueDecoder, idx int) Ref { method getNumLeavesAt (line 244) | func (ms metaSequence) getNumLeavesAt(idx int) uint64 { method getItem (line 252) | func (ms metaSequence) getItem(idx int) sequenceItem { method valuesSlice (line 257) | func (ms metaSequence) valuesSlice(from, to uint64) []Value { method typeOf (line 261) | func (ms metaSequence) typeOf() *Type { method numLeaves (line 280) | func (ms metaSequence) numLeaves() uint64 { method treeLevel (line 284) | func (ms metaSequence) treeLevel() uint64 { method isLeaf (line 289) | func (ms metaSequence) isLeaf() bool { method getChildSequence (line 295) | func (ms metaSequence) getChildSequence(idx int) sequence { method getCompositeChildSequence (line 306) | func (ms metaSequence) getCompositeChildSequence(start uint64, length ... method getChildren (line 348) | func (ms metaSequence) getChildren(start, end uint64) (seqs []sequence) { function newMetaSequence (line 130) | func newMetaSequence(vrw ValueReadWriter, buff []byte, offsets []uint32,... function readMetaSequence (line 135) | func readMetaSequence(dec *valueDecoder) metaSequence { function skipMetaSequence (line 142) | func skipMetaSequence(dec *valueDecoder) ([]uint32, uint64) { function newMetaSequenceFromTuples (line 165) | func newMetaSequenceFromTuples(kind NomsKind, level uint64, tuples []met... function metaHashValueBytes (line 374) | func metaHashValueBytes(item sequenceItem, rv *rollingValueHasher) { type emptySequence (line 378) | type emptySequence struct method getItem (line 382) | func (es emptySequence) getItem(idx int) sequenceItem { method seqLen (line 386) | func (es emptySequence) seqLen() int { method numLeaves (line 390) | func (es emptySequence) numLeaves() uint64 { method valueReadWriter (line 394) | func (es emptySequence) valueReadWriter() ValueReadWriter { method WalkRefs (line 398) | func (es emptySequence) WalkRefs(cb RefCallback) { method getCompareFn (line 401) | func (es emptySequence) getCompareFn(other sequence) compareFn { method getKey (line 405) | func (es emptySequence) getKey(idx int) orderedKey { method search (line 409) | func (es emptySequence) search(key orderedKey) int { method getValue (line 413) | func (es emptySequence) getValue(idx int) Value { method cumulativeNumberOfLeaves (line 417) | func (es emptySequence) cumulativeNumberOfLeaves(idx int) uint64 { method getChildSequence (line 421) | func (es emptySequence) getChildSequence(i int) sequence { method Kind (line 425) | func (es emptySequence) Kind() NomsKind { method typeOf (line 429) | func (es emptySequence) typeOf() *Type { method getCompositeChildSequence (line 433) | func (es emptySequence) getCompositeChildSequence(start uint64, length... method treeLevel (line 440) | func (es emptySequence) treeLevel() uint64 { method isLeaf (line 444) | func (es emptySequence) isLeaf() bool { method Hash (line 448) | func (es emptySequence) Hash() hash.Hash { method Equals (line 452) | func (es emptySequence) Equals(other Value) bool { method Less (line 456) | func (es emptySequence) Less(other Value) bool { method valueBytes (line 460) | func (es emptySequence) valueBytes() []byte { method valuesSlice (line 464) | func (es emptySequence) valuesSlice(from, to uint64) []Value { method writeTo (line 468) | func (es emptySequence) writeTo(nomsWriter) { method Empty (line 472) | func (es emptySequence) Empty() bool { method Len (line 476) | func (es emptySequence) Len() uint64 { method asValueImpl (line 480) | func (es emptySequence) asValueImpl() valueImpl { FILE: go/types/noms_kind.go type NomsKind (line 8) | type NomsKind method String (line 51) | func (k NomsKind) String() string { method writeTo (line 70) | func (k NomsKind) writeTo(w nomsWriter) { constant BoolKind (line 13) | BoolKind NomsKind = iota constant NumberKind (line 14) | NumberKind constant StringKind (line 15) | StringKind constant BlobKind (line 16) | BlobKind constant ValueKind (line 17) | ValueKind constant ListKind (line 18) | ListKind constant MapKind (line 19) | MapKind constant RefKind (line 20) | RefKind constant SetKind (line 21) | SetKind constant StructKind (line 24) | StructKind constant CycleKind (line 25) | CycleKind constant TypeKind (line 27) | TypeKind constant UnionKind (line 28) | UnionKind constant hashKind (line 31) | hashKind function IsPrimitiveKind (line 56) | func IsPrimitiveKind(k NomsKind) bool { function isKindOrderedByValue (line 66) | func isKindOrderedByValue(k NomsKind) bool { FILE: go/types/number.go type Number (line 16) | type Number method Value (line 19) | func (v Number) Value() Value { method Equals (line 23) | func (v Number) Equals(other Value) bool { method Less (line 27) | func (v Number) Less(other Value) bool { method Hash (line 34) | func (v Number) Hash() hash.Hash { method WalkValues (line 38) | func (v Number) WalkValues(cb ValueCallback) { method WalkRefs (line 41) | func (v Number) WalkRefs(cb RefCallback) { method typeOf (line 44) | func (v Number) typeOf() *Type { method Kind (line 48) | func (v Number) Kind() NomsKind { method valueReadWriter (line 52) | func (v Number) valueReadWriter() ValueReadWriter { method writeTo (line 56) | func (v Number) writeTo(w nomsWriter) { method valueBytes (line 65) | func (v Number) valueBytes() []byte { FILE: go/types/number_util.go function float64IsInt (line 9) | func float64IsInt(f float64) bool { function float64ToIntExp (line 14) | func float64ToIntExp(f float64) (int64, int) { function fracExpToFloat (line 38) | func fracExpToFloat(frac int64, exp int) float64 { FILE: go/types/opcache.go constant uint32Size (line 78) | uint32Size = 4 type opCacheStore (line 80) | type opCacheStore interface type opCache (line 85) | type opCache interface type opCacheIterator (line 100) | type opCacheIterator interface type ldbOpCacheStore (line 106) | type ldbOpCacheStore struct method destroy (line 141) | func (store *ldbOpCacheStore) destroy() error { method opCache (line 146) | func (store *ldbOpCacheStore) opCache() opCache { type ldbOpCache (line 113) | type ldbOpCache struct method insertLdbOp (line 154) | func (opc *ldbOpCache) insertLdbOp(allKeys ValueSlice, opKind NomsKind... method GraphMapSet (line 173) | func (opc *ldbOpCache) GraphMapSet(graphKeys ValueSlice, mapKey, mapVa... method GraphSetInsert (line 178) | func (opc *ldbOpCache) GraphSetInsert(graphKeys ValueSlice, val Value) { method GraphListAppend (line 183) | func (opc *ldbOpCache) GraphListAppend(graphKeys ValueSlice, val Value) { method NewIterator (line 248) | func (opc *ldbOpCache) NewIterator() opCacheIterator { type ldbOpCacheIterator (line 120) | type ldbOpCacheIterator struct method GraphOp (line 189) | func (i *ldbOpCacheIterator) GraphOp() (ValueSlice, NomsKind, sequence... method Next (line 254) | func (i *ldbOpCacheIterator) Next() bool { method Release (line 258) | func (i *ldbOpCacheIterator) Release() { function newLdbOpCacheStore (line 125) | func newLdbOpCacheStore(vrw ValueReadWriter) *ldbOpCacheStore { function encodeKeys (line 263) | func encodeKeys(bs []byte, colId uint32, opKind NomsKind, keys []Value) ... function encodeValues (line 287) | func encodeValues(bs []byte, valuesToEncode []Value) []byte { function encodeGraphKey (line 296) | func encodeGraphKey(bs []byte, v Value) []byte { function encodeGraphValue (line 300) | func encodeGraphValue(bs []byte, v Value) []byte { function encodeForGraph (line 304) | func encodeForGraph(bs []byte, v Value, asValue bool) []byte { function decodeValue (line 326) | func decodeValue(bs []byte, asValue bool, vrw ValueReadWriter) ([]byte, ... function encToSlice (line 342) | func encToSlice(v Value, initBuf []byte) []byte { FILE: go/types/opcache_compare.go type opCacheComparer (line 15) | type opCacheComparer struct method Compare (line 17) | func (opCacheComparer) Compare(a, b []byte) int { method Name (line 24) | func (opCacheComparer) Name() string { method Successor (line 28) | func (opCacheComparer) Successor(dst, b []byte) []byte { method Separator (line 32) | func (opCacheComparer) Separator(dst, a, b []byte) []byte { function compareEncodedKeys (line 36) | func compareEncodedKeys(a, b []byte) int { function compareEncodedKey (line 82) | func compareEncodedKey(a, b []byte) int { function compareEncodedNomsValues (line 121) | func compareEncodedNomsValues(a, b []byte) int { function compareEmpties (line 155) | func compareEmpties(a, b []byte) (bool, int) { function compareKinds (line 169) | func compareKinds(aKind, bKind NomsKind) (res int) { function minByte (line 178) | func minByte(a, b byte) byte { FILE: go/types/opcache_test.go function TestOpCache (line 16) | func TestOpCache(t *testing.T) { type OpCacheSuite (line 20) | type OpCacheSuite struct method SetupTest (line 25) | func (suite *OpCacheSuite) SetupTest() { method TearDownTest (line 29) | func (suite *OpCacheSuite) TearDownTest() { method TestMapSet (line 33) | func (suite *OpCacheSuite) TestMapSet() { method TestSetInsert (line 67) | func (suite *OpCacheSuite) TestSetInsert() { method TestListAppend (line 105) | func (suite *OpCacheSuite) TestListAppend() { FILE: go/types/ordered_sequences.go type orderedSequence (line 11) | type orderedSequence interface function newSetMetaSequence (line 17) | func newSetMetaSequence(level uint64, tuples []metaTuple, vrw ValueReadW... function newMapMetaSequence (line 21) | func newMapMetaSequence(level uint64, tuples []metaTuple, vrw ValueReadW... function newCursorAtValue (line 25) | func newCursorAtValue(seq orderedSequence, val Value, forInsertion bool,... function newCursorAt (line 33) | func newCursorAt(seq orderedSequence, key orderedKey, forInsertion bool,... function seekTo (line 57) | func seekTo(cur *sequenceCursor, key orderedKey, lastPositionIfNotFound ... function getCurrentKey (line 72) | func getCurrentKey(cur *sequenceCursor) orderedKey { function getMapValue (line 80) | func getMapValue(cur *sequenceCursor) Value { function newOrderedMetaSequenceChunkFn (line 90) | func newOrderedMetaSequenceChunkFn(kind NomsKind, vrw ValueReadWriter) m... FILE: go/types/ordered_sequences_diff.go type DiffChangeType (line 14) | type DiffChangeType constant DiffChangeAdded (line 17) | DiffChangeAdded DiffChangeType = iota constant DiffChangeRemoved (line 18) | DiffChangeRemoved constant DiffChangeModified (line 19) | DiffChangeModified type ValueChanged (line 22) | type ValueChanged struct function sendChange (line 27) | func sendChange(changes chan<- ValueChanged, stopChan <-chan struct{}, c... function orderedSequenceDiffBest (line 40) | func orderedSequenceDiffBest(last orderedSequence, current orderedSequen... function orderedSequenceDiffTopDown (line 112) | func orderedSequenceDiffTopDown(last orderedSequence, current orderedSeq... function orderedSequenceDiffInternalNodes (line 117) | func orderedSequenceDiffInternalNodes(last orderedSequence, current orde... function orderedSequenceDiffLeftRight (line 156) | func orderedSequenceDiffLeftRight(last orderedSequence, current orderedS... function fastForward (line 206) | func fastForward(a *sequenceCursor, b *sequenceCursor) { function syncWithIdx (line 212) | func syncWithIdx(cur *sequenceCursor, hasMore bool, allowPastEnd bool) { function doFastForward (line 226) | func doFastForward(allowPastEnd bool, a *sequenceCursor, b *sequenceCurs... function isCurrentEqual (line 247) | func isCurrentEqual(a *sequenceCursor, b *sequenceCursor) bool { FILE: go/types/ordered_sequences_diff_test.go constant lengthOfNumbersTest (line 15) | lengthOfNumbersTest = 1000 type diffFn (line 18) | type diffFn type diffTestSuite (line 20) | type diffTestSuite struct method TestDiff (line 61) | func (suite *diffTestSuite) TestDiff() { function newDiffTestSuite (line 32) | func newDiffTestSuite(from1, to1, by1, from2, to2, by2, numAddsExpected,... function accumulateOrderedSequenceDiffChanges (line 42) | func accumulateOrderedSequenceDiffChanges(o1, o2 orderedSequence, df dif... function TestOrderedSequencesIdentical (line 121) | func TestOrderedSequencesIdentical(t *testing.T) { function TestOrderedSequencesSubset (line 129) | func TestOrderedSequencesSubset(t *testing.T) { function TestOrderedSequencesDisjoint (line 144) | func TestOrderedSequencesDisjoint(t *testing.T) { function TestOrderedSequencesDiffCloseWithoutReading (line 159) | func TestOrderedSequencesDiffCloseWithoutReading(t *testing.T) { function TestOrderedSequenceDiffWithMetaNodeGap (line 185) | func TestOrderedSequenceDiffWithMetaNodeGap(t *testing.T) { FILE: go/types/path.go type Path (line 31) | type Path method Resolve (line 151) | func (p Path) Resolve(v Value, vr ValueReader) (resolved Value) { method Equals (line 163) | func (p Path) Equals(o Path) bool { method Append (line 176) | func (p Path) Append(pp PathPart) Path { method String (line 182) | func (p Path) String() string { method IsEmpty (line 190) | func (p Path) IsEmpty() bool { type PathPart (line 33) | type PathPart interface function ParsePath (line 39) | func ParsePath(str string) (Path, error) { function MustParsePath (line 47) | func MustParsePath(str string) Path { type keyIndexable (line 55) | type keyIndexable interface function constructPath (line 59) | func constructPath(p Path, str string) (Path, error) { type FieldPath (line 195) | type FieldPath struct method Resolve (line 204) | func (fp FieldPath) Resolve(v Value, vr ValueReader) Value { method String (line 220) | func (fp FieldPath) String() string { function NewFieldPath (line 200) | func NewFieldPath(name string) FieldPath { type IndexPath (line 225) | type IndexPath struct method Resolve (line 256) | func (ip IndexPath) Resolve(v Value, vr ValueReader) Value { method String (line 295) | func (ip IndexPath) String() (str string) { method setIntoKey (line 303) | func (ip IndexPath) setIntoKey(v bool) keyIndexable { function NewIndexPath (line 238) | func NewIndexPath(idx Value) IndexPath { function NewIndexIntoKeyPath (line 242) | func NewIndexIntoKeyPath(idx Value) IndexPath { function ValueCanBePathIndex (line 246) | func ValueCanBePathIndex(v Value) bool { function newIndexPath (line 251) | func newIndexPath(idx Value, intoKey bool) IndexPath { type HashIndexPath (line 309) | type HashIndexPath struct method Resolve (line 335) | func (hip HashIndexPath) Resolve(v Value, vr ValueReader) (res Value) { method String (line 367) | func (hip HashIndexPath) String() (str string) { method setIntoKey (line 375) | func (hip HashIndexPath) setIntoKey(v bool) keyIndexable { function NewHashIndexPath (line 322) | func NewHashIndexPath(h hash.Hash) HashIndexPath { function NewHashIndexIntoKeyPath (line 326) | func NewHashIndexIntoKeyPath(h hash.Hash) HashIndexPath { function newHashIndexPath (line 330) | func newHashIndexPath(h hash.Hash, intoKey bool) HashIndexPath { function ParsePathIndex (line 385) | func ParsePathIndex(str string) (idx Value, h hash.Hash, rem string, err... type TypeAnnotation (line 445) | type TypeAnnotation struct method Resolve (line 448) | func (ann TypeAnnotation) Resolve(v Value, vr ValueReader) Value { method String (line 452) | func (ann TypeAnnotation) String() string { type TargetAnnotation (line 457) | type TargetAnnotation struct method Resolve (line 460) | func (ann TargetAnnotation) Resolve(v Value, vr ValueReader) Value { method String (line 471) | func (ann TargetAnnotation) String() string { type AtAnnotation (line 478) | type AtAnnotation struct method Resolve (line 494) | func (ann AtAnnotation) Resolve(v Value, vr ValueReader) Value { method String (line 522) | func (ann AtAnnotation) String() (str string) { method setIntoKey (line 530) | func (ann AtAnnotation) setIntoKey(v bool) keyIndexable { function NewAtAnnotation (line 486) | func NewAtAnnotation(idx int64) AtAnnotation { function NewAtAnnotationIntoKeyPath (line 490) | func NewAtAnnotationIntoKeyPath(idx int64) AtAnnotation { function getAnnotation (line 535) | func getAnnotation(str string) (ann string, hasArg bool, arg, rem string) { function getAbsoluteIndex (line 548) | func getAbsoluteIndex(v Value, relIdx int64) (absIdx uint64, ok bool) { FILE: go/types/path_test.go function hashIdx (line 16) | func hashIdx(v Value) string { function assertResolvesTo (line 20) | func assertResolvesTo(assert *assert.Assertions, expect, ref Value, str ... function assertResolvesToWithVR (line 24) | func assertResolvesToWithVR(assert *assert.Assertions, expect, ref Value... function TestPathStruct (line 39) | func TestPathStruct(t *testing.T) { function TestPathStructType (line 64) | func TestPathStructType(t *testing.T) { function TestPathIndex (line 90) | func TestPathIndex(t *testing.T) { function TestPathIndexType (line 127) | func TestPathIndexType(t *testing.T) { function TestPathHashIndex (line 169) | func TestPathHashIndex(t *testing.T) { function TestPathHashIndexOfSingletonCollection (line 214) | func TestPathHashIndexOfSingletonCollection(t *testing.T) { function TestPathMulti (line 229) | func TestPathMulti(t *testing.T) { function TestPathParseSuccess (line 278) | func TestPathParseSuccess(t *testing.T) { function TestPathParseErrors (line 329) | func TestPathParseErrors(t *testing.T) { function TestPathEquals (line 394) | func TestPathEquals(t *testing.T) { function TestPathCanBePathIndex (line 429) | func TestPathCanBePathIndex(t *testing.T) { function TestCopyPath (line 442) | func TestCopyPath(t *testing.T) { function TestMustParsePath (line 468) | func TestMustParsePath(t *testing.T) { function TestPathType (line 477) | func TestPathType(t *testing.T) { function TestPathTarget (line 504) | func TestPathTarget(t *testing.T) { function TestPathAtAnnotation (line 522) | func TestPathAtAnnotation(t *testing.T) { FILE: go/types/perf/perf_test.go type perfSuite (line 19) | type perfSuite struct method SetupSuite (line 25) | func (s *perfSuite) SetupSuite() { method Test01BuildList10mNumbers (line 29) | func (s *perfSuite) Test01BuildList10mNumbers() { method Test02BuildList10mStructs (line 48) | func (s *perfSuite) Test02BuildList10mStructs() { method Test03Read10mNumbers (line 69) | func (s *perfSuite) Test03Read10mNumbers() { method Test04Read10mStructs (line 73) | func (s *perfSuite) Test04Read10mStructs() { method Test05Concat10mValues2kTimes (line 77) | func (s *perfSuite) Test05Concat10mValues2kTimes() { method TestBuild500megBlobFromFilesP1 (line 108) | func (s *perfSuite) TestBuild500megBlobFromFilesP1() { method TestBuild500megBlobFromFilesP2 (line 112) | func (s *perfSuite) TestBuild500megBlobFromFilesP2() { method TestBuild500megBlobFromFilesP8 (line 116) | func (s *perfSuite) TestBuild500megBlobFromFilesP8() { method TestBuild500megBlobFromFilesP64 (line 120) | func (s *perfSuite) TestBuild500megBlobFromFilesP64() { method testBuild500megBlob (line 125) | func (s *perfSuite) testBuild500megBlob(p int) { method randomBytes (line 158) | func (s *perfSuite) randomBytes(seed int64, size int) []byte { method headList (line 166) | func (s *perfSuite) headList(dsName string) types.List { function TestPerf (line 171) | func TestPerf(t *testing.T) { FILE: go/types/primitives_test.go function TestPrimitives (line 13) | func TestPrimitives(t *testing.T) { function TestPrimitivesType (line 31) | func TestPrimitivesType(t *testing.T) { FILE: go/types/ref.go type Ref (line 13) | type Ref struct method offsetAtPart (line 91) | func (r Ref) offsetAtPart(part refPart) uint32 { method decoderAtPart (line 95) | func (r Ref) decoderAtPart(part refPart) valueDecoder { method TargetHash (line 100) | func (r Ref) TargetHash() hash.Hash { method Height (line 105) | func (r Ref) Height() uint64 { method TargetValue (line 110) | func (r Ref) TargetValue(vr ValueReader) Value { method TargetType (line 114) | func (r Ref) TargetType() *Type { method Value (line 120) | func (r Ref) Value() Value { method WalkValues (line 124) | func (r Ref) WalkValues(cb ValueCallback) { method typeOf (line 127) | func (r Ref) typeOf() *Type { method isSameTargetType (line 131) | func (r Ref) isSameTargetType(other Ref) bool { type refPart (line 17) | type refPart constant refPartKind (line 20) | refPartKind refPart = iota constant refPartTargetHash (line 21) | refPartTargetHash constant refPartTargetType (line 22) | refPartTargetType constant refPartHeight (line 23) | refPartHeight constant refPartEnd (line 24) | refPartEnd function NewRef (line 27) | func NewRef(v Value) Ref { function ToRefOfValue (line 33) | func ToRefOfValue(r Ref) Ref { function constructRef (line 37) | func constructRef(targetHash hash.Hash, targetType *Type, height uint64)... function writeRefPartsTo (line 53) | func writeRefPartsTo(w nomsWriter, targetHash hash.Hash, targetType *Typ... function readRef (line 61) | func readRef(dec *typedBinaryNomsReader) Ref { function skipRef (line 69) | func skipRef(dec *typedBinaryNomsReader) []uint32 { function maxChunkHeight (line 82) | func maxChunkHeight(v Value) (max uint64) { FILE: go/types/ref_heap.go type RefByHeight (line 15) | type RefByHeight method Len (line 17) | func (h RefByHeight) Len() int { method Less (line 21) | func (h RefByHeight) Less(i, j int) bool { method Swap (line 25) | func (h RefByHeight) Swap(i, j int) { method PushBack (line 29) | func (h *RefByHeight) PushBack(r Ref) { method PopBack (line 33) | func (h *RefByHeight) PopBack() Ref { method DropIndices (line 42) | func (h *RefByHeight) DropIndices(indices []int) { method Unique (line 59) | func (h *RefByHeight) Unique() { method PopRefsOfHeight (line 73) | func (h *RefByHeight) PopRefsOfHeight(height uint64) (refs RefSlice) { method MaxHeight (line 82) | func (h RefByHeight) MaxHeight() uint64 { method Empty (line 89) | func (h RefByHeight) Empty() bool { method PeekEnd (line 94) | func (h RefByHeight) PeekEnd() (head Ref) { method PeekAt (line 99) | func (h RefByHeight) PeekAt(idx int) (peek Ref) { function HeightOrder (line 107) | func HeightOrder(a, b Ref) bool { type RefSlice (line 117) | type RefSlice method Len (line 119) | func (s RefSlice) Len() int { method Less (line 123) | func (s RefSlice) Less(i, j int) bool { method Swap (line 127) | func (s RefSlice) Swap(i, j int) { FILE: go/types/ref_heap_test.go function TestRefByHeight (line 14) | func TestRefByHeight(t *testing.T) { function TestDropIndices (line 73) | func TestDropIndices(t *testing.T) { function TestPopRefsOfHeight (line 89) | func TestPopRefsOfHeight(t *testing.T) { FILE: go/types/ref_test.go function TestRefInList (line 13) | func TestRefInList(t *testing.T) { function TestRefInSet (line 25) | func TestRefInSet(t *testing.T) { function TestRefInMap (line 37) | func TestRefInMap(t *testing.T) { function TestRefChunks (line 52) | func TestRefChunks(t *testing.T) { FILE: go/types/rolling_value_hasher.go constant defaultChunkPattern (line 16) | defaultChunkPattern = uint32(1<<12 - 1) constant chunkWindow (line 19) | chunkWindow = uint32(67) constant maxChunkSize (line 20) | maxChunkSize = 1 << 24 function chunkingConfig (line 29) | func chunkingConfig() (pattern, window uint32) { function smallTestChunks (line 35) | func smallTestChunks() { function normalProductionChunks (line 41) | func normalProductionChunks() { type rollingValueHasher (line 47) | type rollingValueHasher struct method HashByte (line 81) | func (rv *rollingValueHasher) HashByte(b byte) bool { method Reset (line 92) | func (rv *rollingValueHasher) Reset() { method HashValue (line 99) | func (rv *rollingValueHasher) HashValue(v Value) { method hashBytes (line 104) | func (rv *rollingValueHasher) hashBytes(buff []byte) { function hashValueBytes (line 56) | func hashValueBytes(item sequenceItem, rv *rollingValueHasher) { function hashValueByte (line 60) | func hashValueByte(item sequenceItem, rv *rollingValueHasher) { function newRollingValueHasher (line 64) | func newRollingValueHasher(salt byte) *rollingValueHasher { FILE: go/types/sequence.go type sequenceItem (line 12) | type sequenceItem interface type compareFn (line 14) | type compareFn type sequence (line 16) | type sequence interface constant sequencePartKind (line 42) | sequencePartKind = 0 constant sequencePartLevel (line 43) | sequencePartLevel = 1 constant sequencePartCount (line 44) | sequencePartCount = 2 constant sequencePartValues (line 45) | sequencePartValues = 3 type sequenceImpl (line 48) | type sequenceImpl struct method decoderSkipToValues (line 57) | func (seq sequenceImpl) decoderSkipToValues() (valueDecoder, uint64) { method decoderAtPart (line 63) | func (seq sequenceImpl) decoderAtPart(part uint32) valueDecoder { method Empty (line 68) | func (seq sequenceImpl) Empty() bool { method Len (line 72) | func (seq sequenceImpl) Len() uint64 { method seqLen (line 76) | func (seq sequenceImpl) seqLen() int { method getItemOffset (line 81) | func (seq sequenceImpl) getItemOffset(idx int) int { method decoderSkipToIndex (line 88) | func (seq sequenceImpl) decoderSkipToIndex(idx int) valueDecoder { function newSequenceImpl (line 53) | func newSequenceImpl(vrw ValueReadWriter, buff []byte, offsets []uint32,... FILE: go/types/sequence_chunker.go type hashValueBytesFn (line 9) | type hashValueBytesFn type sequenceChunker (line 11) | type sequenceChunker struct method resume (line 61) | func (sc *sequenceChunker) resume() { method advanceTo (line 79) | func (sc *sequenceChunker) advanceTo(next *sequenceCursor) { method Append (line 146) | func (sc *sequenceChunker) Append(item sequenceItem) bool { method Skip (line 157) | func (sc *sequenceChunker) Skip() { method createParent (line 161) | func (sc *sequenceChunker) createParent() { method createSequence (line 192) | func (sc *sequenceChunker) createSequence(write bool) (sequence, metaT... method handleChunkBoundary (line 210) | func (sc *sequenceChunker) handleChunkBoundary() { method anyPending (line 221) | func (sc *sequenceChunker) anyPending() bool { method Done (line 234) | func (sc *sequenceChunker) Done() sequence { method finalizeCursor (line 277) | func (sc *sequenceChunker) finalizeCursor() { type makeChunkFn (line 26) | type makeChunkFn function newEmptySequenceChunker (line 28) | func newEmptySequenceChunker(vrw ValueReadWriter, makeChunk, parentMakeC... function newSequenceChunker (line 32) | func newSequenceChunker(cur *sequenceCursor, level uint64, vrw ValueRead... FILE: go/types/sequence_concat.go type newSequenceChunkerFn (line 7) | type newSequenceChunkerFn function concat (line 9) | func concat(fst, snd sequence, newSequenceChunker newSequenceChunkerFn) ... FILE: go/types/sequence_cursor.go type sequenceCursor (line 11) | type sequenceCursor struct method length (line 31) | func (cur *sequenceCursor) length() int { method getItem (line 35) | func (cur *sequenceCursor) getItem(idx int) sequenceItem { method sync (line 41) | func (cur *sequenceCursor) sync() { method getChildSequence (line 48) | func (cur *sequenceCursor) getChildSequence() sequence { method current (line 53) | func (cur *sequenceCursor) current() sequenceItem { method valid (line 58) | func (cur *sequenceCursor) valid() bool { method indexInChunk (line 62) | func (cur *sequenceCursor) indexInChunk() int { method atLastItem (line 66) | func (cur *sequenceCursor) atLastItem() bool { method advance (line 70) | func (cur *sequenceCursor) advance() bool { method advanceMaybeAllowPastEnd (line 74) | func (cur *sequenceCursor) advanceMaybeAllowPastEnd(allowPastEnd bool)... method retreat (line 94) | func (cur *sequenceCursor) retreat() bool { method retreatMaybeAllowBeforeStart (line 98) | func (cur *sequenceCursor) retreatMaybeAllowBeforeStart(allowBeforeSta... method clone (line 119) | func (cur *sequenceCursor) clone() *sequenceCursor { method String (line 130) | func (cur *sequenceCursor) String() string { method compare (line 138) | func (cur *sequenceCursor) compare(other *sequenceCursor) int { method iter (line 156) | func (cur *sequenceCursor) iter(cb cursorIterCallback) { function newSequenceCursor (line 20) | func newSequenceCursor(parent *sequenceCursor, seq sequence, idx int) *s... type cursorIterCallback (line 128) | type cursorIterCallback function newCursorAtIndex (line 167) | func newCursorAtIndex(seq sequence, idx uint64) *sequenceCursor { FILE: go/types/sequence_cursor_test.go type testSequence (line 14) | type testSequence struct method getItem (line 19) | func (ts testSequence) getItem(idx int) sequenceItem { method seqLen (line 23) | func (ts testSequence) seqLen() int { method numLeaves (line 27) | func (ts testSequence) numLeaves() uint64 { method cumulativeNumberOfLeaves (line 31) | func (ts testSequence) cumulativeNumberOfLeaves(idx int) uint64 { method getCompositeChildSequence (line 35) | func (ts testSequence) getCompositeChildSequence(start uint64, length ... method treeLevel (line 39) | func (ts testSequence) treeLevel() uint64 { method Kind (line 43) | func (ts testSequence) Kind() NomsKind { method getCompareFn (line 47) | func (ts testSequence) getCompareFn(other sequence) compareFn { method valueReadWriter (line 54) | func (ts testSequence) valueReadWriter() ValueReadWriter { method writeTo (line 58) | func (ts testSequence) writeTo(nomsWriter) { method getChildSequence (line 62) | func (ts testSequence) getChildSequence(idx int) sequence { method isLeaf (line 67) | func (ts testSequence) isLeaf() bool { method Equals (line 71) | func (ts testSequence) Equals(other Value) bool { method valueBytes (line 75) | func (ts testSequence) valueBytes() []byte { method valuesSlice (line 79) | func (ts testSequence) valuesSlice(from, to uint64) []Value { method Less (line 83) | func (ts testSequence) Less(other Value) bool { method Hash (line 87) | func (ts testSequence) Hash() hash.Hash { method WalkValues (line 91) | func (ts testSequence) WalkValues(cb ValueCallback) { method WalkRefs (line 95) | func (ts testSequence) WalkRefs(cb RefCallback) { method typeOf (line 99) | func (ts testSequence) typeOf() *Type { method Len (line 103) | func (ts testSequence) Len() uint64 { method Empty (line 107) | func (ts testSequence) Empty() bool { method asValueImpl (line 111) | func (ts testSequence) asValueImpl() valueImpl { function newTestSequenceCursor (line 115) | func newTestSequenceCursor(items []interface{}) *sequenceCursor { function newTestSequenceCursor3 (line 122) | func newTestSequenceCursor3(items []interface{}) *sequenceCursor { function TestTestCursor (line 130) | func TestTestCursor(t *testing.T) { FILE: go/types/set.go type Set (line 14) | type Set struct method Diff (line 72) | func (s Set) Diff(last Set, changes chan<- ValueChanged, closeChan <-c... method DiffHybrid (line 81) | func (s Set) DiffHybrid(last Set, changes chan<- ValueChanged, closeCh... method DiffLeftRight (line 91) | func (s Set) DiffLeftRight(last Set, changes chan<- ValueChanged, clos... method asSequence (line 98) | func (s Set) asSequence() sequence { method Value (line 103) | func (s Set) Value() Value { method WalkValues (line 107) | func (s Set) WalkValues(cb ValueCallback) { method First (line 113) | func (s Set) First() Value { method At (line 121) | func (s Set) At(idx uint64) Value { method Has (line 130) | func (s Set) Has(v Value) bool { method Iter (line 137) | func (s Set) Iter(cb setIterCallback) { method IterAll (line 146) | func (s Set) IterAll(cb setIterAllCallback) { method Iterator (line 152) | func (s Set) Iterator() SetIterator { method IteratorAt (line 156) | func (s Set) IteratorAt(idx uint64) SetIterator { method IteratorFrom (line 163) | func (s Set) IteratorFrom(val Value) SetIterator { method Edit (line 170) | func (s Set) Edit() *SetEditor { function newSet (line 18) | func newSet(seq orderedSequence) Set { function NewSet (line 22) | func NewSet(vrw ValueReadWriter, v ...Value) Set { function NewStreamingSet (line 39) | func NewStreamingSet(vrw ValueReadWriter, vChan <-chan Value) <-chan Set { type streamingSetReadFunc (line 45) | type streamingSetReadFunc function newStreamingSet (line 47) | func newStreamingSet(vrw ValueReadWriter, vChan <-chan Value, readFunc s... function readSetInput (line 54) | func readSetInput(vrw ValueReadWriter, vChan <-chan Value, outChan chan<... type setIterCallback (line 135) | type setIterCallback type setIterAllCallback (line 144) | type setIterAllCallback function buildSetData (line 174) | func buildSetData(values ValueSlice) ValueSlice { function makeSetLeafChunkFn (line 193) | func makeSetLeafChunkFn(vrw ValueReadWriter) makeChunkFn { function newEmptySetSequenceChunker (line 216) | func newEmptySetSequenceChunker(vrw ValueReadWriter) *sequenceChunker { FILE: go/types/set_editor.go type SetEditor (line 19) | type SetEditor struct method Kind (line 29) | func (se *SetEditor) Kind() NomsKind { method Value (line 33) | func (se *SetEditor) Value() Value { method Set (line 37) | func (se *SetEditor) Set() Set { method Insert (line 113) | func (se *SetEditor) Insert(vs ...Value) *SetEditor { method Remove (line 122) | func (se *SetEditor) Remove(vs ...Value) *SetEditor { method Has (line 131) | func (se *SetEditor) Has(v Value) bool { method edit (line 139) | func (se *SetEditor) edit(v Value, insert bool) { method findEdit (line 163) | func (se *SetEditor) findEdit(v Value) (idx int, found bool) { method normalize (line 188) | func (se *SetEditor) normalize() { function NewSetEditor (line 25) | func NewSetEditor(s Set) *SetEditor { type setEdit (line 198) | type setEdit struct type setEditSlice (line 203) | type setEditSlice method Len (line 205) | func (ses setEditSlice) Len() int { return len(ses) } method Swap (line 206) | func (ses setEditSlice) Swap(i, j int) { ses[i], ses[j] = ses[j],... method Less (line 207) | func (ses setEditSlice) Less(i, j int) bool { return ses[i].value.Less... FILE: go/types/set_iterator.go type SetIterator (line 13) | type SetIterator interface type setIterator (line 34) | type setIterator struct method Next (line 40) | func (si *setIterator) Next() Value { method SkipTo (line 50) | func (si *setIterator) SkipTo(v Value) Value { type iterState (line 71) | type iterState struct method Next (line 76) | func (st *iterState) Next() Value { method SkipTo (line 85) | func (st *iterState) SkipTo(v Value) Value { type UnionIterator (line 96) | type UnionIterator struct method Next (line 110) | func (u *UnionIterator) Next() Value { method SkipTo (line 123) | func (u *UnionIterator) SkipTo(v Value) Value { function NewUnionIterator (line 102) | func NewUnionIterator(iterA, iterB SetIterator) SetIterator { type IntersectionIterator (line 151) | type IntersectionIterator struct method Next (line 165) | func (i *IntersectionIterator) Next() Value { method SkipTo (line 183) | func (i *IntersectionIterator) SkipTo(v Value) Value { function NewIntersectionIterator (line 157) | func NewIntersectionIterator(iterA, iterB SetIterator) SetIterator { function compareValue (line 195) | func compareValue(v1, v2 Value) int { FILE: go/types/set_iterator_test.go function TestSetIterator (line 14) | func TestSetIterator(t *testing.T) { function TestSetIteratorAt (line 60) | func TestSetIteratorAt(t *testing.T) { function TestSetIteratorFrom (line 80) | func TestSetIteratorFrom(t *testing.T) { function TestUnionIterator (line 113) | func TestUnionIterator(t *testing.T) { function TestIntersectionIterator (line 162) | func TestIntersectionIterator(t *testing.T) { function TestCombinationIterator (line 194) | func TestCombinationIterator(t *testing.T) { type UnionTestIterator (line 219) | type UnionTestIterator struct method Next (line 224) | func (ui *UnionTestIterator) Next() Value { method SkipTo (line 229) | func (ui *UnionTestIterator) SkipTo(v Value) Value { function NewUnionTestIterator (line 234) | func NewUnionTestIterator(i1, i2 SetIterator, cntr *int) SetIterator { function TestUnionComplexity (line 242) | func TestUnionComplexity(t *testing.T) { type IntersectionTestIterator (line 268) | type IntersectionTestIterator struct method Next (line 273) | func (i *IntersectionTestIterator) Next() Value { method SkipTo (line 278) | func (i *IntersectionTestIterator) SkipTo(v Value) Value { function NewIntersectionTestIterator (line 283) | func NewIntersectionTestIterator(i1, i2 SetIterator, cntr *int) SetItera... function TestIntersectComplexity (line 291) | func TestIntersectComplexity(t *testing.T) { function createSetsWithDistinctNumbers (line 317) | func createSetsWithDistinctNumbers(vrw ValueReadWriter, numSets, numElem... function createSetsWithSameNumbers (line 331) | func createSetsWithSameNumbers(vrw ValueReadWriter, numSets, numElemsPer... type newIterFunc (line 343) | type newIterFunc function iterize (line 346) | func iterize(iters []SetIterator, newIter newIterFunc, cntr *int) SetIte... FILE: go/types/set_leaf_sequence.go type setLeafSequence (line 9) | type setLeafSequence struct method getCompareFn (line 17) | func (sl setLeafSequence) getCompareFn(other sequence) compareFn { method getKey (line 23) | func (sl setLeafSequence) getKey(idx int) orderedKey { method search (line 27) | func (sl setLeafSequence) search(key orderedKey) int { function newSetLeafSequence (line 13) | func newSetLeafSequence(vrw ValueReadWriter, vs ...Value) orderedSequence { FILE: go/types/set_test.go constant testSetSize (line 19) | testSetSize = 5000 type testSet (line 21) | type testSet method Remove (line 25) | func (ts testSet) Remove(from, to int) testSet { method Has (line 32) | func (ts testSet) Has(key Value) bool { method Diff (line 41) | func (ts testSet) Diff(last testSet) (added []Value, removed []Value) { method toSet (line 74) | func (ts testSet) toSet(vrw ValueReadWriter) Set { type toTestSetFunc (line 23) | type toTestSetFunc function newSortedTestSet (line 78) | func newSortedTestSet(length int, gen genValueFn) (values testSet) { function newTestSetFromSet (line 85) | func newTestSetFromSet(s Set) testSet { function newRandomTestSet (line 93) | func newRandomTestSet(length int, gen genValueFn) testSet { function validateSet (line 109) | func validateSet(t *testing.T, vrw ValueReadWriter, s Set, values ValueS... type setTestSuite (line 118) | type setTestSuite struct method createStreamingSet (line 178) | func (suite *setTestSuite) createStreamingSet(vs *ValueStore) Set { method TestStreamingSet (line 188) | func (suite *setTestSuite) TestStreamingSet() { method TestStreamingSetOrder (line 195) | func (suite *setTestSuite) TestStreamingSetOrder() { method TestStreamingSet2 (line 219) | func (suite *setTestSuite) TestStreamingSet2() { function newSetTestSuite (line 123) | func newSetTestSuite(size uint, expectChunkCount int, expectPrependChunk... function printBadCollections (line 171) | func printBadCollections(expected, actual ValueSlice) { function TestSetSuite4K (line 238) | func TestSetSuite4K(t *testing.T) { function TestSetSuite4KStructs (line 242) | func TestSetSuite4KStructs(t *testing.T) { function getTestNativeOrderSet (line 246) | func getTestNativeOrderSet(scale int, vrw ValueReadWriter) testSet { function getTestRefValueOrderSet (line 250) | func getTestRefValueOrderSet(scale int, vrw ValueReadWriter) testSet { function getTestRefToNativeOrderSet (line 254) | func getTestRefToNativeOrderSet(scale int, vrw ValueReadWriter) testSet { function getTestRefToValueOrderSet (line 260) | func getTestRefToValueOrderSet(scale int, vrw ValueReadWriter) testSet { function accumulateSetDiffChanges (line 266) | func accumulateSetDiffChanges(s1, s2 Set) (added []Value, removed []Valu... function diffSetTest (line 282) | func diffSetTest(assert *assert.Assertions, s1 Set, s2 Set, numAddsExpec... function TestNewSet (line 298) | func TestNewSet(t *testing.T) { function TestSetLen (line 317) | func TestSetLen(t *testing.T) { function TestSetEmpty (line 342) | func TestSetEmpty(t *testing.T) { function TestSetEmptyInsert (line 351) | func TestSetEmptyInsert(t *testing.T) { function TestSetEmptyInsertRemove (line 362) | func TestSetEmptyInsertRemove(t *testing.T) { function TestSetDuplicateInsert (line 377) | func TestSetDuplicateInsert(t *testing.T) { function TestSetUniqueKeysString (line 385) | func TestSetUniqueKeysString(t *testing.T) { function TestSetUniqueKeysNumber (line 396) | func TestSetUniqueKeysNumber(t *testing.T) { function TestSetHas (line 409) | func TestSetHas(t *testing.T) { function TestSetHas2 (line 429) | func TestSetHas2(t *testing.T) { function validateSetInsertion (line 457) | func validateSetInsertion(t *testing.T, vrw ValueReadWriter, values Valu... function TestSetValidateInsertAscending (line 465) | func TestSetValidateInsertAscending(t *testing.T) { function TestSetInsert (line 478) | func TestSetInsert(t *testing.T) { function TestSetInsert2 (line 502) | func TestSetInsert2(t *testing.T) { function TestSetInsertExistingValue (line 535) | func TestSetInsertExistingValue(t *testing.T) { function TestSetRemove (line 551) | func TestSetRemove(t *testing.T) { function TestSetRemove2 (line 575) | func TestSetRemove2(t *testing.T) { function TestSetRemoveNonexistentValue (line 609) | func TestSetRemoveNonexistentValue(t *testing.T) { function TestSetFirst (line 621) | func TestSetFirst(t *testing.T) { function TestSetOfStruct (line 637) | func TestSetOfStruct(t *testing.T) { function TestSetIter (line 652) | func TestSetIter(t *testing.T) { function TestSetIter2 (line 673) | func TestSetIter2(t *testing.T) { function TestSetIterAll (line 705) | func TestSetIterAll(t *testing.T) { function TestSetIterAll2 (line 719) | func TestSetIterAll2(t *testing.T) { function testSetOrder (line 744) | func testSetOrder(assert *assert.Assertions, vrw ValueReadWriter, valueT... function TestSetOrdering (line 753) | func TestSetOrdering(t *testing.T) { function TestSetType (line 872) | func TestSetType(t *testing.T) { function TestSetChunks (line 895) | func TestSetChunks(t *testing.T) { function TestSetChunks2 (line 908) | func TestSetChunks2(t *testing.T) { function TestSetFirstNNumbers (line 930) | func TestSetFirstNNumbers(t *testing.T) { function TestSetRefOfStructFirstNNumbers (line 939) | func TestSetRefOfStructFirstNNumbers(t *testing.T) { function TestSetModifyAfterRead (line 952) | func TestSetModifyAfterRead(t *testing.T) { function TestSetTypeAfterMutations (line 970) | func TestSetTypeAfterMutations(t *testing.T) { function TestChunkedSetWithValuesOfEveryType (line 1000) | func TestChunkedSetWithValuesOfEveryType(t *testing.T) { function TestSetRemoveLastWhenNotLoaded (line 1051) | func TestSetRemoveLastWhenNotLoaded(t *testing.T) { function TestSetAt (line 1073) | func TestSetAt(t *testing.T) { function TestSetWithStructShouldHaveOptionalFields (line 1089) | func TestSetWithStructShouldHaveOptionalFields(t *testing.T) { function TestSetWithNil (line 1110) | func TestSetWithNil(t *testing.T) { FILE: go/types/simplify.go function simplifyType (line 43) | func simplifyType(t *Type, intersectStructs bool) *Type { type typeset (line 74) | type typeset method add (line 76) | func (ts typeset) add(t *Type) { method has (line 87) | func (ts typeset) has(t *Type) bool { type structInfo (line 92) | type structInfo struct function cloneTypeTreeAndReplaceNamedStructs (line 97) | func cloneTypeTreeAndReplaceNamedStructs(t *Type, namedStructs map[strin... function foldUnions (line 167) | func foldUnions(t *Type, seenStructs typeset, intersectStructs bool) *Ty... function foldUnionImpl (line 210) | func foldUnionImpl(ts typeset, seenStructs typeset, intersectStructs boo... function foldCompoundTypesForUnion (line 269) | func foldCompoundTypesForUnion(k NomsKind, ts, seenStructs typeset, inte... function foldMapTypesForUnion (line 280) | func foldMapTypesForUnion(ts, seenStructs typeset, intersectStructs bool... function foldStructTypesFieldsOnly (line 296) | func foldStructTypesFieldsOnly(name string, ts, seenStructs typeset, int... function foldStructTypes (line 309) | func foldStructTypes(name string, ts, seenStructs typeset, intersectStru... function simplifyStructFields (line 314) | func simplifyStructFields(in []structTypeFields, seenStructs typeset, in... FILE: go/types/simplify_test.go function TestSimplifyStructFields (line 9) | func TestSimplifyStructFields(t *testing.T) { function TestSimplifyType (line 59) | func TestSimplifyType(t *testing.T) { FILE: go/types/string.go type String (line 14) | type String method Value (line 17) | func (s String) Value() Value { method Equals (line 21) | func (s String) Equals(other Value) bool { method Less (line 25) | func (s String) Less(other Value) bool { method Hash (line 32) | func (s String) Hash() hash.Hash { method WalkValues (line 36) | func (s String) WalkValues(cb ValueCallback) { method WalkRefs (line 39) | func (s String) WalkRefs(cb RefCallback) { method typeOf (line 42) | func (s String) typeOf() *Type { method Kind (line 46) | func (s String) Kind() NomsKind { method valueReadWriter (line 50) | func (s String) valueReadWriter() ValueReadWriter { method writeTo (line 54) | func (s String) writeTo(w nomsWriter) { method valueBytes (line 59) | func (s String) valueBytes() []byte { FILE: go/types/string_test.go function TestStringEquals (line 13) | func TestStringEquals(t *testing.T) { function TestStringString (line 27) | func TestStringString(t *testing.T) { function TestStringType (line 35) | func TestStringType(t *testing.T) { FILE: go/types/struct.go type StructData (line 20) | type StructData type Struct (line 22) | type Struct struct method Empty (line 147) | func (s Struct) Empty() bool { method Value (line 152) | func (s Struct) Value() Value { method WalkValues (line 156) | func (s Struct) WalkValues(cb ValueCallback) { method typeOf (line 164) | func (s Struct) typeOf() *Type { method decoderSkipToFields (line 184) | func (s Struct) decoderSkipToFields() (valueDecoder, uint64) { method Len (line 193) | func (s Struct) Len() int { method Name (line 199) | func (s Struct) Name() string { method IterFields (line 207) | func (s Struct) IterFields(cb func(name string, value Value) (stop boo... method iterParts (line 224) | func (s Struct) iterParts(cbs structPartCallbacks) { method MaybeGet (line 239) | func (s Struct) MaybeGet(n string) (v Value, found bool) { method Get (line 259) | func (s Struct) Get(n string) Value { method Set (line 270) | func (s Struct) Set(n string, v Value) Struct { method SetName (line 290) | func (s Struct) SetName(name string) Struct { method splitFieldsAt (line 307) | func (s Struct) splitFieldsAt(name string) (prolog, head, tail []byte,... method Delete (line 343) | func (s Struct) Delete(n string) Struct { method Diff (line 358) | func (s Struct) Diff(last Struct, changes chan<- ValueChanged, closeCh... function readStruct (line 27) | func readStruct(dec *valueDecoder) Struct { function skipStruct (line 34) | func skipStruct(dec *valueDecoder) { function isStructSameTypeForSure (line 44) | func isStructSameTypeForSure(dec *valueDecoder, t *Type) bool { function walkStruct (line 69) | func walkStruct(r *refWalker, cb RefCallback) { function newStruct (line 79) | func newStruct(name string, fieldNames []string, values []Value) Struct { function NewStruct (line 95) | func NewStruct(name string, data StructData) Struct { type StructTemplate (line 118) | type StructTemplate struct method NewStruct (line 142) | func (st StructTemplate) NewStruct(values []Value) Struct { function MakeStructTemplate (line 125) | func MakeStructTemplate(name string, fieldNames []string) (t StructTempl... function readStructTypeOfValue (line 169) | func readStructTypeOfValue(dec *valueDecoder) *Type { type structPartCallbacks (line 216) | type structPartCallbacks interface type encodingFunc (line 434) | type encodingFunc function CamelCaseFieldName (line 436) | func CamelCaseFieldName(input string) string { function escapeField (line 468) | func escapeField(input string, encode encodingFunc) string { function EscapeStructField (line 481) | func EscapeStructField(input string) string { function IsValidStructFieldName (line 504) | func IsValidStructFieldName(name string) bool { function isAlpha (line 517) | func isAlpha(c rune) bool { function isAlphaNumOrUnderscore (line 521) | func isAlphaNumOrUnderscore(c rune) bool { function verifyFields (line 525) | func verifyFields(fs structTypeFields) { function verifyName (line 534) | func verifyName(name, kind string) { function verifyFieldName (line 540) | func verifyFieldName(name string) { function verifyStructName (line 544) | func verifyStructName(name string) { FILE: go/types/struct_test.go function getChunks (line 13) | func getChunks(v Value) (chunks []Ref) { function TestGenericStructEquals (line 20) | func TestGenericStructEquals(t *testing.T) { function TestGenericStructChunks (line 30) | func TestGenericStructChunks(t *testing.T) { function TestGenericStructNew (line 40) | func TestGenericStructNew(t *testing.T) { function TestGenericStructSet (line 55) | func TestGenericStructSet(t *testing.T) { function TestGenericStructDelete (line 93) | func TestGenericStructDelete(t *testing.T) { function assertValueChangeEqual (line 110) | func assertValueChangeEqual(assert *assert.Assertions, c1, c2 ValueChang... function TestStructDiff (line 125) | func TestStructDiff(t *testing.T) { function TestEscStructField (line 217) | func TestEscStructField(t *testing.T) { function TestMakeStructTemplate (line 238) | func TestMakeStructTemplate(t *testing.T) { function TestStructWithNil (line 320) | func TestStructWithNil(t *testing.T) { function TestStructIterFields (line 334) | func TestStructIterFields(t *testing.T) { function TestStructSetName (line 370) | func TestStructSetName(t *testing.T) { FILE: go/types/subtype.go function assertSubtype (line 11) | func assertSubtype(t *Type, v Value) { function IsSubtype (line 18) | func IsSubtype(requiredType, concreteType *Type) bool { function IsSubtypeDisallowExtraStructFields (line 25) | func IsSubtypeDisallowExtraStructFields(requiredType, concreteType *Type... function isSubtypeTopLevel (line 35) | func isSubtypeTopLevel(requiredType, concreteType *Type) (isSub bool, ha... function isSubtypeDetails (line 43) | func isSubtypeDetails(requiredType, concreteType *Type, hasExtra bool, p... function compoundSubtype (line 155) | func compoundSubtype(requiredType, concreteType *Type, hasExtra bool, pa... function IsValueSubtypeOf (line 169) | func IsValueSubtypeOf(v Value, t *Type) bool { function IsValueSubtypeOfDetails (line 193) | func IsValueSubtypeOfDetails(v Value, t *Type) (bool, bool) { function isValueSubtypeOfDetails (line 197) | func isValueSubtypeOfDetails(v Value, t *Type, hasExtra bool) (bool, boo... function isMetaSequenceSubtypeOf (line 333) | func isMetaSequenceSubtypeOf(ms metaSequence, t *Type, hasExtra bool) (b... FILE: go/types/subtype_test.go function assertInvalid (line 16) | func assertInvalid(tt *testing.T, t *Type, v Value) { function assertAll (line 23) | func assertAll(tt *testing.T, t *Type, v Value) { function TestAssertTypePrimitives (line 42) | func TestAssertTypePrimitives(t *testing.T) { function TestAssertTypeValue (line 54) | func TestAssertTypeValue(t *testing.T) { function TestAssertTypeBlob (line 64) | func TestAssertTypeBlob(t *testing.T) { function TestAssertTypeList (line 71) | func TestAssertTypeList(tt *testing.T) { function TestAssertTypeMap (line 81) | func TestAssertTypeMap(tt *testing.T) { function TestAssertTypeSet (line 91) | func TestAssertTypeSet(tt *testing.T) { function TestAssertTypeType (line 101) | func TestAssertTypeType(tt *testing.T) { function TestAssertTypeStruct (line 108) | func TestAssertTypeStruct(tt *testing.T) { function TestAssertTypeUnion (line 117) | func TestAssertTypeUnion(tt *testing.T) { function TestAssertConcreteTypeIsUnion (line 141) | func TestAssertConcreteTypeIsUnion(tt *testing.T) { function TestAssertTypeEmptyListUnion (line 170) | func TestAssertTypeEmptyListUnion(tt *testing.T) { function TestAssertTypeEmptyList (line 177) | func TestAssertTypeEmptyList(tt *testing.T) { function TestAssertTypeEmptySet (line 187) | func TestAssertTypeEmptySet(tt *testing.T) { function TestAssertTypeEmptyMap (line 197) | func TestAssertTypeEmptyMap(tt *testing.T) { function TestAssertTypeStructSubtypeByName (line 207) | func TestAssertTypeStructSubtypeByName(tt *testing.T) { function TestAssertTypeStructSubtypeExtraFields (line 223) | func TestAssertTypeStructSubtypeExtraFields(tt *testing.T) { function TestAssertTypeStructSubtype (line 244) | func TestAssertTypeStructSubtype(tt *testing.T) { function TestAssertTypeCycleUnion (line 270) | func TestAssertTypeCycleUnion(tt *testing.T) { function TestIsSubtypeEmptySruct (line 355) | func TestIsSubtypeEmptySruct(tt *testing.T) { function TestIsSubtypeCompoundUnion (line 374) | func TestIsSubtypeCompoundUnion(tt *testing.T) { function TestIsSubtypeOptionalFields (line 389) | func TestIsSubtypeOptionalFields(tt *testing.T) { function makeTestStructTypeFromFieldNames (line 446) | func makeTestStructTypeFromFieldNames(s string) *Type { function makeTestStructFromFieldNames (line 464) | func makeTestStructFromFieldNames(s string) Struct { function TestIsSubtypeDisallowExtraStructFields (line 481) | func TestIsSubtypeDisallowExtraStructFields(tt *testing.T) { function TestIsValueSubtypeOf (line 520) | func TestIsValueSubtypeOf(tt *testing.T) { function TestIsValueSubtypeOfDetails (line 804) | func TestIsValueSubtypeOfDetails(tt *testing.T) { FILE: go/types/type.go type Type (line 21) | type Type struct method Describe (line 30) | func (t *Type) Describe() (out string) { method TargetKind (line 34) | func (t *Type) TargetKind() NomsKind { method Value (line 39) | func (t *Type) Value() Value { method Equals (line 43) | func (t *Type) Equals(other Value) (res bool) { method Less (line 56) | func (t *Type) Less(other Value) (res bool) { method Hash (line 60) | func (t *Type) Hash() hash.Hash { method writeTo (line 64) | func (t *Type) writeTo(w nomsWriter) { method writeToAsType (line 69) | func (t *Type) writeToAsType(w nomsWriter, seensStructs map[string]*Ty... method WalkValues (line 73) | func (t *Type) WalkValues(cb ValueCallback) { method WalkRefs (line 77) | func (t *Type) WalkRefs(cb RefCallback) { method typeOf (line 81) | func (t *Type) typeOf() *Type { method Kind (line 85) | func (t *Type) Kind() NomsKind { method valueReadWriter (line 89) | func (t *Type) valueReadWriter() ValueReadWriter { function newType (line 25) | func newType(desc TypeDesc) *Type { function TypeOf (line 95) | func TypeOf(v Value) *Type { function HasStructCycles (line 100) | func HasStructCycles(t *Type) bool { function hasStructCycles (line 104) | func hasStructCycles(t *Type, visited []*Type) bool { function indexOfType (line 133) | func indexOfType(t *Type, tl []*Type) (uint32, bool) { FILE: go/types/type_desc.go type TypeDesc (line 12) | type TypeDesc interface type PrimitiveDesc (line 30) | type PrimitiveDesc method Kind (line 32) | func (p PrimitiveDesc) Kind() NomsKind { method walkValues (line 36) | func (p PrimitiveDesc) walkValues(cb ValueCallback) { method writeTo (line 39) | func (p PrimitiveDesc) writeTo(w nomsWriter, t *Type, seenStructs map[... method isSimplifiedForSure (line 43) | func (p PrimitiveDesc) isSimplifiedForSure() bool { method isSimplifiedInner (line 47) | func (p PrimitiveDesc) isSimplifiedInner() bool { type CompoundDesc (line 53) | type CompoundDesc struct method Kind (line 58) | func (c CompoundDesc) Kind() NomsKind { method walkValues (line 62) | func (c CompoundDesc) walkValues(cb ValueCallback) { method writeTo (line 68) | func (c CompoundDesc) writeTo(w nomsWriter, t *Type, seenStructs map[s... method isSimplifiedForSure (line 78) | func (c CompoundDesc) isSimplifiedForSure() bool { method isSimplifiedInner (line 91) | func (c CompoundDesc) isSimplifiedInner() bool { type StructDesc (line 96) | type StructDesc struct method Kind (line 101) | func (s StructDesc) Kind() NomsKind { method walkValues (line 105) | func (s StructDesc) walkValues(cb ValueCallback) { method writeTo (line 111) | func (s StructDesc) writeTo(w nomsWriter, t *Type, seenStructs map[str... method isSimplifiedForSure (line 139) | func (s StructDesc) isSimplifiedForSure() bool { method isSimplifiedInner (line 148) | func (s StructDesc) isSimplifiedInner() bool { method IterFields (line 153) | func (s StructDesc) IterFields(cb func(name string, t *Type, optional ... method Field (line 159) | func (s StructDesc) Field(name string) (typ *Type, optional bool) { method findField (line 167) | func (s StructDesc) findField(name string) (*StructField, int) { method Len (line 176) | func (s StructDesc) Len() int { type CycleDesc (line 180) | type CycleDesc method Kind (line 182) | func (c CycleDesc) Kind() NomsKind { method walkValues (line 186) | func (c CycleDesc) walkValues(cb ValueCallback) { method writeTo (line 189) | func (c CycleDesc) writeTo(w nomsWriter, t *Type, seenStruct map[strin... method isSimplifiedForSure (line 193) | func (c CycleDesc) isSimplifiedForSure() bool { method isSimplifiedInner (line 197) | func (c CycleDesc) isSimplifiedInner() bool { type typeSlice (line 201) | type typeSlice method Len (line 203) | func (ts typeSlice) Len() int { return len(ts) } method Less (line 205) | func (ts typeSlice) Less(i, j int) bool { method Swap (line 209) | func (ts typeSlice) Swap(i, j int) { ts[i], ts[j] = ts[j], ts[i] } function unionLess (line 213) | func unionLess(ti, tj *Type) bool { FILE: go/types/type_test.go function TestTypes (line 13) | func TestTypes(t *testing.T) { function TestTypeType (line 36) | func TestTypeType(t *testing.T) { function TestTypeRefDescribe (line 40) | func TestTypeRefDescribe(t *testing.T) { function TestTypeOrdered (line 58) | func TestTypeOrdered(t *testing.T) { function TestFlattenUnionTypes (line 71) | func TestFlattenUnionTypes(t *testing.T) { function TestVerifyStructFieldName (line 87) | func TestVerifyStructFieldName(t *testing.T) { function TestVerifyStructName (line 115) | func TestVerifyStructName(t *testing.T) { function TestStructUnionWithCycles (line 144) | func TestStructUnionWithCycles(tt *testing.T) { function TestHasStructCycles (line 175) | func TestHasStructCycles(tt *testing.T) { FILE: go/types/util_test.go type iterator (line 12) | type iterator interface function iterToSlice (line 16) | func iterToSlice(iter iterator) ValueSlice { function intsToValueSlice (line 28) | func intsToValueSlice(ints ...int) ValueSlice { function generateNumbersAsValues (line 36) | func generateNumbersAsValues(n int) []Value { function generateNumbersAsValueSlice (line 40) | func generateNumbersAsValueSlice(n int) ValueSlice { function generateNumbersAsValuesFromToBy (line 44) | func generateNumbersAsValuesFromToBy(from, to, by int) ValueSlice { function generateNumbersAsStructs (line 54) | func generateNumbersAsStructs(n int) ValueSlice { function generateNumbersAsStructsFromToBy (line 58) | func generateNumbersAsStructsFromToBy(from, to, by int) ValueSlice { function generateNumbersAsRefOfStructs (line 68) | func generateNumbersAsRefOfStructs(vrw ValueReadWriter, n int) []Value { function leafCount (line 77) | func leafCount(c Collection) int { function leafDiffCount (line 82) | func leafDiffCount(c1, c2 Collection) int { function reverseValues (line 112) | func reverseValues(values []Value) []Value { function spliceValues (line 120) | func spliceValues(values []Value, start int, deleteCount int, newItems .... FILE: go/types/validate_type.go function validateType (line 7) | func validateType(t *Type) { function validateTypeImpl (line 11) | func validateTypeImpl(t *Type, seenStructs map[string]struct{}) { FILE: go/types/validating_decoder.go type ValidatingDecoder (line 12) | type ValidatingDecoder struct method Decode (line 30) | func (vbs *ValidatingDecoder) Decode(c *chunks.Chunk) DecodedChunk { function NewValidatingDecoder (line 16) | func NewValidatingDecoder(cs chunks.ChunkStore) *ValidatingDecoder { type DecodedChunk (line 22) | type DecodedChunk struct FILE: go/types/validating_decoder_test.go function TestValidatingBatchingSinkDecode (line 14) | func TestValidatingBatchingSinkDecode(t *testing.T) { function assertPanicsOnInvalidChunk (line 24) | func assertPanicsOnInvalidChunk(t *testing.T, data []interface{}) { function TestValidatingBatchingSinkDecodeInvalidUnion (line 39) | func TestValidatingBatchingSinkDecodeInvalidUnion(t *testing.T) { function TestValidatingBatchingSinkDecodeInvalidStructFieldOrder (line 47) | func TestValidatingBatchingSinkDecodeInvalidStructFieldOrder(t *testing.... function TestValidatingBatchingSinkDecodeInvalidStructName (line 58) | func TestValidatingBatchingSinkDecodeInvalidStructName(t *testing.T) { function TestValidatingBatchingSinkDecodeInvalidStructFieldName (line 66) | func TestValidatingBatchingSinkDecodeInvalidStructFieldName(t *testing.T) { FILE: go/types/value.go type ValueCallback (line 13) | type ValueCallback type RefCallback (line 14) | type RefCallback type Valuable (line 17) | type Valuable interface type Value (line 25) | type Value interface type ValueSlice (line 59) | type ValueSlice method Len (line 61) | func (vs ValueSlice) Len() int { return len(vs) } method Swap (line 62) | func (vs ValueSlice) Swap(i, j int) { vs[i], vs[j] = vs[j], vs[i] } method Less (line 63) | func (vs ValueSlice) Less(i, j int) bool { return vs[i].Less(vs[j]) } method Equals (line 64) | func (vs ValueSlice) Equals(other ValueSlice) bool { method Contains (line 78) | func (vs ValueSlice) Contains(v Value) bool { type valueReadWriter (line 87) | type valueReadWriter interface type valueImpl (line 91) | type valueImpl struct method valueReadWriter (line 97) | func (v valueImpl) valueReadWriter() ValueReadWriter { method writeTo (line 101) | func (v valueImpl) writeTo(enc nomsWriter) { method valueBytes (line 105) | func (v valueImpl) valueBytes() []byte { method IsZeroValue (line 110) | func (v valueImpl) IsZeroValue() bool { method Hash (line 114) | func (v valueImpl) Hash() hash.Hash { method decoder (line 118) | func (v valueImpl) decoder() valueDecoder { method decoderAtOffset (line 122) | func (v valueImpl) decoderAtOffset(offset int) valueDecoder { method asValueImpl (line 126) | func (v valueImpl) asValueImpl() valueImpl { method Equals (line 130) | func (v valueImpl) Equals(other Value) bool { method Less (line 137) | func (v valueImpl) Less(other Value) bool { method WalkRefs (line 141) | func (v valueImpl) WalkRefs(cb RefCallback) { method Kind (line 149) | func (v valueImpl) Kind() NomsKind { type asValueImpl (line 145) | type asValueImpl interface FILE: go/types/value_decoder.go type valueDecoder (line 9) | type valueDecoder struct method copyString (line 29) | func (r *valueDecoder) copyString(w nomsWriter) { method readRef (line 36) | func (r *valueDecoder) readRef() Ref { method skipRef (line 40) | func (r *valueDecoder) skipRef() { method skipBlobLeafSequence (line 44) | func (r *valueDecoder) skipBlobLeafSequence() ([]uint32, uint64) { method skipValueSequence (line 51) | func (r *valueDecoder) skipValueSequence(elementsPerIndex int) ([]uint... method skipListLeafSequence (line 64) | func (r *valueDecoder) skipListLeafSequence() ([]uint32, uint64) { method skipSetLeafSequence (line 68) | func (r *valueDecoder) skipSetLeafSequence() ([]uint32, uint64) { method skipMapLeafSequence (line 72) | func (r *valueDecoder) skipMapLeafSequence() ([]uint32, uint64) { method readSequence (line 76) | func (r *valueDecoder) readSequence(kind NomsKind, leafSkipper func() ... method readBlobSequence (line 100) | func (r *valueDecoder) readBlobSequence() sequence { method readListSequence (line 108) | func (r *valueDecoder) readListSequence() sequence { method readSetSequence (line 116) | func (r *valueDecoder) readSetSequence() orderedSequence { method readMapSequence (line 124) | func (r *valueDecoder) readMapSequence() orderedSequence { method skipList (line 132) | func (r *valueDecoder) skipList() { method skipSet (line 136) | func (r *valueDecoder) skipSet() { method skipMap (line 140) | func (r *valueDecoder) skipMap() { method skipBlob (line 144) | func (r *valueDecoder) skipBlob() { method skipSequence (line 148) | func (r *valueDecoder) skipSequence(kind NomsKind, leafSkipper func() ... method skipOrderedKey (line 158) | func (r *valueDecoder) skipOrderedKey() { method skipMetaSequence (line 168) | func (r *valueDecoder) skipMetaSequence(k NomsKind, level uint64) ([]u... method readValue (line 182) | func (r *valueDecoder) readValue() Value { method skipValue (line 216) | func (r *valueDecoder) skipValue() { method readTypeOfValue (line 252) | func (r *valueDecoder) readTypeOfValue() *Type { method isValueSameTypeForSure (line 291) | func (r *valueDecoder) isValueSameTypeForSure(t *Type) bool { method isStringSame (line 319) | func (r *valueDecoder) isStringSame(s string) bool { method copyValue (line 335) | func (r *valueDecoder) copyValue(w nomsWriter) { method readStruct (line 342) | func (r *valueDecoder) readStruct() Value { method skipStruct (line 346) | func (r *valueDecoder) skipStruct() { method readOrderedKey (line 357) | func (r *valueDecoder) readOrderedKey() orderedKey { type typedBinaryNomsReader (line 15) | type typedBinaryNomsReader struct method readType (line 369) | func (r *typedBinaryNomsReader) readType() *Type { method skipType (line 377) | func (r *typedBinaryNomsReader) skipType() { method readTypeInner (line 385) | func (r *typedBinaryNomsReader) readTypeInner(seenStructs map[string]*... method skipTypeInner (line 412) | func (r *typedBinaryNomsReader) skipTypeInner() { method readStructType (line 431) | func (r *typedBinaryNomsReader) readStructType(seenStructs map[string]... method skipStructType (line 454) | func (r *typedBinaryNomsReader) skipStructType() { method readUnionType (line 469) | func (r *typedBinaryNomsReader) readUnionType(seenStructs map[string]*... method skipUnionType (line 478) | func (r *typedBinaryNomsReader) skipUnionType() { function newValueDecoder (line 20) | func newValueDecoder(buff []byte, vrw ValueReadWriter) valueDecoder { function newValueDecoderWithValidation (line 25) | func newValueDecoderWithValidation(nr binaryNomsReader, vrw ValueReadWri... function boolToUint32 (line 350) | func boolToUint32(b bool) uint32 { FILE: go/types/value_stats.go type ValueStats (line 16) | type ValueStats interface function WriteValueStats (line 20) | func WriteValueStats(w io.Writer, v Value, vr ValueReader) { function writeUnchunkedValueStats (line 29) | func writeUnchunkedValueStats(w io.Writer, v Value, vr ValueReader) { constant treeRowFormat (line 33) | treeRowFormat = "%5s%20s%20s%20s\n" function writePtreeStats (line 37) | func writePtreeStats(w io.Writer, v Value, vr ValueReader) { function printTreeLevel (line 81) | func printTreeLevel(w io.Writer, level, values, chunks, byteSize uint64) { function compressedSize (line 92) | func compressedSize(v Value) uint64 { function loadNextLevel (line 98) | func loadNextLevel(refs RefSlice, vr ValueReader) ValueSlice { FILE: go/types/value_store.go type ValueReader (line 20) | type ValueReader interface type ValueWriter (line 28) | type ValueWriter interface type ValueReadWriter (line 35) | type ValueReadWriter interface type ValueStore (line 46) | type ValueStore struct method expectVersion (line 101) | func (lvs *ValueStore) expectVersion() { method SetEnforceCompleteness (line 108) | func (lvs *ValueStore) SetEnforceCompleteness(enforce bool) { method ChunkStore (line 112) | func (lvs *ValueStore) ChunkStore() chunks.ChunkStore { method ReadValue (line 119) | func (lvs *ValueStore) ReadValue(h hash.Hash) Value { method ReadManyValues (line 150) | func (lvs *ValueStore) ReadManyValues(hashes hash.HashSlice) ValueSlice { method WriteValue (line 208) | func (lvs *ValueStore) WriteValue(v Value) Ref { method bufferChunk (line 231) | func (lvs *ValueStore) bufferChunk(v Value, c chunks.Chunk, height uin... method Root (line 304) | func (lvs *ValueStore) Root() hash.Hash { method Rebase (line 308) | func (lvs *ValueStore) Rebase() { method Commit (line 318) | func (lvs *ValueStore) Commit(current, last hash.Hash) bool { method Close (line 374) | func (lvs *ValueStore) Close() error { function PanicIfDangling (line 60) | func PanicIfDangling(unresolved hash.HashSet, cs chunks.ChunkStore) { constant defaultDecodedChunksSize (line 68) | defaultDecodedChunksSize = 1 << 25 constant defaultPendingPutMax (line 69) | defaultPendingPutMax = 1 << 28 function newTestValueStore (line 74) | func newTestValueStore() *ValueStore { function NewValueStore (line 82) | func NewValueStore(cs chunks.ChunkStore) *ValueStore { function newValueStoreWithCacheAndPending (line 86) | func newValueStoreWithCacheAndPending(cs chunks.ChunkStore, cacheSize, p... function getTargetType (line 378) | func getTargetType(refBase Ref) *Type { FILE: go/types/value_store_test.go function TestValueReadWriteRead (line 15) | func TestValueReadWriteRead(t *testing.T) { function TestReadWriteCache (line 29) | func TestReadWriteCache(t *testing.T) { function TestValueReadMany (line 50) | func TestValueReadMany(t *testing.T) { function TestValueWriteFlush (line 89) | func TestValueWriteFlush(t *testing.T) { type checkingChunkStore (line 104) | type checkingChunkStore struct method expect (line 110) | func (cbs *checkingChunkStore) expect(rs ...Ref) { method Put (line 116) | func (cbs *checkingChunkStore) Put(c chunks.Chunk) { method Flush (line 124) | func (cbs *checkingChunkStore) Flush() { function TestFlushOrder (line 128) | func TestFlushOrder(t *testing.T) { function TestFlushOverSize (line 168) | func TestFlushOverSize(t *testing.T) { function TestTolerateTopDown (line 180) | func TestTolerateTopDown(t *testing.T) { function TestPanicOnBadVersion (line 218) | func TestPanicOnBadVersion(t *testing.T) { function TestPanicIfDangling (line 233) | func TestPanicIfDangling(t *testing.T) { function TestSkipEnforceCompleteness (line 246) | func TestSkipEnforceCompleteness(t *testing.T) { type badVersionStore (line 257) | type badVersionStore struct method Version (line 261) | func (b *badVersionStore) Version() string { FILE: go/types/walk.go type SkipValueCallback (line 9) | type SkipValueCallback type valueRec (line 14) | type valueRec struct constant maxRefCount (line 19) | maxRefCount = 1 << 12 function WalkValues (line 22) | func WalkValues(target Value, vr ValueReader, cb SkipValueCallback) { function mightContainStructs (line 88) | func mightContainStructs(t *Type) (mightHaveStructs bool) { FILE: go/types/walk_refs.go function WalkRefs (line 15) | func WalkRefs(c chunks.Chunk, cb RefCallback) { function walkRefs (line 19) | func walkRefs(data []byte, cb RefCallback) { type refWalker (line 24) | type refWalker struct method walkRef (line 33) | func (r *refWalker) walkRef(cb RefCallback) { method walkBlobLeafSequence (line 37) | func (r *refWalker) walkBlobLeafSequence() { method walkValueSequence (line 42) | func (r *refWalker) walkValueSequence(cb RefCallback) { method walkList (line 49) | func (r *refWalker) walkList(cb RefCallback) { method walkSet (line 53) | func (r *refWalker) walkSet(cb RefCallback) { method walkListOrSet (line 57) | func (r *refWalker) walkListOrSet(kind NomsKind, cb RefCallback) { method walkMap (line 67) | func (r *refWalker) walkMap(cb RefCallback) { method walkBlob (line 77) | func (r *refWalker) walkBlob(cb RefCallback) { method walkMapLeafSequence (line 87) | func (r *refWalker) walkMapLeafSequence(cb RefCallback) { method walkMetaSequence (line 95) | func (r *refWalker) walkMetaSequence(k NomsKind, level uint64, cb RefC... method skipOrderedKey (line 104) | func (r *refWalker) skipOrderedKey() { method walkValue (line 114) | func (r *refWalker) walkValue(cb RefCallback) { method walkStruct (line 148) | func (r *refWalker) walkStruct(cb RefCallback) { function newRefWalker (line 28) | func newRefWalker(buff []byte) refWalker { FILE: go/types/walk_refs_test.go function TestWalkRefs (line 17) | func TestWalkRefs(t *testing.T) { FILE: go/types/walk_test.go function TestWalkTestSuite (line 15) | func TestWalkTestSuite(t *testing.T) { function TestWalkAllTestSuite (line 19) | func TestWalkAllTestSuite(t *testing.T) { type WalkAllTestSuite (line 23) | type WalkAllTestSuite struct method SetupTest (line 29) | func (suite *WalkAllTestSuite) SetupTest() { method assertCallbackCount (line 35) | func (suite *WalkAllTestSuite) assertCallbackCount(v Value, expected i... method assertVisitedOnce (line 44) | func (suite *WalkAllTestSuite) assertVisitedOnce(root, v Value) { method TestWalkValuesDuplicates (line 55) | func (suite *WalkAllTestSuite) TestWalkValuesDuplicates() { method TestWalkAvoidBlobChunks (line 62) | func (suite *WalkAllTestSuite) TestWalkAvoidBlobChunks() { method TestWalkPrimitives (line 73) | func (suite *WalkAllTestSuite) TestWalkPrimitives() { method TestWalkComposites (line 78) | func (suite *WalkAllTestSuite) TestWalkComposites() { method TestWalkMultilevelList (line 87) | func (suite *WalkAllTestSuite) TestWalkMultilevelList() { method TestWalkType (line 102) | func (suite *WalkAllTestSuite) TestWalkType() { method NewList (line 200) | func (suite *WalkAllTestSuite) NewList(vs ...Value) Ref { method NewMap (line 205) | func (suite *WalkAllTestSuite) NewMap(vs ...Value) Ref { method NewSet (line 210) | func (suite *WalkAllTestSuite) NewSet(vs ...Value) Ref { method TestWalkNestedComposites (line 215) | func (suite *WalkAllTestSuite) TestWalkNestedComposites() { type WalkTestSuite (line 236) | type WalkTestSuite struct method skipWorker (line 152) | func (suite *WalkTestSuite) skipWorker(composite Value) (reached Value... method TestSkipListElement (line 162) | func (suite *WalkTestSuite) TestSkipListElement() { method TestSkipSetElement (line 171) | func (suite *WalkTestSuite) TestSkipSetElement() { method TestSkipMapValue (line 180) | func (suite *WalkTestSuite) TestSkipMapValue() { method TestSkipMapKey (line 191) | func (suite *WalkTestSuite) TestSkipMapKey() { method SetupTest (line 244) | func (suite *WalkTestSuite) SetupTest() { FILE: go/util/clienttest/client_test_suite.go constant DefaultMemTableSize (line 18) | DefaultMemTableSize = 8 * (1 << 20) type ClientTestSuite (line 20) | type ClientTestSuite struct method SetupSuite (line 38) | func (suite *ClientTestSuite) SetupSuite() { method TearDownSuite (line 57) | func (suite *ClientTestSuite) TearDownSuite() { method MustRun (line 64) | func (suite *ClientTestSuite) MustRun(m func(), args []string) (stdout... method Run (line 75) | func (suite *ClientTestSuite) Run(m func(), args []string) (stdout str... type ExitError (line 30) | type ExitError struct method Error (line 34) | func (e ExitError) Error() string { function MockExit (line 121) | func MockExit(status int) { FILE: go/util/datetime/date_time.go constant datetypename (line 18) | datetypename = "DateTime" constant hrsEncodingName (line 19) | hrsEncodingName = "noms-datetime" type DateTime (line 23) | type DateTime struct method MarshalNoms (line 51) | func (dt DateTime) MarshalNoms(vrw types.ValueReadWriter) (types.Value... method MarshalNomsType (line 57) | func (dt DateTime) MarshalNomsType() (*types.Type, error) { method UnmarshalNoms (line 64) | func (dt *DateTime) UnmarshalNoms(v types.Value) error { function init (line 40) | func init() { function Now (line 45) | func Now() DateTime { type DateTimeCommenter (line 78) | type DateTimeCommenter struct method Comment (line 82) | func (c DateTimeCommenter) Comment(v types.Value) string { function RegisterHRSCommenter (line 91) | func RegisterHRSCommenter(tz *time.Location) { FILE: go/util/datetime/date_time_test.go function TestBasics (line 18) | func TestBasics(t *testing.T) { function TestUnmarshal (line 37) | func TestUnmarshal(t *testing.T) { function TestUnmarshalInvalid (line 59) | func TestUnmarshalInvalid(t *testing.T) { function TestMarshal (line 81) | func TestMarshal(t *testing.T) { function TestMarshalType (line 105) | func TestMarshalType(t *testing.T) { function newTestValueStore (line 119) | func newTestValueStore() *types.ValueStore { function TestZeroValues (line 124) | func TestZeroValues(t *testing.T) { function TestString (line 144) | func TestString(t *testing.T) { function TestEpoch (line 151) | func TestEpoch(t *testing.T) { function TestHRSComment (line 156) | func TestHRSComment(t *testing.T) { FILE: go/util/exit/exit.go function Reset (line 20) | func Reset() { function Fail (line 25) | func Fail() { function Success (line 30) | func Success() { FILE: go/util/functions/all.go function All (line 10) | func All(fs ...func()) { FILE: go/util/functions/all_test.go function TestAll (line 13) | func TestAll(t *testing.T) { FILE: go/util/json/from_json.go function nomsValueFromDecodedJSONBase (line 16) | func nomsValueFromDecodedJSONBase(vrw types.ValueReadWriter, o interface... function NomsValueFromDecodedJSON (line 80) | func NomsValueFromDecodedJSON(vrw types.ValueReadWriter, o interface{}, ... function FromJSON (line 84) | func FromJSON(r io.Reader, vrw types.ValueReadWriter, opts FromOptions) ... type FromOptions (line 97) | type FromOptions struct FILE: go/util/json/from_json_test.go function TestLibTestSuite (line 15) | func TestLibTestSuite(t *testing.T) { type LibTestSuite (line 19) | type LibTestSuite struct method SetupTest (line 24) | func (suite *LibTestSuite) SetupTest() { method TearDownTest (line 29) | func (suite *LibTestSuite) TearDownTest() { method TestPrimitiveTypes (line 33) | func (suite *LibTestSuite) TestPrimitiveTypes() { method TestCompositeTypes (line 41) | func (suite *LibTestSuite) TestCompositeTypes() { method TestCompositeTypeWithStruct (line 79) | func (suite *LibTestSuite) TestCompositeTypeWithStruct() { method TestPanicOnUnsupportedType (line 102) | func (suite *LibTestSuite) TestPanicOnUnsupportedType() { FILE: go/util/json/to_json.go function ToJSON (line 17) | func ToJSON(v types.Value, w io.Writer, opts ToOptions) error { type ToOptions (line 31) | type ToOptions struct function toPile (line 44) | func toPile(v types.Value, opts ToOptions) (ret interface{}, err error) { FILE: go/util/json/to_json_test.go function TestToJSONSuite (line 16) | func TestToJSONSuite(t *testing.T) { type ToJSONSuite (line 20) | type ToJSONSuite struct method SetupTest (line 25) | func (suite *ToJSONSuite) SetupTest() { method TearDownTest (line 30) | func (suite *ToJSONSuite) TearDownTest() { method TestToJSON (line 34) | func (suite *ToJSONSuite) TestToJSON() { FILE: go/util/math/minmax.go function MaxInt (line 8) | func MaxInt(x, y int) int { function MinInt (line 16) | func MinInt(x, y int) int { FILE: go/util/outputpager/page_output.go type Pager (line 23) | type Pager struct method Stop (line 61) | func (p *Pager) Stop() { method closePipe (line 69) | func (p *Pager) closePipe() { function Start (line 30) | func Start() *Pager { function RegisterOutputpagerFlags (line 80) | func RegisterOutputpagerFlags(cmd *kingpin.CmdClause) { function IsStdoutTty (line 84) | func IsStdoutTty() bool { FILE: go/util/profile/profile.go function RegisterProfileFlags (line 24) | func RegisterProfileFlags(app *kingpin.Application) { function MaybeStartProfile (line 35) | func MaybeStartProfile() interface { type prof (line 59) | type prof struct method Stop (line 65) | func (p *prof) Stop() { FILE: go/util/progressreader/reader.go type Callback (line 15) | type Callback function New (line 17) | func New(inner io.Reader, cb Callback) io.Reader { type reader (line 21) | type reader struct method Read (line 28) | func (r *reader) Read(p []byte) (n int, err error) { FILE: go/util/random/id.go function Id (line 15) | func Id() string { FILE: go/util/random/id_test.go type testReader (line 9) | type testReader method Read (line 11) | func (r *testReader) Read(dest []byte) (int, error) { function TestBasic (line 18) | func TestBasic(t *testing.T) { FILE: go/util/sizecache/size_cache.go type sizeCacheEntry (line 18) | type sizeCacheEntry struct type SizeCache (line 24) | type SizeCache struct method entry (line 56) | func (c *SizeCache) entry(key interface{}) (sizeCacheEntry, bool) { method Get (line 68) | func (c *SizeCache) Get(key interface{}) (interface{}, bool) { method Add (line 82) | func (c *SizeCache) Add(key interface{}, size uint64, value interface{... method Drop (line 115) | func (c *SizeCache) Drop(key interface{}) { type ExpireCallback (line 33) | type ExpireCallback function New (line 36) | func New(maxSize uint64) *SizeCache { function NewWithExpireCallback (line 43) | func NewWithExpireCallback(maxSize uint64, cb ExpireCallback) *SizeCache { FILE: go/util/sizecache/size_cache_test.go function hashFromString (line 17) | func hashFromString(s string) hash.Hash { function TestSizeCache (line 21) | func TestSizeCache(t *testing.T) { function TestSizeCacheWithExpiry (line 80) | func TestSizeCacheWithExpiry(t *testing.T) { function concurrencySizeCacheTest (line 97) | func concurrencySizeCacheTest(data []string) { function TestConcurrency (line 123) | func TestConcurrency(t *testing.T) { function TestTooLargeValue (line 141) | func TestTooLargeValue(t *testing.T) { function TestZeroSizeCache (line 150) | func TestZeroSizeCache(t *testing.T) { FILE: go/util/status/status.go constant clearLine (line 14) | clearLine = "\x1b[2K\r" constant Rate (line 15) | Rate = 100 * time.Millisecond function Clear (line 24) | func Clear() { function WillPrint (line 29) | func WillPrint() bool { function Printf (line 33) | func Printf(format string, args ...interface{}) { function Done (line 43) | func Done() { function reset (line 51) | func reset(time time.Time) { FILE: go/util/test/equals_ignore_hashes.go function EqualsIgnoreHashes (line 20) | func EqualsIgnoreHashes(tt *testing.T, expected, actual string) { function RemoveHashes (line 26) | func RemoveHashes(str string) string { FILE: go/util/verbose/verbose.go function RegisterVerboseFlags (line 19) | func RegisterVerboseFlags(app *kingpin.Application) { function Verbose (line 28) | func Verbose() bool { function SetVerbose (line 32) | func SetVerbose(v bool) { function Quiet (line 37) | func Quiet() bool { function SetQuiet (line 41) | func SetQuiet(q bool) { function Log (line 46) | func Log(format string, args ...interface{}) { FILE: go/util/writers/max_line_writer.go type MaxLinesError (line 18) | type MaxLinesError struct method Error (line 22) | func (e MaxLinesError) Error() string { return e.msg } type MaxLineWriter (line 27) | type MaxLineWriter struct method Write (line 40) | func (w *MaxLineWriter) Write(data []byte) (int, error) { FILE: go/util/writers/prefix_writer.go type PrefixWriter (line 14) | type PrefixWriter struct method Write (line 27) | func (w *PrefixWriter) Write(data []byte) (int, error) { FILE: go/util/writers/writers_test.go type maxLineTestCase (line 15) | type maxLineTestCase struct function TestMaxLineWriter (line 22) | func TestMaxLineWriter(t *testing.T) { type prefixTestCase (line 50) | type prefixTestCase struct function TestPrefixWriter (line 57) | func TestPrefixWriter(t *testing.T) { type prefixMaxLineTestCase (line 84) | type prefixMaxLineTestCase struct function TestPrefixMaxLineWriter (line 93) | func TestPrefixMaxLineWriter(t *testing.T) { FILE: samples/go/csv/common.go function StringToRune (line 13) | func StringToRune(delimiter string) (rune, error) { FILE: samples/go/csv/csv_reader.go type reader (line 18) | type reader struct method Read (line 23) | func (r reader) Read(p []byte) (n int, err error) { function SkipRecords (line 35) | func SkipRecords(r *csv.Reader, n uint) error { function NewCSVReader (line 47) | func NewCSVReader(res io.Reader, comma rune) *csv.Reader { FILE: samples/go/csv/csv_reader_test.go function TestCR (line 15) | func TestCR(t *testing.T) { function TestLF (line 28) | func TestLF(t *testing.T) { function TestCRLF (line 41) | func TestCRLF(t *testing.T) { function TestCRInQuote (line 54) | func TestCRInQuote(t *testing.T) { function TestCRLFEndOfBufferLength (line 70) | func TestCRLFEndOfBufferLength(t *testing.T) { FILE: samples/go/csv/kind_slice.go type KindSlice (line 16) | type KindSlice method MarshalJSON (line 18) | func (ks KindSlice) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 26) | func (ks *KindSlice) UnmarshalJSON(value []byte) error { FILE: samples/go/csv/kind_slice_test.go function TestKindSliceJSON (line 16) | func TestKindSliceJSON(t *testing.T) { FILE: samples/go/csv/read.go function StringsToKinds (line 28) | func StringsToKinds(strs []string) KindSlice { function KindsToStrings (line 41) | func KindsToStrings(kinds KindSlice) []string { function EscapeStructFieldFromCSV (line 50) | func EscapeStructFieldFromCSV(input string) string { function MakeStructTemplateFromHeaders (line 58) | func MakeStructTemplateFromHeaders(headers []string, structName string, ... function ReadToList (line 103) | func ReadToList(r *csv.Reader, structName string, headers []string, kind... type column (line 126) | type column struct function ReadToColumnar (line 144) | func ReadToColumnar(r *csv.Reader, structName string, headers []string, ... function getFieldIndexByHeaderName (line 185) | func getFieldIndexByHeaderName(headers []string, name string) int { function getPkIndices (line 195) | func getPkIndices(strPks []string, headers []string) []int { function readFieldsFromRow (line 211) | func readFieldsFromRow(row []string, headers []string, fieldOrder []int,... function primaryKeyValuesFromFields (line 232) | func primaryKeyValuesFromFields(fields types.ValueSlice, fieldOrder, pkI... function ReadToMap (line 258) | func ReadToMap(r *csv.Reader, structName string, headersRaw []string, pr... FILE: samples/go/csv/read_test.go function TestReadToList (line 21) | func TestReadToList(t *testing.T) { function TestReadToMap (line 47) | func TestReadToMap(t *testing.T) { function testTrailingHelper (line 81) | func testTrailingHelper(t *testing.T, dataString string) { function TestReadTrailingHole (line 102) | func TestReadTrailingHole(t *testing.T) { function TestReadTrailingHoles (line 110) | func TestReadTrailingHoles(t *testing.T) { function TestReadTrailingValues (line 118) | func TestReadTrailingValues(t *testing.T) { function TestEscapeStructFieldFromCSV (line 126) | func TestEscapeStructFieldFromCSV(t *testing.T) { function TestReadParseError (line 151) | func TestReadParseError(t *testing.T) { function TestDuplicateHeaderName (line 172) | func TestDuplicateHeaderName(t *testing.T) { function TestEscapeFieldNames (line 183) | func TestEscapeFieldNames(t *testing.T) { function TestDefaults (line 202) | func TestDefaults(t *testing.T) { function TestBooleanStrings (line 220) | func TestBooleanStrings(t *testing.T) { FILE: samples/go/csv/schema.go type schemaOptions (line 18) | type schemaOptions method Test (line 28) | func (so schemaOptions) Test(fields []string) { method MostSpecificKinds (line 36) | func (so schemaOptions) MostSpecificKinds() KindSlice { method ValidKinds (line 44) | func (so schemaOptions) ValidKinds() []KindSlice { function newSchemaOptions (line 20) | func newSchemaOptions(fieldCount int) schemaOptions { type typeCanFit (line 52) | type typeCanFit struct method MostSpecificKind (line 58) | func (tc *typeCanFit) MostSpecificKind() types.NomsKind { method ValidKinds (line 68) | func (tc *typeCanFit) ValidKinds() (kinds KindSlice) { method Test (line 79) | func (tc *typeCanFit) Test(value string) { method testNumbers (line 84) | func (tc *typeCanFit) testNumbers(value string) { method testBool (line 100) | func (tc *typeCanFit) testBool(value string) { function GetSchema (line 108) | func GetSchema(r *csv.Reader, numSamples int, numFields int) KindSlice { function GetFieldNamesFromIndices (line 120) | func GetFieldNamesFromIndices(headers []string, indices []int) []string { function combinationsWithLength (line 129) | func combinationsWithLength(values []int, length int, emit func([]int)) { function combinationsLengthsFromTo (line 169) | func combinationsLengthsFromTo(values []int, smallestLength, largestLeng... function makeKeyString (line 175) | func makeKeyString(row []string, indices []int, separator string) string { function FindPrimaryKeys (line 185) | func FindPrimaryKeys(r *csv.Reader, numSamples, maxLenPrimaryKeyList, nu... function StringToValue (line 217) | func StringToValue(s string, k types.NomsKind) (types.Value, error) { FILE: samples/go/csv/schema_test.go function TestSchemaDetection (line 15) | func TestSchemaDetection(t *testing.T) { function TestCombinationsWithLength (line 266) | func TestCombinationsWithLength(t *testing.T) { function TestCombinationsWithLengthFromTo (line 311) | func TestCombinationsWithLengthFromTo(t *testing.T) { FILE: samples/go/csv/write.go function getElemDesc (line 16) | func getElemDesc(s types.Collection, index int) types.StructDesc { function GetListElemDesc (line 25) | func GetListElemDesc(l types.List, vr types.ValueReader) types.StructDesc { function GetMapElemDesc (line 31) | func GetMapElemDesc(m types.Map, vr types.ValueReader) types.StructDesc { function writeValuesFromChan (line 42) | func writeValuesFromChan(structChan chan types.Struct, sd types.StructDe... function WriteList (line 68) | func WriteList(l types.List, sd types.StructDesc, comma rune, output io.... function sendMapValuesToChan (line 79) | func sendMapValuesToChan(m types.Map, structChan chan<- types.Struct) { function WriteMap (line 90) | func WriteMap(m types.Map, sd types.StructDesc, comma rune, output io.Wr... function getFieldNamesFromStruct (line 99) | func getFieldNamesFromStruct(structDesc types.StructDesc) (fieldNames []... FILE: samples/go/csv/write_test.go constant TEST_ROW_STRUCT_NAME (line 26) | TEST_ROW_STRUCT_NAME = "row" constant TEST_ROW_FIELDS (line 27) | TEST_ROW_FIELDS = "anid,month,rainfall,year" constant TEST_DATA_SIZE (line 28) | TEST_DATA_SIZE = 200 constant TEST_YEAR (line 29) | TEST_YEAR = 2012 function TestCSVWrite (line 32) | func TestCSVWrite(t *testing.T) { type csvWriteTestSuite (line 36) | type csvWriteTestSuite struct method SetupTest (line 52) | func (s *csvWriteTestSuite) SetupTest() { method TearDownTest (line 73) | func (s *csvWriteTestSuite) TearDownTest() { method TestCSVWriteList (line 129) | func (s *csvWriteTestSuite) TestCSVWriteList() { method TestCSVWriteMap (line 137) | func (s *csvWriteTestSuite) TestCSVWriteMap() { method TestCSVWriteNestedMap (line 145) | func (s *csvWriteTestSuite) TestCSVWriteNestedMap() { function typesToKinds (line 44) | func typesToKinds(ts []*types.Type) KindSlice { function createCsvTestExpectationFile (line 77) | func createCsvTestExpectationFile(w io.Writer) { function startReadingCsvTestExpectationFile (line 88) | func startReadingCsvTestExpectationFile(s *csvWriteTestSuite) (cr *csv.R... function createTestList (line 97) | func createTestList(s *csvWriteTestSuite) types.List { function createTestMap (line 105) | func createTestMap(s *csvWriteTestSuite) types.Map { function createTestNestedMap (line 112) | func createTestNestedMap(s *csvWriteTestSuite) types.Map { function verifyOutput (line 119) | func verifyOutput(s *csvWriteTestSuite, r io.Reader) { FILE: samples/go/decent/dbg/debug.go function NewLogger (line 20) | func NewLogger(fp string) *log.Logger { function GetLogger (line 27) | func GetLogger() *log.Logger { function SetLogger (line 31) | func SetLogger(newLg *log.Logger) { function Debug (line 35) | func Debug(s string, args ...interface{}) { function BoxF (line 40) | func BoxF(s string, args ...interface{}) func() { FILE: samples/go/decent/ipfs-chat/main.go function main (line 30) | func main() { function runClient (line 78) | func runClient(ipfsSpec string, cInfo lib.ClientInfo) { function runDaemon (line 114) | func runDaemon(ipfsSpec string, cInfo lib.ClientInfo) { function handleSIGQUIT (line 141) | func handleSIGQUIT(events chan<- lib.ChatEvent) { function expandRLimit (line 158) | func expandRLimit() { function initIPFSChunkStore (line 183) | func initIPFSChunkStore(sp spec.Spec, nodeIdx int) (*core.IpfsNode, chun... function isIPFS (line 190) | func isIPFS(protocol string) bool { FILE: samples/go/decent/lib/datapager.go type dataPager (line 19) | type dataPager struct method Close (line 37) | func (dp *dataPager) Close() { method Next (line 41) | func (dp *dataPager) Next() (string, bool) { method Prepend (line 59) | func (dp *dataPager) Prepend(lines []string, target int) ([]string, bo... function NewDataPager (line 27) | func NewDataPager(ds datas.Dataset, mkChan chan types.String, doneChan c... FILE: samples/go/decent/lib/event.go constant InputEvent (line 28) | InputEvent ChatEventType = "input" constant SearchEvent (line 29) | SearchEvent ChatEventType = "search" constant SyncEvent (line 30) | SyncEvent ChatEventType = "sync" constant QuitEvent (line 31) | QuitEvent ChatEventType = "quit" type ClientInfo (line 34) | type ClientInfo struct type ChatEventType (line 45) | type ChatEventType type ChatEvent (line 47) | type ChatEvent struct type EventDelegate (line 52) | type EventDelegate interface function ProcessChatEvents (line 62) | func ProcessChatEvents(node *core.IpfsNode, ds datas.Dataset, events cha... function processHash (line 98) | func processHash(t *TermUI, node *core.IpfsNode, ds datas.Dataset, msgDa... function processInput (line 179) | func processInput(t *TermUI, node *core.IpfsNode, ds datas.Dataset, msg ... function processSearch (line 192) | func processSearch(t *TermUI, node *core.IpfsNode, ds datas.Dataset, ter... function pinBlocks (line 205) | func pinBlocks(node *core.IpfsNode, h hash.Hash, db datas.Database, dept... type IPFSEventDelegate (line 235) | type IPFSEventDelegate struct method PinBlocks (line 237) | func (d IPFSEventDelegate) PinBlocks(node *core.IpfsNode, sourceDB, si... method SourceCommitFromMsgData (line 245) | func (d IPFSEventDelegate) SourceCommitFromMsgData(db datas.Database, ... method HashFromMsgData (line 251) | func (d IPFSEventDelegate) HashFromMsgData(msgData string) (hash.Hash,... method GenMessageData (line 260) | func (d IPFSEventDelegate) GenMessageData(cInfo ClientInfo, h hash.Has... type P2PEventDelegate (line 264) | type P2PEventDelegate struct method PinBlocks (line 266) | func (d P2PEventDelegate) PinBlocks(node *core.IpfsNode, sourceDB, sin... method SourceCommitFromMsgData (line 271) | func (d P2PEventDelegate) SourceCommitFromMsgData(db datas.Database, m... method HashFromMsgData (line 277) | func (d P2PEventDelegate) HashFromMsgData(msgData string) (hash.Hash, ... method GenMessageData (line 282) | func (d P2PEventDelegate) GenMessageData(cInfo ClientInfo, h hash.Hash... FILE: samples/go/decent/lib/importer.go function RunImport (line 33) | func RunImport(dir, dsSpec string) error { function extractDialog (line 99) | func extractDialog(n *html.Node) { function characterName (line 121) | func characterName(n *html.Node) string { type cpair (line 134) | type cpair struct function topUsers (line 139) | func topUsers(msgs []Message) []string { FILE: samples/go/decent/lib/logger.go function NewLogger (line 19) | func NewLogger(username string) *log.Logger { FILE: samples/go/decent/lib/model.go type Root (line 24) | type Root struct type Message (line 36) | type Message struct method ID (line 43) | func (m Message) ID() string { function AddMessage (line 47) | func AddMessage(body string, author string, clientTime time.Time, ds dat... function InitDatabase (line 69) | func InitDatabase(ds datas.Dataset) (datas.Dataset, error) { function GetAuthors (line 81) | func GetAuthors(ds datas.Dataset) []string { function IndexNewMessage (line 87) | func IndexNewMessage(vrw types.ValueReadWriter, root *Root, m Message) { function SearchIndex (line 96) | func SearchIndex(ds datas.Dataset, search []string) types.Map { function TermsFromString (line 111) | func TermsFromString(s string) []string { function GetTerms (line 124) | func GetTerms(m Message) []string { function ListMessages (line 130) | func ListMessages(ds datas.Dataset, searchIds *types.Map, doneChan chan ... function getRoot (line 165) | func getRoot(ds datas.Dataset) (Root, error) { FILE: samples/go/decent/lib/model_test.go function TestBasics (line 21) | func TestBasics(t *testing.T) { function getAllMessages (line 61) | func getAllMessages(ds datas.Dataset) (r []Message, err error) { FILE: samples/go/decent/lib/pubsub.go function lockSeenF (line 28) | func lockSeenF() func() { function ReceiveMessages (line 38) | func ReceiveMessages(node *core.IpfsNode, events chan ChatEvent, cInfo C... function Publish (line 76) | func Publish(node *core.IpfsNode, cInfo ClientInfo, h hash.Hash) { FILE: samples/go/decent/lib/term_index.go type TermIndex (line 16) | type TermIndex struct method Edit (line 25) | func (ti TermIndex) Edit() *TermIndexEditor { method Search (line 29) | func (ti TermIndex) Search(terms []string) types.Map { function NewTermIndex (line 21) | func NewTermIndex(vrw types.ValueReadWriter, TermDocs types.Map) TermInd... type TermIndexEditor (line 83) | type TermIndexEditor struct method Value (line 89) | func (te *TermIndexEditor) Value() TermIndex { method Insert (line 94) | func (te *TermIndexEditor) Insert(term string, v types.Value) *TermInd... method InsertAll (line 111) | func (te *TermIndexEditor) InsertAll(terms []string, v types.Value) *T... FILE: samples/go/decent/lib/term_index_test.go function TestRun (line 19) | func TestRun(t *testing.T) { FILE: samples/go/decent/lib/termui.go constant allViews (line 25) | allViews = "" constant usersView (line 26) | usersView = "users" constant messageView (line 27) | messageView = "messages" constant inputView (line 28) | inputView = "input" constant linestofetch (line 29) | linestofetch = 50 constant searchPrefix (line 31) | searchPrefix = "/s" constant quitPrefix (line 32) | quitPrefix = "/q" type TermUI (line 35) | type TermUI struct method Close (line 94) | func (t *TermUI) Close() { method UpdateMessagesFromSync (line 99) | func (t *TermUI) UpdateMessagesFromSync(ds datas.Dataset) { method Layout (line 110) | func (t *TermUI) Layout() error { method UpdateMessages (line 150) | func (t *TermUI) UpdateMessages(ds datas.Dataset, filterIds *types.Map... method ResetAuthors (line 177) | func (t *TermUI) ResetAuthors(ds datas.Dataset) { method UpdateMessagesAsync (line 186) | func (t *TermUI) UpdateMessagesAsync(ds datas.Dataset, sids *types.Map... method scrollView (line 194) | func (t *TermUI) scrollView(v *gocui.View, dy int) { method textScrolledToEnd (line 306) | func (t *TermUI) textScrolledToEnd() bool { function CreateTermUI (line 47) | func CreateTermUI(events chan ChatEvent) *TermUI { function layout (line 114) | func layout(g *gocui.Gui) error { function quit (line 226) | func quit(_ *gocui.Gui, _ *gocui.View) error { function quitWithStack (line 231) | func quitWithStack(_ *gocui.Gui, _ *gocui.View) error { function arrowUp (line 239) | func arrowUp(t *TermUI) func(*gocui.Gui, *gocui.View) error { function arrowDown (line 260) | func arrowDown(t *TermUI) func(*gocui.Gui, *gocui.View) error { function debugInfo (line 267) | func debugInfo(t *TermUI) func(*gocui.Gui, *gocui.View) error { function viewBuffer (line 280) | func viewBuffer(v *gocui.View) string { function nextView (line 288) | func nextView(g *gocui.Gui, v *gocui.View) (err error) { function nextViewName (line 297) | func nextViewName(currentView string) string { function updateViewTitle (line 319) | func updateViewTitle(g *gocui.Gui, viewname, title string) (err error) { function genColors (line 330) | func genColors() ([]string, []string) { function colorTerm (line 342) | func colorTerm(color int, s string, background bool) string { function highlightTerms (line 350) | func highlightTerms(s string, terms []string) string { FILE: samples/go/decent/p2p-chat/main.go function main (line 31) | func main() { function runClient (line 64) | func runClient(cInfo lib.ClientInfo) { function getIP (line 98) | func getIP() string { function runServer (line 120) | func runServer(atPath string, port int) (ready chan struct{}) { FILE: samples/go/nomdex/expr.go type expr (line 16) | type expr interface type logExpr (line 26) | type logExpr struct method indexName (line 39) | func (le logExpr) indexName() string { method iterator (line 43) | func (le logExpr) iterator(im *indexManager) types.SetIterator { method ranges (line 69) | func (le logExpr) ranges() (ranges queryRangeSlice) { method dbgPrintTree (line 104) | func (le logExpr) dbgPrintTree(w io.Writer, level int) { type compExpr (line 33) | type compExpr struct method indexName (line 114) | func (re compExpr) indexName() string { method iterator (line 172) | func (re compExpr) iterator(im *indexManager) types.SetIterator { method ranges (line 178) | func (re compExpr) ranges() (ranges queryRangeSlice) { method dbgPrintTree (line 201) | func (re compExpr) dbgPrintTree(w io.Writer, level int) { function iteratorsFromRange (line 118) | func iteratorsFromRange(index types.Map, rd queryRange) []types.SetItera... function iteratorsFromRanges (line 140) | func iteratorsFromRanges(index types.Map, ranges queryRangeSlice) []type... function unionizeIters (line 148) | func unionizeIters(iters []types.SetIterator) types.SetIterator { FILE: samples/go/nomdex/nomdex.go function main (line 18) | func main() { function printError (line 32) | func printError(err error, msgAndArgs ...interface{}) bool { FILE: samples/go/nomdex/nomdex_find.go function registerFind (line 65) | func registerFind() { function runFind (line 72) | func runFind() int { function printObjects (line 104) | func printObjects(w io.Writer, index types.Map, ranges queryRangeSlice) { function openIndex (line 135) | func openIndex(idxName string, im *indexManager) error { FILE: samples/go/nomdex/nomdex_test.go type TestObj (line 20) | type TestObj struct type testSuite (line 28) | type testSuite struct method TestNomdex (line 76) | func (s *testSuite) TestNomdex() { function TestNomdex (line 32) | func TestNomdex(t *testing.T) { function makeTestDb (line 36) | func makeTestDb(s *testSuite, dsId string) datas.Database { function TestTransform (line 115) | func TestTransform(t *testing.T) { FILE: samples/go/nomdex/nomdex_update.go function registerUpdate (line 79) | func registerUpdate() { type StreamingSetEntry (line 89) | type StreamingSetEntry struct type IndexMap (line 94) | type IndexMap type Index (line 96) | type Index struct method addToGraphBuilder (line 168) | func (idx *Index) addToGraphBuilder(gb *types.GraphBuilder, k, v types... function runUpdate (line 103) | func runUpdate() int { function addElementsToGraphBuilder (line 132) | func addElementsToGraphBuilder(gb *types.GraphBuilder, db datas.Database... FILE: samples/go/nomdex/parser.go type compOp (line 32) | type compOp type boolOp (line 33) | type boolOp type indexManager (line 35) | type indexManager struct constant equals (line 41) | equals compOp = "=" constant gt (line 42) | gt compOp = ">" constant gte (line 43) | gte compOp = ">=" constant lt (line 44) | lt compOp = "<" constant lte (line 45) | lte compOp = "<=" constant ne (line 46) | ne compOp = "!=" constant openP (line 47) | openP = "(" constant closeP (line 48) | closeP = ")" constant and (line 49) | and boolOp = "and" constant or (line 50) | or boolOp = "or" type qScanner (line 58) | type qScanner struct method Scan (line 65) | func (qs *qScanner) Scan() rune { method Peek (line 76) | func (qs *qScanner) Peek() rune { method TokenText (line 88) | func (qs *qScanner) TokenText() string { method Pos (line 98) | func (qs *qScanner) Pos() scanner.Position { method parseExpr (line 134) | func (qs *qScanner) parseExpr(level int, im *indexManager) expr { method parseCompExpr (line 189) | func (qs *qScanner) parseCompExpr(level int, indexName string, im *ind... method parseValExpr (line 200) | func (qs *qScanner) parseValExpr() types.Value { function parseQuery (line 102) | func parseQuery(q string, im *indexManager) (expr, error) { function NewQueryScanner (line 111) | func NewQueryScanner(query string) *qScanner { function valueFromString (line 232) | func valueFromString(t string) types.Value { function isCompOp (line 240) | func isCompOp(s string) bool { function isBoolOp (line 249) | func isBoolOp(s string) bool { function idxNameIfSame (line 258) | func idxNameIfSame(expr1, expr2 expr) string { FILE: samples/go/nomdex/parser_test.go type scannerResult (line 17) | type scannerResult struct type parseResult (line 22) | type parseResult struct function TestQueryScanner (line 27) | func TestQueryScanner(t *testing.T) { function TestPeek (line 62) | func TestPeek(t *testing.T) { function TestParsing (line 81) | func TestParsing(t *testing.T) { FILE: samples/go/nomdex/query_range.go type bound (line 16) | type bound struct method isLessThanOrEqual (line 22) | func (b bound) isLessThanOrEqual(o bound) (res bool) { method isLessThan (line 26) | func (b bound) isLessThan(o bound) (res bool) { method isGreaterThanOrEqual (line 51) | func (b bound) isGreaterThanOrEqual(o bound) (res bool) { method isGreaterThan (line 55) | func (b bound) isGreaterThan(o bound) (res bool) { method equals (line 59) | func (b bound) equals(o bound) bool { method String (line 64) | func (b bound) String() string { method minValue (line 76) | func (b bound) minValue(o bound) (res bound) { method maxValue (line 83) | func (b bound) maxValue(o bound) (res bound) { type queryRange (line 90) | type queryRange struct method and (line 95) | func (r queryRange) and(o queryRange) (rangeDescs queryRangeSlice) { method or (line 105) | func (r queryRange) or(o queryRange) (rSlice queryRangeSlice) { method intersects (line 116) | func (r queryRange) intersects(o queryRange) (res bool) { method String (line 132) | func (r queryRange) String() string { type queryRangeSlice (line 138) | type queryRangeSlice method Len (line 140) | func (rSlice queryRangeSlice) Len() int { method Swap (line 144) | func (rSlice queryRangeSlice) Swap(i, j int) { method Less (line 148) | func (rSlice queryRangeSlice) Less(i, j int) bool { method dbgPrint (line 152) | func (rSlice queryRangeSlice) dbgPrint(w io.Writer) { FILE: samples/go/nomdex/query_range_test.go constant nilHolder (line 14) | nilHolder = -1000000 function newBound (line 29) | func newBound(i int, include bool, infinity int) bound { function qr (line 37) | func qr(lower int, lowerIncl bool, upper int, upperIncl bool) queryRange { function TestRangeIntersects (line 49) | func TestRangeIntersects(t *testing.T) { function TestRangeAnd (line 66) | func TestRangeAnd(t *testing.T) { function TestRangeOr (line 79) | func TestRangeOr(t *testing.T) { function TestIsLessThan (line 92) | func TestIsLessThan(t *testing.T) { function TestIsGreaterThan (line 110) | func TestIsGreaterThan(t *testing.T) { function TestMinValue (line 128) | func TestMinValue(t *testing.T) { function TestMaxValue (line 140) | func TestMaxValue(t *testing.T) { FILE: tools/file/file.go function DumbCopy (line 18) | func DumbCopy(srcPath, dstPath string) { function MyDir (line 40) | func MyDir() string { FILE: tools/file/file_test.go constant contents (line 18) | contents = "hey" function TestSerialRunnerTestSuite (line 21) | func TestSerialRunnerTestSuite(t *testing.T) { type FileTestSuite (line 25) | type FileTestSuite struct method SetupTest (line 30) | func (suite *FileTestSuite) SetupTest() { method TearDownTest (line 40) | func (suite *FileTestSuite) TearDownTest() { method TestCopyFile (line 44) | func (suite *FileTestSuite) TestCopyFile() { method TestCopyLink (line 63) | func (suite *FileTestSuite) TestCopyLink() { method TestNoCopyDir (line 79) | func (suite *FileTestSuite) TestNoCopyDir() { FILE: tools/licensify.py function main (line 33) | def main(): function processFile (line 48) | def processFile(f, ext, pattern): function buildLicensePattern (line 57) | def buildLicensePattern(ext): function getLicense (line 93) | def getLicense(ext): FILE: tools/loadtest/loadtest.go type runnerFn (line 28) | type runnerFn type runner (line 30) | type runner struct function main (line 35) | func main() { function bestEffortGetIP (line 62) | func bestEffortGetIP() (asNum int64) { function runDiff (line 79) | func runDiff(db, ds string) { function runLogDiff (line 87) | func runLogDiff(db, ds string) { function runLogShow (line 91) | func runLogShow(db, ds string) { function runShow (line 95) | func runShow(db, ds string) { function runSync (line 103) | func runSync(db, ds string) { function getParent (line 120) | func getParent(db, ds string) string { function call (line 136) | func call(stdout io.Writer, name string, arg ...string) error { function streamDs (line 148) | func streamDs(db string) <-chan string { FILE: tools/noms/copy.py function Peers (line 9) | def Peers(me, dstDir): FILE: tools/noms/copy_test.py class TestCopy (line 10) | class TestCopy(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 15) | def tearDown(self): method test_CopyPeers (line 19) | def test_CopyPeers(self): FILE: tools/noms/pushd.py function pushd (line 11) | def pushd(path): FILE: tools/noms/staging.py function Main (line 15) | def Main(projectName, stagingFunction): function run_globs (line 49) | def run_globs(staging_dir, globs, exclude): function rename_with_hash (line 63) | def rename_with_hash(f, to_dir, rename_dict): function GlobCopier (line 75) | def GlobCopier(*globs, **kwargs): function _dir_path (line 116) | def _dir_path(arg): function _is_sub_dir (line 123) | def _is_sub_dir(subdir, directory): FILE: tools/noms/staging_test.py class TestStaging (line 10) | class TestStaging(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 15) | def tearDown(self): method test_Nested (line 18) | def test_Nested(self): method test_NotNested (line 21) | def test_NotNested(self): method test_DotDotNotReallyNested (line 25) | def test_DotDotNotReallyNested(self): method test_LinkNotReallyNested (line 29) | def test_LinkNotReallyNested(self): method test_DirPath (line 35) | def test_DirPath(self): method test_DirPathFails (line 41) | def test_DirPathFails(self): method test_GlobCopier (line 48) | def test_GlobCopier(self): method test_GlobCopierWithRename (line 103) | def test_GlobCopierWithRename(self): FILE: tools/noms/symlink.py class LinkError (line 9) | class LinkError(Exception): function Force (line 13) | def Force(source, linkName): FILE: tools/noms/symlink_test.py class TestForceSymlink (line 10) | class TestForceSymlink(unittest.TestCase): method setUp (line 13) | def setUp(self): method tearDown (line 20) | def tearDown(self): method verifySymlink (line 24) | def verifySymlink(self, linkName): method test_ClobberFile (line 30) | def test_ClobberFile(self): method test_ClobberSymlink (line 39) | def test_ClobberSymlink(self): method test_NoClobberDir (line 47) | def test_NoClobberDir(self): FILE: tools/runner/serial.go type Env (line 19) | type Env method toStrings (line 21) | func (e Env) toStrings() (out []string) { function ForceRun (line 38) | func ForceRun(exe string, args ...string) { function ForceRunInDir (line 44) | func ForceRunInDir(dir string, env Env, exe string, args ...string) { function RunInDir (line 56) | func RunInDir(out, err io.Writer, dir, exe string, args ...string) error { function runEnvDir (line 61) | func runEnvDir(out, err io.Writer, env Env, dir, exe string, args ...str... function Serial (line 71) | func Serial(stdout, stderr io.Writer, env Env, dir, filename string, arg... FILE: tools/runner/serial_test.go constant boilerplate (line 22) | boilerplate = ` constant buildFileBasename (line 28) | buildFileBasename = "build.py" function TestSerialRunnerTestSuite (line 31) | func TestSerialRunnerTestSuite(t *testing.T) { type SerialRunnerTestSuite (line 35) | type SerialRunnerTestSuite struct method SetupTest (line 41) | func (suite *SerialRunnerTestSuite) SetupTest() { method TearDownTest (line 47) | func (suite *SerialRunnerTestSuite) TearDownTest() { method TestForceRunInDir (line 51) | func (suite *SerialRunnerTestSuite) TestForceRunInDir() { method TestRunInDir (line 79) | func (suite *SerialRunnerTestSuite) TestRunInDir() { method TestEnvVars (line 95) | func (suite *SerialRunnerTestSuite) TestEnvVars() { method TestFailure (line 129) | func (suite *SerialRunnerTestSuite) TestFailure() { method uniqueBuildFile (line 150) | func (suite *SerialRunnerTestSuite) uniqueBuildFile() string { method makeTestBuildFile (line 155) | func (suite *SerialRunnerTestSuite) makeTestBuildFile(path string, sta...