Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for devsMap (0.13 sec)

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

    	if !exists {
    		return nil
    	}
    	resources, exists := containers[contName]
    	if !exists {
    		return nil
    	}
    	opts := &DeviceRunContainerOptions{}
    	// Maps to detect duplicate settings.
    	devsMap := make(map[string]string)
    	mountsMap := make(map[string]string)
    	envsMap := make(map[string]string)
    	annotationsMap := make(map[string]string)
    	// Keep track of all CDI devices requested for the container.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. src/runtime/os_plan9.go

    				ncpu++
    			}
    		}
    	}
    	closefd(fd)
    	if ncpu == 0 {
    		ncpu = 1
    	}
    	return ncpu
    }
    
    var devswap = []byte("/dev/swap\x00")
    var pagesize = []byte(" pagesize\n")
    
    func getPageSize() uintptr {
    	var buf [2048]byte
    	var pos int
    	fd := open(&devswap[0], _OREAD, 0)
    	if fd < 0 {
    		// There's not much we can do if /dev/swap doesn't
    		// exist. However, nothing in the memory manager uses
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top