Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for int64Slice (0.09 sec)

  1. src/cmd/compile/internal/ssa/_gen/allocators.go

    			typ:  "[]int",
    			base: "Int64Slice",
    		},
    		{
    			name: "Int32Slice",
    			typ:  "[]int32",
    			base: "Int64Slice",
    		},
    		{
    			name: "Int8Slice",
    			typ:  "[]int8",
    			base: "Int64Slice",
    		},
    		{
    			name: "BoolSlice",
    			typ:  "[]bool",
    			base: "Int64Slice",
    		},
    		{
    			name: "IDSlice",
    			typ:  "[]ID",
    			base: "Int64Slice",
    		},
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/container_manager_linux.go

    }
    
    func int64Slice(in []int) []int64 {
    	out := make([]int64, len(in))
    	for i := range in {
    		out[i] = int64(in[i])
    	}
    	return out
    }
    
    func (cm *containerManagerImpl) GetCPUs(podUID, containerName string) []int64 {
    	if cm.cpuManager != nil {
    		return int64Slice(cm.cpuManager.GetExclusiveCPUs(podUID, containerName).UnsortedList())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top