Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Testfunc (0.3 sec)

  1. pkg/kubelet/cm/devicemanager/manager_test.go

    	}
    	testCases := []struct {
    		description string
    		count       int
    		devices     []pluginapi.Device
    		testfunc    func(manager *wrappedManagerImpl)
    	}{
    		{
    			description: "GetTopologyHints data race when update device",
    			count:       10,
    			devices:     devs,
    			testfunc: func(manager *wrappedManagerImpl) {
    				manager.GetTopologyHints(testPod, &testPod.Spec.Containers[0])
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    'Go test' recompiles each package along with any files with names matching
    the file pattern "*_test.go".
    These additional files can contain test functions, benchmark functions, fuzz
    tests and example functions. See 'go help testfunc' for more.
    Each listed package causes the execution of a separate test binary.
    Files whose names begin with "_" (including "_test.go") or "." are ignored.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/queue/scheduling_queue.go

    	Close()
    	// Run starts the goroutines managing the queue.
    	Run(logger klog.Logger)
    }
    
    // NewSchedulingQueue initializes a priority queue as a new scheduling queue.
    func NewSchedulingQueue(
    	lessFn framework.LessFunc,
    	informerFactory informers.SharedInformerFactory,
    	opts ...Option) SchedulingQueue {
    	return NewPriorityQueue(lessFn, informerFactory, opts...)
    }
    
    // NominatedNodeName returns nominated node name of a Pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/runtime/framework.go

    	return f.enqueueExtensions
    }
    
    // QueueSortFunc returns the function to sort pods in scheduling queue
    func (f *frameworkImpl) QueueSortFunc() framework.LessFunc {
    	if f == nil {
    		// If frameworkImpl is nil, simply keep their order unchanged.
    		// NOTE: this is primarily for tests.
    		return func(_, _ *framework.QueuedPodInfo) bool { return false }
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
Back to top