Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for initializeCaches (0.24 sec)

  1. pkg/controller/volume/persistentvolume/pv_controller_base.go

    	return controller, nil
    }
    
    // initializeCaches fills all controller caches with initial data from etcd in
    // order to have the caches already filled when first addClaim/addVolume to
    // perform initial synchronization of the controller.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
Back to top