Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Rsize (0.13 sec)

  1. src/runtime/msize.go

    // Malloc small size classes.
    //
    // See malloc.go for overview.
    // See also mksizeclasses.go for how we decide what size classes to use.
    
    package runtime
    
    // Returns size of the memory block that mallocgc will allocate if you ask for the size,
    // minus any inline space for metadata.
    func roundupsize(size uintptr, noscan bool) (reqSize uintptr) {
    	reqSize = size
    	if reqSize <= maxSmallSize-mallocHeaderSize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/gcsizes.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
    		// Final size is esize * n; and size must be <= maxInt64.
    		const maxInt64 = 1<<63 - 1
    		if esize > maxInt64/n {
    			return -1 // esize * n overflows
    		}
    		return esize * n
    	case *Slice:
    		return s.WordSize * 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/go/types/gcsizes.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
    		// Final size is esize * n; and size must be <= maxInt64.
    		const maxInt64 = 1<<63 - 1
    		if esize > maxInt64/n {
    			return -1 // esize * n overflows
    		}
    		return esize * n
    	case *Slice:
    		return s.WordSize * 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. internal/disk/stat_freebsd.go

    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - uint64(s.Bavail)
    	info = Info{
    		Total:  uint64(s.Bsize) * (s.Blocks - reservedBlocks),
    		Free:   uint64(s.Bsize) * uint64(s.Bavail),
    		Files:  s.Files,
    		Ffree:  uint64(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 (0)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize.mlir

      %1 = "quantfork.dcast"(%0) : (tensor<*x!quant.uniform<i8:f32, 5.000000e-02:-10>>) -> tensor<*xf32>
      %2 = "tf.MaxPool"(%1) {data_format = "NHWC", device = "", explicit_paddings = [], ksize = [1, 2, 2, 1], padding = "VALID", strides = [1, 2, 2, 1]} : (tensor<*xf32>) -> tensor<*xf32>
      %3 = "quantfork.qcast"(%2) {volatile} : (tensor<*xf32>) -> tensor<*x!quant.uniform<i8:f32, 5.000000e-02:-10>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Atim      Time_t
    	Mtim      Time_t
    	Ctim      Time_t
    	Creatim   Time_t
    	Reftim    Time_t
    	_         [24]byte // rsrvd5
    }
    
    type Statvfs_t struct {
    	ID          [4]byte
    	Len         int32
    	Bsize       uint64
    	Blocks      uint64
    	Usedspace   uint64
    	Bavail      uint64
    	Flag        uint64
    	Maxfilesize int64
    	_           [16]byte
    	Frsize      uint64
    	Bfree       uint64
    	Files       uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. docs/sts/assume-role.go

    	for obj := range objCh {
    		if obj.Err != nil {
    			log.Fatalf("Listing error: %v", obj.Err)
    		}
    		fmt.Printf("Key: %s\nSize: %d\nLast Modified: %s\n===\n", obj.Key, obj.Size, obj.LastModified)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 12 16:09:55 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top