Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 60 for dim_idx (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux.go

    type RawSockaddrIUCV struct {
    	Family  uint16
    	Port    uint16
    	Addr    uint32
    	Nodeid  [8]int8
    	User_id [8]int8
    	Name    [8]int8
    }
    
    type RawSockaddrNFC struct {
    	Sa_family    uint16
    	Dev_idx      uint32
    	Target_idx   uint32
    	Nfc_protocol uint32
    }
    
    type _Socklen uint32
    
    type Linger struct {
    	Onoff  int32
    	Linger int32
    }
    
    type IPMreq struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 251K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      %dimension = "tf.Const"() { value = dense<1> : tensor<i32> } : () -> tensor<i32>
      // expected-error @+2 {{'tf.XlaSetDynamicDimensionSize' op failed to infer returned types}}
      // expected-error @+1 {{dim_index (1) is out of range [0, 1)}}
      %0 = "tf.XlaSetDynamicDimensionSize"(%input, %dimension, %size) : (tensor<4xf32>, tensor<i32>, tensor<i32>) -> tensor<?xf16>
      func.return %0 : tensor<?xf16>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      let description = [{
    Make an xla bounded dynamic dimension into a static dimension. The bound of the
    size of dimension `dim_index` becomes the static dimension size.
      }];
    
      let arguments = (ins
        TF_Tensor:$input,
        TF_Int32Tensor:$dim_index
      );
    
      let results = (outs
        TF_Tensor:$output
      );
    
      TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr<0>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top