Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 169 for b_size (0.11 sec)

  1. 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)
  2. 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)
  3. pkg/volume/util/fs/fs.go

    	}
    
    	// Available is blocks available * fragment size
    	available := int64(statfs.Bavail) * int64(statfs.Bsize)
    
    	// Capacity is total block count * fragment size
    	capacity := int64(statfs.Blocks) * int64(statfs.Bsize)
    
    	// Usage is block being used * fragment size (aka block size).
    	usage := (int64(statfs.Blocks) - int64(statfs.Bfree)) * int64(statfs.Bsize)
    
    	inodes := int64(statfs.Files)
    	inodesFree := int64(statfs.Ffree)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 20 02:56:02 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go

    	Uid     uint32
    	Gid     uint32
    	Rdev    uint32
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Size    int64
    	Blocks  int64
    	_       uint32
    	Flags   uint32
    	Gen     uint32
    	Lspare  int32
    	Blksize int64
    	Qspare2 int64
    }
    
    type Statfs_t struct {
    	Spare2      int64
    	Bsize       int64
    	Iosize      int64
    	Blocks      int64
    	Bfree       int64
    	Bavail      int64
    	Files       int64
    	Ffree       int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. src/syscall/ztypes_darwin_arm64.go

    	Atimespec     Timespec
    	Mtimespec     Timespec
    	Ctimespec     Timespec
    	Birthtimespec Timespec
    	Size          int64
    	Blocks        int64
    	Blksize       int32
    	Flags         uint32
    	Gen           uint32
    	Lspare        int32
    	Qspare        [2]int64
    }
    
    type Statfs_t struct {
    	Bsize       uint32
    	Iosize      int32
    	Blocks      uint64
    	Bfree       uint64
    	Bavail      uint64
    	Files       uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  6. src/runtime/mstats.go

    	DebugGC bool
    
    	// BySize reports per-size class allocation statistics.
    	//
    	// BySize[N] gives statistics for allocations of size S where
    	// BySize[N-1].Size < S ≤ BySize[N].Size.
    	//
    	// This does not report allocations larger than BySize[60].Size.
    	BySize [61]struct {
    		// Size is the maximum byte size of an object in this
    		// size class.
    		Size uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/and.go

    			return true
    		}
    		x[t.Key] = struct{}{}
    	}
    
    	return false
    }
    
    // BySize returns true when sz satisfies a
    // ObjectSizeLessThan/ObjectSizeGreaterthan or a logical AND of these predicates
    // Note: And combines size and other predicates like Tags, Prefix, etc. This
    // method applies exclusively to size predicates only.
    func (a And) BySize(sz int64) bool {
    	if a.ObjectSizeGreaterThan > 0 &&
    		sz <= a.ObjectSizeGreaterThan {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/size.go

    		intRegs += uint64(typ.intRegs)
    		floatRegs += uint64(typ.floatRegs)
    	}
    
    	// Final size includes trailing padding.
    	size = RoundUp(size, int64(maxAlign))
    
    	if intRegs > math.MaxUint8 || floatRegs > math.MaxUint8 {
    		intRegs = math.MaxUint8
    		floatRegs = math.MaxUint8
    	}
    
    	t.width = size
    	t.align = maxAlign
    	t.intRegs = uint8(intRegs)
    	t.floatRegs = uint8(floatRegs)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

            }
            bitsChanged |= bits.set(combinedHash % bitSize);
          }
          return bitsChanged;
        }
    
        @Override
        public <T extends @Nullable Object> boolean mightContain(
            @ParametricNullness T object,
            Funnel<? super T> funnel,
            int numHashFunctions,
            LockFreeBitArray bits) {
          long bitSize = bits.bitSize();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  10. src/strconv/ctoa.go

    // value of bitSize bits, which must be 64 for complex64 and 128 for complex128.
    func FormatComplex(c complex128, fmt byte, prec, bitSize int) string {
    	if bitSize != 64 && bitSize != 128 {
    		panic("invalid bitSize")
    	}
    	bitSize >>= 1 // complex64 uses float32 internally
    
    	// Check if imaginary part has a sign. If not, add one.
    	im := FormatFloat(imag(c), fmt, prec, bitSize)
    	if im[0] != '+' && im[0] != '-' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top