Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for devid (0.04 sec)

  1. docs/debugging/reorder-disks/main.go

    	if err := syscall.Stat(path, &stat); err != nil {
    		return "", fmt.Errorf("unable to stat `%s`: %w", path, err)
    	}
    
    	devID := uint64(stat.Dev)
    	major := (devID & 0x00000000000fff00) >> 8
    	major |= (devID & 0xfffff00000000000) >> 32
    	minor := (devID & 0x00000000000000ff) >> 0
    	minor |= (devID & 0x00000ffffff00000) >> 12
    
    	return fmt.Sprintf("%d:%d", major, minor), nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. internal/disk/stat_linux.go

    	}
    
    	st := syscall.Stat_t{}
    	err = syscall.Stat(path, &st)
    	if err != nil {
    		return Info{}, err
    	}
    	//nolint:unconvert
    	devID := uint64(st.Dev) // Needed to support multiple GOARCHs
    	info.Major = unix.Major(devID)
    	info.Minor = unix.Minor(devID)
    
    	// Check for overflows.
    	// https://github.com/minio/minio/issues/8035
    	// XFS can show wrong values at times error out
    	// in such scenarios.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/container_manager.go

    					ResourceName: resourceName,
    					DeviceIds:    []string{devID},
    				})
    				continue
    			}
    
    			for _, node := range topo.GetNodes() {
    				respDevs = append(respDevs, &podresourcesapi.ContainerDevices{
    					ResourceName: resourceName,
    					DeviceIds:    []string{devID},
    					Topology: &podresourcesapi.TopologyInfo{
    						Nodes: []*podresourcesapi.NUMANode{
    							{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. pkg/volume/fc/fc_util.go

    	fcPath := "scsi-" + wwid
    	devID := byID
    	if dirs, err := io.ReadDir(devID); err == nil {
    		for _, f := range dirs {
    			name := f.Name()
    			if name == fcPath {
    				disk, err := io.EvalSymlinks(devID + name)
    				if err != nil {
    					klog.V(2).Infof("fc: failed to find a corresponding disk from symlink[%s], error %v", devID+name, err)
    					return "", ""
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/pod_devices.go

    		}
    		devicePluginMap := make(map[string]pluginapi.Device)
    		for numaid, devlist := range allocateInfo.deviceIds {
    			for _, devID := range devlist {
    				var topology *pluginapi.TopologyInfo
    				if numaid != nodeWithoutTopology {
    					NUMANodes := []*pluginapi.NUMANode{{ID: numaid}}
    					if pDev, ok := devicePluginMap[devID]; ok && pDev.Topology != nil {
    						if nodes := pDev.Topology.GetNodes(); nodes != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    		),
    	)
    
    	resContDevices := podDevices.getContainerDevices(podID, contID)
    	contDevices, ok := resContDevices[resourceName1]
    	require.True(t, ok, "resource %q not present", resourceName1)
    
    	for devID, plugInfo := range contDevices {
    		nodes := plugInfo.GetTopology().GetNodes()
    		require.Equal(t, len(nodes), len(devices), "Incorrect container devices: %v - %v (nodes %v)", devices, contDevices, nodes)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. misc/ios/go_ios_exec.go

    	"io"
    	"log"
    	"net"
    	"os"
    	"os/exec"
    	"os/signal"
    	"path/filepath"
    	"runtime"
    	"strconv"
    	"strings"
    	"syscall"
    	"time"
    )
    
    const debug = false
    
    var tmpdir string
    
    var (
    	devID    string
    	appID    string
    	teamID   string
    	bundleID string
    	deviceID string
    )
    
    // lock is a file lock to serialize iOS runs. It is global to avoid the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 23.4K bytes
    - Viewed (0)
  8. maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

            assertThat( target.getDescription(), is( "TARGET" ) );
        }
    
        @Test
        public void mergeSameDevelopers()
        {
            Developer developer = new Developer();
            developer.setId( "devid" );
    
            Model target = new Model();
            target.setDevelopers( Arrays.asList( developer ) );
    
            Model source = new Model();
            source.setDevelopers( Arrays.asList( developer ) );
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  9. licenses/github.com/docker/docker-credential-helpers/LICENSE

    Copyright (c) 2016 David Calavera
    
    Permission is hereby granted, free of charge, to any person obtaining
    a copy of this software and associated documentation files (the
    "Software"), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to
    permit persons to whom the Software is furnished to do so, subject to
    the following conditions:
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 30 04:02:55 UTC 2021
    - 1K bytes
    - Viewed (0)
  10. cmd/metrics-realtime.go

    	c "github.com/shirou/gopsutil/v3/cpu"
    	"github.com/shirou/gopsutil/v3/load"
    )
    
    type collectMetricsOpts struct {
    	hosts map[string]struct{}
    	disks map[string]struct{}
    	jobID string
    	depID string
    }
    
    func collectLocalMetrics(types madmin.MetricType, opts collectMetricsOpts) (m madmin.RealtimeMetrics) {
    	if types == madmin.MetricsNone {
    		return
    	}
    
    	byHostName := globalMinioAddr
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top