Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 63 for dim_idx (0.19 sec)

  1. cmd/storage-rest-client.go

    	diskInfoCache *cachevalue.Cache[DiskInfo]
    }
    
    // Retrieve location indexes.
    func (client *storageRESTClient) GetDiskLoc() (poolIdx, setIdx, diskIdx int) {
    	return client.endpoint.PoolIdx, client.endpoint.SetIdx, client.endpoint.DiskIdx
    }
    
    // Wrapper to restClient.Call to handle network errors, in case of network error the connection is disconnected
    // and a healthcheck routine gets invoked that would reconnect.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.h

      // shape is explicitly requested where possible.
      int (*num_dims)(void* data, TF_Status* status);
    
      // Computes the axis length at `dim_index`.
      int64_t (*dim)(void* data, int dim_index, TF_Status* status);
    
      void (*deallocator)(void* data);
    
      // Summarizes the value of this tensor. The caller takes ownership of the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  3. cmd/erasure.go

    		index := index
    		g.Go(func() error {
    			di := madmin.Disk{
    				Endpoint:  endpoints[index].String(),
    				PoolIndex: endpoints[index].PoolIdx,
    				SetIndex:  endpoints[index].SetIdx,
    				DiskIndex: endpoints[index].DiskIdx,
    				Local:     endpoints[index].IsLocal,
    			}
    			if disks[index] == OfflineDisk {
    				di.State = diskErrToDriveState(errDiskNotFound)
    				disksInfo[index] = di
    				return nil
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    			sa := &SockaddrNFC{
    				DeviceIdx:   pp.Dev_idx,
    				TargetIdx:   pp.Target_idx,
    				NFCProtocol: pp.Nfc_protocol,
    			}
    			return sa, nil
    		case NFC_SOCKPROTO_LLCP:
    			pp := (*RawSockaddrNFCLLCP)(unsafe.Pointer(rsa))
    			if uint64(pp.Service_name_len) > uint64(len(pp.Service_name)) {
    				return nil, EINVAL
    			}
    			sa := &SockaddrNFCLLCP{
    				DeviceIdx:      pp.Dev_idx,
    				TargetIdx:      pp.Target_idx,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  5. cmd/xl-storage_test.go

    }
    
    // Initialize a new storage disk.
    func newLocalXLStorageWithDiskIdx(path string, diskIdx int) (*xlStorage, error) {
    	u := url.URL{Path: path}
    	return newXLStorage(Endpoint{
    		URL:     &u,
    		IsLocal: true,
    		PoolIdx: 0,
    		SetIdx:  0,
    		DiskIdx: diskIdx,
    	}, true)
    }
    
    // creates a temp dir and sets up xlStorage layer.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/dwarf.go

    		// want to maintain that here.
    		file := path.Base(name)
    		dir := path.Dir(name)
    		dirIdx, ok := dirNums[dir]
    		if !ok && dir != "." {
    			dirIdx = len(dirNums) + 1
    			dirNums[dir] = dirIdx
    			dirs = append(dirs, dir)
    		}
    		files = append(files, fileDir{base: file, dir: dirIdx})
    
    		// We can't use something that may be dead-code
    		// eliminated from a binary here. proc.go contains
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    	defer globalLocalDrivesMu.RUnlock()
    	if len(globalLocalSetDrives) == 0 {
    		return globalLocalDrivesMap[endpoint.String()]
    	}
    	return globalLocalSetDrives[endpoint.PoolIdx][endpoint.SetIdx][endpoint.DiskIdx]
    }
    
    func (s *storageRESTServer) getStorage() StorageAPI {
    	return getStorageViaEndpoint(s.endpoint)
    }
    
    func (s *storageRESTServer) writeErrorResponse(w http.ResponseWriter, err error) {
    	err = unwrapAll(err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  8. cmd/xl-storage-disk-id-check.go

    	weSleep := func() bool {
    		return scannerIdleMode.Load() == 0
    	}
    
    	return p.storage.NSScanner(ctx, cache, updates, scanMode, weSleep)
    }
    
    func (p *xlStorageDiskIDCheck) GetDiskLoc() (poolIdx, setIdx, diskIdx int) {
    	return p.storage.GetDiskLoc()
    }
    
    func (p *xlStorageDiskIDCheck) Close() error {
    	p.diskCancel()
    	return p.storage.Close()
    }
    
    func (p *xlStorageDiskIDCheck) GetDiskID() (string, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  9. cmd/notification.go

    				offlineDisks = append(offlineDisks, madmin.Disk{
    					Endpoint:  ep.String(),
    					State:     string(madmin.ItemOffline),
    					PoolIndex: ep.PoolIdx,
    					SetIndex:  ep.SetIdx,
    					DiskIndex: ep.DiskIdx,
    				})
    			}
    		}
    	}
    	return offlineDisks
    }
    
    // StorageInfo returns disk information across all peers
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    		}
    	}
    	return madmin.HealResultItem{}, ObjectNotFound{
    		Bucket: bucket,
    		Object: object,
    	}
    }
    
    func (z *erasureServerPools) getPoolAndSet(id string) (poolIdx, setIdx, diskIdx int, err error) {
    	for poolIdx := range z.serverPools {
    		format := z.serverPools[poolIdx].format
    		for setIdx, set := range format.Erasure.Sets {
    			for i, diskID := range set {
    				if diskID == id {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
Back to top