google.golang.org/grpc/internal/channelz.channelMap.topLevelChannels (field)

8 uses

	google.golang.org/grpc/internal/channelz (current package)
		funcs.go#L108: 		topLevelChannels: make(map[int64]struct{}),
		funcs.go#L124: 			if len(cm.topLevelChannels) == 0 && len(cm.servers) == 0 && len(cm.channels) == 0 && len(cm.subChannels) == 0 && len(cm.listenSockets) == 0 && len(cm.normalSockets) == 0 {
		funcs.go#L134: 		err = fmt.Errorf("after 10s the channelz map has not been cleaned up yet, topchannels: %d, servers: %d, channels: %d, subchannels: %d, listen sockets: %d, normal sockets: %d", len(cm.topLevelChannels), len(cm.servers), len(cm.channels), len(cm.subChannels), len(cm.listenSockets), len(cm.normalSockets))
		funcs.go#L323: 	topLevelChannels map[int64]struct{}
		funcs.go#L344: 		c.topLevelChannels[id] = struct{}{}
		funcs.go#L435: 		delete(c.topLevelChannels, id)
		funcs.go#L507: 	l := int64(len(c.topLevelChannels))
		funcs.go#L511: 	for k := range c.topLevelChannels {