Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IDLE_PRIORITY_CLASS (0.18 sec)

  1. cmd/kubelet/app/init_windows.go

    func getPriorityValue(priorityClassName string) uint32 {
    	var priorityClassMap = map[string]uint32{
    		"IDLE_PRIORITY_CLASS":         uint32(windows.IDLE_PRIORITY_CLASS),
    		"BELOW_NORMAL_PRIORITY_CLASS": uint32(windows.BELOW_NORMAL_PRIORITY_CLASS),
    		"NORMAL_PRIORITY_CLASS":       uint32(windows.NORMAL_PRIORITY_CLASS),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 01:54:34 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. cmd/kubelet/app/init_windows_test.go

    			description:           "Invalid Priority Class",
    			priorityClassName:     "myPriorityClass",
    			expectedPriorityValue: 0,
    		},
    		{
    			description:           "Valid Priority Class",
    			priorityClassName:     "IDLE_PRIORITY_CLASS",
    			expectedPriorityValue: uint32(64),
    		},
    	}
    	for _, test := range testCases {
    		actualPriorityValue := getPriorityValue(test.priorityClassName)
    		if test.expectedPriorityValue != actualPriorityValue {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 02 19:48:59 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    )
    
    const (
    	// Priority class.
    	ABOVE_NORMAL_PRIORITY_CLASS   = 0x00008000
    	BELOW_NORMAL_PRIORITY_CLASS   = 0x00004000
    	HIGH_PRIORITY_CLASS           = 0x00000080
    	IDLE_PRIORITY_CLASS           = 0x00000040
    	NORMAL_PRIORITY_CLASS         = 0x00000020
    	PROCESS_MODE_BACKGROUND_BEGIN = 0x00100000
    	PROCESS_MODE_BACKGROUND_END   = 0x00200000
    	REALTIME_PRIORITY_CLASS       = 0x00000100
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
Back to top