map.go ×1

Frontier kind: Code frontier

unlabeled · c_b77073d5ee5d

19 tests · 23 LOC · 1 file · introduces 0 tests · 1 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range1 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
8 ranges23 lines · 1 file · Browse complete extent
All tests (intent)
19 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Introduced files, introduced tests, and structurally relevant concept specializationfair_task_reader.go ×1 · 15 introduced LOCfair_task_reader.go ×1TestFairness_UniformDistribution_500 · 0 introduced LOCTestFairness_UniformDist…TestFairness_CMSCounter · 0 introduced LOCTestFairness_CMSCountermap.go ×1 · 5 introduced LOCmap.go ×1TestHybridCounter_TopKPreservedOnCMSResize · 0 introduced LOCTestHybridCounter_TopKPr…TestFairness_MapCounter, TestFairness_UniformDistribution_50 · 0 introduced LOCTestFairness_MapCounter,…sim.go ×4 · 21 introduced LOCsim.go ×4sim.go ×2 · 7 introduced LOCsim.go ×2TestHybridCounter_TopKUpdatesAfterMigration · 0 introduced LOCTestHybridCounter_TopKUp…TestHybridCounter_TopKTracking · 0 introduced LOCTestHybridCounter_TopKTr…hybrid.go ×1 · 5 introduced LOChybrid.go ×1sim.go ×20 · 97 introduced LOCsim.go ×20hybrid.go ×2 · 8 introduced LOChybrid.go ×2TestMapCounter_HeapIndexTracking · 0 introduced LOCTestMapCounter_HeapIndex…TestMapCounter_TopK, TestMapCounter_TopK_Eviction, +1 · 0 introduced LOCTestMapCounter_TopK, Tes…TestHybridCounter_StartsWithMap · 0 introduced LOCTestHybridCounter_Starts…TestMapCounter_TopK_Update · 0 introduced LOCTestMapCounter_TopK_Upda…TestMapCounter_HeapCorrectness · 0 introduced LOCTestMapCounter_HeapCorre…map.go ×1 · 3 introduced LOCmap.go ×1map.go ×2 · 16 introduced LOCmap.go ×2map.go ×1 · 6 introduced LOCmap.go ×1map.go ×7 · 22 introduced LOCmap.go ×7TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/service/matching/counter/hybrid.go · 85 LOCcounter/hybrid.gogo.temporal.io/server/service/matching/counter/map.go · 102 LOCcounter/map.gogo.temporal.io/server/service/matching/fair_task_reader.go · 728 LOCmatching/fair_task_reade…go.temporal.io/server/service/matching/task.go · 394 LOCmatching/task.gogo.temporal.io/server/tools/fairsim/sim.go · 611 LOCfairsim/sim.goTestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestStandingBacklog_Short · introduced test · go.temporal.io/server/service/matching/TestBacklogManager_Fair_Suite/TestStandingBacklog_ShortTestStandingBacklog_Shor…TestHybridCounter_Migrates · introduced test · go.temporal.io/server/service/matching/counter/TestHybridCounter_MigratesTestHybridCounter_Migrat…TestHybridCounter_StartsWithMap · introduced test · go.temporal.io/server/service/matching/counter/TestHybridCounter_StartsWithMapTestHybridCounter_Starts…TestHybridCounter_TopKPreservedOnCMSResize · introduced test · go.temporal.io/server/service/matching/counter/TestHybridCounter_TopKPreservedOnCMSResizeTestHybridCounter_TopKPr…TestHybridCounter_TopKTracking · introduced test · go.temporal.io/server/service/matching/counter/TestHybridCounter_TopKTrackingTestHybridCounter_TopKTr…TestHybridCounter_TopKUpdatesAfterMigration · introduced test · go.temporal.io/server/service/matching/counter/TestHybridCounter_TopKUpdatesAfterMigrationTestHybridCounter_TopKUp…TestMapCounter_Basic · introduced test · go.temporal.io/server/service/matching/counter/TestMapCounter_BasicTestMapCounter_BasicTestMapCounter_HeapCorrectness · introduced test · go.temporal.io/server/service/matching/counter/TestMapCounter_HeapCorrectnessTestMapCounter_HeapCorre…TestMapCounter_HeapIndexTracking · introduced test · go.temporal.io/server/service/matching/counter/TestMapCounter_HeapIndexTrackingTestMapCounter_HeapIndex…TestMapCounter_TopK · introduced test · go.temporal.io/server/service/matching/counter/TestMapCounter_TopKTestMapCounter_TopKTestMapCounter_TopK_Eviction · introduced test · go.temporal.io/server/service/matching/counter/TestMapCounter_TopK_EvictionTestMapCounter_TopK_Evic…TestMapCounter_TopK_ManyEntries · introduced test · go.temporal.io/server/service/matching/counter/TestMapCounter_TopK_ManyEntriesTestMapCounter_TopK_Many…TestMapCounter_TopK_Update · introduced test · go.temporal.io/server/service/matching/counter/TestMapCounter_TopK_UpdateTestMapCounter_TopK_Upda…TestFairness_CMSCounter · introduced test · go.temporal.io/server/tools/fairsim/TestFairness_CMSCounterTestFairness_CMSCounterTestFairness_ExtremeSkew · introduced test · go.temporal.io/server/tools/fairsim/TestFairness_ExtremeSkewTestFairness_ExtremeSkewTestFairness_MapCounter · introduced test · go.temporal.io/server/tools/fairsim/TestFairness_MapCounterTestFairness_MapCounterTestFairness_UniformDistribution_50 · introduced test · go.temporal.io/server/tools/fairsim/TestFairness_UniformDistribution_50TestFairness_UniformDist…TestFairness_UniformDistribution_500 · introduced test · go.temporal.io/server/tools/fairsim/TestFairness_UniformDistribution_500TestFairness_UniformDist…TestFairness_Weights · introduced test · go.temporal.io/server/tools/fairsim/TestFairness_WeightsTestFairness_WeightsFocused concept · map.go ×1 · 1 introduced LOCmap.go ×1

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

1 file ranked by introduced lines: 1 introduced LOC across 1 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/matching/counter/map.go 1 introduced LOC · 1 range

Open complete file

82 // implements heap.Interface using m.heap
83 func (m *mapCounter) Len() int { return len(m.heap) }
84 > func (m *mapCounter) Less(i, j int) bool { return m.heap[i].Count < m.heap[j].Count } map.go
85 func (m *mapCounter) Swap(i, j int) {
86 m.heap[i], m.heap[j] = m.heap[j], m.heap[i]