- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for initializeCache (0.17 sec)
-
pkg/proxy/endpointschangetracker_test.go
}, }, }, } for name, tc := range testCases { t.Run(name, func(t *testing.T) { initializeCache(tc.endpointsChangeTracker.endpointSliceCache, tc.startingSlices) got := tc.endpointsChangeTracker.EndpointSliceUpdate(tc.paramEndpointSlice, tc.paramRemoveSlice) if !reflect.DeepEqual(got, tc.expectedReturnVal) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 21 14:44:08 UTC 2023 - 79.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug.go
pendingEntries []pendingEntry varParts map[*ir.Name][]SlotID blockDebug []BlockDebug pendingSlotLocs []VarLoc partsByVarOffset sort.Interface } func (state *debugState) initializeCache(f *Func, numVars, numSlots int) { // One blockDebug per block. Initialized in allocBlock. if cap(state.blockDebug) < f.NumBlocks() { state.blockDebug = make([]BlockDebug, f.NumBlocks()) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 58.4K bytes - Viewed (0)