Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 227 for Rsize (1.19 sec)

  1. src/go/types/sizes.go

    			return 0
    		}
    		// n > 0
    		esize := s.Sizeof(t.elem)
    		if esize < 0 {
    			return -1 // element too large
    		}
    		if esize == 0 {
    			return 0 // 0-size element
    		}
    		// esize > 0
    		a := s.Alignof(t.elem)
    		ea := align(esize, a) // possibly < 0 if align overflows
    		if ea < 0 {
    			return -1
    		}
    		// ea >= 1
    		n1 := n - 1 // n1 >= 0
    		// Final size is ea*n1 + esize; and size must be <= maxInt64.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/sizes.go

    			return 0
    		}
    		// n > 0
    		esize := s.Sizeof(t.elem)
    		if esize < 0 {
    			return -1 // element too large
    		}
    		if esize == 0 {
    			return 0 // 0-size element
    		}
    		// esize > 0
    		a := s.Alignof(t.elem)
    		ea := align(esize, a) // possibly < 0 if align overflows
    		if ea < 0 {
    			return -1
    		}
    		// ea >= 1
    		n1 := n - 1 // n1 >= 0
    		// Final size is ea*n1 + esize; and size must be <= maxInt64.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. src/syscall/syscall_aix.go

    	n := 0
    	for len(out) > 0 {
    		bsize := len(out)
    		if bsize > 1024 {
    			bsize = 1024
    		}
    		err = ptrace64Ptr(PT_READ_BLOCK, int64(pid), int64(addr), bsize, unsafe.Pointer(&out[0]))
    		if err != nil {
    			return 0, err
    		}
    		addr += uintptr(bsize)
    		n += bsize
    		out = out[n:]
    	}
    	return n, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. internal/disk/stat_bsd.go

    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - s.Bavail
    	info = Info{
    		Total:  uint64(s.Bsize) * (s.Blocks - reservedBlocks),
    		Free:   uint64(s.Bsize) * s.Bavail,
    		Files:  s.Files,
    		Ffree:  s.Ffree,
    		FSType: getFSType(s.Fstypename[:]),
    	}
    	if info.Free > info.Total {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.7K bytes
    - Viewed (1)
  5. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

        outputs=['o: T'])
    def _composite_max_pool(input_, stride_w, stride_h, filter_width, filter_height,
                            padding):
      ksize = [1, filter_width, filter_height, 1]
      strides = [1, stride_w, stride_h, 1]
      return tf.raw_ops.MaxPool(
          input=input_, ksize=ksize, strides=strides, padding=padding)
    
    
    @tf.RegisterGradient('NewMaxPool')
    def _max_pool_grad(op: ops.Operation, grad):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. src/syscall/ztypes_linux_386.go

    	Uid       uint32
    	Gid       uint32
    	Rdev      uint64
    	X__pad2   uint16
    	Pad_cgo_1 [2]byte
    	Size      int64
    	Blksize   int32
    	Blocks    int64
    	Atim      Timespec
    	Mtim      Timespec
    	Ctim      Timespec
    	Ino       uint64
    }
    
    type Statfs_t struct {
    	Type    int32
    	Bsize   int32
    	Blocks  uint64
    	Bfree   uint64
    	Bavail  uint64
    	Files   uint64
    	Ffree   uint64
    	Fsid    Fsid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  7. src/syscall/ztypes_linux_arm.go

    	Uid       uint32
    	Gid       uint32
    	Rdev      uint64
    	X__pad2   uint16
    	Pad_cgo_1 [6]byte
    	Size      int64
    	Blksize   int32
    	Pad_cgo_2 [4]byte
    	Blocks    int64
    	Atim      Timespec
    	Mtim      Timespec
    	Ctim      Timespec
    	Ino       uint64
    }
    
    type Statfs_t struct {
    	Type      int32
    	Bsize     int32
    	Blocks    uint64
    	Bfree     uint64
    	Bavail    uint64
    	Files     uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  8. src/syscall/ztypes_linux_amd64.go

    	Mode      uint32
    	Uid       uint32
    	Gid       uint32
    	X__pad0   int32
    	Rdev      uint64
    	Size      int64
    	Blksize   int64
    	Blocks    int64
    	Atim      Timespec
    	Mtim      Timespec
    	Ctim      Timespec
    	X__unused [3]int64
    }
    
    type Statfs_t struct {
    	Type    int64
    	Bsize   int64
    	Blocks  uint64
    	Bfree   uint64
    	Bavail  uint64
    	Files   uint64
    	Ffree   uint64
    	Fsid    Fsid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 12K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/layout_optimization_layout_assignment_to_nhwc.mlir

      // CHECK: %[[R1:.*]] = "tf.MaxPool"(%[[R0]]) <{data_format = "NHWC", explicit_paddings = [], ksize = [1, 3, 3, 1], padding = "SAME", strides = [1, 2, 2, 1]}>
      // CHECK: %[[CST_0:.*]] = "tf.Const"() <{value = dense<[0, 3, 1, 2]> : tensor<4xi64>}>
      // CHECK: "tf.Transpose"(%[[R1]], %[[CST_0]])
      %0 = "tf.MaxPool"(%arg0)
           {
             data_format = "NCHW",
             ksize = [1, 1, 3, 3],
             padding = "SAME",
             strides = [1, 1, 2, 2]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/volumebinding/binder.go

    func (a byPVCSize) Swap(i, j int) {
    	a[i], a[j] = a[j], a[i]
    }
    
    func (a byPVCSize) Less(i, j int) bool {
    	iSize := a[i].Spec.Resources.Requests[v1.ResourceStorage]
    	jSize := a[j].Spec.Resources.Requests[v1.ResourceStorage]
    	// return true if iSize is less than jSize
    	return iSize.Cmp(jSize) == -1
    }
    
    // isCSIMigrationOnForPlugin checks if CSI migration is enabled for a given plugin.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top